Commit graph

22129 commits

Author SHA1 Message Date
Brian Gough
b2ff14f669 Merge pull request #23375 from overleaf/bg-add-id-checks-for-chunks
guard against non-postgres projectIds

GitOrigin-RevId: eab2024e4e893591f4b1c6a507b26d935273ae5f
2025-02-05 09:06:54 +00:00
Brian Gough
9b073db24d Merge pull request #23368 from overleaf/bg-add-index-for-pending-change-at
add migration for creating index on overleaf.backup.pendingChangeAt

GitOrigin-RevId: b15f1b95d8dbbb08cd2ae4863a0501663130ab65
2025-02-05 09:06:50 +00:00
Jessica Lawshe
c53a00eb48 Merge pull request #23087 from overleaf/jel-reg-no-sso
[web] Update message on registration page when org does not have SSO

GitOrigin-RevId: 4df9e33f60e9b12acb17fa56401d76a5188f121c
2025-02-05 09:06:43 +00:00
Jessica Lawshe
5e0dced989 Merge pull request #22966 from overleaf/jel-saml-error
[web] Check for requester errors in SAML callback

GitOrigin-RevId: 491d7c85e859c503bade3b225a4596656dbfe84f
2025-02-05 09:06:38 +00:00
Jessica Lawshe
bcd61354a8 Merge pull request #22803 from overleaf/jel-sso-error-handling
[web] Better error when for missing user SAML callback data

GitOrigin-RevId: 0f781bc46a8684e183d4a860df00c29d6dc9193e
2025-02-05 09:06:31 +00:00
M Fahru
109cc90e34 Merge pull request #23303 from overleaf/mf-onboarding-confirm-email-bs5-migration
[web] Migrate onboarding confirm email page to bootstrap 5

GitOrigin-RevId: ccba9aa7c6b3767010d823a4373bf65bb026d3c4
2025-02-05 09:06:26 +00:00
Mathias Jakobsen
d0c94a0a56 Merge pull request #23237 from overleaf/mj-ide-chat
[web] Add existing chat pane to the editor redesign

GitOrigin-RevId: 21b4c80b18ec1dc554f1eb2fac95994f0352fefc
2025-02-05 09:06:15 +00:00
Domagoj Kriskovic
69d309f6a0 Sync history and chat service resolve value on file restore (#23265)
* Sync history and chat service resolve value on file restore

* properly check resolved values

* delete resolved from emitted newCommentThreadData

* removed resolved from the comment range

GitOrigin-RevId: 6f3a14e2e14e48a2313d7b0942b6621bb42c472f
2025-02-05 09:06:11 +00:00
Domagoj Kriskovic
6d45fea773 Add "new-comment-threads" event handler for new review panel (#23298)
GitOrigin-RevId: 00628e6421a563f5157415d235ee5e7c2818e690
2025-02-05 09:06:07 +00:00
Domagoj Kriskovic
6ee3ff63e4 Dont show "add comment" tooltip when text is selected via search (#23341)
* Dont show "add comment" tooltip when text is selected via search

* remove the tooltip if selection changes

* handle empty selection

* use tr.effects.some for mouseUp check

* avoid creating new create function each time

* use useEventListener

GitOrigin-RevId: 18d96fe6fdefcd55f88849cf880f804d4c963f4d
2025-02-05 09:06:02 +00:00
Mathias Jakobsen
1ab971a2da Merge pull request #23374 from overleaf/dp-compile-button-2
Use old pdf compile button in new editor

GitOrigin-RevId: 85a1bacf94b3fb569f95fcea23a16f5f51f29bcd
2025-02-05 09:05:58 +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
d9febc168e Merge pull request #23313 from overleaf/ls-feature-flag-for-consolidated-plans
Add a separate feature flag for consolidated plans

GitOrigin-RevId: e048bf51fa9481506f884ba04bb0ba1a0605b43c
2025-02-05 09:05:36 +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
Brian Gough
098d91f0bb Merge pull request #23345 from overleaf/bg-write-latest-history-version-to-project
update project entry with history metadata on chunk creation

GitOrigin-RevId: dd19898f3d16e2e3360ff1bcccbf79f7dd27addb
2025-02-05 09:05:28 +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
8406807552 Always wait for buffered ops before compiling (#23336)
GitOrigin-RevId: 1e586979897fb01378e449fe9dc9c7d269de83bb
2025-02-05 09:05:19 +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
Alf Eaton
d899144d43 Remove doc:opened event (#23310)
GitOrigin-RevId: e0613c4ac548b57786df6a28f433636485dbb2a7
2025-02-05 09:05:07 +00:00
Alf Eaton
341f84ca80 Return a promise from openDoc (#23309)
GitOrigin-RevId: a2801ce482e48a061269d819aff16a6c6e507955
2025-02-05 09:05:03 +00:00
Alf Eaton
797686939f Merge pull request #23284 from overleaf/ae-scope-event-types
Improve scope event types

GitOrigin-RevId: 5327c56a14244a2513748d3bcbac04413d104e12
2025-02-05 09:04:58 +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
7f7c2408c8 Merge pull request #23281 from overleaf/jdt-opp-prompts-teardown
Opportunistic prompts teardown

GitOrigin-RevId: ccca9b043dce9abc5719371c3adcdf41ec6510c3
2025-02-04 09:05:25 +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
Miguel Serrano
e73b3b4c9f [web] Ignore chat capability in CE/SP (#23297)
* [web] Ignore chat capability in CE/SP

* Allow usage of hasFeature('chat') for testing in saas

GitOrigin-RevId: 4ab5ffe2142353322e7955463f1beca524113d42
2025-02-04 09:05:14 +00:00
roo hutton
32793f7872 Merge pull request #23319 from overleaf/rh-compile-timeout-students
Expose ODC role to compile timeout paywall

GitOrigin-RevId: eca3983019200349e90b4681b59720c0028fb3b6
2025-02-04 09:05:10 +00:00
roo hutton
30335971cf Merge pull request #23339 from overleaf/rh-pause-subscription-id
Fix recurly subscription id in pause-scheduled event

GitOrigin-RevId: 94838bddd53c9b9a051cae8252eca11b01e96c60
2025-02-04 09:05:06 +00:00
Eric Mc Sween
39842c9857 Merge pull request #23250 from overleaf/em-project-history-doc-hash
Propagate the doc hash from project-history to history

GitOrigin-RevId: 341df52df41f7a5f8dbebbce53a47f9d5e1f8175
2025-02-04 09:05:03 +00:00
Jakob Ackermann
f727389b2b [project-history] make logging of latency in resync script optional (#23325)
GitOrigin-RevId: ee6863e05be648757ccaa96a0321085fe42f508f
2025-02-04 09:04:59 +00:00
Jakob Ackermann
3a4c5a0d0f [history-v1] add readOnly lookup for raw chunks (#23318)
* [history-v1] add readOnly lookup for raw chunks

Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>

* [history-v1] reduce min poolsize for readOnly pool to 0

Co-authored-by: Brian Gough <brian.gough@overleaf.com>

---------

Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: a711c4ee4f3ea3775bd090e620d1ef52689fa1f4
2025-02-04 09:04:52 +00:00
Brian Gough
01ed0c10a0 Merge pull request #23317 from overleaf/bg-improve-real-time-ping-logs
Add connection details to real-time ping logs

GitOrigin-RevId: f993d71deb1a512295af6c7146a19b730742e33f
2025-02-04 09:04:48 +00:00
roo hutton
864599b325 Merge pull request #23172 from overleaf/rh-pause-pending-plan-change
Don't offer subscription pause if plan change is pending

GitOrigin-RevId: e91897fab2d003dc3ef7486e609a8b907e376a1f
2025-02-04 09:04:41 +00:00
Jakob Ackermann
5404dcb93d [misc] update build scripts (#23316)
* [misc] update build scripts

* [misc] make shellcheck happy

GitOrigin-RevId: 343655fda54aa7e835dd666dcd4218d61c58fd09
2025-02-04 09:04:37 +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
Brian Gough
8831fb9a18 Merge pull request #23169 from overleaf/bg-export-global-blobs
Add script to export global blobs to CSV

GitOrigin-RevId: 86c885981b150aae4541770a094c822e1fb364b9
2025-02-03 09:05:53 +00:00
Davinder Singh
423c2ba7e7 Merge pull request #23285 from overleaf/ds-compile-timeout-paywall-split-test
Compile timeout paywall - Setting up the split test

GitOrigin-RevId: c91c25c167daffdcd7b86fddf33e1867f90d0f4a
2025-02-03 09:05:48 +00:00
Jakob Ackermann
c6c623da78 [project-history] script for fixing-up files/metadata with bulk resync (#23184)
* [history-v1] add cheap endpoint for checking time of last history write

The /raw endpoint skips the GCS lookup for the chunk.

* [project-history] script for fixing-up files/metadata with bulk resync

* [project-history] upgrade structure only resync when full sync is needed

* [project-history] start resync and process resync updates under lock

* [project-history] stop retrying during graceful shutdown

GitOrigin-RevId: 73184d5786e1d40f5b7e21f387fc37cf43f0ac2d
2025-02-03 09:05:43 +00:00
Jakob Ackermann
b0c9176634 [project-history] add resync for project structure only (#23271)
* [project-history] add resync for project structure only

* [project-history] block resyncProjectStructureOnly that update docs

* [project-history] tweak test description

GitOrigin-RevId: ce2749566c36e04dab21c26dd60dd75d93c0d4c0
2025-02-03 09:05:39 +00:00
Jakob Ackermann
8df7f6772c [web] close connection permanently when opening out-of-sync modal (#23148)
* [web] close connection permanently when opening out-of-sync modal

* [web] disable generic forceDisconnected behavior for out-of-sync modal

* [web] hide "disconnected" banner when displaying out of sync modal

GitOrigin-RevId: 133b3e24d94279917298ce7fd5d0a76da2265512
2025-02-03 09:05:34 +00:00
Jakob Ackermann
cebaebc356 [web] add migration for indexing onboardingDataCollection.updatedAt (#22918)
Co-authored-by: Dr. Sasha Göbbels <sasha.goebbels@overleaf.com>
GitOrigin-RevId: 6dbd3e994dc3ebc3ef9afd6d3e3efe00606ba127
2025-02-03 09:05:29 +00:00
Domagoj Kriskovic
c0caaa20c3 Create missing dropboxEntities mongo index (#23257)
GitOrigin-RevId: cddcb63371f45c42482e42c6fdcc16f83aa41877
2025-02-03 09:05:21 +00:00
Domagoj Kriskovic
f2c6a7ddb4 Refactor review panel position-items function (#22969)
GitOrigin-RevId: 929e7f2b90ac21cb68117d66ca599120cc765fab
2025-02-03 09:05:10 +00:00
Domagoj Kriskovic
97562c0042 Debounce position updates in review panel for improved performance (#23190)
* Debounce position updates in review panel for improved performance

* move debounce inside useMemo

* move 'review-panel:position' inside debounce

GitOrigin-RevId: 2b2d0e59537875f85036b0105ccb1a7d2035c0de
2025-02-03 09:05:05 +00:00
Domagoj Kriskovic
14dedf0101 Prevent adding multiple replies by hitting enter while submitting (#23240)
GitOrigin-RevId: 342aa30f89f3ac0b0b25ab931dd4df1d956aa4a1
2025-02-03 09:05:00 +00:00
Alf Eaton
32a27c14b4 Add memoized FormatTimeBasedOnYear component (#23199)
GitOrigin-RevId: 1f26ca9c0dbbda639939736f1e6a0c236e38a160
2025-02-03 09:04:52 +00:00