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
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
Brian Gough
5fb4a7fdc9
Merge pull request #31 from sharelatex/bg-use-redis-sharelatex-cluster
...
use redis sharelatex v1.0.0
2017-05-02 15:00:17 +01:00
Brian Gough
b3d1c03d4b
Merge pull request #2 from sharelatex/bg-add-redis-cluster-refactor-test
...
add test for ioredis monkey patching
2017-05-02 14:21:21 +01:00
Brian Gough
534bd8f7ad
add flushing code with error check for cluster
2017-05-02 14:19:49 +01:00
Paulo Reis
bf872dc94f
Vertically center label text and button.
2017-05-02 12:20:28 +01:00
Paulo Reis
d71296da9f
Add row clicking in the projects list.
2017-05-01 17:11:03 +01:00
Paulo Reis
208f021bd0
Actually remove project from tag, inline.
2017-05-01 16:00:25 +01:00
Paulo Reis
2708fdf159
Add a button to allow inline removal of tags.
2017-05-01 15:43:44 +01:00
Paulo Reis
bca916d504
Use header button classes in the PDF button.
2017-05-01 15:04:08 +01:00
Paulo Reis
9fb166d2b3
Style improvements.
2017-04-28 17:09:34 +01:00
Paulo Reis
6e40284099
Add untagged projects counter.
2017-04-28 16:57:37 +01:00
Paulo Reis
2d4c5f012a
Styling for untagged filter.
2017-04-28 16:57:25 +01:00
Brian Gough
679680532f
improve stream error handling on upload
2017-04-28 14:47:18 +01:00
Paulo Reis
84a2658259
Add an untagged filter in the projects list.
2017-04-28 12:11:51 +01:00