Commit graph

21877 commits

Author SHA1 Message Date
Alf Eaton
c443322a41 Memoize FileTree and outline toggle button components (#16776)
GitOrigin-RevId: 299ed9d568650ce37edba87643112d1cd6d12fd4
2024-02-02 09:03:08 +00:00
Alf Eaton
f06f2ef99e Set EditorState.readOnly on DocumentDiffViewer (#16756)
GitOrigin-RevId: 4c38441c3ca3010bf28544e237a5b76f7a26b000
2024-02-02 09:03:05 +00:00
Eric Mc Sween
d0a9f8c2cb Merge pull request #15748 from overleaf/em-drop-docops-collection
Drop the docOps collection

GitOrigin-RevId: 8ffa0570ae58b6a00412d8953d3ea0fbb1869b69
2024-02-01 09:03:46 +00:00
Christopher Hoskin
af32433bfa Merge pull request #16845 from overleaf/csh-docker-compose
Replace legacy `docker-compose` with `docker compose`

GitOrigin-RevId: 1a876a5870be55dceecdff9cd1284235840e908f
2024-02-01 09:03:43 +00:00
Thomas
2a7e06ea07 Merge pull request #16839 from overleaf/tm-website-redesign-suppress-alternate
Suppress rel=alternate hreflang links on website redesign variant pages

GitOrigin-RevId: ff53adbaf9aadd261427157a8b60bafe55d6ce36
2024-02-01 09:03:37 +00:00
Jakob Ackermann
783008b05f Merge pull request #16804 from overleaf/jpa-code-cleanup
[misc] ShareLaTeX code cleanup - low impact

GitOrigin-RevId: 4b4a958af133efdb81196967adb66c97420c4861
2024-02-01 09:03:34 +00:00
Brian Gough
f9db088d57 Merge pull request #16835 from overleaf/bg-google-spam-temporarily-disable-emails
Temporarily disable onboarding emails

GitOrigin-RevId: a1967bc793fcd7b3b90f812fb8c9b9d83f704093
2024-02-01 09:03:30 +00:00
Brian Gough
9702b36c64 Merge pull request #16833 from overleaf/bg-google-spam-add-email-metrics
Include email type and rate-limit status in metrics

GitOrigin-RevId: eb5645e68d9ee3571d04b87b2c0fc09f9caa126a
2024-02-01 09:03:27 +00:00
Christopher Hoskin
f6a693c1f5 Merge pull request #16831 from overleaf/csh-issue-15655-fix-ce-build
Fix CE build by using overleaf image

GitOrigin-RevId: 302d7a69fa210548fd0845b2d55d80398c0c6001
2024-02-01 09:03:21 +00:00
CloudBuild
2c49c691c3 auto update translation
GitOrigin-RevId: 8bfacb662456a02519fb4a4e8e13e528ebe2fa2a
2024-01-31 09:04:32 +00:00
Christopher Hoskin
660c5abb3d Merge pull request #16823 from overleaf/csh-issue-15655-sp3
Update CE/SP builds

GitOrigin-RevId: b5a0c4842d17a7a869b6e2f4c364bafb825a4fe5
2024-01-31 09:04:27 +00:00
Miguel Serrano
26ee64fe62 Replace logger with console in frontend macro (#16816)
* Replace `logger` with `console` in frontend macro

logger import is causing problems cleaning node_modules/.cache after webpack builds.
Since macros are used at build time we can use console statements.

GitOrigin-RevId: 22bbbb34391334ec8f8ec256a3a8a72e5fe91588
2024-01-30 16:49:46 +00:00
M Fahru
93976a2748 Merge pull request #16805 from overleaf/tm-website-redesign-ios-video-tweaks
Website redesign - video autoplay tweaks primarily to fix playback on iOS

GitOrigin-RevId: ba2844b8af64627512470d0f27ec450ee2d86b09
2024-01-30 16:49:37 +00:00
Alf Eaton
7f9d105d8c Ensure FileTreeProvider stubbed props don't change in Cypress tests (#16758)
GitOrigin-RevId: 01c7fefdef8b28af0b52007209785b478e5d8600
2024-01-30 16:49:27 +00:00
Eric Mc Sween
8136036c33 Merge pull request #16644 from overleaf/em-promisify-update-manager
Promisify UpdateManager

GitOrigin-RevId: 2c3e21ee6ef2454f79695ca8623c3d38720ff6bf
2024-01-30 16:49:23 +00:00
Jakob Ackermann
14bb3d7114 Merge pull request #16800 from overleaf/jpa-fix-double-loaded
[web] fix detection of writefull extension

GitOrigin-RevId: 2bfad36ec14edf4d95acfcdfd8094f3769871d44
2024-01-30 16:49:14 +00:00
CloudBuild
d644180ce4 auto update translation
GitOrigin-RevId: 230d16e68562e353f61c7f4782a739364950b10a
2024-01-30 09:04:43 +00:00
M Fahru
f0247a3311 Merge pull request #15302 from overleaf/mf-fix-unlink-github-sync-behaviour
[web] Unlink github from collaborators when project owner unsubcribes and github feature was lost

GitOrigin-RevId: 81b81cfb75e3a3684e185ef13d8c0aca19d5699d
2024-01-30 09:04:39 +00:00
Jessica Lawshe
00d66a1b81 Merge pull request #16713 from overleaf/jel-sso-already-linked
[web] When user is already linked to Group SSO

GitOrigin-RevId: 7cee60370c7329a0ed8fd621600d30546f1c8942
2024-01-30 09:04:28 +00:00
Jessica Lawshe
33c5f684c3 Merge pull request #16765 from overleaf/jel-sso-metadata-error
[web] Show errors when unable to import SAML XML metadata

GitOrigin-RevId: 230700038bf692c1da02e8fd509c119e28a68598
2024-01-30 09:04:24 +00:00
Jessica Lawshe
f79f534d9f Merge pull request #16769 from overleaf/jel-scroll-to-notification
[web] Add scroll to notification component

GitOrigin-RevId: 096f9f42344729464e7fb38e4f6542cb2e891918
2024-01-30 09:04:19 +00:00
Jessica Lawshe
71ca6f05b7 Merge pull request #16737 from overleaf/jel-sso-file
[web] Get SSO import data from File rather than FileReader

GitOrigin-RevId: 89de9c614024ab6a310a6226f59c5aa8c82c64e4
2024-01-30 09:04:15 +00:00
M Fahru
6f3402e0e8 [website-redesign] Change all website-redesign CTA button color to our new green: "emerald-green" (#16711)
* Change all website-redesign CTA button color to our new green: "emerald-green"

* Change `inline-green-link` color to `emerald-green`, also change the hover of `green-link` to `emerald-green-dark`

* reuse the `btn-primary` class for website-redesign pages with the new green primary color

GitOrigin-RevId: 63ba76efbb7e7e9d1a99ff9f6b426e94d86bbdf0
2024-01-30 09:04:08 +00:00
Thomas
a1046a7e6f Merge pull request #16766 from overleaf/mf-reduce-rocket-sticker-size-mobile
Reduce rocket sticker size on mobile to 70%

GitOrigin-RevId: 34e2ef290399ad284af0a85b480b884cd49d92de
2024-01-30 09:04:03 +00:00
Thomas
10b6c63d38 Merge pull request #16764 from overleaf/tm-website-redesign-org-logo-overflow
Set logo sizes to match design and fix overflowing, use flex-basis instead of grid

GitOrigin-RevId: dee9427f72502628d02210a3a75e028cda1b2905
2024-01-30 09:03:59 +00:00
Thomas
98f56f8adc Merge pull request #16773 from overleaf/tm-website-redesign-minor-launch-fix
Fix template card hover hint and overleaf sticker size at lower breakpoints

GitOrigin-RevId: 6aefdb1a1a0c58ca5c481fea692b8c19579c8e0d
2024-01-30 09:03:54 +00:00
CloudBuild
90cda11550 auto update translation
GitOrigin-RevId: a39aa8b8fae8f7a02daaa8ee9a0d5ec83c3a7685
2024-01-29 09:04:16 +00:00
Jakob Ackermann
a3dc24a46e Merge pull request #16752 from overleaf/jpa-format-fix
[terraform] cloud-build: add missing triggers for libraries

GitOrigin-RevId: 3047b85550f9c2e51460509b9c1df7c414b901eb
2024-01-29 09:04:05 +00:00
Thomas
faa9109002 Merge pull request #16732 from overleaf/tm-website-redesign-small-fixes
Website redesign implementing small fixes based on Markup feedback

GitOrigin-RevId: 02a4b2de03b4afdab00b67448534e685d44d9f49
2024-01-29 09:04:02 +00:00
Thomas
cd38f6df86 Merge pull request #16750 from overleaf/ds-home-page-premium-tag
Website Redesign - Premium badges on home page

GitOrigin-RevId: a3e5d52d1ec119d171e7f5c85a67c3661ae469af
2024-01-29 09:03:59 +00:00
Thomas
17e4c776c1 Place redesign pages on seperate urls with redirects (#16724)
* Place redesign pages on seperate urls with redirects, refactor into StaticPageController

* Add page titles to variant pages (#16710)

* Add features-page-view event (#14911)

* Add canonical URLs to variant marketing pages

GitOrigin-RevId: 3f65f53d856a063dde1e9d60fd3cc327437294f6
2024-01-29 09:03:54 +00:00
M Fahru
4f901caa2d [website-redesign] Set autoplay video configuration according to specification (#16683)
* Set autoplay video configuration according to specification:

- Do not autoplay video initially
- If the video is visible on the viewport (with a threshold of 80% of the video is visible), autoplay video, and everytime it autoplays, set the video starting point to 0
- If the video is not visible on the viewport (with a threshold of 80% of the video is not visible), pause the video
- If user screen stops at video that's currently in autoplay, the autoplay will stop after it endedand replay every 15 seconds.
- For user with reduced motion preference, show video controls.

* Add a comment explaining error in firefox if user is pressing the seek bar relatively fast.

It seems to be a bug specific to firefox.

* Reduce the threshold to 70% of the visible video on the screen.

0.7 value will make the video autoplays instantly for the `new-design-registration` variant since the video on that variant will not be shown fully on the screen at initial homepage load (in desktop screen).

* Set attribute without empty string, fix video that lacked data attribute

* Remove duplicated autoplay video setup on homepage

* Remove autoplay pause/reset on scroll away, don't play if not visible

Refactors the autoplay-video code and removes the pause/reset on scroll
away while also keeping track of the video elements visibility so that
the video doesn't immediately start playing after 15s if not visible.

We also prevent trying to call .play() before the video is in a
"canplay" state. If the video is not ready, then add an event listener
for the "canplay" event and only play() once this is fired. We only do
this once to avoid adding duplicate listeners.

We also check that the video is not playing before calling play(),
because it could still be in playback if we scroll out of view and then
back into view.

* Refactor autoplay-video to match style of similar JS enhancement implementations

* Move autoplay-video from shared/utils to features/

---------

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>
Co-authored-by: Thomas <thomas-@users.noreply.github.com>
GitOrigin-RevId: 13011af04baaeba4b8053478a09e3e4d7c960d5c
2024-01-29 09:03:51 +00:00
Thomas
19c6c31e87 Improve organization logos (update assets and refactored styling) (#16730)
* Fix organization logos styling:

- stop forcing explicit height to the image itself, this will remove any visible stretching.
- Force 2 column for screen size < 1200px (and remove flex-wrap) to make sure no single logo that wraps to the next line.

* Update crest images with higher resolution assets

---------

Co-authored-by: M Fahru <m.fahru@overleaf.com>
GitOrigin-RevId: c463d207fdbd750cdbfe6666bb79f69dfd85c673
2024-01-29 09:03:48 +00:00
Davinder Singh
f09d481eea Website redesign - Fixing premium badges and buttons on mobile design (#16718)
* fixing premium badge display on every page

* Aligning header sections and fixing buttons

This aligns the header section to the left on mobile layouts
This also fixes the buttons width on mobile layouts

GitOrigin-RevId: 795af064989272969a5707c086b422b4be58ec25
2024-01-29 09:03:45 +00:00
Miguel Serrano
3e36369433 Merge pull request #16488 from overleaf/msm-ce-mongo-5
[CE] Update mongo version to 5.0 in compose file

GitOrigin-RevId: 5267d4cf2ca944b5a4451c3d7a541a974b150ad8
2024-01-29 09:03:42 +00:00
Christopher Hoskin
df06b3562d Merge pull request #16734 from overleaf/csh-issue-15655-ce
Move CE build to AR

GitOrigin-RevId: 3fe6ca5115547a2f85e8f0ef419eea4b8a8f34aa
2024-01-29 09:03:34 +00:00
Alf Eaton
12d38a3be9 Remove setSavedAt from detach compile context (#16742)
GitOrigin-RevId: 2a85b4a0cd6b73c0240b64beddd8cd6ab5a48b2f
2024-01-29 09:03:31 +00:00
Alf Eaton
b38d6a85c9 Warn when project or file is not found (#16740)
GitOrigin-RevId: ab71000492c3b2f2ba02ad6fd768b7c2e4563ed7
2024-01-29 09:03:26 +00:00
Alf Eaton
fefec2c1bf Improve handling of upload to deleted folder (#16738)
GitOrigin-RevId: 2ad2890f8fe51f3c7c7a8ac0834059ea9cb0557b
2024-01-29 09:03:23 +00:00
Alf Eaton
bb0da73a36 [ide-react] Preserve scope value update watchers on watcher add (#16729)
GitOrigin-RevId: 1168577364fef6e13a58d7d96afdf4ba685fc342
2024-01-29 09:03:20 +00:00
Alf Eaton
b9db589f33 Add compile-log-events assignment (#16655)
GitOrigin-RevId: 11a7986796e6970783c391c18101b0bfdd82a67d
2024-01-29 09:03:16 +00:00
Alf Eaton
11859f1c38 Remove savedAt from compiler (#16642)
GitOrigin-RevId: 526d26d731da99b40c253a4dc0a774a896641c8e
2024-01-29 09:03:13 +00:00
Jakob Ackermann
bc7201e337 Merge pull request #16723 from overleaf/jpa-bump-copyright-years
[web] bump hard-coded copyright years

GitOrigin-RevId: a4896456713e00a68986228504218bf645565d47
2024-01-29 09:03:10 +00:00
Alf Eaton
49d2ca781e Store selected project ids separately (#15598)
GitOrigin-RevId: 56a833fb1524362ff6617afa9be4cb7b6c1984c7
2024-01-29 09:03:07 +00:00
Alf Eaton
0cde5be165 Merge pull request #14709 from overleaf/ae-context-typescript
Convert React context providers to TypeScript [don't squash!]

GitOrigin-RevId: d92a91798286978410956ab791d73c17c5086d86
2024-01-29 09:03:04 +00:00
CloudBuild
fdf8ebe001 auto update translation
GitOrigin-RevId: 916d1560c9b2aa1a3d397633225e5d4ced12d67c
2024-01-26 09:03:51 +00:00
Jessica Lawshe
8d0e2c7572 Merge pull request #16680 from overleaf/jel-sso-metadata
[web] Fill in SSO configuration form from metadata file

GitOrigin-RevId: 4c470ba4cdf118af87fa8f9fee59a9f02ee4a56c
2024-01-26 09:03:48 +00:00
ilkin-overleaf
a44a6a22dc Merge pull request #16662 from overleaf/ii-share-modal-click-2
[web] Share modal select contact

GitOrigin-RevId: e43575cd97ad8e4bca249967bdf0cfc587213cc4
2024-01-26 09:03:42 +00:00
ilkin-overleaf
55fcf8a0ee Merge pull request #16706 from overleaf/ii-review-panel-refresh-entry-positions-on-resize
[web] Reposition review panel entries correctly on resize

GitOrigin-RevId: 04f94c20393b1da318560d39175c2b860738998b
2024-01-26 09:03:39 +00:00
Rebeka Dekany
140b312eca Merge pull request #14799 from overleaf/rd-report-tablist-plan
Accessibility - help the user to navigate through the tabs on the plans page

GitOrigin-RevId: 93822277edd3a44eaf8e1219a4902e28d31e198a
2024-01-26 09:03:36 +00:00