David
b59326e96f
Merge pull request #16873 from overleaf/dp-mongo-command-monitoring
...
Use mongo command monitoring to add timing metrics
GitOrigin-RevId: e7e5dd5cca1ba3802c02198ccf81058d4da3f1e7
2024-02-23 09:02:55 +00:00
Christopher Hoskin
e86ef1139e
Merge pull request #15350 from overleaf/csh-issue-11625-mongo-ug-5-notifications
...
Use mongodb-legacy in notifications for callback support
GitOrigin-RevId: 90f05f747e221c1bd61564e2e28e505d0b125467
2023-10-24 08:03:15 +00:00
Christopher Hoskin
4c298c9290
Merge pull request #15345 from overleaf/revert-15341-csh-issue-11625-mongo-ug-5-notifications
...
Revert "Upgrade mongodb module for notifications from 4.11.0 to 6.1.0"
GitOrigin-RevId: 298272afa24ccb7a8543342ad09f558fc034f282
2023-10-20 08:04:17 +00:00
Christopher Hoskin
02fa5c3a99
Merge pull request #15341 from overleaf/csh-issue-11625-mongo-ug-5-notifications
...
Upgrade mongodb module for notifications from 4.11.0 to 6.1.0
GitOrigin-RevId: 8e185d2d9128e2bc889bbc00a7f21fbee0f27daa
2023-10-20 08:04:14 +00:00
Eric Mc Sween
025863d8ae
Merge pull request #12208 from overleaf/em-camel-case-notifications
...
Camel case variables in notifications
GitOrigin-RevId: da1fb77f42e4ba58b6b3833aa05ddf76e1d613f6
2023-03-17 09:05:29 +00:00
Eric Mc Sween
74eeec2ba3
Merge pull request #11680 from overleaf/em-mongo-pool-monitoring
...
Mongo connection pool monitoring
GitOrigin-RevId: 050e50e7e67061ccbf39a710ca4532eafd423365
2023-02-09 14:34:35 +00:00
Eric Mc Sween
efd30fae15
Merge pull request #10939 from overleaf/em-upgrade-mongo-notifications
...
Upgrade Mongo driver in notifications
GitOrigin-RevId: 3a504471b21873e614e617d81c15c3e17ce7fdc0
2022-12-21 09:05:28 +00:00
Eric Mc Sween
e0d91eaa26
Merge pull request #7906 from overleaf/em-downgrade-logs
...
Downgrade all INFO logs to DEBUG
GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
2022-05-17 08:05:26 +00:00
Eric Mc Sween
f7275a6c4b
Merge pull request #6079 from overleaf/em-upgrade-logger
...
Upgrade logger and metrics in all services
GitOrigin-RevId: 2baf63eeeab77fb3559cf763ddacfbf4b745cd0b
2021-12-15 09:04:25 +00:00
Jakob Ackermann
669606f797
Merge pull request #5568 from overleaf/jpa-node-no-callback-literal
...
[misc] fix eslint violations for node/no-callback-literal
GitOrigin-RevId: af5aace52e1476b1b0ee48cc8be2aabbe04efac6
2021-10-28 08:03:33 +00:00
Jakob Ackermann
7f9fd00bda
Merge pull request #5367 from overleaf/jpa-node-handle-callback-err
...
[misc] fix eslint violations for node/handle-callback-err
GitOrigin-RevId: 83a4900e8861010df1917bff49382bd9c93375bd
2021-10-28 08:03:26 +00:00
Jakob Ackermann
7996f90c7b
Merge pull request #5306 from overleaf/jpa-clear-institution-notifications
...
[web] add a new script for clearing institution notifications
GitOrigin-RevId: d102b484c4fb9816832b48c2dfa66953bc996667
2021-10-21 08:03:25 +00:00
Jakob Ackermann
0616b1b31c
[misc] temporary override a few new/changed eslint rules
2021-07-13 12:24:37 +01:00
Jakob Ackermann
9a2bb1044f
[misc] run format_fix and lint:fix
2021-07-13 12:04:44 +01:00
Jakob Ackermann
f72362a668
[misc] switch from settings-sharelatex to @overleaf/settings
2021-07-12 17:47:16 +01:00
Jakob Ackermann
f16fbdcdbf
[misc] bump metrics module to 3.4.1
...
- renamed package from `metrics-sharelatex` to `@overleaf/metrics`
- drop support for statsd backend
- decaffeinate
- compress `/metrics` response using gzip
- bump debugging agents to latest versions
- expose prometheus interfaces for custom metrics (custom tags)
- cleanup of open sockets metrics
- fix deprecation warnings for header access
2020-11-25 11:57:20 +00:00
Jakob Ackermann
3626243692
[misc] mongodb: use the new db connector by default
...
mongojs was enabling it by default as well.
2020-09-10 10:53:08 +01:00
Jakob Ackermann
9d28208870
[misc] mongodb: refactor the process of setting up the db construct
...
Co-Authored-By: John Lees-Miller <jdleesmiller@gmail.com>
2020-09-07 11:28:09 +01:00
Jakob Ackermann
74a3a95dc6
[misc] migrate the health-check to the native mongo driver, drop mongojs
2020-09-07 11:28:08 +01:00
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