Commit graph

18467 commits

Author SHA1 Message Date
Eric Mc Sween
1186c3e9a4 Merge pull request #3526 from overleaf/cmg-binary-file
[BinaryFile] Binary file React migration

GitOrigin-RevId: e229ad8ec3781607b5ca28387927b84d4af95060
2021-04-24 02:10:07 +00:00
Alasdair Smith
f33c00f2fd Merge pull request #3944 from overleaf/revert-3943-revert-3735-as-chat-reducer
Re-do Refactor chat store to use React state

GitOrigin-RevId: 626e3379ddb2f75680742df8957fbe350ba89881
2021-04-24 02:10:01 +00:00
Alf Eaton
ff62a7e63c Enable React add files modal for all users (#3941)
GitOrigin-RevId: 923bf41a8c5e9f0932a1711530446dfd5c8d0d7f
2021-04-23 02:10:09 +00:00
Alf Eaton
5cec4420dc Merge pull request #3940 from overleaf/ae-share-modal-for-everyone
Enable React share modal for all users

GitOrigin-RevId: 2cb288e15770d3169034e4511df6537d010e924d
2021-04-23 02:10:05 +00:00
Alasdair Smith
b3b8502e5e Merge pull request #3943 from overleaf/revert-3735-as-chat-reducer
Revert "Refactor chat store to use React state"

GitOrigin-RevId: e75e2d56a80c3741415bea3941a26f7dd8f505d3
2021-04-23 02:09:59 +00:00
Alasdair Smith
bb4523b7f6 Merge pull request #3735 from overleaf/as-chat-reducer
Refactor chat store to use React state

GitOrigin-RevId: 800a21c3c8a5c3c628c0a13bcb091675d1fb6f25
2021-04-23 02:09:54 +00:00
Alf Eaton
59fe11f0ff Merge pull request #3936 from overleaf/ae-gitignore-js-config
Add .js files in config/ to .gitignore

GitOrigin-RevId: c20ca5a4e58092336829d9cac2700cf3c61a6fd2
2021-04-23 02:09:50 +00:00
Christopher Hoskin
d27ac38057 Merge pull request #3932 from overleaf/csh-add-nvmrc
Add .nvmrc

GitOrigin-RevId: 3b95005c65a4289869b55aebf028c4c6900ec92e
2021-04-22 02:09:44 +00:00
Alf Eaton
2621a1d5bb Merge pull request #3933 from overleaf/ae-csp-report-percentage
Add CSP_REPORT_PERCENTAGE

GitOrigin-RevId: 4afde0da6e3660c83df8c5c9cd31a3f246e9e572
2021-04-22 02:09:40 +00:00
Alf Eaton
8b35db3fc1 Merge pull request #3928 from overleaf/ae-safari-error
Check for existence of elements before attaching event listeners in SafariScrollPatcher

GitOrigin-RevId: 67338581878871cf67fc050dc233da93f14753a7
2021-04-22 02:09:37 +00:00
Alf Eaton
f9bda25072 Merge pull request #3921 from overleaf/ae-remove-broadcast-open
Remove $scope.$broadcast('open') from React controllers

GitOrigin-RevId: 40780c373e14c4dbbd921460638bcb4616f34c86
2021-04-22 02:09:34 +00:00
Shane Kilkelly
07ec567b07 Merge pull request #3902 from overleaf/sk-ref-providers-hide
Editor: don't leak encrypted tokens to frontend
GitOrigin-RevId: 245c1e9d479f7eec2979b46a5959bd3eb9f08363
2021-04-22 02:09:31 +00:00
Jakob Ackermann
54c6cce902 Merge pull request #100 from overleaf/jpa-drop-name-filter
[MongoManager] drop name filter from getProjectsDeletedDocs
2021-04-21 14:38:40 +02:00
Miguel Serrano
e63b285487 hotfix 2.6.1 (#875) 2021-04-21 13:13:47 +02:00
Jakob Ackermann
58fbbf6269 Merge pull request #3925 from overleaf/jpa-cache-deleted-project
[scripts] back_fill_dummy_doc_meta: add a cache for deletedProjects

GitOrigin-RevId: 3d24c9fc4985f33b2e18f8f63f0b690d65476d1b
2021-04-21 02:09:23 +00:00
Alf Eaton
cf1a5bf0f7 Add deprecation warning for .coffee settings files 2021-04-20 09:35:56 +01:00
Jakob Ackermann
35e9d4ea0b Merge pull request #3923 from overleaf/ta-format-fix
Fix formatting after Prettier 2 upgrade

GitOrigin-RevId: c06462c321f8586e442710e9a1186b3643ae6153
2021-04-20 02:10:25 +00:00
Timothée Alby
0ecebefb0c Merge pull request #3804 from overleaf/msm-react-publish-button
[ReactNavigationToolbar] Submit button

GitOrigin-RevId: 9b40e09f001b44bd2f5035469f0d0c852fea7199
2021-04-20 02:10:19 +00:00
Timothée Alby
f7166c5c1b Merge pull request #3922 from overleaf/jpa-fix-project-restore-deleted-files
[ProjectDeleter] undeleteProject: deletedFiles.projectId is an ObjectId

GitOrigin-RevId: 53bdc7c2a20269ef22ec7ca55a6ccf9339209cdd
2021-04-20 02:10:14 +00:00
Timothée Alby
7d0f117918 Merge pull request #3919 from overleaf/jpa-refactor-inline-script
[views] referal/bonus: refactor inline script in event handler

GitOrigin-RevId: 825f15c1badf964e0e0e2c9bc42951a5f318b357
2021-04-20 02:10:10 +00:00
Timothée Alby
97f89f132c Merge pull request #3920 from overleaf/as-fix-unsupported-middleware
Fix unsupported browser middleware

GitOrigin-RevId: 27dc8cef4747abba85a985c28865340bc5116ab7
2021-04-20 02:10:05 +00:00
Timothée Alby
5520553e34 Merge pull request #3877 from overleaf/jpa-script-regenerate-referreal-ids-optimize-queries
[scripts] regenerate_duplicate_referral_ids: optimize queries, add tests

GitOrigin-RevId: 5b6881b857b20a80bc8db6e01fb7668dc0377675
2021-04-20 02:09:59 +00:00
Alf Eaton
dcd6bd347f Use the full (relative) view path for CSP exclusion (#3916)
GitOrigin-RevId: f6828a447abcc550f0c7dfd0fc6fc72f4b5b1f7e
2021-04-17 02:09:56 +00:00
Alasdair Smith
f7cf7626ec Merge pull request #3820 from overleaf/as-block-ie
Add middleware to block unsupported browsers

GitOrigin-RevId: b1f1e4ae1572c3c323dc72442c8d5169b4879d5d
2021-04-17 02:09:52 +00:00
Jakob Ackermann
74aaa73ad2 Merge pull request #101 from overleaf/jpa-destroy-in-small-batches
[DocArchiveManager] destroy in small batches
2021-04-16 11:24:04 +02:00
Jakob Ackermann
3f94dd4dbf [DocArchiveManager] destroy in small batches
Also add settings options for PARALLEL_JOBS and DESTROY_BATCH_SIZE.
2021-04-16 09:51:41 +01:00
Jakob Ackermann
e47237f350 Merge pull request #3915 from overleaf/jpa-script-back-fill-dummy-doc-meta
[scripts] back_fill_dummy_doc_meta: bug fixes and limit result size

GitOrigin-RevId: 6823cf626ba7e0e6733a317866512745bb1e5206
2021-04-16 02:05:36 +00:00
Jakob Ackermann
4f8a905e9b Merge pull request #3909 from overleaf/jel-reconfirm-email-template
Add reconfirm email template

GitOrigin-RevId: 2488c79c25a7148f601e3e3e2021cdbee4be7b4c
2021-04-16 02:05:33 +00:00
Jakob Ackermann
78326fb352 Merge pull request #3903 from overleaf/as-clean-up-error-pages
Clean up error pages

GitOrigin-RevId: 764375124ef5349c97416339119471a166d727b5
2021-04-16 02:05:30 +00:00
Jakob Ackermann
d2e6449e79 Merge pull request #3897 from overleaf/tm-meta-tags-billing
[views] migrate subscription templates to meta tags, re-issue

GitOrigin-RevId: c18bb7c96186cc8c34344ecf7cee35f9da19698e
2021-04-16 02:05:27 +00:00
Jakob Ackermann
b276587c42 Merge pull request #3911 from overleaf/ae-share-modal-link-sharing
Only use project sharing data from the websocket connection

GitOrigin-RevId: 4549a6379dfebb00581ca4ddf276654fbbb3701d
2021-04-16 02:05:24 +00:00
Jakob Ackermann
70841f4b3b Merge pull request #3907 from overleaf/jpa-script-back-fill-dummy-doc-meta
[scripts] add a new script for back filling dummy doc meta data

GitOrigin-RevId: d3cb0900f08d4d3264cb1e8a0b3f7e8acdd6eb6c
2021-04-16 02:05:21 +00:00
CloudBuild
83adfff7a6 auto update translation
GitOrigin-RevId: 97358e7132c6afd0ba87bd9b3b61cea88a24054c
2021-04-16 02:05:17 +00:00
Alf Eaton
1ebc8a79cb Merge pull request #3495 from overleaf/ae-prettier-2
Upgrade Prettier to v2

GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
2021-04-15 02:05:22 +00:00
Alasdair Smith
930d7ba028 Merge pull request #3904 from overleaf/ae-chat-contrast
Fix contrast of chat instructions message

GitOrigin-RevId: 7e5bd375d8bdbf6505a71edc4b1648e2639cd444
2021-04-15 02:05:19 +00:00
Alasdair Smith
676b70b2be Merge pull request #3899 from overleaf/ae-csp-report-sample
Add 'report-sample' to script-src CSP directive

GitOrigin-RevId: 1a2c26339e7ef353a89fc264b0f186a1d313e1bc
2021-04-15 02:05:16 +00:00
Alasdair Smith
c89beb7657 Merge pull request #3905 from overleaf/jel-analytics-licence-api
Proxy analytics request to v1

GitOrigin-RevId: 82bcca52d096b8a9bc590f0ee0a0d3a6054e294e
2021-04-15 02:05:12 +00:00
Alasdair Smith
93492bb25a Merge pull request #3908 from overleaf/jel-reconfirm-ui-meta-tags
Meta tag migration for reconfirm UI

GitOrigin-RevId: b0bda07acc5389b1d5ef4e9ea3d10688ac26f0a0
2021-04-15 02:05:09 +00:00
Alasdair Smith
d7542e60c3 Merge pull request #3895 from overleaf/ta-delete-subscriptions-script
Add Script to Delete Subscriptions

GitOrigin-RevId: fb8eda38f89c897cbd4c6d8bdcba19171b5914d3
2021-04-15 02:05:05 +00:00
Alasdair Smith
3002a34cd3 Merge pull request #3887 from overleaf/hb-GH-sync-react-unlinking
GH-sync react: unlink button when repo returns 404

GitOrigin-RevId: 75d7517e949b0abc7a0db93513f0885f9b0acff7
2021-04-15 02:05:01 +00:00
Alasdair Smith
2b154e273e Merge pull request #3898 from overleaf/as-fix-angular-service-arrow-function
Refactor Angular service method away from an arrow function

GitOrigin-RevId: a83d90d0d44a28d1b898aef0490084def3089f47
2021-04-15 02:04:57 +00:00
CloudBuild
7288fef34f auto update translation
GitOrigin-RevId: c2dc2a25825c73a1b272ec2b05d0e56967f62baa
2021-04-15 02:04:53 +00:00
Jakob Ackermann
507548d661 [migrations] fix index creation (#871) 2021-04-14 12:54:46 +02:00
Shane Kilkelly
8006e122d5 Merge pull request #170 from overleaf/sk-logger-update-2
upgrade logger to 2.2.0
2021-04-14 09:58:14 +01:00
CloudBuild
3a8c4702ac auto update translation
GitOrigin-RevId: 25782b7b303fc98962d9807db87a133d6cb944a2
2021-04-14 02:04:56 +00:00
Jakob Ackermann
3f7f2d5ced [migrations] open source newly added indexes (#870) 2021-04-13 21:50:32 +02:00
Jakob Ackermann
31a930da40 Merge pull request #163 from das7pad/jpa-cut-redis-load-mget
[perf] cut redis load using mget/mset only
2021-04-13 14:37:07 +02:00
Jakob Ackermann
3ac7cdf433 Merge pull request #99 from overleaf/jpa-drop-delete-doc-endpoint
[misc] drop the deleteDoc endpoint -- use patchDoc instead
2021-04-13 14:16:26 +02:00
Jakob Ackermann
34fc349646 [benchmarks] add benchmark for multi vs mget/mset 2021-04-13 11:47:10 +01:00
Jakob Ackermann
6e551f9b34 [perf] use MGET/MSET/DEL for manipulating multiple keys in one operation
In some cases we can get rid of MULTI/EXEC operations too.
- putDocInMemory: from 10 down to 2 operations
- removeDocFromMemory: from 14+4 down to 4+4 operations
- updateDoc: from 13 down to 8 operations
2021-04-13 11:47:10 +01:00