Hanne Moa
Hanne Moa
``` def test_can_get_my_incidents(self): incident_pk = self.add_open_incident_with_start_event_and_tag().pk other_incident_pk = StatefulIncidentFactory().pk` … ``` `self.add_open_incident_with_start_event_and_tag()` uses StatefulIncidentFactory() with a pregenerated source. There is nothing here to prevent the same source to be used...
The system either needs refactoring or replacing. ### A timeslot should be able to be used more than once per user NotificationProfile has a OneToOne key to Timeslot. This is...
If a user is set to not be active, how do we know to toggle `is_active` to True? Should there be an alert of the users needing to be activated?...
We can use the `is_active` flag on the user to control whether the user is allowed to use argus or not. https://docs.djangoproject.com/en/4.2/ref/contrib/auth/ When this is working, update docs. In the...
1. Heartbeat for argus itself We can do this with a cron-job or something sending a stateless incident at known intervals. The code won't be in this repo but we...
The "spectacular" management command works as a linter for our openapi and it has some complaints. Regenerate by running `python manage.py spectacular --file out` ``` ./src/argus/site/views.py:74: Error [MetadataView]: unable to...
It would be cool to have a page with some statistics about an argus installation. Some ideas: * How many sources of each type (how many extra screens are avoided!)...
We'll try django(.|_)tasks. Each event put on the queue separately. See https://github.com/Uninett/Argus/issues/360#issuecomment-1109715705_
See https://github.com/Uninett/Argus-frontend/issues/211 Scenario: send notifications between 16:00 on Monday until 07:00 they day after, a the Tuesday. Right now this would take two timerecurrences and for the user it apperas...
The actual code that filters incidents is a mess, always has been. The following list of problems is not exhaustive. 1. Filters are inherent to *incidents*, not *notification profiles*. The...