Steven Hancock
a8de3a5a3f
Rails.root and File.join cleanup
...
- `Rails.root` is a `Pathname`, so let's use `Rails.root.join`
- Clean up most of the remaining `File.join`s
2012-06-11 03:13:20 -07:00
Florian Staudacher
472340e540
add rake tasks for cleaning up mixed-case hashtags,
...
fix querying tagged models, in case multiple tags are found
----
the first rake task will attach all posts tagged with mixed-
case hashtags to their lower-case variant
$ bundle exec rake migrations:rewire_uppercase_hashtags
the other rake task will remove the - now unused - mixed-case
hashtags from the db
$ bundle exec rake migrations:remove_uppercase_hashtags
as always, perform a backup first! ;)
2012-05-24 21:28:35 +02:00
Maxwell Salzberg
2fd0905591
dump more data in invite rake task
2012-04-04 19:08:36 -07:00
Maxwell Salzberg
f6eec580a0
collect invite tokens here, because why not
2012-04-03 19:57:19 -07:00
Maxwell Salzberg
7a37c0f42a
dumb rake task to pipe user emails who have failed invites for
...
savekeeping [ci skip]
2012-04-03 19:01:54 -07:00
Maxwell Salzberg
bd021bbd91
Correct our general exception handling.
...
thanks @mperham! see: http://t.co/Jyt7vV4I
2012-03-03 16:26:06 -08:00
Maxwell Salzberg
254860bddc
SM MS; Read email sent to diaspora-dev for more information about this
...
commit. Add migration and rake task to copy hidden information from
share_visibilities to users. see: http://devblog.joindiaspora.com/?p=44
2012-01-17 19:29:01 -08:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
Raphael Sofaer
4b4654a408
Changing message to text, partway done, deleted data conversion
2011-03-14 11:39:31 -07:00
Sarah Mei
0b39359d1c
Standardize how we're requiring config/environment
2011-01-23 12:42:09 -08:00
zhitomirskiyi
86c2686b9a
a little begin rescue magic for uploading to s3
2011-01-17 15:56:06 -08:00
zhitomirskiyi
47671ac332
no pod_url
2011-01-17 15:56:06 -08:00
zhitomirskiyi
0c8aca3ef8
rebasing
2011-01-17 15:56:06 -08:00
zhitomirskiyi
0f9dc4954a
added a task to upload
2011-01-17 15:56:06 -08:00
danielvincent
7477a22421
safeguard on absolutify rake task
2011-01-17 15:56:06 -08:00
danielvincent
7f87825186
fixed nil error in migration when dealing with remote images
2011-01-17 15:56:06 -08:00
danielvincent
1d52e06532
added rake task and spec for absolutifying existing image links
2011-01-17 15:56:06 -08:00
Raphael
f8be5a284c
Don't use the environment rake task, just require the environment
2011-01-11 11:05:21 -08:00
Raphael
6ba587155a
explicit require in rake file
2011-01-10 18:48:12 -08:00
Raphael
b9afd6012c
export should require environment
2011-01-10 18:45:02 -08:00
Raphael
0b265012bc
Make task for full migration
2011-01-10 18:42:34 -08:00
Sarah Mei
75ac7e91c8
Refactor ImportToMysql; add import_raw. Add rake task for import.
...
Remove unique constraint on index on mongo_requests.
2011-01-05 23:54:22 -08:00
Sarah Mei
7453130c63
Namespacin'.
2011-01-04 20:12:11 -08:00
Sarah Mei
a4c01e4df1
More logging (w/ elapsed time) on mysql export.
2011-01-04 19:40:15 -08:00
Raphael
c643346589
Making it easier to maybe put .inspect on all the accesses to the json export
2011-01-04 14:25:40 -08:00
Raphael
0966889ab9
continue work on mongo export
2011-01-04 10:58:22 -08:00
Raphael
4e44b197c2
Begin writing migration from mongo to mysql
2010-12-29 18:15:13 -08:00
Raphael
319452537e
Below 70 failures, GUIDs are next
2010-12-21 15:46:15 -08:00
Raphael
94fe0b4049
Do the update in JS
2010-12-14 21:54:18 -08:00
Raphael
bc35388d1f
Use find_each
2010-12-14 20:58:22 -08:00
zhitomirskiyi
1d1faea9e7
tiny typo
2010-12-14 19:50:22 -08:00
danielvincent
2cf332e120
Remove sent boolean from requests, finish migration
2010-12-14 19:27:18 -08:00
danielvincent
f1ee32145d
Remove pending_requests from user, just use Request.from and Request.to.
2010-12-14 19:00:03 -08:00
maxwell
0119de4afc
adding task to fix users with periods
2010-12-14 18:45:10 -08:00
maxwell
6bd42874e8
adding a task to fix person object with spaces in their name
2010-12-14 17:36:27 -08:00
Sarah Mei
646603ffe0
Don't show rake output when running migrations_spec
2010-12-11 12:32:33 -08:00
maxwell
1ad3dee0dc
another warning message in migration
2010-12-09 19:29:25 -08:00
maxwell
dfbc01ca7a
added a test for the converter rake task
2010-12-09 19:29:25 -08:00