Commit graph

20084 commits

Author SHA1 Message Date
Alf Eaton
f375362894 Always use mockable location methods (#11929)
* Always use mockable location methods
* Add eslint rules for window.location calls/assignment
* Add useLocation hook
* Update tests

GitOrigin-RevId: eafb846db89f884a7a9a8570cce7745be605152c
2023-03-17 09:05:21 +00:00
Eric Mc Sween
49f1312b27 Merge pull request #12205 from overleaf/em-camel-case-docstore
Camel case variables in docstore

GitOrigin-RevId: e6c2015cfb63ce125fd32ba8b4f904712b2bb9aa
2023-03-17 09:05:12 +00:00
Jakob Ackermann
df3c7e48ab Merge pull request #12198 from overleaf/jpa-force-new-compile-domain
[web] changes for force-new-compile-domain test

GitOrigin-RevId: a4ceaf46fdcebed156d155385cbbc2f06405d31f
2023-03-17 09:04:49 +00:00
Jakob Ackermann
223b8aa9d8 Merge pull request #12250 from overleaf/ii-add-new-email-blocklist
[web] Prevent Blocklisted domains from appearing as suggestion

GitOrigin-RevId: b02bebe3e043cb264fbdbffce3f783b3af483e95
2023-03-17 09:04:33 +00:00
Jakob Ackermann
798df873c4 Merge pull request #12200 from overleaf/ii-pdf-view-moves-to-the-left
[web] Make pdf view consistent when recompiling

GitOrigin-RevId: 1c76a1c8e0b8b024c7d0d033f92ff900e70909a6
2023-03-17 09:04:25 +00:00
Jakob Ackermann
c9513b79d3 Merge pull request #12155 from overleaf/ii-safari-project-title
[web] Adjust project checkboxes in project dash

GitOrigin-RevId: 42d40394eb1d933ba3c771ec7f5f873ead8cd770
2023-03-17 09:04:16 +00:00
Jakob Ackermann
fa5804a3cf Merge pull request #12254 from overleaf/jpa-back-fill-doc-rev
[web] add script for back filling rev=1 for old (deleted) docs

GitOrigin-RevId: 62f5b773fb83ddbf9bb202a592ce2e8f33b5e6b2
2023-03-17 09:03:58 +00:00
CloudBuild
2d5e76acbc auto update translation
GitOrigin-RevId: e0927974f1a2a2cd81a6b6ea9b2f75c0d38cb6bd
2023-03-16 09:05:56 +00:00
Eric Mc Sween
e71d71f851 Merge pull request #12204 from overleaf/em-camel-case-contacts
Camel case variables in contacts

GitOrigin-RevId: 4d63987a02b9d4baa5f3071e8a366dfdac6678a2
2023-03-16 09:05:34 +00:00
Eric Mc Sween
119d986b4a Merge pull request #12213 from overleaf/em-camel-case-spelling
Camel case variables in spelling

GitOrigin-RevId: 68e0e3c97381c2aeab4c606f978a62edd6fdc732
2023-03-16 09:05:26 +00:00
Tim Down
e956ccfdaa Merge pull request #12201 from overleaf/td-cm6-update-view-6-9-2
Update CM6 view package and revert custom cursor blink

GitOrigin-RevId: ed0db2621f8a3533b76fb05c4a8d34ea61edc907
2023-03-16 09:04:50 +00:00
Tim Down
973902ced6 [cm6] Search panel keyboard navigation (#11639)
Implement search panel keyboard navigation using CSS grid, order and offscreen checkboxes

GitOrigin-RevId: 67985d5ba90e8c139cbc505e4c380fc9c08337eb
2023-03-16 09:04:41 +00:00
CloudBuild
fa2df8acd0 auto update translation
GitOrigin-RevId: 0c58f1b14cd2c4001c5ea2d4068d3218e2a41a4c
2023-03-15 09:04:00 +00:00
CloudBuild
2c21de8b0a auto update translation
GitOrigin-RevId: 745aa6effcf9e1edf5bfbda7cee600e11de2516e
2023-03-14 09:05:08 +00:00
Eric Mc Sween
650fe7b662 Merge pull request #12199 from overleaf/em-revert-12066
Revert "Merge pull request #12066 from overleaf/em-multibib-errors"

GitOrigin-RevId: 8ba55849c54d61e62c80882fd53773ea3fd19948
2023-03-14 09:05:00 +00:00
Miguel Serrano
ecb1aaf60d Merge pull request #12164 from overleaf/msm-enable-nocdn-editor
[web] move `nocdn` checks out of overriden block

GitOrigin-RevId: fc9713cc50dccd73ae0582b852ae399e61fe7424
2023-03-14 09:04:52 +00:00
Miguel Serrano
9ecc84f0b0 [web] download-pdf-button-click event tracking (#12059)
* [web] `download-pdf-button-click` event tracking

GitOrigin-RevId: 20baae4fff989b5120ae03f81cc47f7d6874dd7b
2023-03-14 09:04:44 +00:00
Miguel Serrano
720475a482 [web] remove remaining Angular settings (#12166)
* [web] remove remaining Angular settings

* cleanup old settings locales

GitOrigin-RevId: ff81b46b3af78c7dd9518304c224446ea7c04680
2023-03-14 09:04:37 +00:00
Eric Mc Sween
862276f8a1 Merge pull request #12066 from overleaf/em-multibib-errors
Parse all .blg files after a compile

GitOrigin-RevId: be84974c247fd7a476a12c47943ab54947146e4c
2023-03-14 09:04:22 +00:00
Alf Eaton
390d7ed005 Merge pull request #12176 from overleaf/ae-syntex-tests
Improve synctex Cypress tests

GitOrigin-RevId: 282d26d344d8ae08f52b18ef4c12a4c311a6b7ff
2023-03-14 09:04:14 +00:00
Mathias Jakobsen
5fd4acffd5 Merge pull request #12159 from overleaf/jel-translations
[web] Add translations for top nav and footer

GitOrigin-RevId: 4240943e91ea6e1d19ce020cdacfe05c0302fdf8
2023-03-14 09:04:05 +00:00
Mathias Jakobsen
89ce4757fa [web] Update commons notifications (#12149)
GitOrigin-RevId: 0a39ce64c34467cd3a2c3304c2aba5e8bea64956
2023-03-14 09:03:57 +00:00
Jakob Ackermann
6da00de5ea Merge pull request #12187 from overleaf/jpa-mf-old-plans-page-annual-variant
Differentiate user that visits from before the fix and after the fix

GitOrigin-RevId: 4c3c4b47dc3329b97da79adcb2a45bf95b0ff27a
2023-03-13 09:04:32 +00:00
Jakob Ackermann
7ae5a9f060 Merge pull request #12160 from overleaf/mf-old-plans-page-annual-button
Fix annual buy button in old plans page is linked to the free trial check out page

GitOrigin-RevId: 7157b354a21e46f4eb194ae1ef741e90790b6071
2023-03-13 09:04:23 +00:00
CloudBuild
62450f8f31 auto update translation
GitOrigin-RevId: d5ed192f85ad8d0f03b0012c38cbe81b59caaa70
2023-03-10 09:04:56 +00:00
John Lees-Miller
26ebe22975 Link to global security policy
GitOrigin-RevId: 1711afb1aa1d6877b57e4ca4ded90c1522f93e0e
2023-03-10 09:04:40 +00:00
Thomas
5dc15a19de Merge pull request #12083 from overleaf/tm-teardown-refreshed-payment-page
Tear down refreshed payment page test, keeping refreshed page

GitOrigin-RevId: 4f0d9a1f4bcd3b018b12372fbe86aad3c8e41fbd
2023-03-10 09:04:18 +00:00
Jessica Lawshe
b10b7b1f91 Merge pull request #12042 from overleaf/jel-change-plan
[web] Change plan UI now in a modal and update the style

GitOrigin-RevId: 1b501b4a972ca676cff32f531862c15c0c8f9e61
2023-03-09 09:05:05 +00:00
Jessica Lawshe
db4d9f0562 Merge pull request #11784 from overleaf/jel-saml-log
[web] Only log SAMLResponse on error

GitOrigin-RevId: 4bc33fadf49d148fd089bf45f87dfce6b0f268c3
2023-03-09 09:04:57 +00:00
Jessica Lawshe
4380f20f08 Merge pull request #11996 from overleaf/jel-pdf-detach-download
[web] Add download attribute to download button in file view

GitOrigin-RevId: 7fdbd970d87bd3678863f23be993a34140a5726b
2023-03-09 09:04:49 +00:00
Mathias Jakobsen
8864e0139f Merge pull request #12112 from overleaf/mj-welcome-email
[web] Update CEO in onboarding email

GitOrigin-RevId: b9d0aab382e8f9ec2b5e8230193119ceba5ee63b
2023-03-09 09:04:34 +00:00
Christopher Hoskin
aad001a684 Merge pull request #12107 from overleaf/csh-issue-11902-try-324
Upgrade passport-saml from 3.2.3 to 3.2.4

GitOrigin-RevId: 93deb0d037c3964a874198e3fd1463155969ac10
2023-03-08 09:04:19 +00:00
Miguel Serrano
0cf8d63748 Merge pull request #12138 from overleaf/msm-ce-sp-hotfix-3-5-2
[CE/SP] Hotfix 3.5.2

GitOrigin-RevId: 229258f347ac9b495924644f329f708efed08703
2023-03-08 09:04:10 +00:00
Brian Gough
9276ba87b2 Merge pull request #12121 from overleaf/bg-fix-bad-offsets-in-history-migration
fix out of range offsets to avoid invalid history exports

GitOrigin-RevId: d00e3e9e08feb6c3be671b5805102a66782b3f92
2023-03-08 09:04:00 +00:00
Tim Down
1f2c06b1d0 Position Grammarly button on top of CM6 editor
GitOrigin-RevId: f96d1897c38e8e14e9247690ee49972a2170f80e
2023-03-07 09:06:33 +00:00
M Fahru
20f8fc2dc0 Revert "Refactor project list notification by using onDismiss on Alert instead of custom Close component (#12043)" (#12133)
This reverts commit 9a3f95c322a063b84094452c21cb734a379da978

GitOrigin-RevId: 31fb4b1d429e2e9c611178afc3dc3c662340be44
2023-03-07 09:06:25 +00:00
M Fahru
8bd1026abd Rename projectListReactPage to projectListPage in project list controller. (#12130)
This is because the controller's function was already renamed in another commit but the tests were not renamed.

GitOrigin-RevId: fb2e016999417aeb95a68f7cd37f0c55035f2a53
2023-03-07 09:06:11 +00:00
M Fahru
27723b7878 Migrate node controller unit test to the react version of the project dashboard controller (#11993)
* Migrate node controller unit test to the react version of the project dashboard controller

* change `promise.race` behaviour when fetching initial project list data to use setTimeout with 0ms delay (fake delay)

* rename `this.collabertions` to `this.readAndWrite`

* Change IP matcher to use `await` and `try` + `catch` block to be able to correctly write the test for

GitOrigin-RevId: 72ad9263c099b7ba44dede8304dba1c5ba879b56
2023-03-07 09:05:56 +00:00
M Fahru
06b75ebee2 Refactor project list notification by using onDismiss on Alert instead of custom Close component (#12043)
* Refactor project list notification by using `onDismiss` on `Alert` and not using the custom `Close` component

* Add dismissible alerts to storybook

GitOrigin-RevId: 9a3f95c322a063b84094452c21cb734a379da978
2023-03-07 09:05:48 +00:00
M Fahru
01c504109b Make project list react as the default in main router (#12047)
* Make project list react as the default in the main router

* Remove angular controller check-in project list smoke test

GitOrigin-RevId: 586a14afd9888d6f18e3cfa64aeebc5975bb43d5
2023-03-07 09:05:39 +00:00
Alf Eaton
488c6ff919 Improve compile request mocking in Cypress tests (#12095)
GitOrigin-RevId: fdbc53148e5437e451dab4889232923c823d649e
2023-03-07 09:05:25 +00:00
Alf Eaton
cff49bd9c1 Merge pull request #11914 from overleaf/ae-develop-project-history
Add project-history and history-v1 to Server CE dev environment

GitOrigin-RevId: 611173e5d489a175dd9945f59cab59692bd5ea39
2023-03-07 09:05:10 +00:00
Jakob Ackermann
3486cd0c91 Merge pull request #12054 from overleaf/ii-thank-you-page-add-missing-colon
[web] Add colon after translation in price exceptions

GitOrigin-RevId: 99dc7cb25373693edf4b06f5a2640ed7a1491777
2023-03-07 09:04:41 +00:00
Jakob Ackermann
e0c84f08fb Merge pull request #11940 from overleaf/jpa-fix-assignment-of-initial-clsi-vm
[web] fix assignment of initial compile server

GitOrigin-RevId: 84aea918946a106a5826d7cf39cc0bf47047cb35
2023-03-07 09:04:33 +00:00
Brian Gough
38973fb971 Merge pull request #12098 from overleaf/bg-fix-debug-history-script
fix incorrect log.op call in debug_history script

GitOrigin-RevId: 363fa9072493895003c8e506e6e2545ab5e89f00
2023-03-06 09:05:08 +00:00
Brian Gough
61e8dba859 Merge pull request #12075 from overleaf/bg-track-changes-debug-unmigrated
add option to check history of unmigrated projects

GitOrigin-RevId: c27a7b5227cb10603ae8e9d8136859a158caaf8a
2023-03-06 09:04:16 +00:00
Brian Gough
b7527ab6fe Merge pull request #12071 from overleaf/bg-track-changes-debug-script
track-changes debug script for history migration

GitOrigin-RevId: c95b3b4e3bdfd7c75751caae8ff37838e4a78511
2023-03-03 09:03:51 +00:00
M Fahru
f7131b720b Implement onboarding video tour split test (#11889)
* Implement onboarding video tour split test:

- Add split test infrastructure
- Create new `OnboardingVideoTourModal` component
- Place the component inside the editor pug template with a split test

* add event segmentation for `onboarding-video-tour-close-button-click` event:

1. video: `first` | `second`
2. firstVideoWatchingTimeInSecond: total time watching first video
2. secondVideoWatchingTimeInSecond: total time watching second video (0 if skipped)

* add event segmentation for:

1.  `onboarding-video-tour-dismiss-button-click`
2. `onboarding-video-tour-next-button-click`
3. `onboarding-video-tour-done-button-click`

with these key/value:

1. firstVideoWatchingTimeInSecond: total time watching first video
2. secondVideoWatchingTimeInSecond: total time watching second video (0 if skipped/not watched yet)

* Use contentful to host video assets

GitOrigin-RevId: 27a6f38d15d7a03b07455e216dda63d99983ca80
2023-03-02 09:05:43 +00:00
M Fahru
f1304fa205 Add missing ip matcher endpoint hit when opening project dashboard react (#12015)
* Add missing ip matcher endpoint hit when opening project dashboard react

* Add error logger on the catch block

GitOrigin-RevId: 0f69de329b1290a4f0f98ef00dda050fb09d5a08
2023-03-02 09:05:34 +00:00
M Fahru
351ab1979b Prevent github menu in project list react to be included in SP/CE build (#11951)
GitOrigin-RevId: 58d0378d2307f5c38ea4446b684993aec29fa292
2023-03-02 09:05:25 +00:00