Commit graph

210 commits

Author SHA1 Message Date
Jakob Ackermann
9afdb32689 [misc] bump metrics module to 3.4.1
- renamed package from `metrics-sharelatex` to `@overleaf/metrics`
- drop support for statsd backend
- decaffeinate
- compress `/metrics` response using gzip
- bump debugging agents to latest versions
- expose prometheus interfaces for custom metrics (custom tags)
- cleanup of open sockets metrics
- fix deprecation warnings for header access
2020-11-25 11:57:24 +00:00
Jakob Ackermann
82c0f8f0b4 [config] add Overleaf and overleaf to the list of ignored misspellings 2020-10-08 14:12:55 +01:00
Jakob Ackermann
033af5091f [SpellingAPIManager] get the list of ignored misspellings from settings
The settings will allow overrides via the environment variable
 `IGNORED_MISSPELLINGS`.
2020-10-08 09:36:47 +01:00
dependabot[bot]
0b0c9093df Bump yargs-parser from 13.1.1 to 13.1.2
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
- [Commits](https://github.com/yargs/yargs-parser/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-18 08:53:40 +00:00
Simon Detheridge
56c7588130 Merge pull request #73 from overleaf/jpa-bump-dev-env-3-3-4-node-10-22-1
[misc] bump the dev-env to 3.3.4 and bump the node version to 10.22.1
2020-09-18 09:53:22 +01:00
Simon Detheridge
c5ad2a666e Merge pull request #72 from overleaf/dependabot-npm_and_yarn-lodash-4.17.20
Bump lodash from 4.17.15 to 4.17.20
2020-09-18 09:52:53 +01:00
Simon Detheridge
7565e45ec5 Merge pull request #71 from overleaf/dependabot-npm_and_yarn-node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-09-18 09:52:43 +01:00
Jakob Ackermann
225f1538bf [misc] bump the dev-env to 3.3.4 and bump the node version to 10.22.1 2020-09-17 15:40:14 +01:00
dependabot[bot]
13843655a4 Bump lodash from 4.17.15 to 4.17.20
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-16 10:43:16 +00:00
dependabot[bot]
d6d482cde5 Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 15:09:13 +00:00
Jakob Ackermann
baaf376128 [misc] mongodb: use the new db connector by default
mongojs was enabling it by default as well.
2020-09-10 10:57:29 +01:00
Jakob Ackermann
cb4a7516ac [misc] migrate the app to the native mongo driver, drop mongojs 2020-09-07 12:21:48 +01:00
Jakob Ackermann
1480308b9f [misc] bump logger-sharelatex to version 2.2.0 2020-08-13 16:52:17 +01:00
Jakob Ackermann
8aeacb6645 [misc] properly install chai and sandboxed-module 2020-08-13 16:49:40 +01:00
Jakob Ackermann
c722a79e93 [misc] bump the dev-env to 3.3.2 2020-08-10 17:23:15 +01:00
Jakob Ackermann
c4a60bb4e9 [misc] fix express deprecations 2020-07-22 09:32:39 +01:00
Jakob Ackermann
236292c2f8 [misc] align the variable name of the express app with other services 2020-07-22 09:22:19 +01:00
Jakob Ackermann
5cfd92cf85 [ASpell] error handling of cache dump: fix an async fs function call
fs.unlink requires a callback as second parameter.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-07-03 11:13:01 +01:00
Eric Mc Sween
ac6e70d064 Merge pull request #59 from overleaf/msm-update-oerror-v3
Update OError to v3
2020-06-08 09:10:26 -04:00
Eric Mc Sween
256e7375ff Upgrade logger-sharelatex to 2.0.0 2020-06-08 08:58:25 -04:00
Brian Gough
cfd1ca2127 Merge branch 'update-node-10.21.0' 2020-06-03 11:10:38 +01:00
Brian Gough
b5fb09de41 update buildscript.txt to node 10.21.0 2020-06-03 11:10:31 +01:00
Brian Gough
a6e93ca401 Merge pull request #58 from overleaf/msm-fix-linting
Fix linting
2020-06-03 11:00:46 +01:00
Brian Gough
41023a291e update to node 10.21.0 2020-06-03 10:24:14 +01:00
Miguel Serrano
1662622c23 Updated OError code to v3 2020-06-03 11:14:44 +02:00
Miguel Serrano
7917fd4fbd updated OError dependency to v3 2020-06-03 11:09:48 +02:00
Miguel Serrano
b91e59e8a7 fixed linting 2020-06-03 11:00:35 +02:00
Miguel Serrano
803ed1607c format:fix 2020-06-03 10:52:36 +02:00
Miguel Serrano
562f14455c updated build scripts 2020-06-03 10:49:09 +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
mserranom
241e7d979f Bump to new debian version of ta 2020-04-01 13:15:27 +02:00
mserranom
19808cb127 updated mocha, sinon and node-statsd 2020-03-30 12:53:35 +02:00
mserranom
caa28a0ff0 updated minor, patch dependencies and lru-cache. Fixed constructor in lru-cache 2020-03-30 12:49:56 +02:00
mserranom
72a06c4474 npm audit fix 2020-03-30 12:34:29 +02:00
mserranom
3885c48d42 updated build scripts 2020-03-30 12:33:07 +02:00
Tim Alby
72d16c7c1f filter out duplicates learned words 2020-02-18 10:58:03 -05:00
Tim Alby
1d405914fd don't learn the same word twice 2020-02-18 09:22:50 -05:00
Jakob Ackermann
df7a918e08 Merge pull request #49 from overleaf/jpa-dependencies-cleanup
[misc] cleanup dependencies
2020-02-14 10:56:17 +01:00
Jakob Ackermann
d0f861020a [misc] cleanup unused dependency on redis 2020-02-12 14:43:18 +01:00
Jakob Ackermann
fc17d6adf1 [misc] rename npm-shrinkwrap.json to package-lock.json and run npm i
Also delete unused redis dependency.
2020-02-12 14:41:14 +01:00
Brian Gough
ee88b6d195 remove unused .travis.yml file 2020-02-12 12:37:00 +00:00
Jakob Ackermann
90d12cc602 [test/unit] misc: cleanup a pending interval 2020-02-11 19:01:11 +01:00
Jakob Ackermann
94d564bce3 [misc] fix prettier-eslint errors
using prettier-eslint --write
2020-02-11 18:59:29 +01:00
Jakob Ackermann
24270b3e78 [misc] update the build scripts to 1.3.5 2020-02-11 18:59:24 +01:00
Jakob Ackermann
9ee1aef45c [misc] use node:10.19.0 as base image
Also adjust the node version in the other build-script files.
2020-02-07 14:49:42 +01:00
Brian Gough
2759355408 update to gcr.io/overleaf-ops/node:10.19.0 2020-02-06 03:37:26 +00:00
Brian Gough
223260e9fa upgrade to local node:10.18.1 image 2020-02-04 16:11:46 +00:00
Tim Alby
077ceaba54 delete decaffeinate.sh 2020-01-14 18:27:51 +01:00
Brian Gough
672d03eae6 formatting fixes 2019-10-03 09:41:16 +01:00