Commit graph

24630 commits

Author SHA1 Message Date
Davinder Singh
b38c6eab7c Customer IO - Initial functions Setup (#22972)
* adding a hello world end point in analytics service for customerio

* adding updateCustomerIoUser handler function

* setting up the function recordUserAnalyticsEvent

* removing hello function and adding end points for update and track function

* installing the node js source for customer io

* adding the the functions for identify and track events

* adding a properties property

* adding new API key

* cleaning some code and making some changes to make it work

* renaming function to include identify keyword

* adding some detailed succes messages and try catch blocks

* adding a temporary key for testing

* adding the env variable for key

* adding a fallback value for acceptance test, this will need more investigation later on

* deleting the controller, as the handler functions will directly be linked to the customerio queue, so we do not want this path anynmore

GitOrigin-RevId: 38e0cb713e5d6a14c70cdbfb2a7463c633746bbe
2025-02-20 09:05:32 +00:00
Alf Eaton
f40118e58b Increase the length of unsaved doc time before the editor is locked (#23431)
* Use opInflightSince to measure unsaved doc time
* Use performance.now() for lastAcked timestamp
* Use inflightOpCreatedAt
* Increase MAX_UNSAVED_ALERT_SECONDS to 15
* Increase MAX_UNSAVED_SECONDS to 30
* Increase FATAL_OP_TIMEOUT to 45000
* Convert "Connection lost" modal to a notification

GitOrigin-RevId: 2d4233723620fd03ce6d6c5795c48c33c0b2f92c
2025-02-20 09:05:20 +00:00
Alf Eaton
04a2e24a89 Use refs and timeout for editor heartbeat events (#23340)
GitOrigin-RevId: 4eb7697fb40c9aaf523765c256c870a21afb0844
2025-02-20 09:05:15 +00:00
Alf Eaton
97d7a60f68 Increase the maximum width of the search input (#23140)
GitOrigin-RevId: 70619c42cbbb16047a929e773a30ba4c0b5cfa50
2025-02-20 09:05:11 +00:00
Rebeka Dekany
d1ddfadd0d Merge pull request #23639 from overleaf/rd-fix-scrollbar-text-admins
Fix tables and tabs responsiveness on the admin pages

GitOrigin-RevId: 94c8cea8933f4f908c50aa404e45f23642852c15
2025-02-20 09:05:06 +00:00
Eric Mc Sween
4152d3d796 Merge pull request #23667 from overleaf/em-read-only-label-version
Prevent read-only users from labelling a version

GitOrigin-RevId: 472e70f3860553b131f20afe3dfd01aa00bd48fa
2025-02-19 09:05:26 +00:00
Eric Mc Sween
79bb2e3d40 Merge pull request #23673 from overleaf/em-reviewer-role-delete-replies
Let reviewers delete their own comments

GitOrigin-RevId: bd5341a917a3e886dc573d7e42d12343da6700cd
2025-02-19 09:05:21 +00:00
Mathias Jakobsen
a34ebd3c7e Merge pull request #23660 from overleaf/mj-history-tooltip
[web] Editor redesign: Add tooltip to history button

GitOrigin-RevId: c14dab2c6d62d10312f9d5097fd95cad5cae1397
2025-02-19 09:05:17 +00:00
Mathias Jakobsen
fb12a1bc8e Merge pull request #23656 from overleaf/mj-ide-toolbar-buttons
[web] Reduce toolbar and rail size in editor redesign

GitOrigin-RevId: 9e9670c37664355f4bc287a5561b427768bb4436
2025-02-19 09:05:12 +00:00
David
46e9c69d8e Merge pull request #23597 from overleaf/dp-integrations-panel
Add integration panel to new editor

GitOrigin-RevId: 85e038c645e40d0ea596ed35d31448caa232e298
2025-02-19 09:05:02 +00:00
Antoine Clausse
f096ffaa43 [web] Send security alert email when secondary is added (#23657)
* [web] Send security alert email when secondary is added

* [web] Add test: checkSecondaryEmailConfirmationCode - sends a security alert email

* Move `_sendSecurityAlertEmail` before `addEmailAddress`

GitOrigin-RevId: 8d9c496fffd953871e03d8c7f011c42459eeb0bc
2025-02-18 09:05:14 +00:00
Antoine Clausse
98ea3664f2 Create script: remove_unconfirmed_emails.mjs (#23079)
* Create script: remove_unconfirmed_emails.mjs

* Update script remove_unconfirmed_emails.mjs after pairing

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>

* Add user counts. Add timing

* Revert previous changes: just remove the fully unconfirmed emails

* Add tests on scripts/remove_unconfirmed_emails.mjs

* Update audit log so `removedEmail` is a string and doesn't break the admin-panel audit logs list

* Update remove_unconfirmed_emails to have a `--generate` and a `--consume` mode

* Update tests on remove_unconfirmed_emails

* Add tests checking that `--consume` doesn't delete any email

* Update script so `--consume` checks that emails shouldn't be deleted again!

* Update CSV path to `/tmp/...`

* Add test cases: deleted users, deleted email, comma in email

---------

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 8c60b56bcdfa33bc6143d66c32a5f430fb76f6d7
2025-02-18 09:05:10 +00:00
Jakob Ackermann
b79af7f6d3 [server-ce] upgrade mongo to 6.0 in e2e tests (#23611)
* [server-ce] upgrade mongo to 6.0 in e2e tests

* [server-ce] upgrade mongo to 6.0 for CE dev-env

GitOrigin-RevId: 6a76297d32177a8b5a067d325e74bdb01971af30
2025-02-18 09:04:55 +00:00
Davinder Singh
39884d8199 Merge pull request #22733 from overleaf/ds-sso-login-redesign-bs5-2
Website Redesign & BS5 migration - SSO Login page (2)

GitOrigin-RevId: d0d5752e2ce84a70dfb50a3de0c200c468de0cb8
2025-02-18 09:04:43 +00:00
Davinder Singh
0c8e31708a Merge pull request #22716 from overleaf/ds-sso-login-redesign-bs5
Website Redesign & BS5 migration - SSO Login page

GitOrigin-RevId: 9c819479c7ca6510d2e683881564427c91c4f04e
2025-02-18 09:04:38 +00:00
Eric Mc Sween
b507c8e1bb Merge pull request #23612 from overleaf/em-find-dangling-comments
Add script to find projects with dangling comments

GitOrigin-RevId: 31048defa2f33c2bf23d14ddc643366775df3104
2025-02-18 09:04:34 +00:00
roo hutton
e954afa1c2 Merge pull request #23618 from overleaf/rh-compile-timeout-paywall-event-tracking
Add events to compile timeout paywall

GitOrigin-RevId: 2982e1a8c6494bafbc3137a25f5e9eb08182812b
2025-02-18 09:04:26 +00:00
Kristina
61f4e3f9d5 [web] fix UI regressions on share modal (#23542)
* restore `yellow-40` to the warning label
* adjust actions layout so dropdown always stays readable

GitOrigin-RevId: 60886cd71e7041976fe2467cf7ab946a6ef90be6
2025-02-18 09:04:21 +00:00
CloudBuild
3a898e2b61 auto update translation
GitOrigin-RevId: 3ef229bb22a6986ab693076b4386a0258acc8cbb
2025-02-17 09:05:18 +00:00
Antoine Clausse
ed3442ada6 [web] Update socket diagnostics: 2 columns, copy to clipboard (#23581)
* Use 2 columns for socket diagnostics

* Fixup time so it's never negative

* Add "Copy to clipboard" feature

GitOrigin-RevId: ba7bcc672287c2697afadd904ade315b4a39f954
2025-02-17 09:05:07 +00:00
Antoine Clausse
5d42e51d3e Remove feature-flag bootstrap-5-subscription (#23114)
GitOrigin-RevId: 4a8dadb7e5ae65c2651b1eeb317bb43daca881c8
2025-02-17 09:05:02 +00:00
Andrew Rumble
ccb2791a0d Merge pull request #22646 from overleaf/ar-address-mongo-count-deprecation-warning
[web] Switch from find.count to countDocuments

GitOrigin-RevId: cc607868334d54b3d5c375c06fec97a482a16cc5
2025-02-17 09:04:58 +00:00
Alf Eaton
784d107472 Skip "should not flag affiliations outside of notification period" test (#23619)
GitOrigin-RevId: 060158f5b3958577c3c1ebde8490cad2c763da88
2025-02-17 09:04:53 +00:00
Alf Eaton
4611de3f3d Update tooltip text for search buttons (#23448)
GitOrigin-RevId: d189aac06c5f68e009eeb125d7cc225b41e8cc0c
2025-02-17 09:04:45 +00:00
Davinder Singh
cd7b1bf649 Compile timeout- Adding the paywall component (#23606)
* adding the upgrade prompt component

* adding the container queries for cards

* removing comment

* styles:lint:fix

* adding ? for checking

GitOrigin-RevId: 63250f73fa543b510423835633de04eff69c47c5
2025-02-17 09:04:40 +00:00
Mathias Jakobsen
05045ee9f7 Merge pull request #23607 from overleaf/mj-papers-default-on
[third-party-references+web] Default to personal library in Papers integration

GitOrigin-RevId: 0a5a3de273341c1f5d5bd50b9c0f8fe98cd7504e
2025-02-14 09:04:27 +00:00
Mathias Jakobsen
7cf2359a62 Merge pull request #23545 from overleaf/mj-dp-labs-bs5
[web] Convert labs participation page to BS5

GitOrigin-RevId: 6a471b5162ee8485f2744157f29d1b94b59c8d4c
2025-02-14 09:04:24 +00:00
Mathias Jakobsen
f7c4df8d04 Merge pull request #23582 from overleaf/mj-material-icon-font-test
[web] Add cypress test for MaterialIcon variants

GitOrigin-RevId: 816ee12e8d50482c0b4fd05adc0511445d82ca8d
2025-02-14 09:04:20 +00:00
Davinder Singh
60eaca8301 only displaying the new paywall component for project owners (#23586)
GitOrigin-RevId: f30c5abd2db361742a1a35d5147ac83345fe44a8
2025-02-14 09:04:14 +00:00
Davinder Singh
de50b9b76c Compile timeout paywall after message: Adding the correct translations (#23564)
* adding the right translations to match figma

* adding 2 more translations

* adding the correct styling for the translation

* adding the last translation

* removing unused button and extra line

* adding the p tags and necessary styling to remover margin bottom

GitOrigin-RevId: 97c47e53ee4ae13e95027c602521258f056a6bed
2025-02-14 09:04:10 +00:00
MoxAmber
420c3881c2 Merge pull request #23503 from overleaf/as-compile-timeout-paywall-primary
[web] Create UpgradePrompt paywall component

GitOrigin-RevId: 591eaae0c179c7419f8ec93284cebb3ecfc52154
2025-02-14 09:04:07 +00:00
Liangjun Song
be33d0dd67 Merge pull request #23599 from overleaf/ii-flexible-group-licensing-vat
[web] Change "Sales tax" to "VAT"

GitOrigin-RevId: 549c6cea7bcb52d08d3b0967cf5fa446da901379
2025-02-14 09:04:03 +00:00
David
8e18162491 Merge pull request #23595 from overleaf/dk-can-review-order
Swap the order of "can view/can review" options

GitOrigin-RevId: d58a4633b02be1bcf28f7c483c046fa18a97adb6
2025-02-14 09:03:59 +00:00
ilkin-overleaf
4c60432229 Merge pull request #23563 from overleaf/ii-flexible-group-licensing-errors
[web] Flexible licensing error handling

GitOrigin-RevId: 9fd4992a81e67b0684d3e286492e0037dd56e2ea
2025-02-14 09:03:52 +00:00
roo hutton
be8adaf142 Merge pull request #23472 from overleaf/rh-timeout-paywall-plans
Expose plan prices to compile timeout paywall

GitOrigin-RevId: 33ee11bc0b770a2786931894ba9ae57312a7efa9
2025-02-14 09:03:45 +00:00
Domagoj Kriskovic
8183c0785c Validate privilege levels when sending /invite request (#23533)
* Validate privilege levels when sending /invite request

* add acceptance tests

GitOrigin-RevId: 4ccd0ad3504c3c5770f5ee2b2f6d34ef746d1430
2025-02-14 09:03:37 +00:00
Brian Gough
d2738fda73 Merge pull request #23565 from overleaf/bg-fix-history-metadata-in-projects-collection
fix history metadata in projects collection

GitOrigin-RevId: 18c821ef5966a8470b24dfa60313b09bdda9707d
2025-02-14 09:03:33 +00:00
Jakob Ackermann
6bea6a887d [web] decrease concurrency for thread-loader when running tests (#23567)
GitOrigin-RevId: 4aac1bf478af8a12c96765eafd4adfbaaf8b4a22
2025-02-13 09:07:04 +00:00
Jakob Ackermann
add8c3d120 [web] start webpack/pug build with low priority before all tests passed (#23569)
GitOrigin-RevId: 6fa6c6cd3c12fd28aad3d46cf8870bcef6b67a37
2025-02-13 09:07:00 +00:00
Jakob Ackermann
da31539306 [web] use a tmpfs for the data-dir of the acceptance tests (#23571)
Moving mongodb onto a tmpfs requires too much memory.

GitOrigin-RevId: e870ed8b5349c13e948f7037369fb52356cd562c
2025-02-13 09:06:55 +00:00
David
b974b501f4 Merge pull request #23576 from overleaf/mj-ide-redesign-font
[web] Update material symbols unfilled font

GitOrigin-RevId: 1d6fab495d9b1a24702a94bcfc5a32673186f725
2025-02-13 09:06:47 +00:00
David
1d648f9755 Merge pull request #23502 from overleaf/dp-pdf-typescript
Convert PDF Preview components to typescript

GitOrigin-RevId: 34594d21143727fa42b8b595aa12125a4dd7ae5e
2025-02-13 09:06:41 +00:00
Jakob Ackermann
1a45b909c3 [web] tweak logging for CI containers (#23570)
The default logger is "json-file", which writes json blobs and splits
stdout and stderr. We do not need to split and also can save on extra
serialization overhead in the docker daemon by switching the driver.

- use the cheaper "local" driver for containers that we need logs from
  (test containers), the local driver streams stdout+stderr into a file
- use the no-op "none" driver for support containers that we do need any
  logs from.

GitOrigin-RevId: 55c7cb7c91860e192b6d54354f4550a0ee9a672c
2025-02-13 09:06:30 +00:00
Jakob Ackermann
b928e865b7 [web] make user feature changes in tests more reliable (#23557)
* [web] tests: rename User.upgradeFeatures to User.upgradeSomeFeatures

The upgrades features do not match with any plan.

* [web] make user feature changes in tests more reliable

* [web] fix schema for featuresOverride in tests

* [web] log in after upgrading features

GitOrigin-RevId: ac5b19c798712926c118b221c553540b413802cd
2025-02-13 09:06:21 +00:00
Jakob Ackermann
cd5d2da2d2 [web] tweak trigger for prefetching of test images (#23568)
GitOrigin-RevId: 53e7005049809627b071c4bf59493874762121fd
2025-02-13 09:06:16 +00:00
Jakob Ackermann
d954fd5498 [web] dumpFolder is created on app start (#23559)
GitOrigin-RevId: e05c920f27a79a59e0c9408780b9c005b0dac350
2025-02-13 09:06:11 +00:00
M Fahru
84c66d5eae Merge pull request #23350 from overleaf/mf-nudge-to-annual-test
[web] Implement "Nudge to annual" split test

GitOrigin-RevId: 8dcd042fc54ede601f6db95a61feebaf15c849b6
2025-02-13 09:06:07 +00:00
M Fahru
9fe43e2f0d Merge pull request #22914 from overleaf/mf-remove-new-design-in-plans-page
[web] Remove "new-design" and "new" from plans and interstitial payment page file names

GitOrigin-RevId: d506ec53756ae4ebb4a314bd19773dfe34af9a85
2025-02-13 09:06:02 +00:00
M Fahru
b4051e48d3 Merge pull request #23305 from overleaf/mf-onboarding-data-collection-bs5
[web] Migrate onboarding collection data page to bootstrap 5

GitOrigin-RevId: ebf91db34ff11313c262bf57ad45e70d30857cd6
2025-02-13 09:05:58 +00:00
Eric Mc Sween
879aa33cbe Merge pull request #23519 from overleaf/em-remove-ordered-rejections-flag
Remove orderedRejections flag on ops

GitOrigin-RevId: df464023e7e6c3b5899e6a424f423a374fd33df6
2025-02-13 09:05:53 +00:00