Commit graph

1220 commits

Author SHA1 Message Date
Eric
2b323f9bbc Simplify the ChunkedUploader so we use ActiveStorage 2020-05-27 12:32:31 -05:00
Eric
5ecf2b4c54 houdini_upgrade - remove trailing line break in nonprofit.rb template 2020-05-27 12:32:31 -05:00
Eric
cf00c08ed0 houdini_upgrade - correct the column headers for the copied and errors.csv 2020-05-27 12:32:31 -05:00
Eric
202a829134 houdini_upgrade:run move active_storage:install into a separate call so wonkiness doesn't happen 2020-05-27 12:32:31 -05:00
Eric
5c9930f677 houdini_upgrade:migrate_uploads now timestamps the copied and errors.csv 2020-05-27 12:32:31 -05:00
Eric
cb01fa3a78 houdini_upgrade:migrate_uploads now supports the shorter_test argument 2020-05-27 12:32:31 -05:00
Eric
fdb32cbbf3 houdini_upgrade:migrate_uploads always writes out a success and error file now 2020-05-27 12:32:31 -05:00
Eric
3a1c15f115 Remove the unused simulate argument for houdini_upgrade:migrate_uploads 2020-05-27 12:32:31 -05:00
Eric
69c2802a5d Make houdini_upgrade:run check for required tasks and add description 2020-05-27 12:32:31 -05:00
Eric
936ea739a7 houdini_upgrade:run add bundle to cleanup the carrierwave dependencies 2020-05-27 12:32:31 -05:00
Eric
cdf6235071 houdini_upgrade:run runs db:migrate in a separate shell 2020-05-27 12:32:31 -05:00
Eric
1e20a9adae Remove debug code from houdini_upgrade task 2020-05-27 12:32:31 -05:00
Eric
a08f25c475 houdini_upgrade strips out the model file changes 2020-05-27 12:32:31 -05:00
Eric
be85ea737e Correct the check for not overriding migrations 2020-05-27 12:32:31 -05:00
Eric
97083a38af Remove debug calls 2020-05-27 12:32:31 -05:00
Eric
7c9f097f1d Correct bugs in BackupUploaderColumns 2020-05-27 12:32:31 -05:00
Eric
ce831539f5 Add license to RemoveBillingPlanTiers 2020-05-27 12:32:31 -05:00
Eric
ef1445a5b9 Add houdini_upgrade to relevant filenames 2020-05-27 12:32:31 -05:00
Eric
23398ae552 Make sure copied migrations are named via utc timezone 2020-05-27 12:32:31 -05:00
Eric
5a10155755 put the migrate_upload into a separate rake process 2020-05-27 12:32:31 -05:00
Eric
0727b3972c Fix a rake task call in houdini_upgrade 2020-05-27 12:32:31 -05:00
Eric
98c78f6267 Put the rename uploader column into a change method 2020-05-27 12:32:31 -05:00
Eric
ed07c7ce3c Fix typo in houdini_upgrade uploaders to migrate 2020-05-27 12:32:31 -05:00
Eric
5681fba541 Make removal of billing_plans.tiers reversible 2020-05-27 12:32:31 -05:00
Eric
e86f9fefe8 Add support for passing the aws-region for the carrierwave migration 2020-05-27 12:32:31 -05:00
Eric
bcf5f264a2 Add a rake progress bar 2020-05-27 12:32:31 -05:00
Eric
4d29b67939 Use common set of tables and columns to migrate on upgrade for rename_uploader_column migration 2020-05-27 12:32:31 -05:00
Eric
e19e60322b Move the tables and columns to migrate into a single place 2020-05-27 12:32:31 -05:00
Eric
fd6888938f Add classes to simplify table migration and manipulation for upgrades 2020-05-27 12:32:31 -05:00
Eric
30c489a5a1 Remove initial test migration code 2020-05-27 12:32:31 -05:00
Eric
68ef9c723e houdini_upgrade:run now accepts the aws_bucket and aws_assethost options 2020-05-27 12:32:31 -05:00
Eric
d31ced53dd Fix typo in template where strings aren't properly wrapped 2020-05-27 12:32:31 -05:00
Eric
d75fb9b135 Move cw_to_activestorage generator to houdini_upgrade 2020-05-27 12:32:31 -05:00
Eric
d965c1a988 Add active_storage:install to houdini_upgrade:run 2020-05-27 12:32:31 -05:00
Eric
910a1c0178 Fix bug where migration filenames conflict 2020-05-27 12:32:31 -05:00
Eric
858d6cb2e4 Remove the migration for Activestorage tables 2020-05-27 12:32:31 -05:00
Eric
cdd28b3dac add creation of ActiveStorage tables 2020-05-27 12:32:31 -05:00
Eric
c92c172f2d Initial generator for beginning migration from carrierwave to activestorage 2020-05-27 12:32:31 -05:00
Eric
54dcc45e4a Remove carrierwave config from development environment 2020-05-27 12:32:31 -05:00
Eric
a5fdbf00c9 Remove CarrierWave from Gemfile 2020-05-27 12:32:31 -05:00
Eric
68571b549c Remove carrierwave initializer 2020-05-27 12:32:31 -05:00
Eric
8c997b6488 Remove uploaded fields from models 2020-05-27 12:32:31 -05:00
Eric
93931caf98 ignore the ActiveStorage file storage directory 2020-05-27 12:32:31 -05:00
Eric Schultz
4306ff0a15 Initial work on migrating your carrierwave to activestorage files 2020-05-27 12:32:31 -05:00
Eric Schultz
52a660bb5a Update MiniMagick 2020-05-27 12:32:31 -05:00
Eric Schultz
d143f42d24 Add local activestorage 2020-05-27 12:32:31 -05:00
Eric Schultz
519b865c84 Add ActiveStorage tables 2020-05-27 12:32:31 -05:00
Eric Schultz
c8bf9cd701 Add image_processing gems 2020-05-27 12:32:31 -05:00
Eric Schultz
6b42021668 Add @rails/activestorage 2020-05-27 12:32:31 -05:00
Eric
7c85c2e70e Correct render bugs with the user and profile json 2020-05-27 12:32:31 -05:00