maxwell
94135827ce
add mysql dump cron and task
2011-02-02 14:55:13 -08:00
Sarah Mei
9a6fca87ff
Re-enable running a single cucumber feature on the command line
2011-02-02 11:13:59 -08:00
maxwell
d040380e57
fix data conversion spec, ILYA
2011-02-01 22:27:07 -08:00
Sarah Mei
59a6c3b3a0
Fix import database errors by not importing notifications
2011-01-31 21:36:10 -08:00
Dan Hansen
2e03c7f9f6
forgot to remove these files from my previous commit
2011-01-31 15:23:04 -06:00
Dan Hansen
3746d296b0
fix dom traversing for embedder
2011-01-31 15:15:30 -06:00
Raphael
31e4683183
Finished contacts of contacts for local users
2011-01-27 13:41:22 -08:00
Raphael
a6f8b2c14e
Add splunk logging for errors
2011-01-27 11:44:35 -08:00
Philip Champon
0588dafe6b
added enumeration to args and a spec to verify it
2011-01-27 12:46:02 -05:00
Raphael
f892a00b99
Fix data conversion, fixture generation in publicscontroller
2011-01-26 18:39:09 -08:00
Raphael
b67aca0ffc
Put in a lot of non nullable fields, edit the specs to match, drop a couple superfluous columns
2011-01-26 18:29:23 -08:00
zhitomirskiyi
d595a64169
new interface to send invitation WIP
2011-01-26 12:16:47 -08:00
Raphael
906cb36adf
Fix double notifications on comments, write a bunch of comment dispatch tests. Alliterate.
2011-01-25 16:46:51 -08:00
zhitomirskiyi
716899f919
don't dispatch locally on comments if you're the post owner
2011-01-24 19:13:48 -08:00
zhitomirskiyi
8f05b638b3
holy crap fixed that comment dispatch bug
2011-01-24 18:21:27 -08:00
maxwell
a28a861509
fix url helpers on fakes
2011-01-24 18:01:40 -08:00
zhitomirskiyi
e9e01e965e
fixed error with comments saving twice on the same pod
2011-01-24 17:24:29 -08:00
maxwell
1b3c58c2c2
Use a fake to not allocate an AR model for every reference to a person
2011-01-24 15:13:52 -08:00
Sarah Mei
0b39359d1c
Standardize how we're requiring config/environment
2011-01-23 12:42:09 -08:00
Sarah Mei
225e5fc9d7
This much untested code makes me sad. But I fixed the bug whereby no rake tasks worked because of the require line.
2011-01-21 22:03:21 -08:00
zhitomirskiyi
f89c442730
statistics class does distributions and averages on its DataPoints
2011-01-21 10:29:07 -08:00
zhitomirskiyi
55bfbfd5b0
added users_with_posts_today to DataPoint
2011-01-21 10:29:07 -08:00
zhitomirskiyi
0dc0af015f
added methods to statistics rake task
2011-01-21 10:29:06 -08:00
Raphael
591915a2cd
Add some includes to a query
2011-01-20 15:22:35 -08:00
Raphael
19a86eb5a3
Remove useless transaction_id from request logs
2011-01-20 15:03:33 -08:00
Raphael
5eb0bf6736
Speed up person show
2011-01-19 18:45:45 -08:00
zhitomirskiyi
1d228fa819
stats rake file now works with mysql; production
2011-01-19 17:04:46 -08:00
maxwell
e7a065a521
make jobs have a base class, which will verify the activerecord connection before trying the job
2011-01-19 14:10:42 -08:00
maxwell
465dd9ba96
check to see if rails is already loaded in a couple of places
2011-01-19 13:30:12 -08:00
Raphael
eee9561656
Specify type
2011-01-17 19:40:14 -08:00
Raphael
6474ca9540
display photos correctly
2011-01-17 19:34:33 -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
bd4efe8c2d
Escape youtube titles
2011-01-17 15:39:46 -08:00
zhitomirskiyi
baac8199da
MS IZ proper file requiring
2011-01-17 15:27:38 -08:00
zhitomirskiyi
3d4cf4d8d5
IZ MS required a file needed by the import
2011-01-17 14:56:30 -08:00
Raphael
db417abc18
Fix person show
2011-01-17 14:30:57 -08:00
Raphael
6eb0dfb43f
Improve User#posts_from
2011-01-17 14:23:50 -08:00
Raphael
72785a69cb
Correct ordering problem in posts_from
2011-01-17 12:21:38 -08:00
Sarah Mei
bb04224187
Add db:migrate to cruise task for mysql branch
2011-01-15 19:39:01 -08:00
Raphael
f87ddffc64
2 failures left in merge
2011-01-14 16:35:41 -08:00
Raphael
738e8c65c8
Merge almost complete, 4 failures
2011-01-14 16:00:10 -08:00
Raphael
8f91689b3f
Require config environment rather than the environment rake task
2011-01-14 10:48:01 -08:00
Raphael
ae57c7a232
Stop testing on created_at, because I am so not updating the fixtures and we do have to export the times.
2011-01-13 19:59:01 -08:00
Raphael
d6cae5862d
The cool kids store birthdays in unix time
2011-01-13 19:29:44 -08:00
Raphael
300e055933
It turns out comments weren't importing because I didn't write the code to make them import.
2011-01-13 18:48:32 -08:00
Raphael
f2a27ea970
Another try at getting the youtube titles in
2011-01-13 18:15:44 -08:00
Raphael
597a7a8a03
Revert "Serialize youtube titles to yaml to ActiveRecord can read them"
...
This reverts commit b42bffa6fa .
2011-01-13 17:16:06 -08:00
Raphael
2f4be3c9c4
Revert "keep nil nil"
...
This reverts commit fb12f5de52 .
2011-01-13 17:15:43 -08:00
Raphael
fb12f5de52
keep nil nil
2011-01-13 17:03:55 -08:00
Raphael
b42bffa6fa
Serialize youtube titles to yaml to ActiveRecord can read them
2011-01-13 16:51:09 -08:00
zhitomirskiyi
54d4f4350d
one event
2011-01-13 15:11:00 -08:00
zhitomirskiyi
9e332a6188
comma
2011-01-13 14:40:48 -08:00
zhitomirskiyi
1a995d5f03
Merge branch 'master' of github.com:diaspora/diaspora
2011-01-13 13:36:18 -08:00
zhitomirskiyi
97e5c3cb2c
typo
2011-01-13 13:36:03 -08:00
maxwell
b116362c5d
notifications for local comments
2011-01-13 13:02:02 -08:00
zhitomirskiyi
99931cdf41
splunking some stats
2011-01-13 12:54:18 -08:00
maxwell
1661158f95
IZ MS fix a nasty bug where status messages with posts were not persisted in a users aspects stream. also, fixed the code link for joindiaspora.com
2011-01-12 10:47:39 -08:00
maxwell
49b172f192
up with convention, down with case. pubsubhubbub now adhears to ruby caseing, rather than its own name weirdness
2011-01-11 15:04:03 -08:00
maxwell
85295015ee
DG MS tests now green, plus autotest works again
2011-01-11 14:23:19 -08:00
maxwell
25f388d903
MS DG made receive encapsulated in an object
2011-01-11 14:23:19 -08:00
maxwell
23de681cb8
DG MS moved receive methods to their respective models
2011-01-11 14:23:18 -08:00
maxwell
daab8e80ce
basic receive cleanup
2011-01-11 14:23:18 -08:00
Raphael
6bb132b25e
Revert 'Create a separate webfinger service.' We'll come back to it when we figure out the error.
2011-01-11 14:18:25 -08:00
Raphael
021bbc12ba
No guarantee that there aree join table rows for any given model
2011-01-11 12:04:57 -08:00
Raphael
f8be5a284c
Don't use the environment rake task, just require the environment
2011-01-11 11:05:21 -08:00
Sarah Mei
68eedd578a
mysql timezones: PWND.
2011-01-10 20:40:27 -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
Raphael
ee20b00f58
Only the time zone errors are left, and those could probably be ignored
2011-01-10 18:30:52 -08:00
Raphael
079151eeea
Set target_id on notifications
2011-01-10 17:30:37 -08:00
Raphael
30f98aec3c
Set notification target type after importing
2011-01-10 17:07:16 -08:00
Raphael
f1e8b5c01d
Found problem in notification import, need to finish post and notification polymorphic stuff
2011-01-10 16:57:15 -08:00
Raphael
c90f3cb1ef
export more things from mongo
2011-01-10 16:36:48 -08:00
Raphael
f277fb3bb8
Specs for post_visibilities and notifications imports
2011-01-10 15:55:59 -08:00
Raphael
f4465c9d32
Naive import of posts, still need to set status_message_id on photos
2011-01-10 15:41:53 -08:00
Raphael
fefc4ba60e
Posts are the next model to import, then postvisibility, then notifications
2011-01-10 13:22:05 -08:00
Raphael
92aecb3bec
Start profile import, fixtures are wrong
2011-01-10 12:25:13 -08:00
Raphael
52f1ce81fb
No syntax errors, but invitation and request importing still not working
2011-01-10 11:34:04 -08:00
Alec Leamas
e09771d9b4
Create a separate webfinger service.
2011-01-09 23:38:36 +01:00
Raphael
555932d67e
Import invitations
2011-01-09 02:25:35 -08:00
danielvincent
c16d0c46a2
comments do not queue up jobs for local users.
2011-01-08 17:53:01 -08:00
Sarah Mei
22f7d1d48b
Unix timestamps (output by mongo) are in milliseconds, but MySQL datetimes only have fidelity to seconds.
...
As a result we have to divide the exported value by 1000 before importing it (which coincidentally is the same as truncating the last 3 digits).
The remaining 8-hour difference is a time zone thing - haven't solved that one yet.
2011-01-08 17:18:09 -08:00
Raphael
e8d46982d8
Aspect memberships now importing
2011-01-07 16:58:39 -08:00
Raphael
6abedf5f87
Contacts now importing
2011-01-07 16:28:52 -08:00
Raphael
aa624b4df0
People now importing, additional failing tests on imported times
2011-01-07 16:09:08 -08:00
maxwell
36d6864b40
only locally socket comments
2011-01-07 15:17:18 -08:00
Raphael
9bd2de06ee
Services need a mongo_id
2011-01-07 15:14:45 -08:00
Raphael
62486a17b6
Aspects imported correctly
2011-01-07 14:54:50 -08:00
maxwell
8f1f01f0a3
if you write jobs, you should use them in you app
2011-01-07 14:03:46 -08:00
Raphael
1187c13170
Import for users, test for aspects import
2011-01-07 13:25:50 -08:00
zhitomirskiyi
868cb1efc1
checking that filepath exists
2011-01-07 10:57:37 -08:00
Raphael
ff44003ea3
Import some more times
2011-01-07 10:56:46 -08:00
Raphael
686713dc4b
assert on type before typecasting, do not tolerate empty strings where NULL should be.
2011-01-07 10:49:07 -08:00
zhitomirskiyi
c8e161f1cf
photo backups are now in 4.5 gb chunks
2011-01-07 09:37:45 -08:00
Raphael
abdb5f7587
serialized hashes need a NULLIF, as do many other fields, probably
2011-01-06 17:26:08 -08:00
maxwell
153c4925d6
test for pubsubhububb jobs
2011-01-06 17:19:13 -08:00
Raphael
89a41826c1
Started raw post import
2011-01-06 17:01:17 -08:00
Raphael
7c3c17a418
Move fantasy_resque to the fake_resque file, add services to the mysql export fixture
2011-01-06 16:34:28 -08:00
Raphael
e46b3e6cf3
Import raw services, I think we need to change the name of the type field (is it supposed to be in provider?) other than that, only posts remain.
2011-01-06 16:23:18 -08:00
Raphael
7668276a99
Set booleans correctly
2011-01-06 15:42:34 -08:00
Raphael
770e90064d
nullif fixes raw person import
2011-01-06 15:16:32 -08:00
Raphael
283a5501be
Boolean values aren't importing; we may need SET statements for them
2011-01-06 14:58:42 -08:00
Raphael
7c4d35cf28
raw import of notifications, failing to pull in unread
2011-01-06 14:37:59 -08:00
Raphael
564dd993b7
raw import of Invitation
2011-01-06 14:30:38 -08:00
Raphael
a1419b9dc0
Person#owner_mongo_id should be null if the csv has an empty string
2011-01-06 14:16:51 -08:00
Raphael
9ba43b148f
Move resque modifications out to spec/support
2011-01-06 12:33:12 -08:00
Raphael
8d62ad8896
Add some reloads
2011-01-06 12:33:12 -08:00
Raphael
0284f0fd6d
Write fixture for mysql export
2011-01-06 12:33:12 -08:00
maxwell
11808e3233
adding tests for pubsub client'
2011-01-06 11:47:16 -08:00
Raphael
3df36721d6
Move attribute lists out to base, so they are together and we can use them in the import
2011-01-06 10:31:45 -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
maxwell
27d8cc8003
added sync pubsubhubbub publisher client. we now should not longer require eventmachine, (in the server process, the websocket still requires it). this should also be in a job
2011-01-05 19:02:43 -08:00
Raphael
925184110d
Make postzord a module
2011-01-05 18:31:19 -08:00
maxwell
a7d651236f
make the postman work across everything. remove lots of now useless methods
2011-01-05 17:44:08 -08:00
maxwell
5e58eba240
new years resolution: commit more. make the websocket take user objects, rather then just ids, since postman now gets all of them at once, rather than querying them n times
2011-01-05 17:43:25 -08:00
maxwell
8819d288c4
i am greeen
2011-01-05 17:43:25 -08:00
maxwell
80edb498f2
--amend
2011-01-05 17:43:25 -08:00
maxwell
3fe30cde12
removed message handler, postzord::dispatch is almost done, now i need to rip a bunch of methods out
2011-01-05 17:43:25 -08:00
Raphael
ff1cad6e63
raw import for requests
2011-01-05 17:38:00 -08:00
Raphael
0d80ded2d3
Raw import for post_visibilities
2011-01-05 17:25:11 -08:00
zhitomirskiyi
ce470e74ee
notification calls email notification
2011-01-05 17:21:55 -08:00
Raphael
a02eb39bf1
error in profile export
2011-01-05 17:03:22 -08:00
Raphael
7b721836c8
Add the fixtures I've been using, fix a problem in person export
2011-01-05 16:49:04 -08:00
Raphael
b34acfd4eb
Add contact raw import, fixtures have no comments
2011-01-05 16:40:16 -08:00
Raphael
e4ef2641f8
raw import of aspects and aspect memberships
2011-01-05 15:40:04 -08:00
Raphael
079e2f4cb2
Get a little further in importing times
2011-01-05 11:51:36 -08:00
Sarah Mei
bed82d68ab
how about we don't accidentally delete Rails.root, mmmkay?
2011-01-04 22:54:19 -08:00
Sarah Mei
7f86a9e1ba
ImportToMysql now loads users.csv. Spec currently failing on datetime conversion.
2011-01-04 22:43:32 -08:00
Sarah Mei
80867bbc54
Make directory settable.
2011-01-04 21:08:28 -08:00
Sarah Mei
55191c6838
Move more stuff in to DataConversion::Base, refactor method names. Add spec for importer.
2011-01-04 20:28:10 -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
adb238c7d1
Merge remote branch 'tomk/717-rake-statistics'
2011-01-04 16:13:28 -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
894a008daa
Hopefully finish export to csv
2011-01-04 11:59:25 -08:00
Raphael
16d7ccdf0b
fix youtube title stting
2011-01-04 11:48:02 -08:00
zhitomirskiyi
d3daa32558
mark a notification as read when you ignore a request
2011-01-04 11:27:25 -08:00
Raphael
936f7fdb3d
newlines are in the data, probably easiest to use a different separator in the CSV
2011-01-04 11:24:11 -08:00
Raphael
0966889ab9
continue work on mongo export
2011-01-04 10:58:22 -08:00
Alec Leamas
22a696bcf8
Print warnings on stderr, where they belong.
2011-01-02 16:07:19 +01:00
Philip Champon
607fea6722
Handling bug http://bugs.joindiaspora.com/issues/767
...
Added email argument to task, warn and replace if address resolves to
an invalid user@domain one.
2010-12-31 14:53:32 +01:00
zhitomirskiyi
9f227b3b0a
manual logging in the backup, since Rails.logger is nil
2010-12-30 14:27:35 -08:00
Thomas R. Koll
be270c4696
Adding rake statistics:genders to list all genders with profile count
2010-12-30 14:18:12 +01:00