Commit Graph
27870 Commits
Author SHA1 Message Date
Shane Kilkelly 08fd501ce2 Add a hint to the sudo-mode prompt 2017-05-10 11:36:35 +01:00
Shane Kilkelly 16128288a9 Add sudo-mode protection to sessions page 2017-05-10 11:36:19 +01:00
Shane Kilkelly 5a97521b04 Fix typo in log message 2017-05-10 11:36:05 +01:00
Shane Kilkelly a3a2108526 Increase sudo-mode time to one hour 2017-05-10 11:35:47 +01:00
Shane Kilkelly 094784b6d5 protect settings page with sudo-mode middlewear 2017-05-10 10:25:32 +01:00
Shane Kilkelly 029c96c7cc Add sudo-mode 'confirm password' prompt 2017-05-10 10:05:48 +01:00
James Allen e19f5a1a5e Update redis-sharelatex and shrinkwrap 2017-05-09 17:18:04 +01:00
James Allen d04be1c000 Update redis-sharelatex 2017-05-09 17:09:00 +01:00
Paulo Reis f690ef078a Update tests; add new ones for multiple changes. 2017-05-09 16:16:25 +01:00
Paulo Reis 8aee0edfe8 Integrate bulk actions dialog with controller actions. 2017-05-09 16:06:34 +01:00
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