Jakob Ackermann
f0bd6dda23
Merge pull request #7986 from overleaf/jpa-eslint-8
...
[misc] upgrade eslint packages to the latest version everywhere
GitOrigin-RevId: f1480d4a171acef82fb26c4aa54be3a6088b0ab3
2022-05-17 08:05:59 +00:00
Jakob Ackermann
81b935e317
Merge pull request #7977 from overleaf/jpa-use-local-libraries
...
[misc] use local libraries
GitOrigin-RevId: ec16907c0ce4f9a79689c522f37d52502559e7b2
2022-05-17 08:05:52 +00:00
Eric Mc Sween
f0a3eeeb32
Merge pull request #7968 from overleaf/em-remove-logger-log
...
Remove logger.log in favour of logger.info
GitOrigin-RevId: e305ae8adf19ecf144cee123b6837f35d5d45bed
2022-05-17 08:05:39 +00:00
Eric Mc Sween
3235119302
Merge pull request #7228 from overleaf/em-node-16
...
Upgrade to Node 16
GitOrigin-RevId: 3db1ae57ffb02f8a2b9012ffbb3efecfc01d2b04
2022-04-05 12:20:52 +00:00
Jakob Ackermann
ae0c347f27
Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces
...
[misc] npm workspaces
GitOrigin-RevId: 87aa72db6637fb238d7cd35b0a48ac3ed58ab3eb
2022-02-16 11:31:07 +00:00
Jakob Ackermann
2ed696b3e0
Merge pull request #6517 from overleaf/jpa-node-fetch-2-6-7
...
[misc] upgrade node-fetch from 2.6.x to 2.6.7
GitOrigin-RevId: 5a43e82e23d78fd6e68a38655dab4665a401a9db
2022-02-01 09:03:24 +00:00
Jakob Ackermann
8789296f5a
Merge pull request #6481 from overleaf/jpa-node-14-18-3
...
[misc] upgrade node version from 14.18.1 to 14.18.3
GitOrigin-RevId: 976542fcc0271e323695c59a987dcf1614ee633e
2022-01-28 09:03:53 +00:00
Jakob Ackermann
409d8cd1a8
Merge pull request #6470 from overleaf/jpa-o-error-3-4
...
[misc] upgrade o-error to v3.4.0 in all the places
GitOrigin-RevId: 7b7ce1211cbe5e41754ca2ae112d237befdcf40e
2022-01-28 09:03:45 +00:00
Eric Mc Sween
f3f0be5c56
Merge pull request #6211 from overleaf/em-code-sharing
...
Change directory layout in service containers
GitOrigin-RevId: 09ff19db2a123cbf7691d51e9ce9be6eee264287
2022-01-07 09:03:22 +00:00
Jakob Ackermann
729cbf3fce
Merge pull request #6224 from overleaf/jpa-cache-install-deps
...
[misc] add docker image caching for install_deps, pre-fetch node image
GitOrigin-RevId: b52e52351c62b780538e0668b99fc1c28723addc
2022-01-06 09:03:07 +00:00
Jakob Ackermann
4b308553be
Merge pull request #6120 from overleaf/jpa-same-linting-packages
...
[misc] move the linting setup to the root of the monorepo
GitOrigin-RevId: 1633e2a58598add0b727738cd3bfba0ab7bae781
2021-12-17 09:03:06 +00:00
Jakob Ackermann
2261e761f4
Merge pull request #5705 from overleaf/jpa-node-14
...
[misc] upgrade node version from 12 to 14
GitOrigin-RevId: 15c465c7bb5e42b0c71e2dedb09cf4fe9f1d8ec6
2021-11-19 09:02:56 +00:00
Jakob Ackermann
8945373715
Merge pull request #5724 from overleaf/jpa-lean-docker-build
...
[build_scripts] library: add a dockerignore file
GitOrigin-RevId: 229029f74024a9ca77c11fac53740d2d6ebd02ca
2021-11-09 09:04:02 +00:00
Brian Gough
81af3e53e8
Merge pull request #5607 from overleaf/bg-increase-redis-wrapper-version-for-pr5246
...
[redis-wrapper] publish redis-wrapper v2.1.0
GitOrigin-RevId: fe6c6f73b35c0a09f6bdb94d5bf32b3f2f9d968b
2021-10-29 08:04:28 +00:00
Brian Gough
d9d65ac31c
Merge pull request #5246 from overleaf/bg-upgrade-logger-in-all-libraries
...
upgrade logger in libraries
GitOrigin-RevId: 5968f5abc5f77061cd90b5ebbccf86349619c4a7
2021-10-29 08:03:14 +00:00
Jakob Ackermann
4b996c53d3
Merge pull request #5574 from overleaf/jpa-bulk-lint-format
...
[misc] set up bulk lint/format in dev-env
GitOrigin-RevId: 6f7939c4c732bca72c9b658491e2c4c851c82b44
2021-10-28 08:03:47 +00:00
Brian Gough
43c381e4d5
Merge pull request #5552 from overleaf/bg-node-upgrade-other
...
upgrade node to v12.22.7 (other services)
GitOrigin-RevId: 889cf9a77173119fec8f200eeef9ddeefca0720b
2021-10-26 08:03:13 +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
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
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
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
Brian Gough
cd6e36d7dc
upgrade ioredis to 4.17.3
2020-06-01 09:11:57 +01:00
Henry Oswald
264e549fc5
bump io redis to 4.16.1
2020-03-31 09:40:44 +01:00
Brian Gough
c8d50d0ee9
upgrade ioredis to v4.14.1
2019-10-01 16:44:04 +01:00