Alf Eaton
bb1745cf2d
Always wait for buffered ops before compiling ( #23336 )
...
GitOrigin-RevId: 1e586979897fb01378e449fe9dc9c7d269de83bb
2025-02-05 09:05:19 +00:00
Alf Eaton
637f12675c
Standardise naming of openDocId as openDocWithId or currentDocumentId ( #23307 )
...
GitOrigin-RevId: d71b6d878188c7b916f02a3749976ecd96d648a3
2025-02-05 09:05:15 +00:00
Alf Eaton
067ff47012
Remove doc:opened event ( #23310 )
...
GitOrigin-RevId: e0613c4ac548b57786df6a28f433636485dbb2a7
2025-02-05 09:05:07 +00:00
Alf Eaton
3820a3c7fa
Return a promise from openDoc ( #23309 )
...
GitOrigin-RevId: a2801ce482e48a061269d819aff16a6c6e507955
2025-02-05 09:05:03 +00:00
Alf Eaton
1cad0767d8
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
eb7ea5b5b3
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
bb031c8b3b
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
9978091479
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
f5bfe3763d
[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
e33f1bf108
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
a38e0ffd53
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
a81f1ed442
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
a30393dc69
[project-history] make logging of latency in resync script optional ( #23325 )
...
GitOrigin-RevId: ee6863e05be648757ccaa96a0321085fe42f508f
2025-02-04 09:04:59 +00:00
Jakob Ackermann
78f9520ade
[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
9c6311e071
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
8246195088
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
a076854722
[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
6d6ed66d4d
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
0e67f8c479
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
d397a1c54d
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
9a69ed9d90
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
633be7d9fd
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
e600c18e4e
[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
e1e5424d9b
[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
ac471c7b82
[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
fb9a3b1073
[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
97ab61a5fa
Create missing dropboxEntities mongo index ( #23257 )
...
GitOrigin-RevId: cddcb63371f45c42482e42c6fdcc16f83aa41877
2025-02-03 09:05:21 +00:00
Domagoj Kriskovic
e92682f4b3
Refactor review panel position-items function ( #22969 )
...
GitOrigin-RevId: 929e7f2b90ac21cb68117d66ca599120cc765fab
2025-02-03 09:05:10 +00:00
Domagoj Kriskovic
2ef13e93be
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
d9a32a8dca
Prevent adding multiple replies by hitting enter while submitting ( #23240 )
...
GitOrigin-RevId: 342aa30f89f3ac0b0b25ab931dd4df1d956aa4a1
2025-02-03 09:05:00 +00:00
Alf Eaton
cb8f5898af
Add memoized FormatTimeBasedOnYear component ( #23199 )
...
GitOrigin-RevId: 1f26ca9c0dbbda639939736f1e6a0c236e38a160
2025-02-03 09:04:52 +00:00
Alf Eaton
599788bb9d
Use thread id in removeNewCommentRangeEffect ( #23205 )
...
GitOrigin-RevId: 6082f5e6d6f548eff43da657526097118a2d3c11
2025-02-03 09:04:48 +00:00
Brian Gough
6cb91e009b
Merge pull request #23246 from overleaf/bg-real-time-server-ping
...
add real-time ping-pong messages for debugging lost connections
GitOrigin-RevId: 28feb8c8c7c660a5a23ca394acd0f69ac828c5a3
2025-02-03 09:04:39 +00:00
M Fahru
61d05467b8
[web] Fix bug where VAT value isn't retained properly when changing plan without reloading ( #23211 )
...
Fix VAT info is not properly updated when changing plan without reloading.
I removed `setPlan` and created a new function: `updatePlan`. In the new function, I call the recurly function directly and the tracking code. This way, we can be sure that changing plan won't call useLayoutEffect.
Also, remove unused `useState` on the `planCode`
GitOrigin-RevId: 0d6d9fac32c15dcf13e35cf9cd9161aa07581938
2025-01-31 09:05:36 +00:00
M Fahru
369aa961bb
Use PaymentContextValue type instead of direct boolean ( #23185 )
...
GitOrigin-RevId: 2e1af64a40a4b98f84fbd7a024b1facd18e0fe90
2025-01-31 09:05:32 +00:00
Antoine Clausse
410f126060
[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
858d31bcd0
[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
e01e3960c3
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
Jakob Ackermann
268a1fbeda
[project-history] fetch most recent chunk once when processing updates ( #23261 )
...
GitOrigin-RevId: 08ddd1f953b0dbae0541a60b45fec0f88e0a1d06
2025-01-31 09:05:14 +00:00
Jakob Ackermann
97385ffa77
[project-history] forward all the optional file attributes during resync ( #23260 )
...
Notably, 'createdBlob' was missing. And others like metadata should not
be added if not set.
GitOrigin-RevId: c4a6746c4824d637f7c54b4c68a7025b60c15ff2
2025-01-31 09:05:09 +00:00
roo hutton
11bc20c950
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
83012e0961
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
CloudBuild
cad7a78054
auto update translation
...
GitOrigin-RevId: afd78e117c45b7ab3c28cacfc9ec29b2e7c20e70
2025-01-30 09:05:46 +00:00
Miguel Serrano
88a0d89888
[CE/SP] Hotfix 5.3.1 ( #23008 )
...
* [CE/SP] Hotfix 5.3.1
* Added mongoose upgrade for services/templates
* Fix mongodb transitive dependency
* cleaned npm cache and /tmp
GitOrigin-RevId: 139cf7776ba053c3763613cc3a6cdea4dfd3db44
2025-01-30 09:05:38 +00:00
Domagoj Kriskovic
9dd7a36f18
Ensure editor decorations for comments are removed in the old review panel ( #23239 )
...
GitOrigin-RevId: d41d9b9701fc792c0190f4648ce9c4ddf035a967
2025-01-30 09:05:30 +00:00
Domagoj Kriskovic
681d6d8192
Prevent submitting comment on enter if input is empty ( #23221 )
...
* Prevent submitting comment on enter if input is empty
* check for content in keyPress event
GitOrigin-RevId: 1abef229782265836a49d74aa93625797d50dc3a
2025-01-30 09:05:26 +00:00
Eric Mc Sween
7d2a2b78ee
Merge pull request #23212 from overleaf/em-docupdater-send-doc-hash
...
Send doc hash with history updates from docupdater
GitOrigin-RevId: 119475d4198c6603cecd4fd579a64ff4448261ce
2025-01-30 09:05:21 +00:00
David
07f5c37a74
Merge pull request #23134 from overleaf/dp-remove-math-preview-flag
...
Remove math-preview feature flag
GitOrigin-RevId: a5235cf36b692b0e3dc36ff6185ebc7ef169d21e
2025-01-30 09:05:17 +00:00
David
9c8b5af104
Merge pull request #23182 from overleaf/dp-pdf-error-state
...
Add pdf error state for new ide
GitOrigin-RevId: 35fe07744996375db9cb3b860bdc128b509ee438
2025-01-30 09:05:12 +00:00
David
3bf67a4f6c
Merge pull request #23080 from overleaf/dp-file-outline-in-editor
...
Add file outline to new editor
GitOrigin-RevId: c9b36d480b243905de8e98dcb838c56a2fe9d2b0
2025-01-30 09:05:08 +00:00