Commit graph

18642 commits

Author SHA1 Message Date
Jakob Ackermann
2117d24bda Merge pull request #7294 from overleaf/jpa-ratelimit-2fa-check
[web] rate-limit 2fa check requests

GitOrigin-RevId: da3d2f15c68cff101de807c1eae91edbd86481e7
2022-04-05 12:18:01 +00:00
Jakob Ackermann
b548d4e15b Merge pull request #7285 from overleaf/jpa-enforce-edit-own-comment
[misc] block users from editing other users comments

GitOrigin-RevId: 6f2ba38daf8089a478d79ca495b3557a57390b43
2022-04-05 12:17:56 +00:00
Alf Eaton
99607d4afc Move Storybook to tools (#7248)
GitOrigin-RevId: 2dd57d9adda07b01ad3d9aeee7a2e9e8986fae24
2022-04-05 12:17:36 +00:00
Alf Eaton
53324b0cd2 Add Cypress React component testing (#6974)
GitOrigin-RevId: 1260312a0644f3bc60e007a840045974336e264d
2022-04-05 12:17:30 +00:00
Thomas
76beba4393 Add cookie banner (#6627)
* Add cookie banner

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
Co-authored-by: Miguel Serrano <mserranom@users.noreply.github.com>
GitOrigin-RevId: a3625d4e6357ff58c7c47532901c382bedbe07e0
2022-04-05 12:17:25 +00:00
Alf Eaton
a5e09a6200 Add TypeScript file extensions to the test:frontend script (#7277)
GitOrigin-RevId: 24298d8d5b7831115ef476fefe1dbd801c159309
2022-04-05 12:17:15 +00:00
M Fahru
4221825a18 Merge pull request #7240 from overleaf/mf-subscribe-survey-link
[web] Add a new survey link after user successfully subscribed

GitOrigin-RevId: d9b260e3727dbbdfd93ccc118be10be7aed246f2
2022-04-05 12:17:11 +00:00
Jakob Ackermann
5f5b17c6e9 Merge pull request #7258 from overleaf/jpa-restrict-history-access
[web] block restricted token users from accessing project history

GitOrigin-RevId: 18e6d58150be3846bc87e292108c1a09c553c9be
2022-04-05 12:17:08 +00:00
Eric Mc Sween
f9b3526b03 Merge pull request #7241 from overleaf/em-pre-node-16
Upgrade packages in preparation for Node 16

GitOrigin-RevId: c364ca0277977adfa0a92373fa5d8dfce8a9c7da
2022-04-05 12:17:06 +00:00
M Fahru
2fc4c82593 [web] Move window object typescript declaration file to a more general location (#7244)
GitOrigin-RevId: 87e30b16fa48e1aaebba76bed19d8c583a4cf1ca
2022-04-05 12:17:03 +00:00
Alf Eaton
a079aa1fae Merge pull request #7251 from overleaf/jpa-convert-doc-to-file-script
[web] convert convert-to-file endpoint into a script

GitOrigin-RevId: 5babebae5df8510b83f09ec4a2bb4064cca5ec75
2022-04-05 12:17:00 +00:00
Alf Eaton
2130aeb6f9 Merge pull request #7262 from overleaf/jpa-missing-required-login
[web] require a logged in user for (un-)archiving/(un-)trashing projects

GitOrigin-RevId: 90e6d1654065d759dce612bd6714e6e0018b19ff
2022-04-05 12:16:58 +00:00
Alf Eaton
103e31163a Merge pull request #7252 from overleaf/jpa-drop-unused-endpoint
[web] drop unused endpoint for refreshing user features in CI

GitOrigin-RevId: e1be605a398f5fdb2548509cf93ad72c4cc67f84
2022-04-05 12:16:55 +00:00
Alf Eaton
199ab985a0 Merge pull request #7223 from overleaf/ta-storybook-organise
Reorganise Storybook Stories

GitOrigin-RevId: 91014f49f84c645f87091724f03a007b731a8ad5
2022-04-05 12:16:53 +00:00
Alf Eaton
9f40893326 Increase specificity of PDF.js canvas style (#7219)
GitOrigin-RevId: 62e4424b5e5681bcbf1d377394f6bd8587a34ea6
2022-04-05 12:16:48 +00:00
Miguel Serrano
4f80c60be6 Added TS tests to typecheck (#7257)
* Added TS tests to typecheck

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 59b9dd0f75ab4412eb0e46b3d5b7f7798d66f640
2022-04-05 12:16:45 +00:00
Thomas
1aae979398 Send delete request to chat when expiring deleted projects (#6997)
* Send delete request to chat when expiring deleted projects

* Add script to clean-up orphaned chat of previously expired projects

GitOrigin-RevId: 157d100bd51b6204a9e31733b5164b8e7036ef01
2022-03-28 08:04:29 +00:00
Alf Eaton
935dc9be7c Remove unused code and translation keys (#7140)
GitOrigin-RevId: 15ce5d22a40ebe56cae76c78703c1547f2ab0552
2022-03-28 08:04:07 +00:00
Alf Eaton
439ba17bd5 [web] Fetch and parse compile log files asynchronously (#6220)
GitOrigin-RevId: 91b4c3551b705e7c07205b1bced3ae4768b10edb
2022-03-28 08:04:01 +00:00
Alf Eaton
74b76c853d Increase the maximum size of the pdf.js canvas (#7207)
GitOrigin-RevId: 699c4ded7a783e37f655e05452943de7443f1012
2022-03-28 08:03:51 +00:00
Alf Eaton
755233dcdc [web] Add TypeScript file extensions to ESLint (#7215)
GitOrigin-RevId: 0e7dbc94b304ba0bb17fbbfbc726e31775b97e3d
2022-03-28 08:03:48 +00:00
Alf Eaton
f175aef078 Add typechecking (#7221)
GitOrigin-RevId: 5b5bc5d2f9e5361e868cc6c9560f28a872d90ae1
2022-03-28 08:03:44 +00:00
Jakob Ackermann
1bee808551 Merge pull request #7220 from overleaf/jpa-wait-for-db
[web] scripts/undelete_project_to_user: add missing wait for db call

GitOrigin-RevId: 80a767d26ee529c0aabf8ce11a010dca4a51be2b
2022-03-25 09:03:59 +00:00
Jakob Ackermann
d993144fec Merge pull request #7214 from overleaf/jpa-refactor-insecure-endpoint
[web] refactor an insecure web-api endpoint into a script

GitOrigin-RevId: ba565a41d11fdaeb919dbf3cfe80c6f2e2474df1
2022-03-25 09:03:55 +00:00
Jakob Ackermann
f4d17f78f7 Merge pull request #7194 from overleaf/jpa-rate-limit-zip-download
[web] rate-limit project zip download requests

GitOrigin-RevId: c99b7474de26b0e8a288863dccb60a25adfdc1b0
2022-03-25 09:03:52 +00:00
Jakob Ackermann
c192002f53 Merge pull request #6837 from overleaf/jpa-drop-v1-subscription-lookup
[web] drop support for v1 subscriptions

GitOrigin-RevId: ddffa60398d5319959f9e5455520a61fa58fab37
2022-03-25 09:03:48 +00:00
Miguel Serrano
7e41fbf81b Merge pull request #7102 from overleaf/msm-check-entry-point-dir-settings
[settings] add check for `process.argv[1]`

GitOrigin-RevId: 24e9e02dc840e9c4206d36b814150b092247d5d9
2022-03-24 14:59:01 +00:00
Miguel Serrano
f5654e94c6 Merge pull request #7126 from overleaf/msm-fix-saml-meta
Fixed incorrect signing cert for SAML metadata

GitOrigin-RevId: 236e6b8f4dd6b779f4fff4b85ee1ae28c6aaf696
2022-03-24 14:58:58 +00:00
June Kelly
e01fbb243b Merge pull request #7081 from overleaf/jk-restricted-user-accept-changes
[real-time] Pass 'accept-changes' messages to restricted clients

GitOrigin-RevId: 66766f08349501d5a63ee45c4d82e1fe72df852f
2022-03-24 14:58:50 +00:00
June Kelly
4e11fa73cb Merge pull request #7106 from overleaf/ab-analytics-controller-async
Convert AnalyticsController to async/await

GitOrigin-RevId: a38194b2970a15b06fe6a3d95048681d7927bfc3
2022-03-24 14:58:47 +00:00
June Kelly
e536ed1661 Merge pull request #7125 from overleaf/jk-project-rename-strip-ends
[web] Rename project: trim whitespace on ends

GitOrigin-RevId: 2499d9e206ed5c929870a0f50cccd07ce3ec5ba7
2022-03-24 14:58:44 +00:00
June Kelly
b5677742a2 Merge pull request #7062 from overleaf/jk-fix-file-type-detection
[web] Fix file-type detection for `latexmkrc`

GitOrigin-RevId: d51363d2b7d2b1fcc4b783cb3e91f33ab450abba
2022-03-24 14:58:40 +00:00
Eric Mc Sween
6061e09ab9 Merge pull request #7180 from overleaf/em-missing-pdf-download-domain
Handle missing PDF_DOWNLOAD_DOMAIN setting

GitOrigin-RevId: 3f022ec1637f7f38ca98503b1ab08748f6bbf87d
2022-03-24 09:03:57 +00:00
Jakob Ackermann
5a25e6aa1a Merge pull request #7165 from overleaf/jpa-web-load-shedding-probe
[misc] differentiate between load-shedding and VM cycling events

GitOrigin-RevId: a22478bf7f96ac4c73f908777307d4c2b6fb25c2
2022-03-24 09:03:51 +00:00
Timothée Alby
ac3eb878d6 Merge pull request #7172 from overleaf/ta-pdf-viewer-backdrop-hide
Fix Logo Backdrop in PDF Viewer

GitOrigin-RevId: ae9eb98dc8a51a882354b6ddea095df2bed51346
2022-03-24 09:03:44 +00:00
Timothée Alby
0703c6d21d Merge pull request #7142 from overleaf/ii-6756-gmail-flags-emails-as-dangerous
Change security email title

GitOrigin-RevId: d33c9d7998ada059dac61ba0d13eefedd66237fc
2022-03-24 09:03:38 +00:00
Alf Eaton
7f4934d619 Add TypeScript file extensions to Storybook config (#7163)
GitOrigin-RevId: f070c8555d570bfdf02958bfbb241def8cacb263
2022-03-23 09:02:51 +00:00
Timothée Alby
dfa3178034 Merge pull request #7162 from overleaf/ta-pdf-viewer-backdrop-fix
Fix Logo Backdrop in PDF Viewer

GitOrigin-RevId: 2c0c6c0921d4cc02720d4f5339dbbfb16f28363f
2022-03-23 09:02:48 +00:00
ilkin-overleaf
e20cbad116 Merge pull request #7086 from overleaf/ta-pdf-viewer-backdrop
Add Logo Backdrop in PDF Viewer

GitOrigin-RevId: 242a8c5a08abf5b90f8abdb144eb768a63fd1a0e
2022-03-22 09:03:46 +00:00
ilkin-overleaf
ea729ca2af Merge pull request #7075 from overleaf/ta-mutli-selection-ui-fix
Bring Multi-Selection UI Back

GitOrigin-RevId: a0e086da98bb1de88cb2e96ddc2acfd5240a01a7
2022-03-22 09:03:40 +00:00
ilkin-overleaf
ebec861562 Merge pull request #7123 from overleaf/jk-logging-catch-folder-error
[web] Add logging around crash site in `ProjectEntityHandler`

GitOrigin-RevId: 73ae00c10dba3783417d88785427c77c59faf57b
2022-03-22 09:03:34 +00:00
ilkin-overleaf
da3b5b76c4 Merge pull request #7131 from overleaf/dependabot-npm_and_yarn-sysend-1.10.0
Bump sysend from 1.8.0 to 1.10.0

GitOrigin-RevId: 46b906833ab7add896a4430d6ba03492b958c42b
2022-03-22 09:03:27 +00:00
ilkin-overleaf
57e60c05ca Merge pull request #7066 from overleaf/ta-synctex-disable-multi
Disable Synctex Controls for Docs and Multiselections

GitOrigin-RevId: 9f14e68228f9aa13a4188918930fc8cdb5eefabf
2022-03-22 09:03:21 +00:00
ilkin-overleaf
be0774be8f Merge pull request #7060 from overleaf/ii-5273-latex-log-parsers
Clean up log parsers code

GitOrigin-RevId: 7dc4dbbb07bba72dda63d75502602570620fe07d
2022-03-22 09:03:14 +00:00
ilkin-overleaf
21e753ca21 Merge pull request #7061 from overleaf/ii-6853-add-symbol-palette-to-trial-email
Symbol palette in the trial email

GitOrigin-RevId: f2cad20e42d1d239518dc24f506ef7418b2167a9
2022-03-22 09:03:11 +00:00
Alf Eaton
55c5973d37 Add custom transform for extracting i18next keys from TypeScript files (#7138)
GitOrigin-RevId: 3b435b999c72e666eff25f86eb65e0368e953910
2022-03-22 09:03:08 +00:00
Alf Eaton
8b253b32f7 Add ts(x) file extensions to ESLint config for frontend-specific rules (#7139)
GitOrigin-RevId: 26389fb0ca9b3cd6545ada66a0f1dd31c5c33d9f
2022-03-22 09:03:04 +00:00
Alf Eaton
37c1b59c95 Merge pull request #7130 from overleaf/ae-pdfjs-paths
Fix paths for pdf.js cmaps and images

GitOrigin-RevId: 9faeb3288e0a620653ecdaac2ef2a628d47a3eb8
2022-03-21 09:03:37 +00:00
M Fahru
0dcdc511a9 Merge pull request #7092 from overleaf/mf-prettier-ts-tsx
[web] add ts and tsx extension to the prettier scripts and execute it

GitOrigin-RevId: 22d1bcff978b46664668ea93462271ec4a2dddfe
2022-03-21 09:03:26 +00:00
Alf Eaton
65e71714b8 Upgrade pdf.js via split test framework (#7053)
GitOrigin-RevId: dffe1f5bec07cba0914e3bd18ff5332dfe204f33
2022-03-21 09:03:16 +00:00