Commit graph

10498 commits

Author SHA1 Message Date
Timothée Alby
970fd27165 Merge pull request #5946 from overleaf/ta-disable-angular-router-beta
Disable Angular Router for Beta Users

GitOrigin-RevId: da63b3fc18a46d2f3aff1639eac269309a5a5944
2021-12-01 09:03:22 +00:00
Eric Mc Sween
b9c8627d6a Merge pull request #5957 from overleaf/em-fix-oversized-docs
Add script for fixing oversized docs

GitOrigin-RevId: 513ce326884e00530182d3272a9be1134e1fb1f5
2021-12-01 09:03:16 +00:00
Thomas
40b087fee8 Merge pull request #5952 from overleaf/tm-batched-update-ranges
Add BATCH_RANGE_END(/BATCH_RANGE_START) env vars for batchedUpdate scripts

GitOrigin-RevId: e74f30368194584a6fb398963e0c04f850a8b31d
2021-12-01 09:03:09 +00:00
Timon Engelke
b9db578e0b Fix user settings template 2021-11-30 18:05:00 +01:00
Alf Eaton
2e3f56c0d4 Check for the presence of window.ResizeObserver (#5924)
GitOrigin-RevId: d072c9313967b52370a870fc2d30b50c498d8d1d
2021-11-30 09:03:05 +00:00
Miguel Serrano
33ea150b98 Add try/catch around use of navigator.sendBeacon (#5943)
There is a range of historical browser versions where navigator.sendBeacon is available but will throw an error if it's called with an unacceptable mime-typed Blob as the data: https://bugs.chromium.org/p/chromium/issues/detail?id=490015

GitOrigin-RevId: 7b534cb482ba0de920d2e53b9f0afbf3240b20aa
2021-11-30 09:03:01 +00:00
Eric Mc Sween
76e5d90084 Merge pull request #5915 from overleaf/em-delete-dangling-refs
Add a script for deleting dangling doc and file refs

GitOrigin-RevId: 9de5576e96a6585e72a642324b94744fc605d739
2021-11-26 09:03:33 +00:00
Alf Eaton
bab4d5d58f Extend AUTO_COMPILE_DEBOUNCE to allow for increased SINGLE_USER_FLUSH_DELAY (#5883)
GitOrigin-RevId: f65113b2dea901fb757dafb08acc32c770960bf2
2021-11-26 09:03:21 +00:00
Miguel Serrano
9ce51f9f2f Prevent compilation request from being ignored in compiler.js (#5818)
GitOrigin-RevId: 1442ad0890b73134e6f563a1b474e4bc9e8a6ecd
2021-11-26 09:03:14 +00:00
Miguel Serrano
7de1e6f979 Update log error ordering and wording on tips (#5873)
* Show bibtex errors with compile errors
* Update wording on error log tips

GitOrigin-RevId: 0e25a05418b241526958016f1b525334d33ad741
2021-11-26 09:03:07 +00:00
Miguel Serrano
ec065147fb Ignore bib parse errors (#5874)
GitOrigin-RevId: 05c214762585b4d3d35ed055e1764d472b9cc861
2021-11-26 09:03:01 +00:00
Alf Eaton
830123df98 Merge pull request #5841 from overleaf/ae-deep-watch-rootfolder
[web] Use deep option when watching scope.rootFolder

GitOrigin-RevId: a82a74fd3dad8aad833d14b3bde1e175b6c41895
2021-11-25 09:02:57 +00:00
Alf Eaton
6cfafbe9ef Merge pull request #5897 from overleaf/ae-codemirror-deps
[web] Upgrade CodeMirror 6 dependencies

GitOrigin-RevId: 747eb787f6b908938d04a08efb8d8609f8546d4e
2021-11-25 09:02:48 +00:00
Eric Mc Sween
bcd64d333f Merge pull request #5888 from overleaf/tm-history-upgrade-improve-logging
Prevent unnecessary extra batch, and add a 'continueFrom' helper for BATCH_LAST_ID

GitOrigin-RevId: d6832c40bbed2c27676f4b72d720938707847bfc
2021-11-24 09:03:17 +00:00
Eric Mc Sween
9cf622e013 Merge pull request #5877 from overleaf/tm-history-upgrade-none-with-conversion
Add script for converting and upgrading from SL history to full project history

GitOrigin-RevId: 0e1ad19d3f5cd248ef30e2a0fbb69711cb307b6e
2021-11-24 09:03:13 +00:00
Brian Gough
e9c7b0d17c Merge pull request #5750 from overleaf/jpa-cache-req-ip
[web] cache req.ip and bail out in case none is available

GitOrigin-RevId: 07084114676ffd13530c9ad4e0ff386fc2c5fa17
2021-11-24 09:03:07 +00:00
Eric Mc Sween
b8ab8fbdbd Merge pull request #5853 from overleaf/em-fix-file-tree
More filename fixes when resyncing

GitOrigin-RevId: 15e2e71fa8d16a1c708449eb607918b36f2fb3ee
2021-11-23 09:03:11 +00:00
Alf Eaton
4d5829dddf Merge pull request #5836 from overleaf/jk-cm-code-folding-again
[web] Add code folding to CodeMirror 6

GitOrigin-RevId: b6dcc5dbdda2676debeb986bd738b6dd1232fd5a
2021-11-23 09:03:06 +00:00
Alf Eaton
9e331d1176 Fix CodeMirror 6 stories (#5834)
GitOrigin-RevId: 76f17bc02844dde61545b15e6a2e4f7c1bbcfdc7
2021-11-23 09:02:59 +00:00
Alf Eaton
3a2b5f06a2 Merge pull request #5820 from overleaf/ae-codemirror-editor-height
[web] Set source-editor id attribute

GitOrigin-RevId: 62ddc44f5de52aad9a6117e28be45f7641b1c277
2021-11-23 09:02:48 +00:00
Alexandre Bourdin
f9873619ad Merge pull request #5769 from overleaf/ab-null-split-tests
Setup null split tests

GitOrigin-RevId: 4cba55e123d0a4add19cdace7434506e9d20c7a9
2021-11-23 09:02:46 +00:00
Alexandre Bourdin
fa6bc3fc7b Merge pull request #5777 from overleaf/ab-utm-term-content
Track utm_content param and replace utm_term in utm-tags property

GitOrigin-RevId: 868274a3dc4f44705f1e8340592ee05acc471b19
2021-11-23 09:02:43 +00:00
Jakob Ackermann
fc086fba29 Merge pull request #5856 from overleaf/revert-5749-ab-ide-panels-minsize
Revert "Set a minimum width for editor and PDF panels"

GitOrigin-RevId: 6dbf7256526aedfbfac8377c69499d9e1c6b577d
2021-11-22 09:03:11 +00:00
Jakob Ackermann
44b3fece89 Merge pull request #5838 from overleaf/jpa-fix-load-editor-metrics
[web] fix the http-request metric options for loading the editor

GitOrigin-RevId: 8c87ebd5be77a918b719ddd061b4758efb277a90
2021-11-22 09:03:07 +00:00
Jakob Ackermann
2261e761f4 Merge pull request #5705 from overleaf/jpa-node-14
[misc] upgrade node version from 12 to 14

GitOrigin-RevId: 15c465c7bb5e42b0c71e2dedb09cf4fe9f1d8ec6
2021-11-19 09:02:56 +00:00
CloudBuild
8b136b6652 auto update translation
GitOrigin-RevId: 685f49b67696d71c9baea25a792e56f929b3f13a
2021-11-18 09:03:22 +00:00
Jessica Lawshe
8060b5e781 Merge pull request #5802 from overleaf/jel-reconfirm-notification
[web] Extend reconfirmation notification check

GitOrigin-RevId: da3785a25b4fa1152a862214af3c17a67f57f10b
2021-11-18 09:03:18 +00:00
Alexandre Bourdin
cdaf55c7da Merge pull request #5808 from overleaf/revert-5736-ab-drop-ie11-polyfill
Revert "Remove IE11 polyfills and update browser support policy"

GitOrigin-RevId: fa44a6bfa796d191446956e94d9e533a70e59da4
2021-11-17 09:04:23 +00:00
Hugh O'Brien
7d932f0b92 Merge pull request #5722 from overleaf/hb-improve-group-buy-ux
Update the UX for the group subscription modal

GitOrigin-RevId: 6700a5c4907e0c966ee3b2954b6417ccf9edf37e
2021-11-17 09:04:06 +00:00
Hugh O'Brien
519b0fa155 Merge pull request #5788 from overleaf/hb-remove-gallery-survey-notification
Remove gallery survey notification

GitOrigin-RevId: 82e6341fbe15ac7f6b108be25615715a07c1efa6
2021-11-17 09:03:59 +00:00
Alf Eaton
ec31473f8f Merge pull request #5736 from overleaf/ab-drop-ie11-polyfill
Remove IE11 polyfills and update browser support policy

GitOrigin-RevId: 9ab9513ecf97fc565a1d2620f9785a64bd16b766
2021-11-17 09:03:32 +00:00
Alf Eaton
a15e1bdc07 Merge pull request #5734 from overleaf/ab-handle-project-zip-not-existing
Handle case of not existing project ID when zipping projects for download

GitOrigin-RevId: 601b14ef0217c27dc50ef0442f7e81db35642b6d
2021-11-17 09:03:29 +00:00
Alf Eaton
1fc57aadcf Merge pull request #5721 from overleaf/hb-fix-log-line-parsing
Improve file line error log parser regex

GitOrigin-RevId: d3fbb39b4a6d99e339c1d6e6eb81d9cfb3ec5935
2021-11-17 09:03:25 +00:00
Alf Eaton
07361a8f68 Merge pull request #5749 from overleaf/ab-ide-panels-minsize
Set a minimum width for editor and PDF panels

GitOrigin-RevId: cc63e56df6f37c74995c00d1855dc3a0feccc32a
2021-11-17 09:03:19 +00:00
Alf Eaton
7c186082ef Merge pull request #5789 from overleaf/hb-fix-cursor-jump-share-modal
Prevent cursor jumping in share modal input

GitOrigin-RevId: e3c88e4ff91bc9a83e8ac781305d0a34f198911c
2021-11-17 09:03:16 +00:00
Alf Eaton
dd733fda84 [web] Add autocomplete to LaTeX language for CodeMirror 6 (#5780)
GitOrigin-RevId: 90f1f3b680a68f8eb14828c9e5db94587974a6d4
2021-11-17 09:03:12 +00:00
Timothée Alby
8ca159b4b9 Merge pull request #5797 from overleaf/ta-pdf-detach
PDF Detach

GitOrigin-RevId: f69d8a87d1ba2115ad496a719106dfc7707a6ed5
2021-11-16 09:02:57 +00:00
Alf Eaton
c73894e56b Merge pull request #5709 from overleaf/ae-fail-prop-types-tests
Format error messages for test failure

GitOrigin-RevId: 74da66d9da31939755162a91f5adf4f8122f06f6
2021-11-16 09:02:54 +00:00
Eric Mc Sween
642764fccf Merge pull request #5770 from overleaf/em-resync-clean-filename
Clean filenames before resync

GitOrigin-RevId: 46a408a8b7eb067b431db04951d92c029b833054
2021-11-16 09:02:51 +00:00
Alf Eaton
f351a7af0a Render log entry annotations in the CodeMirror 6 gutter (#5654)
GitOrigin-RevId: e68c913a572a24c037167fe8b3418ec9ac4ce6ab
2021-11-16 09:02:46 +00:00
Alf Eaton
efcc15d5b5 Add CodeMirror 6 cursor/scroll position handling (#5653)
GitOrigin-RevId: bf756a415dbf1e4b5bbd9f580700bdc799c6b1d6
2021-11-16 09:02:41 +00:00
Alf Eaton
205d853cea Merge pull request #5743 from overleaf/jk-cm-realtime-integration
[web] CodeMirror 6 integration with real-time / ShareJs

GitOrigin-RevId: e8507ea1365828140948472625b3de6ab8a227c5
2021-11-16 09:02:39 +00:00
Alf Eaton
a954533e7a Connect CodeMirror 6 to real-time (#5643)
GitOrigin-RevId: bbe7665b8b742e2cc2a0e00b4562dff9a86c0421
2021-11-16 09:02:33 +00:00
Brian Gough
aeb2ce7435 Fix up duplicate filenames during resync (#5742)
* Fix up duplicate filenames during resync

* Unit test for project history resync with duplicate paths

* Decaf cleanup: unnecessary returns

* Decaf cleanup: remove initClass()

* Decaf cleanup: unused variables

* Decaf cleanup: camel case variables

* Support duplicate folder names when traversing project folders

We have some broken projects that contain duplicate folder names. In
order to fix them, we need to be able to find them in the project. The
use of an object to store folders by path meant that only one of the
duplicate folders would be found.

* Keep docupdater up to date when renaming during a resync

Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
GitOrigin-RevId: bf3dcdc4c1d4f5418ff9f5e68b255438620349ca
2021-11-12 09:02:56 +00:00
Thomas
302a6fddc8 Merge pull request #5756 from overleaf/tm-history-batched-update-descending
Add BATCH_DESCENDING to reverse processing order of batchedUpdate

GitOrigin-RevId: fb6aff20713dfd8fe6c6a78b64505d96ce4bfb14
2021-11-12 09:02:53 +00:00
Thomas
5c5f42df1f Merge pull request #5752 from overleaf/tm-history-upgrade-failure-checks
Check for upgradeFailed before classifying/upgrading a project as v1

GitOrigin-RevId: 68776665762e87b640aab4c55a5e56062697912a
2021-11-12 09:02:49 +00:00
Thomas
ec36fe4b04 Merge pull request #5751 from overleaf/tm-history-upgrade-max-failures
Add configurable limit for number of failures (stop when reached)

GitOrigin-RevId: 56f0bf1d2e803851d68918b26f06d3b5834d7cc0
2021-11-12 09:02:45 +00:00
Miguel Serrano
b7e9f0b67f Prepare React Pdf Preview Rollout with Split Test (#5746)
Prepare React Pdf Preview Rollout with Split Test and disabled new Logs UI

GitOrigin-RevId: 995b7ca3ed542e58596b9f9715adc93a64da597e
2021-11-12 09:02:42 +00:00
CloudBuild
a6b9467f31 auto update translation
GitOrigin-RevId: 38bb14f2170b12c22cb556a8e9421f447de57a9e
2021-11-11 09:03:15 +00:00
Eric Mc Sween
5fc6d7dcb3 Merge pull request #5740 from overleaf/em-gcp-logging-web
Improve GCP logging for web

GitOrigin-RevId: b304c87a3fe46c29189f665eb3daf22c23d6eb8f
2021-11-11 09:03:09 +00:00
Alf Eaton
3feca1ffc6 Move symbol palette to module and add overlay (#5396)
GitOrigin-RevId: 649dd56aaecd60662bd2bf534bda323ee541874f
2021-11-11 09:03:05 +00:00
Miguel Serrano
739ac96195 Revert "Prepare new Pdf Preview rollout (#5664)" (#5745)
This reverts commit 047a3c636e09e9786c2a9b93514fef5bc46b0da9.

GitOrigin-RevId: 91b3c024cd364c1fd55d5e4fc6a2c592b784bc2a
2021-11-11 09:03:01 +00:00
Miguel Serrano
19eef0acca Prepare new Pdf Preview rollout (#5664)
* Prepare new pdf preview rollout
* skip new_logs_ui variant tests

GitOrigin-RevId: 047a3c636e09e9786c2a9b93514fef5bc46b0da9
2021-11-11 09:02:57 +00:00
Alf Eaton
4ed8e1d7d1 Add source editor React component using CodeMirror 6 (#5642)
GitOrigin-RevId: 3e67bffbeeade02a8d4ff2c468ca784230fc7408
2021-11-10 09:02:41 +00:00
Hugh O'Brien
3b95ac6d88 Merge pull request #5688 from overleaf/jpa-invalid-password-message
[web] password reset: validate user password ahead of invalidating token

GitOrigin-RevId: ba3e6549f53675a2216e2fc24293276c1968d416
2021-11-10 09:02:38 +00:00
Hugh O'Brien
d8dfcf7708 Merge pull request #5650 from overleaf/hb-remove-symbol-search-hint
Show disabled tabs instead of hint on symbol search

GitOrigin-RevId: bc67fd4928da38d895f6c811364e017cc3ec9061
2021-11-10 09:02:35 +00:00
Hugh O'Brien
a5323293e0 Merge pull request #5636 from overleaf/hb-single-context-menu-for-file-tree
Use context menu for all file tree dropdowns

GitOrigin-RevId: 8283093b428b4cb53bc1ed7795e398ffe4bd3496
2021-11-10 09:02:32 +00:00
Alexandre Bourdin
05c1ecdde0 Merge pull request #5679 from overleaf/ab-utm-tracking-fix
UTM Tracking

GitOrigin-RevId: 8e9f8372affce72b35f47786de40def77c08a514
2021-11-09 09:05:05 +00:00
Alexandre Bourdin
7836743754 Merge pull request #5717 from overleaf/ab-sub-controller-uncaught-ex
Prevent uncaught error in SubscriptionController

GitOrigin-RevId: af8e986ce4c83c48d4af2a4af092c63eea092335
2021-11-09 09:04:58 +00:00
Alexandre Bourdin
c881909258 Merge pull request #5716 from overleaf/ab-tear-down-de-ng-plans-page-test
Tear down de-ng split test and cleanup old version

GitOrigin-RevId: 02438bbb2e530dfe72f046dd91c547d97c39c96e
2021-11-09 09:04:51 +00:00
Jakob Ackermann
6122520bf5 Merge pull request #5727 from overleaf/jpa-deprecation-warnings
[misc] fix deprecation warnings

GitOrigin-RevId: aa103252e5918143bb1dacb19e87e47bb1784e83
2021-11-09 09:04:44 +00:00
Thomas
97a636b0dd Set force/origin params in project history migration script (None types), handle errors (#5693)
* Use a force resync when initialising full project history, improve error handling, increase default mongo timeout

* Don't remove history ID if error on initialisation

* Rename MAX_PROJECT_UPGRADES to MAX_UPGRADES_TO_ATTEMPT and skip upgrades in the current batch once we reach the limit

* Catch SIGINT and wait for a safe time to exit

* Set overleaf.history.upgradeFailed when errors during history initialisation

GitOrigin-RevId: 2c987926cac9c9727a7b39e9003aa8626d56423f
2021-11-09 09:04:37 +00:00
Thomas
bfda92513a Merge pull request #5694 from overleaf/tm-history-scripts-mongo-timeouts
Update v1 without preserveHistory, increase default mongo timeouts, add count query hint

GitOrigin-RevId: bfe1a0024258d0c75646544b9646928b2afe33c1
2021-11-09 09:04:30 +00:00
Eric Mc Sween
37018af773 Label updates with an origin when migrating history (#5689)
* Label updates with an origin when migrating history

GitOrigin-RevId: 78b2b521a08610a178ea84f78f8f9644d798d509
2021-11-09 09:04:23 +00:00
Miguel Serrano
f97f753b1e Merge pull request #5499 from overleaf/msm-remove-angular-nav-toolbar
Remove Angular Navigation UI

GitOrigin-RevId: a71da3da665515ec6ce74ae41ff1f0b47b86134e
2021-11-09 09:04:16 +00:00
Miguel Serrano
cc72382722 Added publish-context tests (#4702)
GitOrigin-RevId: 0076c9ecba31c33c157149e9f0927aa062ad07b5
2021-11-09 09:04:09 +00:00
Miguel Serrano
83e0a0c29b Fix scrollIntoView for PDF highlights (#5723)
GitOrigin-RevId: c2196ca3e3eed14a48b827a27a13f13232bb4c00
2021-11-09 09:03:55 +00:00
Miguel Serrano
8b85ef36eb added check of compilation result status before setting pdfUrl/pdfDownloadUrl (#5697)
GitOrigin-RevId: ebf78bc2f98a952411875740fe912e275f83b224
2021-11-09 09:03:48 +00:00
Alf Eaton
07caf75004 Set overflow-y: scroll for pdf.js viewer container (#5539)
sets overflow-y: scroll for the inner pdf.js viewer container, so that there's always space reserved for the vertical scrollbar, which means there's never a flicker at the point where the PDF height starts to overflow the container height.

GitOrigin-RevId: 6ec4621e723869810eff531c971ee26c4ed86638
2021-11-09 09:03:41 +00:00
Alf Eaton
ed825e3170 Mark defaultValue as optional for useScopeValueSetterOnly (#5695)
GitOrigin-RevId: e42cc48f3762e1a0369fe80ab1b9d7ccb237b3f1
2021-11-05 09:03:08 +00:00
Jakob Ackermann
c5aee05320 Merge pull request #5685 from overleaf/jpa-web-no-cdn
[web] add support for nocdn fallback on marketing pages

GitOrigin-RevId: c125c44f9187de7e1127c77311c54bef7c4b86c9
2021-11-05 09:02:57 +00:00
Miguel Serrano
a752bbefdd Merge pull request #5665 from overleaf/em-resync-attribution
Label resyncs with "Overleaf History System"

GitOrigin-RevId: 3d08dc9bcb2310d7ef7cb8f17cd5c208a802941c
2021-11-04 09:04:12 +00:00
Miguel Serrano
26eb5d7cdc Cleanup compile results on compilation error (#5663)
- pdfUrl, pdfDownloadUrl and log entries are now cleared up after a compilation error.

- Added a new hook, useScopeValueSetterOnly that limits how changes in React components are propagated to Angular. Since the compilation process happens entirely within compile-context it make sense that compilation results are solely managed by compile-context itself.

GitOrigin-RevId: 2003be03bab6753bb9a88194c7a6163cfd36f9c2
2021-11-04 09:04:05 +00:00
Miguel Serrano
a5fd363938 Protect pdf-js-wrapper from NPE error (#5658)
GitOrigin-RevId: 55bdc27afb7dd9ea55751ae0bd89a2498f9f2ce6
2021-11-04 09:03:58 +00:00
Jessica Lawshe
b90b7c92ac Merge pull request #5655 from overleaf/jel-detach-feature-flag
Make showNewPdfPreview a dependency of showPdfDetach

GitOrigin-RevId: 2bb2f5cd8b2cf68a28e8979713c08c0ceef33fa5
2021-11-04 09:03:51 +00:00
Jessica Lawshe
3ad686c30b Merge pull request #5630 from overleaf/jel-layout-dropdown
New project layout dropdown

GitOrigin-RevId: 8d7f4ff6649fe249b762642e70522597e5e78dd4
2021-11-04 09:03:44 +00:00
Jakob Ackermann
cc78541714 Merge pull request #5670 from overleaf/jpa-cdn-pre-compress
[web] cdn_upload: compress assets prior to uploading them to GCS

GitOrigin-RevId: a9b0970beb124d20bd2ffe21d30a674ffafd6258
2021-11-04 09:03:32 +00:00
Alexandre Bourdin
115436925c Merge pull request #5668 from overleaf/revert-5595-ab-utm-tracking
Revert "UTM Tracking"

GitOrigin-RevId: dbed61448496ff8e990eb9a3712831ef1a3376fe
2021-11-03 09:04:26 +00:00
Alexandre Bourdin
69c751ce39 Merge pull request #5595 from overleaf/ab-utm-tracking
UTM Tracking

GitOrigin-RevId: 9fff6dad166875c94dbfad80770e9ad32f883418
2021-11-03 09:03:58 +00:00
Miguel Serrano
bd8c6608c0 Update pdf-preview.test.js (#5656)
Since the original test iterates over a number of fixtures, it makes more sense to express it as parameterized test, running each scenario separately, each using the default timeout.

GitOrigin-RevId: 6b87adbeb01975db1308b5241f6eccbcdb33f9de
2021-11-03 09:03:52 +00:00
Eric Mc Sween
0449e6c2a2 Merge pull request #5645 from overleaf/em-history-origin
Identify resyncs in the history panel

GitOrigin-RevId: 5c96f0f1be68bfb05954457a7d5b72b4cec6c607
2021-11-03 09:03:45 +00:00
Jakob Ackermann
0ee93793e3 Merge pull request #5641 from overleaf/jpa-survey-notification-2
[web] implement institutional leavers survey logic in frontend only

GitOrigin-RevId: e1002ee6f75ba3865c955eefa8482af0c72bb825
2021-11-03 09:03:28 +00:00
Jakob Ackermann
9f45f786cf Merge pull request #5627 from overleaf/jpa-use-mongo-secondary-for-script
[web] scripts: check_institution_users: run mongo queries on secondaries

GitOrigin-RevId: 490592cff926f91f1e24ea907016ddbc03a45f60
2021-11-03 09:03:21 +00:00
Jakob Ackermann
8ba1803972 Merge pull request #5625 from overleaf/jpa-block-update-loop
[web] block a loop of failing rootDoc update requests

GitOrigin-RevId: 1388024fc125ee1e80e45a7bbbc787306cb60d1d
2021-11-03 09:03:09 +00:00
Jakob Ackermann
b5998148e7 Merge pull request #5622 from overleaf/jpa-less-verbose-ci
[web] less verbose CI

GitOrigin-RevId: 4935fa7f10db9309376c548788277c79b9ec50db
2021-11-03 09:03:04 +00:00
Jakob Ackermann
71b5a4938d Merge pull request #5620 from overleaf/jpa-true-pro-features-override
[web] creating a professional feature override should populate all flags

GitOrigin-RevId: e5ee4464ac2cedac7cc919195ac2a4240fb9285f
2021-11-03 09:03:01 +00:00
Brian Gough
d706109823 Merge pull request #5615 from overleaf/revert-5611-revert-4746-ae-project-history
Add endpoint for migrating a project from track-changes to full project history (second attempt)

GitOrigin-RevId: 86ff0a149bd56f028fc7af854f1684bf126e503f
2021-11-03 09:02:54 +00:00
Eric Mc Sween
e5676a9643 Merge pull request #5648 from overleaf/em-revert-gcp-logging-web
Revert "Improve GCP logging for web"

GitOrigin-RevId: 92d446baf62108da1df92146eec12a2fe69d30ee
2021-11-02 09:03:29 +00:00
Eric Mc Sween
641b10cceb Merge pull request #5632 from overleaf/em-gcp-logging-web
Improve GCP logging for web

GitOrigin-RevId: 1198fab2e821a55563058171cfa435605216e337
2021-11-02 09:03:22 +00:00
Brian Gough
99f5023d5a Merge pull request #5623 from overleaf/bg-initial-features-epoch
[web] start using featuresEpoch in production

GitOrigin-RevId: b3cbbdc60677455fddbe9fff5e97d63f2239c59d
2021-11-02 09:03:09 +00:00
Jessica Lawshe
861ccbfcd1 Merge pull request #5489 from overleaf/jel-sso-reconfirmation
[web] Update link to SSO notification

GitOrigin-RevId: 376e63948e7a17fd45c229e6d00f43e882e1cd0d
2021-11-02 09:03:01 +00:00
CloudBuild
4a0bad687e auto update translation
GitOrigin-RevId: 65ba602f9e9ae479aeafff87d886bba68ffc7531
2021-11-01 09:02:59 +00:00
Thomas
307e151d6d Merge pull request #5590 from overleaf/tm-show-current-session-2
Show current session on user sessions page

GitOrigin-RevId: fd748207905f600ca3102db6a208a994b089ca97
2021-10-29 08:04:21 +00:00
Thomas
164ea5735f Merge pull request #5466 from overleaf/tm-gallery-analytics-duplicated-template
Add analytics data for duplicated projects (include from template data)

GitOrigin-RevId: 8072b4e3ccca634557a67d9f2cca4d87f63f786b
2021-10-29 08:04:15 +00:00
Thomas
560e07fa8e Rename and rework script for counting project history states (#5593)
* Rename and rework script for counting project history states

GitOrigin-RevId: a00e4626f09526a0af79f71eb66910259895d0fb
2021-10-29 08:04:08 +00:00
Thomas
ffdafb9700 Show prices including VAT in the upgrade to group subscription modal (#5463)
* Add VAT calculation (with details) to the group upgrade modal

* Move 'per year' to seperate line to prevent text overflow

* Rename taxAmmount to taxAmount

GitOrigin-RevId: 37b7d471a704192d9cc4b96765f7449e747b2add
2021-10-29 08:04:01 +00:00
Thomas
e7c1d47ab6 Merge pull request #5412 from overleaf/tm-show-last-updated-on-gallery-items
Show last updated (created at) on gallery item pages

GitOrigin-RevId: 402b0e6bad8385c3b7c828b571a418e921e59a19
2021-10-29 08:03:55 +00:00
Brian Gough
ce7af09728 Merge pull request #5611 from overleaf/revert-4746-ae-project-history
Revert "Add endpoint for migrating a project from track-changes to full project history"

GitOrigin-RevId: 4a37d31daa2855622bfd3e7d96eeabe813b5d8bb
2021-10-29 08:03:32 +00:00
Brian Gough
da4fdfe11e Merge pull request #4746 from overleaf/ae-project-history
Add endpoint for migrating a project from track-changes to full project history

GitOrigin-RevId: 74e1fb1379a78a9569dda2007e677a4d277e38fb
2021-10-29 08:03:18 +00:00
Jakob Ackermann
1505efc23d Merge pull request #5592 from overleaf/jpa-fix-mongodb-result-check
[misc] fix detection of matched mongodb filter for update operations

GitOrigin-RevId: 856b871feba1df13ef163fa763274927d49b9105
2021-10-29 08:03:10 +00:00
Jakob Ackermann
aa846a6af2 Merge pull request #5558 from overleaf/jpa-ta-canonical-url-tag
[web] add a canonical tag to gallery/learn/blog

GitOrigin-RevId: c6b9e84a0dbf04e44dbc507ae5dbf9ef2d95b8cc
2021-10-29 08:03:06 +00:00
Jakob Ackermann
7f9fd00bda Merge pull request #5367 from overleaf/jpa-node-handle-callback-err
[misc] fix eslint violations for node/handle-callback-err

GitOrigin-RevId: 83a4900e8861010df1917bff49382bd9c93375bd
2021-10-28 08:03:26 +00:00
June Kelly
12b90cac69 Merge pull request #5541 from overleaf/jk-retry-v1-requests-features-refresh
[web] Retry v1 requests in refresh-features path

GitOrigin-RevId: 1b0e952390d3de07fdfb115349a8a55965aabe1f
2021-10-28 08:03:20 +00:00
Brian Gough
e681c6322f Merge pull request #5479 from overleaf/bg-refresh-features-on-editor-load
refresh user features on editor load when out of date

GitOrigin-RevId: ef39b5626cfdc6ed611137a6f6eca3417d3ce73f
2021-10-27 08:03:22 +00:00
Jakob Ackermann
a6f05109a3 Merge pull request #5352 from overleaf/jpa-no-var
[misc] fix eslint violations for `no-var`

GitOrigin-RevId: c52e82f3a8a993b8662cc5aa56e7b95ca3c55832
2021-10-27 08:03:00 +00:00
Brian Gough
3c780c65e8 Merge pull request #5417 from overleaf/hb-restore-doc-from-admin
Restore soft deleted docs from admin

GitOrigin-RevId: 5c94539ae950c401225d2cfe7c0bc978ed258e22
2021-10-26 08:03:31 +00:00
Alexandre Bourdin
2037adf808 Add new scheduled-jobs queue dedicated to delayed jobs (#5496)
* Add new scheduled-jobs queue dedicated to delayed jobs

* Extract createScheduledJob and enqueue to a dedicated QueueHandler

* Queues cleanup & refactoring (review suggestions)

GitOrigin-RevId: f7b9380388430e878def83cd44e7d086d0fb92ad
2021-10-26 08:03:17 +00:00
Brian Gough
51b42381bd Merge pull request #5551 from overleaf/bg-node-upgrade-user-facing
upgrade node to v12.22.7 (user facing)

GitOrigin-RevId: ddc6a29beac27fe1ae5d88830fb901667d91ec89
2021-10-25 08:03:02 +00:00
Timothée Alby
9278ce6cc0 Merge pull request #5442 from overleaf/ta-ga-v4
Add Google Analytics V4 Tags

GitOrigin-RevId: 8841bd6a902efa15399b1a219ff7740635898fa1
2021-10-25 08:02:58 +00:00
Timothée Alby
735f79ab6a Merge pull request #5364 from overleaf/ta-split-test-assignment-date-backfill
Fix SplitTests assignedAt Type

GitOrigin-RevId: 1711f8672fb8e1525780f869b847117a66ca86ed
2021-10-22 08:04:49 +00:00
Timothée Alby
47cd2d7324 Merge pull request #5531 from overleaf/jel-web-unused-metrics-code
[web] Remove unused metrics code

GitOrigin-RevId: ffad327c02ebecfe47c4a063b8e694e5a18e3257
2021-10-22 08:04:43 +00:00
Timothée Alby
e8ddc95c2f Merge pull request #5507 from overleaf/jel-gallery-titles
[web] Title layout fix on gallery list pages

GitOrigin-RevId: 3d4f1492a2ebe04184ffee25d585bcea0691271d
2021-10-22 08:04:37 +00:00
Eric Mc Sween
fdb5386b85 Merge pull request #5547 from overleaf/em-ta-analytics-proxy-fix
Fix how AnalyticsProxy generates the URL

GitOrigin-RevId: 272e7ea92d1aa41f7390d39c590336a23dba3708
2021-10-22 08:04:20 +00:00
Alf Eaton
be809a0de8 Reinstate uses of useScopeValue (#5544)
GitOrigin-RevId: d1eac1b18b042fbd4203cd37c79abef10cec626c
2021-10-22 08:04:13 +00:00
Jakob Ackermann
49adb35811 Merge pull request #5515 from overleaf/jpa-new-cdn-caching
[gdm] enable caching for the new CDN

GitOrigin-RevId: 01128d2cc730198c726efb7b7bfd576a1fbd268e
2021-10-22 08:03:56 +00:00
Jakob Ackermann
564f40978f Merge pull request #5504 from overleaf/jpa-old-cdn-probe
[web] add a probe for the old/current CDN

GitOrigin-RevId: 59e34e793edceebb49a8d6fa4e3e6716b921d09d
2021-10-22 08:03:50 +00:00
Alf Eaton
913a62fbc8 Migrate synctex controls to React (#5503)
GitOrigin-RevId: 80362a00ae6b73616a6fa9b3193b9b9974b5fd35
2021-10-22 08:03:43 +00:00
Alf Eaton
684efaaf5f Use pdfDownloadDomain when fetching certain files in the new PDF preview (#5524)
GitOrigin-RevId: d8796d9f86ba87824438f4bd7dcb1a79643654c3
2021-10-22 08:03:36 +00:00
Alf Eaton
2bf422b76d Merge pull request #5522 from overleaf/ae-compile-feature-flag
Only use the React compiler when showNewPdfPreview is set

GitOrigin-RevId: 24bf8dc6a830e670ee8dc30b8e0329127de1a1a8
2021-10-22 08:03:31 +00:00
Alf Eaton
dd5bcd6098 Merge pull request #5521 from overleaf/ae-remove-stop-compile-button
Remove "Stop compiling" action from Recompile button in new PDF preview toolbar

GitOrigin-RevId: a4c90ec7d6213c49e11f13f045354ce66f2e9a8b
2021-10-22 08:03:28 +00:00
Alf Eaton
bd3d0d124d Merge pull request #5520 from overleaf/ae-log-entry-height
Fix log entry height in new PDF preview

GitOrigin-RevId: a9b7cae352da87f391c66720b109e3d9fd00fe52
2021-10-22 08:03:24 +00:00
Alf Eaton
d4035c4f1e Merge pull request #5498 from overleaf/ae-recompile-button
Fix padding on recompile button in hybrid toolbar

GitOrigin-RevId: 36a2433833a76572bcf55c3109931d4e1ca63778
2021-10-22 08:03:20 +00:00
Alf Eaton
5c82945e12 Merge pull request #5453 from overleaf/ae-body-font-smoothing
Fix effect of font-smoothing style on PDF rendering

GitOrigin-RevId: 0b891cb003bf50c62059bf9d85a2da9535a3d625
2021-10-22 08:03:17 +00:00
Thomas
42fa5e28ed Merge pull request #5529 from overleaf/revert-5484-tm-show-current-session
Revert "Show current session on user sessions page"

GitOrigin-RevId: 80e4c667d96b2016066657dc74d9f27d6b52b6f8
2021-10-21 08:03:41 +00:00
Jakob Ackermann
7996f90c7b Merge pull request #5306 from overleaf/jpa-clear-institution-notifications
[web] add a new script for clearing institution notifications

GitOrigin-RevId: d102b484c4fb9816832b48c2dfa66953bc996667
2021-10-21 08:03:25 +00:00
Jakob Ackermann
358e8b7424 Merge pull request #5349 from overleaf/jpa-no-depreacted-api
[misc] fix eslint violations for node/no-depreacted-api

GitOrigin-RevId: 0f7d64984da9e789c4ab95381db34afb89fa1a94
2021-10-21 08:03:18 +00:00
June Kelly
e34c83f3f7 Merge pull request #5435 from overleaf/as-ignore-assets
Ignore some more generated assets

GitOrigin-RevId: b9cce0f477b3b111d04836e6900a8f14c4cdd861
2021-10-21 08:03:11 +00:00
June Kelly
4f29ca5cbd Merge pull request #5395 from overleaf/msm-pdf-metrics
Added PdfJsMetrics to React PDF Viewer

GitOrigin-RevId: ff749d67baec243ca2c8e51409754716f4cef62c
2021-10-21 08:03:07 +00:00
June Kelly
e0b0d10143 Merge pull request #5484 from overleaf/tm-show-current-session
Show current session on user sessions page

GitOrigin-RevId: 6ae130bfa8c3d82a305fd865e162c19f5c8b208c
2021-10-21 08:03:04 +00:00
June Kelly
7292cfbd02 Merge pull request #5366 from overleaf/jk-move-password-reset-audit-log
[web] audit password reset before taking action

GitOrigin-RevId: 672f712658b4669a5a750dbc6f97d24ce35c332d
2021-10-21 08:03:00 +00:00
June Kelly
c95ad5573f Merge pull request #5475 from overleaf/jk-package-upgrades-2021-10-14
NPM upgrades: nodemailer, handlebars, mongoose

GitOrigin-RevId: 426f2fa20dc306030be1c37fe50be81368d65969
2021-10-20 08:03:39 +00:00
John Lees-Miller
01e0dfde26 Fix copybara PR import permissions issue (and cleanup) (#5433)
* Remove old copybara setup from web

* Fix copybara pr import file permissions

* Remove web copybara exclusion from copybara

* Remove misleading internal PR link

* Remove comma from generated PR title

GitOrigin-RevId: 1c2f70486cbcb45610b99cf6599064bc4944d766
2021-10-19 08:03:43 +00:00
Jessica Lawshe
9079e466e0 Merge pull request #5336 from overleaf/jel-gallery-advanced-facets
Add facets to advanced gallery search

GitOrigin-RevId: 7612a9b06b6dcd8896456324078a8c16524e145c
2021-10-19 08:03:32 +00:00
Brian Gough
acc9a1ace1 Merge pull request #5468 from overleaf/bg-fix-feature-override-script
fix feature override script

GitOrigin-RevId: f123843e1ed40b90f55a32d687a2ade4a5b44a05
2021-10-19 08:03:04 +00:00
Alf Eaton
89dfcaf528 Finish migrating to PdfLogEntry component (#5483)
GitOrigin-RevId: 93f1da35dbc80b317964133e0437373dd0af7933
2021-10-18 08:04:12 +00:00
Alf Eaton
9ffe28649c Improve rendering of errors from pdf.js (#5448)
GitOrigin-RevId: 69836ba213b124e2442b2d0083531dd95be2bf4e
2021-10-18 08:04:06 +00:00
Alf Eaton
7f5200da8c Report filtered pdf.js errors to Sentry (#5438)
GitOrigin-RevId: 7ab5a6fd61d271037ee33bbeadfad00b389812d6
2021-10-18 08:03:59 +00:00
Alf Eaton
4c25dcfb2b Disable overflow: scroll on the outer pdf.js element (#5446)
GitOrigin-RevId: 77485d0dd2af3e4dc6f86f322816e00beee9dfa9
2021-10-18 08:03:52 +00:00
Alf Eaton
7991fc1ebd Visually hide br in text selections (#5447)
GitOrigin-RevId: ee26da17dd8087545022ce704ef98102e7eb9ea0
2021-10-18 08:03:45 +00:00
Alf Eaton
61f466afc0 Ignore invalid synctex highlights (#5476)
GitOrigin-RevId: 9123a09502f17c1251995b2e7133b345db885107
2021-10-18 08:03:41 +00:00
Alf Eaton
01f7f19446 Ensure sendMBOnce only sends event once (#5481)
GitOrigin-RevId: 360ae263213b4fd36aa33d41c6d54ef91f7f54fa
2021-10-18 08:03:37 +00:00
Alf Eaton
09f3962ded Ensure that the TimeoutUpgradePrompt component returns null (#5482)
GitOrigin-RevId: 95e58537c82d9bedd055839cfb916a06c1ef96df
2021-10-18 08:03:34 +00:00
Alf Eaton
12eab99990 Migrate log entry component to new PDF preview (#5478)
* Migrate log entry component to new PDF preview
* Add a test for expandable log content

GitOrigin-RevId: 3e2154983c1ea03b5db44c87822e7043c4aa2cfe
2021-10-18 08:03:30 +00:00
Alf Eaton
f7ef2532e0 Handle PDF preview on toggle between split and full-width views (#5470)
* Only hide the compile logs pane when toggled off
* Handle PDF preview on toggle between split and full-width views

GitOrigin-RevId: 9ceca8a06a22abfa78f245e1ae5d24af98215906
2021-10-18 08:03:26 +00:00
japm48
90befc1fdd [Imported] recognize \addsec in layout, (#954) (#5428)
* recognize \addsec instead of \addsect in outline

\addsec is the correct name used by KOMA-Script,
\addsect was a typo and is removed.

COPYBARA_INTEGRATE_REVIEW=https://github.com/overleaf/overleaf/pull/954 from japm48:patch-2 11934c71f2

* Fix test for addsec(t)

Co-authored-by: japm48 <japm48@users.noreply.github.com>
GitOrigin-RevId: 634cef54d9d097b10700fabb05187a1af7b27375
2021-10-15 08:03:19 +00:00
Alexandre Bourdin
121ee4b72e Merge pull request #5460 from overleaf/ab-skip-invalid-identify
Skip identify event when analyticsId is invalid

GitOrigin-RevId: 1fd9c54f59ad0b6196875f9826021e95752eddf0
2021-10-15 08:03:16 +00:00
Brian Gough
d2c76b05cf Merge pull request #5425 from overleaf/bg-add-feature-override-script
add feature override script

GitOrigin-RevId: 90def174b4ac182b6f62984e8f9621f3dc16b92d
2021-10-14 08:03:18 +00:00
Brian Gough
b9e7f6ab5e Merge pull request #5384 from overleaf/bg-add-symbol-palette-feature-flag
[web] add symbol palette feature flag

GitOrigin-RevId: 154499aaef72b677f28d85c501d0015811081887
2021-10-14 08:03:11 +00:00
Alexandre Bourdin
da6d6abe80 Merge pull request #5422 from overleaf/ab-queues-default-job-options
Add default job options for queues in analytics

GitOrigin-RevId: ab8cf13a0ba35acb0b21519f21131df128bb3f29
2021-10-13 08:03:58 +00:00
Alf Eaton
2f835144c8 Upgrade pdfjs-dist to v2.10.377 (#5436)
* Upgrade pdfjs-dist
* Explicitly disable XFA in PDF.js

GitOrigin-RevId: 6987fe6e6f87a05d8f71d83a8b09b33caeade712
2021-10-13 08:03:45 +00:00