Commit Graph
23327 Commits
Author SHA1 Message Date
Paulo Reis 884a89893d Save and read filtering options from local storage. 2017-04-27 16:17:28 +01:00
Brian Gough 64aef0b55a fix acceptance test to work with redis cluster too 2017-04-27 10:42:43 +01:00
Brian Gough 0966f694da fix acceptance tests to work with redis cluster 2017-04-27 10:14:44 +01:00
Brian Gough 3b5a07d530 fix update to work with redis cluster
the items do not have the same tag, so we must delete the entry from the
docsWithHistoryOps set outside the multi.
2017-04-26 16:25:34 +01:00
Brian Gough 6923ca0d5f add test for ioredis monkey patching 2017-04-25 15:34:41 +01:00
Henry Oswald 3bdd5a4a2e Merge pull request #483 from sharelatex/ja-dont-fail-on-tpdsworker-error
Continuing flushing document on tpds worker error
2017-04-25 09:19:13 +01:00
Henry Oswald 5d55e383c7 Merge pull request #485 from sharelatex/sk-warn-on-zip-failure
when the uploaded file is not a zip, warn instead of error
2017-04-25 09:18:17 +01:00
Henry Oswald f5267ac6ee Merge pull request #481 from sharelatex/ja-encode-project-names
Error if no project returned from joinProject
2017-04-25 09:17:59 +01:00
Henry Oswald efe5e9efb0 Merge pull request #484 from sharelatex/ho-rate-limit-compiles
added rate limit to compile endpoint
2017-04-25 09:17:27 +01:00
Brian Gough dc77bc207d change acceptance test to use redis history client 2017-04-24 16:31:23 +01:00
Henry Oswald 79bc4c1d3e = != == ;) 2017-04-24 16:16:02 +01:00
Henry Oswald c733925a26 show rate limit message when compiled too much 2017-04-24 15:56:09 +01:00
Brian Gough 7836556d10 update shrinkwrap file 2017-04-24 14:24:02 +01:00
Brian Gough 3045becbb6 use redis-sharelatex with redis cluster config 2017-04-24 14:23:32 +01:00
Brian Gough df38893538 remove old single redis flushing code 2017-04-24 11:36:31 +01:00
Brian Gough a7ff15ec7d remove logging, fix query 2017-04-24 09:49:11 +01:00
Brian Gough 33fb1ddf57 script to flush dangling ops 2017-04-20 16:58:26 +01:00
Brian Gough 60443f3fa6 Merge branch 'bg-limit-flush' 2017-04-20 14:33:06 +01:00
Brian Gough 2a68b81cc1 randomise order of flush 2017-04-20 14:32:23 +01:00
Brian Gough 7ba45cfc73 Merge pull request #30 from sharelatex/bg-limit-flush
allow limit on flushed projects
2017-04-20 12:14:49 +01:00
Brian Gough 9eb36f9692 improve log message for flushing 2017-04-20 11:55:32 +01:00
Brian Gough 43f51355b2 add limit parameter to flushAll 2017-04-20 11:01:46 +01:00
Brian Gough 976f19f763 remove spurious call to getAllDocIdsWithHistoryOps 2017-04-20 10:14:44 +01:00
Paulo Reis dc4aef71d7 Use new logo in the feature page. 2017-04-19 17:00:43 +01:00
Brian Gough 70ce3a5271 Merge pull request #29 from sharelatex/bg-simple-flush-all
simple flush for all projects
2017-04-19 16:32:09 +01:00
Brian Gough b5b61b98d0 avoid blocking when fetching redis keys
use scan instead of keys method
2017-04-19 15:39:33 +01:00
Brian Gough 8f469db1e5 Merge pull request #28 from sharelatex/bg-upate-timeouts
update timeouts to allow for 5 second retry delay
2017-04-19 13:19:05 +01:00
James Allen c5449ae282 Split out redis config for real-time and track-changes into separate cluster-compatible configs 2017-04-13 17:00:42 +01:00
Shane Kilkelly 779336e5b0 when the uploaded file is not a zip, warn instead of error 2017-04-13 15:12:54 +01:00
Shane Kilkelly 8d6370026e Merge pull request #479 from sharelatex/pr-fix-favicon-path
Fetch favicon and related assets from root.
2017-04-13 13:09:29 +01:00
Brian Gough 9ce6d77cca add check for dangling updates 2017-04-13 11:31:45 +01:00
Shane Kilkelly 1e46a5bf7a update shrinkwrap 2017-04-13 10:12:20 +01:00
Shane Kilkelly e4e8520f27 Merge branch 'node-6.9' 2017-04-13 10:10:43 +01:00
Henry Oswald 65b83f2c67 added space before email for closed site 2017-04-12 17:04:12 +01:00
James Allen 89397e4c50 Get unit tests running and add one for ioredis 2017-04-12 16:58:59 +01:00
Brian Gough 1ec9f87542 update timeouts to allow for 5 second retry delay
now using requestretry module, which has a five second delay between
retries. Need to increase the timeout on the health checks to allow for
this, as the timeout is currently shorter than the retry delay.
2017-04-12 16:47:34 +01:00
Brian Gough d9ed026d91 simple flush for all projects
does not work with redis cluster, only single redis
2017-04-12 16:34:28 +01:00
Shane Kilkelly a9b8b864df Move content-disposition setting into a method on res 2017-04-12 16:00:02 +01:00
James Allen 3b58e390fd Include ioredis as a driver to be able to handle cluster configs 2017-04-12 14:53:34 +01:00
James Allen f21208e841 Use new redis-sharelatex instead of RedisBackend for cluster abstraction 2017-04-12 14:53:03 +01:00
Shane Kilkelly 02d75deaa0 when setting content-disposition, uri-encode names 2017-04-12 09:31:59 +01:00
Henry Oswald 0961a034ea added rate limit to compile endpoint 2017-04-11 16:08:38 +01:00
James Allen 6d2f18016f Move tpds worker error ignoring logic into tpdsUpdateSender 2017-04-11 15:41:17 +01:00
Brian Gough 8892a50486 Merge pull request #56 from sharelatex/bg-disable-qpdf-setting
add setting to avoid optimisations outside docker
2017-04-11 14:16:19 +01:00
James Allen 7c8f228f48 Continuing flushing document on tpds worker error 2017-04-11 14:02:08 +01:00
Shane Kilkelly f398e87e6f Merge branch 'master' into node-6.9 2017-04-11 11:34:53 +01:00
Brian Gough 86f29a4cfb add setting to avoid optimisations outside docker 2017-04-10 16:12:03 +01:00
Brian Gough 733cea6de0 Merge pull request #55 from sharelatex/bg-check-pdf-output-is-optimised
use pdfinfo on output to ensure pdfs are optimised
2017-04-10 15:06:22 +01:00
James Allen f6bd949f01 Error if no project returned from joinProject
socket.io seems to choke on the unicode project name and just return
undefined when it fails to parse the JSON. I've improved the escaping
of the user data on HTML load, but reporting an error is the best we
can easily do on joinProject via websockets.
2017-04-10 12:03:39 +01:00
Paulo Reis 332e4a80b2 Also fix iOS icon path. 2017-04-07 14:43:07 +01:00