Commit graph

39 commits

Author SHA1 Message Date
Shane Kilkelly
f5bccb2e93 Add migration for token prefix 2019-09-20 13:20:44 +01:00
Miguel Serrano
76a6ff8ff1
Fixed misspelling in migration script (#641) 2019-09-18 14:11:34 +02:00
Miguel Serrano
2576675662
Added migration script for User.emails (#639) 2019-09-13 13:57:37 +02:00
Shane Kilkelly
808da2a580
Merge pull request #570 from sharelatex/sk-unlisted-projects
add migration for token-based access indexes
2018-08-02 10:11:13 +01:00
Shane Kilkelly
6825f5d279 Fix whitespace 2018-08-02 10:10:19 +01:00
Henry Oswald
aa3d45eb5a added npm shrinkwrap to fix mongodb native version change 2018-01-31 11:19:05 +00:00
Henry Oswald
7b5b60ce39 added track changes migration in again, we didn't add the setting
as a default before so needs 2nd migration
2018-01-26 09:46:35 +00:00
Shane Kilkelly
2e82ac99bd Add token-access-refs indexes 2017-11-08 11:55:08 +00:00
Shane Kilkelly
c3d7f36b17 add migration for token-based access indexes 2017-11-08 09:59:08 +00:00
Shane Kilkelly
86b5d97491 Remove un-used package import 2017-09-08 09:06:48 +01:00
Shane Kilkelly
dad32e7adf update bson api in migration 3 2017-09-07 15:27:28 +01:00
Shane Kilkelly
3e38e99aa6 Fix the doc lines migration.
- The bson module changed at some point, update to new api
2017-09-06 09:56:44 +01:00
James Allen
7ef02127a1 Update migration script for holding accounts to migrate group invites 2017-06-14 17:03:05 +01:00
Shane Kilkelly
65d21f712e Add migration to enable trackChanges for all users 2017-05-17 14:23:55 +01:00
James Allen
a8557bb139 Don't find holding accounts with a hashed password 2017-03-24 13:46:31 +00:00
James Allen
21b15c8c73 More loggin 2017-03-23 11:56:46 +00:00
James Allen
ebb9a6c752 Improve logging 2017-03-23 11:50:46 +00:00
James Allen
e1af76f652 Address Henry's comments about robustness 2017-03-23 11:34:45 +00:00
James Allen
73443f5a65 Add in dry run option for holding account migration and log out removed users 2017-01-30 15:40:31 +01:00
James Allen
05540ca8a7 Add migration to remove holding accounts 2017-01-30 14:36:06 +01:00
Shane Kilkelly
54afc10461 Add a dummy rollback, clean up. 2016-12-02 14:12:52 +00:00
Shane Kilkelly
42d48b7187 Add an update_user_features migration. 2016-12-02 14:01:19 +00:00
Henry Oswald
d95443b432 upgrade east and check for null ids 2016-06-30 14:52:45 +01:00
Brian Gough
77037ee988 improve performance for migrating large dochistory collections 2016-02-10 15:09:42 +00:00
Brian Gough
1c24a889fb improve logging and interrupt handling 2016-02-10 15:09:42 +00:00
Brian Gough
8cc8148932 include commands to update indexes in docHistory migration - not called 2016-02-01 16:51:43 +00:00
Brian Gough
8a0d5f8b95 migration script for dochistory packing 2016-01-29 16:55:26 +00:00
Henry Oswald
afb7fd6d16 remove extra logging in migration and change file paths in migration 2 2015-09-16 16:29:26 +01:00
Henry Oswald
6aa2446eea remove process.exit from migrations 2015-09-16 16:26:51 +01:00
Henry Oswald
0980b2e6dc change timeout in migrations-1 to 0ms 2015-09-16 15:58:38 +01:00
Henry Oswald
1e073da1fd bring down migration timeout in delete doc lines to 0ms 2015-09-16 14:44:53 +01:00
Henry Oswald
feafbb5416 renamed first migration to move_doc_lines_to_doc_collection 2015-09-16 14:22:54 +01:00
Henry Oswald
ce10ceb2d9 improved migration script to delete docs 2015-04-16 13:45:16 +01:00
Henry Oswald
5dd40dc7cb added migration 2 to clean up projects, removing the doc lines 2015-04-14 15:21:07 +01:00
Henry Oswald
685abf8cbe finished migration script 2015-02-20 15:40:19 +00:00
Henry Oswald
bfe4dd018b added migrations with east package 2015-02-20 15:40:18 +00:00
Henry Oswald
2bd88e5319 added some null checks and more persistance 2015-01-29 12:20:49 +00:00
Henry Oswald
59307aa949 moved to a file appending with grep data store 2015-01-29 11:37:52 +00:00
Henry Oswald
7e5c36021b mvp migration script 2015-01-28 17:50:43 +00:00