Commit graph

22485 commits

Author SHA1 Message Date
Brian Gough
e5cc8fe6e1 Merge branch 'bg-use-background-flush-on-disconnect' of github.com:overleaf/real-time into bg-use-background-flush-on-disconnect 2019-06-03 10:35:10 +01:00
Brian Gough
40f3456b1c update unit test 2019-06-03 10:34:59 +01:00
Henry Oswald
973a25fc64 fix background flush unit test 2019-06-03 10:33:32 +01:00
Brian Gough
e95059f98e handle non-urgent flushes in background 2019-06-03 10:01:10 +01:00
Brian Gough
63f052192e use background flush on disconnect 2019-06-03 09:42:12 +01:00
Miguel Serrano
df026f9f81 disabled logging during acceptance test execution
GitOrigin-RevId: 185077cc0f0c8791bc063bd8da6dd755f94c74d6
2019-06-01 01:57:49 +00:00
Eric Mc Sween
acf850bce9 Do not log error on doc updater 404
Document updater 404s are not indicative of a problem, but just of the client
trying to connect to a deleted document, which is easy to trigger. We
log a warning instead.
2019-05-31 17:32:21 -04:00
Henry Oswald
c7eb29ab0a Merge pull request #52 from overleaf/ho-increase-redis-err-logging
log out when health check manager fails a check
2019-05-31 12:38:27 +01:00
Henry Oswald
6ed76fdceb Update docker-compose.yml 2019-05-31 10:27:15 +01:00
Henry Oswald
421a914e72 log out when health check manager fails a check 2019-05-31 09:15:49 +01:00
Henry Oswald
d694674b78 put host in error message 2019-05-30 14:36:54 +01:00
Eric Mc Sween
bebd0f25e6 Merge pull request #1824 from overleaf/as-remove-max-len-rule
Remove unnecessary max-len rule

GitOrigin-RevId: 10ad77498e51022c8d9ab7eb7a5633b90395c692
2019-05-30 12:40:37 +00:00
Henry Oswald
2992c63c4f Merge pull request #51 from overleaf/ho-bump-redis
Bump redis with improved logging
2019-05-30 11:07:08 +01:00
Henry Oswald
2c9b222437 fix breaking tests from using ioredis with inbuilt promises
because a promise is returned from ioredis it errors in mocha as it
can't take a promise and a callback
2019-05-30 10:58:05 +01:00
Henry Oswald
47e0cb44ce bump redis to 1.0.8 2019-05-30 10:29:34 +01:00
Henry Oswald
fd6d52eef7 Merge pull request #10 from overleaf/ho-improve-health-check-error
add redis options inc host ip to error message
2019-05-30 10:15:36 +01:00
Henry Oswald
6600c2e050 add redis options inc host ip to error message 2019-05-30 10:13:05 +01:00
Henry Oswald
b2d6fb77db bump to 1.0.7 2019-05-30 10:12:40 +01:00
Shane Kilkelly
181896f7ec Merge pull request #66 from overleaf/sk-change-409-wording
Tell user to remove .git folder
2019-05-30 09:57:56 +01:00
Shane Kilkelly
552e0955da Tell user to remove .git folder 2019-05-29 11:05:53 +01:00
Shane Kilkelly
545a9240d3 Merge pull request #61 from overleaf/spd-colon-passwords
GitBridge: Allow colons in passwords
2019-05-29 10:33:38 +01:00
Shane Kilkelly
b1d7a0cf63 Merge pull request #65 from overleaf/sk-handle-409-has-dot-git
Handle a 409 response with code=projectHasDotGit
2019-05-29 10:33:22 +01:00
Shane Kilkelly
b6fc48645a Merge pull request #64 from overleaf/sk-skip-failing-projects-in-swap-job
Skip failing projects in swap job, and give up after a certain number
2019-05-29 10:33:06 +01:00
Alasdair Smith
0ca81de78c Merge pull request #1717 from overleaf/as-decaffeinate-backend
Decaffeinate backend

GitOrigin-RevId: 4ca9f94fc809cab6f47cec8254cacaf1bb3806fa
2019-05-29 09:32:21 +00:00
Shane Kilkelly
719f0c3661 Give up on projects that cannot be swapped, rather than spinning the loop forever 2019-05-29 10:20:37 +01:00
Shane Kilkelly
2492c95c0b Handle a 409 response with code=projectHasDotGit 2019-05-29 10:18:49 +01:00
Hugh O'Brien
d4eb71b525 Merge pull request #1788 from overleaf/ta-ensure-can-delete-account
Prevent Subscription Owner from Deleting their Account

GitOrigin-RevId: bd60484bdfb6381216cfc0799e45b28300014ca0
2019-05-28 15:51:27 +00:00
Hugh O'Brien
29408b301c Merge pull request #1750 from overleaf/cmg-project-metadata
Preserve project metadata when deleting

GitOrigin-RevId: 38efb139406d6111f5b6186d82c3fbfb5ab9b2b9
2019-05-28 15:51:21 +00:00
Alasdair Smith
b84c24520c Merge pull request #1804 from overleaf/msm-removed-collaborator-as-first-step-transfer-ownership
Removing user as collaborator as a pre-step for project ownership transfer

GitOrigin-RevId: dbfe1553ae7277863908341fdd2af709dc019692
2019-05-28 11:25:43 +00:00
Alasdair Smith
56839ae6fb Merge pull request #1797 from overleaf/msm-disable-spellcheck-on-readonly
Disabled spell checker on read-only

GitOrigin-RevId: fff76f8fae5ea9c3035902b2abf1c7c54ad556bf
2019-05-28 11:25:33 +00:00
Alasdair Smith
a3bcc71df9 Merge pull request #1807 from overleaf/as-global-sinon-chai
Globally load sinon-chai

GitOrigin-RevId: b0175e021b98d6338171108c6778de80ee58479a
2019-05-28 11:25:26 +00:00
Alasdair Smith
4e8facf3cc Merge pull request #1776 from overleaf/pr-history-ui-filenames-overflow
History filenames overflow + full history for admins

GitOrigin-RevId: b52d79e0aa1cb600eacb475d21b603f42c8cf18c
2019-05-28 11:25:17 +00:00
Simon Detheridge
d999cd5030 Merge pull request #1810 from overleaf/jel-sso-unlink
Include CSRF token in POST request

GitOrigin-RevId: 9371993971e81ad3f7301427d1a5ed7be5bb1a01
2019-05-28 09:33:37 +00:00
Simon Detheridge
ff4e0013cd Merge pull request #1809 from overleaf/ns-escape-archive-translation
treat translate call as var, not string

GitOrigin-RevId: db1b40182bbfabef4ea31b2e1923bb28921900b0
2019-05-28 09:33:31 +00:00
Simon Detheridge
45f3f74d0b Merge pull request #1811 from overleaf/ns-code-check-fail-invisible
check for light theme to set autocompile status color

GitOrigin-RevId: d77cbb965ccb0bd05cd237717e29ebe0e1d68681
2019-05-28 09:33:22 +00:00
Simon Detheridge
d5556c55a9 Merge pull request #1813 from overleaf/spd-verbose-merge-logging
Add very verbose logging to SL user merging

GitOrigin-RevId: 802a9295240c23f48c133fabb5895501f1c9a49f
2019-05-28 09:33:15 +00:00
Simon Detheridge
6488fd1284 Merge pull request #1814 from overleaf/spd-missing-callback-returns
Add missing return statements to callbacks in SubscriptionGroupHandler

GitOrigin-RevId: 05ff67bd8e4997fde01c6cf9f4558d3caa261590
2019-05-28 09:33:06 +00:00
Simon Detheridge
561f54c1a3 Merge pull request #1816 from overleaf/spd-user-delete-newsletter
Don't fail to delete a user if unsubscribing from newsletter fails

GitOrigin-RevId: 8764717220d906a20a7dd0a90879a45d9dd8a7ce
2019-05-28 09:32:57 +00:00
Simon Detheridge
40316b0735 Merge pull request #1815 from overleaf/spd-mongoose-debugging
Allow very verbose debugging of mongo queries via env var

GitOrigin-RevId: ad132ef0cc6df892b4c879948094f67497cc9a48
2019-05-28 09:32:50 +00:00
Henry Oswald
8e28e33b05 Merge pull request #50 from overleaf/revert-49-csh-issue-1118-node-10.15.3
Revert "Csh issue 1118 node 10.15.3"
2019-05-24 15:27:49 +01:00
Brian Gough
74db743ffa allow fractional drain rate 2019-05-24 15:23:01 +01:00
Henry Oswald
78372119f8 Revert "Csh issue 1118 node 10.15.3" 2019-05-24 15:21:48 +01:00
Brian Gough
20d5cc69a4 filter invalid updates 2019-05-24 10:19:02 +01:00
Simon Detheridge
deb9e656a9 Merge pull request #1801 from overleaf/ew-module-unit-test
add ability to unit test a single module

GitOrigin-RevId: 584708066dea3c8d6afa1483953bbae252b48fa7
2019-05-23 13:25:39 +00:00
Simon Detheridge
a0adde3573 Merge pull request #1803 from overleaf/spd-email-login-url
Fix path to login URL in account migration emails

GitOrigin-RevId: 609445ad5f214deb7da3966806ff512c4a7a3d55
2019-05-23 13:25:29 +00:00
Shane Kilkelly
8086a1b2b4 Merge pull request #63 from overleaf/sk-emergency-log-and-trap-gc-errors
Log and trap/ignore gc errors during swap
2019-05-23 11:26:05 +01:00
Shane Kilkelly
f237efa6d5 Log and trap/ignore gc errors during swap 2019-05-23 11:14:02 +01:00
Alasdair Smith
a3894ac9b4 Merge pull request #1794 from overleaf/as-upgrade-ace-1.4.4
Upgrade Ace to v1.4.4

GitOrigin-RevId: 26681bcf255537f8eb09fa0ac1c98009cf964496
2019-05-23 08:49:13 +00:00
Timothée Alby
d86abf49e6 Merge pull request #1729 from overleaf/ta-show-last-modified
Show LastUpdatedBy on Dashboard

GitOrigin-RevId: 11760e575a46f061d4aa9059a0c1e813b9adb1f9
2019-05-21 13:39:29 +00:00
Timothée Alby
759392047d Merge pull request #1789 from overleaf/as-fix-reference-search-cut-off
Fix reference search hint cutting off last suggestion

GitOrigin-RevId: a8b3e32e1173b27602b0576c1b00afcc1cbf7683
2019-05-21 13:39:23 +00:00