Commit Graph
23544 Commits
Author SHA1 Message Date
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
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
Brian Gough e0ed321d7b fix shrinkwrap file to add redis-sharelatex 2017-05-03 16:37:12 +01:00
Paulo Reis bf7bf701ed Store selected entries; improve visibility logic. 2017-05-03 16:35:58 +01:00
Brian Gough 35810fa702 Revert "update shrinkwrap file"
This reverts commit d16d3a1db97049cd99bfd6d965e4fab77453ae67.
2017-05-03 16:32:23 +01:00
James Allen 4104ca4889 Add in separate redis config for the lock and fix a few web -> realtime 2017-05-03 16:27:32 +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
James Allen 720f24427a Use new redis-sharelatex with support for cluster 2017-05-02 15:51:17 +01:00
James Allen 1c88fc60e7 Merge pull request #1 from sharelatex/ja-redis-cluster-refactor
Include ioredis as a driver to be able to handle cluster configs
2017-05-02 15:49:22 +01:00
Paulo Reis 76ea497b33 Use a single entry for bulk actions. 2017-05-02 15:43:45 +01:00
James Allen 5c3661d6d9 Merge remote-tracking branch 'origin/bg-redis-cluster-refactor' into ja-redis-cluster-refactor 2017-05-02 15:39:54 +01:00
James Allen ed493d8ad3 Rename web -> realtime for consistency with realtime 2017-05-02 15:38:33 +01:00