Commit graph

6604 commits

Author SHA1 Message Date
M Fahru
bed2596468 Implement groups & enterprise awareness banner on project dashboard (#10818)
- Implement the banner on both react and non-react project dashboard
- Use split test with 4 different variants, `save`, `empower`, `did-you-know`, and `default`, each variant has a different copy, except the `default` which won't show the banner to users

GitOrigin-RevId: ee76769dfd38b8e52de8cc0f201c24e41905d016
2022-12-13 09:05:08 +00:00
Jessica Lawshe
c7a10558bf Merge pull request #10830 from overleaf/jel-remove-test-show-unified-navigation
[web] Remove `unified-navigation` references in code

GitOrigin-RevId: bbcea3c8013936a8e5eaed18e6121344a3c05e9a
2022-12-13 09:04:28 +00:00
Dr. Sasha Göbbels
c9cf530e36 [web] Log messages to the project audit log and do so for enabling/disabling sharing (#10281)
GitOrigin-RevId: d6af26bcbafb4d1789fca6319fd343fe8c2ecd25
2022-12-13 09:04:08 +00:00
Alf Eaton
12af54069c Merge pull request #10787 from overleaf/ae-pdfjs-3
Start upgrading pdf.js to the latest version

GitOrigin-RevId: e7d8c6dedb0fe58ba31626408df81fd42ba1ca3b
2022-12-09 09:03:53 +00:00
Eric Mc Sween
2af4b38143 Merge pull request #10828 from overleaf/em-fix-deleted-projects
Fix project deletion when history id is a string

GitOrigin-RevId: cf60d9b6b7801592e1ff9f9be135f68dfe010ecf
2022-12-08 09:04:17 +00:00
Davinder Singh
4adfca52bf Merge pull request #10682 from overleaf/ds-btn-default-to-secondary-in-editor-part-2
Replacing btn-default with btn-secondary in the editor Part-2

GitOrigin-RevId: 708aa29070bb3049afbc8ee1a282eaa1018594a8
2022-12-08 09:03:42 +00:00
Davinder Singh
d6b39c4bb3 Merge pull request #10653 from overleaf/ds-btn-default-to-secondary-in-editor
Replacing `btn-default` with `btn-secondary` in the editor

GitOrigin-RevId: 46aa8c92c9981eb2f253828ee65424bfb7217fb2
2022-12-08 09:03:35 +00:00
Davinder Singh
ec920ade78 Merge pull request #10563 from overleaf/ds-btn-success-to-btn-primary
replacing `btn-success` with `btn-primary`

GitOrigin-RevId: 77b90dbc4470bc059c40294b9764d1184f0b0bb8
2022-12-08 09:03:28 +00:00
Tim Down
08567c290e Add second CM6 switch-away survey (#10789)
Restart CM6 switch-away survey

GitOrigin-RevId: 1d62aaf27834cb3919f6ca30c269a1ef3c2e9a5e
2022-12-07 09:04:35 +00:00
Eric Mc Sween
04d0eabb32 Merge pull request #10772 from overleaf/em-ieee-brand-id
Make the IEEE brand id configurable

GitOrigin-RevId: 3ee286131d6ed8f43247ab1e2954eabec83d75d6
2022-12-07 09:03:58 +00:00
Eric Mc Sween
38df974ce1 Merge pull request #10739 from overleaf/em-history-mongo-backend
Send a history id from web when creating a project

GitOrigin-RevId: dd1417ae734c76990931885df1864a81a9439da0
2022-12-07 09:03:51 +00:00
ilkin-overleaf
2675cab92e Merge pull request #10394 from overleaf/ii-password-reset-and-strength-checking
[web] Password reset strength checking and UI updates

GitOrigin-RevId: 442a5c9e7e9d0a61d3ae649f3526bc3c02fd5704
2022-12-07 09:03:36 +00:00
Jessica Lawshe
887ac13f06 Merge pull request #10791 from overleaf/ds-accept-all-cookies-primary-btn
changed accept all cookies button to primary button

GitOrigin-RevId: c06419fa75945259155b72676b90b366412b14f8
2022-12-06 09:05:47 +00:00
Brian Gough
5c06b29e77 Merge pull request #10740 from overleaf/jpa-auto-compile-rate-limit-two-buckets
[web] split rate-limit tracking for auto-compiles into two buckets

GitOrigin-RevId: dcc743343010afe7d877fe5d37f020f10a8fd412
2022-12-06 09:04:10 +00:00
Miguel Serrano
4040f1c75f Merge pull request #10782 from overleaf/msm-fix-disconnect
[ServerPro] Fix `disconnectAllUsers` endpoint

GitOrigin-RevId: 2852b18e64ceb4ffd9d0f40b7c40273747bf2df8
2022-12-06 09:03:49 +00:00
Eric Mc Sween
5083060fbb Merge pull request #10677 from overleaf/em-history-id-string
Represent history ids as strings instead of integers

GitOrigin-RevId: 18977195b65492836e570c571ec7e8c7e088612b
2022-12-02 09:04:29 +00:00
Brian Gough
f8a1da1b47 Merge pull request #10715 from overleaf/jpa-web-share-mongo-pool
[web] share mongo connection pool between Mongoose and native db

GitOrigin-RevId: 8bb2a9dc76880144a8681cb564183906df624cc0
2022-12-02 09:04:02 +00:00
Jakob Ackermann
7fcdd69cee Merge pull request #10735 from overleaf/jpa-mongo-connection-pool-stats
[web] collect metrics for mongo connection pool

GitOrigin-RevId: 71ca95af4e04f124f5ae12c8967ce85d4d9d0428
2022-12-01 09:05:09 +00:00
Jakob Ackermann
648a08b6b8 Merge pull request #10725 from overleaf/jpa-no-cdn-metric
[web] add metric for ?nocdn=true requests

GitOrigin-RevId: 6ca8a5616590f2d4efd8e3d04ef3ae71b67c5b96
2022-12-01 09:05:02 +00:00
Davinder Singh
0ed9626475 Merge pull request #10710 from overleaf/ds-bug-fix-delete-btn
changing delete button to `btn-danger` from `btn-primary`

GitOrigin-RevId: a70f92cce1dc53b48265c4daf383be6dd8972c4b
2022-12-01 09:04:49 +00:00
Jakob Ackermann
db4d5f2522 Merge pull request #10686 from overleaf/jpa-upgrade-multer
[web] upgrade multer

GitOrigin-RevId: 4f43c783733f495eaed4df16ae9c9fc5b1186254
2022-12-01 09:04:07 +00:00
M Fahru
f27562eb12 Data handling for settings in editor left menu react migration (#10470)
- Importing SettingsController from the angular code, which enables post requests for every select menu and socket handler for compiler, texlive version, and main document select option
 - New context for the data handling infrastructure between react and angular. The data is still located in the angular version, and I use the context only as a proxy to fetch/post new data.

GitOrigin-RevId: 59009bceb128d82969a2318e90036aacf79f9887
2022-11-30 09:04:32 +00:00
Tim Down
079a0dcae4 Merge pull request #10667 from overleaf/ii-dashboard-duplicate-projects
[web] Remove duplicate projects when fetching all users projects

GitOrigin-RevId: b850cd6ea5a03f01ba82eaaba101afd21a5098cc
2022-11-30 09:04:19 +00:00
Eric Mc Sween
3efcd3e52b Merge pull request #10644 from overleaf/em-chunk-store-mongo
Mongo backend for the history chunk store

GitOrigin-RevId: 8dcfc7e62065785616b7894009368b6acbb4428a
2022-11-29 09:04:40 +00:00
Brian Gough
4589a57774 Merge pull request #10637 from overleaf/bg-delete-user-from-dropbox
delete user data from dropbox

GitOrigin-RevId: d586c73b4500f4fe718927f537ae770356eaefc1
2022-11-29 09:04:33 +00:00
Alf Eaton
65b0fd73ea Improve "compile" keyboard shortcut handling (#10624)
* Improve "compile" keypress handling
* Remove "compile" keypress handling from PDF preview
* Remove compile shortcuts from CM6
* Use an event for Vim keybindings
* Remove event handlers from Angular/Ace
* Move useCompileTriggers into DetachCompileProvider

GitOrigin-RevId: 7f0e667b5106a849458e06ebb0f7a413d5d63430
2022-11-29 09:04:04 +00:00
M Fahru
31c503be2d Add 10 seconds delay before showing grammarly warning
GitOrigin-RevId: 11bb3ca5704ef5cc782d14eb6f4f10a1fa2a656e
2022-11-25 09:04:33 +00:00
M Fahru
6dcc22642a Update "go to line" hotkey for cm6 and add new info text in hotkeys modal
* Update "go to line" hotkey for cm6 and add new info text in hotkeys modal

* Differentiate modal title between cm6 and ace hotkeys

* Update test to reflect change in hotkeys modal title

* Add test for hotkeys modal bottom text

* Update test on editor left menu hotkeys button to reflect change in hotkeys modal title

GitOrigin-RevId: 61bae16313ea7a37fa3b9441dbe5a93ab7823d01
2022-11-25 09:04:20 +00:00
Lucie Germain
7ad6a909e9 Merge pull request #10427 from overleaf/lg-secondary-email
Copy change to email we send when secondary email is added

GitOrigin-RevId: 1efd25e1ea9858f40cebf213f6dfbdc520a53313
2022-11-22 09:05:31 +00:00
ilkin-overleaf
11e789229e Merge pull request #10528 from overleaf/ii-add-modal-before-checkout
[web] Show student confirmation modal for student plans on checkout page

GitOrigin-RevId: 6009bde36adb2ca24d3438def95db3b47f1ce8b2
2022-11-22 09:04:19 +00:00
Jessica Lawshe
024f6ee24e Merge pull request #10467 from overleaf/ds-btn-info-new-css-part-2
Updating`btn-info` to `btn-info-secondary` - part 2

GitOrigin-RevId: 934dd633494454277432810c4a1e70bb17829bd7
2022-11-18 09:05:51 +00:00
Miguel Serrano
75fcdafb15 Merge pull request #10418 from overleaf/msm-fix-itm-campaign
Fix `itm_campaign=undefined` in insterstitial plans page

GitOrigin-RevId: 4826b507a93d3c324d600a938234ba31b4582955
2022-11-17 09:03:56 +00:00
Miguel Serrano
edeaa4baa0 Merge pull request #10435 from overleaf/msm-remove-survey-banner
Remove banner to recruit new joiners for survey

GitOrigin-RevId: c427c57b80d6e38285ddbafc67554b62516ea8b8
2022-11-17 09:03:49 +00:00
M Fahru
d70e0b1c0e Implement grammarly warning alert on cm6 users
GitOrigin-RevId: ed272bbc385faa69811ec1891075906cdca1c984
2022-11-16 09:06:39 +00:00
ilkin-overleaf
87b844aa15 Merge pull request #10438 from overleaf/ii-offer-personal-plan-on-cancellation
[web] Offer personal plan on subscription cancellation

GitOrigin-RevId: a7845fb3f7edc2f169ba237d8b822ff958a5c6a5
2022-11-16 09:06:18 +00:00
Davinder Singh
994736548e Merge pull request #10366 from overleaf/ds-buttons-user-bonus
[web] Use new buttons on bonus page, primary email check, and gallery item page

GitOrigin-RevId: f5ac40f45b0698054f52560b4b722e1c3b18b5c6
2022-11-16 09:04:42 +00:00
Davinder Singh
09be606a4e Merge pull request #10342 from overleaf/ds-buttons-project-page
New buttons on project dashboard

GitOrigin-RevId: 6e6a93a1ca1264dd214ccaf7976b665e45e7b10b
2022-11-16 09:04:34 +00:00
M Fahru
5eff354971 Create settings menu react elements in editor left menu for editor left menu react migration
GitOrigin-RevId: e75581a43a8694398b20bee3dc5ec69b60db86ab
2022-11-15 09:07:01 +00:00
Jessica Lawshe
62cf8c9d61 Merge pull request #10262 from overleaf/jel-ds-btn-secondary
[web] Buttons for new CSS build

GitOrigin-RevId: 9ae4284ba89296b77c37d61ba9b221bcab2f6458
2022-11-15 09:06:25 +00:00
Eric Mc Sween
682406b797 Merge pull request #10380 from overleaf/ii-change-plans-prices
Change plans prices

GitOrigin-RevId: 9229e9be916c8377f6fdd259f934a9f0811f3d94
2022-11-15 09:06:04 +00:00
M Fahru
efd2669cc7 Use a hard-coded variable to stop rendering the switch away survey component
GitOrigin-RevId: f3dc9db2c8f24aff941c6ea811e5a8f13e1f2960
2022-11-10 09:04:33 +00:00
M Fahru
0cca76557e Comment out switch away survey to temporary disable it
GitOrigin-RevId: f516af0f016c05cba1d171b1f2ad98aa695447ba
2022-11-10 09:04:25 +00:00
Miguel Serrano
900c5b29cb Loose regex filter for analytics events (#10329)
Allows `Date` objects being sent as attribute values
and spaces in event segmentation values

GitOrigin-RevId: ce3bf5023941a011ba612e9a3a17b92f76f9860b
2022-11-08 09:03:31 +00:00
Miguel Serrano
933a0d22eb Merge pull request #9995 from overleaf/msm-cleanup-old-audit-log
Cleanup `auditLog` from `users` and `projects` collections

GitOrigin-RevId: 2ea6d547837441c5e0391542c80c01bb5b6710fe
2022-11-08 09:03:20 +00:00
Brian Gough
495dd9016d Merge pull request #10290 from overleaf/bg-clear-feedbacks-collection
add script to clear old messages from mongo feedbacks collection

GitOrigin-RevId: a4986f432a12e801f41ff9bdf11b8771ef2b601f
2022-11-07 09:03:25 +00:00
Jakob Ackermann
7493be028d [web] drop rate of compile-result-backend events to 1%
GitOrigin-RevId: af3e4b56812f014ad7c40d1a98ee6db16798890b
2022-11-04 09:06:03 +00:00
M Fahru
19dd2f67e2 Implement "switch away survey" when users switching back to ace from cm6 (#10201)
Implement legacy source editor survey:

* Force user to switch to cm6 if they haven't seen switch away survey

* Only show user switch away survey if they open ace from another editor

* We need to wait 3 seconds until the survey is being shown

* Add comment to explain the reasoning of not showing cm6 switch away survey for rich text users

* Use localstorage `editor.has_seen_cm6_switch_away_survey` setter to not show the survey if user has seen the survey

* the `editor.has_seen_cm6_switch_away_survey` will have the value `true` even if user is not interacting with it, so update comment to reflect that

* Add `once: true` option to keydown event to avoid unnecessary callback invocation upon key presses

GitOrigin-RevId: c26be2bb39efac2dff112c821fca893e5993dcbf
2022-11-04 09:05:50 +00:00
Mathias Jakobsen
50b346b4ed Merge pull request #10279 from overleaf/jpa-tracing-optimizations
[misc] do not load the tracing module unless enabled

GitOrigin-RevId: 8a3b9da3e9451e3060b852dd44e078c99cf43cfa
2022-11-04 09:05:00 +00:00
Mathias Jakobsen
a54b633726 Merge pull request #10111 from overleaf/mj-lezer-file-outline
[web] Parser backed file outline

GitOrigin-RevId: 0825f4887ba4dae24a14dd1880d07b791d0b4cd9
2022-11-04 09:04:33 +00:00
M Fahru
a30e934692 Migrate "help menu" in editor left menu to react
GitOrigin-RevId: 7ebbfa693205de1f57b1d54e25c46cfb1851acc8
2022-11-03 09:03:49 +00:00