Commit graph

76 commits

Author SHA1 Message Date
Miguel Serrano
c4edd2fffa Merge pull request #21154 from overleaf/msm-esm-ce-scrits
[web] Migrate `modules/server-ce-scripts` to ESM

GitOrigin-RevId: 8856f83b12d5d092e51e5765763737259c4b3985
2024-10-22 08:05:58 +00:00
Liangjun Song
26f3f3e2e2 Merge pull request #21097 from overleaf/ls-scripts-to-esm-1
Migrate scripts folder to esm 1/x

GitOrigin-RevId: 4a4bc9a161f144fdb40ce3f2a0a9313b36c6df81
2024-10-21 08:04:42 +00:00
Liangjun Song
7258ddcf02 Merge pull request #20770 from overleaf/ls-drop-unused-collections
drop unused collections

GitOrigin-RevId: 4b079f15dca349ef6a5aed8d9dcb35478819c2ce
2024-10-14 11:03:59 +00:00
Liangjun Song
9e15c73228 Merge pull request #20732 from overleaf/revert-20731-revert-20480-ls-convert-migration-scripts-to-esm
Revert "Revert "Convert migration scripts to ESM""

GitOrigin-RevId: 0430a3cd02b9d23bf0f4573346351dcf4ee17fa6
2024-10-14 10:58:50 +00:00
Miguel Serrano
3ff142d478 [web] Expose metric for active users in SP (#20130)
* [web] Expose metric for active users in SP

* Removed redundant UserHandler.setupLoginData()

In the past this method was also calling
a now deleted notifyDomainLicence(), but now
this is just an alias for populateTeamInvites()

* Added migration for `lastActive`

* Added secondary read precedence to count active users

GitOrigin-RevId: 86d6db31e1ae74ae40c6599e6acb731d8c4a04bd
2024-10-14 10:57:28 +00:00
Liangjun Song
b69ff9417a Merge pull request #20731 from overleaf/revert-20480-ls-convert-migration-scripts-to-esm
Revert "Convert migration scripts to ESM"

GitOrigin-RevId: ca9ddda6ddee8964f72797d3b653ef9cee6a7a49
2024-10-14 10:57:02 +00:00
Liangjun Song
492fe24a75 Merge pull request #20480 from overleaf/ls-convert-migration-scripts-to-esm
Convert migration scripts to ESM

GitOrigin-RevId: 46f04a1837ebb8244b1156af2d58162d024b6b2d
2024-10-14 10:56:57 +00:00
Miguel Serrano
0346ba2698 [web] CE script to verify TexLive versions on startup (#19653)
* [web] CE script to verify TexLive versions on startup

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: b99001d38468a775991a7284611aa333e956b919
2024-08-22 14:01:07 +00:00
Miguel Serrano
1175b3b080 Merge pull request #19922 from overleaf/msm-fix-reversedHostname-launchpad
[web] Add missing `reversedHostname` for admins in CE/SP

GitOrigin-RevId: 2ce273e963a7471c514289cc042890bd1a14d4d2
2024-08-22 08:04:49 +00:00
andrew rumble
032deaf05c Switch to mongodb-legacy
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
2024-08-21 08:04:24 +00:00
ilkin-overleaf
f9245b8c08 Merge pull request #19071 from overleaf/ii-invite-token-remove-token-field
[web] Remove the token field from `projectInvites` collection

GitOrigin-RevId: fe8395e1d1a0ba2daad600b7e3be657f40151a8e
2024-07-04 08:05:00 +00:00
Jimmy Domagala-Tang
b0344ec550 Merge pull request #19132 from overleaf/jdt-ai-policy-migration
feat: add migration for adding new policy to all existing groupPolicies
GitOrigin-RevId: ea3188b6059c2e96afd0058a191d18b26d68adbd
2024-06-26 08:04:48 +00:00
Miguel Serrano
1697087425 Merge pull request #18970 from overleaf/msm-clean-features-templates
[web] Cleanup `features.templates`

GitOrigin-RevId: 7c9f7bc827700e4255a5ba8a46de70318afdaae4
2024-06-24 12:05:43 +00:00
ilkin-overleaf
b34be6bea4 Merge pull request #18653 from overleaf/ii-invite-token-create-hmac
[web] Add HMAC tokens for project invitations

GitOrigin-RevId: 02fa01e24790c9a87f57ff9346f5346658d4dd46
2024-06-17 08:04:17 +00:00
Jakob Ackermann
fb2e3b3a25 Merge pull request #18770 from overleaf/jpa-fph-migration-docs
[web] add documentation for full project history migration check

GitOrigin-RevId: 4a7e5a734d7fd4a2ca0a4315f57929809937e842
2024-06-11 08:04:13 +00:00
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