Commit graph

16611 commits

Author SHA1 Message Date
M Fahru
e1399cc10d Remove discount banner from the new plans page (#8814)
GitOrigin-RevId: 091de891bf7eeb357aabcb2253ec9fbfd64fd38b
2022-07-13 08:05:40 +00:00
M Fahru
3b4968e263 Change number of users in group plan to have a dynamic value in the new plans page (#8592)
GitOrigin-RevId: 008c0a1120e5b99945f18f0b4eee60bfcb08a331
2022-07-13 08:05:33 +00:00
M Fahru
8603fcac6c Add correct link to the university support button (#8797)
GitOrigin-RevId: 1ecb591ff9dd99d195eed0fa2ae4b5702ef53b7e
2022-07-13 08:05:27 +00:00
M Fahru
e97c56b105 Fix group plan localized pricing and force 2 decimal number for non-integer currency value (#8576)
GitOrigin-RevId: d6dedf7af04c79cef6b9cd39f5496610ffc52938
2022-07-13 08:05:20 +00:00
M Fahru
6c7fd1dad0 Add new university info card in the new plans page (#8676)
GitOrigin-RevId: 7d9ec211930afc2536df36665d6cfc6f2cd7b46b
2022-07-13 08:05:13 +00:00
M Fahru
f3118771fe Add new limited discount information on personal plan in the new plans page (#8715)
GitOrigin-RevId: 7f4e91179ba767ff8b88df7787eaf9d4fe6a5f05
2022-07-13 08:05:06 +00:00
M Fahru
4fc10d971d Change new plans page group highlighted column and text
GitOrigin-RevId: d45f1b0780e68908f0517aee6f09e95f030440c6
2022-07-13 08:05:03 +00:00
M Fahru
ebbe14e1a7 Remove university section from the Student Plans in the new plans page
GitOrigin-RevId: 00917ab8cd5190721036baab9ea8ab5fca9a3665
2022-07-13 08:04:59 +00:00
Thomas Mees
b3d5a2c7f0 Port ability to set plans page tab view with URL hash
GitOrigin-RevId: 367829b46a1e984f19a131999938c554a960eccf
2022-07-13 08:04:56 +00:00
Thomas Mees
0cb51a3d52 Remove unused allCardsAndControls from v2 plans page
GitOrigin-RevId: 9b31299ba504bd3f39ca6a3030e32f8bc1e29aa1
2022-07-13 08:04:52 +00:00
June Kelly
7c809432db Merge pull request #8409 from overleaf/jk-git-bridge-operation-in-progress
[git-bridge] Operation-in-progress message

GitOrigin-RevId: 2836c3917303f06c7ff2e0b91a36f88237276507
2022-07-13 08:04:46 +00:00
M Fahru
08792ce66d remove unused isProjectOwner prop on ShareProjectModal stoybook component'
GitOrigin-RevId: 1c7346e306a394d2193a10dcdf116eda98a3e628
2022-07-12 08:04:34 +00:00
M Fahru
045a1523d9 Explicitly name projectOwnerEmail to the test for clarity
GitOrigin-RevId: 816faa68b7f8664269757918aac8199cbe3fc10f
2022-07-12 08:04:28 +00:00
M Fahru
3990e182d7 fix ShareProjectModal test case for non project owners cases
GitOrigin-RevId: 413de85b57e638defb5d240bd6275126e75a4114
2022-07-12 08:04:21 +00:00
M Fahru
114b275e3b change "admin" to "project-owner" in test file description and comments
GitOrigin-RevId: f99231359ebd20d14aec8ca08d4cb9780abfb915
2022-07-12 08:04:15 +00:00
M Fahru
ce352bba4e fix ShareProectModal test case on displaying the project members and invites
GitOrigin-RevId: 07e7737fdc97733a834a53add40fc7b433b790f1
2022-07-12 08:04:08 +00:00
M Fahru
b245617b61 Import USER_ID and USER_EMAIL in ShareProjectModal test file from EditorProviders test mock
GitOrigin-RevId: e45bb0806cc4e0a4b315b8098da6e628c7f427d1
2022-07-12 08:04:01 +00:00
M Fahru
d84ba96ecb Remove unused isProjectOwner prop from ShareProjectModal
GitOrigin-RevId: e2f16694958172ad0ad3643c07a99daf1d0afe09
2022-07-12 08:03:55 +00:00
Alf Eaton
73a894b666 Read isProjectOwner from EditorContext
GitOrigin-RevId: 57cc4c709d5a9eb5ce1b0b5b5b1ac306b953538d
2022-07-12 08:03:48 +00:00
M Fahru
e26c90f5fc Rename isAdmin to isProjectOwner in he ShareProjectContext to avoid confusion
GitOrigin-RevId: 0bfc7317b197960114f2a06fbbc20818bc4c5ffb
2022-07-12 08:03:42 +00:00
Jakob Ackermann
b4402c41e8 Merge pull request #8808 from overleaf/jpa-clsi-linearize-examples
[clsi] linearize example pdfs and update xref table snapshots

GitOrigin-RevId: 5cfad6fdc4f6aef3366b62ca1c171f92e5f392fd
2022-07-12 08:03:30 +00:00
Brian Gough
12bd1d49e7 Merge pull request #8802 from overleaf/bg-reset-last-updated-in-migration
[web] reset last updated date in history migration

GitOrigin-RevId: 3d06eadf7d1dfb9b92a529d68de68f59370ab5de
2022-07-12 08:03:23 +00:00
Brian Gough
e32d1dbdd6 Merge pull request #8786 from overleaf/bg-check-age-for-migration
enforce cutoff date for track-changes history migration

GitOrigin-RevId: cd7b76281c66b7e6edc856d70660f2c5b8ae5275
2022-07-12 08:03:11 +00:00
Brian Gough
73f85d6e51 Merge pull request #8780 from overleaf/bg-import-zip-file-for-migration
import track-changes zip file from disk for history migration

GitOrigin-RevId: cb1d7f57e60ea6f627e63753c22f2ffc7e3b79ac
2022-07-12 08:03:05 +00:00
Brian Gough
a822819582 Merge pull request #8762 from overleaf/bg-force-new-history-on-failure
[web] allow forcing new history on migration failure

GitOrigin-RevId: bf84a6edf5a10b6aa3a1653e13a213552cb9272e
2022-07-12 08:03:02 +00:00
CloudBuild
63013b4049 auto update translation
GitOrigin-RevId: 64dd85e3b46daa89e2eb7c19c69cfa04fe78e152
2022-07-11 08:05:00 +00:00
M Fahru
c95c96a1d4 Fix big spacing on the bottom and the right side of the new plans page (#8767)
GitOrigin-RevId: c30ed0e7733eb48048162ed55d0359b449e4f10b
2022-07-11 08:04:53 +00:00
June Kelly
34a7d3598f Merge pull request #8787 from overleaf/msm-force-doc-flush
[web] script to force flushing docs to mongo

GitOrigin-RevId: 6ce3c1e456b92610fe4f90993b373db2070ab392
2022-07-11 08:04:42 +00:00
Jakob Ackermann
f11e1a83cd Merge pull request #8776 from overleaf/jpa-drop-service-worker
[web] goodbye service worker

GitOrigin-RevId: ce85d4850faba15c5877ce1f3e78026de30c6eae
2022-07-11 08:03:57 +00:00
Jakob Ackermann
db83832485 Merge pull request #8774 from overleaf/jpa-fix-pdf-metrics
[web] fix collection of pdf.js timing metrics

GitOrigin-RevId: ee4cd29cc737a740e367e8be1a00e688aa684462
2022-07-11 08:03:50 +00:00
CloudBuild
361570f0ab auto update translation
GitOrigin-RevId: 47e52927fb3091569d16723795be50164956bad1
2022-07-08 08:06:10 +00:00
ilkin-overleaf
0055858629 Merge pull request #8705 from overleaf/ii-cm6-advanced-references-search-close
[cm6] Prevent the moving of cursor to the top of the document

GitOrigin-RevId: 3cc3c2c260a668f96ff7f6b6f1dcf7edf33ed6c7
2022-07-08 08:05:27 +00:00
ilkin-overleaf
f2e6cf7a3b Merge pull request #8700 from overleaf/ii-cm6-source-editor-switch-toggle
[cm6] Prevent hopping to rich text when clicking the source button

GitOrigin-RevId: 2359e157c12026a1c5ceb8b6e40cd45956d75d1d
2022-07-08 08:05:10 +00:00
Alf Eaton
c8b0e81550 [cm6] Tidy up advanced references search banner code (#8674)
GitOrigin-RevId: a0044b9328af03a77ac3c3e5d5caa594bbd5fe6b
2022-07-08 08:04:49 +00:00
Eric Mc Sween
77aa2baa9d Merge pull request #8714 from overleaf/em-promisify-compile-manager
Promisify CompileManager

GitOrigin-RevId: 644ed061ae139d6196b24f8ead38579de6b844a3
2022-07-08 08:04:22 +00:00
Davinder Singh
fceeef5b31 Merge pull request #8502 from overleaf/ds-admin-user-info-part-2
User details page migration to react (Read only data) - part 2

GitOrigin-RevId: f0c0fe1e029a8a91021f151da5a2460ebe606de6
2022-07-08 08:03:49 +00:00
Miguel Serrano
88575dc58e Merge pull request #8735 from overleaf/msm-unset-allow-downgrade
[web] script to unset `history.allowDowngrade` in projects

GitOrigin-RevId: c30dfa64bfdd492d659cce308628f9e118449d5c
2022-07-08 08:03:43 +00:00
Timothée Alby
e6b681838b Merge pull request #8706 from overleaf/ta-beta-program-copy
Update Beta Program Copy

GitOrigin-RevId: 49afa2ca394bee3d48aeb37bbe909f666ff845a2
2022-07-08 08:03:36 +00:00
Timothée Alby
5bfb1b8781 Merge pull request #8704 from overleaf/ta-multiple-invites-fix
Fix UX on Duplicate Group Invites

GitOrigin-RevId: e51c406d578b130972024065f9b8bdb2503944a9
2022-07-08 08:03:30 +00:00
Timothée Alby
e48c23546e Merge pull request #8724 from overleaf/ta-subscription-contact-link
Link to Contact Page in Subscription Translations

GitOrigin-RevId: f255b0408cf4cf1e6e19cf8d3eebbe996327a598
2022-07-08 08:03:18 +00:00
Timothée Alby
b3dc3808c7 Merge pull request #8707 from overleaf/ta-user-context-fix
Fix User Context Attributes

GitOrigin-RevId: 1fed088785d21e9ec51f3f541487c2fa0e1d0111
2022-07-08 08:03:13 +00:00
Timothée Alby
8f41431719 Merge pull request #8620 from overleaf/ta-analytics-attributes-validate
Ignore Invalid Analytics Attributes

GitOrigin-RevId: 6e3ffc1dcc6088966480ad0704a988174e4fd3fb
2022-07-08 08:03:10 +00:00
Timothée Alby
22e24b1763 Merge pull request #8627 from overleaf/ta-a-an-overleaf
Fix Wording with appName Translations

GitOrigin-RevId: 435719fa4428ffba06bc80db91bca2e6dcaf295f
2022-07-08 08:03:06 +00:00
Timothée Alby
75a41e7f94 Merge pull request #8626 from overleaf/ta-register-copy
Change Copy of Login Link on Registration Page

GitOrigin-RevId: 55bad0b2f7fc3074c3db6fba025b5cc995569ff3
2022-07-08 08:03:03 +00:00
Timothée Alby
c92278a8e5 Merge pull request #8609 from overleaf/ta-preview-error-message-copy
Update Preview Errors Copy

GitOrigin-RevId: 0e7f7a4237a80c3fa2efc8ae87fc2011f4bc879d
2022-07-07 08:03:48 +00:00
Timothée Alby
1ffd5a70ef Merge pull request #8547 from overleaf/ta-github-error-detail
Display GitHub Sync Error Detail

GitOrigin-RevId: 89f1c7d3cce38aece49e8c68aa2187283054fb19
2022-07-07 08:03:42 +00:00
Thomas
34ccf343d4 Add sales contact form element type for Contentful CMS pages (#8711)
* Add sales contact form element type for Contentful CMS pages

GitOrigin-RevId: f9e2c0fac84434e473019aaacda4e06a03a97dbd
2022-07-07 08:03:31 +00:00
Jakob Ackermann
64184a7f56 Merge pull request #8730 from overleaf/jpa-refactor-pdf-caching
[web] refactor pdf caching

GitOrigin-RevId: af6b871fad652f757d8c465085b33a79b955cd6b
2022-07-07 08:03:28 +00:00
Brian Gough
0c63515de6 Merge pull request #8729 from overleaf/bg-return-file-too-large
[document-updater] return 413 error when doc is too large

GitOrigin-RevId: d66300c78bea4071f29044be160929dba782b728
2022-07-07 08:03:23 +00:00
Brian Gough
768a5a7d0f Merge pull request #8731 from overleaf/bg-return-not-found
[track-changes] return NotFoundError in DocumentUpdaterManager

GitOrigin-RevId: df09294d00fce0649557581554d1b7bbd88af419
2022-07-07 08:03:19 +00:00
M Fahru
8488068a82 Fix itm_campaign for "buy now" links has wrong value on interstitial payment page (#8632)
GitOrigin-RevId: 58ca6d4453f3cdfcb4f2dea8ddb3f6bc1b73a4fe
2022-07-06 08:03:19 +00:00
Alex Bourdin
21c11693d2 Fix resolution of user assignments for active split tests for admin
GitOrigin-RevId: c664d1e2b195313c0f9893cf000c670f22929788
2022-07-06 08:03:09 +00:00
M Fahru
9e6c2af73c Fix wrong url search params format for angular free trial button on project page (#8631)
GitOrigin-RevId: 76cff3caaeb9e492263b423116eb465b32d6ec3a
2022-07-06 08:03:06 +00:00
M Fahru
bbaac83b82 Refactor plans v2 sticky header to use dedicated config instead of hardcode (#8659)
GitOrigin-RevId: 3ea56ad5c6b9b5f6556e97429cf3e67a0b0d56bc
2022-07-06 08:03:02 +00:00
Alf Eaton
0b942bd8a8 Merge pull request #8708 from overleaf/ae-loading-threads-fix
Only dispatch the loaded_threads event once

GitOrigin-RevId: d9b8bf4a84d115fcc00edbf1901565ddb407c8be
2022-07-05 08:04:02 +00:00
Alf Eaton
4657465c0d Merge pull request #8703 from overleaf/ae-threads-loaded
Ensure that the loaded_threads event isn't dispatched for read-only link sharing users

GitOrigin-RevId: e03581f29f1a0aff122c3c16f4f6a3b70293c301
2022-07-05 08:03:56 +00:00
Eric Mc Sween
cc9b490ef6 Merge pull request #8651 from overleaf/em-transient-warnings
Stop on first error: filter out transient warnings

GitOrigin-RevId: ec17a24e05ec28106fdc11f3d3a9e243ae191547
2022-07-05 08:03:50 +00:00
Brian Gough
5a3318f5b3 Merge pull request #8701 from overleaf/bg-simple-iterable-paths
simple iterable paths

GitOrigin-RevId: f6906016888ccfc95c88858bdac4d2633fc1c5f4
2022-07-05 08:03:43 +00:00
Brian Gough
be71ea690d Merge pull request #8687 from overleaf/bg-validate-migration-updates
[web] validate updates in history migration

GitOrigin-RevId: 35e11417ff83db81ad1dfd29165577e142e64f74
2022-07-05 08:03:32 +00:00
Alf Eaton
5c94bd81e7 Merge pull request #8699 from overleaf/ae-comment-threads
Show tracked changes highlights if comment threads are not loaded

GitOrigin-RevId: 1aabe62e1aea0b63336ab33cbf199c3f24471495
2022-07-05 08:03:15 +00:00
CloudBuild
16c9793ae0 auto update translation
GitOrigin-RevId: dca109697d9e7ab06b4cc657392936bfae88ad73
2022-07-04 08:04:02 +00:00
Alf Eaton
78df903b69 Merge pull request #8639 from overleaf/ae-loading-threads
[cm6] Improve interaction between review panel and CM6

GitOrigin-RevId: 2f15a4821d4edfb5ee00013c74c7ae35fa59559c
2022-07-04 08:03:30 +00:00
June Kelly
58fe248968 Merge pull request #8584 from overleaf/jk-fix-ce-build
Fix CE build by conditionally loading webpack plugin.

GitOrigin-RevId: bfbfa6ae0130d21b5e1fa43a90cf247eb5b5c8fa
2022-07-04 08:03:12 +00:00
Jakob Ackermann
338eaf9a07 Merge pull request #8591 from overleaf/jpa-fix-pdf-caching-metrics
[clsi] fix options forwarding to pdf caching summary metrics

GitOrigin-RevId: 255fca6a1e980f08deec97ede5bc1d27e83dbda1
2022-07-01 08:04:24 +00:00
Jakob Ackermann
a4fa86deed Merge pull request #8542 from overleaf/jlm-drop-index-if-exists
Do not fail to drop non-existent indexes

GitOrigin-RevId: 226eba50a395f62751028e22030a53a0487f5343
2022-07-01 08:04:12 +00:00
Jakob Ackermann
3b84710d75 Merge pull request #8649 from overleaf/jpa-halt-on-error-flag
[web] record stopOnFirstError in compile-result-backend event

GitOrigin-RevId: f194daa1cb377e095acf7a280ff5ba7859b8736b
2022-07-01 08:04:05 +00:00
Jakob Ackermann
9fba03e70a Merge pull request #8641 from overleaf/jpa-pdf-caching-refresh
[web] serviceWorker: add support for zonal pdf downloads

GitOrigin-RevId: 490ff38ded19ebe32755b708e6ac270babfa519f
2022-07-01 08:03:59 +00:00
Brian Gough
da02a4f2be Merge pull request #8644 from overleaf/bg-archive-track-changes
archive track changes zip files in project when history migration fails

GitOrigin-RevId: 67f2381b0a8f2fb1de82100752031c65808af885
2022-07-01 08:03:52 +00:00
M Fahru
ac1f72263c Fix switch tooltip not showing the proper text on new plans page (#8608)
GitOrigin-RevId: efb49c7a6045b6a5b26a0b0d84a24d151f76f192
2022-06-29 08:05:07 +00:00
M Fahru
d00d40464f Implement interstitial payment page analytics (#8512)
GitOrigin-RevId: 927e85df0a933d3da2378443c38d852e1970b574
2022-06-29 08:05:01 +00:00
M Fahru
d5bc7c450c Implement interstitial payment page for free trial button on project page with split test (#8311)
GitOrigin-RevId: b24b4f91d281c2756aed68ec176d138fcdd52e54
2022-06-29 08:04:55 +00:00
Alf Eaton
054b0e2e28 Merge pull request #8583 from overleaf/ae-cypress-retries
Only retry Cypress tests in run mode

GitOrigin-RevId: e862f8e88e9fe970a5c2b9142c05d8b648ac4b1e
2022-06-29 08:04:43 +00:00
ilkin-overleaf
a0d1e918c8 Merge pull request #8602 from overleaf/jpa-auto-compile-tracking
[web] record isAutoCompile in compile-result-backend event segmentation

GitOrigin-RevId: b4b4b336d47987ef5d5ed132524a553ba5d4d140
2022-06-29 08:04:05 +00:00
ilkin-overleaf
b372a20002 Merge pull request #8580 from overleaf/ii-cm6-advanced-reference-search
[cm6] Advanced reference search keyboard shortcuts

GitOrigin-RevId: 7921aab8abeda1742b73cf0127b28a2166762ec2
2022-06-29 08:03:53 +00:00
CloudBuild
16126a9343 auto update translation
GitOrigin-RevId: ad62cc3d1fc3780da10c27c61655a86eb37609a8
2022-06-24 08:05:14 +00:00
Jakob Ackermann
4660029e38 Merge pull request #8535 from overleaf/jpa-missing-return
[web] add a missing return statement from an error branch

GitOrigin-RevId: 282972cee23f6b426413ede0885695e386fc9352
2022-06-24 08:05:08 +00:00
Jakob Ackermann
50dd7a37f7 Merge pull request #8567 from overleaf/jpa-missing-class
[web] fetch compileBackendClass for linked project output downloads

GitOrigin-RevId: fc29aa700df879402ba1734775160799ce8ce61d
2022-06-24 08:05:01 +00:00
Jessica Lawshe
69206eb363 Merge pull request #8563 from overleaf/ta-jobs-redirect
Change /jobs Redirect

GitOrigin-RevId: 9c9948312c26285a3f0daf6a7e063b6e1a62e793
2022-06-24 08:04:55 +00:00
Jessica Lawshe
09c8a49499 Merge pull request #8561 from overleaf/jel-fix-a11y-text
[web] .sr-only text not nested within aria-hidden

GitOrigin-RevId: 1bb8e1d2322a68df5288ad0f8c7b99acb2f41d2e
2022-06-24 08:04:49 +00:00
Brian Gough
0d10d9b670 Merge pull request #8564 from overleaf/bg-fix-docupdater-script
[scripts] fix flush_track_changes script to use correct redis

GitOrigin-RevId: 4fd8b106870bd0f80bcc925a8c2e8a740c7d2bf5
2022-06-24 08:04:37 +00:00
Alf Eaton
e0d2b3f29a Upgrade Cypress to 10.2.0 (#8545)
GitOrigin-RevId: 0818a67f57fed3cbde4453dd1c2949d8d20b7ab0
2022-06-24 08:04:09 +00:00
Brian Gough
e11b504c5a Merge pull request #8501 from overleaf/bg-handle-broken-ops
[track-changes] handle broken ops when generating zip file

GitOrigin-RevId: d90ee1f01bc191f39538588499f9a8983652964c
2022-06-24 08:04:03 +00:00
Alf Eaton
2bd7bb449f Merge pull request #8523 from overleaf/jpa-cypress-retries
[web] enable 3 retries for all cypress tests

GitOrigin-RevId: 9624baeae66cfcf770986920250a11284787f51d
2022-06-24 08:03:56 +00:00
June Kelly
3d38087297 Merge pull request #7880 from overleaf/jk-cm6-parser-migrate-to-web
[web] CM6: Migrate lezer parser to web

GitOrigin-RevId: d6f63ab2f3440292373bcc814c3769285be47c2b
2022-06-24 08:03:44 +00:00
Brian Gough
496f283892 Merge pull request #8544 from overleaf/bg-fix-log-message
fix message in downgrade_project script

GitOrigin-RevId: 9619f1122d1d242a1f3cfd7e07c7ddfd908e340e
2022-06-24 08:03:40 +00:00
Brian Gough
4ec107137a Merge pull request #8551 from overleaf/bg-docupdater-flush-script-for-track-changes
add script to flush to track-changes data from project-history redis

GitOrigin-RevId: c2cad02e5b167528d32061984fa143bbe331a32c
2022-06-24 08:03:36 +00:00
Brian Gough
e7e4e49d90 Merge pull request #8546 from overleaf/bg-fix-docupdater-history-redis
[document-updater] docsWithHistoryOps should use the main rclient

GitOrigin-RevId: a86c081ea0b0f02a9d4c36df0ca76dc9aa3bac57
2022-06-24 08:03:32 +00:00
CloudBuild
ef8e181dff auto update translation
GitOrigin-RevId: 41e20f1707ad48e035e80fe0bd076b531e660f0a
2022-06-23 08:03:11 +00:00
Eric Mc Sween
318cf770a7 Merge pull request #8556 from overleaf/em-tl-image-alpha-only
Show new TeX Live images to alpha users

GitOrigin-RevId: 4a4a96cc1a6661720fcc14dd1ffae275d19a004a
2022-06-23 08:03:08 +00:00
Jakob Ackermann
a481c66a07 Merge pull request #8550 from overleaf/jpa-disable-feedback-ui
[web] disable faster compiles feedback UI

GitOrigin-RevId: 13566029cb6b37054d129d677a50e63484d9642a
2022-06-23 08:03:04 +00:00
M Fahru
df93eaef1c Change copy for premium features discoverability on thank you for subscribing page (#8531)
GitOrigin-RevId: faab715bc86bced4b33deb7493b8fe7743359573
2022-06-23 08:03:01 +00:00
M Fahru
d8fee0d91a Implement premium features discoverability for user subscription page with split test (#8355)
GitOrigin-RevId: c4bc01361a2d627f0a87f4ddeb8be8ed40f9acab
2022-06-23 08:02:58 +00:00
M Fahru
361f6f245a Refactor new plans page (#8493)
* [web] hide the monthly/annual switch for small screens via css

Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>

* [web] merge logic for hiding elements shown in a subset of view

Co-Authored-By: M Fahru <m.fahru@overleaf.com>

* [web] hide the monthly/annual switch for small screens via css

Co-Authored-By: M Fahru <m.fahru@overleaf.com>

* [web] merge logic for hiding elements shown in a subset of view

Co-Authored-By: M Fahru <m.fahru@overleaf.com>

* fix inverted logic on monthly annual checking

* delete some duplicated logic and refactor

* merge switch functions

* move global variable into the main module

* simplify the enable and disable switch

* remove unused parseFloat

* simplify group plan pricing calculation

* simplify discount group plan logic

* simplify sticky header logic

* merge view and period switching

* fix underlining of switch text

* simplify class list toggling

* merging two function of the group plan

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 5e51690514bbf1dee2639011748c6a8470e1c19a
2022-06-23 08:02:56 +00:00
M Fahru
9e91685445 Fix group modal search persistence when closing the modal (#8525)
GitOrigin-RevId: 3b3dcdaa09439715e66cfbf522f397c6ae2c930c
2022-06-23 08:02:53 +00:00
Jakob Ackermann
51c870c285 Merge pull request #8505 from overleaf/jpa-compile-result-full
[web] collect compile-result for ALL compiles

GitOrigin-RevId: 5ba29fb352bc29d14c22e7e80fa556148d862137
2022-06-23 08:02:46 +00:00
Alexandre Bourdin
b9b61d4f20 Merge pull request #8532 from overleaf/ta-dictionary-release
Prepare Dictionary Edit Feature for Release

GitOrigin-RevId: 1f17143c5aa89ec7a87c2fd0d35f1de4caabf33b
2022-06-23 08:02:40 +00:00
Alexandre Bourdin
3d26c4bb6f [web] Add new admin tool for surveys (#8356)
* Setup survey module and admin page skeleton

* Replace survey staff access permission with admin-only

* Manage survey config with admin tool

* Display configurable survey in project list + add preview in admin

* Fix linting errors and unit tests

* Add acceptance tests for survey module

* Move survey-form to survey components

* Add configuration option for Recurly group subscription users on surveys

* Change survey pre-link text to a lighter gray for accessibility

* Cleanup survey options implementation after review

GitOrigin-RevId: 8f621951efeae458d1ab081fe98b8d0d539cca1a
2022-06-23 08:02:37 +00:00
Alexandre Bourdin
21c8b9a47a Merge pull request #8426 from overleaf/ta-error-pages-style
Update General Error Pages Style

GitOrigin-RevId: 04346784c94d5ce6bf3257fd128a3f00da4c4e9e
2022-06-23 08:02:34 +00:00
Brian Gough
b0d48c49f2 Merge pull request #8536 from overleaf/bg-downgrade-history-script
[scripts] downgrade history for a project

GitOrigin-RevId: 620440482e176404529edcbe89d696970bdc5652
2022-06-23 08:02:32 +00:00
Jakob Ackermann
c999033eb4 Merge pull request #8534 from overleaf/jpa-fix-downloads
[web] double down on passing compileBackendClass to clsi

GitOrigin-RevId: 6e035a885caa31e55ff0cf63c584f3f03629f1cf
2022-06-22 08:05:40 +00:00
Alf Eaton
34f15ba016 Merge pull request #8524 from overleaf/ae-detached-test
Attempt to fix flaky Cypress test

GitOrigin-RevId: c49ec0b763e5dd3dde8c207021f1cb1a504f426c
2022-06-22 08:05:33 +00:00
Eric Mc Sween
7837af0afd Merge pull request #8511 from overleaf/em-stop-on-first-error-info-badge
Replace stop-on-first-error beta badge with info badge

GitOrigin-RevId: d0f8d1c6e960646bd257aeaf5efc21b23615242b
2022-06-22 08:05:27 +00:00
Jakob Ackermann
b04bc4798e Merge pull request #8473 from overleaf/ii-cm6-missing-keyboard-shortcuts-2
[cm6] Add missing keyboard shortcuts 2

GitOrigin-RevId: 29f68cd2eb9d0ad931fff463f76ddb91b5275516
2022-06-22 08:05:20 +00:00
Jakob Ackermann
bfad0841a4 Merge pull request #8483 from overleaf/jpa-faster-compiles-feedback-ui
[web] faster compiles feedback UI

GitOrigin-RevId: 9feea47503aa6bddf51adb73b8c9fbef394fda14
2022-06-22 08:05:14 +00:00
Jakob Ackermann
9d913a0cea Merge pull request #8522 from overleaf/jpa-rename-event
[web] rename analytics event for server side compile result details

GitOrigin-RevId: c7646918c455f992425013ff517e76a669e5cc46
2022-06-22 08:05:08 +00:00
John Lees-Miller
092ef7925c Handle no splitTestVariants metadata
GitOrigin-RevId: c59262c51cffc92a38e40c1e3f08a92e5fa030b0
2022-06-22 08:05:02 +00:00
John Lees-Miller
fcf9c92160 Split test for log parser changes
GitOrigin-RevId: efe9fb29c5ae56889b686692f8533ae0ae4a3b1d
2022-06-22 08:04:55 +00:00
Eric Mc Sween
3fb74c5cd4 Refactor log parser tests
GitOrigin-RevId: 88bf35a04b8f6eca7bd6b4270403c15c53e17406
2022-06-22 08:04:49 +00:00
Eric Mc Sween
f8c2f89128 Add log parser tests for open source issue 1023
GitOrigin-RevId: 0839d5bb5a4227ebd1d41d26a4fb706286670c96
2022-06-22 08:04:43 +00:00
Eric Mc Sween
4c546adbb1 Add non-capturing groups
GitOrigin-RevId: 313e62d4add4bd0694efd98927032edf6114f8e5
2022-06-22 08:04:36 +00:00
Copybot
f5da397d5c Merge pull request #1024 from gucci-on-fleek:main
GitOrigin-RevId: 759fff1f03907613b225c82d07f31fa691cfd967
2022-06-22 08:04:31 +00:00
Alf Eaton
bd64a167f4 [cm6] Wrap compile log annotations in a lint source (#8451)
GitOrigin-RevId: d404560313cbb99c7a06453bc3b7d2374e86598a
2022-06-22 08:03:47 +00:00
June Kelly
a450a74351 Upgrade async package to 3.2.2 (#8447)
* Revert "Revert "Bump async to 3.2.2 (#7618)""

This reverts commit 75153a555211d654744c2e61e27fe21085826c22.

* [web] fix usage of async.queue.drain in script

* [clsi] fix usage of async.queue.drain

* [spelling] fix usage of async.queue.drain

* [redis-wrapper] fix usage of async.queue.drain

* [web] Test that LockManager queue is cleared

This protects against a regression found when upgrading the
async package. Here we test that the `queue.drain` callback
is really getting called, and the lock is being removed from
the LOCK_QUEUES map.

* [redis-wrapper] Upgrade async to 3.2.2

GitOrigin-RevId: df921e6d7f1d505bd467f22e58600ba1aff48869
2022-06-22 08:03:35 +00:00
Miguel Serrano
1c78e211f6 Merge pull request #8513 from overleaf/msm-fix-conversion-typo
[web] fixed env names in scripts

GitOrigin-RevId: 3989514b23773642d4834ffca12cf97c756ade4c
2022-06-21 08:03:17 +00:00
Miguel Serrano
e7c8329491 Merge pull request #8492 from overleaf/msm-history-migration-convert-large-docs
[web] Updated history upgrade scripts to move large docs to filestore

GitOrigin-RevId: 11ac9fc879ff03756e3ec41bb156e878c4223014
2022-06-21 08:03:13 +00:00
Thomas
3a1bba07f7 Merge pull request #8436 from overleaf/tm-update-wording-subscription-dashboard
Update wording on subscription dashboard

GitOrigin-RevId: 4739677fcf46e5de4db3e3fe2411f6ed9898aa2c
2022-06-21 08:03:08 +00:00
M Fahru
4c37d47daf Change British spelling for "customise" and "personalise" to American spelling (#8475)
GitOrigin-RevId: fe5754f08ff337148d8e8717a7495ad1e855fdbf
2022-06-21 08:03:04 +00:00
M Fahru
333495f3ab Change capitalization on the new plans page tab text (#8470)
GitOrigin-RevId: 7f30e3eac571de0779216a46f12d7c3f2abfd75f
2022-06-21 08:03:01 +00:00
M Fahru
66c27ae153 Fix interstitial page student plans have wrong button background color (#8489)
GitOrigin-RevId: f9f3ec239c06c9ecc7e608aaf879d69041c0a9a3
2022-06-21 08:02:58 +00:00
ilkin-overleaf
6235f3ea56 Merge pull request #8482 from overleaf/jpa-compile-result-segmentation
[web] simplify segmentation of compile-result event

GitOrigin-RevId: 8cd42bb7712b9cc2385c3681b78d493b3fa138ce
2022-06-21 08:02:54 +00:00
CloudBuild
c4c7cda19a auto update translation
GitOrigin-RevId: c9b8fcefe20767bcd325116088927123dfecf391
2022-06-20 08:04:26 +00:00
CloudBuild
36deee906f auto update translation
GitOrigin-RevId: feb29d63e05be63c805f396aea76e0f02bf17507
2022-06-20 08:04:20 +00:00
Brian Gough
bc31247d24 Merge pull request #8471 from overleaf/bg-ignore-upgradefailed-when-history-does-not-exist
[scripts] allow history upgrade in failure case

GitOrigin-RevId: 7c789968bd74719e3a0232422094ae3e9231a044
2022-06-20 08:04:17 +00:00
Thomas
f340762b39 Show upgrade prompt in all pdf detach layouts (#8469)
GitOrigin-RevId: eaaff1e96602ae185fd98cccfb9863827972d4fb
2022-06-20 08:04:13 +00:00
M Fahru
21837fefd7 Change URL for interstitial payment page to /user/subscription/choose-your-plan (#8406)
GitOrigin-RevId: ed1832157b2540bf121e64f20d001d665125924e
2022-06-20 08:04:10 +00:00
M Fahru
c54c048e35 Implement premium features discoverability on successful subscription page with split test (#8336)
GitOrigin-RevId: 362fa289fa6e009e316dcaceae0587f5fc18162c
2022-06-20 08:04:06 +00:00
Brian Gough
2970a09d19 Merge pull request #8423 from overleaf/briangough-issue8388
increase lock and timeout for history resync to 6 minutes

GitOrigin-RevId: 2aea0cbc26c92ed0aad8f815ccd41a2abc0b752e
2022-06-20 08:04:03 +00:00
Alexandre Bourdin
57114c4503 [web] Display the current plan in the project list dashboard (#8293)
* Display the current plan in the project list dashboard

* Add unit tests for SubscriptionViewModelBuilder#getBestSubscription

* Handle free trial for group subscriptions

* Reuse the info-badge icon for the plan labels

* Do not display subscription status when projects are selected

* Custom tooltip for group subscriptions with team name

GitOrigin-RevId: 40982f70cf9fb7c92058e417b73c84af1648c33e
2022-06-17 08:03:40 +00:00
Davinder Singh
c30ec5fa7c Merge pull request #8422 from overleaf/ta-silent-error
Silence Error If AffiliationUnchecked Flag Cannot Be Unset

GitOrigin-RevId: 1e0ffc401dfcc1ac9ae1a3d1de850ab899b4ce8e
2022-06-17 08:03:28 +00:00
Davinder Singh
ff6c88de0c Merge pull request #8452 from overleaf/jel-check-emails-script
[web] Check users concurrently

GitOrigin-RevId: 2bca99c5b6b84ddb71b0f96c412238ecffa0f953
2022-06-17 08:03:22 +00:00
Davinder Singh
5498d59c6b Merge pull request #8259 from overleaf/ds-admin-panel-register-new-user
Migrating admin panel register new user to react

GitOrigin-RevId: 520fea91cd9e560e4381504de45e5bedf11a7844
2022-06-17 08:03:16 +00:00
Davinder Singh
eba2fe9a3e Merge pull request #8212 from overleaf/ds-remove-registration-field-home-page
Remove registration from home page

GitOrigin-RevId: 3bd04f2f2aa62ef5f3fa8a0cdd09e461c38a27e9
2022-06-17 08:03:10 +00:00
Brian Gough
b6ab0792a9 Merge pull request #8401 from overleaf/bg-use-redis-locker-in-web
extract web LockManager implementation into redis-wrapper

GitOrigin-RevId: 60144d1b1136bab90475cb4b4a6597e1b3f6af22
2022-06-17 08:03:00 +00:00
Jakob Ackermann
b19c56ccaf Merge pull request #8396 from overleaf/jpa-split-test-mongo-user
[web] implement split test assignment based on mongo user

GitOrigin-RevId: d3e2dff6a5e925cfd0426e9ebfeb7b64dc803f42
2022-06-16 08:03:20 +00:00
Eric Mc Sween
dfc33805cb Merge pull request #8383 from overleaf/ms-em-settings-page-emails
Move "Primary" badge under the email address in settings

GitOrigin-RevId: ecb11047d9db6feb3bc0128f4a1d490836be7ab5
2022-06-16 08:03:15 +00:00
Jakob Ackermann
8cdb746628 Merge pull request #8434 from overleaf/revert-7618-dependabot-npm_and_yarn-async-3.2.2
Revert "Bump async to 3.2.2"

GitOrigin-RevId: a5deaea558011fa5a2e1aebe07856e8b0c87c4fc
2022-06-16 08:03:10 +00:00
dependabot[bot]
d55f4dfafa Bump async to 3.2.2 (#7618)
[all] Upgrade async package to 3.2.2

- [web] Fix usages of async library
- [project-history] Fix usage of async library
- [third-party-references] Fix usage of async library
- [track-changes] Fix usage of async library

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: June Kelly <june.kelly@overleaf.com>
GitOrigin-RevId: 90cf132f13da53b2bd6690ee3cdf4d6c8563ecd2
2022-06-16 08:02:49 +00:00
CloudBuild
2dce428d89 auto update translation
GitOrigin-RevId: 2c4c274d28d7178d35b288b4a3840c6a6df9216c
2022-06-15 08:05:37 +00:00
Eric Mc Sween
aa60c0846d Merge pull request #8405 from overleaf/em-halt-on-error-beta-survey
Stop on first error beta badges

GitOrigin-RevId: 1f5609518a81d12eb81fd4d1ca51ef432e039548
2022-06-15 08:05:30 +00:00
Jessica Lawshe
365250b3c6 Merge pull request #8250 from overleaf/jel-get-saml-user
[web] Lookup SAML users by ID and attribute

GitOrigin-RevId: 874cc1647522257a941a49bc737f0f40833edef6
2022-06-15 08:05:24 +00:00
ilkin-overleaf
41c715c40d Merge pull request #8378 from overleaf/ii-cm6-three-way-toggle
[cm6] Make cm6 as the default source editor

GitOrigin-RevId: b56724d2c147792c55ce01cf272fbcce16f87916
2022-06-15 08:05:18 +00:00
M Fahru
1070dd53f3 Remove footer and rightside of the navbar on the interstitial payment page (#8407)
Co-authored with Thomas Mees (thomas.mees@overleaf.com)

GitOrigin-RevId: 270e11f0cfd09830e5c7600d636b8ebbfc6049a2
2022-06-15 08:05:00 +00:00
M Fahru
0204d7947f Refactor successful subcription to use async/await (#8377)
GitOrigin-RevId: 5748486848c6e0576c974e5595acbcdee3daf7f3
2022-06-15 08:04:54 +00:00
Timothée Alby
34bc2ac9ec Merge pull request #8402 from overleaf/msm-history-conversion-script
[web] Allow running history conversion script on single project

GitOrigin-RevId: 799d0a00e2ebabe6c7bbfd6bdbdb58a6025ce53f
2022-06-15 08:04:30 +00:00
Timothée Alby
825c06a3b4 Merge pull request #8376 from overleaf/jpa-delete-zonal-downloads-split-test
[web] tear down split test on zonal downloads -- keep zonal variant

GitOrigin-RevId: a7e1f48cdc64175e4fc28828ad9a46b0a28383b5
2022-06-15 08:04:18 +00:00
Timothée Alby
7794e03dcb Merge pull request #8363 from overleaf/jel-affiliation-check
[web] Handle when no affiliation found for redundant subscription check

GitOrigin-RevId: c0e653b944b994c5eafaa2d4f2d54f3cb57d67fa
2022-06-15 08:04:12 +00:00
Timothée Alby
343cfe4f06 Merge pull request #8360 from overleaf/jel-remove-not-needed-script
[web] Remove SAML backfill update script

GitOrigin-RevId: 5166ced7657ddc24c99bbd0873874e5c01bbab0f
2022-06-15 08:04:05 +00:00
Timothée Alby
23ba2b43fb Merge pull request #8412 from overleaf/ta-layout-dropdown-survey
Update Layout Dropdown Survey Link

GitOrigin-RevId: 48affa27223232a2585c18f88d200ef96ac2552b
2022-06-15 08:03:41 +00:00
M Fahru
e3b313d98c Fix tooltip is blocking group modal on the default plans page (#8387)
GitOrigin-RevId: 9663bce7962fd8875afbbcdeb513191135a299fe
2022-06-14 08:02:40 +00:00
Alexandre Bourdin
ad3eb0bfcc Merge pull request #8389 from overleaf/ab-fix-analytics-enabled-flag
Skip persisting assignment when analyticsEnabled is turned off

GitOrigin-RevId: e22b2cc29a5741ad90743ebaf5eb2c91cca0a2f5
2022-06-14 08:02:35 +00:00