Alf Eaton
5ec52e2e5b
Avoid calling destroy on the PDF.js loading task ( #21277 )
...
GitOrigin-RevId: b315e78ff739d301583f2139109f3244abceade8
2024-10-25 08:05:05 +00:00
Alf Eaton
620f31d6a6
Restore singleton pdfCachingTransportFactory ( #21194 )
...
GitOrigin-RevId: 3c1d71ba4fdd07f0774534fbe3a99b2d47dfa962
2024-10-18 08:05:39 +00:00
Alf Eaton
53d6b4dfd0
Set workerPublicPath
in webpack config ( #20629 )
...
GitOrigin-RevId: 3fba33a6b52bf2a91f3126efc9d76f6f1dfbc1c4
2024-10-14 11:06:45 +00:00
Alf Eaton
17e8c70069
Use non-legacy build of PDF.js
...
GitOrigin-RevId: 473dc8657bac01fc4fc7b94565b10ff939e7fcdd
2024-10-14 11:01:04 +00:00
Alf Eaton
df6147bb4d
Convert PDF.js code to TypeScript
...
GitOrigin-RevId: 840bc48816d78497131b927522b4f6f7940bb0c4
2024-10-14 11:00:45 +00:00
Alf Eaton
5e7f4feeb8
Remove pdfjs-dist split test
...
GitOrigin-RevId: 39c8a54921c2b541a5bbe3670e1baa6fd9d5f745
2024-10-14 11:00:36 +00:00
andrew rumble
3fa35ef03a
Share ignore logic between web and clsi
...
GitOrigin-RevId: c4ae306413efb71989d2db410c3859cb69b3d5de
2024-09-24 08:05:01 +00:00
Mathias Jakobsen
a807a810e6
Merge pull request #20297 from overleaf/mj-stream-bib-log
...
[web] Stream .blg files before parsing
GitOrigin-RevId: 2e7a16a19e62fc32bbcb7fe35bed745b938e6963
2024-09-18 08:04:51 +00:00
Alf Eaton
607b3e3494
feat: making highlighting of errors more specific ( #19963 )
...
GitOrigin-RevId: 63bc147e18e80c1e070722bc70114f8fca8509ae
2024-09-04 08:04:48 +00:00
David
de3661f7c3
Merge pull request #20035 from overleaf/dp-pdf-fit-height
...
Update zoom on window resize when pdf zoom is set to page-height
GitOrigin-RevId: 19b963ffbd9da95c0c97642c7cd2195578c295d3
2024-08-21 08:05:20 +00:00
Alf Eaton
a71e61791c
Merge pull request #19830 from overleaf/ae-iterator-polyfill
...
Always use ReadableStream asyncIterator polyfill
GitOrigin-RevId: 660a7316a549fe4ce4fc6bd1ef1a7d7e58759f14
2024-08-08 08:04:26 +00:00
Alf Eaton
5067c0b22d
Merge pull request #19712 from overleaf/ae-fetch-first-log-part
...
Stream and truncate large log files
GitOrigin-RevId: 9d9058d1cc0b3c7a56b25ff34f7a41bfe3e59772
2024-08-07 08:05:37 +00:00
Alf Eaton
21e458df2a
Improve PDF double-click listener ( #19556 )
...
GitOrigin-RevId: 3d8f316481d8be30ffe1a04a270b978b4720ccbe
2024-07-30 08:05:03 +00:00
Alf Eaton
8abda70bfd
Use correct variable for previous rule counts ( #19218 )
...
GitOrigin-RevId: 5245c49ca5ea5dd6599d9a05c5e61b2bd7caa544
2024-07-03 08:04:31 +00:00
Alf Eaton
9a8b76c24f
Add compile log rule deltas to the compile-log-entries
event ( #19169 )
...
GitOrigin-RevId: 976736ecacbb79ef9c91c4861952a7af8532190e
2024-07-02 08:04:48 +00:00
Alf Eaton
bee698c01d
Updates to the AI error assistant ( #19065 )
...
* Only show the AI error assistant to users with write permission on the project
* Fix line number in searchDocLines
* Abort the request after 60 seconds
* Move comment
* Jump to file + line when suggestion line number is clicked
* Set tool_choice: 'required'
* Fix handling of suggestLineChange
* Tidy up getDocLines
* Avoid showing Suggest Fix button in gutter marker for typesetting warnings
* Log request errors
* Fix prefixed function name
* Update tool description
* Tweak the prompt in an attempt to improve the line number
* Reject if the total message content is too large
* Change the structure of the suggested change
* Reduce line highlight
* Fix change highlighting on deletion
GitOrigin-RevId: afde096e547050b8518195ef51b68983bc3b0be3
2024-06-24 12:05:51 +00:00
Jakob Ackermann
aa480a2663
Merge pull request #18898 from overleaf/jpa-no-window
...
[web] migrate from window attributes to getMeta
GitOrigin-RevId: 3dcf1ab6b01155e5e4abeb3e78d0fa9053e055bc
2024-06-19 08:04:21 +00:00
Alf Eaton
b9a8a7f7ec
Move AI provider usage to the backend ( #18562 )
...
GitOrigin-RevId: 4f66c6576571c4fbb7381d8d0e34f2e468d6f34f
2024-06-18 08:04:09 +00:00
Andrew Rumble
d1a58e6b77
Merge pull request #18538 from overleaf/ar-add-download-all-link-in-web
...
[web] add download all link for output files
GitOrigin-RevId: 3d574d75d53e577cb0f8fd3caa4f757d9e1b7889
2024-06-03 08:04:07 +00:00
Alf Eaton
6569f49a92
Set isEvalSupported to false when loading a PDF document ( #18444 )
...
GitOrigin-RevId: 394d63571d83302b91b5719389adf49155218bc7
2024-05-27 10:21:55 +00:00
Christopher Hoskin
3342d672c2
Merge pull request #18397 from overleaf/em-revert-download-all-link
...
Revert "Merge pull request #18190 from overleaf/ar-add-download-all-l…
GitOrigin-RevId: 681eb2734636d76558e682dc85083bfcaa6b7d2d
2024-05-17 08:05:10 +00:00
Andrew Rumble
105d67bd04
Merge pull request #18190 from overleaf/ar-add-download-all-link
...
[web] Add download all link for output files
GitOrigin-RevId: a275f17b6acf3130250d91462ba01588b93b62f5
2024-05-16 08:05:04 +00:00
Alf Eaton
1f14746111
Remove latex-log-parser split test ( #17999 )
...
GitOrigin-RevId: 5accb0e5fc4c1ecce563f1d6f991de8c8633308b
2024-04-23 08:05:16 +00:00
Antoine Clausse
d35204033f
Merge pull request #17909 from overleaf/ac-tear-down-compile-timeout-tests-2
...
[web] Remove split-tests `compile-backend-class*` and `compile-timeout-20s*` (attempt 2)
GitOrigin-RevId: 5658f2977d3e7089eec5bbe7a33eee81c153e41d
2024-04-16 08:04:08 +00:00
Antoine Clausse
491bc2628d
Merge pull request #17899 from overleaf/revert-17700-ac-tear-down-compile-timeout-tests
...
Revert "[web] Remove split-tests `compile-backend-class*` and `compile-timeout-20s*`"
GitOrigin-RevId: d5070ced06adbd435e782a44b7ef767e395bd6a0
2024-04-15 08:04:37 +00:00
Antoine Clausse
2dd10c7fee
[web] Remove split-tests compile-backend-class*
and compile-timeout-20s*
( #17700 )
...
* Remove split-tests of `compile-timeout-20s` and `compile-timeout-20s-existing-users`
* Remove `NEW_COMPILE_TIMEOUT_ENFORCED_CUTOFF` variables
* Revert timeout override `60` -> `20`
* Update settings.overrides.saas.js: `compileTimeout: 20`
* Remove `compile-backend-class-n2d`
* Remove `force_new_compile_timeout`
* Remove `showNewCompileTimeoutUI`
* Remove `compileTimeChanging`
* Simplify code by removing segmentation object
* Remove `CompileTimeoutChangingSoon`
* Remove `user.features.compileTimeout = '20 (with 10s prompt)'`
* Remove `CompileTimeWarning`
* Remove `TimeoutUpgradePrompt` (old)
* Remove `compile-backend-class`
* Remove unused translations
* Update tests
* Fix: Show `CompileTimeout` even if `!window.ExposedSettings.enableSubscriptions`
* Create script to migrate users to 20s compileTimeout
* migration script: exclude `compileTimeout: 20` from the match
* migration script: use `batchedUpdate`
* Remove `showFasterCompilesFeedbackUI` and `FasterCompilesFeedback`
Helped-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
* Remove `_getCompileBackendClassDetails`, simplify definition of `limits` object
* Remove `Settings.apis.clsi.defaultBackendClass`
* Remove unnecessary second scan of the whole user collection in dry mode
* Override `timeout` to 20 for users having `compileGroup === 'standard' && compileTimeout <= 60`
* Remove second `logCount`: re-run the script in dry-mode if you want to see that count
* Use secondary readPreference when counting users
* Fix script setup and exit 0
* Fix: Remove `user.` from query path!
* Add acceptance test on script migration_compile_timeout_60s_to_20s.js
GitOrigin-RevId: 3cb65130e6d7fbd9c54005f4c213066d0473e9d8
2024-04-15 08:04:24 +00:00
Tim Down
bbb5804c39
Merge pull request #16815 from overleaf/td-uuid-frontend-upgrade
...
Upgrade uuid in web front end
GitOrigin-RevId: 1928848fdf879c270effca12cd390a223007ea79
2024-02-13 09:03:45 +00:00
Alf Eaton
c613f8964b
Add polyfills for global.StructuredClone and Array.prototype.at ( #16461 )
...
GitOrigin-RevId: 28119b7bbda1d5c062f80bce96a8a69be8386559
2024-02-06 09:03:34 +00:00
Alf Eaton
a3ba2284d6
Use prefixed strings for tracked counts of compile errors ( #16870 )
...
GitOrigin-RevId: 4023822a73c204fe1365cdc0fe311b4289a8cbcf
2024-02-06 09:03:25 +00:00
Alf Eaton
11859f1c38
Remove savedAt from compiler ( #16642 )
...
GitOrigin-RevId: 526d26d731da99b40c253a4dc0a774a896641c8e
2024-01-29 09:03:13 +00:00
Alf Eaton
5871978272
Use renderMessage ( #16628 )
...
GitOrigin-RevId: 9f627a31d0f8ffce841f04f5a9bfa09f6abcd0a3
2024-01-24 09:04:08 +00:00
Alf Eaton
3ea151d129
Add event tracking for counts of matched compile log entries ( #16615 )
...
GitOrigin-RevId: 65f0efde77db5130cf8a709bb899d3231c3bdec4
2024-01-24 09:04:05 +00:00
Domagoj Kriskovic
c931d90f34
Wait for "doc:saved" event before compiling ( #16153 )
...
* wait doc:saved before compiling
* Refactor DocumentCompiler class to handle pending operations before compilation
* add timeout for pending op
* Increase PENDING_OP_MAX_WAIT to 10000 milliseconds
* check if currentDoc exists
* check doc id on doc:saved
* Fix conditional statement
* Refactor to add and remove event listeners for doc:saved event
* check if getPendingOp exists
* typeof getPendingOp
* forgot to push updates
* add flush-changes event
* use promise for handling pending operations
* Remove console.logs
* add isAwaitingBufferedOps
* Revert "add isAwaitingBufferedOps"
This reverts commit 56b0bbc13caf6375d1cf50e8f65f599e7263c404.
* move _awaitBufferedOps in try block
* dont check for matching doc id
* add a todo comment
GitOrigin-RevId: 9225e7d1a7a69385dc1a26bf7663f89f59db6a8a
2024-01-16 09:04:05 +00:00
Tim Down
fa0ea24f53
Merge pull request #15804 from overleaf/td-compile-log-links
...
Fix bug with compile log links
GitOrigin-RevId: fc10b6dcd09ba36fb358fbd1a13012205d4f568d
2023-11-22 09:04:26 +00:00
Alf Eaton
d2d2a0ff65
Upgrade PDF.js ( #15157 )
...
GitOrigin-RevId: a0a241da08c06a7e345a710559cb47fb59685e5a
2023-11-15 09:03:09 +00:00
Tim Down
13f246a85e
Merge pull request #15342 from overleaf/td-remove-file-tree-manager-in-react
...
Remove use of FileTreeManager in React code
GitOrigin-RevId: f15bc9b4f84e0f65709b9850ed8cc5d3637efa7f
2023-10-27 08:03:10 +00:00
Jakob Ackermann
d4a271b898
Merge pull request #15062 from overleaf/jpa-worker
...
[web] bring back file extension for worker entrypoints
GitOrigin-RevId: 93c2a59e5bc867460e82f3e7023d9cbfce1f16e1
2023-10-16 08:03:59 +00:00
Jakob Ackermann
9daa8f5d98
Merge pull request #15040 from overleaf/jpa-js-to-jsx
...
[web] rename all the JSX files to .jsx/.tsx
GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00
Jakob Ackermann
1213709578
Merge pull request #14980 from overleaf/jpa-debug-console
...
[web] migrate frontend logging to debugConsole
GitOrigin-RevId: b03ff9030b03fff059738d2270bc4b4912e79f16
2023-09-28 08:04:12 +00:00
Thomas
31cb9e336b
Implement test to reduce compile timeout to 20 seconds ( #14705 )
...
Compile timeout reduction to 20s for treatment users
Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 54f70fe4b1fc631cef966deb0c1d28c904dd3a44
2023-09-19 08:03:52 +00:00
Tim Down
df393a3b9a
Merge pull request #14622 from overleaf/td-em-resize-observer-error
...
Prevent ResizeObserver errors from PDF viewer wrapper
GitOrigin-RevId: 3ea652e0ab4387a21ef2d3adb694129fca3c1909
2023-09-06 08:06:37 +00:00
Jimmy Domagala-Tang
1328b442c8
Merge pull request #14147 from overleaf/jdt-synctex-highlight-alignment
...
fix synctex highlight height
GitOrigin-RevId: 521de65269cf22d3298a154a0a38e8a4c7e88764
2023-08-04 08:04:29 +00:00
Alf Eaton
29f67a3985
Merge pull request #13525 from overleaf/jpa-teardown-compile-domain-test
...
[web] start tear down of split test for new compile domain
GitOrigin-RevId: 405bba924a37f56614b0744f47914306f420a028
2023-07-17 10:43:01 +00:00
Jimmy Domagala-Tang
1f71e339fb
Merge pull request #12802 from overleaf/jdt-parse-all-blg
...
fetch all blg files to report errors
GitOrigin-RevId: eea9b0809e6b2efcf5df20961e94197c583463ef
2023-07-17 10:36:21 +00:00
Jakob Ackermann
a75cda5f2a
Merge pull request #13361 from overleaf/jpa-pdf-download-err
...
[web] add original error to MissingPDFException info
GitOrigin-RevId: 06c040847c67cc148b1b9a0358fa652779f01c39
2023-07-17 10:25:54 +00:00
Alf Eaton
1f7d317db9
Upgrade pdf.js to 3.6.172 ( #13112 )
...
GitOrigin-RevId: 030528343f271a1fc1e07c3bba358873173bec76
2023-05-18 08:04:03 +00:00
Jakob Ackermann
b6877cb4dd
Merge pull request #12994 from overleaf/jpa-pdf-caching-fallback
...
[web] bring back support for proxies without HTTP-Range request support
GitOrigin-RevId: f0a4863ee175c332c9dea7da28987f293a903e63
2023-05-11 08:04:16 +00:00
Alf Eaton
39df55787c
Improve handling of doc:saved events ( #12522 )
...
GitOrigin-RevId: 0ebf198548f6aeecb356405b0c582d3fd64db391
2023-04-17 08:04:26 +00:00
Jakob Ackermann
df3c7e48ab
Merge pull request #12198 from overleaf/jpa-force-new-compile-domain
...
[web] changes for force-new-compile-domain test
GitOrigin-RevId: a4ceaf46fdcebed156d155385cbbc2f06405d31f
2023-03-17 09:04:49 +00:00
Jakob Ackermann
798df873c4
Merge pull request #12200 from overleaf/ii-pdf-view-moves-to-the-left
...
[web] Make pdf view consistent when recompiling
GitOrigin-RevId: 1c76a1c8e0b8b024c7d0d033f92ff900e70909a6
2023-03-17 09:04:25 +00:00