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
Jakob Ackermann
2901de7830
Merge pull request #4020 from overleaf/jpa-gracefully-access-mathjax
...
[frontend] chat: gracefully access MathJax details
GitOrigin-RevId: 5a68bf715a21c8b3881957afc7ac0ba83c353602
2021-05-18 02:07:53 +00:00
Alf Eaton
01c8a8a04d
Merge pull request #4025 from overleaf/ae-timeout-upgrade
...
Only show upgrade message on timeout if not already premium
GitOrigin-RevId: 1378b0a98c6b511d63f2ce1192d3fdca16e8db26
2021-05-15 02:10:09 +00:00
Alf Eaton
d7b997e86c
Merge pull request #4038 from overleaf/ae-move-use-debounce
...
Move useDebounce hook
GitOrigin-RevId: f047e279ca1694fc4fa68aa098d6608edefd20fe
2021-05-15 02:09:58 +00:00
Alf Eaton
0360d01aeb
Add Symbol Palette component, data and stories ( #4027 )
...
GitOrigin-RevId: b00128bc087e2ebe9911fa19b7e62fd4bb492226
2021-05-14 02:09:50 +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
1c552cba92
Merge pull request #4015 from overleaf/msm-fix-chat-button-reset
...
Fixed `resetUnreadMessageCount` used instead of `markMessagesAsRead`
GitOrigin-RevId: 8337afd73d8dff570a289e159847a1f6b4fd2fb2
2021-05-14 02:09:36 +00:00
Alf Eaton
7d3b989d74
Merge pull request #3977 from overleaf/as-file-tree-application-context
...
Pull user id from ApplicationContext instead of window in file tree
GitOrigin-RevId: e6c037b4a46ecdca066bcb5c67f6eeb8834f11fd
2021-05-13 02:09:11 +00:00
Alf Eaton
0026e9d246
Merge pull request #3994 from overleaf/ae-sentry-packages
...
Upgrade @sentry/browser to v6
GitOrigin-RevId: aec8e55b2c36de13bc084def5607ef92bb441b8f
2021-05-13 02:09:07 +00:00
Alf Eaton
669e8f923f
Merge pull request #4014 from overleaf/ae-react-translations
...
Add more translations to React components
GitOrigin-RevId: c0392472f4d6603c147876c30def36f329994af5
2021-05-13 02:08:56 +00:00
Hugh O'Brien
d9b369c6c1
Merge pull request #3997 from overleaf/ae-react-translations
...
Ensure that all strings are translated in React components
GitOrigin-RevId: 855280150a21982fcf0ba57a39002451d37621e8
2021-05-08 02:10:10 +00:00
Alf Eaton
a1bc43d994
Rename plan to planCode
...
GitOrigin-RevId: 401bcbe32e3f551d525ffb59fd548c153b82baca
2021-05-08 02:09:55 +00:00
Alf Eaton
e832c9ed70
Add StartFreeTrialButton
...
GitOrigin-RevId: dd9ab4bb12e8b9071b2a869e2d452945b49d9cd7
2021-05-08 02:09:50 +00:00
Miguel Serrano
a5e905f730
Merge pull request #3975 from overleaf/tm-change-default-group-subscription
...
Make Enterprise the default group pricing and clarify related text
GitOrigin-RevId: c723c87fa97ca0f8e9a03039f05cb397e1213de3
2021-05-06 02:09:32 +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
Alf Eaton
e9b93a6ef2
Merge pull request #3979 from overleaf/ae-exposed-settings
...
Remove exposed-settings.js
GitOrigin-RevId: 056526b6e5fb50c4fd8058338e894eed9a3a50f4
2021-05-05 02:10:00 +00:00
Alf Eaton
13e6166259
Merge pull request #3974 from overleaf/ae-refactor-context-hooks-usememo
...
Refactor functions from hooks into context providers
GitOrigin-RevId: f985ec15c16bdb49bedf7b64a0f5fe2853b6bb85
2021-05-05 02:09:50 +00:00
Alf Eaton
dbc909ae54
Merge pull request #3970 from overleaf/ae-remove-filetreereactbridge
...
Remove showReactAddFilesModal, showReactFileTree, useFileTreeAngularListener and FileTreeReactBridge
GitOrigin-RevId: 61fc54efe761922137b032b9b532975fc101264d
2021-05-01 02:13:18 +00:00
Shane Kilkelly
f1f8c4e152
Merge pull request #3965 from overleaf/ae-file-tree-popup
...
Use custom overlay for file tree dropdown menu
GitOrigin-RevId: 261b21953f9331427d6d368716662d7eaec65477
2021-05-01 02:13:14 +00:00
Chrystal Maria Griffiths
3dfcb95802
Merge pull request #3960 from overleaf/cmg-binary-file
...
[BinaryFile] Reopening of Binary file React migration
GitOrigin-RevId: 050e66e3321bd6579d44932b669fc0a31df06d18
2021-04-29 02:09:38 +00:00
Jakob Ackermann
adfde7d26b
Merge pull request #3950 from overleaf/msm-reenable-lint-prefer-regex-literals
...
Reenable `prefer-regex-literals` eslint rule
GitOrigin-RevId: 3c576d92a08dfcb745d447b1bf8c7b828753010d
2021-04-29 02:09:10 +00:00
Thomas
72af966c9c
Schedule subscription downgrades to occur at the current term end ( #3801 )
...
* Schedule subscription downgrades to occur at the current term end.
If the plan is a downgrade, schedule the subscription change for term
end. Use Recurly v3 API subscription change event instead of v2 update
subscription.
* Add ability for user to revert a pending subscription change
In the case where a user has downgraded, but has since decided they'd
rather stay on their current plan, we need a way to let them revert. It
isn't enough to re-use a subscription change, because Recurly sees it as
an attempt to make a change from the current plan to itself.
Instead, we use a new dialog and call a new endpoint that has the
specific intent of reverting the pending plan change, by calling the
removeSubscriptionChange recurly client method.
* Add message prompting users to contact support for immediate changes
We're showing this in the confirmation modal for a plan change that
would occur in the future, and and on the subscription page if a pending
change is due.
Most users shouldn't need this, but it should help them out if they find
an edge case like moving from eg. Student (Annual) to Professional
(Monthly) and were expecting to be "upgraded" immediately.
GitOrigin-RevId: c5be0efbeb8568ed9caa941aadcef6f6db65c420
2021-04-28 02:10:31 +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
Alexandre Bourdin
82d7d6681e
Merge pull request #3927 from overleaf/msm-react-navbar-rename-tooltip
...
React navbar rename tooltip
GitOrigin-RevId: a933aa8654e0c5b0e22cfc72f6262cc75da0ccf7
2021-04-28 02:10:15 +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
15011a9982
Merge pull request #3946 from overleaf/ae-upload-error-response
...
Handle undefined response in upload error handler
GitOrigin-RevId: 09c09bc353d3db3c0f5040c4d99d64fbe3ba56db
2021-04-28 02:09:57 +00:00
Alf Eaton
9e83c42200
Merge pull request #3948 from overleaf/ae-invite-spaces
...
Remove spaces from invited email addresses
GitOrigin-RevId: 034c4e7297561b9195248eb8a52cd1f800940b6d
2021-04-28 02:09:49 +00:00
Chrystal Maria Griffiths
4e9d7c36ff
Merge pull request #3952 from overleaf/revert-cmg-binary-file
...
Revert "Merge pull request #3526 from overleaf/cmg-binary-file"
GitOrigin-RevId: 5f539f26992fefd01b07922b1f43a3a3bc753141
2021-04-24 02:10:12 +00:00
Eric Mc Sween
1186c3e9a4
Merge pull request #3526 from overleaf/cmg-binary-file
...
[BinaryFile] Binary file React migration
GitOrigin-RevId: e229ad8ec3781607b5ca28387927b84d4af95060
2021-04-24 02:10:07 +00:00
Alasdair Smith
f33c00f2fd
Merge pull request #3944 from overleaf/revert-3943-revert-3735-as-chat-reducer
...
Re-do Refactor chat store to use React state
GitOrigin-RevId: 626e3379ddb2f75680742df8957fbe350ba89881
2021-04-24 02:10:01 +00:00
Alf Eaton
ff62a7e63c
Enable React add files modal for all users ( #3941 )
...
GitOrigin-RevId: 923bf41a8c5e9f0932a1711530446dfd5c8d0d7f
2021-04-23 02:10:09 +00:00
Alf Eaton
5cec4420dc
Merge pull request #3940 from overleaf/ae-share-modal-for-everyone
...
Enable React share modal for all users
GitOrigin-RevId: 2cb288e15770d3169034e4511df6537d010e924d
2021-04-23 02:10:05 +00:00
Alasdair Smith
b3b8502e5e
Merge pull request #3943 from overleaf/revert-3735-as-chat-reducer
...
Revert "Refactor chat store to use React state"
GitOrigin-RevId: e75e2d56a80c3741415bea3941a26f7dd8f505d3
2021-04-23 02:09:59 +00:00
Alasdair Smith
bb4523b7f6
Merge pull request #3735 from overleaf/as-chat-reducer
...
Refactor chat store to use React state
GitOrigin-RevId: 800a21c3c8a5c3c628c0a13bcb091675d1fb6f25
2021-04-23 02:09:54 +00:00
Alf Eaton
8b35db3fc1
Merge pull request #3928 from overleaf/ae-safari-error
...
Check for existence of elements before attaching event listeners in SafariScrollPatcher
GitOrigin-RevId: 67338581878871cf67fc050dc233da93f14753a7
2021-04-22 02:09:37 +00:00
Alf Eaton
f9bda25072
Merge pull request #3921 from overleaf/ae-remove-broadcast-open
...
Remove $scope.$broadcast('open') from React controllers
GitOrigin-RevId: 40780c373e14c4dbbd921460638bcb4616f34c86
2021-04-22 02:09:34 +00:00
Timothée Alby
0ecebefb0c
Merge pull request #3804 from overleaf/msm-react-publish-button
...
[ReactNavigationToolbar] Submit button
GitOrigin-RevId: 9b40e09f001b44bd2f5035469f0d0c852fea7199
2021-04-20 02:10:19 +00:00
Jakob Ackermann
4f8a905e9b
Merge pull request #3909 from overleaf/jel-reconfirm-email-template
...
Add reconfirm email template
GitOrigin-RevId: 2488c79c25a7148f601e3e3e2021cdbee4be7b4c
2021-04-16 02:05:33 +00:00
Jakob Ackermann
d2e6449e79
Merge pull request #3897 from overleaf/tm-meta-tags-billing
...
[views] migrate subscription templates to meta tags, re-issue
GitOrigin-RevId: c18bb7c96186cc8c34344ecf7cee35f9da19698e
2021-04-16 02:05:27 +00:00
Jakob Ackermann
b276587c42
Merge pull request #3911 from overleaf/ae-share-modal-link-sharing
...
Only use project sharing data from the websocket connection
GitOrigin-RevId: 4549a6379dfebb00581ca4ddf276654fbbb3701d
2021-04-16 02:05:24 +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
Alasdair Smith
93492bb25a
Merge pull request #3908 from overleaf/jel-reconfirm-ui-meta-tags
...
Meta tag migration for reconfirm UI
GitOrigin-RevId: b0bda07acc5389b1d5ef4e9ea3d10688ac26f0a0
2021-04-15 02:05:09 +00:00
Alasdair Smith
2b154e273e
Merge pull request #3898 from overleaf/as-fix-angular-service-arrow-function
...
Refactor Angular service method away from an arrow function
GitOrigin-RevId: a83d90d0d44a28d1b898aef0490084def3089f47
2021-04-15 02:04:57 +00:00
Paulo Jorge Reis
98e631a9c7
New logs UI out of beta + fixes ( #3868 )
...
* Update new logs pane: remove beta icons, add specific surveys
* Remove unneeded reset of log entries
* Remove unneeded reset of the autocompile linting error flag
* Lower compile event sampling rate ahead of prod release
* Never send logs UI subvariant when user is getting the existing UI
GitOrigin-RevId: ab726761ba372c6806e56fc0cf841099cc30df50
2021-04-13 02:05:54 +00:00
Shane Kilkelly
f013f33c05
Merge pull request #3884 from overleaf/jpa-meta-editor-take-2
...
[misc] migrate the editor templates to meta tags -- take 2
GitOrigin-RevId: 447d4c6c2197dd2c5f5e182a5edf57313557b8b9
2021-04-10 02:05:05 +00:00
Jessica Lawshe
2fca78eaf0
Merge pull request #3896 from overleaf/revert-3834-tm-meta-tags-billing
...
Revert "[views] migrate subscription templates to meta tags"
GitOrigin-RevId: 8ab3dae6e3aa359b6d7aa69df70a1b1eb2405dfd
2021-04-09 02:05:33 +00:00
Jessica Lawshe
e697064f16
Merge pull request #3834 from overleaf/tm-meta-tags-billing
...
[views] migrate subscription templates to meta tags
GitOrigin-RevId: 4e81e81380048436a011467c230cc54c02e0c423
2021-04-09 02:05:29 +00:00
Jessica Lawshe
5220198991
Merge pull request #3879 from overleaf/jel-ja-wiki-mathjax
...
Fix learn wiki XSS
GitOrigin-RevId: 3964b2eaf56ef57ec34e4cdd3e683dd36f9eae6e
2021-04-09 02:05:26 +00:00
Thomas
eb46f9a738
Merge pull request #3880 from overleaf/revert-3826-jpa-meta-editor
...
Revert "[views] migrate the editor templates to meta tags"
GitOrigin-RevId: 02caaf24ae0ee6a74a38ef870909527da19d4882
2021-04-02 02:05:02 +00:00