Commit graph

22626 commits

Author SHA1 Message Date
Alf Eaton
0dfb4d8de6 Lazy-load the React History view (#17290)
GitOrigin-RevId: 6d6ee5e993658e0895d9c2bcd4c2f60bba86c04e
2024-02-27 17:02:01 +00:00
Alf Eaton
7b93640b96 Remove CDN load test (#17308)
GitOrigin-RevId: 6f8f840bb8a3db0944179c7c25b89f1793f033bc
2024-02-27 17:01:56 +00:00
M Fahru
ef6644f519 Merge pull request #17297 from overleaf/rd-sass-prettier-2
[web] Enable Prettier for Sass

GitOrigin-RevId: 8658a83010f04898e447230850f6f5bda788c1cc
2024-02-27 09:03:29 +00:00
M Fahru
2d7d450d43 Merge pull request #17296 from overleaf/mf-remove-double-discount
[web] Remove double "discount" word in INR plans/interstitial page banner

GitOrigin-RevId: ec65035c0164f44a189a7a02e68ce62c765608de
2024-02-27 09:03:26 +00:00
M Fahru
7ea86155bf Merge pull request #17233 from overleaf/mf-fix-button-container-mobile
[website-redesign] Improve button container styling for mobile view

GitOrigin-RevId: 24e3d2a0ecd6bff63fb0b09eb13e68c147a7cbd9
2024-02-27 09:03:21 +00:00
M Fahru
ff9f9f8c2c Merge pull request #17263 from overleaf/ds-mdm-mono-font
Website redesign: Fixing the DM MONO font family styling issue

GitOrigin-RevId: 58b1167e812a7adf0e445bc2faeb273b74a98890
2024-02-27 09:03:16 +00:00
Mathias Jakobsen
b80d0e8634 Merge pull request #17047 from overleaf/mj-ranges-in-blobstore
[overleaf-editor-core] Store tracked changes and comments in blob-store

GitOrigin-RevId: 05cc69044bf26808b64b2687d81f2c40ef4cc972
2024-02-27 09:03:10 +00:00
Domagoj Kriskovic
5cb27f69d7 [overleaf-editor-core] SetCommentStateOperation (#17056)
GitOrigin-RevId: 6efb6e3c9cb4b0cb9fdbc522bc57b1c1934a5062
2024-02-27 09:03:07 +00:00
Brian Gough
6bd5038791 Merge pull request #17282 from overleaf/bg-object-id-unit-tests-ii
add unit tests for ObjectId comparison with chai and sinon

GitOrigin-RevId: e23156f6fd95f37d447f7569a01916c71bf04ede
2024-02-27 09:03:04 +00:00
Tim Down
63efd61011 Merge pull request #17262 from overleaf/td-bs5-simplify-colors
Bootstrap 5: remove colour RGB triples and update greens and a blue to match Figma

GitOrigin-RevId: 1e0b2a0a09ea00401ddde54d3af943ce1982e497
2024-02-27 09:03:01 +00:00
Jakob Ackermann
58292f71eb Merge pull request #17287 from overleaf/jpa-wf-promo-change
[web] show plans page variant of Writefull promo w/ extension installed

GitOrigin-RevId: 41fcccb3b1f70aadf0cb641a556e78c11b74e4d0
2024-02-27 09:02:58 +00:00
ilkin-overleaf
b04247dd5a Merge pull request #17023 from overleaf/ii-token-access-null-values
[web] Fix projects token access values

GitOrigin-RevId: f0c6a4993e42320c06753cb65198138afe55b71a
2024-02-26 09:03:13 +00:00
Rebeka Dekany
4a1af0f057 Merge pull request #16925 from overleaf/rd-dropdown-bootstrap5
Bootstrap-5 Dropdown menu component

GitOrigin-RevId: 8a74f2341eebf953367ab73946d72e8aa7bd3c13
2024-02-26 09:03:05 +00:00
Miguel Serrano
3d4f3d3d73 Merge pull request #17236 from overleaf/ab-sso-config-overleaf-admin
[web] SSO config view in subscription admin

GitOrigin-RevId: e1fcda4eb4e34ab38cd8918bce4fdcff45df83d2
2024-02-26 09:02:59 +00:00
CloudBuild
cc58fd3d1d auto update translation
GitOrigin-RevId: 273a60a7aed838808a2578379999ce7cc2da23f5
2024-02-23 09:03:23 +00:00
Jimmy Domagala-Tang
5dc3716581 Merge pull request #17279 from overleaf/revert-17277-jpa-hide-old-writefull-banner
Revert "[web] hide old Writefull banner when the extension is already installed"

GitOrigin-RevId: bc4d28cff7ce472a5f271026122c5fc6c4ab7886
2024-02-23 09:03:20 +00:00
Jimmy Domagala-Tang
404e023e08 Merge pull request #17277 from overleaf/jpa-hide-old-writefull-banner
[web] hide old Writefull banner when the extension is already installed

GitOrigin-RevId: 35a1a3f6e8dd5860d81ea61ea01c40419454d40c
2024-02-23 09:03:17 +00:00
Miguel Serrano
f4454cfe7e [web] Make SamlLogHandler.log() calls asynchronous (#17207)
* [web] Refactor exports in ErrorController

* [web] Make SamlLogHandler.log() async

* [web] await for SamlLogHandler.log() in ErrorController

* [web] await for SamlLogHandler.log() in SAMLMiddleware

* [web] await for SamlLogHandler.log() async controllers

* [web] await for SamlLogHandler.log() in SAMLManager

* [web] Remove explicit wait when testing SAML logs

After making the logs asynchronouse the wait
is no longer needed

* [web] Avoid using async with SamlLogHandler.log on callbacks

* Add expressifyErrorHandler to promise-utils

* Tighten assertion in SAMLMiddlewareTests

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Updated SamlLogHandler.log to await for promise

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 3645923fae8096a9ba25dc9087f1a36231528569
2024-02-23 09:03:14 +00:00
Alf Eaton
680c9b9570 Redirect Safari <= 13 to unsupported browsers page (#17123)
GitOrigin-RevId: 8cc508eb7f4f68c5864e102b2d4af9c8920800ae
2024-02-23 09:03:09 +00:00
Alf Eaton
3e11ee6e5a Ensure that the editor state is preserved when switching views (#17238)
GitOrigin-RevId: 946b82cb633afbea13a72e30a9ce432aa1a8196d
2024-02-23 09:03:06 +00:00
Brian Gough
c8cc34377f Merge pull request #17004 from overleaf/bg-mongoose-mongo-compatibility
Ensure Mongoose and mongodb modules use the same mongodb instance

GitOrigin-RevId: fb55f3dfcff73919a4c5d26a354ba7c55b1e63c1
2024-02-23 09:03:00 +00:00
David
b59326e96f Merge pull request #16873 from overleaf/dp-mongo-command-monitoring
Use mongo command monitoring to add timing metrics

GitOrigin-RevId: e7e5dd5cca1ba3802c02198ccf81058d4da3f1e7
2024-02-23 09:02:55 +00:00
Davinder Singh
10e7be0a69 Web redesign - Final round of feedback on customer story pages (#17066)
* customer story markup feedback changes

* bringing back old styling for arrow

* adding new light arrow

* removing img-rounded from vialab story image

* changing image in f1000research

* adding margin top to author in quote

* removing im-rounded and aria-hidden from hero images

* removing col-md-12 from quotes in the customer story pages

* fixing the hero heading size on mobile screens and removing an extra duplicate paragraph

GitOrigin-RevId: 6afd1288c317d6a384e96040f865d1662468de22
2024-02-23 09:02:52 +00:00
CloudBuild
10c83e2ea5 auto update translation
GitOrigin-RevId: d3e528d80c94012bb1e962ed302851cacc1f7354
2024-02-22 09:05:28 +00:00
Thomas
89bc2e0b28 Merge pull request #17251 from overleaf/tm-raise-history-diff-max-chunks
Raise MAX_CHUNK_REQUESTS to 10 in DiffManager

GitOrigin-RevId: e88960bbd5237f65375a830147783dcfa99ec220
2024-02-22 09:05:20 +00:00
Tim Down
85964c9e43 Merge pull request #17205 from overleaf/td-color-not-colour
Bootstrap 5: change spelling of colour to color

GitOrigin-RevId: 3edd3537532877e50646bd5d5514cb2d6ec1bd64
2024-02-22 09:05:15 +00:00
Tim Down
fd26faa3d9 Merge pull request #17190 from overleaf/td-bs5-default-typography
Change default fonts in Bootstrap 5

GitOrigin-RevId: e60b6f32ae639a47353f1a73179c8e1e25edcd52
2024-02-22 09:05:11 +00:00
Miguel Serrano
992cb49802 Merge pull request #17241 from overleaf/msm-fix-sp-git-settings
[web] Prevent render of Sync section in SP when git is disabled

GitOrigin-RevId: 5bfd1baadaff21db72d84a11d3f926431739dae4
2024-02-22 09:05:06 +00:00
M Fahru
dc9b0aa8a5 Merge pull request #17230 from overleaf/mf-tear-down-inr-2
[web] Tear down INR split test

GitOrigin-RevId: 90c6ab4666d9281e804b279d697d6c14ffd682d2
2024-02-22 09:05:02 +00:00
Jakob Ackermann
23281255a1 Merge pull request #17212 from overleaf/jpa-writefull-promo-spacing
[web] fix spacing of notifications on the project dashboard

GitOrigin-RevId: 565159334d92c6f73da4c6a7174536cd0a3c5616
2024-02-22 09:04:57 +00:00
Jakob Ackermann
06c839a230 Merge pull request #17237 from overleaf/jpa-s3-iam
[object-persistor] add support for IAM credentials in S3Persistor

GitOrigin-RevId: 4ff34082ca557b17d8a7803f700ee704a3d184c6
2024-02-22 09:04:52 +00:00
Alf Eaton
6212f340d3 Allow individual docs to be downloaded from the file tree (#17137)
GitOrigin-RevId: d0b2ce9f3a252e34f452155ed83c3c04e7916ef0
2024-02-22 09:04:48 +00:00
Alf Eaton
bef2e4fbce Allow any single file to be uploaded (#17215)
GitOrigin-RevId: 9eecc9e044ec1a489b42ccf697806fecfbe5dfc8
2024-02-22 09:04:43 +00:00
Alf Eaton
ed57b5a479 Use EditorView.theme for the history diff viewer styles (#17156)
GitOrigin-RevId: e52519b392395ed740de5932a59fe35321200d5a
2024-02-22 09:04:38 +00:00
Alf Eaton
40df262815 Upgrade @slack/webhook (#17220)
GitOrigin-RevId: 612a54001dbd3f6321521fe778d22c557c39332b
2024-02-22 09:04:34 +00:00
Jakob Ackermann
2e6e24335c Merge pull request #17239 from overleaf/jpa-sl-cleanup
[misc] remove ShareLaTeX branding from remaining file paths

GitOrigin-RevId: cd47c693ee18a1b5b1c821f2dc5f1be53ae96cc0
2024-02-22 09:04:29 +00:00
Alf Eaton
367c61325a Merge pull request #17223 from overleaf/ab-remove-unused-section
[web] Remove unused signature algorithm section

GitOrigin-RevId: a84a531e4039bd20cdda536a343557b84c024837
2024-02-22 09:04:23 +00:00
CloudBuild
ef71a6f1fc auto update translation
GitOrigin-RevId: 1454a800f9d0f73e43031a81025a8ef86321ca92
2024-02-21 09:03:41 +00:00
ilkin-overleaf
6e95e230e8 Merge pull request #17192 from overleaf/ii-dictionary-modal
[web] Remove dictionary word only if request is successful

GitOrigin-RevId: 43ffd0dac3ca9729213cf7901f39094c54806412
2024-02-21 09:03:33 +00:00
ilkin-overleaf
72e4df6d39 Merge pull request #17204 from overleaf/ii-nodemailer-upgrade
[web] Upgrade nodemailer

GitOrigin-RevId: 7b67b5e87cdc8ef209fb4f73cde76c0094b973de
2024-02-21 09:03:30 +00:00
Eric Mc Sween
cd1773773e Merge pull request #17162 from overleaf/em-handle-comments
Handle comment updates in project-history

GitOrigin-RevId: 46f0043c1c20200bdb665e66643a7870c18d797f
2024-02-21 09:03:27 +00:00
Domagoj Kriskovic
c9b9ae4180 [overleaf-core-editor] Make comment properties immutable (#17022)
* make range class immutable

* rename variable

* use newRanges

* range readonly props

* skrinkBy test

* Fix range shrinking bug

* [overleaf-core-editor] Make comment properties immutable

* remove added line

* format fix

* make readonly array

* [overleaf-editor-core] AddCommentOperation and DeleteCommentOperation (#16871)

* [overleaf-editor-core] AddCommentOperation and DeleteCommentOperation

* added add comment op test

* delete comment op test

* import core to escape circle deps

* desctructure in tests

* require directly in builder

* invert of add comment is always delete comment

* no merging on compose

* NoOp if comment is not found

* use comment.clone()

* update test

* change CommentRawData type

* jsdoc assert type

* fix formating

* EditNoOperation

* return other in compose

* use ReturnType

* Revert "use ReturnType"

This reverts commit 2c7e04f1541310e9fc08963170a783a437ed1992.

* transorm add comment operation

* transform delete comment operation

* moved comment.js

* format fix

* fix transform addComment and textoperation

* fix merge

* test more complex test operations

* change to else if

* move range.js

* fix types

* fix AddComment and TextOperation transform

* fixed AddComment-TextOperation trasform, added test

* deletecommentoperation should win

* should not delete comment

* remove unused function, fix type

* fix format

* add resolved for existing comment

* transform EditNoOperation

* fix test description

* change the order of EditNoOperation

* fix DeleteCommentOperation-DeleteCommentOperation transform

* fix types after merging main

* refactor operation types

* fix errors after merging

* fix bad merge

* format fix

* removed comment.clone()

* return old comment

* remove unused var

GitOrigin-RevId: e31d723075cb04b0b7177e7cae0014c295f92a68
2024-02-21 09:03:21 +00:00
Thomas
1019142457 Use winning website redesign variant (#17200)
* Implement redesign on the default urls and redirect variants to defaults

* Fix Features & Benefits inconsistent case, cleanup temp translation

* Replace header_extras with the website redesign header extras

* Delete old home page

* Remove real time edits javascript (old home page)

* Cleanup unused locales

* Temporarily disable test that checked about/features-overview page

* Fix business/universities links in customer stories

GitOrigin-RevId: 9d2ee64c2622ffea7a2c2f7448a5e5beae3187e9
2024-02-21 09:03:18 +00:00
Mathias Jakobsen
826020effe Merge pull request #17099 from overleaf/mj-no-op-transform
[overleaf-editor-core] Fix transform for no-op Operation

GitOrigin-RevId: 20b8681153fb0788feb7d5d9954781a5432dbe69
2024-02-21 09:03:14 +00:00
Miguel Serrano
1b93f97468 [CE] update base image to phusion/baseimage:jammy-1.0.1 (#17119)
* [CE] update base image to phusion/baseimage:jammy-1.0.2

* Add python-is-python3 to CE base image

* Added unattended-upgrades install

GitOrigin-RevId: 55971caf10d5d519004ba21e38efac4a9c1b7546
2024-02-20 09:06:11 +00:00
Jessica Lawshe
f8094bbdb6 Merge pull request #17060 from overleaf/jel-password-linked-group-sso
[web] Prevent updating password for managed users linked to group SSO

GitOrigin-RevId: f40bba47575cfac1b1e42d3138112c0db4f7865c
2024-02-20 09:06:06 +00:00
Jessica Lawshe
d5639794c2 Merge pull request #17166 from overleaf/ab-fix-group-settings-label
[web] Cleanup managed users env var and fix group settings label

GitOrigin-RevId: 817ed86a6c94c03adb41e8c10115d6404180142e
2024-02-20 09:05:54 +00:00
Alf Eaton
3cef60c8d7 Use unique words for spelling unit test (#17195)
GitOrigin-RevId: 21dc22192ee462d222982a92612aa8a0b858aba1
2024-02-20 09:05:38 +00:00
Alf Eaton
bafc2189e3 Add this.clock.restore() to TutorialHandlerTests (#17191)
GitOrigin-RevId: 25fd72019cdec17058636bb8c738b24cbb6c4305
2024-02-20 09:05:34 +00:00
Miguel Serrano
eadbe8cddc Merge pull request #17189 from overleaf/revert-17184-msm-run-all-fake-timers
Revert "[web] Run fake timers with runAll() instead of next()"

GitOrigin-RevId: 878e18275e3b65cccc1441de4fe647601b5c6321
2024-02-20 09:05:26 +00:00