Commit graph

25027 commits

Author SHA1 Message Date
Jessica Lawshe
06f0ee4c91 Merge pull request #23690 from overleaf/jel-test
[web] Remove test skip

GitOrigin-RevId: bd5a35bcb62227a7bc282bb0813ac0482b04ada2
2025-02-27 09:05:51 +00:00
Jessica Lawshe
aa7692b7dc Merge pull request #23299 from overleaf/jel-admin-saml-ids
[web] Show SAML IDs in user audit logs and user info page

GitOrigin-RevId: b8baa44c3110764e466d92ad2b0dc54ddc8f7819
2025-02-27 09:05:47 +00:00
Jessica Lawshe
508b796a69 Merge pull request #23349 from overleaf/jel-managed-unlinked-email-notification
[web] Add message about resetting password when user is managed and unlinked

GitOrigin-RevId: e9d6692f17f31d9d63cb13436018ce9fe6986106
2025-02-27 09:05:43 +00:00
Jessica Lawshe
670c691196 Merge pull request #23394 from overleaf/jel-bs5-notification-close
[web] Use RGB to fix close button hover effect

GitOrigin-RevId: 9c636fdcf509b76a3a7fbad365e24f6adb75f8ee
2025-02-27 09:05:39 +00:00
Jessica Lawshe
50e0d2b4ff Merge pull request #23351 from overleaf/jel-v1-down-sso-login
[web] Catch v1 errors on SSO log in to not block group SSO

GitOrigin-RevId: b99498dfd4a0de2099b8da1ac73dda28280cd430
2025-02-27 09:05:34 +00:00
Jessica Lawshe
182713d02d Merge pull request #23890 from overleaf/jel-reconfirm-date
[web] If v1 date doesn't show as reconfirmed, ensure v2 does not as well

GitOrigin-RevId: dc2850221a2d9176023380b38508311ea98abe43
2025-02-27 09:05:27 +00:00
David
fc19e1d34a Merge pull request #23669 from overleaf/mj-ide-chat-look
[web] Update chat in editor redesign

GitOrigin-RevId: 79c79eb9c774fbaa1a5a1e15386b629cc03239b3
2025-02-27 09:05:03 +00:00
David
a6d71eb555 Merge pull request #23772 from overleaf/dp-binary-files
Show binary and non-tex files in new editor

GitOrigin-RevId: b6d2681e6ecc868fac0ca484570e33220ec74980
2025-02-27 09:04:56 +00:00
David
ad78287c1f Merge pull request #23891 from overleaf/dp-eq-preview
Always include math preview theme even when it is disabled

GitOrigin-RevId: cfbad399ccd0cb6805158633c35c7b15140b9feb
2025-02-27 09:04:51 +00:00
ilkin-overleaf
0783bf1dc7 Merge pull request #23743 from overleaf/ii-bs5-manage-group-members
[web] BS5 Group members management

GitOrigin-RevId: fab24ee6f6de07aa64887e123df930593fcec6a2
2025-02-27 09:04:47 +00:00
CloudBuild
8533b8a628 auto update translation
GitOrigin-RevId: e1b26d9b9d5b0ed7912a6a643f94fc68ba974ba8
2025-02-26 09:05:32 +00:00
Jakob Ackermann
a26290018c [server-pro] tests: avoid opening editor if not needed for test (#23875)
* [server-pro] tests: avoid opening editor if not needed for test

* [server-pro] tests: use intercept to avoid opening editor page

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

* [server-pro] tests: use times option in intercept

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 9530d1f5b06766fec70631da47d8b1049b59ead5
2025-02-26 09:05:20 +00:00
Antoine Clausse
08ee37afc1 Update to lockfile-version 3 (#23839)
`npm i --lockfile-version 3`

GitOrigin-RevId: ee5b547b2d7ddd3395f55825123af8a68bfbecd6
2025-02-26 09:05:11 +00:00
Antoine Clausse
fe03d8d7fd Add shellcheck to web, server-pro, server-ce (#23823)
* Update shellcheck files to include non ".sh" files having the sh shebang

* Add shellcheck to root Makefile

* `make shellcheck_fix`

* Add shellcheck to server-ce and server-pro

* Exclude SC1091 (Not following) in SP/CE

* Fix errors in SP

* Fix errors in CE

* Update root shellcheck to ignore all failing rules. We can later remove rules one by one.

* Add shellcheck to web

* Add shellcheck step for server-ce and server-pro in cloudbuild.yaml

* Revert "Add shellcheck to root Makefile"

This reverts commit e0fa56f2

* Revert "`make shellcheck_fix`"

This reverts commit eb179245c109a9e742a7fdeeb75a4bdd03963587.

* `make shellcheck_fix` in server-ce

* Fix: Use $(...) notation instead of legacy backticked

```
In init_scripts/100_set_docker_host_ipaddress.sh line 5:
echo "`route -n | awk '/UG[ \t]/{print $2}'` dockerhost" >> /etc/hosts
      ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
echo "$(route -n | awk '/UG[ \t]/{print $2}') dockerhost" >> /etc/hosts

For more information:
  https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...
```

* `make shellcheck_fix` in web

* Manual corrections on autofix

* Update SHELLCHECK_FILES to Perl regex so it matches at start of file

GitOrigin-RevId: 815d53f319a3792efa22703beb75570de5977450
2025-02-26 09:05:02 +00:00
Antoine Clausse
d9a9fbb242 [web] Fix button-link loading state in subscription page (#23640)
* Fix inline loading button style

* Fix frontend test

GitOrigin-RevId: 59cdf68b8f2ad50f042a4457dc37f5c3d33d6c87
2025-02-26 09:04:58 +00:00
Eric Mc Sween
59fb97d874 Merge pull request #23819 from overleaf/em-find-projects
Rename find_dangling_comments script to check_docs and make improvements

GitOrigin-RevId: 3c81c734f4259c5939c190a886b5b90239d03017
2025-02-26 09:04:54 +00:00
Jakob Ackermann
04c42f03e1 [web] editor connection tweaks for connection attempts when offline (#23864)
* [web] only flag errors originating from WebSocket connect as ws failure

* [web] slow down reconnecting when potentially offline

GitOrigin-RevId: 7c587d52dfe8092c45e2152f929e05e814db98f4
2025-02-26 09:04:47 +00:00
Rebeka Dekany
61ddeeca2b Merge pull request #23695 from overleaf/rd-admin-page-remaining-refactors-bs5
Remaining refactors for admin pages - Bootstrap 5 Migration

GitOrigin-RevId: 2f3ac77ba79f6970bc53b93cd45522d475f974bd
2025-02-26 09:04:40 +00:00
Rebeka Dekany
6f1f968954 Merge pull request #21895 from overleaf/rd-trusted-secondary
Indicate secondary emails in User Info if they are trusted or untrusted

GitOrigin-RevId: b206b022c9661f972dae2b8d4c8e4c71a1ef7eb8
2025-02-26 09:04:36 +00:00
Alf Eaton
1fd9c592e2 Ensure that lastClickEvent is set before handling doubleClick (#23865)
GitOrigin-RevId: 1f080e62e95dc71cec6bcf2f5c9e0cb8bd5f5e2c
2025-02-26 09:04:33 +00:00
Andrew Rumble
59b708e3f7 Allow draining to be prevented in CLSI agent
Co-authored-by: Brian Gough <brian.gough@overleaf.com>
Co-authored-by: Christopher Hoskin <mans0954@users.noreply.github.com>
GitOrigin-RevId: f55de7783cb1c14108eb347eebb74ec329180000
2025-02-26 09:04:26 +00:00
Alf Eaton
fe878a88d1 Run Prettier (#23860)
GitOrigin-RevId: fd65c7d24c4ada0367ba38092a142c6f6aeaba71
2025-02-26 09:04:19 +00:00
Domagoj Kriskovic
598d51c9e7 Prevent focusing review panel entry on resolve/accept/reject (#23859)
GitOrigin-RevId: 91d6725d1ea2a27f1ff93871db745440486b7246
2025-02-26 09:04:16 +00:00
Alf Eaton
fe1beec09a Use the original double-click location in bracketSelection extension (#23722)
GitOrigin-RevId: 173c4b4149fa4e6b552cb88022dad6334492c59a
2025-02-26 09:04:12 +00:00
Alf Eaton
cee51af9fd Disable "Go to code location in PDF" button for non-TeX files (#23751)
GitOrigin-RevId: 9a51252e2df6e52532d0cd787a8fd744af41ed95
2025-02-26 09:04:08 +00:00
Alf Eaton
02cd5d2f2f Reduce PDF.js maxCanvasPixels in Safari (#23781)
GitOrigin-RevId: 3b75d85bb4af33e4d4d40ee6f1dc9cf375f1435f
2025-02-26 09:04:05 +00:00
Alf Eaton
7070a0d410 Focus the editor and place cursor after the learned/corrected word (#23782)
GitOrigin-RevId: 605b13a4bb0d8e9375d8c4edc17a1866e29a3169
2025-02-26 09:04:01 +00:00
Alf Eaton
09ffc2b652 Set flex-shrink: 0 on file name in PDF log header (#23792)
GitOrigin-RevId: 5ba49fdf2715cd4839174c9dcd26b968b0834e27
2025-02-26 09:03:57 +00:00
Alf Eaton
9dee601ba3 Remove AI Error Assistant feedback prompt (#23796)
GitOrigin-RevId: 36ee1ca0befc0f2e4bf817a6946213f814947079
2025-02-26 09:03:52 +00:00
Tim Down
4e353956db Merge pull request #17378 from overleaf/td-stream-buffer-consolidation
Stream and buffer consolidation

GitOrigin-RevId: 284f411e6403e190d2dda3d9ebf806b1935b3949
2025-02-25 09:05:26 +00:00
Brian Gough
6e55a9fa81 Merge pull request #23837 from overleaf/bg-redis-redact-config
sanitise password in redis config output

GitOrigin-RevId: 45d8bd13f01c3c4f138549c8a9f47dc0db29d0b0
2025-02-25 09:05:22 +00:00
Brian Gough
0acc067205 Merge pull request #23836 from overleaf/bg-backup-extend-debugging-script
add support for fetching chunks in backup debugging script

GitOrigin-RevId: 641298088d62148693525259748dcddf4d67d14b
2025-02-25 09:05:18 +00:00
Brian Gough
9d8f9e5358 Merge pull request #23835 from overleaf/bg-backup-show-errors
add error cause logging for missing chunks and blobs in backup comparison

GitOrigin-RevId: 9a1bf84b64621add71fb1d1e0cb013598b226bc8
2025-02-25 09:05:14 +00:00
Brian Gough
dd8a683e9e Merge pull request #23834 from overleaf/bg-backup-graceful-shutdown
add graceful shutdown handling to backup script

GitOrigin-RevId: f0fb9a3867b26c7800edefab126fd05fbabdae02
2025-02-25 09:05:10 +00:00
Jakob Ackermann
8b64325e89 [server-pro] tests: wait for editor to finish loading before interacting (#23841)
GitOrigin-RevId: bef74f336c3a240da43cd5f9563629b96bc1d7ca
2025-02-25 09:05:06 +00:00
Jakob Ackermann
8138c76c1d [web] restrict external heartbeat/server ping to websocket transport (#23830)
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: c03a78e2c05cd380b705bd14652060980682cb39
2025-02-25 09:05:02 +00:00
Jakob Ackermann
4d857b7937 [web] editor connection fixes (#23807)
* [haproxy] add support for xhr-polling in real-time

* [web] try 3 WebSockets then fallback to xhr-polling when (re-)connecting

* [web] ensure old socket.io transport has been closed when reconnecting

* [web] close xhr-polling transport before leaving the page

This will de-register the client, leave the project and clean up the
connected clients tracking ASAP.

* [web] rename constant to avoid confusion

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 55e500c341145947e5589875438fc796394b6ae4
2025-02-25 09:04:58 +00:00
Antoine Clausse
82f2e47476 [web] Show DS Navigation for all SAAS users regardless of feature flag (with fix!) (#23821)
* Reapply "[web] Show DS Navigation for all SAAS users regardless of feature fla…"

This reverts commit 8d4096a7e4b6a7894b1bef14290548225deebd57.

* Fix: `hasDsNav` should check `isOverleaf` !!!

* Change `hasDsNav` from a boolean to a function call for dynamic evaluation

GitOrigin-RevId: 17463ac113a4278ed344622552d83da93b208b4d
2025-02-25 09:04:54 +00:00
Antoine Clausse
e429ee533f Fix prefetch_custom_texlive command (#23813)
Previous attempt failed with `sh: gcr.io/overleaf-ops/texlive-full:2023.1: No such file or directory`.

 Now tested with `make prefetch_custom_texlive`

GitOrigin-RevId: 09a5e1d3c270bdb58c761c8be3c665155879290f
2025-02-25 09:04:50 +00:00
Jakob Ackermann
d65be7772d [server-ce] precompile pug files concurrent to npm-i-dev/webpack build (#23824)
GitOrigin-RevId: 7fd153dd0fa89ca4bc12efc1e26276844ff9431a
2025-02-25 09:04:43 +00:00
CloudBuild
c9bbdc37a1 auto update translation
GitOrigin-RevId: 9948881e46548a02c38202ac0408c609c2c6f82b
2025-02-24 09:06:23 +00:00
CloudBuild
6b90f831ad auto update translation
GitOrigin-RevId: 2d057c8c8816407403ee26baebacbddf5f7d8946
2025-02-24 09:06:19 +00:00
Andrew Rumble
b0ed2efdf9 Merge pull request #23812 from overleaf/ar-allow-debugging-for-remove-backup-blobs-script-errors
[history-v1] Minor improvements to AWS cleanup script

GitOrigin-RevId: bd01a72169b9cbc018612173294cfbf8649a9fbd
2025-02-24 09:06:15 +00:00
Antoine Clausse
47dd074c36 Merge pull request #23811 from overleaf/revert-23801-ac-remove-ds-nav-code-3
Revert "[web] Show DS Navigation for all SAAS users regardless of feature flag"

GitOrigin-RevId: 3a5b5603718da2fddabc9f1460151efd9cbf6178
2025-02-24 09:06:11 +00:00
Antoine Clausse
c31dffc605 [web] Show DS Navigation for all SAAS users regardless of feature flag (#23801)
* Remove `sidebar-navigation-ui-update` as true from analytics events

* Hide "ds-nav" survey for users who have the feature flag

* Replace `useIsDsNav()` by `isOverleaf`

* Rename former `hideDsSurvey` to `hideDsSurvey`, and set `hasDsNav = isOverleaf` variable

so the intent is clearer.

* Update frontend tests

GitOrigin-RevId: 2be9f88a10da430c0429de15d777d98104327f9f
2025-02-24 09:06:04 +00:00
Antoine Clausse
f2aa79f49d Replace xargs -d, by tr ',' '\0' | xargs -0 (#23800)
`xargs -d` doesn't work on Mac OS: `xargs: illegal option -- d`

There's a workaround using `tr`

See: https://stackoverflow.com/a/71409498/4823861
GitOrigin-RevId: 109c7e1e035b829122d96fd41824f18bdf81468a
2025-02-24 09:06:00 +00:00
Andrew Rumble
a0d79d5871 Merge pull request #23742 from overleaf/ar-script-for-removing-blobs-in-wrong-place
[history-v1] Script for deleting blobs backed up to wrong location

GitOrigin-RevId: 6abe1dba5164f8fa7d41c4ee3e4a07764e73b7e1
2025-02-24 09:05:53 +00:00
Alf Eaton
df671b2869 Revert "Use fixed width for project list checkbox cell (#23778)" (#23808)
This reverts commit 4d3f443f99f366a43a1b59a7556c0341c06d7af9.

GitOrigin-RevId: 1b111d9b4826ecdba1d40334f9c8e25e2b8561b1
2025-02-24 09:05:49 +00:00
Alf Eaton
a0eb8baf72 Upgrade dompurify (#23748)
GitOrigin-RevId: a2aa1c40a454f8ff487b5de15da39de577c6ff16
2025-02-24 09:05:44 +00:00
Alf Eaton
3671e4d452 Update AI feedback form text (#23754)
GitOrigin-RevId: 29ca72963e912ee0e121dece9821bb90efa8eff3
2025-02-24 09:05:40 +00:00