Alf Eaton
b5b2bb3d22
Run format:fix
2021-05-25 15:53:36 +01:00
Alf Eaton
24fd9449f2
Run format:fix
2021-05-25 15:52:19 +01:00
Alf Eaton
358786fccd
Run format:fix
2021-05-25 15:45:42 +01:00
Alf Eaton
f4db3d8f45
Manual tidying
2021-05-25 14:32:03 +01:00
Alf Eaton
de50e59557
Run format:fix
2021-05-25 14:27:45 +01:00
Jakob Ackermann
d56a490121
[misc] AllowedImageNamesTests: add missing done callbacks
2021-05-25 10:24:49 +01:00
dependabot[bot]
4d578bf52d
Bump lodash from 4.17.20 to 4.17.21
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-21 09:35:58 +00:00
Jakob Ackermann
f820d32221
Merge pull request #240 from overleaf/bg-jpa-hash-tracker
...
[ContentCacheManager] track hashes and expire unused ones
2021-05-21 11:35:05 +02:00
Jakob Ackermann
fdcfbcd6ea
Merge pull request #238 from overleaf/jpa-drop-broken-timings
...
[LatexRunner] do not emit empty cpu/sys timings
2021-05-21 11:34:54 +02:00
decaffeinate
03cbad4e9f
decaffeinate: Run post-processing cleanups on expire_docops.coffee and 2 other files
2021-05-19 20:25:07 +01:00
decaffeinate
5ad0b6eea2
decaffeinate: Convert expire_docops.coffee and 2 other files to JS
2021-05-19 20:25:07 +01:00
decaffeinate
e1e0d26b1f
decaffeinate: Rename expire_docops.coffee and 2 other files from .coffee to .js
2021-05-19 20:25:06 +01:00
Alf Eaton
edacebb53c
Remove unused parameter
2021-05-19 20:25:04 +01:00
Alf Eaton
acbf8b5898
Tidy and format
2021-05-19 20:22:02 +01:00
Alf Eaton
6507d668ae
Update references to .coffee files
2021-05-19 18:57:35 +01:00
Alf Eaton
1b1c4aa4a0
Fix formatting
2021-05-19 18:47:51 +01:00
Alf Eaton
f31abe7cb3
Tidy and format
2021-05-19 18:36:27 +01:00
decaffeinate
0b62828041
decaffeinate: Run post-processing cleanups on settings.defaults.coffee
2021-05-19 17:24:23 +01:00
decaffeinate
3acf183240
decaffeinate: Convert settings.defaults.coffee to JS
2021-05-19 17:24:23 +01:00
decaffeinate
8786542ad6
decaffeinate: Rename settings.defaults.coffee from .coffee to .js
2021-05-19 17:24:22 +01:00
decaffeinate
85920b3120
decaffeinate: Run post-processing cleanups on settings.test.coffee
2021-05-19 16:50:46 +01:00
decaffeinate
8c984a77c4
decaffeinate: Convert settings.test.coffee to JS
2021-05-19 16:50:45 +01:00
decaffeinate
5af8f57dd0
decaffeinate: Rename settings.test.coffee from .coffee to .js
2021-05-19 16:50:45 +01:00
Jakob Ackermann
b53a105681
[LatexRunner] do not emit empty cpu/sys timings
2021-05-19 11:17:08 +01:00
Jakob Ackermann
f361cdfaca
[ContentCacheManager] deeply integrate the HashFileTracker
...
- Update the tracker contents as we hash ranges
- Let the tracker be authoritative for already written ranges
This is saving a stat call per newly written range.
2021-05-18 18:15:58 +01:00
Jakob Ackermann
7aeeb5a5a9
[ContentCacheManager] finish tracking of ranges across builds
2021-05-18 18:06:15 +01:00
Jakob Ackermann
011a228727
[misc] install p-limit and nodemon
2021-05-18 17:32:21 +01:00
Brian Gough
d493238eaf
wip expire old hash files
2021-05-18 16:25:24 +01:00
nate stemen
1f10b45ce7
Merge pull request #147 from overleaf/dependabot-npm_and_yarn-lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21
2021-05-18 10:20:48 -04:00
nate stemen
948b4929c7
Merge pull request #146 from overleaf/jpa-explicit-dependencies
...
[misc] add linting for missing explicit dependencies and fix any errors
2021-05-18 10:20:27 -04:00
nate stemen
8c8d37f54b
Merge pull request #148 from overleaf/dependabot-npm_and_yarn-hosted-git-info-2.8.9
...
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-18 10:20:11 -04:00
Jakob Ackermann
31a29403a1
Merge pull request #237 from overleaf/jpa-fix-unit-tests
...
[misc] fix unit tests following the merge of atomic writes
2021-05-18 12:17:56 +02:00
Jakob Ackermann
567d02881d
[misc] fix unit tests following the merge of atomic writes
2021-05-18 11:09:30 +01:00
Jakob Ackermann
23dd93ae50
Merge pull request #236 from overleaf/jpa-skip-duplicate-writes
...
[ContentCacheManager] skip writing of duplicate streams
2021-05-18 11:44:23 +02:00
Jakob Ackermann
e787106eed
Merge pull request #235 from overleaf/jpa-atomic-writes
...
[ContentCacheManager] write streams to disk atomically
2021-05-18 11:44:16 +02:00
Jakob Ackermann
9b8763aed4
Merge pull request #234 from overleaf/jpa-stream-detection-across-chunks
...
[ContentCacheManager] add support for stream detection across chunks
2021-05-18 11:44:09 +02:00
Jakob Ackermann
74e45c60f4
Merge pull request #233 from overleaf/jpa-drop-sync-syscall
...
[perf] drop useless synchronous syscall on hot path for writing docs
2021-05-18 11:44:00 +02:00
Jakob Ackermann
8a3ec2bfda
Merge pull request #232 from overleaf/bg-upgrade-fs-extra
...
upgrade fs-extra
2021-05-18 11:43:50 +02:00
Jakob Ackermann
7cf019ab78
Merge pull request #231 from overleaf/bg-use-fse-copy
...
use fs.copyFile for performance
2021-05-18 11:43:43 +02:00
Jakob Ackermann
b254e4285b
Merge pull request #229 from overleaf/bg-log-expiry-timeout
...
log the expiry timeout value when disk space is low
2021-05-18 11:43:15 +02:00
Jakob Ackermann
59f18b667c
Merge pull request #228 from overleaf/bg-add-content-id-validation
...
add validation for express content routes
2021-05-18 11:43:08 +02:00
Jakob Ackermann
a93c2c3942
Merge pull request #224 from overleaf/bg-add-hash-benchmark-script
...
add hash benchmark script
2021-05-18 11:42:59 +02:00
Jakob Ackermann
bc1ed82c6c
[ContentCacheManager] skip writing of duplicate streams
2021-05-18 10:22:05 +01:00
nate stemen
0592a6be74
Merge pull request #65 from overleaf/dependabot-npm_and_yarn-hosted-git-info-2.8.9
...
build(deps): bump hosted-git-info from 2.8.5 to 2.8.9
2021-05-17 17:07:51 -04:00
nate stemen
ee62d864e5
Merge pull request #64 from overleaf/dependabot-npm_and_yarn-lodash-4.17.21
...
build(deps): bump lodash from 4.17.19 to 4.17.21
2021-05-17 17:07:44 -04:00
nate stemen
fcaaef09b8
Merge pull request #63 from overleaf/dependabot-npm_and_yarn-underscore-1.13.1
...
build(deps): bump underscore from 1.9.2 to 1.13.1
2021-05-17 17:07:37 -04:00
nate stemen
bc99218596
Merge pull request #61 from overleaf/jpa-explicit-dependencies
...
[misc] add linting for missing explicit dependencies and fix any errors
2021-05-17 17:07:30 -04:00
nate stemen
a019a3776d
Merge pull request #60 from overleaf/dependabot-npm_and_yarn-y18n-4.0.1
...
build(deps): bump y18n from 4.0.0 to 4.0.1
2021-05-17 17:07:22 -04:00
Jakob Ackermann
224ae0c254
[ContentCacheManager] add support for stream detection across chunks
...
Retain a small part (6 or 9 bytes) of each chunk in memory for providing
the next iteration with enough context for finding the start/end marker
of a range.
2021-05-17 17:36:05 +01:00
Jakob Ackermann
6b9c8bced6
[ContentCacheManager] write streams to disk atomically
...
Use an intermediate file for writing to disk, then rename to the target.
2021-05-17 14:22:37 +01:00