Commit graph

17 commits

Author SHA1 Message Date
Henry Oswald
264ff806fc change override to forceCreate 2016-08-17 11:05:29 +01:00
Henry Oswald
7280262f92 add the option to override exisiting notification 2016-08-17 10:52:35 +01:00
Shane Kilkelly
cfbd917eef Fix tests 2016-08-15 09:50:59 +01:00
Shane Kilkelly
bea4197732 return an error if expires is not a valid date. 2016-08-15 08:54:45 +01:00
Shane Kilkelly
88f5f29982 Change how notification expiry works
Set the `expires` field to be a date in the future, after which the
document should be removed.
2016-08-12 11:38:17 +01:00
Shane Kilkelly
0a5430468c Alter how the notification doc is built 2016-08-12 09:54:08 +01:00
Shane Kilkelly
7bb6e6e18c Merge branch 'master' into pr-remove-by-key
# Conflicts:
#	test/unit/coffee/NotificationsTests.coffee
2016-08-12 09:43:38 +01:00
Shane Kilkelly
05e390ef89 Add an optional expiry to notifications. 2016-08-11 11:05:11 +01:00
Shane Kilkelly
fc78bfe86c Add an endpoint to remove a notification by its key alone 2016-08-11 10:01:21 +01:00
Henry Oswald
5360bcae77 fix unit tests 2016-08-05 15:10:13 +01:00
Henrique Dias
957e9cd486 Merge branch 'master' of https://bitbucket.org/sharelatex/notifications-sharelatex 2016-02-05 07:41:34 -02:00
Henrique Dias
c3514fd453 add mark key endpoint 2016-02-05 07:38:32 -02:00
Henry Oswald
5dd890bfc3 Merge branch 'master' of bitbucket.org:sharelatex/notifications-sharelatex 2016-02-04 11:48:25 +00:00
Henrique Dias
6291a8d2cf fix user_id type 2016-01-21 14:34:12 -02:00
Henry Oswald
84aad3e184 unset messageOpts as well 2016-01-21 13:40:24 +00:00
Henrique Santos
797353de15 add basic unit tests 2016-01-16 18:28:19 -02:00
Henrique Santos
1e60327f2e create scaffolding base on tags repo 2016-01-14 10:35:16 -02:00