Alf Eaton
d9d7382e80
Merge pull request #5139 from overleaf/ae-pdfjs-viewer-tabindex
...
Add tabindex to pdfjs-viewer element
GitOrigin-RevId: be7bcba5e3c462b712dcb4deabe3ff8cf3d0233b
2021-09-20 08:03:01 +00:00
Alf Eaton
49b1356976
Merge pull request #5081 from overleaf/ae-webpack-libs-alias
...
Remove webpack alias for vendor/libs
GitOrigin-RevId: ab84b21402236143ad4d5d988b01fbbbcc081532
2021-09-15 08:03:39 +00:00
Jakob Ackermann
86099725ad
Merge pull request #4293 from overleaf/jpa-pdf-js-error-handling
...
[frontend] fix broken PDF preview caused by missing error handling
GitOrigin-RevId: a7bba8d1b351a53fb20eb670d2ae4c6d215d0d85
2021-07-28 02:06:15 +00:00
Timothée Alby
866e2f0aab
Merge pull request #4223 from overleaf/bg-load-server-worker-timeout
...
add timeout on loading of service worker
GitOrigin-RevId: d2153c9abf1dbd6eee3b2fcfd770a21766ebb84e
2021-06-22 02:07:16 +00:00
Jakob Ackermann
e8bb0114f8
Merge pull request #4203 from overleaf/bg-admin-disable-service-worker
...
disable service worker via admin page
GitOrigin-RevId: 96ec9f07b32b831f5271827ab345ad831044f831
2021-06-17 02:09:06 +00:00
Jessica Lawshe
4c6933b5b8
Merge pull request #4162 from overleaf/jpa-service-worker-error-reporting
...
[misc] serviceWorker: add error reporting using postMessage API
GitOrigin-RevId: db021d4f5cd5b7b8a0026b92d412112f60499c0b
2021-06-10 02:05:28 +00:00
Jakob Ackermann
e1516aab2c
Merge pull request #4110 from overleaf/jpa-omit-skewed-render-latency
...
[frontend] PdfJsMetrics: omit render time in case we detect hidden page
GitOrigin-RevId: b1ae3b29dbb9764cf67f2f1b1e2f93c83fe67426
2021-06-02 02:05:46 +00:00
Jakob Ackermann
fa914af56c
Merge pull request #4083 from overleaf/bg-avoid-multiple-pdf-renders-on-loading
...
ignore pdf rendering before loading has completed
GitOrigin-RevId: 3ad435507045decf49c3678abe3bfadd07d0cbca
2021-05-22 02:05:59 +00:00
Jakob Ackermann
dfabc3a93b
Merge pull request #4072 from overleaf/jpa-pdfjs-metrics
...
[frontend] PdfController: observe PDF.js fetch/render performance
GitOrigin-RevId: bdd81ba06dabaa944b64266d0c36700d16790a30
2021-05-22 02:05:38 +00:00
Jakob Ackermann
7db7cd4a49
[misc] merge pdf caching into main ( #4033 )
...
* [frontend] WIP: pdf caching using service worker -- squashed
Ref: 920fbaa00b31530f7c457a2d93bad5e553798057
Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
Co-Authored-By: Eric Mc Sween <eric.mcsween@overleaf.com>
* [misc] add contentId into the URL for protecting PDF stream contents
* [misc] gracefully handle missing ranges in serviceWorker
* [misc] support PDF stream caching for anonymous users
* [misc] polish header names and add URL to error message when fetch fails
* [misc] polish event handler registration
* [misc] limit serviceWorker scope to /project/ -- trailing slash
This will block the service worker from intercepting requests on the
project dashboard.
* [misc] add per-request feature flag for enabling PDF stream caching
* [misc] expose compile stats and timings to the frontend
* [misc] serviceWorker: support clsiServerId and compileGroup url params
* [misc] serviceWorker: polish header maps
* [misc] serviceWorker: drop TODO for p-limit -- the browser has a queue
* [misc] serviceWorker: drop verbose log message on every fetch
* [misc] cut down size of diff in backend code
* [misc] add test case for forwarding of pdf caching and metrics details
* [misc] serviceWorker: drop all the log lines
* [misc] serviceWorker: add boundary guards to the compile request regex
Co-authored-by: Brian Gough <brian.gough@overleaf.com>
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
GitOrigin-RevId: 4b291b4a4f2866cf07bccf8ec9068f33bbfdc916
2021-05-18 02:07:57 +00:00
Miguel Serrano
bb88af80cf
Merge pull request #3947 from overleaf/msm-reenable-eslint-rules
...
Reenable `eslint` rules
GitOrigin-RevId: a0aa5f941ba1bc49ff758b5256f91d696f442c6d
2021-05-14 02:09:45 +00:00
Miguel Serrano
f9871103bf
Merge pull request #3949 from overleaf/msm-reenable-eslint-const-rule
...
Reenable eslint `prefer-const` rule
GitOrigin-RevId: 4f3825be8b8dff381095209085a36eaab76260d5
2021-05-06 02:09:14 +00:00
Miguel Serrano
8fbd4e3340
Merge pull request #3963 from overleaf/revert-3819-msm-update-pdfjs-2-6
...
Revert "Update `pdf.js` to `2.6.347`"
GitOrigin-RevId: 62402d8e0b99b302206f0edc61411c9477d29249
2021-04-28 02:10:27 +00:00
Miguel Serrano
bac110ee46
Merge pull request #3819 from overleaf/msm-update-pdfjs-2-6
...
Update `pdf.js` to `2.6.347`
GitOrigin-RevId: fd2a6708077e574a909ff05105ab70ea7c99daf5
2021-04-28 02:10:23 +00:00
Alf Eaton
1be43911b4
Merge pull request #3942 from overleaf/prettier-trailing-comma
...
Set Prettier's "trailingComma" setting to "es5"
GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
2021-04-28 02:10:01 +00:00
Alf Eaton
1ebc8a79cb
Merge pull request #3495 from overleaf/ae-prettier-2
...
Upgrade Prettier to v2
GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
2021-04-15 02:05:22 +00:00
Alf Eaton
2ff1cf43d6
Merge pull request #3470 from overleaf/eslint
...
Upgrade and configure ESLint
GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
2020-12-16 03:08:28 +00:00
Jakob Ackermann
fae53738f5
Merge pull request #3423 from overleaf/as-ta-sentry-fixes
...
Improve loading of Sentry reporter in frontend
GitOrigin-RevId: fc05aa48ad0e816b4ef0f5dafb6cf00525a28223
2020-12-04 03:05:43 +00:00
Miguel Serrano
6f6a9e714d
Revert "Update pdf.js to 2.5.207 ( #3222 )" ( #3251 )
...
This reverts commit 37be3901abf1044d93d83cb684e4e32721550d5a.
GitOrigin-RevId: 07d422401f298a667aa635e0232985a81ce6ef4a
2020-10-02 02:04:28 +00:00
Miguel Serrano
7b997f3946
Update pdf.js to 2.5.207 ( #3222 )
...
* updated pdf.js to 2.5.207, and added worker-loader as a devDependency
* updated pdf.js loaded to load ES5 build instead of the default one
* replaced imports with named imports due to changes on pdf.js worker loading
There are some hash downgrades in the lockfile. Running the commands through the appropriate methods yields the same result consistency
GitOrigin-RevId: 37be3901abf1044d93d83cb684e4e32721550d5a
2020-10-02 02:04:23 +00:00
Miguel Serrano
98fea0f22a
Merge pull request #3155 from overleaf/revert-3153-msm-pdfjs-2-4-es5
...
Revert "updated pdf-js to 2.4.456 using es5 distribution"
GitOrigin-RevId: ee55cb77c6abd7fc766aba378d1a1803ed763ff1
2020-09-03 02:04:20 +00:00
Miguel Serrano
b5adbfc4d9
Merge pull request #3153 from overleaf/msm-pdfjs-2-4-es5
...
updated pdf-js to 2.4.456 using es5 distribution
GitOrigin-RevId: 6890b26300a6984486c3a624cc20712574d8cbf0
2020-09-03 02:04:14 +00:00
Alasdair Smith
0d2a768e1e
Merge pull request #2937 from overleaf/as-remove-global-lodash
...
Replace global Lodash with explicit imports in frontend
GitOrigin-RevId: b092647039975ac594b69ce1fa145fd03552cc60
2020-06-24 02:10:29 +00:00
Alasdair Smith
8f5270899f
Merge pull request #2707 from overleaf/as-transform-esm
...
Transform frontend module format from AMD to ESM
GitOrigin-RevId: 9adbcdc95e819a54114010c6fd3521d8f58ef2fe
2020-05-20 03:21:38 +00:00
Jessica Lawshe
30a2997b43
Merge pull request #2789 from overleaf/as-fix-no-undef
...
Enable no-undef linting rule for all frontend files and fix errors
GitOrigin-RevId: bf9c789a381af982bdece55a2f518a2b610c9202
2020-05-13 03:23:18 +00:00
Eric Mc Sween
bf952e134f
Merge pull request #2762 from overleaf/as-prevent-missing-pdf-exception
...
Prevent Sentry from reporting "expected" MissingPDFException
GitOrigin-RevId: 4a6da75bcb3710df7b3be71005d57160e609b0d4
2020-04-24 03:30:59 +00:00
Miguel Serrano
310f7a7c60
Merge pull request #2741 from overleaf/hb-apply-please-scroll-pdf
...
Force pdf viewer to check watches on clickable link
GitOrigin-RevId: 364da514147751c4c1f69491a5070c94bf94aece
2020-04-23 03:29:30 +00:00
Alasdair Smith
bc1b73d74e
Merge pull request #2515 from overleaf/as-transform-absolute-paths
...
Transform absolute paths in frontend to relative
GitOrigin-RevId: c1914c0fd09d68984ba6c85a1f00aa3e6858d944
2020-04-07 03:18:45 +00:00
Jessica Lawshe
222ba263ff
Merge pull request #2552 from overleaf/jel-update-pdfjs
...
Update PDF.js
GitOrigin-RevId: 231ab11eccc32e4eddc87fc8829dd28843e41a51
2020-02-12 04:21:05 +00:00
Alasdair Smith
26190da566
Merge pull request #2349 from overleaf/as-webpack-css
...
Compile CSS using webpack
GitOrigin-RevId: 489834038667dde572ea5d9b4b9392b362259a09
2019-11-28 10:39:09 +00:00
Alasdair Smith
e035d526d6
Merge pull request #2287 from overleaf/as-frontend-rearch
...
Restructure frontend directories
GitOrigin-RevId: 5a1224ca186f4809df45680a80d374c1c318d7bf
2019-11-05 14:22:52 +00:00