Commit Graph

4416 Commits

Author SHA1 Message Date
Paulo Reis f4e46bb2f9 Use new ranges tracker method to get N changes at once; small refactor. 2017-05-15 11:24:40 +01:00
Paulo Reis 7bb5d65b52 Update ranges tracker. 2017-05-15 11:11:28 +01:00
Paulo Reis 82a19444b3 Merge branch 'master' into pr-bulk-actions 2017-05-15 10:29:15 +01:00
Paulo Reis dd85c2fab2 Remove debug line. 2017-05-12 15:44:49 +01:00
Paulo Jorge Reis d550ede112 Merge pull request #496 from sharelatex/pr-review-panel-relayout
Review panel relayout
2017-05-12 13:54:59 +01:00
Shane Kilkelly 1640dfa79a Merge branch 'sk-fix-cooldown-tpds' 2017-05-12 09:11:23 +01:00
James Allen cb51b1ada1 Merge pull request #500 from sharelatex/ja-rename-lock
Rename lock to avoid potential conflict with doc updater
2017-05-11 15:29:36 +01:00
James Allen 3bfd92dd9c Rename lock to avoid potential conflict with doc updater 2017-05-11 15:27:01 +01:00
Paulo Reis 658e70a772 Update ranges tracker. 2017-05-11 11:32:12 +01:00
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
Shane Kilkelly 01ee104f77 Revert "update to newest mongoose"
This reverts commit 7b05891ba0e87e4cf00fd6b1ea87d7406dc70989.
2017-05-10 15:31:17 +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
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
James Allen e19f5a1a5e Update redis-sharelatex and shrinkwrap 2017-05-09 17:18:04 +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
Shane Kilkelly 8e90b7fb9b Add Cooldown to Tpds routes 2017-05-09 13:54:11 +01:00
Shane Kilkelly 149e38855f Add a cooldown mechanism for projects which go over limits 2017-05-09 11:40:42 +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
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
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
Paulo Reis 19828d3c5b Basic bulk accept support. 2017-05-04 15:33:47 +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
Paulo Reis 6662ec34ae Only show bulk actions when n changes > 1. 2017-05-04 11:30:05 +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
Paulo Reis dae66d5edf Add bulk methods in controller. 2017-05-03 17:16:29 +01:00
Paulo Reis 05d9bf47d1 Use entry ids instead. 2017-05-03 16:53:04 +01:00
Paulo Reis bf7bf701ed Store selected entries; improve visibility logic. 2017-05-03 16:35:58 +01:00
Paulo Reis 0249a13012 Add bulk actions as in-editor widgets. 2017-05-03 11:41:17 +01:00
Paulo Reis 722d75f6ef Correctly check if deletions are within selection. 2017-05-02 17:08:41 +01:00
Paulo Reis 3f441ff38c Count entries within selection; only show bulk actions if there are selected entries. 2017-05-02 17:02:30 +01:00
Paulo Reis b7d5faed77 Basic bulk actions styling. 2017-05-02 16:15:52 +01:00
Paulo Reis e2eaf6619e Bulk actions directive; include it in the review panel. 2017-05-02 16:15:40 +01:00
Paulo Reis 76ea497b33 Use a single entry for bulk actions. 2017-05-02 15:43:45 +01:00
Paulo Reis d874eb70f8 Add and remove bulk accept and reject entries with selections. 2017-05-02 15:34:05 +01:00
Brian Gough de76008197 Merge pull request #488 from sharelatex/bg-404-for-missing-doc
return 404 for api request on missing doc
2017-05-02 15:29:29 +01:00
Paulo Reis bf872dc94f Vertically center label text and button. 2017-05-02 12:20:28 +01:00