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
Jakob Ackermann
178440395f
[perf] switch write sequence for doc contents and doc tracking
...
Doc contents are added only after the tracking has been setup.
All read paths on the tracking have been checked to gracefully handle
the case of existing doc_id but missing doc contents.
- getDoc: -1 operation
REF: 0a2b47c660c60b95e360d8f3b3e30b862ceb6d79
2021-04-13 11:46:44 +01:00
Shane Kilkelly
83bbdfa9d1
upgrade logger to 2.2.0
2021-04-13 10:58:05 +01:00
Paulo Jorge Reis
98e631a9c7
New logs UI out of beta + fixes ( #3868 )
...
* Update new logs pane: remove beta icons, add specific surveys
* Remove unneeded reset of log entries
* Remove unneeded reset of the autocompile linting error flag
* Lower compile event sampling rate ahead of prod release
* Never send logs UI subvariant when user is getting the existing UI
GitOrigin-RevId: ab726761ba372c6806e56fc0cf841099cc30df50
2021-04-13 02:05:54 +00:00
Jakob Ackermann
5bcd142b6f
[MongoManager] drop name filter from getProjectsDeletedDocs
...
All the doc names we had in the projects collection are back-filled now.
A few docs will get dummy values back-filled.
2021-04-12 17:31:26 +01:00
Jakob Ackermann
e80d013268
[misc] drop the deleteDoc endpoint -- use patchDoc instead
2021-04-12 17:31:18 +01:00
Jakob Ackermann
0f6bd41456
Merge pull request #169 from overleaf/jpa-cut-redis-load-mget-only
...
[perf] use MGET for fetching multiple keys in one operation
2021-04-12 12:01:59 +02:00
Shane Kilkelly
04fa863f9f
Merge pull request #3892 from overleaf/sk-reroll-csrf
...
Regenerate CSRF token on login
GitOrigin-RevId: 501582b34794a822f4c9fe3af2575b5756511e06
2021-04-10 02:05:13 +00:00
Shane Kilkelly
16d02c9d8b
Merge pull request #3882 from overleaf/ab-wfh-ga-events
...
Add new GA events to WFH2021 links
GitOrigin-RevId: 939f589c359a97b794eceb8e493cccd95ec1913a
2021-04-10 02:05:09 +00:00
Shane Kilkelly
f013f33c05
Merge pull request #3884 from overleaf/jpa-meta-editor-take-2
...
[misc] migrate the editor templates to meta tags -- take 2
GitOrigin-RevId: 447d4c6c2197dd2c5f5e182a5edf57313557b8b9
2021-04-10 02:05:05 +00:00
Jakob Ackermann
50b24043b7
[perf] use MGET for fetching multiple keys in one operation
...
- getDoc: from 13 down to 2 operations
2021-04-09 08:42:35 +01:00
Jessica Lawshe
2fca78eaf0
Merge pull request #3896 from overleaf/revert-3834-tm-meta-tags-billing
...
Revert "[views] migrate subscription templates to meta tags"
GitOrigin-RevId: 8ab3dae6e3aa359b6d7aa69df70a1b1eb2405dfd
2021-04-09 02:05:33 +00:00
Jessica Lawshe
e697064f16
Merge pull request #3834 from overleaf/tm-meta-tags-billing
...
[views] migrate subscription templates to meta tags
GitOrigin-RevId: 4e81e81380048436a011467c230cc54c02e0c423
2021-04-09 02:05:29 +00:00
Jessica Lawshe
5220198991
Merge pull request #3879 from overleaf/jel-ja-wiki-mathjax
...
Fix learn wiki XSS
GitOrigin-RevId: 3964b2eaf56ef57ec34e4cdd3e683dd36f9eae6e
2021-04-09 02:05:26 +00:00
Jessica Lawshe
2cb709161e
Merge pull request #3875 from overleaf/jel-portal-btn
...
Update button text on portal
GitOrigin-RevId: 411c18ee84791126eae23b015441e881b967227b
2021-04-09 02:05:21 +00:00
Jessica Lawshe
66105d6937
Merge pull request #3782 from overleaf/revert-3773-revert-3718-jel-emailHasLicence
...
Revert "Revert "Update emailHasLicence for reconfirmation and SAML""
GitOrigin-RevId: 120ee0ca2f59573578e6279477c6e62972b5fb4a
2021-04-09 02:05:17 +00:00
Miguel Serrano
42a1211ba7
Merge pull request #3888 from overleaf/jpa-hotfix-soft-failure-for-missing-deleted-docs
...
[EditorHttpController] joinProject: ignore err when fetching deletedDocs
GitOrigin-RevId: e2e2e5172de04cebb4a951739ac4222645fdd289
2021-04-08 02:05:07 +00:00
Brian Gough
11b4d91d9e
Merge pull request #3883 from overleaf/bg-expire-tokens
...
expire tokens from mongo
GitOrigin-RevId: 5666fd40d04e122f2bc2a22bff24c0723e1e9a73
2021-04-08 02:05:04 +00:00
Miguel Serrano
9748c44219
Updated base image to Node 12 ( #865 )
2021-04-07 15:20:51 +02:00
Shane Kilkelly
41c2f08288
Add the new outputDir
setting for CLSI ( #862 )
...
Co-authored-by: Shane Kilkelly <shane.kilkelly@overleaf.com>
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
2021-04-07 15:20:19 +02:00
Shane Kilkelly
cff06473ce
Expose new smtp vars: 'name', and 'logger' ( #854 )
...
Co-authored-by: Shane Kilkelly <shane.kilkelly@overleaf.com>
2021-04-07 15:19:17 +02:00
Shane Kilkelly
f849b94005
Variables in Nginx configuration ( #853 )
...
* Add envsubst binary to image
* Generate nginx.conf from template, with env-vars
* Remove nginx.conf, now generated from template
* Reload nginx config after writing file
Co-authored-by: Shane Kilkelly <shane.kilkelly@overleaf.com>
2021-04-07 15:19:06 +02:00
Jakob Ackermann
189897cb30
Merge pull request #145 from overleaf/dependabot-npm_and_yarn-y18n-4.0.1
...
Bump y18n from 4.0.0 to 4.0.1
2021-04-07 14:11:01 +02:00
Jakob Ackermann
9c303dd84d
Merge pull request #140 from overleaf/dependabot-npm_and_yarn-ini-1.3.8
...
Bump ini from 1.3.5 to 1.3.8
2021-04-07 14:10:50 +02:00
Jakob Ackermann
acc57059a2
Merge pull request #144 from overleaf/jpa-metrics-module-3-5-1
...
[misc] bump the version of the metrics module to 3.5.1
2021-04-07 14:10:29 +02:00
Hugh O'Brien
0aba0300d1
GitHub sync modal react port ( #3711 )
...
* GH-sync React - initial left menu github sync react skeleton
* GH-sync modal main switching logic setup and free trial mode
* GH-sync react - message for link sharing users
* GH-sync react: link gh account from modal
* GH-sync React: add export to github form modal
* GH-sync react: display commits and merge buttons
* GH-sync react: merge logic
* GH-sync React: merge endpoint error handling
* GH-sync React: update error handling to new fetch behaviour
* GH-sync React: handle ignoring external updates
* GH-sync React: main switcher modal tests
* GH-sync React: tests for export and merge
* GH-sync react: error handling and error boundary
* GH-sync React: put behind alpha flag
* GH-sync React: re-adding translations lost in rebase and cleanup
* GH-sync React: use renderWithEditorContext for tests and replace missing translations
* GH-sync React review code cleanup
GH-sync React fix state ordering causing errors
GitOrigin-RevId: 37261966683112b399ef180ec6bc4036bc689fd9
2021-04-07 02:05:06 +00:00
Jakob Ackermann
ec7cd9fc3e
Merge pull request #3656 from overleaf/jpa-script-back-fill-doc-name
...
[scripts] add new script for back filling the names of deleted docs
GitOrigin-RevId: c3a7ad8ba1306728bc1a433bec5dc847651bf94d
2021-04-07 02:05:03 +00:00
Jakob Ackermann
76b1cdff51
Merge pull request #3754 from overleaf/jpa-project-restore-handle-deleted-docs
...
[ProjectDeleter] restore project.deletedDocs meta data into docstore
GitOrigin-RevId: 570543d2cb9c5c790ac49328382ed88ef6ac3129
2021-04-07 02:05:00 +00:00
Jakob Ackermann
9692392bf8
Merge pull request #3655 from overleaf/jpa-change-write-path-doc-deletion
...
[ProjectEntityUpdateHandler] change write path for doc deletion
GitOrigin-RevId: 7d7ece8fe25c1d59b3469c136d92c4c81e9f0f81
2021-04-07 02:04:57 +00:00
Jakob Ackermann
75dabdd299
Merge pull request #3881 from overleaf/jpa-fix-unit-test
...
[misc] fix a unit test
GitOrigin-RevId: 22bd33a8c7c4311d8f22881a42e387190aa7c6e7
2021-04-07 02:04:55 +00:00
Jakob Ackermann
3bdf7afbbf
Merge pull request #3653 from overleaf/jpa-merge-deleted-docs-sources
...
[EditorHttpController] fetch deletedDocs from docstore, merge w/ project
GitOrigin-RevId: 5cf46aa7ded034285051ddae21b5c80d8c806693
2021-04-07 02:04:52 +00:00
Jakob Ackermann
92194202d7
Merge pull request #3652 from overleaf/jpa-tell-docstore-doc-name-on-delete
...
[DocStoreManager] pass doc name as part of DELETE request
GitOrigin-RevId: cdb5fb21580a95aa8a78e0a44ca1e4db4da7f934
2021-04-07 02:04:49 +00:00
Simon Detheridge
dbfab633e0
Merge pull request #168 from overleaf/revert-166-sk-update-logger
...
Revert "Update logger-sharelatex to 2.2.0"
2021-04-06 15:30:02 +01:00
Simon Detheridge
8ba799035b
Revert "Update logger-sharelatex to 2.2.0"
2021-04-06 15:29:09 +01:00
Shane Kilkelly
927d401111
Merge branch 'jpa-silent-download'
2021-04-06 13:34:50 +01:00
Simon Detheridge
50e414a4b1
Merge pull request #166 from overleaf/sk-update-logger
...
Update logger-sharelatex to 2.2.0
2021-04-06 11:53:12 +01:00
Shane Kilkelly
1e4e4b5ec0
Update logger-sharelatex to 2.2.0
2021-04-06 11:47:22 +01:00
Simon Detheridge
66c47d7bad
Merge pull request #165 from overleaf/dependabot-npm_and_yarn-y18n-4.0.1
...
Bump y18n from 4.0.0 to 4.0.1
2021-04-06 11:45:02 +01:00
dependabot[bot]
acbbd88d8a
Bump y18n from 4.0.0 to 4.0.1
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 10:40:56 +00:00
Simon Detheridge
2d44a54c6c
Merge pull request #167 from overleaf/em-upgrade-node-12
...
Reintroduce Node 12 and metrics upgrades
2021-04-06 11:40:00 +01:00
CloudBuild
380dc41b17
auto update translation
...
GitOrigin-RevId: 1c3ebc789f557399d62f9dbd6d1ce716b835b398
2021-04-04 02:05:08 +00:00
CloudBuild
cba05342de
auto update translation
...
GitOrigin-RevId: e920dbbd9bd4411da9f890be91461cfac172dc81
2021-04-03 02:05:02 +00:00
dependabot[bot]
9203e26d99
Bump y18n from 4.0.0 to 4.0.1
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-02 04:45:14 +01:00
Thomas
eb46f9a738
Merge pull request #3880 from overleaf/revert-3826-jpa-meta-editor
...
Revert "[views] migrate the editor templates to meta tags"
GitOrigin-RevId: 02caaf24ae0ee6a74a38ef870909527da19d4882
2021-04-02 02:05:02 +00:00
Jakob Ackermann
23be656aec
Merge pull request #3746 from overleaf/jpa-hard-deletion-from-deleted-files
...
[ProjectDeleter] hard deletion of project deletes deletedFiles entries
GitOrigin-RevId: b514c34465d5fdc66b40aae5bcdb8b66975bc350
2021-04-02 02:04:58 +00:00
Shane Kilkelly
9c38d41652
Merge pull request #3872 from overleaf/jpa-batched-update-work-around-mongo-bug
...
[scripts] work around broken .setReadPreference() on mongo cursor
GitOrigin-RevId: 127c0593f4c20e45acb15ec26b45a45d9449d9ba
2021-04-02 02:04:56 +00:00
Shane Kilkelly
ae212feec4
Merge pull request #3701 from overleaf/jpa-script-back-fill-deleted-files-stage-2
...
[scripts] back_fill_deleted_files: optionally fix partial inserts
GitOrigin-RevId: 7d48d311db1af0b38222725ca86cdba8951b16b3
2021-04-02 02:04:52 +00:00
Shane Kilkelly
b9b4ca224c
Merge pull request #3862 from overleaf/tm-remove-comms-introducing-archiving
...
Remove comms which introduced per-user archiving and trashing
GitOrigin-RevId: e8bd7bd741fe25f4530f447cf020b499256745dc
2021-04-02 02:04:49 +00:00
Eric Mc Sween
4d70bd664f
Reintroduce Node 12 and metrics upgrades
...
These changes were previously merged, not deployed, and reverted. This
reverts the revert.
This reverts commit a6b8c6c658b33b6eee78b8b99e43308f32211ae2, reversing
changes made to 93c98921372eed4244d22fce800716cb27eca299.
2021-04-01 15:51:00 -04:00