Commit graph

21883 commits

Author SHA1 Message Date
Thomas
e1c58c2aaf Merge pull request #15710 from overleaf/tm-no-constant-binary-expressions
Add no-constant-binary-expression, fix existing expressions that have no effect

GitOrigin-RevId: 6691e87181331ecbb5dabfda0be89839a0a4884b
2024-01-16 09:04:09 +00:00
Domagoj Kriskovic
c931d90f34 Wait for "doc:saved" event before compiling (#16153)
* wait doc:saved before compiling

* Refactor DocumentCompiler class to handle pending operations before compilation

* add timeout for pending op

* Increase PENDING_OP_MAX_WAIT to 10000 milliseconds

* check if currentDoc exists

* check doc id on doc:saved

* Fix conditional statement

* Refactor to add and remove event listeners for doc:saved event

* check if getPendingOp exists

* typeof getPendingOp

* forgot to push updates

* add flush-changes event

* use promise for handling pending operations

* Remove console.logs

* add isAwaitingBufferedOps

* Revert "add isAwaitingBufferedOps"

This reverts commit 56b0bbc13caf6375d1cf50e8f65f599e7263c404.

* move _awaitBufferedOps in try block

* dont check for matching doc id

* add a todo comment

GitOrigin-RevId: 9225e7d1a7a69385dc1a26bf7663f89f59db6a8a
2024-01-16 09:04:05 +00:00
Domagoj Kriskovic
21a4e0b6b3 [visual] Skip moving cursor inside argument if there is no decoration (#16365)
* [visual] Skip moving cursor inside argument if there is no decoration

* Refactor skipAtomicRanges function

* rangeSet outside the loop, continue rather than return

* use rangeSet.between

* prettier

GitOrigin-RevId: 85ef817e09ea7eb854cec43cb7866f61b4bfbc21
2024-01-16 09:03:59 +00:00
CloudBuild
ec37d70b09 auto update translation
GitOrigin-RevId: 77f4fe0bab7f6bc26d5bf89dc6ad5b50f3a7dcc1
2024-01-15 09:04:55 +00:00
Alf Eaton
bbbda35d63 Allow Shift-click to select a range of items in the file tree (#15147)
GitOrigin-RevId: 4651b5d094c45fb8a7447d1f3439c2f6b3578403
2024-01-15 09:04:36 +00:00
ilkin-overleaf
f67e19f6d2 Merge pull request #16453 from overleaf/ii-review-panel-dismiss-bulk-actions
[web] Fix bulk actions in review panel

GitOrigin-RevId: c78c99b0a3b005a0a4490ce393eb5d540f23ebc2
2024-01-15 09:04:31 +00:00
Alf Eaton
4a7a24b44d Update the CodeMirror language when the current file is renamed (#16342)
GitOrigin-RevId: 8b51df0d1acfeeb8b0323cebf6de78572c8cb95c
2024-01-15 09:04:27 +00:00
Alexandre Bourdin
ddd9334bd6 Merge pull request #14951 from overleaf/ab-split-test-calculator
[web] Split test calculator

GitOrigin-RevId: 53a84a64d69c47d692f215dee351af635a5dcceb
2024-01-15 09:04:22 +00:00
Alf Eaton
384633e41e Preload the translations for the current language (#16430)
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: c5500d0b7e8d0c99ed09751a35140a0b62182318
2024-01-15 09:04:17 +00:00
Alf Eaton
7ad5cb8f8b Exclude Babel's objectSpread and _defineProperty polyfills (#16449)
* Exclude `@babel/plugin-transform-object-rest-spread`
* Exclude `@babel/plugin-transform-computed-properties`

GitOrigin-RevId: 353a830a6c610e2f834e1b5cdd334d3f5ce69b55
2024-01-15 09:04:12 +00:00
Alf Eaton
ace673b95a [visual] Decorate \ce command (#16459)
GitOrigin-RevId: 0eab030489f97e43874e41d6d4895dc4de46521a
2024-01-15 09:04:08 +00:00
M Fahru
ded18dd09b Merge pull request #16244 from overleaf/mf-website-redesign-analytics
[web] Implement analytics that will be used for the website-redesign split test analysis

GitOrigin-RevId: 49bc0fe2049a5bf2ff676dfde93c1396002735c2
2024-01-12 09:03:37 +00:00
M Fahru
74421b3785 Merge pull request #16477 from overleaf/mf-fix-home-testimonial-media-text
Website-redesign: Remove hyphens from `testimonial-media` blockquote
GitOrigin-RevId: 5e132a15226899634f45794853324784c4f4cfe4
2024-01-12 09:03:34 +00:00
M Fahru
ff965e11fe Merge pull request #16476 from overleaf/mf-features-card-list
Website-redesign: Introduce `features-card-description-list` to differentiate whether the features-card have a list or a plain text as a description
GitOrigin-RevId: ee1470d6100487706067c05d1c9f08d22a7903f0
2024-01-12 09:03:31 +00:00
Eric Mc Sween
d227dfba0c Merge pull request #16393 from overleaf/em-typescript-libraries
Add type checking to libraries

GitOrigin-RevId: bed79f5123081773d6ac6e27698246726184c5e6
2024-01-12 09:03:25 +00:00
Eric Mc Sween
f1b460ecea Merge pull request #16385 from overleaf/em-typescript-other-services
Add type checking to all services

GitOrigin-RevId: f328a811fca7a783e9aff7d015ea73756acededd
2024-01-12 09:03:22 +00:00
David
a2da947a1f Merge pull request #16437 from overleaf/dp-remove-visual-editor-feedback-icon
Remove visual editor feedback badge

GitOrigin-RevId: c84cc7b6630642853848fad46695bff6ae2a990a
2024-01-12 09:03:19 +00:00
David
5412b9b923 Merge pull request #16439 from overleaf/dp-resolved-comments-button-contrast
Add explicit background color for resolved-comments-toggle to fix contrast on safari

GitOrigin-RevId: 19876b85be29604af73c4e90c8a91f3cf8c98228
2024-01-12 09:03:13 +00:00
Jakob Ackermann
c530b791a4 Merge pull request #16471 from overleaf/em-clsi-in-memory-lock
Replace filesystem lock in CLSI with in-memory lock

GitOrigin-RevId: de1ac3beca67bb4e9070806871a1c7b6a59aa77f
2024-01-11 09:05:22 +00:00
Jakob Ackermann
a0f8a1b806 Merge pull request #16440 from overleaf/jpa-em-remove-extra-stat
[clsi] remove unnecessary stat call for checking each output file

GitOrigin-RevId: ba7fe435264596368808552a3da3e36d731eda09
2024-01-11 09:05:17 +00:00
M Fahru
94594701e3 Merge pull request #16441 from overleaf/mf-fix-new-homepage-issues
[web] Fix new homepage visual issues

GitOrigin-RevId: 240d6a557982173c6a890de3a5ab0770b4ac8b64
2024-01-11 09:05:13 +00:00
M Fahru
41735fbd89 Merge pull request #16448 from overleaf/mf-fix-animated-text-singular
Make every word in animated plural by changing `article` to `articles`

GitOrigin-RevId: 1df6a9dc7985ceaca4f4d19204f928a08b617bac
2024-01-11 09:05:08 +00:00
Eric Mc Sween
a9d87232ca Merge pull request #16446 from overleaf/em-docops-migration-min-id
Support min id in docOps migration

GitOrigin-RevId: d08887aca1e8b744515d42e0b6f2286d45c4d93e
2024-01-11 09:04:56 +00:00
Jakob Ackermann
5aeb1f1459 Merge pull request #16438 from overleaf/jpa-em-replace-find-subprocess
[clsi] replace find subprocess for listing compile dir contents

GitOrigin-RevId: 36c8230ea6d787b1d948407d6473c14af8d6b5f6
2024-01-11 09:04:52 +00:00
Davinder Singh
1e86897556 Spacing fix on welcome page (#16382)
* adding a margin of 0

* adding a padding bottom to the welcome page component

* adding a padding bottom of 25px to project-list-welcome-wrapper

* adding container class to fix two issues together

* adding px-0

* adding mx-0

GitOrigin-RevId: 043173d93d705acd92ad1ebe47bda0f3552ded1a
2024-01-11 09:04:40 +00:00
Jakob Ackermann
f97e64ab52 Merge pull request #16433 from overleaf/jpa-migrate-audit-log-dev-env
[web] run audit log migration in SaaS/dev-env

GitOrigin-RevId: 9e0c5917102cef018ae6078a826a145a2181163f
2024-01-11 09:04:35 +00:00
Jakob Ackermann
262cb78fe2 Merge pull request #16452 from overleaf/jpa-aspell-upgrade-take-2
[spelling] loosely match aspell version 0.60.8.1 to allow patch upgrades

GitOrigin-RevId: 8c54534f538f0b34144d9124210d28a73558a0eb
2024-01-11 09:04:30 +00:00
Jakob Ackermann
c62996a933 Merge pull request #16390 from overleaf/jpa-aspell-0.60.8.1-1
[spelling] switch node base image and upgrade aspell

GitOrigin-RevId: 3d5a4d6f7b3e542b983f282bc00dab85e0979784
2024-01-10 09:03:12 +00:00
Alf Eaton
2bb8d7bab2 Fix loading container on project list (#16429)
GitOrigin-RevId: 7a98cdd49132611a3334558e2a5f283fedea84cb
2024-01-10 09:03:09 +00:00
Alf Eaton
678f0eb498 Fix React scope event listener (#16434)
GitOrigin-RevId: 1846ad511f915ff48f2f20a8b8a7f1174bb21525
2024-01-10 09:03:05 +00:00
Eric Mc Sween
20bd57e9bd Merge pull request #16314 from overleaf/em-migrate-docops-versions
Migrate doc versions from docOps to docs

GitOrigin-RevId: 34b0130e9f0849b8e16f1febc38c78b55d51a4c1
2024-01-09 09:04:15 +00:00
Rebeka Dekany
64c512250d Merge pull request #16179 from overleaf/rd-remove-survey
[web] Tear down onboarding survey 2022

GitOrigin-RevId: ae2e7bf833424fe2bff9f82e4c3f264f42a1b27d
2024-01-09 09:04:09 +00:00
Miguel Serrano
51de84664d Merge pull request #16346 from overleaf/msm-remove-underscore
Remove `underscore` in monorepo

GitOrigin-RevId: fd3b92e3e8a940a7a086669232102320c34a89e2
2024-01-09 09:03:58 +00:00
Miguel Serrano
a04b5c0418 Merge pull request #15946 from overleaf/msm-new-notification-others
[web] new notification style for dashboard alerts

GitOrigin-RevId: cf5bea32a89f35d63ca4bdc2df2619352d421ff3
2024-01-09 09:03:55 +00:00
Alf Eaton
a50ca25f3a Throttle PDF.js resize listener (#16402)
GitOrigin-RevId: 5c1498d21197b09865930e1b2deff049022d2d17
2024-01-09 09:03:49 +00:00
Alf Eaton
fc8892e4fb Expose ScopeValueStore via window.overleaf.unstable.store (#16404)
GitOrigin-RevId: 4b251639296405c0a9487f063e8b049687860004
2024-01-09 09:03:46 +00:00
Alf Eaton
e91b76a4f0 Fix load metadata (#16417)
GitOrigin-RevId: 26505e08ca9074238253dba08d0380422ae859be
2024-01-09 09:03:43 +00:00
Domagoj Kriskovic
e27abe56b8 Show argument completions even if it has more than 245 chars (#16352)
* Show argument completions even if it has more than 255 chars

* use tokenBefore for existingKeys

* use 'ShortArg' token so braces are escaped

* refactor argument completion logic

* remove extra filter

* Add makeMultipleArgumentCompletionSource for arguments with multiple keys

* revert makeArgumentCompletionSource

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: f5aa70fe5e58e04efe0c4e8668957f61a7fa7911
2024-01-09 09:03:40 +00:00
Jakob Ackermann
b4b369fea5 Merge pull request #16428 from overleaf/jpa-clsi-replace-fs-extra
[clsi] replace fs-extra to avoid excess syscalls

GitOrigin-RevId: cbc8ec01b8ac9fd973e86a6d763c8f599323db94
2024-01-09 09:03:36 +00:00
David
f6b7b84e88 Merge pull request #16409 from overleaf/dp-fix-group-pricing-after-back-button-pressed
Update group plan pricing modal after the page has fully loaded

GitOrigin-RevId: 03e2ea642b38d6e2e208683b0cb68a817a5873c8
2024-01-09 09:03:33 +00:00
Jakob Ackermann
17d17612b3 Merge pull request #16426 from overleaf/em-decaf-output-cache-manager
Decaf cleanup OutputCacheManager

GitOrigin-RevId: 59d65930b4a88ab20e330dedac3d00d80c4140fd
2024-01-08 09:06:03 +00:00
CloudBuild
353fdac850 auto update translation
GitOrigin-RevId: d02dcfa56747d36fcb85c5b1110add29881b421c
2024-01-08 09:05:58 +00:00
Jimmy Domagala-Tang
3617196760 Merge pull request #16419 from overleaf/jdt-fix-grammarly-offer-link
fix the grammarly offer id

GitOrigin-RevId: 996501ebb50b64bd8f9bd46305ba47baa37fee88
2024-01-08 09:05:45 +00:00
Jimmy Domagala-Tang
5f38a930a5 Merge pull request #16319 from overleaf/jdt-grammarly-ad-redesign
Grammarly Ad redesign

GitOrigin-RevId: 28d0ae871b6303b31aadb59abc80b625d529cc9b
2024-01-08 09:05:40 +00:00
Davinder Singh
5c5a01777c Making getAnalyticsIdFromMongoUser private to UserAnalyticsIdCache (#16125)
* Making getAnalyticsIdFromMongoUser private to UserAnalyticsIdCache

* renaming userAnalyticsIdCache to UserAnalyticsIdCache

* deleting function _getAnalyticsIdFromMongoUser

* renaming userAnalyticsIdCache to UserAnalyticsIdCache part 2

* format:fix

* adding upperCamelCase

* capital case first letter

GitOrigin-RevId: 2e9c18c544b8cffb53838aed56e1ef16979606a5
2024-01-08 09:05:31 +00:00
Alf Eaton
9804ebe12c Replace strict-event-emitter with EventTarget (#16374)
GitOrigin-RevId: 3b0afc3cd7bf3d11f35a3de23cb94061d2d6c69b
2024-01-08 09:05:22 +00:00
Alf Eaton
cf0e260a36 Recalculate toolbar overflow when buttons change (#16350)
GitOrigin-RevId: 70ab356172bc57630b6032a6400fb08e8fd33464
2024-01-08 09:05:17 +00:00
Alf Eaton
84898dca5d Remove margin from table grid popover (#16337)
Co-authored-by: Mathias Jakobsen <mathias.jakobsen@overleaf.com>
GitOrigin-RevId: 71673d7d9a18baf44027e82cc34058e3db052591
2024-01-08 09:05:12 +00:00
Alf Eaton
195d034124 Upgrade @replit/codemirror-vim (#16388)
GitOrigin-RevId: 7a8e8c05fd36690ce80c2b6b3ff4501a6bae6663
2024-01-08 09:05:07 +00:00
Alf Eaton
84ebb1c8f2 Merge pull request #16378 from overleaf/ae-upgrade-codemirror-3
Upgrade `@codemirror` dependencies

GitOrigin-RevId: 242b1dbcf2878869957f40a5522dabcbcc181b5b
2024-01-08 09:05:02 +00:00