- Dec 03, 2018
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Add django-user-sessions package for more easily managing sessions and correlating them with user accounts.
-
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
-
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.
-
- Nov 02, 2018
-
-
Tanner Prestegard authored
-
- Oct 29, 2018
-
-
Tanner Prestegard authored
No need to have explicit view functions for a few basic views, we just use the built-in TemplateView instead.
-
- Oct 17, 2018
-
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Add access_managers and superevent_managers to ADMIN_MANAGED_GROUPS. They will be removed in the near future, but for now, they should be included here so that group memberships are not removed by the ligoauth middleware.
-
- Oct 01, 2018
-
-
Tanner Prestegard authored
silk was slowing things quite a bit so we won't use it by default, even in development instances.
-
Tanner Prestegard authored
Rename config/settings/test.py -> config/settings/dev.py to prevent the file from being picked up by the test runner during unit testing.
-
- Sep 25, 2018
-
-
Tanner Prestegard authored
Now require version 2.0.0 of the client and won't allow old versions without the client header.
-
- Sep 21, 2018
-
-
Tanner Prestegard authored
Instantiating a second version for the API. For now, it's identical to v1, but can be customized as needed in the future.
-
Tanner Prestegard authored
Moving a few base class throttles and fields from the events app up one level so that they can be used elsewhere.
-
Tanner Prestegard authored
Moved events.api and superevents.api into the new api app. We want to have a versioned API, so these are now in api.v1.events and api.v1.superevents, respectively. Part of this change is that we require a custom reverse function (api_reverse) for handling versioning. Much of the required code changes for this migration include converting reverses to use this function and changing relative imports appropriately.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Added utility functions for hiding and exposing logs from LV-EM and the public. They are triggered by log messages being tagged or untagged. Also added utilities for hiding/exposing superevents.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
New custom model backend, which includes the table/object permissions backend and does not authenticate.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
New /latest/ page includes events and superevents. We also move the old events 'latest' page to /events/latest/, changed the view name, and fixed reverses to that page appropriately.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Modified events.view_utils.reverse to return an absolute url using core.urls.build_absolute_uri. This is helpful for when we issue alerts without a request object available to construct the absolute url. Also updated the corresponding *toDict methods so as to take advantage of this.
-
Tanner Prestegard authored
Activate Django sites app and create a migration which adds the LIGO.ORG domain name of the GraceDB instance as a Site. This will be used to build absolute URIs without needed a request object.
-
Tanner Prestegard authored
Instantiating a new alerts app and moving the alert functionality from events/alert.py to alerts/old_alert.py. This commit forms a starting point where the old alert functionality is still in place and we can rework the alert infrastructure to be more modularized, flexible, and adapted to superevents.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-