Brian Gough
8623b4d0f4
Merge pull request #13060 from overleaf/bg-upgrade-fake-gcs-server
...
upgrade to fake-gcs-server 1.45.2
GitOrigin-RevId: 6ae47211370eedabbf9416498e150f53f1bc8fe4
2023-07-24 08:03:58 +00:00
Eric Mc Sween
12e7471213
Merge pull request #12916 from overleaf/bg-move-stream-buffer-code-to-library
...
move stream-related code to separate `@overleaf/stream-utils` library
GitOrigin-RevId: a79a873109b927b4fc0ae36f47d5c67e0df58041
2023-06-02 08:05:57 +00:00
Eric Mc Sween
49f1312b27
Merge pull request #12205 from overleaf/em-camel-case-docstore
...
Camel case variables in docstore
GitOrigin-RevId: e6c2015cfb63ce125fd32ba8b4f904712b2bb9aa
2023-03-17 09:05:12 +00:00
Eric Mc Sween
de4091f955
Merge pull request #7869 from overleaf/em-docstore-archive-lock
...
Add a lock around doc archiving
GitOrigin-RevId: eaf85dbc3b491edd15eeb2c1a84df3a2883fb61d
2022-05-18 08:04:44 +00:00
Jakob Ackermann
7f9fd00bda
Merge pull request #5367 from overleaf/jpa-node-handle-callback-err
...
[misc] fix eslint violations for node/handle-callback-err
GitOrigin-RevId: 83a4900e8861010df1917bff49382bd9c93375bd
2021-10-28 08:03:26 +00:00
Brian Gough
942feb3011
move process.env.BACKEND to setup.js
2021-08-03 10:00:44 +01:00
Jakob Ackermann
540b52c128
[misc] run format_fix and lint:fix
2021-07-13 12:04:48 +01:00
Jakob Ackermann
2c35adaf48
[misc] switch from settings-sharelatex to @overleaf/settings
2021-07-12 17:47:20 +01:00
Eric Mc Sween
5efae3bee6
Add a global test setup file
...
Configure chai and SandboxedModule globally instead of in every test
file. Also add globals that are required for SandboxedModule to work in
Node 12.
2021-03-16 08:41:46 -04:00
Jakob Ackermann
12bef53645
[DocArchiveManager] optionally do not un-archive soft deleted docs
2021-02-09 11:20:26 +00:00
Jakob Ackermann
9298f486ad
[app] add a new route for archiving a single doc
...
There is a minor opportunity for optimizing the mongo call(s) for
archiving: we should include `{ inS3: false }` in the queries instead
of filtering locally. It's been like that for years now, so it can
stay a little longer.
2021-01-04 13:47:55 +00:00
Jakob Ackermann
8a8a830ad3
[misc] simplify mongodb collection access using a shared db construct
...
Resolve the getCollection Promises once and store the result in a shared
`db` object which can get imported by all the call-sites.
The http server is starting only after a Promise of `waitForDb()`
resolves. This covers the app code and the acceptance tests.
2020-09-17 15:39:44 +01:00
Jakob Ackermann
2fa09928ee
[misc] migrate acceptance tests to the native mongo driver, drop mongojs
2020-08-25 09:41:23 +01:00
Simon Detheridge
e302c1d844
Update acceptance tests for object-persistor and gcs
2020-07-23 19:43:33 +01:00
Tim Alby
c854f1f570
prettier auto-format
2020-05-28 15:20:54 +02:00
Simon Detheridge
785a6cb544
prettier: convert test/acceptance decaffeinated files to Prettier format
2020-02-17 10:49:20 +00:00
Simon Detheridge
7e131e4c71
decaffeinate: rename test/acceptance/coffee to test/acceptance/js
2020-02-17 10:49:18 +00:00