Simon Detheridge
|
82599bce67
|
Merge pull request #105 from overleaf/jpa-logger-1-9-1
[misc] bump logger-sharelatex to 1.9.1
|
2020-03-26 10:31:33 +00:00 |
|
Simon Detheridge
|
d073fe75ca
|
Use single pipeline when calculating md5
|
2020-03-25 16:59:51 +00:00 |
|
Jakob Ackermann
|
2ce3c8f97e
|
[misc] bump logger-sharelatex to 1.9.1
|
2020-03-23 16:18:07 +01:00 |
|
Simon Detheridge
|
65f19346f0
|
Fix fallback to custom s3 buckets
|
2020-03-19 11:10:31 +00:00 |
|
Simon Detheridge
|
cb4bdd99f4
|
Use an ISODate for deleted file names
|
2020-03-18 20:19:12 +00:00 |
|
Simon Detheridge
|
9d32d4ec16
|
Don't modify 'opts' parameter
|
2020-03-16 15:57:37 +00:00 |
|
Simon Detheridge
|
b37c52fc3a
|
Make GCS delete concurrency configurable
|
2020-03-16 15:54:05 +00:00 |
|
Simon Detheridge
|
9b658dda18
|
Copy-on-delete before unlocking
|
2020-03-16 15:53:45 +00:00 |
|
Simon Detheridge
|
06c4c0f74f
|
Fix incorrect key when deleting projects
|
2020-03-16 11:35:01 +00:00 |
|
Simon Detheridge
|
9f74aac1a0
|
Add acceptance tests for directory deletion
|
2020-03-16 11:34:45 +00:00 |
|
Simon Detheridge
|
ce52f8aa60
|
Update FSPersistor deleteDirectory behaviour to match S3 and GCS
|
2020-03-16 11:33:51 +00:00 |
|
Simon Detheridge
|
47e96a4d94
|
Add endpoint to delete a project
Needs acceptance tests
|
2020-03-14 14:56:29 +00:00 |
|
Simon Detheridge
|
fc80aa3954
|
Move directory key validation into FileHandler
|
2020-03-14 14:31:30 +00:00 |
|
Simon Detheridge
|
58db14456a
|
Add timestamp to files in deleted bucket
|
2020-03-14 14:11:17 +00:00 |
|
Simon Detheridge
|
edf1ce1f7e
|
Delete files from a directory in parallel
|
2020-03-14 14:02:58 +00:00 |
|
Simon Detheridge
|
183cb0179a
|
Add support to GCS persistor for unlocking files and copying on delete
|
2020-03-13 16:18:45 +00:00 |
|
Simon Detheridge
|
28c3fe4a56
|
Validate key names when deleting directory with a configurable regex
|
2020-03-10 17:54:09 +00:00 |
|
Simon Detheridge
|
2509b51883
|
Add optional gcs config to override gcs settings (for fake gcs server)
|
2020-03-05 17:23:47 +00:00 |
|
Simon Detheridge
|
eb93ae4b10
|
Use Bucket.deleteFiles to delete directory contents, instead of iterating
|
2020-03-05 14:12:15 +00:00 |
|
Simon Detheridge
|
460dd96b17
|
Cosmetic clean-up of GCS Persistor & tests
|
2020-03-05 13:45:46 +00:00 |
|
Simon Detheridge
|
3bb956b38e
|
Use http for the fake GCS server
|
2020-03-04 17:01:20 +00:00 |
|
Simon Detheridge
|
30114cd79b
|
Remove unnecessary try/catch around 'createReadStream'
|
2020-03-04 16:38:05 +00:00 |
|
Simon Detheridge
|
a7198764cb
|
Improve/add some comments for clarity
|
2020-03-04 16:25:11 +00:00 |
|
Simon Detheridge
|
def383574e
|
Simplify getMeteredStream to record metric directly
|
2020-03-04 16:17:36 +00:00 |
|
Simon Detheridge
|
76243fd75a
|
'bucket' -> 'bucketName' in GCS Persistor
|
2020-03-04 16:04:26 +00:00 |
|
Simon Detheridge
|
6979b8638a
|
Add 'Buffer' global for GCS unit tests
|
2020-03-04 15:42:16 +00:00 |
|
Simon Detheridge
|
12274e1427
|
Add unit tests for GCS Persistor
|
2020-03-04 15:38:18 +00:00 |
|
Simon Detheridge
|
e58284aefe
|
Move base64/hex methods to PersistorHelper
Also add some null-safety checks
|
2020-03-04 15:38:18 +00:00 |
|
Simon Detheridge
|
d9c9d74994
|
Remove unnecessary test for S3 file deletion
S3 does not throw a not-found error when deleting a file that does not exist
|
2020-03-04 15:38:18 +00:00 |
|
Simon Detheridge
|
e2f3dd23c9
|
Switch back to official fake-gcs-server image
|
2020-03-04 15:38:18 +00:00 |
|
Simon Detheridge
|
9dddf25209
|
Add note on gcs config to config file
|
2020-03-04 15:38:18 +00:00 |
|
Simon Detheridge
|
2cfab8d313
|
Add GCS-specific acceptance tests
|
2020-03-04 15:38:16 +00:00 |
|
Simon Detheridge
|
366ce97169
|
Add GCS Persistor
|
2020-03-04 15:09:14 +00:00 |
|
Simon Detheridge
|
e6cf0687a9
|
Add gcs client library
|
2020-03-04 15:09:14 +00:00 |
|
Simon Detheridge
|
7292d93dab
|
Add fake GCS server, and fix health checks
|
2020-03-04 15:08:19 +00:00 |
|
Simon Detheridge
|
d06b74b0f8
|
Bump metrics to 2.5.0
|
2020-03-04 10:55:01 +00:00 |
|
Simon Detheridge
|
9807568de8
|
Add missing 'process' global for settings tests
|
2020-03-04 10:08:31 +00:00 |
|
Simon Detheridge
|
a3782422b7
|
Upgrade to node 12
|
2020-03-04 10:06:18 +00:00 |
|
Simon Detheridge
|
8905d393f7
|
Merge pull request #95 from overleaf/jpa-test-cleanup
[misc] test cleanup
|
2020-03-04 10:01:39 +00:00 |
|
Simon Detheridge
|
b5e4345855
|
Merge pull request #96 from overleaf/jpa-dependencies-cleanup
[misc] dependencies cleanup
|
2020-03-04 10:00:56 +00:00 |
|
Simon Detheridge
|
467af9885a
|
Merge pull request #97 from overleaf/jpa-3rd-party-s3-via-env
[config] add support for third party s3 which uses path-style buckets
|
2020-03-04 09:59:48 +00:00 |
|
Simon Detheridge
|
62b2aa8f02
|
Merge pull request #98 from overleaf/jpa-promisify-filehandler
[misc] promisify FileHandler and remove dependency on async
|
2020-03-04 09:59:15 +00:00 |
|
Jakob Ackermann
|
2b15729658
|
[misc] promisify FileHandler and remove dependency on async
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
|
2020-03-02 18:23:17 +01:00 |
|
Jakob Ackermann
|
ada6ac0764
|
[misc] revert eslint rules
|
2020-03-02 18:12:55 +01:00 |
|
Jakob Ackermann
|
1276fb426a
|
[misc] bump buildscript version to 1.3.6
|
2020-03-02 17:50:45 +01:00 |
|
Simon Detheridge
|
0312b00150
|
Fix prettier task
|
2020-03-02 16:31:35 +00:00 |
|
Jakob Ackermann
|
4b7c6fafd2
|
[misc] drop unused dependency pngcrush
|
2020-03-02 17:11:56 +01:00 |
|
Jakob Ackermann
|
3c61e53918
|
[misc] move mocha to the devDependencies
|
2020-03-02 17:11:39 +01:00 |
|
Jakob Ackermann
|
6f27f7a1bf
|
[misc] drop the /heapdump route and related heapdump package
|
2020-03-02 17:09:35 +01:00 |
|
Jakob Ackermann
|
32557ab1d7
|
[SafeExec] replace _.once with lodash.once
|
2020-03-02 17:08:42 +01:00 |
|