Commit graph

107 commits

Author SHA1 Message Date
Alf Eaton
1b5d5bfb5b Add React Dropbox modal (#4055)
GitOrigin-RevId: a5fd367154fd5c4753345d44e9d1e1cc35181ced
2021-05-19 02:06:02 +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
Alf Eaton
5ea11cdf83 Merge pull request #4029 from overleaf/msm-symbol-palette-toggle
Added `symbol_palette` feature toggle

GitOrigin-RevId: 0de00543d15f3f02a2130ac5abf30f35ac814684
2021-05-13 02:08:53 +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
0874fcb8ca Release new navigation toolbar to alpha + feature flag refactoring (#3931)
* release new navigation toolbar to alpha and refactor flags

GitOrigin-RevId: d6ff9a3740423510457247882169b7d5aae2b843
2021-05-06 02:09:11 +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
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
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
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
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
Shane Kilkelly
07ec567b07 Merge pull request #3902 from overleaf/sk-ref-providers-hide
Editor: don't leak encrypted tokens to frontend
GitOrigin-RevId: 245c1e9d479f7eec2979b46a5959bd3eb9f08363
2021-04-22 02:09:31 +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
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
Hugh O'Brien
0aba0300d1 GitHub sync modal react port (#3711)
* GH-sync React - initial left menu github sync react skeleton

* GH-sync modal main switching logic setup and free trial mode

* GH-sync react - message for link sharing users

* GH-sync react: link gh account from modal

* GH-sync React: add export to github form modal

* GH-sync react: display commits and merge buttons

* GH-sync react: merge logic

* GH-sync React: merge endpoint error handling

* GH-sync React: update error handling to new fetch behaviour

* GH-sync React: handle ignoring external updates

* GH-sync React: main switcher modal tests

* GH-sync React: tests for export and merge

* GH-sync react: error handling and error boundary

* GH-sync React: put behind alpha flag

* GH-sync React: re-adding translations lost in rebase and cleanup

* GH-sync React: use renderWithEditorContext for tests and replace missing translations

* GH-sync React review code cleanup
GH-sync React fix state ordering causing errors

GitOrigin-RevId: 37261966683112b399ef180ec6bc4036bc689fd9
2021-04-07 02:05:06 +00:00
Alf Eaton
be804b5fc1 Merge pull request #3832 from overleaf/ae-modal-beta
* Add BetaBadge component
* Add beta_badge_tooltip translation
* Add beta badge to modal headers
* Enable Share and Add Files modals for beta users

GitOrigin-RevId: df0933830a0745c0ecf57db34f2cb75104a570cd
2021-04-01 02:05:38 +00:00
Paulo Jorge Reis
3f0e897e32 Logs UI variant without popup (#3794)
* Add logs UI without pop-up variant

* Implement frontend for logs UI without pop-up

* Add logs UI variants to admin panel and front user info

* Fix existing UI subvariant window global

GitOrigin-RevId: 075db56032354d782e489b5235925f55b1a67e0b
2021-03-24 03:04:41 +00:00
Alf Eaton
ba4300d9e1 Merge pull request #3518 from overleaf/ae-react-create-file-modal
Migrate "Add Files" modal to React

GitOrigin-RevId: fc5235108ee65294e3176da9c327791c34aa5b3c
2021-03-19 03:04:46 +00:00
Alf Eaton
d9576189a3 Merge pull request #3636 from overleaf/ae-share-modal-split
Migrate Share modal to React

GitOrigin-RevId: 96a52df6ffd751cfcca2bbb68eb9e7a6dc31ff28
2021-03-13 03:05:10 +00:00
Jessica Lawshe
54c471bc1c Merge pull request #3629 from overleaf/jel-ui-reconfirm-dash
Show reconfirm notification on the dash

GitOrigin-RevId: 4640513a299853a63c5f36b3e11b41ee66af61de
2021-02-23 03:04:20 +00:00
Timothée Alby
6e8a4e70dd Merge pull request #3641 from overleaf/ta-saml-integration
SAML Misc Changes

GitOrigin-RevId: 89fe8704d8effb6299d841be00efc653f6800fab
2021-02-19 03:04:18 +00:00
Paulo Jorge Reis
2051caf28e New compile UI admin panel (#3666)
* Extract new logs UI feature check to a helper function

* Add new logs UI per-user availability to the admin panel

* Stub NewLogsUIHelper in the unit tests

GitOrigin-RevId: b5344448d507c7cd7422b342286ada2b839b1785
2021-02-18 03:05:20 +00:00
Thomas
126c9c02a8 Merge pull request #3654 from overleaf/tm-remove-v1-connection-error-message
Remove V1 connection error warning from projects dashboard

GitOrigin-RevId: 0820adfe385362f2854381bce94db8e953251573
2021-02-17 03:04:10 +00:00
Paulo Jorge Reis
60d32f3e55 Prepare a staged rollout for the new compile UI (#3639)
GitOrigin-RevId: 9c0ef74514336238ff48d271474ec39eb163236a
2021-02-11 03:04:40 +00:00
Timothée Alby
a351265175 Merge pull request #3626 from overleaf/file-tree-release
[ReactFileTree] Release to Public \o/

GitOrigin-RevId: 8762168561b1c2533cbdb3f7bd47d6f99d9e9d61
2021-02-10 03:04:32 +00:00
Jessica Lawshe
2dd860c431 Merge pull request #3581 from overleaf/jel-dash-consolidate-emails-requests
Consolidate emails requests on the dashboard

GitOrigin-RevId: acfaf92dee257712e1eb3ffbf75b536fd1619e1d
2021-02-03 03:05:11 +00:00
Jessica Lawshe
ada017a50c Merge pull request #3580 from overleaf/jel-dash-pending-license
Get all institutions with inReconfirmNotificationPeriod for dash

GitOrigin-RevId: 904454e5c14f647cc6adc6f7c7b740e64607abc5
2021-02-03 03:04:49 +00:00
Miguel Serrano
37d45d64b3 [ReactNavToolbar] Integration branch (#3513)
* Created ng-controller for react shared context and set editor.loading

* toolbar-header component with menu button (and story)

* Added editor-navigation-toolbar-root and react2angular plumbing

* Added eslint-disable exception to use <a/> instead of <button/>

* added 'menu' to extracted translation

* [ReactNavToolbar] Added cobranding and back to projects buttons (#3515)

GitOrigin-RevId: 27c3bba85cbc96a123d58c66a0bd5d6a2cfd8aca
2021-01-28 03:05:28 +00:00
Miguel Serrano
846510b2e6 Removed Angular chat (#3553)
GitOrigin-RevId: dd9f6b3adff13d28ef251f61c7a2b54fff2d9ae7
2021-01-22 03:04:31 +00:00
Timothée Alby
c78a2f1809 Merge pull request #3536 from overleaf/ta-file-tree-beta
[ReactFileTree] Release to Beta Users

GitOrigin-RevId: 34e4120c6e296e11b21c23e350b9b516c0ce5428
2021-01-08 03:05:28 +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
Paulo Jorge Reis
88331582c3 Merge pull request #3438 from overleaf/jel-fix-anonymous
Fix anonymous editor viewing

GitOrigin-RevId: 843ddac4491454bee73821a03068d304649ab30b
2020-12-04 03:05:28 +00:00
Paulo Jorge Reis
adc98d22ab Merge pull request #3435 from overleaf/pr-compile-ui-alpha-group
Put the new compile UI out for the alpha group

GitOrigin-RevId: 82fe2006a28c791b79dceecd015f3787fe3e65c7
2020-12-03 03:04:43 +00:00
Timothée Alby
420aa4a657 Merge pull request #3232 from overleaf/ta-file-tree-react
React File Tree

GitOrigin-RevId: fb3141ba8cd9ca0d68e87edb74764a360144c8fe
2020-11-27 03:05:05 +00:00
Miguel Serrano
64e19085b4 Merge pull request #3404 from overleaf/msm-enable-react-chat-beta
Enable React Chat for beta users

GitOrigin-RevId: 3805d73fdb4521eba1555f25d6b8c48a45a81ff4
2020-11-25 03:04:35 +00:00
Jakob Ackermann
9303fcedae Merge pull request #3176 from overleaf/jpa-devendor-ace
[misc] devendor ace

GitOrigin-RevId: 25f7590773464889a088c96f337456f8542a1859
2020-11-12 03:04:23 +00:00
Christopher Hoskin
1e8598a8d9 Merge pull request #3331 from overleaf/csh-issue-3661-bump-agents
Update metrics module

GitOrigin-RevId: bdef141035f277ce4863f14f8a6e166d710b1111
2020-10-31 03:05:30 +00:00
Jessica Lawshe
1db0b27704 Merge pull request #3283 from overleaf/jel-remove-zotero-test
Remove Zotero test

GitOrigin-RevId: 4d9d8e0574f05f8c272cc018d7b1908a1722f156
2020-10-21 02:04:37 +00:00
Hugh O'Brien
acd51e88c8 Merge pull request #3266 from overleaf/hb-improve-upgrade-ctas
Different upgrade cta when user has a subscription

GitOrigin-RevId: e26b8784035a4c38b523abf1ac0eeb52e1a63fb0
2020-10-14 02:05:00 +00:00
Alasdair Smith
f1b42a3d0d Merge pull request #3192 from overleaf/msm-chat-react
Chat reactification

GitOrigin-RevId: ee1268b412513a8656703257febad4975adb74e7
2020-10-13 02:04:15 +00:00
Simon Detheridge
315987dc5a Merge pull request #3175 from overleaf/pr-spike-new-logs-errors-ui
Spike new logs errors ui

GitOrigin-RevId: b4c598bc03d8aa8e5a438ac5633e18dadd82dc74
2020-09-29 02:05:19 +00:00
Jakob Ackermann
018a44eeb5 Merge pull request #3185 from overleaf/jpa-normalize-mongo-imports
[misc] normalize mongo imports

GitOrigin-RevId: ac653d9982e0d36736b90f4c03d4c00be88ea76a
2020-09-25 02:04:20 +00:00
Jakob Ackermann
a22e252666 Merge pull request #3114 from overleaf/msm-remove-logger-warn-controllers
Replaced logger statements with error tagging in Controllers

GitOrigin-RevId: c5231913c82f95a325f4c3ab406d89cb534835a4
2020-08-20 02:06:25 +00:00
Jessica Lawshe
fa9c72c202 Merge pull request #3058 from overleaf/jel-feature-zotero
Verify features exist before checking for Zotero feature

GitOrigin-RevId: 9f1afddb6fb59d50f13b8ac7772fe93ae5d0ba04
2020-07-28 02:06:53 +00:00
Jessica Lawshe
10ef38fe76 Merge pull request #3029 from overleaf/jel-optimize-anti-flicker
Revert Use of ExposedSettings for Zotero experimentId

GitOrigin-RevId: 40ff3b2b4409f287c0e4630a30c0b72f70031f62
2020-07-22 02:06:06 +00:00
Eric Mc Sween
c200511f86 Merge pull request #3016 from overleaf/ta-editor-load-events
Fix Editor Load Events

GitOrigin-RevId: bb23f17ccab2d53933ad9da870f8ce26fdd169df
2020-07-21 02:06:37 +00:00
Jessica Lawshe
88057c4caa Merge pull request #3003 from overleaf/jel-zotero-event
Add Google Analytics event for Zotero A/B test

GitOrigin-RevId: 2b97a6070828fb97ea741a6e355c20314f59faad
2020-07-17 02:07:35 +00:00
Miguel Serrano
e692802690 Merge pull request #2991 from overleaf/msm-add-user-projection-project-controller
Added projection to User.getById() in ProjectController

GitOrigin-RevId: 9233a897414e3cda0b8c91f0b50d4ac422e0ab30
2020-07-17 02:06:25 +00:00
Miguel Serrano
1cac5227d6 Merge pull request #2958 from overleaf/jel-optimize-zotero
Add Optimize variant on Zotero paywall prompt

GitOrigin-RevId: 005cf27d40a367e4617c399023204dacb80af8de
2020-07-11 02:04:26 +00:00