Mathias Jakobsen
67f3c468a1
Merge pull request #23274 from overleaf/mj-restore-main-history
...
[web] Restore main documents with metadata as docs
GitOrigin-RevId: f3664689704e9098c2b9e317d65e4ab2633320cb
2025-02-06 09:04:26 +00:00
ilkin-overleaf
4a927e45a6
Merge pull request #23117 from overleaf/ii-flexible-group-licensing-subscription-page
...
[web] Subscription page for flexible licensing
GitOrigin-RevId: 8f2fab1fc01e27063d716a86add66b1b9a72cbe6
2025-02-05 09:05:54 +00:00
ilkin-overleaf
16130b79db
Merge pull request #23203 from overleaf/ii-flexible-group-licensing-no-billing-details
...
[web] FL handle subscriptions with missing billing info
GitOrigin-RevId: 34209299c039992a80da5739e086beb5d0ede7b0
2025-02-05 09:05:50 +00:00
ilkin-overleaf
72be034435
Merge pull request #23263 from overleaf/ii-flexible-licensing-subscription-group-handler
...
[web] FL check subscription existence
GitOrigin-RevId: b564d681245137955a8f1e7367b9bd1a6b404268
2025-02-05 09:05:45 +00:00
ilkin-overleaf
fb8794921e
Merge pull request #23314 from overleaf/ls-update-group-plan-upgrade-mapping
...
Update group plan upgrade mapping
GitOrigin-RevId: aca3d986477dbcf0561635dfd771413a2ba1ef15
2025-02-05 09:05:41 +00:00
ilkin-overleaf
667b97664c
Merge pull request #23366 from overleaf/ii-flexible-licensing-add-seats-for-all-legacy-plans
...
[web] Add seats feature for smaller groups
GitOrigin-RevId: 7b0d1ea61eaaf603610d5fd8df399c00d328be70
2025-02-05 09:05:32 +00:00
Alf Eaton
c629355472
Only select content when opening a file if it matches the expected text ( #23324 )
...
GitOrigin-RevId: 8b180ab897bb9027743c37f2b7faf690b7177eb6
2025-02-05 09:05:23 +00:00
Alf Eaton
87186eb568
Standardise naming of openDocId
as openDocWithId
or currentDocumentId
( #23307 )
...
GitOrigin-RevId: d71b6d878188c7b916f02a3749976ecd96d648a3
2025-02-05 09:05:15 +00:00
Jimmy Domagala-Tang
4b1babd4ea
Merge pull request #22965 from overleaf/jdt-async-institution-feats
...
Async await institution features utility
GitOrigin-RevId: ef24a189aab46d065925405a795709c94ff3d0b3
2025-02-04 09:05:29 +00:00
Jimmy Domagala-Tang
98b5bf2694
Merge pull request #23209 from overleaf/jdt-async-await-prj-entity-handler
...
Async/await the ProjectEntityHandler
GitOrigin-RevId: 873106c4ea56e13d864407b338a1924370ba6709
2025-02-04 09:05:21 +00:00
Kristina
70a17768a3
Merge pull request #23268 from overleaf/kh-rm-dead-link-sharing-code
...
[web] remove deprecated project sharing modal
GitOrigin-RevId: 7b25918363c27154e0000e9497847217f2317fce
2025-02-04 09:04:33 +00:00
Kristina
229cae771e
Merge pull request #23259 from overleaf/kh-rm-dead-manager-code
...
[web] remove unused functions to support legacy read/write link sharing
GitOrigin-RevId: 504c1eb721caa7131ed685b1e0fa5e0d0b460888
2025-02-04 09:04:29 +00:00
Kristina
e3fdcdd601
Merge pull request #23131 from overleaf/kh-teardown-link-sharing-split-tests
...
[web] tear down link sharing split tests
GitOrigin-RevId: 449e9f368405aea1500035269428e7ae0c37d8fb
2025-02-04 09:04:25 +00:00
Alf Eaton
32a27c14b4
Add memoized FormatTimeBasedOnYear component ( #23199 )
...
GitOrigin-RevId: 1f26ca9c0dbbda639939736f1e6a0c236e38a160
2025-02-03 09:04:52 +00:00
Antoine Clausse
3312d97a6b
[web] Add tests on find_malformed_filetrees
and fix_malformed_filetree
, partially fix fix_malformed_filetree
( #23120 )
...
* Create tests on find_malformed_filetrees and fix_malformed_filetrees
* Remove lines that are making fix_malformed_filetree fail
These lines are causing errors such as
```
Missing file hash: 586846800000000000000000/5891271c0000000000000000 (rootFolder.0.folders.2.fileRefs.7.hash)
SaaS: likely needs filestore restore
Server Pro: please reach out to support
```
* Add snapshots of projects after fix_malformed_filetree
* Set `WRITE_SNAPSHOT` as false
* Make `deleteProjectsRecordId0` constant
* Ignore duplicated ID errors in CreateMalformedFileTrees.mjs
* Move snapshots to directory folder
* Remove unnecessary code
* Update tests to cover use cases from the scripts
* Fix: Use `new ObjectId(projectId)` instead of the string in mongo queries
* Fix: Query `rootFolder: []` to fix more than `rootFolder: { $size: 0 }`
* Remove/rename files from first draft
* Remove empty strings from expects in unrelated tests, now that `filterOutput` removes them
* Add missing `expectFixStdout` to tests
* misc: rename test util to strId
* Add "well formed filetrees" to test cases
* Use `wellFormed` variable to remove some duplication
* Update tests:
- check Missing file hash path
- remove test on string/numbers as array items
* Add test "bug: shifted arrays in filetree"
* Rename `wellFormedFile` to `wellFormedFolder`
* Fix name of the root folder to `'rootFolder'`, not `'untitled'`
GitOrigin-RevId: dc098bb7ad3ca441fe2bb72b5f5f0e3bcedbdf67
2025-01-31 09:05:27 +00:00
Antoine Clausse
4738961f51
[web] Update secondary email addition: confirm with 6 digits code ( #22851 )
...
* Remove `Interstitial` from `ConfirmEmailForm`
* Allow adding `affiliationOptions` in `addWithConfirmationCode`
* Add confirmationStep in add-email.tsx
* Call `getEmails` once a secondary email is added
* Fix tests
* Lint fix
* Style confirm-email-form
Figma: https://www.figma.com/design/TWyeImDSZHhkl9akYaGmeb/24.5-Secondary-email-reconfirmation?node-id=1-449&p=f&m=dev
* Remove unnecessary `successMessage` and `successButtonText` from hidden ConfirmEmailForm
* Remove icon padding
* Rename file to confirm-email-form.tsx
* Use `OLButton`
* Add Cancel button
* Update loading states
* Remove redundant `className` with variants
GitOrigin-RevId: 62b1729cf2299da38f20fa3946273ad0193c7d54
2025-01-31 09:05:23 +00:00
Miguel Serrano
8ff8e7a4bf
Merge pull request #23006 from overleaf/msm-chat-capabilities-poc-2
...
[web] Add option to disable chat for subscription
GitOrigin-RevId: 0052d060c74c39400496f7f9f54c820398d60012
2025-01-31 09:05:18 +00:00
roo hutton
50f5a4e909
Merge pull request #23161 from overleaf/rh-pause-no-plan-change
...
Prevent downgrade to personal plan during subscription pause
GitOrigin-RevId: e3ba2e8e4d9b909fa2ee9c3c7e15db2ed257e43b
2025-01-31 09:04:58 +00:00
roo hutton
347cade55f
Merge pull request #23177 from overleaf/rh-pause-tracking
...
Add tracking for subscription-pause-scheduled event
GitOrigin-RevId: 802899e53d22f2be49f2d20adb45a4a47d0f6beb
2025-01-31 09:04:53 +00:00
M Fahru
51bf63a32a
Merge pull request #23125 from overleaf/mf-change-case-settings-page-form
...
[web] Change settings page form labels to sentence case (instead of capitalizing each word)
GitOrigin-RevId: 70cc94c2883e782928b5cfdf81ea5ed2d4ff4363
2025-01-29 09:05:47 +00:00
Domagoj Kriskovic
cd48caeaa1
Updated mongo index for ProjectDeleter ( #23138 )
...
GitOrigin-RevId: aa26f29b8917b0d6ff836cc03f82b74066a7dcd4
2025-01-29 09:05:36 +00:00
Domagoj Kriskovic
ff9ee2f5a9
Use "can write or review project content" authorization middleware ( #23111 )
...
GitOrigin-RevId: c5d1cb955e5833347f7e0c3610c5b8d768026478
2025-01-29 09:05:33 +00:00
Liangjun Song
6245e81f42
Merge pull request #22518 from overleaf/ii-flexible-group-licensing-add-seats-legacy
...
[web] Unlock self-served license purchasing for legacy plans
GitOrigin-RevId: bf3083d00a77417f0e78d2145f6192c57b163273
2025-01-29 09:05:25 +00:00
Liangjun Song
8808e8dfa2
Merge pull request #23128 from overleaf/ii-flexible-group-licensing-add-seats-cost-summary
...
[web] FL cost summary billing info
GitOrigin-RevId: eae6a7f02aa37e304144ccf75b952406567ca5d5
2025-01-29 09:05:21 +00:00
Liangjun Song
d893bb76cf
Merge pull request #22816 from overleaf/enable-group-plan-upgrade-for-legacy-plans
...
Enable group plan upgrade for legacy plans
GitOrigin-RevId: 9dde0371eeb791a6331ab50733fd457e28837ba9
2025-01-29 09:05:13 +00:00
Liangjun Song
eba4418672
Merge pull request #23060 from overleaf/ls-support-new-group-plan-in-redesigned-checkout-page
...
Support new group plan in the redesigned checkout page
GitOrigin-RevId: 2564477b36ee93ca4b4b6dd8210f140a3104c6ed
2025-01-29 09:05:09 +00:00
Alf Eaton
71ab3a41ed
Remove ColorManager ( #22974 )
...
GitOrigin-RevId: 32cb6fd599345eaf8e474553da5c6d3080575ee8
2025-01-29 09:04:48 +00:00
M Fahru
1916a0bbf6
Merge pull request #22613 from overleaf/mf-migrate-primary-email-check-bs5
...
[web] Migrate "Primary email check" page to bootstrap 5 and website-redesign styling
GitOrigin-RevId: e233edafb8c5033c8fbd97088fa1ac840e2e572e
2025-01-28 09:05:43 +00:00
M Fahru
7fbcca6ed1
Merge pull request #22609 from overleaf/mf-migrate-aux-password-pages-to-bs5
...
[web] Migrate reset password page to bootstrap 5 and website redesign
GitOrigin-RevId: 613865379d094b305c6dc78f74dc70341214f4ed
2025-01-28 09:05:35 +00:00
Eric Mc Sween
db44d0b6ee
Merge pull request #22915 from overleaf/em-blob-caching
...
Improved caching for blobs
GitOrigin-RevId: c5113106ef239b201ae8f66bb3539a52c65ddb60
2025-01-28 09:05:16 +00:00
David
8acbafcb05
Merge pull request #22979 from overleaf/dp-file-tree-in-editor
...
Add file tree to editor
GitOrigin-RevId: 493ecf88d632bed92c6b2b5ae2e5c0b7eef968cc
2025-01-28 09:04:35 +00:00
Domagoj Kriskovic
09195a9b5d
Allow reviewers to reopen comment threads ( #23075 )
...
GitOrigin-RevId: 065acf5931213c288dbdcb3bc06da988b094a1f4
2025-01-27 09:05:10 +00:00
Domagoj Kriskovic
7e5a0a9bea
Delete unused canUserReviewProjectContent function ( #23073 )
...
GitOrigin-RevId: 5c2e17a44623916e494a24bf18dbff4e846734d3
2025-01-27 09:05:02 +00:00
Jakob Ackermann
8d99ad3964
[web] do not send filestore URLs when feature is disabled ( #23095 )
...
* [web] do not return createdBlob=true from error path
Defense in-depth, currently the only call-site bails out on error.
* [web] do not send filestore URLs when feature is disabled
GitOrigin-RevId: 7e90cf4c4babffeec337702502234bac73c1f116
2025-01-27 09:04:50 +00:00
Jakob Ackermann
5c3353b3de
Merge pull request #23099 from overleaf/jpa-fix-sessions-test
...
[web] add missing await in acceptance test
GitOrigin-RevId: d18d62c55609c46c5b8a583e572a415b55a81af7
2025-01-27 09:04:38 +00:00
Domagoj Kriskovic
48d08f5b28
Allow reviewers to delete their own comment threads ( #23044 )
...
GitOrigin-RevId: 2165e0f549c9df923fb1c124a7622a49d579c2e3
2025-01-24 09:05:35 +00:00
Kristina
0bbe4b2e5a
[web] show monthly rates on group plans ( #23019 )
...
GitOrigin-RevId: e500869be9def2c150b4773f2f18883021ab356b
2025-01-24 09:05:26 +00:00
Mathias Jakobsen
77dd468c20
Merge pull request #23026 from overleaf/mj-wc-settings-second-try
...
[web] Move write and cite setting storage
GitOrigin-RevId: 88a234c15b4dd2a9b451170e3b474d88bb6d45f7
2025-01-24 09:05:22 +00:00
Alf Eaton
f1e1d55d8c
Merge pull request #22964 from overleaf/ae-project-search-flush
...
Ensure that open docs are flushed before running full project search
GitOrigin-RevId: 6707cf982018908a37957503add73a085c749f61
2025-01-24 09:05:05 +00:00
Alf Eaton
4898b15dea
Add eslint-plugin-testing-library ( #23017 )
...
* Add eslint-plugin-testing-library
* Update .eslintrc.js
* Only import from @testing-library/react
* Fix issues
GitOrigin-RevId: c225f1f70020d4431866119423cd839ce1ee5ed2
2025-01-24 09:04:59 +00:00
roo hutton
ad096f82bf
Merge pull request #21905 from overleaf/rh-pause-sub
...
Add support for pausing subscription
GitOrigin-RevId: f939ea4e7f3c2b1fa16dcb8aff1b2460d091d4e2
2025-01-23 09:06:04 +00:00
Andrew Rumble
6cb1528495
Merge pull request #23020 from overleaf/ar-prevent-rootFolder-deletion
...
[web] Prevent deletes on a project's rootFolder
GitOrigin-RevId: 6d0506f207425f65d3de990a78bb1ea9b136ed1e
2025-01-23 09:05:42 +00:00
Alf Eaton
604471bfe9
Improve types for window.metaAttributesCache ( #22983 )
...
GitOrigin-RevId: cc962bf7eeaac525267ba04080889b0d58051914
2025-01-23 09:05:14 +00:00
David
037cc3b7a4
Merge pull request #22930 from overleaf/dp-filetree
...
Convert filetree components to typescript
GitOrigin-RevId: f06abb9705013d3da1a87c8f4bef4a82c4fab5d2
2025-01-22 09:05:01 +00:00
Domagoj Kriskovic
741b65d0eb
Add ensureUserCanSendComment authorization middleware ( #22959 )
...
* Add ensureUserCanSendComment authorization middleware
* added tests
GitOrigin-RevId: d1f58bd6bc63275456e5280ccb8c99aaa02c4e5f
2025-01-21 09:05:53 +00:00
Eric Mc Sween
6ee70550c4
Merge pull request #22960 from overleaf/em-promisify-filestore-controller
...
Promisify FileStoreController
GitOrigin-RevId: b5f5861a7601a1bf4af3024394f910a0f5a14206
2025-01-21 09:05:40 +00:00
Eric Mc Sween
3d0a9017a4
Merge pull request #22973 from overleaf/em-fix-project-snapshot-concurrency
...
Fix concurrency in project snapshot
GitOrigin-RevId: 83710b84e5ff5c10d55b1a915a310db1ca431973
2025-01-21 09:05:35 +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
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
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