- Dec 03, 2018
-
-
Tanner Prestegard authored
Add django-user-sessions package for more easily managing sessions and correlating them with user accounts.
-
Tanner Prestegard authored
Add/update tests of all web views in the superevents app for public/unauthenticated access
-
Tanner Prestegard authored
Add/update tests of unauthenticated access to search web views
-
Tanner Prestegard authored
Now show 'Login' button if user is not authenticated.
-
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
-
Tanner Prestegard authored
-
Tanner Prestegard authored
We use a few redirects to handle login and extraction of the shibboleth attributes in a post-login page.
-
Tanner Prestegard authored
Can be used to restrict access to a view to only the groups whose names are passed as arguments to the decorator.
-
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.
-
Tanner Prestegard authored
-
- Nov 27, 2018
-
-
Tanner Prestegard authored
-
- Nov 15, 2018
-
-
Tanner Prestegard authored
Event file list web view was incorrectly showing the symlinked version of a file to external users, even when they didn't have permission to view that version of the file.
-
- Nov 14, 2018
-
-
GraceDB authored
-
- Nov 12, 2018
-
-
Tanner Prestegard authored
-
- Nov 07, 2018
-
-
Tanner Prestegard authored
-
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
-
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
Allow queries on whether a superevent is publicly available or not. Add documentation to the query help page.
-
Tanner Prestegard authored
Queries which directly include a superevent ID should not have the default category restrictions (not Test & not MDC) applied since the category is determined by the superevent ID prefix.
-
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
-
Tanner Prestegard authored
-
- Oct 29, 2018
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-