Raphael Sofaer
b48b483eab
Still working on stream query
2011-04-04 13:06:15 -07:00
Raphael Sofaer
d09bf35213
Add tests for raw_visible_posts
2011-04-04 12:07:19 -07:00
MrZYX
42523139c7
fixed for ruby 1.9
2011-04-03 22:11:52 +02:00
MrZYX
92bf8444a7
added spec; rtl? -> direction_for
2011-04-03 04:20:08 +02:00
MrZYX
a1c3a6dc1e
lets see if that fixes the build
2011-04-02 15:53:58 +02:00
Raphael Sofaer
24fffc0220
Simplify query, now we just have to fix it
2011-03-30 19:17:52 -07:00
Raphael Sofaer
435b16b30a
Don't index on just hidden
2011-03-30 19:17:52 -07:00
zhitomirskiyi
5a9ec82597
can now hide posts
2011-03-30 16:43:28 -07:00
Raphael Sofaer
e3ad078ba5
Scope querying in PhotosController#show
2011-03-30 16:40:01 -07:00
Raphael Sofaer
8c9a7e1c41
Fix PhotosController#show
2011-03-30 15:43:44 -07:00
maxwell
6364f2a332
clean activity streams, fix test
2011-03-30 14:27:20 -07:00
MrZYX
cd3a307785
disallow % in tags
2011-03-30 20:02:10 +02:00
MrZYX
66ea747571
disallow dots in tags as rails routing system doesn't like them
2011-03-30 15:41:26 +02:00
danielgrippi
0c8db5beee
Fix find_visible_post_by_id
2011-03-29 20:17:19 -07:00
danielgrippi
2487db3257
reduce the number of ruby objects instantiated in posts_from
2011-03-29 20:03:16 -07:00
danielgrippi
5b0da52e0a
fixed comment socketing bug, post ordering on own profile page.
2011-03-29 19:40:44 -07:00
danielgrippi
93b82a377f
fix temp pagination fix in raw_visible_posts.
2011-03-29 19:20:31 -07:00
danielgrippi
5bd47f20c1
Only get non-pending posts in posts_from
2011-03-29 19:00:51 -07:00
danielgrippi
b3cb8e0a2b
temp fix for pagination. photos index fix
2011-03-29 18:55:00 -07:00
danielgrippi
aa4c20e404
pass post to comments partial. use sql in raw_visible_posts
2011-03-29 17:31:57 -07:00
danielgrippi
99e55c82eb
disambiguate ordering
2011-03-29 17:31:56 -07:00
danielgrippi
371aa71ca8
add ordering to raw_visible_posts
2011-03-29 17:31:56 -07:00
danielgrippi
6df652a513
Limit posts in raw_visible_posts
2011-03-29 17:31:56 -07:00
danielgrippi
97d8b34599
Fix all specs, add foreign key constraints on post_visibility
2011-03-29 17:31:56 -07:00
danielgrippi
8816bd7f91
8 failures left. wip.
2011-03-29 17:31:56 -07:00
danielgrippi
9a0d6219b5
Moving PostVisibility to aspects, WIP, model specs pass
2011-03-29 17:31:56 -07:00
zhitomirskiyi
18ea46710b
not delivering to local for profiles
2011-03-29 17:23:28 -07:00
MrZYX
421e50d2ca
specify what we don't want in a tag for now
2011-03-26 19:02:04 +01:00
Raphael Sofaer
6855447204
unicode fix in tags
2011-03-25 17:39:44 -07:00
Raphael Sofaer
fef226156c
Update controllers to use User#retract, change Relayable#relayable to Relayable#relayable?
2011-03-25 16:09:37 -07:00
Raphael Sofaer
b9af450628
Relayable retractions pretty much done
2011-03-25 16:09:37 -07:00
Raphael Sofaer
cc84ddbe94
Move encryptable out of relayable for use in relayable_retraction
2011-03-25 16:09:37 -07:00
danielgrippi
f36e884d67
added logo to atom feed
2011-03-25 10:16:00 -07:00
Raphael Sofaer
85e0736e5b
Remove stray puts
2011-03-21 17:12:54 -07:00
zhitomirskiyi
70d71ec491
service users is green
2011-03-21 14:56:50 -07:00
MrZYX
88e642ffdb
disallow _ in tags because they interfer with markdownify
2011-03-21 22:31:01 +01:00
Sarah Mei
10019bb3db
Fix User spec. Also, people_in_aspects now won't let you get people for aspects you don't own. people_in_aspects should probably be arel and/or an association extension.
2011-03-19 13:25:27 -07:00
danielgrippi
3db11cf38d
PostsController#index -> TagsController#show
2011-03-18 20:57:39 -07:00
Raphael Sofaer
bef06d18d8
Move notifying iteration into resque job
2011-03-17 15:19:26 -07:00
Raphael Sofaer
5a1d8d091a
Fix condition for queuing job
2011-03-17 14:12:52 -07:00
Raphael Sofaer
0aa5193434
Use the new local batch receive job
2011-03-17 13:41:30 -07:00
Raphael Sofaer
72523cc7f9
SocketsController now takes a user object or a user id, so that we only instantiate the user if we need to
2011-03-17 12:56:23 -07:00
Raphael Sofaer
3718a72f46
log renders of collections of partials with more info
2011-03-17 11:36:16 -07:00
Kiran Soumya
6d113da242
Bug Fix:868 for Users unable to download photos
2011-03-17 01:14:05 +05:30
danielgrippi
68479481cf
made websockets far less dumb. don't render partials for people not connected.
2011-03-15 18:21:09 -07:00
maxwell
1164303251
do not call a remote job if their are no remote subscribers
2011-03-15 17:49:43 -07:00
danielgrippi
39b8fed431
Change includes aspects to joins aspects
2011-03-15 15:00:17 -07:00
danielgrippi
1988e195fb
a user can put tags in their profile and they show up on the person/show page.
2011-03-15 13:21:36 -07:00
danielgrippi
20f5105e5d
breaking out Diaspora::Taggable wip
2011-03-15 13:21:36 -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
Raphael Sofaer
9f368bf82f
Change person show page to created_at ordering, since you're looking at that person's content
2011-03-11 10:15:17 -08:00
Sarah Mei
a80179e77f
Fix requires for 1.9 build. Hopefully now it will just fail for perf reasons :p
2011-03-10 23:18:52 -08:00
maxwell
7b0a354677
slight tweaks to pubsubhubub publishing
2011-03-10 12:17:34 -08:00
MrZYX
6d314e9394
fixed ostatus builder + spec
2011-03-10 15:17:56 +01:00
maxwell
337831bba2
move ostatus builder, actually added the file.
2011-03-09 18:01:48 -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
maxwell
f9279f9bbc
fixed public route not fetching posts, also an error in status_message activity markup
2011-03-09 17:08:41 -08:00
Raphael Sofaer
3f5844aaa0
Integerify logged time
2011-03-09 16:17:29 -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
3c4ec6d39d
LOG MORE STUFF
2011-03-09 14:29:49 -08:00
Raphael Sofaer
cf93bfc89b
improve hash logger a bit
2011-03-09 14:06:48 -08:00
Raphael Sofaer
f8c0906db7
Instrumenting activerecord object instantiation to do some profiling
2011-03-09 13:54:28 -08:00
Raphael Sofaer
c259fc65f0
You can now pass hashes to the logger
2011-03-09 11:48:29 -08:00
MrZYX
deeb8044f5
handle the case that admins is unset in the app_config.yml
2011-03-09 20:03:46 +01:00
MrZYX
b21ea3c85a
downcase usernames from the admins section in the AppConfig
2011-03-09 18:34:30 +01:00
danielgrippi
1f5edb1d92
Merge branch 'private_messages'
...
Conflicts:
app/controllers/status_messages_controller.rb
app/models/data_point.rb
app/models/status_message.rb
db/schema.rb
lib/fake.rb
public/stylesheets/sass/application.sass
spec/models/mention_spec.rb
2011-03-08 21:23:41 -08:00
zhitomirskiyi
9490538e44
checking for relayable in the dispatcher and the receiver
2011-03-08 11:55:17 -08:00
danielgrippi
fca5310c77
dispatch the conversation in ConversationsController
2011-03-07 17:54:25 -08:00
Raphael Sofaer
b7c3f93d25
Use delegation in PostFake, use render => :collection in stream
2011-03-07 12:20:46 -08:00
danielgrippi
48fff29bf6
fixed conversation receive. made visibilities on conversation :dependent => :destroy
2011-03-04 11:19:01 -08:00
zhitomirskiyi
9d7611f8d8
addedthe controllers and the views for the message and the conversation inbox, going to pull in some left nav styling
2011-03-02 12:27:57 -08:00
Raphael Sofaer
68f0f7ec21
Add rcov task
2011-03-01 18:12:42 -08:00
danielvincent
21fd546cd0
posts now have authors instead of people
2011-03-01 18:05:05 -08:00
Raphael Sofaer
0cb218bba0
Delete statistic and data point models
2011-03-01 16:54:12 -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
8a4ca3af0e
fix error on account deletion
2011-02-28 11:24:31 -08:00
MrZYX
0fc5f1c043
log the 'received comment but no corresponding post' case
2011-02-26 16:50:47 +01: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
faf026dec6
Update dispatcher to use HttpMulti job
2011-02-23 16:06:55 -08:00
zhitomirskiyi
61dd5a835a
default scope on contact
2011-02-18 17:38:02 -08:00
MrZYX
05a7b88899
I need this to run the specs… dunno why
2011-02-18 17:22:19 +01:00
maxwell
7ace73b84b
iz ms wip fixing contactController destroy
2011-02-17 18:05:21 -08:00
maxwell
17a801394e
work in progress. need to update the views for the controller changes
2011-02-17 18:05:21 -08:00
Raphael Sofaer
10805c1187
Log stacktrace lines from diaspora/lib as well as diaspora/app
2011-02-12 15:43:08 -08:00
Raphael Sofaer
8dc3e5efa8
restrict log lines a little further
2011-02-12 12:09:50 -08:00
MrZYX
e76c5068d1
Merge branch 'master' of github.com:diaspora/diaspora
2011-02-12 21:08:06 +01:00
MrZYX
6f4ffee1e4
small fix to logging
2011-02-12 21:07:46 +01:00
Sarah Mei
84d596ee47
Clean up the public/uploads folder after ci runs.
2011-02-12 09:16:12 -08:00
Raphael Sofaer
c173bf5104
reorder log line in SQL event
2011-02-11 16:29:38 -08:00
Raphael Sofaer
a9eef6018c
log bits of caller and a hashcode of caller, we'll probably want to take out logging caller as it may be slow
2011-02-11 15:55:02 -08:00
Raphael Sofaer
8db6f49e64
Log all sql
2011-02-11 11:12:03 -08:00
Raphael Sofaer
d17b4340e9
Log milliseconds, not microseconds
2011-02-10 16:02:26 -08:00
Raphael Sofaer
bb58544a70
Add logging for GC (slight slowdown, but worth it for the data)
2011-02-10 15:52:00 -08:00
maxwell
84325edeb8
Revert "added prune method"
...
This reverts commit 7078937311 .
2011-02-03 15:10:54 -08:00
maxwell
7078937311
added prune method
2011-02-03 14:47:04 -08:00
maxwell
7bfaf462c8
zomg actually set the db and use it
2011-02-02 15:33:19 -08:00
maxwell
450696fa60
added db to variables
2011-02-02 15:31:55 -08:00
maxwell
228c1a85e8
add equals
2011-02-02 15:12:51 -08:00
maxwell
f97c4ae5c9
adding loading of user and password from database.yml
2011-02-02 15:09:19 -08:00
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