- Dec 17, 2018
-
-
Tanner Prestegard authored
New API backend which gets a full X509 certificate, verifies it, and extracts the subject. To be used in the cloud deployment with Traefik.
-
- Dec 10, 2018
-
-
Tanner Prestegard authored
Add some information to VOEvents and rearrange some things: * Add EM Bright information (BNS, NSBH, BBH, Terrestrial) in a Group in the What section * Put ProbHasNS and ProbHasRemnant in a Group and rename to 'HasNS' and 'HasRemnant'
-
- Dec 03, 2018
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
superevent_id is now always default superevent ID (SXXXXXXa), while a new 'gw_id' field is either None or the GW ID. We also add the 'far' field which is just the preferred event's FAR. Finally, we remove some fields for unauthenticated users.
-
Tanner Prestegard authored
No point in allowing access since unauthenticated users don't see graceids anywhere else and they can't access the events anyway.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
For the base test class which creates an LV-EM user and the LV-EM observers group, we now also create the basic LV-EM group and add the user to it as well.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Adding/updating tests of unauthenticated access to the superevents API.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
We now have a single API endpoint, /api/, which can handle all authentication methods directed to it. The /apibasic/ and /apiweb/ URLs will probably be maintained for legacy reasons, but will not include any additional logic (they will just be carbon-copies of /api/ under a different namespace).
-
Tanner Prestegard authored
Some of the "main" API views now use the default permissions as defined in the settings, rather than individually set permissions.
-
Tanner Prestegard authored
Added a viewset mixin which causes the viewset to inherit the default permissions defined for the API in the settings file, rather than overwriting them if any permission classes are specified in the class definition. This helps to allow global control of unauthenticated access with a single settings variable (see previous commit).
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Complete rework of authentication middleware and backends for both the web view and the API. There is now a single URL (after the login page) where the shibboleth attributes are put into the session and the user is authenticated and a persistent Django session is created.
-
Tanner Prestegard authored
Utility function for determining whether a request is directed at the API. Can specify that the check is for a certain API "type", like shibboleth, X509, or basic.
-
- Nov 07, 2018
-
-
GraceDB authored
We now use ValidateDestroyMixin rather than SafeDeleteMixin for handling removal of events from a superevent. Some additional logic in other places was no longer needed.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Some of the search utilities were still in the separate events and superevents apps, so we moved them to the search app and tried to clean things up a bit. It's still kind of a mess and probably not worth doing a full cleanup until we rework the search.
-
- Nov 02, 2018
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Create new CustomDecimalField for handling float inputs better than they are handled in rest_framework.fields.DecimalField.
-
Tanner Prestegard authored
-
- Oct 29, 2018
-
-
Tanner Prestegard authored
-
- Oct 12, 2018
-
-
Tanner Prestegard authored
All calls to event.graceid() -> event.graceid.
-
- Oct 11, 2018
-
-
Tanner Prestegard authored
Enforce label protection through the API for applying labels, removing labels, and creating events and superevents with labels attached. We also don't allow users to reapply a signoff request label when a signoff status label is already applied (e.g., can't apply ADVREQ when ADVNO already exists).
-
Tanner Prestegard authored
New mixin for doing some kind of validation on the request data or the instance before destroying it.
-
Tanner Prestegard authored
Want to see what is triggering this functionality, if it is being triggered at all.
-
- Oct 03, 2018
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-