Jakob Ackermann
63520c7076
Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup
...
[misc] ShareLaTeX cleanup - high impact
GitOrigin-RevId: 6dcce9b0f15e30f7afcf6d69c3df36a369f38120
2024-02-09 09:04:11 +00:00
Mathias Jakobsen
ad0a8be0af
Merge pull request #16807 from overleaf/mj-tracked-changes-history
...
[overleaf-editor-core] Add TrackedChangeList to StringFileData
GitOrigin-RevId: b2abce4860c5be6189beafca575de04e880b08f5
2024-02-06 09:03:54 +00:00
Mathias Jakobsen
09ff9526b8
Merge pull request #16872 from overleaf/mj-exclusive-ranges
...
[overleaf-editor-core] Make ranges exclusive
GitOrigin-RevId: 5b821d5bc1da8a6647305c268abc6185a7fa1f80
2024-02-06 09:03:51 +00:00
Mathias Jakobsen
63ff16843c
[overleaf-editor-core] Introduce ScanOp and subclasses ( #16695 )
...
* [overleaf-editor-core] Introduce ScanOp and subclasses
* [overleaf-editor-core] Remove unused methods
* [overleaf-editor-core] Add tests for ScanOps
* [overleaf-editor-core] Simplify merge
* [overleaf-editor-core] Make ApplyContexts mutable
* [overleaf-editor-core] Remove unnecessary containsNonBmpChars check
* [overleaf-editor-core] Revert to using reduce
* [overleaf-editor-core] Modify inputCursor after using it
* [overleaf-editor-core] Rename DeleteOp to RemoveOp
* [overleaf-editor-core] Remove useless constructor
* [overleaf-editor-core] Mutate in mergeWith
* [overleaf-editor-core] Add check for out-of-bounds retain
* [overleaf-editor-core] Move error import
GitOrigin-RevId: d07bd58177579638551257d56f087e8967e5b52f
2024-02-02 09:03:32 +00:00
Domagoj Kriskovic
b87dad77d9
Added applyInsert/applyDelete methods to comments ( #16572 )
...
* Add CommentList to StringFileData
* added more types
* use toRaw
* using Map rather than array for comments
* using Range class
* Comment with ranges:Range[]
* Revert "Comment with ranges:Range[]"
This reverts commit 0783b1837562600637db03cc70c620129061c797.
* Comment with ranges:Range[]
* remove isDeleted
* commentList.toRaw()
* using toRaw
* commentId to id
* Revert "using toRaw"
This reverts commit 0c04ca5836f3befd5ec027bad5bf722e8b27f36c.
* fix merge
* make comment map internal to CommentList
* remove unused type
* fix parameter name in StringFileData
* import types more consistently
* more consistent type def
* Added moveOnInsert/moveOnDelete methods to comments
* use range helper methods
* mergeRanges function
* rename isAfter to startsAfter
* added @ts-checks
* using comment.isEmpty
* rename overlaps to covers
* remove ops in applyDelete
* mege, substract, isInRange
* ranges fixes, added tests
* rename to includes
* using pos,length in applyInsert
* simplify
* extendComment option
* check comment edges
* added inclusive option
* more specific touches()
* refactor mergeRanges()
* comment.addRange()
* remove inclusive option
* refactor using more helper methods
* fix typo
* inserting a comment between ranges tests
* test description fixes
* support only range
* more edge case testing
* added more range tests
* renamed to containsExcludingEdges
* endsAt check edge
* using firstIndex, lastIndex
* contains, containsIndex
* raturn -1 for lastIndex for empty ranges
* rename ranges in tests
* indexStartsAfter
* sort comment ranges
* rename to indexIsAfter, fix Range type
* add range if expandComment is true
* split the range when expandComment is false
* added moveBy and extendBy
* added more tests
* added comments
* prettier
* small fixes/typos
* rename indexIsAfter
* merge when deleting with overlaps
* added overlap test
* same range touches test
* test with overlapping comments
* delete duplicate test
* throw on empty range
GitOrigin-RevId: 1252e3d01f2f5dc1d00ce681c579506038e4d121
2024-02-02 09:03:28 +00:00
Eric Mc Sween
8136036c33
Merge pull request #16644 from overleaf/em-promisify-update-manager
...
Promisify UpdateManager
GitOrigin-RevId: 2c3e21ee6ef2454f79695ca8623c3d38720ff6bf
2024-01-30 16:49:23 +00:00
Jakob Ackermann
a3dc24a46e
Merge pull request #16752 from overleaf/jpa-format-fix
...
[terraform] cloud-build: add missing triggers for libraries
GitOrigin-RevId: 3047b85550f9c2e51460509b9c1df7c414b901eb
2024-01-29 09:04:05 +00:00
Eric Mc Sween
5c517a56c3
Merge pull request #16661 from overleaf/em-fix-tsconfig
...
Small backend Typescript config fixes
GitOrigin-RevId: d600c1f3fa9ef88e9a06aaa5743d454a620c122d
2024-01-24 09:05:09 +00:00
Mathias Jakobsen
05bec77b74
Merge pull request #16660 from overleaf/mj-edit-operation-fix
...
[overleaf-editor-core] Fix typo in text operation tests
GitOrigin-RevId: a7ee6ce55cd0c6b4304990de2e6fa76f5406e663
2024-01-24 09:04:37 +00:00
Mathias Jakobsen
43b2fe4a3a
[overleaf-editor-core] Restructure TextOperation hierachy ( #16582 )
...
* [overleaf-editor-core] Restructure TextOperation hierachy
Restructures the hierachy of TextOperations to include a superclass
EditOperation. This superclass will later on contain other classes used
for tracked changes and comments.
* [overleaf-editor-core] Update json format of LazyStringFileData
* [history-v1+project-history] Fix TextOperation.fromJSON calls
* [overleaf-editor-core] Change EditOperationBuilder.fromRaw to fromJSON
* [overleaf-editor-core] Update apply and invert functions to accept FileData
* [overleaf-editor-core] Pass missing argument to store method
* [overleaf-editor-core] Remove unused method
* [overleaf-editor-core] User EditOperationTransformer
* [overleaf-editor-core] Clean up JSDoc comments
* [overleaf-editor-core] Add tests for EditOperation
* [overleaf-editor-core] Update JSDoc types
GitOrigin-RevId: 9c22a3a89b8483bdb87b43f329ddbdd887ffed42
2024-01-24 09:04:18 +00:00
Domagoj Kriskovic
fc90db231c
Add CommentList to StringFileData ( #16568 )
...
* Add CommentList to StringFileData
* added more types
* use toRaw
* using Map rather than array for comments
* using Range class
* Comment with ranges:Range[]
* Revert "Comment with ranges:Range[]"
This reverts commit 0783b1837562600637db03cc70c620129061c797.
* Comment with ranges:Range[]
* remove isDeleted
* commentList.toRaw()
* using toRaw
* commentId to id
* Revert "using toRaw"
This reverts commit 0c04ca5836f3befd5ec027bad5bf722e8b27f36c.
* fix merge
* make comment map internal to CommentList
* remove unused type
* fix parameter name in StringFileData
* import types more consistently
* more consistent type def
GitOrigin-RevId: 2be2225819d8e8ebcf90d08def280377205cb9ec
2024-01-24 09:04:15 +00:00
Alf Eaton
571df2b321
Merge pull request #16632 from overleaf/ae-o-error-package
...
Fix o-error package.json
GitOrigin-RevId: 730d25a6c3e265021bb4f766f0bbb63dec544a0f
2024-01-24 09:03:24 +00:00
Jakob Ackermann
8bc44141be
Merge pull request #16590 from overleaf/jpa-redis-lock-60s
...
[server-ce] increase the doc lock TTL from 30s to 60s
GitOrigin-RevId: 468f7483cc6a80e8034e3cc8071b674123985deb
2024-01-19 09:06:06 +00:00
Brian Gough
e01af0e9c6
Merge pull request #16519 from overleaf/bg-clsi-timeouts-add-metrics
...
add metrics for clsi cache operations
GitOrigin-RevId: c5ec221afd235434c8b81bafa2f482f11422ac4e
2024-01-18 09:04:19 +00:00
Eric Mc Sween
b92d1a0251
Merge pull request #16524 from overleaf/em-fix-typescript-backend
...
Fix typescript config in the backend
GitOrigin-RevId: fb292968bc14da6d7c17bee1da00803a74901899
2024-01-17 09:03:42 +00:00
Eric Mc Sween
d227dfba0c
Merge pull request #16393 from overleaf/em-typescript-libraries
...
Add type checking to libraries
GitOrigin-RevId: bed79f5123081773d6ac6e27698246726184c5e6
2024-01-12 09:03:25 +00:00
Mathias Jakobsen
4763cfd59e
Merge pull request #16058 from overleaf/jpa-faster-restart
...
[misc] faster service shutdown in dev-env
GitOrigin-RevId: c5589844aefe3ca097756b188e02354ab518b94d
2023-12-08 09:04:01 +00:00
Jakob Ackermann
7a87bf4288
Merge pull request #15895 from overleaf/jpa-latexqc-fetch-backend
...
[latexqc] migrate backend from axios to fetch
GitOrigin-RevId: 6dc1a9ca0aa96da01229fec96d3c4b34750f4aa2
2023-11-28 09:05:06 +00:00
Jakob Ackermann
3b36bfdba4
Merge pull request #15956 from overleaf/jpa-tweak-test
...
[fetch-utils] tests: fix test for handling of errors in fetchString
GitOrigin-RevId: 8c3b33113ce93fe087258efb68346c8e86b23096
2023-11-28 09:04:40 +00:00
Jakob Ackermann
f061a4add4
Merge pull request #15506 from overleaf/jpa-node-18-18-2
...
[misc] upgrade Node.js from 18.18.0 to 18.18.2
GitOrigin-RevId: 747783fcb9c2a09d79a82268531f612d1ad157be
2023-11-01 09:02:48 +00:00
Alf Eaton
e22c1d70f3
[visual] Disable figure and table editing when read-only ( #15349 )
...
GitOrigin-RevId: ac0f9eef7bf2d88afd05689fa89b11716747b970
2023-10-26 08:03:08 +00:00
Christopher Hoskin
6d86e14b05
Merge pull request #15318 from overleaf/csh-issue-11625-mongoug-5-object-persistor
...
Upgrade mongodb for object-persistor from 3.5.9 to 6.1.0
GitOrigin-RevId: e6b97ae93092a77c46f043979dd9eb5caf234866
2023-10-19 08:03:19 +00:00
Christopher Hoskin
5855ba7b49
Merge pull request #15241 from overleaf/em-gcp-opentelemetry
...
Replace the GCP trace agent with OpenTelemetry
GitOrigin-RevId: 591410029349e4ef5a39a5b79868e57c7bd089b6
2023-10-19 08:02:52 +00:00
Alf Eaton
e5d4f3287f
Remove istanbul ( #15123 )
...
GitOrigin-RevId: 08526efd53a4b0f115727b1215bd46e40ceb2b4e
2023-10-06 08:04:02 +00:00
Alf Eaton
947f3c8921
Remove nyc dependency ( #15072 )
...
GitOrigin-RevId: 11039c125ee4eb22f448e39031b37c65fc6658f3
2023-10-05 08:04:04 +00:00
Alf Eaton
c14359df74
Remove o-error update script ( #15070 )
...
GitOrigin-RevId: dfa0c582453eadc6834056a7c8a0832ddb878b70
2023-10-05 08:03:54 +00:00
Alf Eaton
aafb0d377c
Merge pull request #15073 from overleaf/ae-circleci
...
Remove CircleCI config files
GitOrigin-RevId: 9f47803f45c513aaec97032f15e565aff34ad883
2023-10-04 08:04:06 +00:00
Jakob Ackermann
efb36b7193
Merge pull request #14698 from overleaf/bg-sg-use-node-watch
...
[misc] replace nodemon with "node --watch"
GitOrigin-RevId: 8b34861887b39ffe1c64d9e4679f8ebef09302bd
2023-10-03 08:04:36 +00:00
Alf Eaton
e226dc1442
Remove @google-cloud/debug-agent from metrics ( #14974 )
...
GitOrigin-RevId: 80510ef28a14eaa2f4488844cb79a649009a03d9
2023-10-03 08:04:22 +00:00
Jakob Ackermann
a2cf7b459c
Merge pull request #14902 from overleaf/jpa-node-18-18-0
...
[misc] upgrade Node.js to latest LTS 18.18.0
GitOrigin-RevId: 96c7171065ceb8797c28efa4ab331d86a84868d2
2023-09-25 08:04:25 +00:00
Tim Down
994fcd68e2
Merge pull request #14903 from overleaf/revert-14869-revert-14603-td-upgrade-semver
...
Restore "Upgrade semver"
GitOrigin-RevId: 6eb5fcd3a5489d5f3968e1da2ab11341aba7d63b
2023-09-21 08:03:43 +00:00
Tim Down
d04a1d3767
Merge pull request #14869 from overleaf/revert-14603-td-upgrade-semver
...
Revert "Upgrade semver"
GitOrigin-RevId: 176399bbb91706e12aacba7ec9370093d8b957b5
2023-09-19 08:03:47 +00:00
Tim Down
6be4626fa9
Merge pull request #14603 from overleaf/td-upgrade-semver
...
Upgrade semver
GitOrigin-RevId: e3d950128dadd86928ec432b16610219e16fa40e
2023-09-19 08:03:41 +00:00
Jakob Ackermann
6781f7d0ac
Merge pull request #13781 from overleaf/em-fetch-utils-logger
...
Use fetch-utils in logger library
GitOrigin-RevId: f12067a774856469979475a3be63bebbabcd25a6
2023-09-08 08:04:12 +00:00
ilkin-overleaf
89580eff88
Merge pull request #14518 from overleaf/ii-security-protobufjs
...
Fix protobufjs vulnerabilities
GitOrigin-RevId: 18998ee19990ea49a6f1ab069fb8117f81803197
2023-09-01 08:04:09 +00:00
Jakob Ackermann
ddf6ac272d
Merge pull request #14292 from overleaf/jpa-em-mj-warnings
...
[logger] forward warnings to logger for all the services
GitOrigin-RevId: f9d0b8c7197e3e14e8abf6bba10136ee785410ed
2023-08-25 08:04:40 +00:00
Jakob Ackermann
6b051b260e
Merge pull request #14296 from overleaf/jpa-error-serializer
...
[logger] serialize "error" field with customer error serializer
GitOrigin-RevId: 1cb588e84798c96286aec8f7f054570270a36b72
2023-08-25 08:04:36 +00:00
Eric Mc Sween
808fd2c0f9
Merge pull request #14419 from overleaf/em-history-lib-async-await
...
Move overleaf-editor-core code to async/await
GitOrigin-RevId: 4ab8a58ba2ab402ff60a40e831b9c4a2c4701177
2023-08-23 08:05:38 +00:00
Eric Mc Sween
d54bcc4aa9
Merge pull request #14418 from overleaf/em-history-lib-es6-classes
...
Move overleaf-editor-core code to ES6 classes
GitOrigin-RevId: f9b50579aec0cef9d9e6aefcfcb3e380fae4b6f4
2023-08-23 08:05:34 +00:00
Davinder Singh
3490f6a58e
History UI changes- Extracting compare outside dropdown menu
...
GitOrigin-RevId: 67f51428debefdafe2c9bb746de5da8fc0ac5385
2023-08-18 08:05:23 +00:00
Jakob Ackermann
5e9498c528
Merge pull request #14280 from overleaf/jpa-latest-node-18
...
[misc] upgrade Node.js to latest version of 18, 18.17.1
GitOrigin-RevId: 58328bbd630686877c0db6266593ef186851bcc5
2023-08-15 08:03:33 +00:00
Jakob Ackermann
a797fb2be7
Merge pull request #14138 from overleaf/bg-em-jpa-mj-node-18
...
Upgrade all services to Node 18
GitOrigin-RevId: c53cd1aaab2fe99b51186911bb068f9fe31a9469
2023-08-03 08:03:56 +00:00
Jakob Ackermann
117928f58e
Merge pull request #14107 from overleaf/jpa-fix-format
...
[stream-utils] fix formatting
GitOrigin-RevId: 85de4dfe7a48dec9fe5cb06fc7f7e446366e1510
2023-08-01 08:04:04 +00:00
Christopher Hoskin
1d1a64783e
Merge pull request #14029 from overleaf/bg-csh-kustomize-spelling-2
...
kustomize spelling
GitOrigin-RevId: 5b5203c5de92c3443741cabc081df7afe1063e71
2023-07-26 08:04:39 +00:00
Miguel Serrano
2252bdb836
Merge pull request #13545 from overleaf/msm-fix-build-scripts
...
Fix build scripts and update to 4.3.0
GitOrigin-RevId: 90e57a410bc12e8cdfc7f757445c8352cd5d49eb
2023-07-17 11:08:32 +00:00
Alf Eaton
5382178309
Merge pull request #13223 from overleaf/ae-typescript-upgrade
...
Upgrade TypeScript to v5
GitOrigin-RevId: 55d98c0e8fdeb39c1297b4472f0d604e25af995b
2023-07-17 10:29:14 +00:00
Christopher Hoskin
cc35bf4447
Merge pull request #13362 from overleaf/csh-issue-13004-Always-Retry-during-GCS-delete
...
Always retry during GCS delete in history-v1 cron
GitOrigin-RevId: 1b64133dd0b9982f18124d9baa6e29bcdf6fa1f3
2023-07-17 10:28:33 +00:00
Eric Mc Sween
8a15040f04
Merge pull request #13295 from overleaf/em-socket-leak-detection-pools
...
Record the last request in socket leak detection
GitOrigin-RevId: 376757e608358a7299e7ad7e327ed4fbac960d83
2023-07-17 10:24:02 +00:00
Christopher Hoskin
cbaf1c3556
Merge pull request #13256 from overleaf/csh-issue-13004-max-retries
...
Increase the maximum retries for the delete-old-history-chunks cron job
GitOrigin-RevId: 8054ac76bbae24d0a3ba032c50c9647c044aef27
2023-06-02 08:07:17 +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