Brian Gough
88a69257dc
Merge pull request #4940 from overleaf/bg-add-prettier-and-eslint-to-latex-log-parser
...
add prettier and eslint to latex log parser
GitOrigin-RevId: 6985fb253c0e4935fae0bbae34823ab058dfb34c
2021-09-07 08:02:51 +00:00
Brian Gough
bea00ba3f0
Merge pull request #4723 from overleaf/dependabot-npm_and_yarn-libraries-logger-y18n-4.0.3
...
Bump y18n from 4.0.0 to 4.0.3 in /libraries/logger
GitOrigin-RevId: a153883f570fb1d50c84dd4668a0740c8bc47f84
2021-09-03 08:03:13 +00:00
Brian Gough
1d9badb92a
Merge pull request #4724 from overleaf/dependabot-npm_and_yarn-libraries-logger-hosted-git-info-2.8.9
...
Bump hosted-git-info from 2.8.8 to 2.8.9 in /libraries/logger
GitOrigin-RevId: 3243e2e469911cb7545f9630d226f1ddb4f1aa81
2021-09-03 08:03:09 +00:00
Brian Gough
864fdb9ed8
Merge pull request #4722 from overleaf/dependabot-npm_and_yarn-libraries-logger-glob-parent-5.1.2
...
Bump glob-parent from 5.1.1 to 5.1.2 in /libraries/logger
GitOrigin-RevId: 8d94d68409faeefba56001f17016c4d376c4c275
2021-09-03 08:03:06 +00:00
Brian Gough
f1aa7243ce
Merge pull request #4721 from overleaf/dependabot-npm_and_yarn-libraries-logger-path-parse-1.0.7
...
Bump path-parse from 1.0.6 to 1.0.7 in /libraries/logger
GitOrigin-RevId: 4b9a6f08ebbed697ff927a9104bcbbae322c983c
2021-09-03 08:03:02 +00:00
Brian Gough
fdaa0744dd
Merge pull request #4725 from overleaf/dependabot-npm_and_yarn-libraries-logger-lodash-4.17.21
...
Bump lodash from 4.17.19 to 4.17.21 in /libraries/logger
GitOrigin-RevId: abab39757185c894857a4b79cf751360ebd238ef
2021-09-03 08:02:59 +00:00
Brian Gough
d4563c8786
Merge pull request #4866 from overleaf/bg-gcs-delete-directory-batch
...
make object-persistor delete gcs files in batches
GitOrigin-RevId: 8ebc892c5f6eb30507ec41d5d3a108e650af5cac
2021-08-27 08:03:25 +00:00
Hugh O'Brien
19bb96bb20
Merge pull request #4854 from overleaf/hb-decaf-log-parsers
...
Decaf log parsers
GitOrigin-RevId: 71c44b8ac86f7fd980b0547a4c5d49651a31d977
2021-08-25 08:04:06 +00:00
Jakob Ackermann
5679ba894b
Merge pull request #4800 from overleaf/jpa-object-persistor-fix-404-handling
...
[object-persistor] handle 404s of the entire delete operation in gcs
GitOrigin-RevId: 41c5e70af069361a21adb53a6166081741666887
2021-08-19 08:02:43 +00:00
Jakob Ackermann
1bf89f7dd1
Merge pull request #4766 from overleaf/dependabot-npm_and_yarn-libraries-access-token-encryptor-lodash-4.17.21
...
Bump lodash from 4.17.15 to 4.17.21 in /libraries/access-token-encryptor
GitOrigin-RevId: 8c97a49c660629d5ec8335c145240cc2418fc218
2021-08-17 08:03:20 +00:00
Jakob Ackermann
0ecd6f34ff
Merge pull request #4742 from overleaf/jpa-modernize-access-token-encryptor
...
[misc] modernize access token encryptor
GitOrigin-RevId: 178fe2ee2f97f2b3816e480b6283fdb127eb72d6
2021-08-17 08:03:17 +00:00
Jakob Ackermann
3ace29999b
Merge pull request #4703 from overleaf/jpa-import-latex-log-parser
...
[misc] import latex log parser
GitOrigin-RevId: 2f02af8a58c130f97de51b952456b7a9615d4ed6
2021-08-13 12:58:28 +00:00
Jakob Ackermann
6a0388ff9b
Merge pull request #4689 from overleaf/jpa-libraries-ci
...
[misc] setup cloud build trigger for libraries
GitOrigin-RevId: a66dd3e96cb1c06d4803a2162278959357694048
2021-08-13 12:56:39 +00:00
Eric Mc Sween
94117ea836
Merge pull request #4644 from overleaf/em-gitignore
...
Add node_modules to libraries/settings gitignore
GitOrigin-RevId: a6e5bc50ecb6dece03319e16c6c7c3d2318a7d74
2021-08-05 13:48:20 +00:00
Jakob Ackermann
dea32cc656
merge multiple repositories into an existing monorepo
...
- merged using: 'monorepo_add.sh libraries-settings:libraries/settings'
- see https://github.com/shopsys/monorepo-tools
2021-08-05 08:34:51 +01:00
Jakob Ackermann
e7fc1ffeb8
merge multiple repositories into an existing monorepo
...
- merged using: 'monorepo_add.sh libraries-redis-wrapper:libraries/redis-wrapper'
- see https://github.com/shopsys/monorepo-tools
2021-08-05 08:34:48 +01:00
Jakob Ackermann
30b7bceb60
merge multiple repositories into an existing monorepo
...
- merged using: 'monorepo_add.sh libraries-object-persistor:libraries/object-persistor'
- see https://github.com/shopsys/monorepo-tools
2021-08-05 08:34:44 +01:00
Jakob Ackermann
e2f74274c0
merge multiple repositories into an existing monorepo
...
- merged using: 'monorepo_add.sh libraries-o-error:libraries/o-error'
- see https://github.com/shopsys/monorepo-tools
2021-08-05 08:34:41 +01:00
Jakob Ackermann
02010d9f6e
merge multiple repositories into an existing monorepo
...
- merged using: 'monorepo_add.sh libraries-metrics:libraries/metrics'
- see https://github.com/shopsys/monorepo-tools
2021-08-05 08:34:37 +01:00
Jakob Ackermann
c72c6f5747
merge multiple repositories into an existing monorepo
...
- merged using: 'monorepo_add.sh libraries-logger:libraries/logger'
- see https://github.com/shopsys/monorepo-tools
2021-08-05 08:34:31 +01:00
Jakob Ackermann
cd9877d7d7
[misc] prepare for monorepo
...
- add git ignore entries
- create package-lock.json
2021-07-29 10:52:53 +01:00
dependabot[bot]
1be89b071b
Bump y18n from 4.0.0 to 4.0.3
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3 )
---
updated-dependencies:
- dependency-name: y18n
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-28 08:38:11 +00:00
Jakob Ackermann
a383dc316c
[misc] run format:fix
2021-07-27 16:53:06 +01:00
Jakob Ackermann
d2589823b0
[misc] prepare for monorepo
...
- add git ignore entries
- sync/create package-lock.json
- delete .nvmrc
2021-07-27 16:52:55 +01:00
Jakob Ackermann
1f3587114f
[misc] prepare for monorepo
...
- add git ignore entries
- sync/create package-lock.json
- delete .nvmrc
2021-07-27 16:41:40 +01:00
Jakob Ackermann
688a1092ce
[misc] prepare for monorepo
...
- add git ignore entries
- sync/create package-lock.json
- delete .nvmrc
2021-07-27 16:41:13 +01:00
Jakob Ackermann
eaebef2298
[misc] prepare for monorepo
...
- add git ignore entries
- sync/create package-lock.json
- delete .nvmrc
2021-07-27 16:35:41 +01:00
Jakob Ackermann
25205ab967
[misc] prepare for monorepo
...
- add git ignore entries
- sync/create package-lock.json
- delete .nvmrc
2021-07-27 16:35:23 +01:00
Jakob Ackermann
23efa1d977
[misc] prepare for monorepo
...
- add git ignore entries
- sync/create package-lock.json
- delete .nvmrc
2021-07-27 16:33:33 +01:00
Jakob Ackermann
acc65b2518
[misc] fix path to app config/ dir following the renaming of the package
...
The Settings.js file is now located in node_modules/@overleaf/settings,
which is one level deeper than node_modules/settings-sharelatex.
2021-07-06 15:19:30 +01:00
Jakob Ackermann
03f6e8af64
[misc] expose merge function in a separate module
2021-07-06 13:52:59 +01:00
Alf Eaton
955c9162c0
Rename to @overleaf/settings
2021-05-28 09:15:24 +01:00
Alf Eaton
9c0dbbc5c8
Remove CoffeeScript
2021-05-26 15:06:24 +01:00
decaffeinate
93f618a980
decaffeinate: Run post-processing cleanups on Settings.coffee
2021-05-26 14:24:24 +01:00
decaffeinate
2787cd6152
decaffeinate: Convert Settings.coffee to JS
2021-05-26 14:24:24 +01:00
decaffeinate
551eef00fb
decaffeinate: Rename Settings.coffee from .coffee to .js
2021-05-26 14:24:23 +01:00
dependabot[bot]
3d38d900c3
Bump hosted-git-info from 2.8.8 to 2.8.9
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 10:27:11 +01:00
dependabot[bot]
67f8d430aa
Bump lodash from 4.17.19 to 4.17.21 ( #21 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 12:21:40 +01:00
dependabot[bot]
e1b06cbfa3
Bump handlebars from 4.7.6 to 4.7.7 ( #20 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 12:21:28 +01:00
dependabot[bot]
cee9c8cc36
Bump y18n from 4.0.0 to 4.0.3
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 09:22:54 +00:00
Brian Gough
2b088dc870
increase package version number
2021-04-29 10:21:33 +01:00
Brian Gough
46da33a67e
fix unit tests
2021-04-29 09:27:25 +01:00
Brian Gough
bf26b7d596
upgrade ioredis and dev dependencies
2021-04-29 09:20:58 +01:00
Alf Eaton
c7511970b0
v1.3.0
2021-04-28 09:33:59 +01:00
Alf Eaton
be098ee993
Update Settings.coffee
...
Co-authored-by: nate stemen <nate.stemen@overleaf.com>
2021-04-26 09:09:00 +01:00
Alf Eaton
cf1a5bf0f7
Add deprecation warning for .coffee settings files
2021-04-20 09:35:56 +01:00
dependabot[bot]
9203e26d99
Bump y18n from 4.0.0 to 4.0.1
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-02 04:45:14 +01:00
Christopher Hoskin
acef9e7d8d
Add basic README
2021-03-16 12:03:53 +00:00
Alf Eaton
c4be8bca60
1.2.0
2021-03-16 09:20:34 +00:00
Alf Eaton
c16fb06ecd
Log the settings files that are used
2021-03-11 11:07:32 +00:00
Jakob Ackermann
e1650616b8
[misc] version bump to 3.5.1
2021-02-16 14:21:36 +00:00
John Lees-Miller
354fd3c3a6
Bump version to 3.3.1
2021-01-26 12:10:25 +00:00
Alasdair Smith
5f1297548f
Install core-js to fix issue with compiled module ( #18 )
...
Since Babel is configured to inject core-js built-ins where needed, we
must also install the core-js package.
2021-01-26 12:06:28 +00:00
John Lees-Miller
3a392fd8c1
Bump version to 3.3.0
2021-01-25 19:45:24 +00:00
Alasdair Smith
1e1d493556
Add corejs config to allow polyfilling of Symbol for IE11 ( #17 )
2021-01-22 12:12:07 +00:00
Alasdair Smith
f1ed04cc58
Transpile with Babel to ES5 ( #16 )
2021-01-22 10:29:31 +00:00
Jakob Ackermann
20223d865f
[misc] do not register a noop sweeping interval
2021-01-12 14:20:51 +00:00
Jakob Ackermann
29742d6a87
[misc] register the metrics sweeping interval handle for later cleanup
2021-01-12 14:20:31 +00:00
Eric Mc Sween
3581d0ce87
3.5.0
2021-01-11 08:03:49 -05:00
Eric Mc Sween
8dcbd5aec0
Add support for the swagger-tools router
...
The swagger-tools router puts the request path in the
req.swagger.apiPath property.
2021-01-08 14:53:29 -05:00
Eric Mc Sween
7274217d79
Decaf cleanup
2021-01-08 14:48:13 -05:00
Jakob Ackermann
96b585544a
[misc] version bump to 3.2.0
...
- [OError] getFullInfo returns the error context of nested causes (#14 )
2020-12-02 12:32:41 +00:00
Jakob Ackermann
a5e5d9b1cd
[OError] getFullInfo returns the error context of nested causes ( #14 )
...
* [OError] add getFullInfoIncludeCause for retrieving nested cause info
* Revert "[OError] add getFullInfoIncludeCause for retrieving nested cause info"
This reverts commit 4c7517255a0f37ba94223e559a3926f19bab618d
* [OError] getFullInfo returns the error context of nested causes
* [OError] getFullInfo flip sequence of merging, add test case for it
2020-12-02 11:44:17 +00:00
Jakob Ackermann
8e76e79a83
[misc] version bump to 3.4.1
2020-11-25 11:25:27 +00:00
Jakob Ackermann
6452959482
[misc] do not access potentially undefined opts
2020-11-11 11:35:33 +00:00
Jakob Ackermann
e34f17a352
[misc] creating a redis client with redis-sentinel opts throws an error
2020-11-11 11:31:44 +00:00
Jakob Ackermann
bcd5abadce
[misc] version bump to 2.0.0
2020-11-10 10:46:42 +00:00
Jakob Ackermann
41aa5ec876
[misc] rename package to @overleaf/redis-wrapper
2020-11-10 10:46:41 +00:00
Jakob Ackermann
d7eb8c7ecf
[misc] refresh package.json
...
- trim down the files for publishing
- drop sentinel from description
- Overleaf is the new author
- add repository reference
2020-11-10 10:46:41 +00:00
Jakob Ackermann
aabe2d18b9
[misc] rewrite: squash history
...
- promisify
- merge health check for single node and cluster
- replace the first multi with simple SET in health check
- reworked health check with o-error context/stack-traces for failures
- drop console.error on health check timeout, consumer logs the error
- cleanup unwrapping of ioredis multi result
- Promise support for multi.exec
This has been squashed from das7pad s fork.
REF: b3dd8c5cf4cc6482fd450e6bb67013508844f93f
2020-11-10 10:34:06 +00:00
Jakob Ackermann
ccf4bb1e0e
[misc] test/scripts: use logger-sharelatex for logging as in production
2020-11-10 10:15:03 +00:00
Jakob Ackermann
d827b521c6
[misc] test/unit: loosely match the passed redis options
...
The rewrite will pass a cloned object through.
2020-11-10 10:10:22 +00:00
Jakob Ackermann
4aebc1b0b6
[misc] rewrite: free functions
2020-11-10 10:10:22 +00:00
Jakob Ackermann
da8bef821b
[misc] decaffeinate: decaffeinate module
2020-11-10 10:10:21 +00:00
Jakob Ackermann
c973c5b188
[misc] decaffeinate: rename 2/2
2020-11-10 10:10:21 +00:00
Jakob Ackermann
45bf2abb14
[misc] decaffeinate: rename 1/2
2020-11-10 10:10:20 +00:00
Jakob Ackermann
830d6275b3
[misc] add scripts for testing redis cluster
2020-11-10 10:10:06 +00:00
Jakob Ackermann
7b69cc42c9
[misc] decaffeinate tests: decaffeinate unit tests
2020-11-09 17:52:29 +00:00
Jakob Ackermann
7210b3dfed
[misc] decaffeinate tests: decaffeinate standalone script
2020-11-09 17:52:20 +00:00
Jakob Ackermann
0a2171e9f0
[misc] decaffeinate tests: rename
2020-11-09 16:57:08 +00:00
Jakob Ackermann
1a090b7b46
[misc] add editor config, eslint, prettier boiler plate
...
versions taken from o-error (prettier-eslint-cli from real-time)
2020-11-09 16:56:56 +00:00
Jakob Ackermann
7eccce2ed0
[misc] reference module via js/loose file extension
2020-11-09 16:16:11 +00:00
Jakob Ackermann
69df7f5bb3
[misc] move test scripts into test/ tree
2020-11-09 16:11:11 +00:00
Jakob Ackermann
39809562fd
[misc] use plain mocha for testing and bump devDependencies
2020-11-09 16:03:33 +00:00
Jakob Ackermann
dddb431034
[misc] drop unused async
...
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-11-09 16:02:30 +00:00
Jakob Ackermann
a53eef5e3d
[healthCheck] bring back support for redis cluster
...
Assume `cluster-require-full-coverage=yes` is set for the redis cluster,
which is the default value.
We are writing into a single hash slot, resulting in a partial health
check only.
The 'cluster-require-full-coverage=yes' blocks writes as soon as any
hash slot is not covered by an active primary.
We are leveraging the health check build into the redis cluster topology
to bring the scope of the single read/write/delete to the full cluster.
REF: 1b3566d6c830289dc826da1d13b75d68205d8dec
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-11-09 16:02:29 +00:00
Jakob Ackermann
18fa184230
[misc] drop references for 'redis' package from unit tests
2020-11-09 16:02:25 +00:00
Jakob Ackermann
90ad28c51c
[misc] drop support for redis-sentinel
2020-11-09 15:59:28 +00:00
Jakob Ackermann
2d1c84ea2e
[misc] fix collection of open sockets
...
```
> require('http').globalAgent.sockets
{ 'HOST:PORT:': [{ ... }, { ... }] }
```
- `new URL('http://HOST:PORT :')` throws
-> test suite `open_sockets`
- gauges were not cleaned up after no agents were present for a given
key. This lead to continuous emission of the previous connection
count for a given hostname, following the completion of all requests.
-> test suite `when all requests complete`
2020-11-06 15:16:14 +00:00
Eric Mc Sween
142d9a5716
3.4.0
2020-10-30 07:39:47 -04:00
Eric Mc Sween
20b3d5070c
Export a configured prom-client
...
Metrics.initialize() and Metrics.configure() will configure the default
Prometheus registry with default "app" and "host" labels. The configured
prom-client module is available as Metrics.prom.
2020-10-29 09:49:55 -04:00
Christopher Hoskin
725478d95f
Release 3.3.0
2020-10-27 14:02:21 +00:00
Christopher Hoskin
f874291998
Bump google-cloud trace-agent, debug-agent and profiler to latest
2020-10-26 17:40:18 +00:00
Christopher Hoskin
d4a649353f
Commit package-lock.json
2020-10-26 17:33:43 +00:00
Christopher Hoskin
fedc3191b8
Bump node to 10.19
2020-10-26 17:33:24 +00:00
Eric Mc Sween
0fdfa706f7
Make 404 error handling on deletes more specific
...
The GCS persistor error handler ignores 404 errors on deletes. However,
the net is too wide cast, and 404 errors coming from the dual-bucket
lifecycle mechanism are also ignored.
2020-10-15 10:35:52 -04:00
Simon Detheridge
60931b86c3
Don't try to delete files if none are found in a directory
2020-10-13 09:53:19 +01:00
John Lees-Miller
9b739f1c7d
Bump version to 3.1.0
2020-09-25 16:10:12 +01:00
Eric Mc Sween
9089d332ab
Add a "unsignedUrls" option to the GCS persistor
...
This boolean option disables URL signing. Instead, getRedirectUrl()
returns the plain GCS download URL.
2020-09-22 15:59:13 -04:00
Eric Mc Sween
0fdbb2dcc0
Add .npmignore to avoid publishing config files
2020-09-17 10:44:24 -04:00