• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

unioslo / mreg / 11987668695
98%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2024 01:51PM UTC
Jobs 3
Files 88
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Nov 2024 01:46PM UTC coverage: 98.368% (-0.02%) from 98.392%
11987668695

push

github

web-flow
Meta endpoint expansion (#562)

* Update meta endpoints.

BREAKING CHANGE:

`meta/versions` is now gone, replaced with `meta/version` (server version) and `meta/libraries` (some core libraries).

* Use importlib.metadata as we're on python 3.10+.

* Add token-is-valid endpoint and update tests.

* Add user info endpoint.

This endpoint shows some meta information about the user in question. Normal users can see their own information, superusers, admins, group admins, and network admins can add `?username=foo` to see information about that user.

Information provided:

  - username
  - django status for the user (superuser, admin, active)
  - mreg status for the user (superuser, admin, group admin, network admin, hostpolicy admin, dns wildcard admin, and underscore admin).
  - group memberships
  - mreg permissions granted based on the groups one is a member of.

* Remove debugging.

* Fix distinction between requestor and target...

* Allow looking up oneself as a param.

* Add tests for news metas.

78 of 81 new or added lines in 2 files covered. (96.3%)

7415 of 7538 relevant lines covered (98.37%)

2.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
96.04
-1.88% mreg/api/views.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 11987668695.1 23 Nov 2024 01:52PM UTC 88
98.37
GitHub Action Run
2 python-3.11 - 11987668695.2 23 Nov 2024 01:52PM UTC 88
98.37
GitHub Action Run
3 python-3.12 - 11987668695.3 23 Nov 2024 01:52PM UTC 88
98.37
GitHub Action Run
Source Files on build 11987668695
  • Tree
  • List 88
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 99c5aa9e on github
  • Prev Build on master (#11973961139)
  • Next Build on master (#12006769417)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc