Commit Graph
5375 Commits
Author SHA1 Message Date
Tim Alby bb9a5340f4 update build scripts to 2.2.0 2020-05-06 12:03:41 +02:00
Miguel Serrano 853dbd8880 Merge pull request #125 from overleaf/sk-upgrade-dependencies
Upgrade dependencies
2020-05-01 12:00:15 +02:00
Miguel Serrano 93a5ee063a regenerated lockfile 2020-04-27 13:41:23 +02:00
Miguel Serrano f935c392bc Merge branch 'master' into sk-upgrade-dependencies 2020-04-27 13:38:21 +02:00
Jakob Ackermann a3bc59fba5 Merge pull request #56 from overleaf/jpa-fix-install_deps
[misc] fix install_deps
2020-04-23 17:33:43 +02:00
Jakob Ackermann 2e8b6fccce [misc] install_deps: fix apt install for aspell-or, aspell-te, aspell-ta
The specified versions were removed. use any latest version instead.

```
# in a node:10.19.0 container will all steps from install_deps.sh
#  executed -- except for the 'apt install' steps.
$ apt policy aspell-or aspell-te aspell-no aspell-ta
  aspell-or:
    Installed: (none)
    Candidate: 0.03-1-7
    Version table:
       0.03-1-7 1337
          500 http://deb.debian.org/debian unstable/main ...
       0.03-1-5 990
          990 http://deb.debian.org/debian stretch/main ...
       0.03-1-5 500
          500 http://archive.ubuntu.com/ubuntu bionic/universe ...
  aspell-te:
    Installed: (none)
    Candidate: 0.01-2-7
    Version table:
       0.01-2-7 1337
          500 http://deb.debian.org/debian unstable/main ...
       0.01-2-5 990
          990 http://deb.debian.org/debian stretch/main ...
       0.01-2-5 500
          500 http://archive.ubuntu.com/ubuntu bionic/universe ...
  aspell-no:
    Installed: (none)
    Candidate: 2.2-4
    Version table:
       2.2-4 1337
          500 http://deb.debian.org/debian unstable/main ...
       2.2-3 500
          500 http://archive.ubuntu.com/ubuntu bionic/universe ...
       2.2-2 990
          990 http://deb.debian.org/debian stretch/main ...
  aspell-ta:
    Installed: (none)
    Candidate: 20040424-1-3
    Version table:
       20040424-1-3 1337
          500 http://deb.debian.org/debian unstable/main ...
       20040424-1-1 990
          990 http://deb.debian.org/debian stretch/main ...
       20040424-1-1 500
          500 http://archive.ubuntu.com/ubuntu bionic/universe ...
```
2020-04-23 17:22:22 +02:00
Jakob Ackermann c660115d98 [misc] install_deps: download packages from a near-by mirror 2020-04-23 16:44:49 +02:00
Henry Oswald 7b9912034d Merge pull request #146 from overleaf/bg-support-other-runtimes
support other runtimes
2020-04-23 14:42:18 +01:00
Henry Oswald e1c90ec234 Merge branch 'master' into bg-support-other-runtimes
port coffee changes to js
2020-04-23 13:59:05 +01:00
Henry Oswald a5887fad50 Merge pull request #158 from overleaf/jpa-entry-point-cleanup
[misc] entry point cleanup
2020-04-23 13:52:04 +01:00
Henry Oswald ea1ff96e0e Merge pull request #155 from overleaf/ho-limit-lifespan
limit clsi lifespan via health checks and PROCESS_LIFE_SPAN_LIMIT_MS
2020-04-23 13:51:09 +01:00
Henry Oswald adc73df53d cleanup the shutdown code a bit 2020-04-23 11:32:33 +01:00
Brian Gough 6936952753 Merge pull request #132 from overleaf/bg-finalise-migration
finalise docupdater redis migration
2020-04-22 14:39:45 +01:00
Brian Gough 79c934759c add default redis settings for project history 2020-04-22 14:04:28 +01:00
Brian Gough 2e24d1670c remove old unused ioredis keepalive option 2020-04-22 13:51:14 +01:00
Brian Gough 61da130cf4 keep maxRetriesPerRequest for project_history redis config 2020-04-22 13:50:39 +01:00
Brian Gough a51f61a555 remove redis migration code 2020-04-21 14:48:47 +01:00
Brian Gough 248edc03fa add comment about the two history clients 2020-04-21 14:44:19 +01:00
Brian Gough af93193d6e remove new_project_history and use project_history instead 2020-04-21 14:43:48 +01:00
Brian Gough 8e210fe441 update unit tests 2020-04-21 14:41:30 +01:00
Simon Detheridge 04661221a1 Merge pull request #116 from overleaf/spd-signed-urls
Add support for redirecting to signed URLs
2020-04-21 10:43:42 +01:00
Jakob Ackermann 9a1a9f153b Merge pull request #57 from overleaf/jpa-node-12-fix
[misc] test/unit: fix process usage for node v12
2020-04-20 17:06:26 +02:00
Jakob Ackermann 80095785b8 [misc] test/unit: fix process usage for node v12
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-04-20 16:50:51 +02:00
Brian Gough c2e165e0eb Merge pull request #105 from overleaf/bg-use-separate-redis-for-project-history
support migration of project history keys to separate redis instance
2020-04-17 11:26:49 +01:00
Jakob Ackermann f6f20fdcb6 Merge pull request #43 from overleaf/ew-jpa-fix-express-deprecations
[misc] fix express deprecations
2020-04-17 11:21:04 +02:00
Jakob Ackermann 9f15b062b0 Merge pull request #19 from overleaf/ew-jpa-fix-express-deprecations
[misc] fix express deprecations
2020-04-17 11:20:48 +02:00
Brian Gough ac68f59487 Merge branch 'master' into bg-use-separate-redis-for-project-history 2020-04-16 15:48:21 +01:00
Jakob Ackermann cf8533bee1 [LocalCommandRunner] run: block a double call of the callback
The subprocess event handler fires the "error" and "close" event in case
 of a failure.
Both events would call the given callback, resulting in double
 processing of the subprocess result downstream.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-04-16 15:55:55 +02:00
Ersun WarnckeandJakob Ackermann 7302c0ce0b [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-15 19:04:56 +02:00
Ersun WarnckeandJakob Ackermann 686f0f0102 [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-15 18:43:23 +02:00
Simon Detheridge 3637cd70ae Add support for redirecting to signed URLs 2020-04-15 12:22:54 +01:00
Henry Oswald acbfc465dc add variance into shutdown time to avoid stampeed 2020-04-14 13:36:11 +01:00
Jakob AckermannandTim Alby cb9e9321f0 [DockerRunner] fix metric incrementing and error logging
- do not log on first EPIPE
- inc 'container-inspect-epipe-error' on permanent error only

Co-Authored-By: Tim Alby <timothee.alby@gmail.com>
2020-04-10 14:44:57 +02:00
Tim AlbyandJakob Ackermann ecaa7035f5 add metrics for EPIPE errors
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-10 12:28:48 +02:00
Tim AlbyandJakob Ackermann e3b1472c7f retry once on EPIPE errors
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-10 12:28:11 +02:00
Tim AlbyandJakob Ackermann 66447211d0 fix arguments order
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-10 12:27:15 +02:00
Brian Gough f4b17ebbad Merge pull request #125 from overleaf/bg-add-queue-metrics
add metric for pendingUpdates queue
2020-04-07 11:56:58 +01:00
Brian Gough 5c28da1031 add metric for pendingUpdates queue 2020-04-07 11:53:54 +01:00
Brian Gough d4d7f4ed68 Merge pull request #122 from overleaf/jpa-pub-sub-metrics
[misc] track redis pub/sub payload sizes on publish
2020-04-07 11:49:57 +01:00
Brian Gough 5765884f38 Merge branch 'master' into jpa-pub-sub-metrics 2020-04-07 11:46:23 +01:00
Brian Gough a6bee0c16a Merge pull request #127 from overleaf/bg-add-queue-metrics
add queue throughput metrics
2020-04-06 13:56:36 +01:00
Brian Gough 55cbfd9962 Merge branch 'master' into bg-add-queue-metrics 2020-04-06 12:12:12 +01:00
Brian Gough c095feaa06 upgrade logger-sharelatex 2020-04-06 10:43:53 +01:00
Brian Gough beb3691795 add metrics for redis get/update 2020-04-06 10:00:48 +01:00
Simon Detheridge 2b9b165d72 Merge pull request #114 from overleaf/spd-fastcrc
Add fast-crc32c library
2020-04-03 17:12:03 +01:00
Simon Detheridge cd8d4445c0 Merge pull request #115 from overleaf/em-request-logger-hotfix
Fix error handler returning two responses
2020-04-03 17:09:41 +01:00
Simon Detheridge 256cebf7a7 Add fast-crc32c library 2020-04-03 17:06:41 +01:00
Eric Mc Sween 003d54e8f0 Fix error handler returning two responses
The error handler mistakenly sent two responses on error, the first
being a 200.
2020-04-03 11:57:33 -04:00
Simon Detheridge 63907e0170 Merge pull request #113 from overleaf/spd-stream-debugging
Ensure streams are drained when a pipeline fails
2020-04-03 14:06:55 +01:00
Jakob Ackermann 6a615d50d3 Merge remote-tracking branch 'origin/master' into jpa-entry-point-cleanup 2020-04-03 14:05:36 +02:00