Commit Graph
24488 Commits
Author SHA1 Message Date
Shane Kilkelly 7b0aca7f02 add cooldown to tpds mergeUpdate path 2017-05-11 11:29:57 +01:00
Paulo Reis f2dac28a65 Consolidate some watchers. 2017-05-11 10:23:41 +01:00
Paulo Reis a3ab994ab3 Use the same watcher to control miniRP visibility and trigger Ace resizing. 2017-05-11 10:17:25 +01:00
Shane Kilkelly a08dd26ef3 Remove CooldownMiddlewear from Tpds routes 2017-05-11 10:07:04 +01:00
Shane Kilkelly e6286c721d Merge branch 'master' into sk-fix-large-projects 2017-05-11 08:40:17 +01:00
James Allen 01d0b63f2c Update config for websessions 2017-05-10 15:52:35 +01:00
Shane Kilkelly 01ee104f77 Revert "update to newest mongoose"
This reverts commit 7b05891ba0e87e4cf00fd6b1ea87d7406dc70989.
2017-05-10 15:31:17 +01:00
James Allen b7a07ea1b7 Merge pull request #12 from sharelatex/ja-redis-cluster-refactor
Use new redis-sharelatex with support for cluster
2017-05-10 15:30:41 +01:00
Shane Kilkelly 08567ff220 if projectId is not defined, error out 2017-05-10 15:25:23 +01:00
Shane Kilkelly b8e4cafd81 Fix log line 2017-05-10 15:16:36 +01:00
Shane Kilkelly 27842996aa start testing SudoModoController 2017-05-10 15:15:57 +01:00
Shane Kilkelly 4d662f23de test SudoModeMiddlewear 2017-05-10 14:54:49 +01:00
James Allen 274d6f4ac6 Merge pull request #493 from sharelatex/ja-redis-cluster-refactor
Move all redis end points to be cluster compatible
2017-05-10 14:38:37 +01:00
Brian Gough 756563fe42 Merge pull request #36 from sharelatex/bg-improve-archiving
make archiving less noisy
2017-05-10 14:18:18 +01:00
Brian Gough 9d5dc20524 Merge pull request #37 from sharelatex/bg-update-redis-sharelatex-npm
update to redis-sharelatex v1.0.2
2017-05-10 14:01:43 +01:00
Brian Gough ff76d1cf62 update to redis-sharelatex v1.0.2 2017-05-10 13:48:43 +01:00
Shane Kilkelly b09a41c557 Fix acceptance tests 2017-05-10 13:45:53 +01:00
Shane Kilkelly 993c261b10 start testing sudo-mode 2017-05-10 11:37:32 +01:00
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