Jakob Ackermann
|
d77834ab55
|
[misc] migrate the app to the native mongo driver
health-check to follow in a separate commit
|
2020-09-07 11:27:59 +01:00 |
|
Tim Alby
|
311d7cefa1
|
fix linting
|
2020-06-04 10:17:40 +02:00 |
|
Tim Alby
|
61dc3435c4
|
fix formatting
|
2020-06-04 09:50:05 +02:00 |
|
Ersun Warncke
|
7302c0ce0b
|
[misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
|
2020-04-15 19:04:56 +02:00 |
|
mserranom
|
a7311ff5d3
|
Added spread operator to value in db update
|
2020-04-01 15:28:29 +02:00 |
|
mserranom
|
7183b88a37
|
added to update operation, required by mongojs 3.x
|
2020-03-28 13:58:33 +01:00 |
|
mserranom
|
682fd526c0
|
updated express.send to express.sendStatus
|
2020-03-26 15:36:49 +01:00 |
|
Jakob Ackermann
|
00e15a383f
|
[misc] fix prettier-eslint errors
|
2020-02-11 12:29:20 +01:00 |
|
Tim Alby
|
dc218cd503
|
prettier: convert app/js decaffeinated files to Prettier format
|
2020-01-13 20:04:03 +01:00 |
|
Tim Alby
|
9835481cbf
|
decaffeinate: rename app/coffee dir to app/js
|
2020-01-13 20:04:03 +01:00 |
|
decaffeinate
|
b667b9ad1c
|
decaffeinate: Run post-processing cleanups on HealthCheckController.coffee and 2 other files
|
2020-01-13 20:04:03 +01:00 |
|
decaffeinate
|
ddccb85dda
|
decaffeinate: Convert HealthCheckController.coffee and 2 other files to JS
|
2020-01-13 20:04:03 +01:00 |
|
decaffeinate
|
27afdd47cd
|
decaffeinate: Rename HealthCheckController.coffee and 2 other files from .coffee to .js
|
2020-01-13 20:04:03 +01:00 |
|
Simon Detheridge
|
70f5c71864
|
Handle duplicate-notification race condition when using forceCreate
|
2019-11-28 16:40:14 +00:00 |
|
Shane Kilkelly
|
5f0bf16c75
|
update to new metrics api
|
2017-03-17 15:54:15 +00:00 |
|
Shane Kilkelly
|
e67c546254
|
Upgrade metrics
|
2017-03-17 09:47:45 +00:00 |
|
Shane Kilkelly
|
c9a9ab93ec
|
Delete the notification being replaced when forceCreate.
Prevent growth of the collection with stale documents when users
resend project invites
|
2016-08-17 14:10:36 +01:00 |
|
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
|
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
|
a17040f00f
|
Add commentary on ttl index
|
2016-08-11 12:03:50 +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
|
4825a1f557
|
extract clearup func so it always runs
|
2016-06-01 14:57:06 +01:00 |
|
Henry Oswald
|
f8e9df9130
|
each health check is run with different user_id
means can do a full clean after tests
|
2016-06-01 14:52:35 +01:00 |
|
Henry Oswald
|
f81d40d573
|
add missing err check
|
2016-06-01 14:34:23 +01:00 |
|
Henry Oswald
|
3cae036c3c
|
improve logging
|
2016-06-01 14:21:49 +01:00 |
|
Henry Oswald
|
9f566f7730
|
added logging and more error checking in health check
|
2016-06-01 14:10:44 +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
|
35e0eafc95
|
cleaned up health check a little
|
2016-02-04 13:44:17 +00: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 Dias
|
50d66e9f31
|
add metrics
|
2016-01-20 11:57:29 -02:00 |
|
Henrique Santos
|
797353de15
|
add basic unit tests
|
2016-01-16 18:28:19 -02:00 |
|
Henrique Santos
|
2c81b978cf
|
make it works
|
2016-01-14 18:42:48 -02:00 |
|
Henrique Santos
|
1e60327f2e
|
create scaffolding base on tags repo
|
2016-01-14 10:35:16 -02:00 |
|