Paulo Reis
f3e020df7e
Add dialog to confirm bulk actions.
2017-05-09 16:06:19 +01:00
Shane Kilkelly
fd0176c0cf
if project goes over maximum allowed files, put on cooldown
2017-05-09 14:20:29 +01:00
Brian Gough
2781d9fd80
keep track of processed/total docs in archiving
2017-05-09 14:00:16 +01:00
Brian Gough
c26bccd390
make arguments handling for packworker more robust
2017-05-09 14:00:16 +01:00
Brian Gough
cac7556ad5
only check packs for archiving once each week
2017-05-09 14:00:15 +01:00
Brian Gough
c6e83c6cb8
allow archiving to exit properly on hard timeout
2017-05-09 14:00:15 +01:00
Brian Gough
9936710a1a
replace error with warning for archiving timeout
2017-05-09 14:00:15 +01:00
Shane Kilkelly
8e90b7fb9b
Add Cooldown to Tpds routes
2017-05-09 13:54:11 +01:00
Brian Gough
42225ffc45
Merge pull request #36 from sharelatex/bg-atomic-history-update
...
atomic history update
2017-05-09 13:15:54 +01:00
Brian Gough
36407ac726
rename HistoryManager pushUncompressedHistoryOps
2017-05-09 12:02:27 +01:00
Shane Kilkelly
149e38855f
Add a cooldown mechanism for projects which go over limits
2017-05-09 11:40:42 +01:00
Brian Gough
7ce6285e3d
increase flush threshold to 100 ops
2017-05-09 10:44:26 +01:00
Brian Gough
fdf5e8e0b8
get history ops length directly from redis update
2017-05-09 10:34:31 +01:00
Brian Gough
2d158b03d7
rename pushUncompressedHistoryOps
2017-05-09 09:32:56 +01:00
Paulo Reis
144804e516
Update tests with new methods.
2017-05-08 16:34:17 +01:00
Paulo Reis
499272cbb5
Use new range-tracker method.
2017-05-08 16:12:21 +01:00
Paulo Reis
03b8b72520
Update range tracker with new bulk method.
2017-05-08 16:10:08 +01:00
Shane Kilkelly
c5c0364d49
update to newest mongoose
2017-05-08 16:09:59 +01:00
Paulo Reis
d7ac57d054
Use new bulk method.
2017-05-08 16:08:42 +01:00
Paulo Reis
70341e4e80
Add bulk method from range tracker.
2017-05-08 16:08:34 +01:00
Brian Gough
e2f70aca1a
fix tests for redis cluster
2017-05-08 16:02:49 +01:00
Brian Gough
79d8fced49
make history update more atomic
2017-05-08 15:58:29 +01:00
James Allen
91f06cfc28
Merge pull request #494 from sharelatex/ja-async-stack-size-bug
...
Don't call sync functions inside async
2017-05-07 09:14:26 +01:00
Paulo Reis
3ced808411
Use a single accept changes method.
2017-05-05 15:19:31 +01:00
Paulo Reis
e96e6d6a29
Remove unused method.
2017-05-05 15:17:19 +01:00
Paulo Reis
9b8a2c3030
Consolidate methods to accept changes.
2017-05-05 15:12:06 +01:00
Brian Gough
0e8a924f28
Merge pull request #35 from sharelatex/bg-fix-dangling
...
flush dangling docs
2017-05-05 15:03:41 +01:00
James Allen
ce5b7957a5
Merge pull request #35 from sharelatex/ja-redis-cluster-refactor
...
Bump redis-sharelatex version
2017-05-05 13:46:07 +01:00
James Allen
87a5e30a0b
Bump redis-sharelatex version
2017-05-05 13:37:58 +01:00
James Allen
90e0b4b273
Gracefully handle missing callback to exec in ioredis
2017-05-05 13:36:39 +01:00
Brian Gough
7cd2911a0a
Merge pull request #34 from sharelatex/bg-update-redis-sharelatex-to-v1.0.1
...
update redis-sharelatex to v1.0.1
2017-05-05 11:51:33 +01:00
Brian Gough
1e56347f4f
Merge pull request #33 from sharelatex/bg-support-scan-on-redis-cluster
...
support scan operations on redis cluster
2017-05-05 11:51:18 +01:00
Brian Gough
b82567ef79
support scan operations on redis cluster
2017-05-05 11:30:55 +01:00
James Allen
b8b8a30710
Merge pull request #32 from sharelatex/ja-redis-cluster-refactor
...
Use new redis-sharelatex instead of RedisBackend for cluster abstraction
2017-05-05 10:35:33 +01:00
Brian Gough
842b91b93a
update redis-sharelatex to v1.0.1
...
manual edit to npm-shrinkwrap.json to preserve existing versions
2017-05-05 09:38:58 +01:00
James Allen
014e3afb36
Don't call sync functions inside async
...
Calling sync functions inside async can trigger the node max stack size.
Instead, build up our unique list of ids in advance, so we only call a
method in async for each user we actually need to look up, asynchronously.
Then use all the cached values synchronously afterwards.
2017-05-04 17:04:20 +01:00
Paulo Reis
f25db3ff64
Reflect accepted changes on the UI layer.
2017-05-04 15:47:25 +01:00
James Allen
7456238a71
Bump redis-sharelatex version
2017-05-04 15:42:10 +01:00
James Allen
da85837e6f
Update package.json
2017-05-04 15:41:43 +01:00
James Allen
92f22bc1a1
Fix redis cluster health check
2017-05-04 15:38:07 +01:00
Paulo Reis
19828d3c5b
Basic bulk accept support.
2017-05-04 15:33:47 +01:00
Paulo Reis
d530ee9501
Add methods to bulk accept changes.
2017-05-04 15:32:54 +01:00
James Allen
3f51911513
Update to latest redis-sharelatex
2017-05-04 15:25:58 +01:00
James Allen
8449b0417c
Move all redis end points to be cluster compatible
2017-05-04 15:22:54 +01:00
Brian Gough
238638b906
Merge pull request #32 from sharelatex/bg-fix-shrinkwrap
...
fix shrinkwrap
2017-05-04 13:13:34 +01:00
Paulo Reis
6662ec34ae
Only show bulk actions when n changes > 1.
2017-05-04 11:30:05 +01:00
James Allen
5f93640077
Add scripts for testing cluster failover scenarios
2017-05-04 11:14:17 +01:00
Paulo Jorge Reis
20433327b8
Merge pull request #490 from sharelatex/pr-align-pdf-icon
...
Use header button classes in the PDF button.
2017-05-04 09:59:11 +01:00
Paulo Jorge Reis
9d2d217d35
Merge pull request #491 from sharelatex/pr-project-list-improvements
...
Project list improvements
2017-05-04 09:59:02 +01:00
Paulo Reis
8f6d11632b
Add bulk rejection support.
2017-05-03 17:16:41 +01:00