- Sep 25, 2018
-
-
Tanner Prestegard authored
New unit tests which check what information is shown to different user classes on the 'search' and 'latest' pages.
-
Tanner Prestegard authored
New unit tests which check whether different user classes can access superevent detail pages and superevent file list pages, and what information they are shown.
-
Tanner Prestegard authored
Better error handling for 'search' and 'latest' views. Also added filtering by user view permissions for the 'latest' view.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Fixed a bug in the mixin which handles whether to display the EM advocate signoff form on the superevent detail page.
-
Tanner Prestegard authored
Small improvement to create_event mixin for unit tests.
-
Tanner Prestegard authored
Moved SupereventSetup to a mixin in the superevents app rather than in a unit test file in the superevents API.
-
Tanner Prestegard authored
Moved request_as_user from GraceDbApiTestBase to GraceDbTestBase so that it can be used in tests for other apps.
-
- Sep 21, 2018
-
-
Tanner Prestegard authored
If an event is crated with labels attached, we issue 'label_added' alerts as well. The event is created, the 'new' alert is issued, then each label is added and an alert is sent for each label.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Making signoff_type contents for superevent signoffs match that of events. Now use signoff_type codename instead of verbose form in serialized object.
-
Tanner Prestegard authored
User documentation updated to include information about new LVAlert contents and show serialized event, superevent, and annotation objects. Also an overall update of any missing or outdated information.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
New format for LVAlerts (XMPP alerts). New class-based functionality for issuing alerts for events and superevents. See https://git.ligo.org/lscsoft/gracedb/issues/8.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Added a 'get_subclass' method to the Event model which is used to get the CoincInspiralEvent, GrbEvent, etc. corresponding to that Event.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Reorganized some utility methods in the alerts app, necessitating some changes to imports in various places.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Added a method to the Superevent model which returns a list of groups who have group object permissions for that particular superevent. Could be useful in the future.
-
Tanner Prestegard authored
It's too complex and doesn't make much sense to make the superevent GOP serializer a group serializer, even though it makes the display a bit nicer. Instead, we view and serialize the GOPs themselves.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Moved context variables and calculations for determining whether the confirm-as-gw form should be shown on the superevent detail web page from the superevent detail view class to a separate mixin.
-
Tanner Prestegard authored
Updated the web view for the superevent file list to be a class-based view which uses view permission-based filtering. Also updated the file links on the list page to point to the file download page on the API so as to reduce redundancy. Removed the old file list and detail web views.
-
GraceDB authored
Added some information about old/new IDs to the log message which is created when a superevent is "upgraded" to a GW.
-
Tanner Prestegard authored
Moved some of the logic in the superevents file list API resource to a function in the core app, so that it is more easily reusable across the project.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Created a new mixin for filtering a queryset for a detail view by using the user's view permissions and applied it to the superevent detail view.
-
Tanner Prestegard authored
Moved the javascript for this button to a new location in the main JS file and added button enable/disable code to prevent "too fast" or multiple clicks.
-
Tanner Prestegard authored
The 'confirm GW' button on the superevent web detail page now uses AJAX to make the request to the corresponding API endpoint. As a result, the separate view function for this endpoint in the superevents app is no longer needed, so we have deleted it.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
ModelToDict mixin was supposed to be a generic way of serializing models, but we decided to go with the serializers from rest_framework for generic serialization throughout the proejct.
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
-
Tanner Prestegard authored
Removing old web views for superevents app which are no longer used and cleaning up imports.
-