Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Monitor users by time since last request (#541)
* rename existing monitoring task to say what we are actually looking for Signed-off-by: Nicolas Höning <nicolas@seita.nl> * new field: fm_user.last_seen_at Signed-off-by: Nicolas Höning <nicolas@seita.nl> * changelog entry and update docs to renamed monitor latest-run command. Signed-off-by: Nicolas Höning <nicolas@seita.nl> * add some explanation to user model fields Signed-off-by: Nicolas Höning <nicolas@seita.nl> * first working version of monitor last-seen Signed-off-by: Nicolas Höning <nicolas@seita.nl> * improve docstring Signed-off-by: Nicolas Höning <nicolas@seita.nl> * add optional custom message which would be sent to users Signed-off-by: Nicolas Höning <nicolas@seita.nl> * add warning about deprecated CLI command name Signed-off-by: Nicolas Höning <nicolas@seita.nl> * add short documentation on how to use the monitor command Signed-off-by: Nicolas Höning <nicolas@seita.nl> * update CLI changelog as well Signed-off-by: Nicolas Höning <nicolas@seita.nl> * review comments on using naive UTC dates and some re-wordings Signed-off-by: Nicolas Höning <nicolas@seita.nl> * add missing logic update for server_now() Signed-off-by: Nicolas Höning <nicolas@seita.nl> * improve docs from review Signed-off-by: Nicolas Höning <nicolas@seita.nl> * update flake8 & black versions (and flake8 repo location) Signed-off-by: Nicolas Höning <nicolas@seita.nl> * try to fix ubuntu version Signed-off-by: Nicolas Höning <nicolas@seita.nl> * improve --alert-users option by adding the false option'S name; small edits to messages Signed-off-by: Nicolas Höning <nicolas@seita.nl> Signed-off-by: Nicolas Höning <nicolas@seita.nl>
- Loading branch information
Showing
13 changed files
with
310 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.