Lots of smaller fixes:
- Add the rotation_duration to the keys API - Have the key service UI use the new rotation_duration field - Fix notification deletion lookup path - Add proper support for the new notification in the UI - Only delete expired keys after 7 days (configurable) - Fix angular digest loop - Fix unit tests - Regenerate initdb
This commit is contained in:
parent
2805dad64f
commit
522cf68c5d
12 changed files with 86 additions and 20 deletions
|
@ -79,7 +79,7 @@ def list_notifications(user, kind_name=None, id_filter=None, include_dismissed=F
|
|||
def delete_all_notifications_by_path_prefix(prefix):
|
||||
(Notification
|
||||
.delete()
|
||||
.where(Notification.lookup_path % prefix + '%')
|
||||
.where(Notification.lookup_path ** (prefix + '%'))
|
||||
.execute())
|
||||
|
||||
|
||||
|
|
Reference in a new issue