Commit graph

61 commits

Author SHA1 Message Date
Eric Mc Sween
65f20a4d56 Merge pull request #18186 from overleaf/em-migration-dependencies
Add a migration helper checking dependent migrations

GitOrigin-RevId: 96aa6238b20115206554faaa4c2aefc537bbe7e8
2024-05-03 08:04:36 +00:00
Eric Mc Sween
65313e6692 Merge pull request #18044 from overleaf/em-fix-migration-order
Fix doc versions migration order

GitOrigin-RevId: bad0297cafcc29c0890dbc0d6f5dcc159ded838b
2024-04-26 08:04:18 +00:00
ilkin-overleaf
b04247dd5a Merge pull request #17023 from overleaf/ii-token-access-null-values
[web] Fix projects token access values

GitOrigin-RevId: f0c6a4993e42320c06753cb65198138afe55b71a
2024-02-26 09:03:13 +00:00
Eric Mc Sween
d0a9f8c2cb Merge pull request #15748 from overleaf/em-drop-docops-collection
Drop the docOps collection

GitOrigin-RevId: 8ffa0570ae58b6a00412d8953d3ea0fbb1869b69
2024-02-01 09:03:46 +00:00
Jakob Ackermann
a68b0b2793 Merge pull request #16527 from overleaf/jpa-wf-hint-oauth
[web] add endpoint for checking on prior usage of Writefull oauth

GitOrigin-RevId: a8ecc06b7f045237773cdb5c073c2f7d7abd04f9
2024-01-17 09:03:06 +00:00
Eric Mc Sween
a9d87232ca Merge pull request #16446 from overleaf/em-docops-migration-min-id
Support min id in docOps migration

GitOrigin-RevId: d08887aca1e8b744515d42e0b6f2286d45c4d93e
2024-01-11 09:04:56 +00:00
Jakob Ackermann
f97e64ab52 Merge pull request #16433 from overleaf/jpa-migrate-audit-log-dev-env
[web] run audit log migration in SaaS/dev-env

GitOrigin-RevId: 9e0c5917102cef018ae6078a826a145a2181163f
2024-01-11 09:04:35 +00:00
Eric Mc Sween
20bd57e9bd Merge pull request #16314 from overleaf/em-migrate-docops-versions
Migrate doc versions from docOps to docs

GitOrigin-RevId: 34b0130e9f0849b8e16f1febc38c78b55d51a4c1
2024-01-09 09:04:15 +00:00
Jakob Ackermann
9dd047fb04 Merge pull request #15930 from overleaf/jpa-fix-east-hang
[web] migrations: connect to mongo lazily

GitOrigin-RevId: 565fc6c851bf5493d548330eb2024d418a977779
2023-11-27 09:04:05 +00:00
Jakob Ackermann
e120f61a9a Merge pull request #15921 from overleaf/jpa-migrations-via-rake
[web] update README for migrations to point at rake tasks

GitOrigin-RevId: 35f5931292fd389928fbf070d71f6b18387fe496
2023-11-24 09:05:00 +00:00
Tim Down
2807a35e24 Merge pull request #15728 from overleaf/td-lg-expire-password-tokens
Expire user password reset tokens when user changes their password

GitOrigin-RevId: 2d303eba947c224e71ebe60083abc7a8ff5207a5
2023-11-22 09:04:30 +00:00
Eric Mc Sween
7029a0822b Merge pull request #15870 from overleaf/em-revert-docops-migration
Revert docOps migration to the docs collection

GitOrigin-RevId: cdb46321c5aa349bead0990dcd270e703e3debc7
2023-11-22 09:04:17 +00:00
Eric Mc Sween
9e090992f1 Merge pull request #15711 from overleaf/em-migrate-docops-versions
Migrate doc versions from docOps to docs

GitOrigin-RevId: f1d7f68e0e5e869c431c4479766b81c9df355be5
2023-11-22 09:04:12 +00:00
Eric Mc Sween
348bdf7907 Merge pull request #15562 from overleaf/em-drop-unused-indexes
Drop unused indexes

GitOrigin-RevId: 7658a8545f6068347276f3cdf1e742ee34a491d9
2023-11-07 09:05:04 +00:00
Eric Mc Sween
960701d143 Merge pull request #15541 from overleaf/em-drop-redundant-indexes
Drop redundant indexes

GitOrigin-RevId: e85729b2a7320a2fa77f1ff2fa054b5438139b7d
2023-11-03 09:00:19 +00:00
Eric Mc Sween
f09f72d2da Merge pull request #15555 from overleaf/em-partial-last-opened-index
Make lastOpened index on projects partial

GitOrigin-RevId: a8c5b71450e99a578e18a95dc84eba863e4b79a1
2023-11-03 09:00:16 +00:00
Davinder Singh
451a6e958f adding DB migration for managedUserEnabled flag (#15516)
GitOrigin-RevId: 82727328d6eb25bb5fe394053beb9d943cd253e9
2023-11-01 09:02:57 +00:00
Alexandre Bourdin
c71301ac9a Merge pull request #15223 from overleaf/ab-sso-multiple-certificates-ui
[web] Support multiple certificates in group SSO settings

GitOrigin-RevId: 5f014eb82b7e0820040941fdd2bded8d33958316
2023-10-30 09:04:38 +00:00
Eric Mc Sween
781a827e05 Merge pull request #15270 from overleaf/em-drop-history-display-index
Drop oveleaf.history.display index from projects collection

GitOrigin-RevId: 8fa393322f76f0a297182b32d5f296dd82f01f62
2023-10-18 08:04:23 +00:00
Alexandre Bourdin
7268e0f0aa Merge pull request #15084 from overleaf/ab-managers-users-ga
[web] Managed users general availability prep

GitOrigin-RevId: 9ab286a67c15f67e5d7617db506547b6ead8a9cb
2023-10-09 08:04:11 +00:00
Jakob Ackermann
c5bb18045e Merge pull request #14383 from overleaf/jpa-server-pro-feature-refresh-migration
[web] add migration for Server Pro/CE to refresh features once

GitOrigin-RevId: 799e6aef2ad9ad6806ec369911d56f7a40945098
2023-08-18 08:05:53 +00:00
Jimmy Domagala-Tang
6ee5f6a0a0 Merge pull request #13497 from overleaf/jdt-extract-user-feature-set
Extract user feature set to analytics

GitOrigin-RevId: 41d25c9f32a01ffb27cf66217418d6014b20e841
2023-07-17 10:43:45 +00:00
Miguel Serrano
234eb31ffb Merge pull request #13082 from overleaf/msm-migration-check-history
[web/migrations] Check Full History Migration in CE/SP

GitOrigin-RevId: 567e7146511710ef4d79c201f5c31863d5be664e
2023-05-17 08:05:59 +00:00
Eric Mc Sween
d5242379f2 Merge pull request #12912 from overleaf/em-server-pro-oauth-indexes
Add missing OAuth indexes in ServerPro

GitOrigin-RevId: 6cd37c1d884d30d5ec040f7d60961c8854e51273
2023-05-04 08:05:48 +00:00
Eric Mc Sween
66d29940c3 Merge pull request #12861 from overleaf/em-ds-delete-chunk-migration
Better indexes for history chunks deletion

GitOrigin-RevId: 1404f5a0535bc94cb1e9d7fc2ea66fd90f584fea
2023-05-02 19:45:57 +00:00
Miguel Serrano
d2172e5179 [web] Issue Oauth2 access tokens (#12788)
* [web] Issue Oauth2 access tokens

* [web] Add partial index for `oauthAccessTokens.user_id` for Personal Access Tokens

* [web] script to create personal access tokens

GitOrigin-RevId: 796e8d23a6799a87ac6096c686139c6290668b83
2023-04-28 08:04:10 +00:00
Jakob Ackermann
9362d286b7 Merge pull request #12560 from overleaf/jpa-faster-migration
[web] migrations: cut delay in auditLog migration from 10s to 10ms

GitOrigin-RevId: 2a6525212149c5e0f1ebfec4023f4e0fe91ecc5f
2023-04-12 08:04:05 +00:00
Eric Mc Sween
fb1f61434a Merge pull request #12545 from overleaf/em-oauth-tokens-ttl
Delete expired OAuth tokens and authorization codes

GitOrigin-RevId: 2743ed12a11101a383c46de93deabc5cdeeddc5b
2023-04-11 08:04:23 +00:00
Eric Mc Sween
1f9cfd877a Merge pull request #12536 from overleaf/em-oauth-refresh-tokens-index
Allow OAuth access tokens without refresh tokens

GitOrigin-RevId: 5f95985b3a2e9b1c9a391b73476ce6b55875af87
2023-04-11 08:04:06 +00:00
Jakob Ackermann
fa5804a3cf Merge pull request #12254 from overleaf/jpa-back-fill-doc-rev
[web] add script for back filling rev=1 for old (deleted) docs

GitOrigin-RevId: 62f5b773fb83ddbf9bb202a592ce2e8f33b5e6b2
2023-03-17 09:03:58 +00:00
Thomas
41b5bb5bae Merge pull request #11711 from overleaf/tm-invite-emails-lowercase-readd-migration
Re-add migration that ensures group invite emails are lowercase

GitOrigin-RevId: 60edac2c6f565930da7d3f205978be0a78f5e80f
2023-02-28 09:04:38 +00:00
Eric Mc Sween
e41d3cf5db Merge pull request #11890 from overleaf/em-fix-deleted-chunks-indexes
Add a partial index for pending chunks

GitOrigin-RevId: ec0705d1de7ffacb2cb88a8e5e1ff9f05c5acf88
2023-02-23 09:05:50 +00:00
Jakob Ackermann
dd906df7b7 Merge pull request #11360 from overleaf/jpa-encrypt-2fa-secret
[web] two-factor-authentication: encrypt the secret in the db

GitOrigin-RevId: 86642e13d917b239012229f685ad0210039a6706
2023-02-17 09:03:44 +00:00
Thomas
aa9b07d323 Merge pull request #11445 from overleaf/revert-11432-revert-11154-tm-lg-subscription-recurly-cache-name
Re-instate change property name for recurly status cache to recurlyStatus

GitOrigin-RevId: 3b3415d818629676ee44dbc558a6b87469fd1af0
2023-01-27 09:03:58 +00:00
Thomas
f6ffae02a9 Merge pull request #11432 from overleaf/revert-11154-tm-lg-subscription-recurly-cache-name
Revert "Change property name for recurly status cache to recurlyStatus"

GitOrigin-RevId: 6870e421516fd705343f3e8651d8637f791063df
2023-01-25 09:06:03 +00:00
Thomas
0b6c69dc55 Change property name for recurly status cache to recurlyStatus (#11154)
* Change property name for recurly status cache to recurlyStatus

Co-authored-by: Lucie Germain <lucie.germain@overleaf.com>
GitOrigin-RevId: a1ff69d531519cd15b82ef72974e9702f43409ac
2023-01-25 09:05:48 +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
Jakob Ackermann
d4551dc7ce Merge pull request #10442 from overleaf/jpa-convert-archived-trashed
[web] add migration for convert_archived_state script

GitOrigin-RevId: aeea3601a0c5f96e978c3f2a85458687d6d6678e
2022-11-15 09:07:09 +00:00
Miguel Serrano
877638f09c [web/scripts] Process users' projects with promiseMapWithLimit() (#9807)
* [web/scripts] Process users' projects with `promiseMapWithLimit()`
* [web/scripts] Added several optimisations to migration script

GitOrigin-RevId: 0dd221a3a8b4bb64f412636faa17e81249ca6c4f
2022-10-05 08:04:02 +00:00
Miguel Serrano
9a3b5f1c76 Merge pull request #9800 from overleaf/msm-audit-indices
[web/scripts] Add missing indices to audit log collections

GitOrigin-RevId: 4c03d7402976ec6bc7718c94bfa32d2a2f529be8
2022-09-30 08:05:02 +00:00
Miguel Serrano
74f44e655a Merge pull request #9617 from overleaf/msm-audit-log-collections
Move project/user audit logs to their own collections

GitOrigin-RevId: f6f89b3e2815c0fe5691a79eceb35b77b3c370d8
2022-09-30 08:04:17 +00:00
June Kelly
73e8fd115b Merge pull request #9466 from overleaf/jk-add-labs-program-for-galileo
[web] Add a new "Overleaf Labs" program, for Galileo

GitOrigin-RevId: 8f6c79c37c1719a59bd8405998cc3de2fd29960d
2022-09-22 08:03:59 +00:00
Eric Mc Sween
03d8ad5eea Merge pull request #9455 from overleaf/em-recreate-dropbox-entities
Recreate the dropboxEntities collection with new indexes

GitOrigin-RevId: 46e503864cd8b1671072efb05f43b1d4582f35b6
2022-09-02 08:05:09 +00:00
Miguel Serrano
01a1546639 [migration] disable betaProgram in CE/SP (#9418)
GitOrigin-RevId: aee509973d1ffaaab8dcac31667154f36c815a2c
2022-09-01 08:03:41 +00:00
Jakob Ackermann
55c1f852d6 Merge pull request #9447 from overleaf/jpa-dropbox-refresh-project-folder-names
[third-party-datastore] keep dropbox folder names up-to-date

GitOrigin-RevId: d82a6cb7b10ee2c81c5769d02896f65a347bbf67
2022-08-31 08:03:40 +00:00
Jakob Ackermann
7225f3ea75 Merge pull request #9291 from overleaf/jpa-dropbox-project-id
[third-party-datastore] tracking of dropboxId for project folder

GitOrigin-RevId: fd47441c81ba1a845dac6d34557ceed2dcbdd7fe
2022-08-18 08:03:38 +00:00
Jakob Ackermann
e293c627a1 Merge pull request #9212 from overleaf/jpa-record-dropbox-file-id
[third-party-datastore] start recording dropbox id for docs/files

GitOrigin-RevId: 699fe63994848b65aa4d9cbc7966b867de56eabf
2022-08-12 08:06:04 +00:00
Jakob Ackermann
a4fa86deed Merge pull request #8542 from overleaf/jlm-drop-index-if-exists
Do not fail to drop non-existent indexes

GitOrigin-RevId: 226eba50a395f62751028e22030a53a0487f5343
2022-07-01 08:04:12 +00:00
Jakob Ackermann
f0bd6dda23 Merge pull request #7986 from overleaf/jpa-eslint-8
[misc] upgrade eslint packages to the latest version everywhere

GitOrigin-RevId: f1480d4a171acef82fb26c4aa54be3a6088b0ab3
2022-05-17 08:05:59 +00:00
Eric Mc Sween
5ded04eaea Merge pull request #6785 from overleaf/em-split-tests-analytics-enabled
Add "analytics enabled" setting to split tests

GitOrigin-RevId: 9ddfda9e246cac7a13361b2d3df6884212583000
2022-03-01 09:04:15 +00:00