Commit graph

18779 commits

Author SHA1 Message Date
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
Christopher Schenk
d6d664312c Ignore stderr output when running commands
Fixes #1006
2022-04-01 16:03:19 +02: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
Alf Eaton
b7a5614c95 Add PDF Preview error boundary components to Storybook (#7065)
GitOrigin-RevId: cc9ec43040b7c43a70b76e8174e92cee32445162
2022-03-21 09:03:13 +00:00
Alf Eaton
35b1aef765 Preserve "Exception" names when minifying (#7096)
GitOrigin-RevId: 41a869d0cb9f3506707c9d24d94f1c05825c51ab
2022-03-21 09:03:10 +00:00
Alf Eaton
9d9bf8b9d0 Import Promise.allSettled from core-js (#7099)
GitOrigin-RevId: e7c1da844c3c7e8caec386b06f3b8393ea79529c
2022-03-21 09:03:07 +00:00
Alf Eaton
a3a062b18b Remove engines from history package.json (#7098)
GitOrigin-RevId: aebdc9f0a8f95d3535762da1f65d8d4b68591d2f
2022-03-21 09:03:03 +00:00
Thomas
cc6a9519e2 Merge pull request #7074 from overleaf/tm-collaborator-to-standard-split-test
Add split test for 'Collaborator' to 'Standard' name change

GitOrigin-RevId: 549c5ac566f622f52218adc571a427e6241a53ee
2022-03-18 09:03:17 +00:00
Thomas
71e6dfdd15 Merge pull request #7072 from overleaf/tm-collaborator-to-standard
Change various usages of `Collaborator` plan name to `Standard (Collaborator)`

GitOrigin-RevId: 9bf98a0e0d029b28b1b5bd7aa6b16f4d4aa4a883
2022-03-18 09:03:14 +00:00
Jakob Ackermann
bd74a149ce Merge pull request #7100 from overleaf/ae-worker-hash
Improve webpack config for Web Worker scripts

GitOrigin-RevId: 38773291726d31cc31a8360049db67103198582b
2022-03-18 09:03:10 +00:00
Jakob Ackermann
29aa7c622a Merge pull request #7105 from overleaf/jpa-static-no-csp
[web] remove CSP header from static assets

GitOrigin-RevId: 2f12974f490ff22796ed74c38a466fe4649877c1
2022-03-18 09:03:07 +00:00
Jakob Ackermann
224edddad4 [web] set a default, strict CSP on ALL endpoints (#6271)
* Remove use of CSP_PERCENTAGE

* Move header calculation earlier

* Set a default policy and add comments

* Apply the CSP header to all responses

* Enable CSP in dev environment

* [web] set a default, strict CSP on ALL endpoints

* [misc] enable CSP in dev-env

* Only build the default policy once

* Update docker-compose.yml

* [web] webpack: set default CSP header on webpack assets

This aligns the webpack dev-server with production in nocdn=true mode.

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 088a6082ad21c5b3f229887ba0ab3eca8d0528cd
2022-03-18 09:03:01 +00:00
M Fahru
ecfe3df5ed Merge pull request #7087 from overleaf/ae-nvmrc
Update .nvmrc

GitOrigin-RevId: 8a43de70e3d8bc12534a041f6cbdb90eee1212b4
2022-03-17 09:03:48 +00:00
M Fahru
1e57b013ef Merge pull request #7079 from overleaf/mf-types-react-reactdom
[web] add @types/react and @types/react-dom as web dependencies for react files using typescript

GitOrigin-RevId: 2d32094d9d4c04a7efd72dc8d6d43cc9a1180074
2022-03-17 09:03:45 +00:00
Thomas
4cc888ce2f Merge pull request #6996 from overleaf/tm-expired-project-chat
Add endpoints to chat for deleting expired project chat data

GitOrigin-RevId: e4eb7c7a79472bb116b2095a76c870e204590288
2022-03-17 09:03:41 +00:00
Brian Gough
a28e0eaab0 Merge pull request #7073 from overleaf/bg-features-epoch
[web] add note to refresh_features.js script

GitOrigin-RevId: 5bda96df8a604c0d5b370aa25b0851486401ed7d
2022-03-17 09:03:30 +00:00