Commit graph

1277 commits

Author SHA1 Message Date
Raphael
de3044fa0a Remove publisher selection remnants, fix posting 2010-08-24 15:55:35 -07:00
Raphael
10bd40d1a2 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 15:49:04 -07:00
Raphael
abafa03e92 Spec for posting to no group 2010-08-24 15:48:51 -07:00
maxwell
ec3d902c36 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 15:48:02 -07:00
maxwell
204c910f66 MS fixing small bugs, adding a very dump list of a groups that a friend is in for you 2010-08-24 15:47:44 -07:00
ilya
f3f2eb5abf Made it green now making it clean 2010-08-24 15:43:53 -07:00
Raphael
72c41a5ff8 User post now requires a :to field 2010-08-24 15:42:24 -07:00
ilya
1aef262165 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 15:24:18 -07:00
ilya
82d140aa80 trying to redeploy to get photos working 2010-08-24 15:23:58 -07:00
maxwell
92a2df5c77 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 15:23:02 -07:00
maxwell
2a28607bc6 Moved some prod changes into master 2010-08-24 15:22:48 -07:00
maxwell
51b2737dde fixed some album stuff 2010-08-24 15:21:27 -07:00
maxwell
46f062a5f3 fixing merge confilts 2010-08-24 14:50:01 -07:00
ilya
19e2c8f898 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 14:48:41 -07:00
ilya
17080730f8 opening the file in the set photo 2010-08-24 14:48:26 -07:00
maxwell
f5316fb3c1 Merge branch 'master' of github.com:diaspora/diaspora into production 2010-08-24 14:45:04 -07:00
Raphael
03abd1ac21 Remove statuS MESsages new page. TaKE New OUt OF ROutes 2010-08-24 14:44:32 -07:00
Raphael
ef9cf8fc52 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 14:41:04 -07:00
maxwell
13253d3591 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 14:40:50 -07:00
maxwell
de335e7366 MS messed with the temporary group picker thing: whatever, it is less annoying 2010-08-24 14:37:47 -07:00
Raphael
db33d94f07 Render nothing on status_messages create, Websockets now honestly
support multiple groups.
2010-08-24 14:36:03 -07:00
ilya
27de7f930a forgot the backer number set photo 2010-08-24 14:29:05 -07:00
ilya
d92ae1c871 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 14:22:47 -07:00
ilya
a70132fcdc IZ we update profile in zombie friends accept 2010-08-24 14:22:21 -07:00
maxwell
cc1f1e2f24 removed the plus button from the all people add a friend page 2010-08-24 14:16:54 -07:00
maxwell
4f63f60b03 MS merging, and added a dumb check for the email validating twice 2010-08-24 14:03:57 -07:00
maxwell
b4ab91043a MS added check for current user 2010-08-24 13:45:38 -07:00
Raphael
abf48cefd4 Putting back in both generate_key 2010-08-24 13:41:09 -07:00
Raphael
2814dfceb7 Deleted the wrong generate_key 2010-08-24 13:40:36 -07:00
Raphael
ebfe77fc6d Making warzombie work again 2010-08-24 12:17:06 -07:00
Raphael
d1c540439e Moved friending out to a lib file, specs all pass 2010-08-24 12:13:10 -07:00
danielvincent
c3cf135a3f tabs on top 2010-08-24 11:33:20 -07:00
Raphael
b5bb61a135 Merging master into production 2010-08-24 11:18:42 -07:00
danielvincent
85c268b5eb Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 11:12:04 -07:00
Raphael
fb33d955c9 Fix group show controller/view and haml error in nav 2010-08-24 11:11:25 -07:00
danielvincent
4ffb8e7fa3 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-24 11:07:56 -07:00
danielvincent
86146d195f moving stuff around to the header 2010-08-24 11:07:39 -07:00
Raphael
6ab6dc1c3a Removing some unused routes 2010-08-24 11:06:56 -07:00
Raphael
7ca9d1e791 Changed group_nav a little, deleted people_sidebar 2010-08-24 11:02:30 -07:00
maxwell
f172c9e1d2 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-23 18:45:31 -07:00
maxwell
a37b5ae09b IZ MS; added a basic salmon library to help with directed messages, and made an keyhash method 2010-08-23 18:45:20 -07:00
danielvincent
562656e96a added edit link for group 2010-08-23 18:42:30 -07:00
Raphael
ab4ad249df Forgot to return in that rescue 2010-08-23 17:09:20 -07:00
Raphael
21e2b323d0 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-23 17:05:33 -07:00
Raphael
e05956bddd rescuing 500 on friending someone that was already friends 2010-08-23 17:05:24 -07:00
danielvincent
2b125fdc66 fixed left friends bar a bit 2010-08-23 17:00:40 -07:00
danielvincent
f9a19e679f made header shorter 2010-08-23 15:27:34 -07:00
Raphael
dbb16faed1 Photo filename is now better 2010-08-23 15:10:19 -07:00
Raphael
0cff5a45a2 Deleting gridfs controller 2010-08-23 15:02:28 -07:00
Raphael
511f571ae5 Specs mostly pass again 2010-08-23 15:01:39 -07:00
Raphael
48959b3ded Merge branch 'master' of github.com:diaspora/diaspora 2010-08-23 14:45:20 -07:00
Raphael
76f2aa98ac Push to multiple groups 2010-08-23 14:45:13 -07:00
danielvincent
fb7e945fc2 removed useless if/else 2010-08-23 14:19:16 -07:00
danielvincent
60b7c30a8a Merge branch 'master' of github.com:diaspora/diaspora 2010-08-23 14:17:26 -07:00
danielvincent
d874ba3b38 dropdown menu for user 2010-08-23 14:17:05 -07:00
Raphael
5a02f92448 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-23 13:58:46 -07:00
Raphael
ae6f0fdc51 new photo form now loads through ajax 2010-08-23 13:58:33 -07:00
danielvincent
d9c091d3f8 search box in top nav 2010-08-23 12:43:12 -07:00
Raphael
0092069372 Take signed in check out of websocket js 2010-08-23 11:57:29 -07:00
Raphael
01dac4d173 Take tinymce out of layout 2010-08-23 11:56:06 -07:00
danielvincent
37a67b29a4 left/right arrow keys on photo show page go to prev/next 2010-08-23 11:22:55 -07:00
danielvincent
2355947d8e Merge branch 'master' of github.com:diaspora/diaspora 2010-08-23 11:05:36 -07:00
danielvincent
2d21ac0460 moving things around 2010-08-23 11:05:28 -07:00
Raphael
dc1dd07720 Don't crash on requesting a non-existent email address 2010-08-23 11:04:57 -07:00
Raphael
364cdfed22 Allowed email checking no longer so ridiculous 2010-08-23 10:20:19 -07:00
Raphael
15b2c23b51 Merge branch 'master' of github.com:diaspora/diaspora into pivots 2010-08-23 09:50:38 -07:00
maxwell
361adda6cd added group picker. sends the right params, but posts only have one group right now so thats a bummer 2010-08-22 22:20:34 -07:00
ilya
643c52fd62 making a clear text on the user index page 2010-08-19 18:10:55 -07:00
Raphael
8e253a6d49 Left in a merge marker 2010-08-19 16:20:38 -07:00
Raphael
f66b5f4006 Merge branch 'master' of github.com:diaspora/diaspora into pivots
Conflicts:
	app/controllers/users_controller.rb
	app/models/user.rb
	config/sprinkle/provision.rb
2010-08-19 16:09:08 -07:00
ilya
7eb1bb5a00 removing the sanity check 2010-08-19 14:36:15 -07:00
ilya
542c1769f9 doing a sanity check, that not requiring serialized key passes the validation 2010-08-19 14:25:34 -07:00
ilya
501d62f215 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-19 14:13:27 -07:00
ilya
f7608f6292 RS IZ trying to create user through instantiate in seed script 2010-08-19 14:12:52 -07:00
danielvincent
36b2445a11 added title to search page 2010-08-19 13:41:48 -07:00
maxwell
35f6856380 MS search and index works 2010-08-19 12:40:50 -07:00
maxwell
756278f498 MS added friend search, and allow for autodiscover 2010-08-19 12:37:34 -07:00
maxwell
c98c52ad14 MS IZ renamed the array 2010-08-19 12:17:29 -07:00
maxwell
02da9bf634 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-19 12:00:21 -07:00
maxwell
df435dc319 MS IZ made a reques form in the user index page 2010-08-19 11:59:58 -07:00
ilya
b723c5997e Merge branch 'master' of github.com:diaspora/diaspora 2010-08-19 10:49:18 -07:00
ilya
54afb1bad4 Rolling assign_key into setup_person 2010-08-19 10:49:04 -07:00
maxwell
9942aef5d4 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-19 10:46:58 -07:00
maxwell
5d25861dc6 IZ MS person profile page now displays only posts a user can see 2010-08-19 10:46:47 -07:00
ilya
2e463c0e69 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-19 10:23:48 -07:00
ilya
9b47e67a15 call the right method in before_validation_on_create 2010-08-19 10:23:40 -07:00
maxwell
af8448dd51 photos on the profile edit page now are only your photos, for now. also, no more remove friend button on your profile page 2010-08-19 10:20:43 -07:00
maxwell
8131e413a4 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-18 22:59:18 -07:00
maxwell
84cc598017 MS a couple of small bug fixes when updateing user profile....starting to attept friend index/search page 2010-08-18 22:58:57 -07:00
ilya
9e78c9b64c removing setup person 2010-08-18 21:58:29 -07:00
ilya
0a3277d306 maybe the instantiate method will help 2010-08-18 21:51:51 -07:00
ilya
0f6ec71dcd we need assign key as well 2010-08-18 21:45:41 -07:00
ilya
0c9f041f28 we need do bad things in the user for seeding the database 2010-08-18 21:42:37 -07:00
Raphael
7ce8f94d58 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-18 21:10:48 -07:00
Raphael
a23df47dbc Trying to merge in the pivots changes that we want in master 2010-08-18 21:10:42 -07:00
ilya
36c06349c5 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-18 20:59:18 -07:00
ilya
284601c6b1 got moved photo.image.stuff to photo.url[:stuff] 2010-08-18 20:59:01 -07:00
Raphael
701bec670f Merge branch 'master' of github.com:diaspora/diaspora into pivots
Conflicts:
	app/views/groups/index.html.haml
	config/deploy_config.yml
2010-08-18 20:50:28 -07:00
Raphael
0459631d47 Show debug 2010-08-18 20:49:06 -07:00
ilya
3243435015 the album create doesn't crash the app 2010-08-18 20:14:31 -07:00
ilya
ef15cddf19 RS, IZ a slash 2010-08-18 18:13:17 -07:00
ilya
5cae2b21b1 RS, IZ fixed the url for the image 2010-08-18 18:06:13 -07:00
ilya
f6892b88d6 photo.remote_photo is relative 2010-08-18 17:50:13 -07:00
ilya
76b4b55e98 Added spec for remote photo url setting to photos 2010-08-18 17:39:38 -07:00
ilya
4019e4425a Checking for failing to set url in photo 2010-08-18 17:12:28 -07:00
ilya
b279d6582b Merge branch 'master' of github.com:diaspora/diaspora 2010-08-18 16:59:52 -07:00
ilya
803de25cc0 DG IZ albums are now posts 2010-08-18 16:59:19 -07:00
Raphael
5a2b42e4e5 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-18 16:37:12 -07:00
Raphael
7ed31ab96a Moving to file store 2010-08-18 16:37:05 -07:00
ilya
516a667ce4 going back to showing the first group on the index page 2010-08-18 16:35:11 -07:00
ilya
5de9362933 DG IZ setting group id to nil and changing the deploy script for renaming of the repo 2010-08-18 16:27:08 -07:00
ilya
d0b2a23fcb Merge branch 'master' of github.com:diaspora/diaspora 2010-08-18 16:17:00 -07:00
ilya
21f70c643d DG IZ; moved update_profile from Person into User. removed notify_people methods. temporarily broke album pushing 2010-08-18 16:15:10 -07:00
Raphael
ac694eda8c A bunch of dumb checks to make the group index publisher pass tests 2010-08-18 15:42:06 -07:00
ilya
1ab21fe8b1 Merge branch 'master' of github.com:diaspora/diaspora 2010-08-18 15:25:23 -07:00
ilya
08739ad23d DG IZ; retractions remove post references in group objects 2010-08-18 15:23:46 -07:00
Raphael
70247f987b Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots 2010-08-18 15:04:30 -07:00
Raphael
a52077b176 Redirect to the group you put someone in after adding them as friends 2010-08-18 14:57:53 -07:00
Raphael
61c906a9d3 Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots
Conflicts:
	app/models/user.rb
	app/views/groups/index.html.haml
	config/deploy_config.yml
2010-08-18 14:45:41 -07:00
Raphael
f570199d17 Add a couple specs to groups, moved socketing into each block, unclear where or why groups are being created wrongly 2010-08-18 14:30:16 -07:00
Raphael
0cc5cc5487 Merge branch 'master' of github.com:diaspora/diaspora_rails
Conflicts:
	app/models/user.rb
2010-08-18 12:20:07 -07:00
ilya
034755368b Merge branch 'master' of github.com:diaspora/diaspora_rails 2010-08-18 12:17:23 -07:00
Raphael
9b2f2bbddf Move socketing out to method from receive 2010-08-18 12:14:47 -07:00
ilya
f5811df5b7 DG IZ; added info text to add new friend button 2010-08-18 11:59:20 -07:00
Raphael
5e439bdb28 Ensure_bson on groups_with_person 2010-08-18 11:56:11 -07:00
Raphael
b7d648e173 Validate presence of name on group 2010-08-18 11:54:44 -07:00
Raphael
4cd46abaac render nothing at the top 2010-08-18 11:48:32 -07:00
Raphael
10aef7a0a3 Begin rescue on publics controller to make the post for nonexistent user error more readable 2010-08-18 11:46:28 -07:00
ilya
4d86933f4a DG IZ; user's visible posts method queries group objects for their posts 2010-08-18 11:40:02 -07:00
Raphael
d640c0672f switch deploy branch to actually be one we are working on 2010-08-18 10:56:09 -07:00
ilya
055c222fc2 DG IZ; using group_id instead of group in post method. passing in :group_id into publisher partial 2010-08-18 10:53:43 -07:00
ilya
b0088c73d8 DG IZ; user's own post gets referenced in group model 2010-08-18 10:37:33 -07:00
Raphael
1685e0c28b Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots
Conflicts:
	app/models/user.rb
2010-08-18 10:13:25 -07:00
Raphael
045878de64 call ensure_bson once in visible_person_by_id and group_by_id 2010-08-18 10:12:22 -07:00
Raphael
b99a86e6bd Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots
Conflicts:
	app/models/user.rb
2010-08-18 10:10:20 -07:00
Raphael
9a188fd9f0 Don't try to unsocket albums 2010-08-18 10:08:38 -07:00
Raphael
36f8289522 Fixing retractions on albums, adding back remove_from_view 2010-08-18 10:03:37 -07:00
danielvincent
2409fd3f20 user page doesn't give an error anymore. fixed visible_person_by_id to return self.person instead of self 2010-08-18 02:40:53 -07:00
Raphael
539316a235 Removing posts relation from person 2010-08-17 23:50:07 -07:00
Raphael
98a0a3032a Merge branch 'master' of github.com:diaspora/diaspora_rails 2010-08-17 23:28:00 -07:00
Raphael
42cc1da9f6 Removing posts array from person 2010-08-17 23:27:17 -07:00
ilya
501bcdd197 Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots 2010-08-17 23:25:33 -07:00
ilya
c501707f80 DG IZ posts_for to visible posts 2010-08-17 23:24:42 -07:00
Raphael
4a4686ce6e refactored signature validation got specs passing 2010-08-17 23:21:00 -07:00
ilya
55b4d4758f Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots
Conflicts:
	app/models/user.rb
	spec/models/user_spec.rb
2010-08-17 22:58:46 -07:00
Raphael
cb152ea3c3 Shortened user receive, moderated groups.first in the socketing 2010-08-17 22:34:01 -07:00
Raphael
55d84b3288 Broke up user spec, put user update back in routes 2010-08-17 22:03:45 -07:00
Raphael
82f53663ab remove user index 2010-08-17 20:39:05 -07:00
Raphael
9285839296 Merging in socket-group 2010-08-17 20:30:30 -07:00
Raphael
20bc88c0bf Merge branch 'socket-group' of github.com:diaspora/diaspora_rails 2010-08-17 20:19:29 -07:00
Raphael
9fcc02a580 Ensure bson on visible person 2010-08-17 19:56:21 -07:00
Raphael
9f9395bc9c visible_person_by_id should check against self.person.id 2010-08-17 19:51:29 -07:00
Raphael
456e9e9634 Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots
Conflicts:
	app/models/user.rb
2010-08-17 19:34:19 -07:00
Raphael
48756e77f3 Friend_by_id changed to visible_person_by_id 2010-08-17 19:32:42 -07:00
Raphael
eb84b39f93 change before to after 2010-08-17 19:11:59 -07:00
Raphael
e8e141b24e Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots 2010-08-17 19:04:03 -07:00
Raphael
2b8e637934 no names in publisher 2010-08-17 19:03:47 -07:00
Raphael
f75ff0b680 Remove links from publisher 2010-08-17 18:57:26 -07:00
Raphael
86afa7a987 Remove bookmarks and blogs 2010-08-17 18:56:42 -07:00
Raphael
4fe6a54c09 seed groups 2010-08-17 18:54:27 -07:00
Raphael
1c91faa2c5 Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots 2010-08-17 18:52:35 -07:00
Raphael
43160496c9 Tommy 2010-08-17 18:52:15 -07:00
Raphael
d554b3ef1a flashsocket 2010-08-17 18:49:23 -07:00
ilya
2614cb5add DG IZ; find_all_by instead of find_by 2010-08-17 18:37:08 -07:00
Raphael
ffc9b00489 taking group seed out 2010-08-17 18:35:33 -07:00
Raphael
07549ed17e Start with a group' 2010-08-17 18:30:08 -07:00
Raphael
8619584834 things mostly working 2010-08-17 18:27:50 -07:00
ilya
f4f377e7e7 DG IZ finding albums by person_id 2010-08-17 18:26:48 -07:00
ilya
daf08cd9f9 DG IZ posts by the user get websocketed on the group page and albums
get signed?
2010-08-17 18:06:35 -07:00
Raphael
6901b4f83e Devise routes 2010-08-17 17:54:20 -07:00
Raphael
7186f3537a Move back paragraph tag in confirmations view 2010-08-17 17:48:00 -07:00
ilya
f15b3c46b2 DG IZ; reverted to before removing latest message methods 2010-08-17 17:40:48 -07:00
Raphael
bb85c46be1 syntax error 2010-08-17 17:28:17 -07:00
Raphael
244023ac47 Infield labels on sign in 2010-08-17 17:26:37 -07:00
Raphael
6f24a454c8 merge 2010-08-17 17:23:37 -07:00
Raphael
fb84daf68a Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots 2010-08-17 17:21:38 -07:00
Raphael
1aefaedda1 merge 2010-08-17 17:21:10 -07:00
Raphael
08de5caf97 make signup page look better 2010-08-17 17:20:29 -07:00
ilya
054dafdf99 couple more 2010-08-17 17:16:11 -07:00
ilya
c1ff8544d3 removed a couple of js lines 2010-08-17 17:04:37 -07:00
ilya
e5036862f6 DG IZ removed the latest message javascript as well as the hash 2010-08-17 16:49:58 -07:00
Raphael
26a892ab4c putting email verification back in 2010-08-17 16:43:54 -07:00
ilya
d211abb1bc DG IZ on page for group js method now returns true 2010-08-17 16:32:14 -07:00
ilya
d5d1a2d00f DG IZ; javascript variable misnamed 2010-08-17 16:29:51 -07:00
Raphael
ba83cb9d29 Index on email 2010-08-17 16:24:52 -07:00
ilya
5e95650ae3 DG IZ logger info 2010-08-17 16:11:25 -07:00
ilya
f70cf4a60a DG IZ first group for now, added logging statements 2010-08-17 16:09:55 -07:00
ilya
7d68089c8b DG IZ using group_id when passing the id around the app 2010-08-17 16:02:12 -07:00
ilya
87bc9dad1d DG IZ added group id to the action hash 2010-08-17 15:27:12 -07:00
Raphael
88cb7aaa8b Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots 2010-08-17 14:52:17 -07:00
ilya
fd539926c2 DG IZ; changed variable 'c' to 'comment' 2010-08-17 13:59:58 -07:00
Raphael
063164fea2 comma 2010-08-17 13:59:57 -07:00
Raphael
0fdb337076 Confirmable 2010-08-17 13:57:45 -07:00
ilya
b5c6bbd1df DG IZ; moved commenting methods into User (from Person). 2010-08-17 13:56:52 -07:00
Raphael
771c594814 Take out pivotal only for a second 2010-08-17 13:49:18 -07:00
Raphael
e6768cb5c8 helper method 2010-08-17 13:21:29 -07:00
Raphael
1d6e132a9f Merge branch 'master' of github.com:diaspora/diaspora_rails into pivots 2010-08-17 13:07:26 -07:00
Raphael
d5c608c7ae Removing welcome home line 2010-08-17 13:07:11 -07:00
Raphael
842b321dfa User email checking, routes working again 2010-08-17 13:02:42 -07:00
ilya
2a90e59f1e DG IZ the group should view the posts for the group (and yourself) w 2010-08-17 12:22:14 -07:00
ilya
2af41a0ea9 DG IZ; posts_for :group method in User 2010-08-17 12:14:02 -07:00
Raphael
ccbbf40584 validation lambda out to method 2010-08-17 11:48:59 -07:00
Raphael
015940b60e Pass to the lambda 2010-08-17 11:45:47 -07:00
ilya
4f8b8ad3c5 DG IZ saving the post 2010-08-17 11:03:31 -07:00
Raphael
453cb06691 changing settings and deploy scripts, validating email 2010-08-17 11:01:30 -07:00
ilya
7316c6073c DG IZ local person bug 2010-08-17 10:58:50 -07:00
ilya
0af6f7b0e5 Merge branch 'master' of github.com:diaspora/diaspora_rails 2010-08-17 10:48:47 -07:00
ilya
5dff3369ad DG IZ; removed puts statements. 2010-08-17 10:48:40 -07:00
ilya
a9c9619a54 DG IZ; posting from a user includes adding to the many posts association in said user 2010-08-17 10:43:18 -07:00
Raphael
72559cbce1 Merge branch 'master' of github.com:diaspora/diaspora_rails 2010-08-17 10:37:18 -07:00
Raphael
50919ef491 Requesting now searches the local server by email for a matching person. 2010-08-17 10:37:09 -07:00
ilya
5761d5db36 Merge branch 'master' of github.com:diaspora/diaspora_rails 2010-08-17 10:35:37 -07:00
ilya
dea6551374 DG IZ; moved post() into User from Person. 2010-08-17 10:35:25 -07:00
Raphael
e32315b6c6 Merge branch 'master' of github.com:diaspora/diaspora_rails 2010-08-17 10:25:11 -07:00
Raphael
2c1c5df281 Moved search specs, renamed method 2010-08-17 10:24:59 -07:00
ilya
fc7f59bdfc DG IZ stream for the current user's posts 2010-08-17 10:13:23 -07:00
danielvincent
7e5ace7cbc minor cleanup in models 2010-08-16 22:44:22 -07:00
ilya
1d92d11841 DG IZ; user refs are incremented as well as decremented for Posts 2010-08-16 20:39:24 -07:00
ilya
74c70d9410 Merge branch 'master' of github.com:diaspora/diaspora_rails
Conflicts:
	app/models/user.rb
	spec/lib/diaspora_parser_spec.rb
2010-08-16 18:18:30 -07:00
ilya
b5594ad6bc DG IZ; post user refs started (permissions) 2010-08-16 18:11:23 -07:00
Raphael
eae4053902 Encryption removed from callbacks, except retractions sort of. verification is in user.receive 2010-08-16 17:23:54 -07:00
Raphael
fbee1aabb1 Special casing comments from people that you are not friends with so it accepts them 2010-08-16 16:32:20 -07:00
Raphael
3ff4387cd8 Merge branch 'master' of github.com:diaspora/diaspora_rails 2010-08-16 16:22:55 -07:00
Raphael
ad07521e07 Made a few more tests pass 2010-08-16 16:22:46 -07:00
ilya
b3d8f59c77 removed many posts association within group model 2010-08-16 15:51:31 -07:00
Raphael
3a591b0713 Merging in friend-refactor... 2010-08-16 15:35:14 -07:00
ilya
16a4cbc4e2 DG IZ redirect to requests on error 2010-08-16 15:21:45 -07:00
Raphael
6bb8c52dc4 Syntax error in requests 2010-08-16 15:16:29 -07:00
ilya
7e7b71efd4 Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into friend-refactor 2010-08-16 15:08:36 -07:00
ilya
33ed838b79 DG IZ added an error message on request delete 2010-08-16 15:08:05 -07:00
Raphael
2e3066d82d Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into friend-refactor 2010-08-16 15:04:20 -07:00
Raphael
b0537e2f34 Comments pushing in the right directions 2010-08-16 15:04:09 -07:00
ilya
4a36df29e5 DG IZ now the links are of button style 2010-08-16 14:59:23 -07:00
ilya
92aa72447f DG IZ fixed the css in selector 2010-08-16 14:57:30 -07:00
ilya
373321beef DG IZ made the selector box going to the right thing by passing only the id 2010-08-16 14:52:59 -07:00
ilya
97e5468cea adding the user to the correct group 2010-08-16 14:46:15 -07:00
ilya
6a3eb97fd4 Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into selector 2010-08-16 14:43:13 -07:00
ilya
b1c29083df changed the link data-method 2010-08-16 14:34:16 -07:00
Raphael
fa2e621b0f Syntax error 2010-08-16 14:24:30 -07:00
Raphael
e4af2ccb1f Rename send_comment to dispatch_comment, simplify it 2010-08-16 14:22:14 -07:00
Raphael
71aaa9240c only socket if the object isn't yours 2010-08-16 14:18:08 -07:00
Raphael
b463958f0d Check ownership on the comment's post 2010-08-16 14:06:52 -07:00
Raphael
deeb4832c1 Error: insufficient parenthases 2010-08-16 14:02:26 -07:00
Raphael
1f40ea23b6 logging is awesome 2010-08-16 13:58:05 -07:00
Raphael
91b0a1e8f9 PAAAARSER 2010-08-16 13:51:49 -07:00
Raphael
f8e2e6bf2d Infinite loops are the best 2010-08-16 13:49:48 -07:00
Raphael
598c646b07 Hack to get comments working for now 2010-08-16 12:56:02 -07:00
Raphael
e2d5bf909f Call right method in dev_utilities, clear junk out of comments helper 2010-08-16 12:45:31 -07:00
Raphael
1f0ca49ce5 url, not user.url 2010-08-16 12:29:26 -07:00
Raphael
fb8d3b3e85 Check for local person before destroying accepted request 2010-08-16 12:26:15 -07:00
Raphael
d7a9c3c087 Take out another couple friends.first and replace with friend_by_id 2010-08-16 12:18:36 -07:00
Raphael
4f22222b30 Splitting accept_friend_request into two methods 2010-08-16 12:10:23 -07:00
ilya
2bc9d0156d 2 arguments in the hidden field 2010-08-16 11:59:13 -07:00
Raphael
b37b8303d3 Check for friending yourself in requests helper 2010-08-16 11:55:32 -07:00
ilya
9df38199ab Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into selector 2010-08-16 11:50:51 -07:00
Raphael
00a9bd820b Parser confused :( 2010-08-16 11:50:43 -07:00
ilya
122da43058 Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into selector 2010-08-16 11:50:04 -07:00
Raphael
a8b402636a Shorten ensure_bson 2010-08-16 11:47:23 -07:00
Raphael
f4d6a04f4f Get objects by bson id 2010-08-16 11:46:36 -07:00
ilya
0ee03afe1d DG IZ selector box on request page 2010-08-16 11:39:33 -07:00
Raphael
4c731bf818 special-casing local webfinger 2010-08-16 11:29:14 -07:00
Raphael
6ae4c31e05 Person show should be scoped through user 2010-08-16 11:18:52 -07:00
Raphael
99fb383dc0 BSONify ids in by_id methods 2010-08-16 11:13:00 -07:00
Raphael
eb793ea129 Took out a couple more references to User.owner 2010-08-16 11:07:18 -07:00
Raphael
3efa36587a Took out a bunch of user.owner references 2010-08-16 11:01:58 -07:00
Raphael
26abc68236 Use group_by_id or friend_by_id, no querying on friends or groups 2010-08-16 10:50:38 -07:00
Raphael
0e67ef8d7e Inspect the friend before calling unfriended by 2010-08-16 10:38:36 -07:00
Raphael
ad2d8f8b46 Specify id field in the query whose result is passed to unfriended_by 2010-08-16 10:37:07 -07:00
Raphael
e84b25b3f5 Log the xml again 2010-08-16 10:31:39 -07:00
ilya
053ed9176d Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into friend-refactor 2010-08-16 10:00:25 -07:00
ilya
d0c02859e6 DG IZ got one more log statement in the user person retraction 2010-08-16 10:00:04 -07:00
danielvincent
f1f827120b intentional failing test in user for tomorrow. 2010-08-15 21:03:19 -07:00
danielvincent
80b81c1ae1 comment now validates presence of text. also, removed unused method overriding ==. 2010-08-15 19:28:59 -07:00
danielvincent
18cd4b858a broke out group index and show 2010-08-14 00:27:43 -07:00
danielvincent
c81ea5a632 minor changes 2010-08-14 00:21:10 -07:00
danielvincent
a7eab9e50c minor section header tweaks (album stuff) 2010-08-13 23:20:39 -07:00
ilya
22910ef4ce Check retraction signature on person retraction 2010-08-13 19:09:55 -07:00
ilya
99c8869b8f Removing a friend now deletes them from the group(s) they are in 2010-08-13 18:56:33 -07:00
ilya
ac40f7974e RS, IZ; A variety of fixes and some refactoring on unfriending and activate friend 2010-08-13 18:37:09 -07:00
ilya
bd271b7bec RS, IZ; Refactored the user unfriend and unfriended_by 2010-08-13 17:33:26 -07:00
ilya
c1d2f271d9 RS, IZ; close the file after writing the backer number 2010-08-13 12:43:27 -07:00
ilya
7e377fc292 RS, IZ; adding set backer number to routes, not authenticating it 2010-08-13 12:37:49 -07:00
ilya
23c57c653f RS, IZ; Trying to speed up cap db reset 2010-08-13 12:34:24 -07:00
ilya
5c9a96d245 That last commit was dumb, including the right module 2010-08-13 12:11:10 -07:00
ilya
0b23b959b4 Adding parser methods to devutilities, these should probably be in controller helpers 2010-08-13 12:06:29 -07:00
ilya
99eec04265 Using webfinger in dev_utilities 2010-08-13 11:59:54 -07:00
ilya
339f1a65e2 Removing friends check on zombiefriends 2010-08-13 11:50:43 -07:00
ilya
085dd61607 RS, IZ; changed zombiefriends to use webfinger 2010-08-13 11:43:30 -07:00
ilya
ef97b4f19d RS, IZ; updated DB seed to have a group, zombiefriend with a group 2010-08-13 11:36:59 -07:00
ilya
7bd1193c5e RS, IZ; wrote and tested user retractions actually removing people from the friend lists on retractions 2010-08-13 11:19:20 -07:00
ilya
1fcb033b68 RS, IZ; receiving a request no longer overwrites the group it is destined for, specs pass 2010-08-13 10:55:18 -07:00
ilya
23fc799b4d Turning up logging on friend request receive 2010-08-13 10:04:33 -07:00
ilya
af6c70db47 RS, IZ; hack to test requests, accepted friends go into the first group. 2010-08-13 09:56:18 -07:00
ilya
3d57fb7f78 Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into friend-refactor 2010-08-13 09:47:29 -07:00
ilya
5e33de7e56 unfriended method in the user 2010-08-13 09:47:08 -07:00
danielvincent
64c7a87aeb removed two bogus lines from user.receive 2010-08-13 08:57:22 -07:00
danielvincent
3d12e9ab51 DG RS; friending through groups 2010-08-12 21:30:16 -07:00
ilya
26bebbe393 MS IZ changing it back 2010-08-12 10:04:56 -07:00
ilya
9bec1131f6 Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into friend-refactor 2010-08-12 10:03:51 -07:00
danielvincent
f7e43ee3d0 photo fancybox indicates progress. unfortunately, it doesn't reset after you close it right now... 2010-08-12 00:27:26 -07:00