Sarah Mei
44ca687100
Remove annoying constant warning from resque spec
2011-03-19 21:12:43 -07:00
Raphael Sofaer
325eeb0ca2
Fix expectation
2011-03-17 15:40:26 -07:00
Raphael Sofaer
0aa5193434
Use the new local batch receive job
2011-03-17 13:41:30 -07:00
danielgrippi
68479481cf
made websockets far less dumb. don't render partials for people not connected.
2011-03-15 18:21:09 -07:00
Raphael Sofaer
1b0445563e
Specs passing with text
2011-03-14 11:39:31 -07:00
Raphael Sofaer
4b4654a408
Changing message to text, partway done, deleted data conversion
2011-03-14 11:39:31 -07:00
MrZYX
6d314e9394
fixed ostatus builder + spec
2011-03-10 15:17:56 +01:00
maxwell
90aac1d175
spec to have ostatus builder still build rss even if an object does not respond to activity
2011-03-09 18:54:09 -08:00
maxwell
337831bba2
move ostatus builder, actually added the file.
2011-03-09 18:01:48 -08:00
maxwell
5b73e9ca06
rename ostatus builder spec to have the correct name
2011-03-09 17:35:21 -08:00
maxwell
1ac688f82c
moved an ostatus builder query out to the controller, where it belongs, and corrected the order
2011-03-09 17:33:47 -08:00
Raphael Sofaer
5cc7aa4496
Change some person_ids to author_ids
2011-03-09 15:28:27 -08:00
Raphael Sofaer
e38a136c49
don't quote floats
2011-03-09 15:28:08 -08:00
Raphael Sofaer
cf93bfc89b
improve hash logger a bit
2011-03-09 14:06:48 -08:00
danielvincent
21fd546cd0
posts now have authors instead of people
2011-03-01 18:05:05 -08:00
danielvincent
11309574cf
messages are now relayable, a comment has an author as opposed to a person.
2011-03-01 12:39:42 -08:00
danielvincent
c62e9db397
private messages wip
2011-03-01 12:28:34 -08:00
danielvincent
f4e6d0d82b
broke out some comment logic to a replayable module
2011-03-01 12:28:33 -08:00
Raphael Sofaer
d8956a7cd5
Add foreign key constraints
2011-02-28 15:18:35 -08:00
zhitomirskiyi
83576d75ef
stubbing the httpmulti in the test, now you can post to services individually
2011-02-24 17:50:01 -08:00
zhitomirskiyi
e61cc2fd34
made the postzord take the services in individually
2011-02-24 17:31:54 -08:00
zhitomirskiyi
126925f28f
wip
2011-02-24 17:31:54 -08:00
Raphael Sofaer
126a4b2547
LOG MORE, on resque job errors
2011-02-24 13:11:57 -08:00
Raphael Sofaer
22c4ebd6de
return a string from a stub
2011-02-24 10:36:06 -08:00
Raphael Sofaer
faf026dec6
Update dispatcher to use HttpMulti job
2011-02-23 16:06:55 -08:00
Sarah Mei
51df11aafc
Fix build failure related to addition of default scope on Contact
2011-02-19 21:44:37 -08:00
zhitomirskiyi
e4d9ec64cd
moved tests and slayed the profile not updating bug
2011-02-09 13:33:42 -08:00
maxwell
a649d18cd7
add tests to see if timestamps are updated on recevie...they are not
2011-02-08 14:07:25 -08:00
Raphael
7d18e2bcd8
Finish autocomplete
2011-02-01 11:56:56 -08:00
Sarah Mei
59a6c3b3a0
Fix import database errors by not importing notifications
2011-01-31 21:36:10 -08:00
Raphael
dde8fd65e5
Fix build
2011-01-28 12:18:56 -08:00
Raphael
5967ce25fd
add spec for youtube_titles
2011-01-28 11:43:15 -08:00
Raphael
31e4683183
Finished contacts of contacts for local users
2011-01-27 13:41:22 -08:00
Philip Champon
0588dafe6b
added enumeration to args and a spec to verify it
2011-01-27 12:46:02 -05: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
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
maxwell
d040de541a
fix error in stream and puts in fake
2011-01-24 19:09:38 -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
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
Sarah Mei
b43c29745b
Fix build by turning off transactional fixtures in the import spec.
2011-01-19 00:16:11 -08:00
Raphael
88ebd14799
Fixture builder working, need to make specs not require a clean db
2011-01-18 14:53:46 -08:00
Raphael
1353929d44
Made specs work with fixtures, spec_helper needs work
2011-01-18 13:31:10 -08:00
Raphael
fdc9534fc7
Fix specs in the presence of fixture_builder
2011-01-18 10:25:26 -08:00
maxwell
0c24510682
remove an invalid spec
2011-01-17 18:33:30 -08:00
zhitomirskiyi
c28b5a22fb
here you go
2011-01-17 18:03:15 -08:00
zhitomirskiyi
0c8aca3ef8
rebasing
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
738e8c65c8
Merge almost complete, 4 failures
2011-01-14 16:00:10 -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
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
maxwell
b116362c5d
notifications for local comments
2011-01-13 13:02:02 -08:00
Sarah Mei
756471be43
Fix 1.9 build. MAXWELL.
2011-01-11 19:58:27 -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
Raphael
3684546335
Require pubsubhubbub
2011-01-11 14:34:30 -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
220c6894fa
--amend
2011-01-11 14:23:18 -08:00
maxwell
daab8e80ce
basic receive cleanup
2011-01-11 14:23:18 -08:00
Sarah Mei
68eedd578a
mysql timezones: PWND.
2011-01-10 20:40:27 -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
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
47ed820dea
Invitations and requests importing
2011-01-10 11:51:34 -08:00
Raphael
52f1ce81fb
No syntax errors, but invitation and request importing still not working
2011-01-10 11:34:04 -08: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
maxwell
047217f50c
fixed test to have postzord only socket on comments.... need to figure out a better way to abstract this exception...
2011-01-07 16:15:13 -08:00
Raphael
aa624b4df0
People now importing, additional failing tests on imported times
2011-01-07 16:09:08 -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
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
maxwell
3fa0af8b56
make the test slightly less pedantic
2011-01-06 18:19:15 -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
maxwell
cff387d651
make sure receive unescapes the payload before sending it to the job
2011-01-06 16:30:22 -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
maxwell
1d5b6fa675
unstubing and restubbing before doing pubsubhubub
2011-01-06 12:50:48 -08:00
Raphael
f4d176011d
Got some fixtures in, comment import specs are passing
2011-01-06 12:20:42 -08:00
maxwell
f02ed1e3c4
unstubing and restubbing before doing pubsubhubub
2011-01-06 12:19:36 -08:00
maxwell
11808e3233
adding tests for pubsub client'
2011-01-06 11:47:16 -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
7ea6b4dd8d
more cleanup
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
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
7f86a9e1ba
ImportToMysql now loads users.csv. Spec currently failing on datetime conversion.
2011-01-04 22:43:32 -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
Raphael
0966889ab9
continue work on mongo export
2011-01-04 10:58:22 -08:00
Raphael
b642cd6840
Merging master into mysql
2010-12-26 16:30:17 -08:00
Sarah Mei
5ae16c15a3
Fix bug in :pod_uri generation.
2010-12-24 13:00:06 -08:00
Sarah Mei
1f67cc2485
Replace APP_CONFIG with lib/app_config.rb so that it's testable.
2010-12-24 12:31:09 -08:00
Raphael
55492535c6
Fix some more specs, aspects controller is green in mysql
2010-12-22 14:15:45 -08:00
Raphael
cbda6b8c58
58 failures with mysql
2010-12-21 17:14:52 -08:00
Raphael
319452537e
Below 70 failures, GUIDs are next
2010-12-21 15:46:15 -08:00
Raphael
d44e76a6aa
Down to 250 failures in mysql
2010-12-20 00:36:48 -08:00
Raphael
232de40457
Only service hasn't been migrated, there are a good 100 passing examples in mysql
2010-12-19 12:27:32 -08:00
Raphael
02f745900f
Get rid of youtube-title failure
2010-12-18 15:16:05 -08:00
Raphael
80a9b97f8d
add_person_to_aspect is now add_contact_to_aspect, some methods now take models rather than ids
2010-12-15 14:48:14 -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
MrZYX
0b57ccd47f
fixed require
2010-12-10 21:49:09 +01:00
Raphael
0e77577fbd
Websocket now uses redis
2010-12-10 11:25:38 -08:00
MrZYX
36043845ca
fixed requires for ruby 1.9
2010-12-10 17:25:02 +01:00
maxwell
dfbc01ca7a
added a test for the converter rake task
2010-12-09 19:29:25 -08:00
maxwell
97c1ce54c1
fixed the batch emailer tests... sorry it took me so long
2010-12-06 10:56:04 -08:00
Michael Sofaer
9e575ea765
MS RS Get the fake queue working when it's nested, and push local dispatch onto the queues
2010-12-04 19:36:22 -08:00
danielvincent
a7823485c7
made http calls synchronous. messagehandler enqueues POSTs into resque.
2010-12-03 15:26:52 -08:00
Raphael
8798f05ff7
Revert "Revert redis merge to fix bugs on master"
...
This reverts commit 30698d674b .
2010-12-02 15:33:26 -08:00
Raphael
30698d674b
Revert redis merge to fix bugs on master
2010-12-02 15:20:27 -08:00
Raphael
db0106f13c
Rename EMWebfinger to Webfinger, clean up some related things
2010-12-02 12:35:25 -08:00
maxwell
be00a2f1b3
webfingering is now syncrounous
2010-12-02 12:35:25 -08:00
maxwell
9aa093a0a3
api compatabile, but ugly
2010-12-02 12:35:25 -08:00
maxwell
ec05c21472
profile now knows about three images sizes, even in federation case
2010-11-30 13:40:41 -08:00
Raphael
7030ed0fed
Putting youtube titles back into status messages
2010-11-27 11:43:24 -05:00
zhitomirskiyi
a9b503b65e
made the dev. util things pending
2010-11-23 15:49:50 -08:00
zhitomirskiyi
d0d261fdae
zero default invites, the rake task starts people with 5 invites
2010-11-18 16:23:35 -08:00
maxwell
747ab761a0
pushing mailer spec for ilya
2010-11-18 15:36:30 -08:00
Raphael
538c6ce4b9
Take handle validations out of em-webfinger
2010-11-16 16:18:16 -08:00
danielvincent
ed50fe7f1f
Aspect.people -> Aspect.contacts. Fixed diaspora.en to reflect friend -> contact changes.
2010-11-12 20:22:56 -08:00
danielvincent
aa9966ea26
removed the word friend everywhere minus translation files
2010-11-12 20:22:55 -08:00
danielvincent
a21af7cac6
friend_users -> connect_users in helper_methods
2010-11-12 20:22:54 -08:00
Raphael
71ab919ad3
Remove urls from requests, invitations are broken
2010-11-09 14:07:26 -08:00
Raphael
0ce37bbfa8
Remove some extra receives in tests
2010-11-05 14:15:40 -07:00
Raphael
693847480b
Take out notifier stubbing, it's in test mode.
2010-11-05 11:31:52 -07:00
Raphael
03b272db60
Requests are no longer tracked by id across servers, DELETED USELESS PUTS IN EM-WEBFINGER SPEC
2010-11-03 15:26:58 -07:00
Raphael
2eef9f7ad1
Refactor ostatus builder spec
2010-11-03 15:26:58 -07:00
maxwell
0343e7a226
Merge branch 'master' of github.com:diaspora/diaspora
2010-11-03 00:10:11 -07:00
maxwell
545577a950
em-webfinger ssl should work
2010-11-02 19:16:08 -07:00
Raphael
1c67211ebc
Move post dispatching to dispatch_post
2010-11-02 19:16:02 -07:00
maxwell
d482334ca2
Revert "Revert "IZ MS webfinger now trys ssl first, then http""
...
This reverts commit 153265aae8 .
2010-11-02 18:59:18 -07:00
maxwell
153265aae8
Revert "IZ MS webfinger now trys ssl first, then http"
...
This reverts commit af3247b62f .
2010-11-02 17:37:45 -07:00
danielvincent
da8124f8a7
hcard has searchable field, and is taken in to account when building Person from webfinger
2010-11-02 16:12:43 -07:00
maxwell
af3247b62f
IZ MS webfinger now trys ssl first, then http
2010-11-02 15:49:41 -07:00
maxwell
449a6f3ea0
MS IZ removed a refrence to REDFINGER
2010-11-02 15:14:40 -07:00
danielvincent
a3ce5f1cd7
REMOVED IMPORTER
2010-11-02 11:17:47 -07:00
maxwell
3c8b40c427
IZ MS retractions now use diaspora handle
2010-11-01 17:11:06 -07:00
maxwell
ccf897ed62
IZ MS; fixing parser spec
2010-11-01 14:56:31 -07:00
maxwell
922aa85fb7
MS IZ refactor green
2010-11-01 14:54:40 -07:00
danielvincent
f6b4be97a3
requests are almost there
2010-11-01 14:54:40 -07:00
danielvincent
b08c4fb84e
removed user#aspect method. all aspect creation should be scoped through the user -> aspect association proper: user.aspects.create(opts)
2010-10-31 12:34:26 -07:00
Raphael
bc5dc934d6
Speed up importer spec by 40 seconds
2010-10-29 18:08:36 -07:00
maxwell
15bd24a64f
Merge branch 'master' of github.com:diaspora/diaspora
...
Conflicts:
spec/lib/message_handler_spec.rb
spec/spec_helper.rb
2010-10-29 16:23:33 -07:00
maxwell
c1c045a4cd
mocking
2010-10-29 16:21:39 -07:00
Raphael
99eb25762d
Moving to make_user, a few specs broken
2010-10-29 15:53:21 -07:00
maxwell
3ce44d040f
mocking out emhttprequest everywhere
2010-10-29 15:16:11 -07:00
maxwell
7e7c4c3431
refactored message handler spec
2010-10-29 14:26:11 -07:00
maxwell
c6fbcd28f7
stubbing out the hub publish method
2010-10-29 12:09:10 -07:00
maxwell
23db4fe278
merge complete
2010-10-29 11:33:31 -07:00
maxwell
39f66cc5d9
tests are green
2010-10-29 11:19:07 -07:00
maxwell
7c32649df4
rebasing master
2010-10-29 11:18:20 -07:00
maxwell
1b48572674
MS tests are now green
2010-10-29 11:16:50 -07:00
maxwell
68a44af856
making a few more cleanup and tests
2010-10-29 11:13:08 -07:00
maxwell
eddcb71fcb
EM websocket cleanly merged with master. webfingering is now async
2010-10-29 11:11:05 -07:00
maxwell
9a2e3ef158
making a few more cleanup and tests
2010-10-29 11:05:17 -07:00
maxwell
8fe339b03b
EM websocket cleanly merged with master. webfingering is now async
2010-10-29 11:05:17 -07:00
zhitomirskiyi
f484eb957f
comments now don't imbed the person in the xml
2010-10-28 12:13:39 -07:00
zhitomirskiyi
e776389d19
Merge branch 'master' of github.com:diaspora/diaspora into contact-refactor
2010-10-26 11:19:50 -07:00
zhitomirskiyi
917d1838de
MS IZ specs are green
2010-10-25 18:55:51 -07:00
maxwell
b17ae0bf38
DG MS removed unused fb_status model and respective specs, fixtures.
2010-10-25 12:26:08 -07:00
ilya
8d61fb0aeb
tiny bug in the spec
2010-10-24 01:45:26 -07:00
ilya
7083d2aa03
Moving friendships into a 'Contact' proxy object.
2010-10-22 18:11:04 -07:00
Raphael
7dd86b3c87
Move comment signing spec to comment spec, make encryption spec not depend on message building
2010-10-22 11:18:43 -07:00
Raphael
d8bbe38019
Move spec to request_spec
2010-10-22 11:11:51 -07:00
Raphael
1a19c28199
Move spec to user_spec
2010-10-22 11:10:35 -07:00
Raphael
b67cee9af0
Trying to make spec directory structure the same as the lib and app structures
2010-10-22 11:09:20 -07:00
Raphael
61d539e555
Moving user_encryption_spec to lib
2010-10-22 11:06:31 -07:00
Sarah Mei
7e4529f2bd
im in ur test stubbin ur mailers
2010-10-22 06:22:47 -07:00
Raphael
abf27bbfb2
Take unused models out of webhooks spec
2010-10-20 17:43:13 -07:00