Commit graph

23906 commits

Author SHA1 Message Date
Jessica Lawshe
45d44d2fe6 Merge pull request #16444 from overleaf/jel-v1-api
[web] Begin promisifying InstitutionsAPI

GitOrigin-RevId: aa615e22d3fc8aa77255a26dcdab0e2ce28d93c0
2024-01-24 09:04:21 +00:00
Mathias Jakobsen
43b2fe4a3a [overleaf-editor-core] Restructure TextOperation hierachy (#16582)
* [overleaf-editor-core] Restructure TextOperation hierachy

Restructures the hierachy of TextOperations to include a superclass
EditOperation. This superclass will later on contain other classes used
for tracked changes and comments.

* [overleaf-editor-core] Update json format of LazyStringFileData

* [history-v1+project-history] Fix TextOperation.fromJSON calls

* [overleaf-editor-core] Change EditOperationBuilder.fromRaw to fromJSON

* [overleaf-editor-core] Update apply and invert functions to accept FileData

* [overleaf-editor-core] Pass missing argument to store method

* [overleaf-editor-core] Remove unused method

* [overleaf-editor-core] User EditOperationTransformer

* [overleaf-editor-core] Clean up JSDoc comments

* [overleaf-editor-core] Add tests for EditOperation

* [overleaf-editor-core] Update JSDoc types

GitOrigin-RevId: 9c22a3a89b8483bdb87b43f329ddbdd887ffed42
2024-01-24 09:04:18 +00:00
Domagoj Kriskovic
fc90db231c Add CommentList to StringFileData (#16568)
* Add CommentList to StringFileData

* added more types

* use toRaw

* using Map rather than array for comments

* using Range class

* Comment with ranges:Range[]

* Revert "Comment with ranges:Range[]"

This reverts commit 0783b1837562600637db03cc70c620129061c797.

* Comment with ranges:Range[]

* remove isDeleted

* commentList.toRaw()

* using toRaw

* commentId to id

* Revert "using toRaw"

This reverts commit 0c04ca5836f3befd5ec027bad5bf722e8b27f36c.

* fix merge

* make comment map internal to CommentList

* remove unused type

* fix parameter name in StringFileData

* import types more consistently

* more consistent type def

GitOrigin-RevId: 2be2225819d8e8ebcf90d08def280377205cb9ec
2024-01-24 09:04:15 +00:00
Alf Eaton
3de9efb1bb Fix stripe alignment on Recompile button (#16643)
GitOrigin-RevId: 504bc90889e89c62727777eedc81dfa192094e75
2024-01-24 09:04:11 +00:00
Alf Eaton
5871978272 Use renderMessage (#16628)
GitOrigin-RevId: 9f627a31d0f8ffce841f04f5a9bfa09f6abcd0a3
2024-01-24 09:04:08 +00:00
Alf Eaton
3ea151d129 Add event tracking for counts of matched compile log entries (#16615)
GitOrigin-RevId: 65f0efde77db5130cf8a709bb899d3231c3bdec4
2024-01-24 09:04:05 +00:00
Jakob Ackermann
a7c7f2e69b Merge pull request #16589 from overleaf/jpa-script-redis-mongo-mismatch
[document-updater] add script for checking for redis vs mongo de-syncs

GitOrigin-RevId: b51b61efd750f37180c09af5ccf5681712719ee2
2024-01-24 09:03:59 +00:00
ilkin-overleaf
784ebcbd57 Merge pull request #16610 from overleaf/ii-generate-unique-name-for-project
[web] Fix unique project name generator

GitOrigin-RevId: 9b30041ab532b4ad87ee647fb7d5b280b069ce12
2024-01-24 09:03:55 +00:00
David
7e11e8a62d Merge pull request #16608 from overleaf/jpa-writefull-double-loaded
[web] add event for Writefull extension and Overleaf integration enabled

GitOrigin-RevId: d8e65c2f5a868a3221e2dc1765d8ea9986ceff43
2024-01-24 09:03:47 +00:00
David
b3f6f3861c Merge pull request #16629 from overleaf/dp-mongoose-callback--project-options
Convert ProjectOptionsHandler and ProjectOptionsHandlerTests to use async/await

GitOrigin-RevId: 3f2902ee7c2f093b9350748824a58f00a88d02c7
2024-01-24 09:03:44 +00:00
David
4c973755fa Merge pull request #16617 from overleaf/dp-mongoose-callback
Convert ProjectHistoryHandler from callbacks to promises

GitOrigin-RevId: 6b1841269f6976deb4da663f614c423de7b962b7
2024-01-24 09:03:40 +00:00
David
7f113250aa Remove deprecated usages of mongodb and mongoose remove, update, and insert methods (#16573)
* Remove usage of mongo .insert in favour of .insertOne

* Replace usages of update with updateOne

* Replace remove with deleteOne/deleteMany

* Update one more usage of `remove`

* Update a few missed usages of remove/update/insert

GitOrigin-RevId: 49d08eca1ce80831c375c343fb8b5b3846b71460
2024-01-24 09:03:34 +00:00
Alf Eaton
aa1e29aa19 Add event tracking for log entry source link click (#16600)
GitOrigin-RevId: a4b4a3f5cf4cbf6ac93ef9a8637028726f6cf161
2024-01-24 09:03:31 +00:00
Alf Eaton
5e3deba9fe Dispatch 'UNSTABLE_editor:extensions' event on 'editor:extension-loaded' (#16611)
GitOrigin-RevId: a1d93330a7633c6d5870e2c368ab45a4a586db35
2024-01-24 09:03:28 +00:00
Alf Eaton
571df2b321 Merge pull request #16632 from overleaf/ae-o-error-package
Fix o-error package.json

GitOrigin-RevId: 730d25a6c3e265021bb4f766f0bbb63dec544a0f
2024-01-24 09:03:24 +00:00
M Fahru
dcaafb54b5 Merge pull request #16627 from overleaf/ds-enterprise-page-videos
Website redesign - Final round of changes on enterprise page

GitOrigin-RevId: 78695d3395fdf0cdc5234ee8041efdcc2fde02ec
2024-01-23 09:03:33 +00:00
Eric Mc Sween
ab2c5bcf2a Merge pull request #15720 from overleaf/em-remove-docops-code
Remove code related to the docOps collection

GitOrigin-RevId: 38c1f752edda1cec4ed7051a0dba18b16ae4c754
2024-01-23 09:03:27 +00:00
M Fahru
c52b29bbaa Merge pull request #16575 from overleaf/mf-fix-captcha-homepage-website-registration
[web] Attach aborted captcha event handler to body instead of '.content' to fix register flow on homepage website-redesign

GitOrigin-RevId: f3e5b67476fb2584b7b6eec26114f2cc6e00bfdb
2024-01-23 09:03:24 +00:00
M Fahru
cd59ca2bea Merge pull request #16604 from overleaf/mf-implement-hero-image-website-redesign
[website-redesign] Implement hero section of the new design (affect features overview, enterprises, and universities page)

GitOrigin-RevId: 374e3014bea5a6636adfadcfd1fd8ad4625ea1a6
2024-01-23 09:03:20 +00:00
M Fahru
fc4807e500 Merge pull request #16623 from overleaf/mf-hero-homepage-video
[website-redesign] Add homepage hero video

GitOrigin-RevId: c1cbeb00263d48d48674db84efb9cba970312de7
2024-01-23 09:03:17 +00:00
M Fahru
2f7400f197 Merge pull request #16624 from overleaf/mf-add-homepage-enterprises-universities-logo
[website-redesign] Add universitites & enterprises section (logos and text) on homepage

GitOrigin-RevId: 35eccf8355d71b8a26cc6f2909cb099df40c4ad0
2024-01-23 09:03:14 +00:00
David
e3513a9d50 Merge pull request #16545 from overleaf/dp-project-owner-delete-labels
Allow project owners to delete history labels

GitOrigin-RevId: 16111337681ac4085db2cf48e9d4c2fa87993b77
2024-01-23 09:03:08 +00:00
CloudBuild
4683cad1cb auto update translation
GitOrigin-RevId: 2b4edb0c7a982be804b50b062a51f19623ae735d
2024-01-22 09:04:39 +00:00
CloudBuild
6cf8fafcf9 auto update translation
GitOrigin-RevId: 1409760f271b76f2a4f3d05b4078415666806181
2024-01-22 09:04:35 +00:00
CloudBuild
d60dd98297 auto update translation
GitOrigin-RevId: 10e22a7c4bcf23da4a3ee171342cea108b535fb4
2024-01-22 09:04:27 +00:00
M Fahru
3fcd14eef7 Merge pull request #16609 from overleaf/ds-enterprise-page-3
Website Redesign - Enterprise Page Final changes

GitOrigin-RevId: df5484f69b2d61334a2be727ab3eb5e04d009897
2024-01-22 09:04:19 +00:00
Eric Mc Sween
af06de4e8f Merge pull request #16621 from overleaf/jpa-writefull-integration-user-property
[web] add user property for writefull-integration

GitOrigin-RevId: b3b0ec8290db318d17b426be050266522d420bf4
2024-01-22 09:04:14 +00:00
Jakob Ackermann
8bc44141be Merge pull request #16590 from overleaf/jpa-redis-lock-60s
[server-ce] increase the doc lock TTL from 30s to 60s

GitOrigin-RevId: 468f7483cc6a80e8034e3cc8071b674123985deb
2024-01-19 09:06:06 +00:00
CloudBuild
113fea67fc auto update translation
GitOrigin-RevId: c98c7e8a545798ab57d4993b6cdf5f7cc2b858db
2024-01-19 09:06:01 +00:00
M Fahru
a299980a56 Merge pull request #16598 from overleaf/ds-business-page-redesign
This adds the sticky tags under the hero section image

GitOrigin-RevId: 918ac369d28c2128e13106a65a0c04b23af9e066
2024-01-19 09:05:56 +00:00
M Fahru
9da4206845 Merge pull request #16574 from overleaf/mf-fix-text-align-quote-card
[website-redesign] Fix quote author title text is not center aligned on mobile

GitOrigin-RevId: 24c8e0b0df1d8ebfa6bc0931f5f3ea25880f5ab9
2024-01-19 09:05:52 +00:00
Alf Eaton
4efbc40f71 Merge pull request #16592 from overleaf/ae-uppy-babel
Add `@uppy` packages to webpack config for Babel processing

GitOrigin-RevId: 80baedefb220b7685e3d013e33c632fa2f8c3db1
2024-01-19 09:05:40 +00:00
Jessica Lawshe
48b42f2b77 Merge pull request #16577 from overleaf/jel-sso-config-modal
[web] Improve accessibility of SSO config form

GitOrigin-RevId: ee0521391489271c26f71b67a392ff25eb25b92a
2024-01-19 09:05:35 +00:00
ilkin-overleaf
fa314fe5b0 Merge pull request #16509 from overleaf/ii-rp-update-entry-positions
[web] Review panel entry positions and long user names

GitOrigin-RevId: 3a596bd90bab2c87b2efae5eb812ffc5e5a1580f
2024-01-19 09:05:28 +00:00
Alexandre Bourdin
73349a1b1d Merge pull request #16550 from overleaf/ab-unlink-sso-user-leaves-group
[web] Unlink group SSO when user leaves/is removed from group

GitOrigin-RevId: a4515f8b6f0f0012fc4d9f47b11e6f711743c2ec
2024-01-19 09:05:23 +00:00
Alexandre Bourdin
bc86ada5be Merge pull request #16506 from overleaf/ab-group-sso-metadata
[web] Add button to download group SSO metadata

GitOrigin-RevId: 905fd37a7ed9433f9649eae00e51241ba1a9bea5
2024-01-19 09:05:19 +00:00
Alexandre Bourdin
3b9eb4e8aa Merge pull request #16307 from overleaf/ab-split-tests-never-throw
[web] Guarantee split test assignments can never throw and cleanup boilterplate error handling

GitOrigin-RevId: ab50abde6e0632c5a9625b5c3d3e98f3383cc56c
2024-01-19 09:05:14 +00:00
Eric Mc Sween
29d41497ef Merge pull request #15719 from overleaf/em-promisify-mongo-manager
Promisify MongoManager

GitOrigin-RevId: e9e71a1865734ae202270d5b4fdaa6ba51fadab6
2024-01-19 09:05:10 +00:00
Alf Eaton
612c7c28b0 Merge pull request #16511 from overleaf/ae-upgrade-uppy
Upgrade Uppy to v3

GitOrigin-RevId: ca3e366a20ac651a98aafe12bf319b1968ac6ec1
2024-01-19 09:05:05 +00:00
Alf Eaton
4bca3de8d2 Add estimated height to some block widget decorations (#16485)
GitOrigin-RevId: f59da18228e038b1295ccc0128a33acd2de4f9f9
2024-01-19 09:05:01 +00:00
Alf Eaton
6b3a953c8d Extend the size limits of some panels (#16543)
GitOrigin-RevId: 4c25e93effc08c6bf62cdca7e95b31ca36ac154f
2024-01-19 09:04:56 +00:00
Alf Eaton
22b5828b3d Move Writefull toolbar loading/initialisation into a React component (#16546)
GitOrigin-RevId: 1cb6efa7cab2babb33800fef9469fca3addbdaf5
2024-01-19 09:04:52 +00:00
Mathias Jakobsen
7c3c3047fe Merge pull request #16588 from overleaf/mj-usepackage-fix
[web] Copy single backslash in column width modal

GitOrigin-RevId: ee3e3eadac067dac1d955adc04709e8ab3121a59
2024-01-19 09:04:37 +00:00
Mathias Jakobsen
8d7fbf5a47 Merge pull request #16522 from overleaf/mj-table-generator-cypress-tests
[web] Add cypress tests for table generator

GitOrigin-RevId: c77454763cfc83e4869e75ba247369e6255a0553
2024-01-19 09:04:33 +00:00
Mathias Jakobsen
80a6424343 Merge pull request #16048 from overleaf/mj-table-column-width
[visual] Allow setting column widths in table generator

GitOrigin-RevId: 3bd4bb05dd3b29d0bd62fbc41da45eda282fecf4
2024-01-19 09:04:28 +00:00
CloudBuild
1708ccfcf5 auto update translation
GitOrigin-RevId: d6b43fc057296be782dbd9f2c3c254a39d210573
2024-01-19 09:04:18 +00:00
M Fahru
2ca2f1d360 Merge pull request #16557 from overleaf/mf-fix-quote-card
Website-redesign - Change quote-card for all of the related website-redesign pages according to the figma design

GitOrigin-RevId: dd9a857a9b6ba18ad378676506721773b17118a3
2024-01-18 09:05:28 +00:00
M Fahru
0a8b79e519 Merge pull request #16556 from overleaf/mf-fix-info-cards
Website-redesign - Update `info-cards` according to design (change border top & icon color to #4354a3; change box shadow)

GitOrigin-RevId: 6f7a3fd5b456a699a09196a9663f310acddacd56
2024-01-18 09:05:23 +00:00
M Fahru
19f53e1823 Merge pull request #16564 from overleaf/mf-fix-green-link
Website redesign - Change green-link (the one with the arrow) styling

GitOrigin-RevId: 889f6846a71d0adfd12d93f6a64aa0772e3a0c21
2024-01-18 09:05:19 +00:00
M Fahru
062df2fe7f Change some icons in website redesign:
- in enterprises: change icons of the "security" section
- in why-latex: change icon s of the "resources" section

GitOrigin-RevId: eaee6b7d08aff339d57feae24bf89c6c08b604b3
2024-01-18 09:05:14 +00:00