Brian Gough
971d50ed58
Merge pull request #82 from overleaf/spd-redis-max-retries
...
Add maxRetriesPerRequest setting for redis
2019-10-14 11:14:42 +01:00
Brian Gough
f028148fe2
upgrade ioredis to v4.14.1
2019-10-14 11:10:20 +01:00
Shane Kilkelly
1b18529aaa
Merge pull request #11 from overleaf/sk-upgrade-node-10
...
Upgrade to node 10, and migrate to package-lock.json
2019-10-14 10:41:58 +01:00
Shane Kilkelly
c69429a794
Merge pull request #27 from overleaf/sk-upgrade-node-10
...
Update to node 10, and move to package-lock.json
2019-10-14 10:09:21 +01:00
Brian Gough
781e01b8b4
Merge pull request #95 from overleaf/bg-update-ioredis
...
update to ioredis 4.14.1
2019-10-14 09:21:39 +01:00
Shane Kilkelly
2cc2be3d9c
send messages to clients with concurrency of 2
2019-10-11 10:01:21 +01:00
Shane Kilkelly
06aa578bdc
Make it an error when we get no data from joinProject
2019-10-11 09:57:16 +01:00
Simon Detheridge
85b23d7da7
Add maxRetriesPerRequest setting for redis
2019-10-10 16:56:58 +01:00
Miguel Serrano
7d3fa7a128
Merge pull request #131 from yuantailing/fix-compiler-manager
...
Fix synctex for LocalCommandRunner
2019-10-08 12:48:13 +02:00
Henry Oswald
3f3c2136d7
Merge pull request #94 from overleaf/ho-log-redis-events
...
logs out when a redis event occurs
2019-10-07 10:32:14 +01:00
Tailing Yuan
68e842b12a
fix CompileManager and LocalCommandRunner
2019-10-04 23:02:03 +08:00
Shane Kilkelly
df6cd4a054
Also block getConnectedUsers for restricted users.
...
Plus refactor to use a pass list instead of a deny list.
2019-10-04 13:41:49 +01:00
Brian Gough
5a62632cfd
add ioredis option maxRetriesPerRequest: 0
...
see https://github.com/luin/ioredis/issues/965
2019-10-04 11:53:14 +01:00
Brian Gough
51a821c03c
remove old unused ioredis keepalive option
2019-10-04 11:51:37 +01:00
Brian Gough
18ccd11224
update to ioredis 4.14.1
2019-10-04 11:32:08 +01:00
Shane Kilkelly
6765d03339
Track the isRestrictedUser flag on clients
...
Then, don't send new chat messages and new comments to those restricted clients.
We do this because we don't want to leak private information (email addresses
and names) to "restricted" users, those who have read-only access via a
shared token.
2019-10-04 10:30:24 +01:00
Henry Oswald
e9efd6b93b
logs out when a redis event occurs
2019-10-03 11:10:31 +01:00
Brian Gough
672d03eae6
formatting fixes
2019-10-03 09:41:16 +01:00
Brian Gough
bb442866ba
Merge pull request #36 from overleaf/bg-fix-aspell-pipe-encoding
...
fix aspell pipe encoding
2019-10-03 09:33:01 +01:00
Brian Gough
b63fc66588
Merge pull request #93 from overleaf/bg-flush-history-when-deleting-project
...
avoid project history queues building up with deferred flush
2019-10-03 08:37:45 +01:00
Brian Gough
d82b180b76
avoid project history queues building up with deferred flush
2019-10-03 04:05:24 +01:00
Brian Gough
c7a7887d67
remove decaff comments
2019-10-02 16:47:36 +01:00
Brian Gough
0e14ad50db
fix eslint check
2019-10-02 16:34:15 +01:00
Brian Gough
1f861a6772
fix regex and add AspellWorker unit tests
2019-10-02 16:29:18 +01:00
Brian Gough
c1454bc4ac
Merge pull request #92 from overleaf/bg-flush-queue-prod-fixes
...
add continuous background flush
2019-10-02 13:11:00 +01:00
Brian Gough
0c14b7d2f8
add comment about background flush limit
2019-10-01 15:06:01 +01:00
Brian Gough
ae3ebf2db6
start background flush after http server has started
2019-10-01 15:02:37 +01:00
Brian Gough
2845b23b70
add smoothing of delete spikes
2019-10-01 15:01:53 +01:00
Brian Gough
2c22a60052
add random jitter to cutoff time
2019-10-01 15:01:20 +01:00
Brian Gough
a32495d2b4
make background flush more adaptive
2019-10-01 14:09:41 +01:00
Brian Gough
73b4262186
add continuous background flush
2019-09-30 16:05:53 +01:00
Brian Gough
f172650601
Merge pull request #91 from overleaf/bg-fix-multi-getdoctimestamps
...
fix getDocTimestamps for multiple docs
2019-09-30 13:53:48 +01:00
Brian Gough
33fadf51c1
fix getDocTimestamps for multiple docs
2019-09-30 13:50:25 +01:00
Shane Kilkelly
d944746671
Upgrade to node 10, and migrate to package-lock.json
2019-09-30 11:30:56 +01:00
Brian Gough
89a90399fe
Merge pull request #89 from overleaf/bg-queue-deletes
...
queue deletes for deferred processing
2019-09-30 11:14:08 +01:00
Shane Kilkelly
ab9689bd54
Upgrade to node 10, and migrate to package-lock.json
2019-09-30 10:48:36 +01:00
John Lees-Miller
8b99551d9f
Merge pull request #90 from overleaf/config-update
...
Update config
2019-09-28 16:10:28 +01:00
John Lees-Miller
e2f32b544d
Merge pull request #28 from overleaf/config-update
...
Update config
2019-09-28 16:08:24 +01:00
John Lees-Miller
98a438112b
Update config
2019-09-28 11:54:17 +01:00
John Lees-Miller
c5a9105c33
Update config
2019-09-28 11:07:33 +01:00
Shane Kilkelly
67735bb2db
Update to node 10, and move to package-lock.json
...
In this case, the npm-shrinkwrap file was using the old v0 format,
and npm needed to effectively re-write the entire file.
2019-09-27 16:22:15 +01:00
Shane Kilkelly
18dae9dc5a
Update to node 10, and move to package-lock.json
2019-09-27 15:36:55 +01:00
Brian Gough
d96ec9d7fd
add acceptance tests for utf8 responses
2019-09-27 11:58:35 +01:00
Brian Gough
b0e0eeff3c
look for end marker across chunk boundaries
2019-09-27 11:57:45 +01:00
Brian Gough
f273a27b95
use utf8 encoding for stdout from aspell
2019-09-27 11:28:03 +01:00
Brian Gough
260923f291
keep flushQueuedProjects in the foreground
2019-09-27 10:46:24 +01:00
Brian Gough
7561e05660
check timestamps array length
2019-09-27 10:39:56 +01:00
Brian Gough
0f0682df43
allow flush to complete in acceptance test
2019-09-26 16:00:11 +01:00
Brian Gough and Jakob Ackermann
b7f3b848af
remove unused dryRun option
...
Co-Authored-By: Jakob Ackermann <das7pad@outlook.com >
2019-09-26 15:50:55 +01:00
Brian Gough
3bc176259b
fix log line
2019-09-26 15:46:54 +01:00