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
9ad248af41
Merge pull request #4060 from overleaf/jpa-service-worker-metrics
...
[misc] serviceWorker: collect metrics for cached vs fetched performance
GitOrigin-RevId: db29bc77801d71008ba61ffb7e335a67cd5bf16d
2021-05-22 02:05:35 +00:00
Timothée Alby
e0616096e2
Merge pull request #4066 from overleaf/ae-symbol-search-input
...
Use FormControl for symbol palette search input
GitOrigin-RevId: c6f0c7f53797cab417c6bc15f1b30f20761b9fac
2021-05-21 02:08:43 +00:00
Timothée Alby
88d00424cc
Merge pull request #4002 from overleaf/cmg-subscriptions-new-validation
...
Add missing validation messages on subscriptions new
GitOrigin-RevId: 451b75d4adb0d92911579f0ea728625c561b767f
2021-05-20 02:05:11 +00:00
Timothée Alby
70952906c9
Merge pull request #4043 from overleaf/as-clean-up-exposed-settings
...
Remove `exposedSettings` from `ApplicationContext`
GitOrigin-RevId: 02acd3a7cf36d184560ff6df13acff515da908fa
2021-05-20 02:05:05 +00:00
Alf Eaton
ec3400c7cd
Add useIsMounted hook ( #4039 )
...
GitOrigin-RevId: 4ece1381fbfbed048fe46a399a60e9aab2f3526e
2021-05-19 02:06:31 +00:00
Jessica Lawshe
2abc9fa0e8
Merge pull request #4042 from overleaf/as-prevent-set-title
...
Prevent setting title on every render
GitOrigin-RevId: d9e5ad7d7a23099f153686f538ab3e733b3b7b07
2021-05-19 02:06:19 +00:00
Jessica Lawshe
fefb588d71
Merge pull request #3973 from overleaf/as-clean-up-hue-generator
...
Clean up hue generator
GitOrigin-RevId: 1b7fad05d7c2f6519efbbe0379f2449c273e4f4b
2021-05-19 02:06:15 +00:00
Alf Eaton
1b5d5bfb5b
Add React Dropbox modal ( #4055 )
...
GitOrigin-RevId: a5fd367154fd5c4753345d44e9d1e1cc35181ced
2021-05-19 02:06:02 +00:00
Alf Eaton
fb9579c2b7
Merge pull request #4023 from overleaf/ae-reset-file-tree-state
...
Reset file tree component state when rootFolder prop changes
GitOrigin-RevId: acf23ce7c7a8f175c4e12b367bfa9e48d2f946c8
2021-05-19 02:05:58 +00:00
Alf Eaton
4f20319167
Merge pull request #4040 from overleaf/ae-json-request-cleanup
...
Remove disableAutoLoginRedirect from fetchJSON requests
GitOrigin-RevId: 97b606484f671db4f0591db0b77774e6af3ca5a8
2021-05-19 02:05:54 +00:00
Alf Eaton
8c3578e74b
Merge pull request #4041 from overleaf/ae-use-ref-with-autofocus
...
Rename hooks files and move to shared folder
GitOrigin-RevId: 9659247b5e767197c3e11acc9a3922ecaab49162
2021-05-19 02:05:50 +00:00
Thomas
682abe9ca5
Merge pull request #3980 from overleaf/tm-show-error-if-plan-change-fails
...
Show error in plan change modal if plan change fails
GitOrigin-RevId: 698aab43feacdb5ced41f239167c5d132f7ca8de
2021-05-18 02:08:20 +00:00
Miguel Serrano
73c47fa0e0
Layout divider for Symbol Palette ( #4036 )
...
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: e22635978c16646060c80ceb8376a560bfbf6527
2021-05-18 02:08:12 +00:00
Jakob Ackermann
4fc8cb842e
Merge pull request #4053 from overleaf/jpa-fix-clsi-server-id-case
...
[misc] serviceWorker: fix casing of clsiServerId in query
GitOrigin-RevId: ae4b9d16b053ea36ce701f1f467eed34699751d1
2021-05-18 02:08:09 +00:00
Jakob Ackermann
234cabdcf5
Merge pull request #4051 from overleaf/jpa-fix-lint
...
[misc] fix lint
GitOrigin-RevId: 56db2a752a02801a9b6fd379f130a258a84c55b0
2021-05-18 02:08:05 +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
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
Alf Eaton
f8cb1638d1
Merge pull request #3988 from overleaf/ae-use-fetch-mock
...
Add useFetchMock hook for use in Storybook
GitOrigin-RevId: 4eb1c5edf2f94dc6ad51358e109e29c9f62d2058
2021-05-12 02:10:04 +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
Hugh O'Brien
903c1110e0
Merge pull request #3998 from overleaf/jpa-learn-sanitize
...
[learn] sanitize the wiki content
GitOrigin-RevId: c114bbd94479e926c0621953fe9c03f6d380a19d
2021-05-08 02:10:06 +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
1173c5c2da
Merge pull request #3983 from overleaf/ae-github-sync-modal
...
Move GitHub Sync Modal stories under Modals
GitOrigin-RevId: 65f1f989550026f7e29846bc4f1685b13f5d0cfe
2021-05-05 02:09:57 +00:00
Alf Eaton
adf53f1e22
Merge pull request #3982 from overleaf/ae-binary-file-stories
...
Ensure that BinaryFile stories have full file data
GitOrigin-RevId: 59ea6372517308a31e5b104b25d09a59627feaf2
2021-05-05 02:09:53 +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
Shane Kilkelly
3c9cd69bfa
Merge pull request #3956 from overleaf/ae-icon-story
...
Add a story for the Icon component
GitOrigin-RevId: fd63c4138fdea197b941b56a404e2dd8b20f7324
2021-05-01 02:13:05 +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
b350843b4e
Merge pull request #3957 from overleaf/ae-stories-context-root
...
Add required attributes for ContextRoot in stories
GitOrigin-RevId: c0cabf4eb03785c6232abe417e34bd7916b97046
2021-04-29 02:09:17 +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
855f815277
Merge pull request #3930 from overleaf/msm-uppercase-submit-title
...
Added `submit_title` for uppercase label
GitOrigin-RevId: b74651e8107667cfd882c47b9e1be185e952f9cf
2021-04-28 02:10:19 +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