Jakob Ackermann and Copybot
a98fefd24b
Merge pull request #20129 from overleaf/jpa-handle-partial-deletion
...
[misc] improve handling of document deletion
GitOrigin-RevId: bd6b225b91ab38365e9ff272c50ece995e767bf2
2024-08-27 08:04:53 +00:00
Thomas and Copybot
95aa79e95d
Merge pull request #20089 from overleaf/tm-link-sharing-enforcement-in-frontend
...
Make ol-linkSharingEnforcement available to the frontend
GitOrigin-RevId: b64ce29f528c5b02c0cee400c73dc364d8e6da47
2024-08-27 08:04:40 +00:00
Liangjun Song and Copybot
3f1edfc1c9
Merge pull request #19954 from overleaf/ls-access-token-gradual-rollout-cleanup
...
Update git bridge modal for pw auth deprecation
GitOrigin-RevId: 2e764922bf350ddcba29bf9f3baa220ed1f48e40
2024-08-26 08:05:15 +00:00
Jakob Ackermann and Copybot
1459ae9b65
Merge pull request #20082 from overleaf/jpa-limit-local-storage
...
[web] disable local storage of ro-mirror for admin site/debug copies
GitOrigin-RevId: 33a65cb17a09e4e7f9b5e8e4fce1b4e1ba6c38f8
2024-08-23 08:04:53 +00:00
Alexandre Bourdin and Copybot
4997b7f1ee
Merge pull request #20062 from overleaf/ab-saas-authentication-module-renaming
...
[web] Rename overleaf-integration module to saas-authentication
GitOrigin-RevId: 7d69e06a19da9855fa9a0962114ad97b45ad8875
2024-08-23 08:04:43 +00:00
Thomas and Copybot
abf04c5d6c
Merge pull request #20036 from overleaf/tm-collab-limit-link-sharing
...
Enforce collaborator limit for link sharing
GitOrigin-RevId: b724dca0c616ef15e5bd6d07e9d898d34dd46acd
2024-08-22 14:01:34 +00:00
Thomas and Copybot
98a914bb94
Merge pull request #20034 from overleaf/tm-collab-limit-edit-invites
...
Enforce collaborator limit when accepting project invites
GitOrigin-RevId: 94f281113fe7c7b6d0a5ef43e11ab579400d9e56
2024-08-22 14:01:30 +00:00
5e2662adc4
[web] Enforce collaborator limit ( #19619 )
...
* Enables collaborator limit enforcement
* Add pendingEditor_refs for editors downgraded during limit enforcement
* Add isPendingEditor to useEditorContext
---------
Co-authored-by: Thomas Mees <thomas.mees@overleaf.com >
GitOrigin-RevId: b622213f6282ccd8ee85a23ceb29b8c6f8ff6a96
2024-08-22 14:01:25 +00:00
Jakob Ackermann and Copybot
989c48978a
Merge pull request #20067 from overleaf/jpa-fix-old-blob-download
...
[web] project-history expects history-v1 id in blob requests
GitOrigin-RevId: d9170a12fc6070811c188b346dbac32accabbfd7
2024-08-22 14:01:12 +00:00
Jessica Lawshe and Copybot
b5a8481f51
Merge pull request #20020 from overleaf/jel-translation-fix
...
[web] Add missing "by" to translation
GitOrigin-RevId: aea106928b62b46753af845e37280297058cc42e
2024-08-22 08:05:40 +00:00
Jakob Ackermann and Copybot
577497b655
Merge pull request #19842 from overleaf/jpa-ro-mirror-on-client
...
[misc] add readonly mirror of full project content on the client
GitOrigin-RevId: 940bd93bfd587f83ca383d10fc44579b38fc3e88
2024-08-22 08:05:13 +00:00
Jakob Ackermann and Copybot
de842c61c3
Merge pull request #19863 from overleaf/jpa-log-noise-pro
...
[web] gracefully handle missing "getUserGroupsSSOEnrollmentStatus" hook
GitOrigin-RevId: 3e37a9caf4ccc54ec89c9a274bd4a55c503a3f43
2024-08-22 08:05:08 +00:00
Tim Down and Copybot
d5643d53b3
Merge pull request #18996 from overleaf/td-bs5-nav-react
...
Main navigation React component
GitOrigin-RevId: c99a4b4a2f6fd02618689f829681118b2b64aa8d
2024-08-22 08:05:03 +00:00
Miguel Serrano and Copybot
2296287e61
Merge pull request #19947 from overleaf/msm-ce-survey
...
[web] Temporary CE Survey
GitOrigin-RevId: 874febba1d61f7b9ba333b2de399c9bcc7f3bcc2
2024-08-22 08:04:54 +00:00
M Fahru and Copybot
41e2d1bba7
Merge pull request #20005 from overleaf/mf-view-events-plans-page
...
[web] Implement plans page and interstitial payment page view events for plans redesign test
GitOrigin-RevId: 023338acffe149db93b37d94cf06e8102ffcff8f
2024-08-21 08:05:43 +00:00
Mathias Jakobsen and Copybot
654d96ace6
Merge pull request #19743 from overleaf/mj-restore-project
...
[web+project-history] Add project version reverting
GitOrigin-RevId: 0f77cec730393187d531c0c6561faaa652bebf29
2024-08-21 08:05:08 +00:00
andrew rumble and Copybot
777acc4040
Refactor mongodb infra module to remove unneeded code
...
GitOrigin-RevId: f907753dffd67ed279815693c37498ec255f1353
2024-08-21 08:04:59 +00:00
andrew rumble and Copybot
da350a52fd
Check that we are using same ObjectId as mongoose
...
GitOrigin-RevId: 95812e15365bea740dfd02215e706f8014239840
2024-08-21 08:04:50 +00:00
andrew rumble and Copybot
d4cc50bc21
Placate the linter
...
GitOrigin-RevId: 064d796a5c3c49cfdacee5cf1a461d38f08425b3
2024-08-21 08:04:46 +00:00
andrew rumble and Copybot
4e2bfd58a1
Handle removal of mongoose callback API for UserMemberships
...
GitOrigin-RevId: 0bdfaf4bfb357d75ee05513cf524540eef7fcec4
2024-08-21 08:04:42 +00:00
andrew rumble and Copybot
e08c60424d
Allow independent pools to be used for mongo/mongoose
...
GitOrigin-RevId: c0c7d8e3388fd9402d7b22b70eda9455b4ecc205
2024-08-21 08:04:29 +00:00
andrew rumble and Copybot
032deaf05c
Switch to mongodb-legacy
...
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
2024-08-21 08:04:24 +00:00
Brian Gough and Copybot
cb2434d29c
Merge pull request #19777 from overleaf/bg-issue19430-implement-wiki-caching
...
support conditional requests for learn wiki images
GitOrigin-RevId: fb77ab632c325f88dfed1624a5abad8f2e52ee3d
2024-08-19 08:04:44 +00:00
M Fahru and Copybot
9cf4cd36cf
Merge pull request #19942 from overleaf/mf-group-dropdown-connect-button-cta
...
[web] Connect license dropdown to CTA href and pricing header on new plans page group tab
GitOrigin-RevId: b3bdd05cc3efccc17883205de51232e31ee71c58
2024-08-16 08:04:53 +00:00
M Fahru and Copybot
5065bb78ea
Merge pull request #19904 from overleaf/ds-plans-page-new-design-adding-geo-banners
...
Plans page new design - Implement geo banner for India and latin america users
GitOrigin-RevId: 4b0ca2e6e290672c5ae1f41cde904a4d48197a33
2024-08-15 08:05:58 +00:00
Antoine Clausse and Copybot
8e68f10523
[web] In _deleteV1Account: Add response?.statusCode optional chaining, await request before getting response ( #19936 )
...
* Add optional chaining in `response.statusCode` in `_deleteV1Account` error handling
Should fix https://overleaf.sentry.io/issues/5708988236/
* Add another `response?.statusCode`
* Await `V1Api.promises.request` before getting the response
GitOrigin-RevId: 52a156680845516357b11943bee8c33a5a023514
2024-08-15 08:04:44 +00:00
andrew rumble and Copybot
019562cb5a
Update promises to use async functions directly
...
GitOrigin-RevId: f6a5d235ee259a4cf00f1e8d5c089b2d1d24a842
2024-08-15 08:04:39 +00:00
andrew rumble and Copybot
7af4980a4d
Promisify ProjectEntityUpdateHandler functions
...
Promisify wrapWithLock
Promisify getDocContext
Promisify updateDocLines
Promisify setRootDoc
Promisify unsetRootDoc
Promisify addDoc and addDocWithRanges
Promisify addFile
Promisify upsertFile
Promisify upsertDocWithPath
Promisify deleteEntity
Promisify deleteEntityWithPath
Promisify mkdirp and mkdirpWithExactCase
Promisify moveEntity
Promisify renameEntity
Promisify addFolder
Promisify convertDocToFile
Promisify resyncProjectHistory
Promisify _addDocAndSendToTpds
Promisify _replaceFile
Promisify _checkFiletree
Promisify _cleanupEntity
Promisify _updateProjectStructureWithDeletedEntity
Promisify _cleanUpDoc and _cleanUpFile
Promisify upsertFileWithPath
Promisify upsertDoc
Promisify _uploadFile
Promisify _addFileAndSendToTpds
GitOrigin-RevId: 56a7de0ae79efedd5ad48abae2db22a4028c0c12
2024-08-15 08:04:30 +00:00
andrew rumble and Copybot
c4d7da87a6
Move functions to be promisified
...
Moving these first will make later commits have a cleaner diff. There
are no substantive code changes in the moved functions.
GitOrigin-RevId: 06e0c5bb02f300942c8fbe80e81484c4d717dbc9
2024-08-15 08:04:25 +00:00
Alexandre Bourdin and Copybot
10ef61a02b
Merge pull request #19901 from overleaf/ac-confirm-institution-domain-queue-in-institution-module
...
[web] Add `start` function to modules. Move `confirm-institution-domain` queue to institution module
GitOrigin-RevId: 0d36ff3dcc529e77c76d72d0a67bbdb9310b42fd
2024-08-14 08:05:39 +00:00
Alexandre Bourdin and Copybot
61891e3c80
Merge pull request #19861 from overleaf/ab-overleaf-integration-delete-flow
...
[web] Remove /user/delete override from overleaf-integration
GitOrigin-RevId: 4f679f6835522c2325fe7b0368f58e7a952ee73d
2024-08-14 08:05:30 +00:00
cf83990459
add tests for unwanted 500 responses from invalid urls ( #19612 )
...
* add acceptance tests for bad urls
* fix 500 from health check when smoke test userId is undefined
* handle exception from invalid urls in ExpressLocals middleware
* Add return statement before `next()`
* Cleaned up list of crash_test_urls.txt
* Return 400 instead of 404 on parsing errors
---------
Co-authored-by: mserranom <mserranom@gmail.com >
GitOrigin-RevId: dac35b07d1f12bd9ceb70e3064ec2ef8393f99b5
2024-08-14 08:05:16 +00:00
Antoine Clausse and Copybot
fb114a7c44
Merge pull request #19545 from overleaf/ac-remove-login-route-override
...
[web] Remove `/login` route override from overleaf-integration
GitOrigin-RevId: a22d0698e5039a8e77fb7ebb620500ad40a9a630
2024-08-14 08:04:26 +00:00
Jessica Lawshe and Copybot
c636089939
Merge pull request #19822 from overleaf/jel-plans-notifications
...
[web] Show geo banners on light touch redesign of plans page
GitOrigin-RevId: 08ee6827cc16ec9326e5dbb1a165602be9cfe86d
2024-08-13 08:04:38 +00:00
Antoine Clausse and Copybot
8736bee460
[web] Move confirm_university_domain to institutions module, and /api/clsi/compile/* to publish-modal module ( #19797 )
...
* Move `/api/institutions/confirm_university_domain` to institutions module
* Move `confirmDomain` to institutions module
* Move `/api/clsi/compile/*` endpoints to `publish-modal` module
* Move ApiClsiTests to publish-modal module
* Revert move of MockClsiApi. It's still needed in the main acceptance tests
GitOrigin-RevId: b59c2921e03b94546d72d21e60a688eb1ae1d05e
2024-08-12 08:05:16 +00:00
ilkin-overleaf and Copybot
16cdf5140a
Merge pull request #19626 from overleaf/ii-invite-remove-unncecessary-fields
...
[web] Clean up props exposed to the /invite and /invites endpoints
GitOrigin-RevId: dc4163e04d5785e141d5e322bfb0a626e67d637f
2024-08-12 08:05:04 +00:00
Alexandre Bourdin and Copybot
972fbb7c67
Merge pull request #19818 from overleaf/ab-fix-split-test-archived-notification-comment
...
[web] Skip sending last versions comment with archived test notification
GitOrigin-RevId: 997111220161eaf7588cac8809024ac4a09bc037
2024-08-09 08:04:38 +00:00
Thomas and Copybot
a16db120c0
Implement free trial limits ( #19507 )
...
* Add additional validations for subscription trials
GitOrigin-RevId: 1cb821c62e02d3eaa5b2bcacaee63b6bc7a63311
2024-08-08 08:05:05 +00:00
Alf Eaton and Copybot
049f8af680
Merge pull request #19684 from overleaf/ae-members-list
...
Allow all collaborators to access the project `members` endpoint
GitOrigin-RevId: 2e5911146c61f368f85e6b57a9c5f12a35e7b294
2024-08-07 08:05:45 +00:00
Thomas and Copybot
2ee528a9d2
Merge pull request #19814 from overleaf/tm-link-sharing-project-joined-event-for-treatment
...
Add project-joined event when adding as Editor via link sharing
GitOrigin-RevId: 40f538376b90a45877859be9e48a0b4c45c9641d
2024-08-07 08:05:12 +00:00
Antoine Clausse and Copybot
a278e70b27
[web] Fix UpgradePrompt in Editor - Retrieve isMember from userIsMemberOfGroupSubscription ( #19810 )
...
* Fix: Retrieve `isMember` from `userIsMemberOfGroupSubscription`
* Inline `userIsMemberOfGroupSubscription` call
GitOrigin-RevId: b8b339bbce3934b0b83bf6d805ab6ef6225d43e7
2024-08-07 08:05:03 +00:00
Jakob Ackermann and Copybot
e26b6de51b
Merge pull request #19740 from overleaf/jpa-linked-file-metadata
...
[misc] persist linkedFileData in full project history as file metadata
GitOrigin-RevId: f3e8ba947ea34b6796e210a076a248c57188d148
2024-08-06 08:04:44 +00:00
Jakob Ackermann and Copybot
e85045255c
Merge pull request #19644 from overleaf/jpa-remove-window-attributes
...
[web] goodbye window attributes
GitOrigin-RevId: b15a2cb1d96b657385c4d46dcf80e0269dbd7409
2024-08-06 08:04:39 +00:00
Alf Eaton and Copybot
0f2aaa6c0c
Merge pull request #19668 from overleaf/jpa-file-not-found-404
...
[web] entity not found when downloading file yields 404
GitOrigin-RevId: e6a2a7cf60f717fae53a42f39efb65f1624f71bb
2024-08-05 08:04:08 +00:00
Domagoj Kriskovic and Copybot
55d0f51279
[web] Add split test for defaulting LaTeX beginners to visual mode ( #19745 )
...
GitOrigin-RevId: 4dff08f0f7f413ba3cdacbe46cf7493eca47657d
2024-08-02 08:05:15 +00:00
Domagoj Kriskovic and Copybot
0766c91079
Default LaTeX beginners to the Visual Editor ( #18917 )
...
* open visual code if user havent used latex before
* test tooltip on code editor switch
* firstTimeLoadedEditor
* track editor.codeEditorOpened value
* lastEditorLoadedDate
* odc data loaded from mongo
* fix a typo
* use tutorial to check if it was dissmised
* use getInactiveTutorials fn
* fix test
* check if code editor was opened
* added translations
* pass classname to tooltip
* use signUpDate instead of lastEditorLoadedDate
* refactor visual fallback value
* use tutorial completed data only for tooltip
* set lastUsedMode in odc form
* safer usedLatex check
* getOnboardingDataValue helper function
* move tooltip to a separate component
* move classname to tooltipProps
* usedLatex in meta tag
* codeEdtiorOpened fallback value
* fix release date year
* fix 24 hours criteria for showing the tooltip
* fix tests
* hide tooltip when code editor is opened
* remove setting lastUsedMode in ODC form
* remove empty comment
* change date for checking signUpDate
* fix linting error
GitOrigin-RevId: 0a57ba3f4717492d4546633571117f667d3a05f8
2024-08-02 08:05:10 +00:00
Miguel Serrano and Copybot
6721bbb356
Merge pull request #19676 from overleaf/msm-fix-email-support
...
[CE/SP] Fix email sending and support links
GitOrigin-RevId: faaaacd312d3ec4ccf90bfdefbb62d2701df5cfd
2024-08-01 08:06:16 +00:00
andrew rumble and Copybot
8af5fa0378
Upper-case for all methods
...
This is required by the fetch-api.
GitOrigin-RevId: 641c63ad2fe6b9d01c48c28faf669051de8f3271
2024-08-01 08:05:11 +00:00
andrew rumble and Copybot
2477ac6c50
Upper case PUT for consistency
...
GitOrigin-RevId: e3ce6b652ee9cee8a719b56d0dddda2faf575968
2024-08-01 08:05:06 +00:00
andrew rumble and Copybot
cbf8832908
Fix typos
...
GitOrigin-RevId: 69477e3d95db2862f745f43d97a6f98430a1973c
2024-08-01 08:05:01 +00:00