Commit graph

51 commits

Author SHA1 Message Date
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
Jakob Ackermann
a6625e872f Merge pull request #6297 from overleaf/jpa-fix-index
[web] migrations: fix_saml_indexes: add missing unique flag

GitOrigin-RevId: 6a9d7ac58edcca27ec2b4bb7ab6e78d75053bbaf
2022-01-11 09:03:37 +00:00
Jakob Ackermann
eef5cd00e3 Merge pull request #6247 from overleaf/jpa-cleanup-mongo
[migrations] delete unused collections and properly apply saml indexes

GitOrigin-RevId: eafcde98cbb603c275986a5bca708b9f8221877f
2022-01-11 09:03:34 +00:00
Alf Eaton
50df230846 [web] Upgrade Prettier to match version in monorepo root (#6231)
GitOrigin-RevId: 02f97af1b9704782eee77a0b7dfc477ada23e34d
2022-01-11 09:03:23 +00:00
Timothée Alby
735f79ab6a Merge pull request #5364 from overleaf/ta-split-test-assignment-date-backfill
Fix SplitTests assignedAt Type

GitOrigin-RevId: 1711f8672fb8e1525780f869b847117a66ca86ed
2021-10-22 08:04:49 +00:00
Alexandre Bourdin
07e5d1ba90 Merge pull request #5229 from overleaf/ab-splittest-name-index
Add migration to create unique index on splittests name

GitOrigin-RevId: d7420ad714a09abedafb7462b51b3c403c9a026b
2021-10-01 08:03:19 +00:00
June Kelly
be72e6ab19 Merge pull request #4806 from overleaf/jk-un-tag-migration
Migrations: remove CE/SP tags from migration
GitOrigin-RevId: 7fd668f01a9406e9574f0599f4034cbe72b3e8e8
2021-08-20 08:03:31 +00:00
June Kelly
99fe2eca51 Merge pull request #4352 from overleaf/sk-add-ce-sp-migration-deleted-files
Add migrations for CE/SP, run scripts for deleted files and docs

GitOrigin-RevId: e425a8d929a4aefdc6f61cff636fb5a1b4c67dce
2021-08-04 11:13:55 +00:00
nate stemen
33bd9b6d43 Merge pull request #4350 from overleaf/ns-migration-tags
add saas tag to migration

GitOrigin-RevId: 46422b8cb50412e5d521dd6e960ee4c29945fb89
2021-08-04 02:05:43 +00:00
nate stemen
7e61fc4035 Merge pull request #4330 from overleaf/ns-update-confirmedAt_strings
migrate confirmedAt strings to date types

GitOrigin-RevId: 5e8bde9b52b6696ed89a34ce58f00f31a921a57a
2021-07-28 02:07:11 +00:00
Thomas
35ee137067 Create migration to add history display state index (#4335)
GitOrigin-RevId: 26a03c0192ae673110bfa65e0b293c586dc4958a
2021-07-28 02:06:20 +00:00