Eric Mc Sween
6d216d4738
Merge pull request #18355 from overleaf/em-resync-tracked-changes
...
Handle tracked changes during resyncs
GitOrigin-RevId: 1d5b16a4cb17226da184a5430ebbcfc79ad9c7ce
2024-05-27 10:23:02 +00:00
Rebeka Dekany
a0334898db
Merge pull request #18437 from overleaf/rd-bs5-project-dashboard
...
Enable Bootstrap 5 to load for the project dashboard page
GitOrigin-RevId: 4aa74bd4fde98192b2e5b322bb777a8c8beae237
2024-05-27 10:22:58 +00:00
Rebeka Dekany
8d25fb1131
Merge pull request #18454 from overleaf/rd-managed-account
...
[web] Use the Notification component for the managed account alert
GitOrigin-RevId: 3839b171348bf0f670b6a033b99078b8543ce2e5
2024-05-27 10:22:53 +00:00
Andrew Rumble
71187a51ba
Merge pull request #18289 from overleaf/ac-ar-eslint-return-await
...
Add ESLint rule @typescript-eslint/return-await to backend services
GitOrigin-RevId: 75e3e32597827fcc852e69d479515fc72e8f45e4
2024-05-27 10:22:49 +00:00
David
029cd4abe7
Merge pull request #18456 from overleaf/dp-fix-main-lint
...
Fix lint by using recordEventForUserInBackground
GitOrigin-RevId: 3412c9a997ce0921b25408fc584060e528843b88
2024-05-27 10:22:44 +00:00
David
635aae7b1f
Merge pull request #18320 from overleaf/dp-add-secondary-prompt-ui
...
Add secondary email form V2 (with Captcha this time)
GitOrigin-RevId: b06216a2c9cb5b3b09305a17992eca506a0047f5
2024-05-27 10:22:40 +00:00
roo hutton
5aea030184
Merge pull request #18422 from overleaf/rh-managed-acct-delete-email
...
[web]: Clarify tooltip for managed user attempting to delete email address
GitOrigin-RevId: 82eabc0b9d96773d5d418bec52ea917fd585ec63
2024-05-27 10:22:36 +00:00
CloudBuild
a6d7636a70
auto update translation
...
GitOrigin-RevId: 52fbd8a23dd32dd7b3141c0ccfd5aabb60807bd8
2024-05-27 10:22:28 +00:00
Eric Mc Sween
a22319fe46
Merge pull request #18453 from overleaf/em-fix-floating-promise
...
Fix no-floating-promises lint rule
GitOrigin-RevId: 58f89e0078abf72be65552f9468cb225e5758e3e
2024-05-27 10:22:24 +00:00
Eric Mc Sween
876ee4d967
Merge pull request #18225 from overleaf/em-typescript-eslint
...
Add typescript-eslint rule: no-floating-promises
GitOrigin-RevId: 8c3decdff537c885f5bfeb5250b7805480bc6602
2024-05-27 10:22:20 +00:00
Eric Mc Sween
814b085b44
Merge pull request #18374 from overleaf/em-chat-resolved-thread-ids
...
Add resolved-thread-ids endpoint to chat
GitOrigin-RevId: 211dee88707f2d7fb1c0c8805a1f6ac28dca494d
2024-05-27 10:22:15 +00:00
Rebeka Dekany
5af6acde2b
Merge pull request #18390 from overleaf/rd-bs5-close-position
...
[web ] Fix the close button position of modal header
GitOrigin-RevId: 79c6cf272f69446cb5849421445f016ea6d53403
2024-05-27 10:22:08 +00:00
Rebeka Dekany
74f0483157
Merge pull request #18418 from overleaf/rd-bs5-cookie-banner
...
[web] Migrate the cookie banner to Bootstrap 5
GitOrigin-RevId: 79dd74e2cf09faab381f24101a3633b0377009a0
2024-05-27 10:22:04 +00:00
Alf Eaton
3434d8c908
Trigger PDF.js canvas redraw on document visibility change ( #18446 )
...
GitOrigin-RevId: 44b3ce3ebd8b0e48c51451bbfc5c2d54397a9355
2024-05-27 10:21:59 +00:00
Alf Eaton
6569f49a92
Set isEvalSupported to false when loading a PDF document ( #18444 )
...
GitOrigin-RevId: 394d63571d83302b91b5719389adf49155218bc7
2024-05-27 10:21:55 +00:00
Alf Eaton
3cb4190ef0
Merge pull request #18223 from overleaf/jpa-lazy-init-matcher
...
[web] initialize matcher for ignored file paths lazily
GitOrigin-RevId: ed04b286e188ad73e3090822965b19ccf2e7d2b4
2024-05-27 10:21:51 +00:00
Antoine Clausse
3300811d3a
[web] Simplify removeSessionsFromRedis
signature ( #18440 )
...
* Simplify `removeSessionsFromRedis` signature
* Update usage of `removeSessionsFromRedis`
* Fix tests around `removeSessionsFromRedis`
* Add comments "remove all sessions except the current session"
GitOrigin-RevId: 03bf99c14faf2c8e403bc4bcc16463a70e031284
2024-05-27 10:21:30 +00:00
Antoine Clausse
78a0bc2b05
[web] Convert RecurlyWrapper
functions to async ( #18384 )
...
* Rename `RecurlyWrapper` to `promises`, as it will only contain the promises soon
* Update `apiRequest`
* Update `_parseXml`
* Update `_parseXmlAndGetAttribute`
* Update `_parse*Xml`
* Update `updateAccountEmailAddress`
* Update `checkAccountExists`
* Update `createAccount`
* Update `createBillingInfo`
* Update `setAddressAndCompanyBillingInfo`
* Update `createSubscription`
* Update `_createPaypalSubscription`
* Update `_handle422Response`
* Update `_createCreditCardSubscription`
* Update `createSubscription`
* Update `getSubscriptions`
* Update `getSubscription`
* Update `getPaginatedEndpoint`
* Update `getAccount`
* Update `getAccountActiveCoupons`
* Update `getCoupon`
* Update `getBillingInfo`
* Update `getAccountPastDueInvoices`
* Update `attemptInvoiceCollection`
* Update `updateSubscription`
* Update `createFixedAmmountCoupon`
* Update `lookupCoupon`
* Update `redeemCoupon`
* Update `extendTrial`
* Update `listAccountActiveSubscriptions`
* To find which functions to add as callbackified, I used this Regex:
`RecurlyWrapper\.(?!promises)[^.\s]*`
And after adding callbackified functions, we're left with no results with the Regex:
`RecurlyWrapper\.(?!promises|apiUrl|_buildXml|_parseXml|attemptInvoiceCollection|createFixedAmmountCoupon|getAccountActiveCoupons|getBillingInfo|getPaginatedEndpoint|getSubscription|updateAccountEmailAddress)[^.\s]*`
* Update unit tests
* Test `getSubscription` both as "promise" and as "callback"
I'm not sure if we want to generalize this.
* Fix: add missing `await`s (!!)
* Change `apiRequest` to reject errors instead of resolving it in an object
* Fixup for CollectPayPalPastDueInvoice test
* Fix: callbackify `getSubscriptions` (!!)
* Replace `.then(...)` chain by multiple `await`
* Fixup `attemptInvoicesCollection`: prevent reading length of undefined
* Use `return await` when returning promises
Per https://github.com/overleaf/internal/pull/18384#pullrequestreview-2065738771
GitOrigin-RevId: ceda755b24fd29f97a27e60ac5db9bc7e369f932
2024-05-27 10:21:26 +00:00
ilkin-overleaf
d56f5a3030
Merge pull request #18424 from overleaf/ii-delete-with-body-fe
...
[web] Replace delete with post requests when having body (FE)
GitOrigin-RevId: df727f35ea77eaa8273687f75aafd9bd983b7f25
2024-05-21 08:04:48 +00:00
ilkin-overleaf
7ca9a5b61b
Merge pull request #18415 from overleaf/ii-delete-with-body
...
[web] Replace delete with post requests when having body
GitOrigin-RevId: b580cfa3bd53c21f46de72f3a36b647fda143b04
2024-05-21 08:04:44 +00:00
ilkin-overleaf
f469d8e5e3
Merge pull request #18369 from overleaf/ii-bs5-downshift
...
[web] BS5 downshift in account settings page
GitOrigin-RevId: acfbde3ec87ae8038e0b19ddaca35e6c7392743b
2024-05-21 08:04:40 +00:00
Alf Eaton
2d75652f61
Add uppy subdependencies ( #18378 )
...
GitOrigin-RevId: 8046821f4ea46e5d414e9d944ad58cc0a0a0857c
2024-05-21 08:04:35 +00:00
Alf Eaton
af721874f1
Set permissionsLevel to readOnly when out of sync ( #18391 )
...
GitOrigin-RevId: d495d7ba4d5d0c7db00277538c932a585f6dace0
2024-05-21 08:04:31 +00:00
Alf Eaton
e7827fbd57
Validate URL protocol before opening from Visual Editor tooltip ( #18393 )
...
GitOrigin-RevId: 1da255d3e8ccd91e8c8774d140ec663906be948f
2024-05-21 08:04:26 +00:00
CloudBuild
e9d4d26fec
auto update translation
...
GitOrigin-RevId: 27e8955541b4d322e0a5571464e4d6234a638e90
2024-05-20 08:04:36 +00:00
CloudBuild
d0d2850bae
auto update translation
...
GitOrigin-RevId: 356c7f9f2475e4715c99516f581d5aa20aebef70
2024-05-20 08:04:31 +00:00
Rebeka Dekany
1aa5ee7b21
Merge pull request #18404 from overleaf/rd-bs5-dropdown-fix
...
[web] Fix footer layout on the smallest viewport Bootstrap 5
GitOrigin-RevId: 741540ff5e25fe36021d0a2ef2d433dc63ee3650
2024-05-20 08:04:27 +00:00
Eric Mc Sween
dfd1652c35
Merge pull request #18375 from overleaf/em-promisify-chat-api-handler
...
Promisify ChatApiHandler
GitOrigin-RevId: 83cedb14b5e2b187fb2cb02fcbf888ada5a599b1
2024-05-20 08:04:22 +00:00
Rebeka Dekany
28c18e2486
Merge pull request #18365 from overleaf/rd-link-color
...
[web] Fix button links color
GitOrigin-RevId: ea8c1a4424ee85dd91995e45c0ef9a081a74546b
2024-05-20 08:04:17 +00:00
Antoine Clausse
25d8e053be
[web] Update revokeAllUserSessions
and rename it to removeSessionsFromRedis
( #18360 )
...
* Fix `revokeAllUserSessions` call in `_cleanupUser`
The user object should be passed, not the _id
* Change `revokeAllUserSessions` signature, take `req` and `stayLoggedIn` arguments
* Update uses of `revokeAllUserSessions`
* Fix promisified `revokeAllUserSessions` args
* Update tests
* Destroy or Regenerate the session in the end of `revokeAllUserSessions`
Per https://github.com/overleaf/internal/issues/17036#issuecomment-1938398570
* Revert "Destroy or Regenerate the session in the end of `revokeAllUserSessions`"
This reverts commit fe30734dbe45b27d2931d2e43a711d591bb85787.
* Rename `revokeAllUserSessions` to `removeSessionsFromRedis`
* Fixup tests
* Fix: add optional chaining in `req.sessionID` (!!)
GitOrigin-RevId: d41676bf00f463230af495e09c65fb9ee521f49f
2024-05-20 08:04:12 +00:00
Gernot Schulz
e8fe5abc82
Merge pull request #18312 from overleaf/gs-git-bridge-bash
...
Install bash in git-bridge Docker image
GitOrigin-RevId: 2ed599c3c2a3a1c3e66845d4d17d6ac36d925d70
2024-05-17 08:05:19 +00:00
CloudBuild
43c3c0c22e
auto update translation
...
GitOrigin-RevId: f2b80a461106286993584d5d163053e11fbfbf63
2024-05-17 08:05:15 +00:00
Christopher Hoskin
3342d672c2
Merge pull request #18397 from overleaf/em-revert-download-all-link
...
Revert "Merge pull request #18190 from overleaf/ar-add-download-all-l…
GitOrigin-RevId: 681eb2734636d76558e682dc85083bfcaa6b7d2d
2024-05-17 08:05:10 +00:00
Antoine Clausse
d7f0c66d86
[web] Rename team name IEEECollabratec
to IEEEPublications
( #18387 )
...
* Replaces all `IEEECollabratec` by `IEEEPublications`
* Revert change in migration
GitOrigin-RevId: f0445b726abdc5f65b7a0613d9979b081332685e
2024-05-17 08:05:06 +00:00
Rebeka Dekany
f652c49713
Merge pull request #18386 from overleaf/rd-footer-pug
...
[web] Migrate the language dropdown in footer to Bootstrap 5
GitOrigin-RevId: 07a37f59914c543ae8d33312aa313451145cd220
2024-05-17 08:05:02 +00:00
Brian Gough
598eaf08fd
Merge pull request #17816 from overleaf/bg-eslint-rule-for-find-with-await
...
add eslint rule for find with await
GitOrigin-RevId: 7e78104e610073ff3c151d7314753c8301a8c787
2024-05-17 08:04:58 +00:00
M Fahru
9f86f90a08
Merge pull request #18095 from overleaf/mf-general-contact-form-redesign
...
[web][website-redesign] General contact form redesign
GitOrigin-RevId: f5f3a37fea69afb48a37b263695c958e6753e095
2024-05-17 08:04:53 +00:00
Eric Mc Sween
5d0190da0f
Merge pull request #18342 from overleaf/em-tracking-props-none
...
Separate handling of "none" tracking type in operations
GitOrigin-RevId: b07ee5320ac1a9c63e3b0059aade1a1564819943
2024-05-17 08:04:46 +00:00
Alf Eaton
f5aa0a7a93
Improve compile assistant components ( #18351 )
...
GitOrigin-RevId: e42a37743252f6ddbc7db4e51473addb4be041b0
2024-05-17 08:04:42 +00:00
Alf Eaton
81559967f2
Ensure that onTimeoutHandler is called when there are unacknowledged edits ( #18340 )
...
GitOrigin-RevId: aa6430d7e32f6e27b67f92b187dbb13349fc6a40
2024-05-17 08:04:37 +00:00
Alf Eaton
95ab3921d7
Ensure that multiple spaces in file names are visible in the file tree ( #18330 )
...
GitOrigin-RevId: 512e89d8afbfccf1c981d4f10df1e5729248f381
2024-05-17 08:04:33 +00:00
Alf Eaton
c8947c781e
Call selectEntity directly after a doc is opened ( #18329 )
...
GitOrigin-RevId: bf471812bfeb5e394252733a16691430d7d45840
2024-05-17 08:04:29 +00:00
Alf Eaton
e8a5f8f056
Catch failed references index request ( #18274 )
...
GitOrigin-RevId: 96063835056a39d85a57a77c0c7f71ce8243e6b9
2024-05-17 08:04:25 +00:00
Alf Eaton
9d6754f546
Add citepalias and citetalias ( #18272 )
...
GitOrigin-RevId: 60716cd30141f3079e9402140a5e40665bbe685f
2024-05-17 08:04:20 +00:00
Tim Down
97add91248
Merge pull request #18377 from overleaf/td-metrics-page-fix
...
Move Bootstrap and jQuery imports into metricsApp
GitOrigin-RevId: 3ec1690ca60928e983211792f6c6b63548dfe62c
2024-05-16 08:05:35 +00:00
Rebeka Dekany
f78e619d87
Merge pull request #18331 from overleaf/rd-bs5-renaming
...
[web ] Bootstrap 5 - rename the wrapper components and restructure
GitOrigin-RevId: 7a76903df81cd546e9e469f24c4f203ea6a61672
2024-05-16 08:05:31 +00:00
Mathias Jakobsen
2ce41e0ee6
Merge pull request #18323 from overleaf/mj-editor-loss-debug
...
[web] DEBUG: Calculate diff size when detecting edit-loss
GitOrigin-RevId: 750f7ed91d5ce81beb520e23181a6a8dc22b6078
2024-05-16 08:05:26 +00:00
Brian Gough
c1a4e4a873
Merge pull request #16775 from overleaf/bg-clsi-timeout-use-fetchutils-connect-timeout
...
Update UrlFetcher to use custom agent with connect timeout
GitOrigin-RevId: c92dc27a0e682b0b79859b3521bf64cbf8485345
2024-05-16 08:05:18 +00:00
David
1367a724a6
Merge pull request #18337 from overleaf/dp-long-words-in-project-titles
...
Wrap long words in project titles to avoid overflow
GitOrigin-RevId: aef9389f04927e4dafeb192b3275ee85cb10a78a
2024-05-16 08:05:13 +00:00
Jakob Ackermann
dfe587f297
Merge pull request #18294 from overleaf/jpa-td-invite-details
...
[web] avoid content reflection via query parameter on register page
GitOrigin-RevId: 43e7ba6069e0d9f3f12e5e9e680b5960b0673782
2024-05-16 08:05:09 +00:00