Jakob Ackermann
aabe2d18b9
[misc] rewrite: squash history
...
- promisify
- merge health check for single node and cluster
- replace the first multi with simple SET in health check
- reworked health check with o-error context/stack-traces for failures
- drop console.error on health check timeout, consumer logs the error
- cleanup unwrapping of ioredis multi result
- Promise support for multi.exec
This has been squashed from das7pad s fork.
REF: b3dd8c5cf4cc6482fd450e6bb67013508844f93f
2020-11-10 10:34:06 +00:00
Jakob Ackermann
ccf4bb1e0e
[misc] test/scripts: use logger-sharelatex for logging as in production
2020-11-10 10:15:03 +00:00
Jakob Ackermann
d827b521c6
[misc] test/unit: loosely match the passed redis options
...
The rewrite will pass a cloned object through.
2020-11-10 10:10:22 +00:00
Jakob Ackermann
4aebc1b0b6
[misc] rewrite: free functions
2020-11-10 10:10:22 +00:00
Jakob Ackermann
da8bef821b
[misc] decaffeinate: decaffeinate module
2020-11-10 10:10:21 +00:00
Jakob Ackermann
c973c5b188
[misc] decaffeinate: rename 2/2
2020-11-10 10:10:21 +00:00
Jakob Ackermann
45bf2abb14
[misc] decaffeinate: rename 1/2
2020-11-10 10:10:20 +00:00
Jakob Ackermann
830d6275b3
[misc] add scripts for testing redis cluster
2020-11-10 10:10:06 +00:00
Simon Detheridge
b0d1817afb
Merge pull request #3371 from overleaf/spd-archive-old-unopened-projects
...
Include unopened projects when determining projects to archive
GitOrigin-RevId: ea4a2f219932bb67e1110a75b00652ad98c1b3fc
2020-11-10 03:04:50 +00:00
Jessica Lawshe
63a60765c7
Merge pull request #3366 from overleaf/em-remove-queues-redis-fallback
...
Remove fallback when QUEUES_REDIS_* variables are not set
GitOrigin-RevId: c20e30e33da3193dad691a4ae0b177a6ae0c0066
2020-11-10 03:04:45 +00:00
Jessica Lawshe
d138837049
Merge pull request #3367 from overleaf/ho-ms-jel-chat-a11y
...
Improve chat accessibility
GitOrigin-RevId: 853da57460c7e3a18abbe1130553e34bd661b6b3
2020-11-10 03:04:40 +00:00
Jessica Lawshe
21ffe27bdd
Merge pull request #3330 from overleaf/jel-toolbar-btns
...
Hide toolbar text and show tooltip when out of space
GitOrigin-RevId: 5a73b69e7d92695c4f8691a747307908550e3790
2020-11-10 03:04:35 +00:00
Simon Detheridge
da8663fd0f
Merge pull request #3372 from overleaf/jpa-archive-docs-on-soft-delete
...
[ProjectDeleter] flush docs out of mongo when soft-deleting a project
GitOrigin-RevId: 52f3e1298af5ca481ba9b27b18c9190063019988
2020-11-10 03:04:30 +00:00
Simon Detheridge
94092c905b
Merge pull request #3370 from overleaf/jpa-replace-count
...
[misc] replace mongo .count queries
GitOrigin-RevId: 7963286b4d84d1f03978f3212e92bb491eec6b74
2020-11-10 03:04:25 +00:00
Simon Detheridge
6a3e697396
Merge pull request #3358 from overleaf/jel-send-email-confirmation-error
...
Handle errors in dash UI when resending email confirmation
GitOrigin-RevId: 560e229845b72987a8d7132d87506cfb58323232
2020-11-10 03:04:19 +00:00
Simon Detheridge
8e20258786
Merge pull request #3373 from overleaf/jpa-block-recurly-xss
...
[views] subscription: block angular template evaluation for emails
GitOrigin-RevId: 081314a387234dfe263b954a4206a0c8bba8b153
2020-11-10 03:04:14 +00:00
Jakob Ackermann
7b69cc42c9
[misc] decaffeinate tests: decaffeinate unit tests
2020-11-09 17:52:29 +00:00
Jakob Ackermann
7210b3dfed
[misc] decaffeinate tests: decaffeinate standalone script
2020-11-09 17:52:20 +00:00
Jakob Ackermann
0a2171e9f0
[misc] decaffeinate tests: rename
2020-11-09 16:57:08 +00:00
Jakob Ackermann
1a090b7b46
[misc] add editor config, eslint, prettier boiler plate
...
versions taken from o-error (prettier-eslint-cli from real-time)
2020-11-09 16:56:56 +00:00
Jakob Ackermann
7eccce2ed0
[misc] reference module via js/loose file extension
2020-11-09 16:16:11 +00:00
Jakob Ackermann
69df7f5bb3
[misc] move test scripts into test/ tree
2020-11-09 16:11:11 +00:00
Jakob Ackermann
39809562fd
[misc] use plain mocha for testing and bump devDependencies
2020-11-09 16:03:33 +00:00
Jakob Ackermann
dddb431034
[misc] drop unused async
...
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-11-09 16:02:30 +00:00
Jakob Ackermann
a53eef5e3d
[healthCheck] bring back support for redis cluster
...
Assume `cluster-require-full-coverage=yes` is set for the redis cluster,
which is the default value.
We are writing into a single hash slot, resulting in a partial health
check only.
The 'cluster-require-full-coverage=yes' blocks writes as soon as any
hash slot is not covered by an active primary.
We are leveraging the health check build into the redis cluster topology
to bring the scope of the single read/write/delete to the full cluster.
REF: 1b3566d6c830289dc826da1d13b75d68205d8dec
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-11-09 16:02:29 +00:00
Jakob Ackermann
18fa184230
[misc] drop references for 'redis' package from unit tests
2020-11-09 16:02:25 +00:00
Jakob Ackermann
90ad28c51c
[misc] drop support for redis-sentinel
2020-11-09 15:59:28 +00:00
CloudBuild
f848e65a40
auto update translation
...
GitOrigin-RevId: 41c0e032449288965de8de2bb83178c0461c1366
2020-11-09 03:04:12 +00:00
CloudBuild
4857b805da
auto update translation
...
GitOrigin-RevId: b5214d8d136f7a26291e9c17b2b1d61e7e2767ac
2020-11-08 03:04:37 +00:00
Simon Detheridge
5201d98752
Merge pull request #3365 from overleaf/sk-dropbox-email-fix
...
Conditionally send email in Dropbox unlinkAccount
GitOrigin-RevId: 0f3d2fd34b89aa3f3a96f7ca66fee5d69d07ec2f
2020-11-08 03:04:33 +00:00
Simon Detheridge
d405ff6a74
Merge pull request #3362 from overleaf/jel-update-green-type
...
Darken green type to improve color contrast
GitOrigin-RevId: f4a393da54230a9fc85bba1fbe2192c6412b2c3f
2020-11-08 03:04:28 +00:00
Simon Detheridge
9c0825704c
Merge pull request #3359 from overleaf/jel-disabled-dropdown-item
...
Fix disabled dropdown item color on hover
GitOrigin-RevId: d3300b74fd17b82092710a0c6a1a6e9b00b92199
2020-11-08 03:04:23 +00:00
CloudBuild
4467d7d59b
auto update translation
...
GitOrigin-RevId: 1c7e5299ba56aef905e7ca2ac118eb59c2ea5508
2020-11-08 03:04:18 +00:00
Jakob Ackermann
2d1c84ea2e
[misc] fix collection of open sockets
...
```
> require('http').globalAgent.sockets
{ 'HOST:PORT:': [{ ... }, { ... }] }
```
- `new URL('http://HOST:PORT :')` throws
-> test suite `open_sockets`
- gauges were not cleaned up after no agents were present for a given
key. This lead to continuous emission of the previous connection
count for a given hostname, following the completion of all requests.
-> test suite `when all requests complete`
2020-11-06 15:16:14 +00:00
Jakob Ackermann
c6a853c7ed
Merge pull request #3332 from overleaf/pr-new-log-entries-ui
...
New log entries ui
GitOrigin-RevId: a13ccac04197e7c8f3777750b956d550c95c8f0d
2020-11-06 03:04:59 +00:00
Jakob Ackermann
0a5cc39671
Merge pull request #3345 from overleaf/jpa-i18n-escape-vars
...
[misc] i18n escape vars
GitOrigin-RevId: 5b0a8ca7229f3817c823b126203c8597f7fd0913
2020-11-06 03:04:54 +00:00
Jakob Ackermann
67b8719bf2
Merge pull request #3354 from overleaf/jpa-fix-clone-invalid-root-doc
...
[ProjectDuplicator] silently ignore an invalid rootDoc when duplicating
GitOrigin-RevId: 93b4d4193fab25484525f8ab2c692e047cf0da30
2020-11-06 03:04:48 +00:00
Jakob Ackermann
e3f41ab373
Merge pull request #3342 from overleaf/jpa-hide-dependabot-cfg
...
[copybara] hide the dependabot config from the public web repo
GitOrigin-RevId: d1eb044c8bfd1f8b0898839d40f771472a9799c2
2020-11-06 03:04:43 +00:00
Eric Mc Sween
d5a49038df
Merge pull request #3302 from overleaf/em-analytics-queues
...
Send analytics events through a queue
GitOrigin-RevId: b9eb12e469faf16e32aba5fae665c5f85dfbc52c
2020-11-05 03:05:06 +00:00
Shane Kilkelly
fc1816b0fc
Merge pull request #3337 from overleaf/jpa-fix-consitency-check
...
[frontend] Document: fix consistency check
GitOrigin-RevId: d303fe48e4f3460dab609d53e195992920af7b1b
2020-11-05 03:04:59 +00:00
Shane Kilkelly
57e9cf2829
Merge pull request #3304 from overleaf/ns-env-autocomplete-nesting
...
Parse nested environments for autocomplete suggestion
GitOrigin-RevId: 1ddfc0e0129801f203084a74c586031ffe0d5bb9
2020-11-05 03:04:53 +00:00
Shane Kilkelly
dff706bf67
Merge pull request #3334 from overleaf/jpa-msm-rename-css-class
...
[misc] rename avoid-auto-linking class to force-overleaf-style in emails
GitOrigin-RevId: 9111a38afb550f3397555ef68d1e4170208eb121
2020-11-05 03:04:48 +00:00
Shane Kilkelly
98ad07bcc9
Merge pull request #3344 from overleaf/jpa-mtx-is-editable
...
[misc] .mtx files are editable text files
GitOrigin-RevId: e1a8363e24d961d9723439c68d308fb69f59bbd3
2020-11-05 03:04:43 +00:00
Shane Kilkelly
8f2ab2e8b1
Merge pull request #3347 from overleaf/em-gv-extension
...
Make the frontend treat .gv files as text
GitOrigin-RevId: 01eece340bb987170f2f9d8860e6257e5421ec02
2020-11-05 03:04:38 +00:00
Shane Kilkelly
0450c52187
Merge pull request #3335 from overleaf/jpa-cmg-archived-script-logging
...
Update archiving script for re-run
GitOrigin-RevId: 0251ca8d6f864f697395deac9470398519b704de
2020-11-05 03:04:30 +00:00
Shane Kilkelly
405a221187
Merge pull request #3318 from overleaf/sk-remove-events-module
...
Re-work unlinking dropbox when subscription ends
GitOrigin-RevId: 92cf5713d57e157cf544d0470d5fdb6e4010d5cd
2020-11-05 03:04:24 +00:00
Jakob Ackermann
654abb3b47
Merge pull request #3355 from overleaf/jpa-use-count-again
...
[misc] mongodb: use deprecated db.collection.count again
GitOrigin-RevId: 93dc05651747ca49b0e26547a330682f85ad9cef
2020-11-04 03:04:26 +00:00
Jakob Ackermann
87634be542
Merge pull request #3351 from overleaf/revert-3348-revert-3298-jpa-re-land-mongoose-latest
...
[misc] re-land: remove mongojs and bump mongoose
GitOrigin-RevId: eba9f80fbd58dbb8aed131fead3ec0b928a555aa
2020-11-04 03:04:21 +00:00
Jakob Ackermann
e249a2e5be
Merge pull request #3348 from overleaf/revert-3298-jpa-re-land-mongoose-latest
...
Revert "[misc] re-land: remove mongojs and bump mongoose"
GitOrigin-RevId: 45a284435c88898d96769ab258651fb8d6d20ff5
2020-11-03 03:05:09 +00:00
Jessica Lawshe
6a837ce457
Merge pull request #3311 from overleaf/jel-button-test
...
Add required prop to button test
GitOrigin-RevId: c653b0429e4b9e9921e3e913fc0ff5ea445615a3
2020-11-03 03:05:03 +00:00