Commit graph

25027 commits

Author SHA1 Message Date
Antoine Clausse
d4a10c7b41 [web] Socket diagnostics updates (#22951)
* Increase threshold for "latency in red color"

* Fix online status in Chrome and Safari

* Add "Auto ping" checkbox

* Put `/socket-diagnostics` behind `AuthenticationController.requireLogin`

* Set logs to `logger.info` when debugging

* Add `publicId` and `clientId` to logs

* Fix disconnect logs when debugging

* Refresh UI every second. Display red "Ping Count" if unanswered for 3s

* Update services/web/frontend/js/features/socket-diagnostics/components/socket-diagnostics.tsx

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Update services/web/frontend/js/features/socket-diagnostics/components/socket-diagnostics.tsx

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* `npm run format:fix`

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 9faf2abdac51fa4b87c67d8fe89c4125d01d826f
2025-01-21 09:05:01 +00:00
Antoine Clausse
c8be2e25cf [web] Promisify ensureAffiliationMiddleware and refactor InstitutionHubsController (#22242 feedback) (#22261)
* Promisify `ensureAffiliationMiddleware`

* In `ensureAffiliationMiddleware`, throw when UserNotFoundError

* Unnest object `_InstitutionHubsController`

* Format fix

GitOrigin-RevId: 5b3c6c24724520353540b8d8dd05005b6fa749ff
2025-01-21 09:04:57 +00:00
Andrew Rumble
de7cd8900a Merge pull request #22948 from overleaf/ar-ac-mongoose-8.9.5
Upgrade mongoose to 8.9.5

GitOrigin-RevId: 0b58af36e3732c18f58fde7f3e8d33234d4b4629
2025-01-21 09:04:51 +00:00
CloudBuild
9332b42edd auto update translation
GitOrigin-RevId: 449c0fd0236464e412723bacc9bfeba2522a4a73
2025-01-20 09:05:30 +00:00
Jessica Lawshe
b735cac588 Merge pull request #22912 from overleaf/jel-cms-tabs-bs5
[web] Update admin panel to use `.ol-tabs` style

GitOrigin-RevId: c9e808c5534e5f033a8e829b35b0c6bd865cb596
2025-01-20 09:05:22 +00:00
Jakob Ackermann
ab4d1e0986 Merge pull request #22870 from overleaf/jpa-back-fill-fix-up
[history-v1] add script for fixing up back-fill errors

GitOrigin-RevId: 118992a32c1f6da4289cd35399ddd07a741da4ee
2025-01-20 09:05:14 +00:00
Alf Eaton
413c108c28 Improve project search UI (#22909)
GitOrigin-RevId: 83bc59269250afef3d25434b14151dbde5be5e5c
2025-01-20 09:05:06 +00:00
Alf Eaton
17ae05a055 Add cause to "spell check loading failed" error (#22923)
GitOrigin-RevId: 37772c842bb9d92200c08fa7ce89ec0b85fe1b94
2025-01-20 09:05:02 +00:00
Alf Eaton
ce1d63d92c Create a shared module for CSS styles from user settings (#22925)
GitOrigin-RevId: 1e62258e1e38d8ab2ce8debc51c53a98f4e915f6
2025-01-20 09:04:57 +00:00
Alf Eaton
fdf7a34f8f Avoid shifting the layout of the project dashboard when items are selected (#22937)
GitOrigin-RevId: 98f153efddfcc3c11712010e607cc1a308e74279
2025-01-20 09:04:53 +00:00
Jakob Ackermann
f03d346a32 Merge pull request #22882 from overleaf/jpa-file-tree-script
[web] scripts/find_malformed_filetrees: flag missing file hash and folder arrays

GitOrigin-RevId: 8561a59856486bd6903f84a99434d0bd81acb175
2025-01-20 09:04:45 +00:00
Domagoj Kriskovic
58c9f6e76e Hide resolve/edit/delete comment options for users without permissions (#22891)
GitOrigin-RevId: b3d2c1ba03ee836596abfc3da1260dec5a0a7714
2025-01-20 09:04:40 +00:00
Antoine Clausse
7bef003c56 [real-time, web] Create a UI to test socket connection (#22907)
* Create a UI to test socket connection

* Add Clock Delta to the measurements

* Add colors to DiagnosticItem

* Update icon

* Add more info to the diagnostics screen

* Add logs in backend on debug messages, disconnections and connection

* Add last received ping info

* Reorder DiagnosticItems

* Remove "warning" text color (too light)

* Replace Phosphor icons by Material Icons

GitOrigin-RevId: 6a015b4928cd19849ff287cf254f671840ed44af
2025-01-17 09:05:49 +00:00
Antoine Clausse
f9cc0c3bf4 [web] Scope ds-nav split test to project list (#22689)
* Add `dsNavStyle` prop, so `sidebar-navigation-ui-update` doesn't change all pages

* Use `useIsDsNav` instead of `useSplitTestContext`

* Create a `useDsNavStyle` hook

* Use `useDsNavStyle`

* Add comment on `useIsDsNav` and `NavStyleContext`

* Revert "Hide nav dropdown chevron icon in welcome page"

This reverts commit 78b5ba85

* Move `DsNavStyleProvider` usage to project-list-ds-nav.tsx

* Fix typo

* Simplify `useDsNavStyle` conditions

GitOrigin-RevId: df3fe66d772919c40df69d357bee6949ab413928
2025-01-17 09:05:41 +00:00
Antoine Clausse
b9fb636f0b [web] Remove promises exports from Controller modules (#22242)
* Remove promises object from CollaboratorsInviteController.mjs

* Define functions at root

* Remove mentions of undefined `revokeInviteForUser`

* Remove unused `doLogout`

* Remove promises object from UserController.js

* Remove unused `makeChangePreview`

* Remove promises object from SubscriptionController.js (`getRecommendedCurrency` and `getLatamCountryBannerDetails`)

* Remove promises object from CollabratecController.mjs

* Remove promises object from SSOController.mjs

* Remove promises object from ReferencesApiController.mjs

* Remove promises object from MetricsEmailController.mjs

* Remove promises object from InstitutionHubsController.mjs

* Remove promises object from DocumentUpdaterController.mjs

* Remove promises object from SubscriptionAdminController.mjs

* Fixup unit tests

* Add expects that controllers don't error

* Promisify `ensureAffiliationMiddleware`

GitOrigin-RevId: 311c8afa7d5c8e4f051408d305b6b4147a020edc
2025-01-17 09:05:36 +00:00
CloudBuild
ae34c4b8cc auto update translation
GitOrigin-RevId: fc3c6ea47100bc446d4a6290c2ba530083d9b717
2025-01-17 09:05:32 +00:00
Jessica Lawshe
feacd61408 Merge pull request #22684 from overleaf/jel-gallery-test-end
[web] Tear down gallery redesign test

GitOrigin-RevId: 907585c7d0e27c0c511e9d5f95096d82225f9aba
2025-01-17 09:05:24 +00:00
Eric Mc Sween
ab9d4d4c9c Merge pull request #22845 from overleaf/em-project-snapshot-queue-refreshes
Concurrency control in ProjectSnapshot

GitOrigin-RevId: b62b886b59a67f2c694ef7cefcff5c32da3e4457
2025-01-17 09:05:09 +00:00
Eric Mc Sween
84bd994345 Merge pull request #22892 from overleaf/em-filter-tracked-deletes
Filter tracked deletes on project snapshot

GitOrigin-RevId: 5146e00b67af8dc15bf17f587cb6173a0a21544d
2025-01-17 09:05:05 +00:00
Eric Mc Sween
30e5c95a27 Merge pull request #22871 from overleaf/em-history-flush-metrics
History flush metrics

GitOrigin-RevId: eb8b357427942e9816ad92ccd46c0dd8a65ab939
2025-01-17 09:05:00 +00:00
David
c919960d2b Merge pull request #22902 from overleaf/dp-remove-presentation-mode-flag
Remove pdf-presentation-mode feature flag

GitOrigin-RevId: 14e64115c539fe2721150ed6f09dfcc4ce9cbaaa
2025-01-17 09:04:49 +00:00
Mathias Jakobsen
849275c4b8 Merge pull request #22787 from overleaf/mj-ide-rail
[web] Create rail tabbed layout

GitOrigin-RevId: be54a224087aad8e6e2762d9c26463e37aecd9aa
2025-01-17 09:04:45 +00:00
Mathias Jakobsen
539e96c62b Merge pull request #22802 from overleaf/mj-outline-icons
[web] Add some unfilled material symbols

GitOrigin-RevId: 2b5c477e6ff32f62ab40cacf666aeb98b311f126
2025-01-17 09:04:40 +00:00
M Fahru
03bb4c57f9 Merge pull request #22742 from overleaf/mf-remove-frontend-plans-page-dead-code
[web] Remove frontend plans page dead code

GitOrigin-RevId: 6db07b909f99a7afd17880698787a2c3527e879f
2025-01-16 09:06:55 +00:00
M Fahru
545f990837 Merge pull request #22744 from overleaf/mf-update-blog-tagged-text
[web] On tagged blog pages, update "Posts tagged X" text color to neutral-70

GitOrigin-RevId: ad8e14ac275761f441e0db9760ba9c91de9019cd
2025-01-16 09:06:50 +00:00
M Fahru
685db9935a Merge pull request #22636 from overleaf/mf-remove-list-group-item-variant
[web] Remove `list-group-item-variant` mixin since it's no longer used

GitOrigin-RevId: f7d01acf1537d40060598d9ed68e602c1fc12609
2025-01-16 09:06:45 +00:00
M Fahru
da6f332269 Merge pull request #22821 from overleaf/kh-cop-on-upgrade-modal
[web] limit COP group plans to 20 seats in upgrade modal

GitOrigin-RevId: b1d2713b978d0269892d8f547eeccc5ab702ea77
2025-01-16 09:06:37 +00:00
Jessica Lawshe
76c0e6f84d Merge pull request #22824 from overleaf/jel-saml-tests
[web] SAML test helper update

GitOrigin-RevId: 6a721901b0026286e0ef28ed9168c8b97cd4a200
2025-01-16 09:06:33 +00:00
Jessica Lawshe
5c188939d6 Merge pull request #22740 from overleaf/jel-mono-text
[web] Eyebrow text margin

GitOrigin-RevId: cdf1eadf8ad1da4d81724e8aeb9994cc931388ce
2025-01-16 09:06:28 +00:00
Rebeka Dekany
bdd91358ef Merge pull request #22817 from overleaf/rd-migrate-admin-split-test-create-bs5
Migrate the split test create admin page to Bootstrap 5

GitOrigin-RevId: 897f634b00136605ce3faf0e2489902d41f51566
2025-01-16 09:06:16 +00:00
Rebeka Dekany
971a5d9de4 Merge pull request #22717 from overleaf/rd-migrate-admin-bootstrap5
[web] Migrate the admin page to Bootstrap 5

GitOrigin-RevId: 8d283f7ce4a7d73f033a69a4c075311ff756f06a
2025-01-16 09:06:12 +00:00
Rebeka Dekany
4fae817573 Merge pull request #22761 from overleaf/rd-migrate-admin-project-bs5
Migrate admin project URL lookup page to Bootstrap 5

GitOrigin-RevId: d8c58bbeb924da4e94a361ab59a66c2c6048dbfd
2025-01-16 09:06:07 +00:00
Jakob Ackermann
98e0ed6a06 Merge pull request #22894 from overleaf/jpa-large-chunk
[history-v1] add test case for large text file

GitOrigin-RevId: 5d7cc37d74c67e1927785ea9c544d897491e6abd
2025-01-16 09:06:02 +00:00
Miguel Serrano
68dcacea93 Merge pull request #22890 from overleaf/msm-fix-migrations
Fix module import in migrations

GitOrigin-RevId: 462eb54c68942118f3f76b166c3f27d923227e6c
2025-01-16 09:05:58 +00:00
Eric Mc Sween
9f1b6d480b Merge pull request #22869 from overleaf/em-remove-sanity-check
Remove RangesManager sanity check

GitOrigin-RevId: 376c2a197aa68cbde9259ec8c2cea1e9d43c8f69
2025-01-16 09:05:53 +00:00
Alf Eaton
f069adaf15 Add full project search UI (#22671)
GitOrigin-RevId: f40c85f40f4c16b4b3c26a197924cd9ac9b3db1f
2025-01-16 09:05:45 +00:00
Miguel Serrano
0d3be44f6a [web] Remove partial from oauthAccessTokens.user_id index (#22886)
* [web] Remove partial from `oauthAccessTokens.user_id` index

GitOrigin-RevId: 22b2bc136bef2c45b4bdf1e6a5d6a20eeefea3f7
2025-01-16 09:05:40 +00:00
Alf Eaton
2fbb4615f9 Convert utility functions to TypeScript (#22658)
* Convert event-tracking to TypeScript

* Convert local-storage to TypeScript

* Convert mapSeries to TypeScript

* Convert SessionStorage to TypeScript

* Convert account-upgrade to TypeScript

* Convert isValidTeXFile to TypeScript

* Convert date functions to TypeScript

* Convert EventEmitter to TypeScript

* Convert isNetworkError to TypeScript

* Convert webpack-public-path to TypeScript

* Convert displayNameForUser to TypeScript

GitOrigin-RevId: 79c5a2d1101fcd520f3116f0f4af29d974189d94
2025-01-16 09:05:36 +00:00
Alf Eaton
386d6f8ffd Wrap range building in setTimeout (#22796)
GitOrigin-RevId: a0841e6eb9f2f637653dd0b8a37a61136097cc4f
2025-01-16 09:05:31 +00:00
Alf Eaton
f2f1178bcd Refactor isMac to a utility module (#22829)
GitOrigin-RevId: c6ab1dbeb1c56c35af121e7f657325a89fc847ea
2025-01-16 09:05:26 +00:00
Kristina
7994390967 [web] tear down group-pricing-2025 split test on non-plans pages (#22785)
* [web] rm split test from the change to group modal
* [web] rm split test from cancel flow
* [web] rm split test from checkout flow
* [web] rm unused translations

GitOrigin-RevId: 0188f2631ed18e79fdf55dabedac7cdea4f213d3
2025-01-16 09:05:22 +00:00
Kristina
23c455d7b9 [web] tear down group-pricing-2025 split test on plans page (#22786)
* [web] rm split test from new plans page
* [web] rm showDiscountPercentage from group_member_picker (always false)
* [web] rm now unused classes on edu discount checkbox
* [web] rm split test from FAQ
* [web] rm unused translation

GitOrigin-RevId: 262d97f317d8aaef6e5a07a8ecd4edc67557408b
2025-01-16 09:05:17 +00:00
Domagoj Kriskovic
36f2e52167 Add comment option in editor toolbar (#22849)
* Add comment option in editor toolbar

* move addComment to commands

GitOrigin-RevId: 690b70f67abe5653f28ec9ec61deb3f201a78131
2025-01-16 09:05:12 +00:00
Domagoj Kriskovic
3d543b20b5 [web] Show most recently resolved comments at the top (#22835)
GitOrigin-RevId: cb42a0fe3d6bf5d23d329b6ef9732f7cb9612907
2025-01-16 09:05:07 +00:00
CloudBuild
22d007e8f4 auto update translation
GitOrigin-RevId: 087736340479ca8ef4b974e9b652e9e49011c764
2025-01-15 09:05:10 +00:00
M Fahru
292308d546 Merge pull request #22540 from overleaf/mf-remove-plans-page-default-variant-code
[web] Remove dead backend (include pug template) code after `website-redesign-plans` test has been concluded and `new-design` variant is fully activated

GitOrigin-RevId: 143129da71d43b88535f971b13e9e72c98bad798
2025-01-15 09:05:06 +00:00
M Fahru
4150baefcb Merge pull request #22539 from overleaf/mf-move-plansbanners-helper-to-module
[web] Move "plansBanners" function (along with its tests) to subscription module

GitOrigin-RevId: a231ecd862e7f052ca2597eb07d6612b23f2c7d3
2025-01-15 09:05:01 +00:00
M Fahru
ef5a52b29d Merge pull request #22493 from overleaf/mf-remove-website-redesign-plans-test-config
[web] Remove `website-redesign-plans` test config from acceptance test and redirection tests from unit tests

GitOrigin-RevId: f1b30231be06748726ec2921fe23deadf2a701b6
2025-01-15 09:04:57 +00:00
Eric Mc Sween
c9591e250a Merge pull request #22822 from overleaf/em-ai-manually-collected
Hide Error Assist from manually collected group admins

GitOrigin-RevId: fd4d851d1d427b1978649129674d74cb375bc3f5
2025-01-15 09:04:49 +00:00
Eric Mc Sween
a69036e005 Merge pull request #22825 from overleaf/em-move-project-snapshot
Move full project on client code to the main web tree

GitOrigin-RevId: a2afd0d7fceaef213841e662df0b20587e9fef69
2025-01-15 09:04:45 +00:00