Raphael
3d7d8b51d2
Add a spec to user, fix a cucumber step for mysql
2010-12-26 21:05:48 -08:00
Raphael
5a1bd13831
Fix a couple more specs in mysql
2010-12-26 20:52:15 -08:00
Raphael
a6dcaa2327
Photo specs passing, 9 failures left in mysql
2010-12-26 20:33:21 -08:00
Raphael
3e7e99831a
14 failures after updating mysql branch to master
2010-12-26 17:25:07 -08:00
Raphael
b642cd6840
Merging master into mysql
2010-12-26 16:30:17 -08:00
danielvincent
4ff9622bfc
notifications now properly socket (not a hack through comments like before). notification badge updates on new messages.
2010-12-25 16:07:31 -05:00
Michael Sofaer and Raphael Sofaer
30d60021f4
11 Controller specs remain in mysql. ALMOST DONE
2010-12-24 14:12:55 -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
Michael Sofaer and Raphael Sofaer
82b226712f
Posting spec green
2010-12-24 09:58:11 -08:00
Michael Sofaer and Raphael Sofaer
426651d827
Fixed a few more specs, having trouble getting AR to return the count of distinct (once for all aspects a post is visible in) posts a user can see
2010-12-24 00:23:37 -08:00
Michael Sofaer and Raphael Sofaer
22a5832c01
Fix retraction related failures in mysql
2010-12-23 23:04:04 -08:00
Michael Sofaer and Raphael Sofaer
44093c9342
Status message spec now passes
2010-12-23 12:56:49 -08:00
Sarah Mei
2b7eeffd5b
Fix searching in mysql. It now does one query for all tokens. And person_spec is green!
2010-12-22 22:24:04 -08:00
Raphael
924bcca0e2
Isolated problem in status message marshalling, mysql
2010-12-22 21:34:45 -08:00
Raphael
d01fbeac04
33 failures left in mysql
2010-12-22 16:37:41 -08:00
Raphael
55492535c6
Fix some more specs, aspects controller is green in mysql
2010-12-22 14:15:45 -08:00
Raphael
baf0533466
logical failures on person spec, 25 failing model specs
2010-12-21 18:59:28 -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
659dfd36ed
Querying spec passes, 63 model spec failures
2010-12-20 18:49:07 -08:00
Raphael
f043c9cc7e
Took MongoMapper out of the bundle, trying to fix querying.
2010-12-20 16:53:56 -08:00
Raphael
dcf630fd9a
Request spec passes, no more scope on requests
2010-12-20 13:59:46 -08:00
Raphael
4c47d8334c
Add PostVisibility model, some more specs working
2010-12-20 13:23:05 -08:00
maxwell
e0883fb176
remove object_id for notifications thx sarahmei for pointing out my evil ways
2010-12-20 12:06:50 -08:00
Sarah Mei
c1bfbd358e
Fix 1.9 build. Apparently mongo mapper in 1.9 does not like contacts(:pending => false) - it has to be contacts.where(:pending => false). And now you know.
2010-12-20 02:50:38 -08:00
Raphael
d44e76a6aa
Down to 250 failures in mysql
2010-12-20 00:36:48 -08:00
zhitomirskiyi
e3f7bd319b
25 more passing tests
2010-12-19 21:41:46 -08:00
Raphael
51083e9659
Another 50 passes in mysql
2010-12-19 13:57:46 -08:00
Raphael
0c67e271df
Services are in mysql, contact_for and add_contact_to_aspect work again
2010-12-19 13:11:41 -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
danielvincent
bb0375d2f8
uploaded photos show in the publisher textarea instead of outside and above. fixed comment textarea on show pages.
2010-12-18 22:40:42 -08:00
Mike Sofaer, Raphael Sofaer & Sarah Mei
3fe2924a60
WIP moving to mysql
2010-12-18 21:16:39 -08:00
Mike Sofaer, Raphael Sofaer & Sarah Mei
5c21e220ff
post_spec now passes with mysql
2010-12-18 20:23:16 -08:00
Mike Sofaer, Raphael Sofaer & Sarah Mei
58f757b91d
profile_spec is passing with mysql... baby steps.
2010-12-18 18:45:55 -08:00
maxwell
427cf18324
fix birthday spec
2010-12-17 19:41:42 -08:00
maxwell
b3c63a3cc0
you can now unset the year of your birthday"
2010-12-17 18:05:13 -08:00
maxwell
c749d81fe9
putting a link to notifications, make them unread in the controller when you view the index
2010-12-17 17:06:48 -08:00
maxwell
5763b441be
fixing order of Notification.for
2010-12-17 11:37:33 -08:00
danielvincent
bc9352eabd
fix id/string error in receive local job
2010-12-16 18:21:06 -08:00
maxwell
e7cca604e6
refactored notifications
2010-12-16 17:30:35 -08:00
danielvincent
2758ea1625
fixed issue with diaspora handles not displaying in streams
2010-12-16 17:24:25 -08:00
Raphael
4da97be84b
Add benchmarks and logging to resque jobs
2010-12-16 16:48:36 -08:00
danielvincent
b4b6189321
time out a user session via devise after 10 minutes of inactivity
2010-12-16 15:50:00 -08:00
danielvincent
1465024f10
skipping receive process for incoming local posts, calling receive_object directly
2010-12-16 14:39:19 -08:00
maxwell
20ca2e2e93
make Notification.for return a query, not evaluate.. also limit notifications pulled back to 25
2010-12-16 11:16:09 -08:00
maxwell
d5ba34f245
Merge branch 'master' of github.com:diaspora/diaspora
2010-12-15 18:05:54 -08:00
Raphael
3b727dc887
Add share_with fancybox on search page, fix a couple of queries
2010-12-15 17:45:12 -08:00
maxwell
cb5982704e
dont url escape, xml escape
2010-12-15 17:43:46 -08:00
maxwell
8ec85d3b12
basic notifications
2010-12-15 17:31:36 -08:00
Raphael
b22398951e
Send requests from the aspect list on the person show page
2010-12-15 14:48:14 -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
maxwell
9555fae33d
no notifications on retractions
2010-12-15 13:14:46 -08:00
maxwell
d5edc9b477
CGI::escaping for proper, good juju activity streams
2010-12-15 12:27:52 -08:00
maxwell
a7d36615e6
adding basic notification class
2010-12-15 12:11:37 -08:00
Raphael
bd31ff3ee3
Fix request validations, build.
2010-12-15 10:48:29 -08:00
danielvincent
2cf332e120
Remove sent boolean from requests, finish migration
2010-12-14 19:27:18 -08:00
danielvincent
dea8d248e2
user only pushes to non-pending contacts
2010-12-14 19:11:35 -08:00
danielvincent
f1ee32145d
Remove pending_requests from user, just use Request.from and Request.to.
2010-12-14 19:00:03 -08:00
danielvincent
aef5abf631
Correct some queries, look at incoming requests in search, explicit pending false in activate_contact
2010-12-14 17:33:07 -08:00
danielvincent
b1c0facfe6
initiating a request now just creates a pending contact instead of persisting a request
2010-12-14 17:11:43 -08:00
danielvincent
fd9d1332fc
break service http into its own queue
2010-12-14 11:43:26 -08:00
maxwell
0bd13ec106
use blank instead of empty for the person#name helper
2010-12-14 11:30:06 -08:00
danielvincent
d6bb5291bc
Revert "Merge branch '348-change-email' of https://github.com/mblog/diaspora into mblog-348-change-email"
...
This reverts commit 2ac54eeffe , reversing
changes made to 3a13657087 .
2010-12-13 17:16:56 -08:00
mblog
d0355fdd43
Feature #348 : Change Email
2010-12-13 22:14:52 +01:00
Raphael
f861955d80
profile.image_url is set to :thumb_large in update_profile
2010-12-13 12:11:54 -08:00
maxwell
c774685d52
users can now disable email notfications
2010-12-10 11:47:10 -08:00
MrZYX
36043845ca
fixed requires for ruby 1.9
2010-12-10 17:25:02 +01:00
Alec Leamas
eacee54846
Replace APP_CONFIG[:terse_pod_url] with uri object.
...
Adds a new APP_CONFIG[:pod_uri] item, an uri object parsed from
pod_url. Replace all occurrences of APP_CONFIG[:terse_pod_url] with
APP_CONFIG[:pod_uri].host. Closes http://bugs.joindiaspora.com/issues/684 ,
using the well-defined semantics of the uri object.
The pod_url is normalized using module URI's functions, always with a
trailing /.
The diaspora-handle will always reflect the pod_url with this patch
i. e., a pod_url like www.dpod.se will give the handle xx@www.dpod.se ;
previous code stripped the www. prefix. If this is a problem, it
should be addressed by another setting, since one cannot presume that
www.domain.tld resolves to the same address as domain.tld.
2010-12-10 14:29:19 +01:00
maxwell
416a36ea9a
ugh
2010-12-09 20:32:39 -08:00
maxwell
23e635bf20
i am an idiot
2010-12-09 20:30:38 -08:00
maxwell
645519be32
require twitter and facebook?
2010-12-09 20:24:45 -08:00
maxwell
58dafd6792
get rid of post in service
2010-12-09 20:00:56 -08:00
maxwell
30e86c9d6a
add further warning
2010-12-09 19:29:25 -08:00
maxwell
bf56364019
tests for post to services resque job
2010-12-09 19:29:25 -08:00
maxwell
d81aa7dfe1
added specs for push_to_services, also rename the socket webfinger job spec because since it did not end with '_spec' it was not getting run
2010-12-09 19:29:25 -08:00
maxwell
9d37b2a749
small bugfixes for services refactor
2010-12-09 19:29:25 -08:00
maxwell
8fe2eb3180
starting migrations
2010-12-09 19:29:25 -08:00
maxwell
a4336a8e72
moar tests for services
2010-12-09 19:29:25 -08:00
maxwell
041e747db6
MSSM services are now broken out into seperate classes, and we cleaned up posting to them
2010-12-09 19:29:25 -08:00
Raphael
2be0666d80
Remove query from aspects manage, correct spec in User spec
2010-12-09 19:11:47 -08:00
zhitomirskiyi
10141742e5
Doing the query in mongo
2010-12-09 15:53:37 -08:00
Raphael
e406426b81
select only profile on most Person queries
2010-12-09 15:04:40 -08:00
Raphael
3a4caca397
Fix photo uploading in profile photos, style photo upload button better
2010-12-09 13:06:31 -08:00
zhitomirskiyi
23d2a92bf1
pushing the profile to to all the contacts
2010-12-09 11:51:35 -08:00
danielvincent
497dcccb8f
merge email and mail queues in resque
2010-12-07 23:40:07 -08:00
Hexagon
80c5c5c9f5
Cleaning up revert of #619 pull
2010-12-07 22:20:26 +01:00
Raphael
3ef5ac5252
Add some specs to Invitation, use I18n in InvitationsController
2010-12-05 14:37:43 -08:00
Raphael
4b1c36ca04
Timestamp services
2010-12-05 14:37:00 -08:00
Raphael
5a5bd13ceb
Take out extra person.save
2010-12-05 12:46:05 -08:00
danielvincent
e9742acc32
reverting http_post to a working state
2010-12-05 02:08:29 -08:00
danielvincent
d7407b7aa6
request -> resource
2010-12-05 02:03:03 -08:00
danielvincent
737e6084df
actually setting the timeout in restclient
2010-12-05 01:54:16 -08:00
danielvincent
648614aea5
add 4 sec timeout to restclient
2010-12-05 01:26:31 -08:00
maxwell
65c22020e8
fixing photo controllers spec
2010-12-05 00:45:13 -08:00
maxwell
2c09c35425
MS DG photos now delete sm if they are empty status messages, and status messages delete their photos
2010-12-05 00:45:13 -08:00
maxwell
a415ff5c5f
fixed the build. made photos dependent destroy with parent status message
2010-12-05 00:45:13 -08:00
Raphael
61e40debb5
Fix in find_for_authentication
2010-12-04 22:25:28 -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
4c4f5c6aa4
dispatch moved to resque. one failing test, globally stubbed out resque enqueue temporarily. TO AMEND.
2010-12-04 19:36:22 -08:00
maxwell
b3ca504c40
no periods in username
2010-12-04 19:28:08 -08:00
maxwell
8fb97072df
Merge branch '583-password-person-conflict' of https://github.com/flah00/diaspora into flah00-583-password-person-conflict
2010-12-04 18:40:17 -08:00
maxwell
55c0bd684b
remove some puts
2010-12-04 17:43:15 -08:00
maxwell
b9ab799569
ironing out invites
2010-12-04 16:49:45 -08:00
danielvincent
d1ad2efed1
HttpPost job now follows redirects
2010-12-04 15:23:54 -08:00
maxwell
88aa67dba7
actually put the post in the xml param where we expecting it. also, throw the errors so we know in whats going on in resque
2010-12-04 13:54:39 -08:00
maxwell
544ab993ac
only show the url when the post has photos
2010-12-04 11:58:34 -08:00
maxwell
c5f2e8bb2d
now you can not invite yourself. we have a bug as send_contact_request_to was taken out but Invitation still used it
2010-12-03 22:58:37 -08:00
maxwell
7dce94814c
fixing the invite user job
2010-12-03 22:41:16 -08:00
maxwell
0a831cfbf4
invites are now on the queue
2010-12-03 19:33:54 -08:00
danielvincent
a7823485c7
made http calls synchronous. messagehandler enqueues POSTs into resque.
2010-12-03 15:26:52 -08:00
maxwell
f4fa3191bc
just call Jobs::Receive directly for now
2010-12-03 15:03:32 -08:00
Philip Champon
2633dbc268
Issue 658: user object creation comes before person object creation,
...
preventing spurrious handle creation errors, if user creation
fails
2010-12-03 14:59:35 -05:00
danielvincent
71cae6b89f
Move request mail into resque
2010-12-03 11:51:04 -08:00
maxwell
c43077d318
fixed twitter, added logging for constants, added job for local recieve
2010-12-03 11:34:42 -08:00
MrZYX
dd326699bd
changed back consumer_token to consumer_key as its not only more consistent with twitters website it also causes less support (less users complaining that their twitter integration is broken) :)
2010-12-03 16:04:37 +01:00
Raphael
3ee246d873
Merge branch 'resque-receive'
...
Conflicts:
Gemfile.lock
2010-12-02 19:42:05 -08:00
Raphael
2e87bece60
Final fixes for person socketing
2010-12-02 19:03:15 -08:00
maxwell
579a288351
public posts are now accessible by your friends, and facebook and twitter include a permalink. we prob want to link shorten these bad boys(and it has a max length of 140 chars, with a permalink), also, facebook and twitter posting are sync, but that will make it more reliable
2010-12-02 18:48:50 -08:00
maxwell
11f04a060e
frustrated
2010-12-02 18:48:50 -08:00
maxwell
38d9d75162
posts now have public permalinks
2010-12-02 18:47:48 -08:00
Raphael
07fdabbbd4
Seperate queues for jobs
2010-12-02 15:34:54 -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
c76f38ca23
Write webfinger job for search
2010-12-02 12:35:26 -08:00
Raphael
6cfa6577a5
Add first resque job
2010-12-02 12:35:26 -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
119599bfeb
Revert "Commented-on posts bubble up to the top"
...
This reverts commit 6da410079b .
2010-12-02 09:51:26 -08:00
Raphael
6da410079b
Commented-on posts bubble up to the top
2010-12-01 15:38:56 -08:00
Raphael
c07b9b1874
Fix rest of specs
2010-12-01 15:38:56 -08:00
Raphael
199eb8945d
clean up posting spec, move socket_to_uid into add_to_streams
2010-12-01 15:38:56 -08:00
Raphael
836b5685f7
Change prune_aspect_ids to aspects_from_ids, seperate out non-backgroundable piece of posting from dispatch_post
2010-12-01 15:38:56 -08:00
Raphael
e63a29be64
Change v_aspect_ids to prune_aspect_ids
2010-12-01 15:38:55 -08:00
maxwell
7fc9d239b9
you can no longer send a request to yourself at the Request model level
2010-12-01 11:37:54 -08:00
Hexagon
5651ea1d33
Merge branch '619-gender-aware-translations' of https://github.com/siefca/diaspora into siefca-619-gender-aware-translations
2010-12-01 19:13:39 +01:00
Paweł Wilk
279b08ae4a
Added inflection of nouns by the grammatical gender for some languages.
...
- New module I18n::Backend::Genderize keeps configuration and adds :gender option to translate().
- Module methods in Genderize allow fast checking if language needs gender and guessing gender.
- jQuery in views/users/edit.html.haml shows and hides grammatical gender select list when needed.
- Span and select list in views/users/edit.html.haml allows to choose grammatical gender.
- Key :grammatical_gender in User model keeps grammatical gender information.
- Added some methods to language_helper.rb.
- UsersController is aware of grammatical gender and is able to guess it when "getting started".
2010-12-01 17:29:04 +01:00
Josh Lubaway
ecd1d2ecd6
Bug #624 Can't unset birthday
...
This change allows users to "unset" their birthday.
Previously the logic checked to see if all values for birthday were
present (year, month, day). If all values were present the update
would proceed.
Now, there is another condition. If all values are empty, then
also proceed with the update. Thus, allowing a user to "unset" their
birthday.
2010-11-30 21:23:47 -08:00
maxwell
ec05c21472
profile now knows about three images sizes, even in federation case
2010-11-30 13:40:41 -08:00
danielvincent
828635def9
Person#real_name -> Person#name
2010-11-30 13:01:53 -08:00
Raphael
fce428826c
Try to take photos query out of views
2010-11-29 23:41:03 -08:00
maxwell
e0efaa6317
made the checking for already connected more explicit. also, the check itself had a bug when we were calling self.to_id on a request, rather than self.to.id
2010-11-29 10:57:54 -08:00
danielvincent
c35be73978
added pending specs. traced the whole comment thing -- it works, but i couldn't figure out how to make these pending specs pass (re: should_receive)
2010-11-28 18:51:27 -05:00
danielvincent
05174436c0
comments should only be dispatched out to remote people from owner. for local people on the same pod, the comment has already been verified by the comment's authority (post owner).
2010-11-28 18:51:27 -05:00
danielvincent
f59c6e2427
refactored comments to work like status_messages in the controller. weird stuff was happening when using EM::next_tick; holding off on that for now.
2010-11-27 23:06:34 -05:00
Raphael
7ca124c002
Refactor views to not be so dumb.
2010-11-27 21:27:27 -05:00
Raphael
e8310f2a19
Take benchmarks out of real_name, memoize it
2010-11-27 18:04:31 -05:00
Raphael
cedf4302a7
real_name takes time
2010-11-27 17:43:07 -05:00
Raphael
7030ed0fed
Putting youtube titles back into status messages
2010-11-27 11:43:24 -05:00
Raphael
d5d4a08f03
Start moving youtube title getting into the post/comment flow
2010-11-27 01:00:47 -05:00
danielvincent
ce63e13eca
aspect ids normalized to posts to minimize queries on views.
2010-11-26 18:55:06 -05:00
Raphael
3a24eb900d
Refine log lines
2010-11-26 13:02:52 -05:00
Michael Sofaer and Raphael Sofaer
b54164cef8
Don't do expensive things on invalid users
2010-11-26 11:55:54 -05:00
danielvincent
94d08954d9
401 -> 406 in controllers resolving http basic auth prompt on failed comment/status message creation. fixed status message validation.
2010-11-26 00:19:19 -05:00
Raphael
a061999e30
Don't inspect people in logging statements
2010-11-25 18:03:34 -05:00
Sarah Mei
287b79ab17
Merge branch 'master' of github.com:diaspora/diaspora
2010-11-24 22:09:25 -08:00
Sarah Mei
aa4a61870c
you can click on photos in manage aspects to see profiles
2010-11-24 22:09:14 -08:00
Raphael
12c049fec2
Add logging to inviting
2010-11-25 01:06:25 -05:00
zhitomirskiyi
9ca54a2282
accepting an invitation correctly adds the request to the user
2010-11-23 18:58:26 -08:00
zhitomirskiyi
546e7876d5
correct logging of the invitation acceptance
2010-11-23 11:46:45 -08:00
zhitomirskiyi
ebaf2c081e
returning nothing on empty query and limit the returning of the query to 90
2010-11-23 10:02:01 -08:00
Raphael Sofaer
31a851e787
No guarantees on functionality here, editing from a browser.
2010-11-23 06:14:36 -08:00
maxwell
da16e3ee1e
PALINDROME invite form can now take comma seperated multiple emails, so you only have to click the box once
2010-11-23 00:08:30 -08:00
MrZYX
e72f4e1da7
translatable status is good again
...
made default aspects translatable
fix all the misssing translations I found
cleanup en.yml
2010-11-22 22:30:37 +01:00
danielvincent
857a4b5f11
photo large is now at 300px. a person's profile photo now references the larger size instead of medium.
2010-11-22 10:32:14 -08:00
danielvincent
9a18b7e6f3
photo show pages display comment streams for their original post. pending spec to do this *correctly* on the model level.
2010-11-22 00:32:46 -08:00
danielvincent
c841a47a37
status messages validate on presence of message OR one or more photos. took gifs out of carrierwave's whitelist, SORRY JAMIE.
2010-11-21 23:42:49 -08:00
danielvincent
752d50a6a9
editing captions on photos uses remote forms. removed photo in album from WSR.
2010-11-21 19:51:20 -08:00
danielvincent
b3ec4d10c2
user can now remove contact from aspects on contact's profile page. a contact's posts are retained in a given aspect reflecting the duration of said contact's inclusion.
2010-11-21 16:30:45 -08:00
maxwell
769c0e1055
DG MS trying to finish statusmessage refactor
2010-11-21 16:13:01 -08:00
maxwell
ea7bdfde28
fix validation and order of status message sent
2010-11-21 16:13:01 -08:00
maxwell
9b7d2ed0f6
DG MS; status messages can now have photos.
2010-11-21 16:13:01 -08:00
maxwell
fb0dc2db7e
added photos to status messages
2010-11-21 16:13:00 -08:00
maxwell
7fb751b00c
making photo uploader work better
2010-11-21 16:11:55 -08:00
Raphael
655e92ebdd
Add some scopes for Request, take putses out of specs
2010-11-18 18:04:29 -08:00
zhitomirskiyi
d0d261fdae
zero default invites, the rake task starts people with 5 invites
2010-11-18 16:23:35 -08:00
maxwell
970d56a007
basic batch inviter
2010-11-18 15:17:22 -08:00
Raphael
4853a55d9b
Don't expect raises from user receive
2010-11-17 15:35:25 -08:00
Raphael
6c97899d5d
Add logging statements, rescue callbacks in em-webfinger
2010-11-17 13:55:58 -08:00
Raphael
7876da8fb8
Refactor raises in requesting to validations in request, move to better controller structure
2010-11-16 16:18:16 -08:00
Sarah Mei
44bd4534ce
I found where we needed the one-line addition. Ruby 1.9 build now works.
...
I feel pretty badass.
2010-11-15 22:44:55 -08:00
Raphael
248e768846
search now sockets a person
2010-11-15 19:13:45 -08:00
Raphael
1b39b79446
Make invitation view with no inviters sensible
2010-11-15 16:35:00 -08:00
Raphael
03eea3fc08
Class not class_name
2010-11-15 11:49:16 -08:00
Raphael
2ad74d397c
fix build
2010-11-13 19:05:12 -08:00
danielvincent
60b272b243
remove validations on url for now to support ip addresses in pod_url field in app_config.yml
2010-11-13 14:55:40 -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
Raphael
390fffdee6
Fix new request view
2010-11-09 15:03:56 -08:00
Raphael
6dd58fe875
Specs pass again, invitations moved to Invitation model, refactor possibly complete
2010-11-09 14:07:26 -08:00
Raphael
4818973643
Beginning to refactor invitations into an Invitation class
2010-11-09 14:07:26 -08:00
Raphael
71ab919ad3
Remove urls from requests, invitations are broken
2010-11-09 14:07:26 -08:00
Raphael
70af10ee62
user#friends is now a many-foreign_key assoc, rather than a many-in
2010-11-08 15:19:23 -08:00
zhitomirskiyi
e50f29b032
the profile cannot massassign diaspora handle
2010-11-08 15:10:23 -08:00
maxwell
4a39d1a516
date now has a default nil value
2010-11-05 17:38:51 -07:00
maxwell
e4f8f558a0
aspects now have a max length of 20 characters
2010-11-05 17:18:20 -07:00
danielvincent
3ed10a22ff
xml_accessor creates attr_accessors in addition to xml_readers
2010-11-05 14:25:45 -07:00
Raphael
6468f0003b
Take out some xml accessors
2010-11-05 14:24:56 -07:00
maxwell
cc92f61583
mailer queue now works
2010-11-05 11:58:25 -07:00
Raphael
4eba0595f9
Fix 328 profile images dying, thanks to theBernd
2010-11-04 18:46:15 -07:00
Raphael
f6d899f1d9
Move prep_image_url into profile image_url setter
2010-11-04 18:46:15 -07:00
danielvincent
f4dba54ff3
posting to a person with a user on the same pod will send internally, skipping the http queue and encryption.
2010-11-04 15:33:16 -07:00
zhitomirskiyi
7f5b98a6cb
the photo image url is now randomized
2010-11-04 14:37:08 -07:00
danielvincent
9da7272e59
should query the correct collection on perform
2010-11-04 12:58:24 -07:00
danielvincent
b33aa9a0fb
retracting on a non existant post does not raise a permissions error.
2010-11-04 12:43:26 -07:00
danielvincent
82c82b8ccc
killed albums
2010-11-04 10:17:19 -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
zhitomirskiyi
0ac4c5b04f
IZ MS refactored invites to use user.build
2010-11-03 13:16:45 -07:00
Raphael
d5a4de58b3
User#post is now like a future controller, Photo#instantiate no longer saves
2010-11-02 19:16:02 -07:00
Raphael
1c67211ebc
Move post dispatching to dispatch_post
2010-11-02 19:16:02 -07:00
maxwell
0ecc27a935
MS IZ posts should now update
2010-11-02 18:56:00 -07:00
maxwell
4de89df4dc
MS IZ setting the diaspora handle in photo instantiate
2010-11-02 18:32:02 -07:00
maxwell
2f1fbaf686
temp. logging statement
2010-11-02 17:52:04 -07:00
danielvincent
e9f3efea79
person searchable by diaspora_handle
2010-11-02 16:48:58 -07:00
maxwell
8c89f8d87a
Merge branch 'master' of github.com:diaspora/diaspora
2010-11-02 16:42:52 -07:00
maxwell
51d419f41a
removed diaspora handle method from user
2010-11-02 16:42:37 -07:00
Raphael
a5dedc9bdb
User.build no longer saves people, user now has attr_accessible
2010-11-02 16:28:55 -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
danielvincent
fff43bf650
profile defaults key searchable to true. search takes searchable into account.
2010-11-02 16:12:42 -07:00
maxwell
c3d0c78bd1
Merge branch 'master' of github.com:diaspora/diaspora
...
Conflicts:
lib/diaspora/user/receiving.rb
2010-11-02 12:46:08 -07:00
maxwell
19bbf8ce4d
IZ MS; fixed post update. Posts which implement the mutable? method now can be updated via receive
2010-11-02 12:38:30 -07:00
Raphael
9d71ed1120
Merge remote branch 'robustdj/453-aspect-labels'
...
Conflicts:
app/models/user.rb
pkg/ubuntu/dist
2010-11-02 11:31:51 -07:00
Raphael
7fdd0475ae
robustdj's specs now green
2010-11-02 11:27:51 -07:00
danielvincent
a3ce5f1cd7
REMOVED IMPORTER
2010-11-02 11:17:47 -07:00
Sarah Mei
dc97c852f4
Person delegates first_name and last_name to profile.
2010-11-01 22:22:15 -07:00
maxwell
15d6cff837
MS IZ everything now uses diaspora handle. this feels so good
2010-11-01 18:42:42 -07:00
maxwell
06445901f8
IZ MS retrations for posts now green
2010-11-01 17:11:06 -07:00
danielvincent
f6b4be97a3
requests are almost there
2010-11-01 14:54:40 -07:00
Raphael
9d273c6d24
Now expecting a 500 on someone passing an id to create, should really be a 422
2010-11-01 12:31:00 -07:00
Raphael
6c0b187d40
Merge remote branch 'jwinky/446-user-name-length-limit'
...
Conflicts:
app/models/user.rb
2010-11-01 11:00:02 -07:00
Derrick Camerino
1a03dd799a
showing aspect labels when posting status messages
2010-10-31 23:26:04 -07:00
danielvincent
3f7955f978
removed two unused methods
2010-10-31 14:50:14 -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
5f85cf2588
Simplifying validations a little
2010-10-29 17:26:28 -07:00
Raphael
05cd57b02c
Merge branch 'master' of github.com:diaspora/diaspora
2010-10-29 16:56:40 -07:00
Raphael
555c15dfef
Simplify validations on user
2010-10-29 16:56:04 -07:00
danielvincent
5a9bfa7405
DG IZ; post senders are now verified by diaspora handles
2010-10-29 16:49:59 -07:00
Raphael
3d2dd073ea
Take diaspora_handle out of user
2010-10-29 15:52:54 -07:00
maxwell
a7b3fc48ec
https is now a valid url for people. thx grippi
2010-10-29 12:30:38 -07:00
Raphael
d753e31205
Merge remote branch 'ed0h/309-user-choose-language'
...
Add explicit language set to spec in users_controller_spec.rb
Conflicts:
app/models/user.rb
2010-10-29 12:06:14 -07:00
maxwell
8fe339b03b
EM websocket cleanly merged with master. webfingering is now async
2010-10-29 11:05:17 -07:00
danielvincent
a7df1bca68
photos do not require an album. uploading files on a user's photos#index page will post to all aspects.
2010-10-29 10:38:17 -07:00
Sarah Mei
14fedf5369
GAHHH STOP EMAILING ME (specs pass)
...
Also, added attr_protected to Photo#person and Photo#person_id.
2010-10-29 00:59:26 -07:00
Justin Wienckowski
cdcb693c95
Issue #446 : Adding 32-character length limit to User#username, Profile#first_name, Profile#last_name
2010-10-28 21:12:36 -07:00
Raphael
f1ae95fac9
443- patch trim on validation + spec
2010-10-28 20:03:49 -07:00
Raphael
512f40eac2
attr_accessible on Post
2010-10-28 15:50:19 -07:00
zhitomirskiyi
55b38585d6
Merge branch 'master' of github.com:diaspora/diaspora
2010-10-28 12:13:50 -07:00
zhitomirskiyi
f484eb957f
comments now don't imbed the person in the xml
2010-10-28 12:13:39 -07:00
danielvincent
bb9a6e47a4
added birthday and gender to Profile. fixed a view issue on getting_started#2
2010-10-28 11:01:16 -07:00
livefromthemoon@gmail.com
c4d8f4e587
remove two useless lines of code
2010-10-28 17:38:45 +02:00
livefromthemoon@gmail.com
b7a586b1a5
allow user to change his language in his settings
2010-10-28 17:29:17 +02:00
danielvincent
59858cd86b
opts[:person] set to empty hash only if not already defined. same with opts[:person][:profile]. rake db:reset works properly again.
2010-10-27 18:34:51 -07:00
danielvincent
1d5b7a87f1
Merge branch 'master' into getting-started
2010-10-27 18:14:08 -07:00
danielvincent
05c5e770ee
removed real name from signup process.
2010-10-27 16:25:22 -07:00
danielvincent
4ec11691cd
user has a getting_started flag, set true by default. aspect#index checks to see if getting_started flag is set.
2010-10-27 10:36:13 -07:00
zhitomirskiyi
63c740fce7
Merge branch 'master' of github.com:diaspora/diaspora into contact-refactor
2010-10-27 09:53:50 -07:00
Raphael
aa819d2113
Putting an index on Person#diaspora_handle
2010-10-26 19:16:16 -07:00
zhitomirskiyi
fa484e95e4
MS IZ refactored querying
2010-10-26 17:05:38 -07:00
danielvincent
385e1673ab
Merge branch 'master' into getting-started
...
Conflicts:
app/controllers/users_controller.rb
app/views/users/_account.haml
app/views/users/_profile.haml
2010-10-26 16:50:57 -07:00
zhitomirskiyi
1024b8a3a7
Merge branch 'master' of github.com:diaspora/diaspora into contact-refactor
...
Conflicts:
app/controllers/aspects_controller.rb
2010-10-26 14:57:52 -07:00
zhitomirskiyi
8acdf21234
MS IZ got rid of the requests for me scope in the user
2010-10-26 14:49:37 -07:00
danielvincent
69b1b71a5d
removed javascript slider. made each getting_started section its own page. added bio to profile (and changed xml_accessors to xml_readers).
2010-10-26 13:04:47 -07:00
zhitomirskiyi
e776389d19
Merge branch 'master' of github.com:diaspora/diaspora into contact-refactor
2010-10-26 11:19:50 -07:00
danielvincent
060d8f9c7b
DG MS; fixed some bugs with posting publicly.
2010-10-25 19:24:48 -07:00
zhitomirskiyi
917d1838de
MS IZ specs are green
2010-10-25 18:55:51 -07:00
danielvincent
287d633c44
user#post now handles posting to services.
2010-10-25 17:41:59 -07:00
danielvincent
b2e8ebd0bc
OmniauthService -> Service. Cleaned up views.
2010-10-25 17:41:59 -07:00
maxwell
c489f49a25
DG beginning to collapse twitter&facebook
2010-10-25 17:41:58 -07:00
maxwell
154b6e0ee7
MS DG added specs for posting to twitter, and basic services controller tests
2010-10-25 17:41:58 -07:00
maxwell
606c7a02a4
MS DG public message now post to twitter, if connected
2010-10-25 17:41:58 -07:00
maxwell
c4ff07b09a
twitter oauth dance complete
2010-10-25 17:41:58 -07:00
maxwell
b17ae0bf38
DG MS removed unused fb_status model and respective specs, fixtures.
2010-10-25 12:26:08 -07:00
ilya
c27f05ed42
Initial refactor done, need to stop mapping user.friends to people so much
2010-10-22 18:11:04 -07:00
ilya
7083d2aa03
Moving friendships into a 'Contact' proxy object.
2010-10-22 18:11:04 -07:00
maxwell
606a6bb43a
status message length is limited to 1000 chars.
2010-10-22 17:42:59 -07:00
maxwell
6913381781
username now can only contain letters numbers, periods, and underscores
2010-10-22 17:26:10 -07:00
maxwell
6720fa2c59
added tests to make sure Person.by_webfinger only returns exact matches
2010-10-22 16:28:03 -07:00
maxwell
837b418201
reverting, going to write a test
2010-10-22 15:37:22 -07:00
maxwell
bcec2d04e6
do not pass in the diaspora handle query as a regex, we want to search on the string literal. also use dynamic finder
2010-10-22 15:27:59 -07:00
Raphael
fe1a6bce20
Attr-accessible on aspects, check whether built user is persisted
2010-10-21 12:49:50 -07:00
ilya
6fa82490c9
remove friend from aspect box, with js call to remove the person from the aspect
2010-10-20 17:34:52 -07:00
danielvincent
65ffe2ecdd
Merge branch 'master' of github.com:diaspora/diaspora
2010-10-20 12:19:24 -07:00
danielvincent
61122b83d0
make profile button on photo show page. (removed clean hash on usercontroller)
2010-10-20 12:19:06 -07:00
ilya
e6de6179e9
MS IZ dependant destroy is back for aspects
2010-10-20 11:47:09 -07:00
ilya
992bd42b55
Merge branch 'master' of github.com:diaspora/diaspora
...
Conflicts:
spec/models/aspect_spec.rb
2010-10-20 11:30:06 -07:00
ilya
ea1ab59c3a
MS, IZ finished adding and removing people from aspects methods, refactored the move friend method
2010-10-20 11:28:56 -07:00
Raphael
961510a8ed
Rename instantiate! to build, no more raising in build, no saving in build, no seeding of aspects in build.
2010-10-20 11:03:47 -07:00
Raphael
f97f63e2d1
Merge remote branch 'tristil/239-380-identity-error-handling'
2010-10-20 10:36:03 -07:00
Raphael
e52e600a4d
Revert "Revert "Merge remote branch 'upstream/master'""
...
This reverts commit 3faca8380b .
2010-10-20 09:52:03 -07:00
Raphael
fd8028db33
Revert "Revert "Merge remote branch 'upstream/master'""
...
This reverts commit 1481056af2 .
2010-10-20 09:51:55 -07:00
ilya
4d1ce410d7
Merge branch 'master' of github.com:diaspora/diaspora
2010-10-20 09:39:32 -07:00
Alec Leamas
1481056af2
Revert "Merge remote branch 'upstream/master'"
...
This reverts commit fb70dc8c99 , reversing
changes made to 53fef63a9a .
Conflicts:
pkg/fedora/diaspora-setup
pkg/ubuntu/diaspora-setup
public/stylesheets/sass/application.sass
spec/models/user/attack_vectors_spec.rb
2010-10-20 14:59:55 +02:00
Alec Leamas
3faca8380b
Revert "Merge remote branch 'upstream/master'"
...
This reverts commit 4bb5aeb34b , reversing
changes made to fb70dc8c99 .
2010-10-20 14:52:18 +02:00
Raphael
a01c1c7461
Remove remove_all_aspects without ill effect
2010-10-19 23:54:12 -07:00
Sarah Mei
81ef7386b3
validation errors in profile and person bubble up to user.
2010-10-19 22:33:12 -07:00
Joseph Method
4b588ccefb
Addresses [ #380 ] and [ #239 ] by handling the errors from bad identities
2010-10-19 23:44:43 -04:00
ilya
38e8af2300
better querying
2010-10-19 19:16:44 -07:00
ilya
e3ffd2ffe7
Merge branch 'master' of github.com:diaspora/diaspora
2010-10-19 18:26:06 -07:00
ilya
b31b2de6f5
MS IZ aspect add and delete for a person
2010-10-19 18:25:59 -07:00
Raphael
9309be2d69
Merge branch 'import'
...
Conflicts:
spec/models/user/invite_spec.rb
2010-10-19 16:06:48 -07:00
Raphael
2c66bbbe00
Strip profile names, resolve 357
2010-10-19 13:51:31 -07:00
Raphael
962f282cbc
Validate uniqueness of aspect name, 359
2010-10-19 12:23:24 -07:00
Raphael
fce902821b
Remove downcasing of diaspora_handle, verify that diaspora_handle querying and validation is case insensitive.
2010-10-19 11:06:43 -07:00
maxwell
8ada8414c7
username can be any case, but diaspora handle should always, always, ALWAYS be lowercase, for webfinger reasons
2010-10-18 22:55:09 -07:00
ilya
d642928268
invite sends friend request if already friends, and raises if already friends
2010-10-18 16:27:02 -07:00
ilya
7ab2b00231
moved fb posting into the user model
2010-10-18 14:50:48 -07:00
ilya
a8bf082e35
The invitation now has an optional personal message
2010-10-18 14:35:41 -07:00
ilya
e648042b15
the user destroy now deletes the aspects
2010-10-18 10:26:45 -07:00
Sarah Mei
fcdcf88a79
Person.by_webfinger preserves case of identifier. Backfill specs for PublicsController#webfinger.
2010-10-17 12:18:53 -07:00
Sarah Mei
50f9e8f240
Reorganize User model. Preserve case of username.
2010-10-16 23:58:01 -07:00
Sarah Mei
f688653936
disallow whitespace in username
2010-10-16 23:34:58 -07:00
Sarah Mei
798d904e7e
strip username on create
2010-10-16 23:27:18 -07:00
Sarah Mei
d3a62c7a45
RegistrationsController#create deals with validation errors. Username, email, password now required on sign-up.
2010-10-16 22:02:51 -07:00
maxwell
341009e20f
Merge branch 'master' of github.com:diaspora/diaspora into maxwell
...
Conflicts:
Gemfile
Gemfile.lock
spec/models/user/invite_spec.rb
2010-10-14 23:02:06 -07:00
ilya
4a7c4e0848
requests are made on invite but perhaps they should be made on signup so that we have a person
2010-10-14 18:12:18 -07:00
maxwell
d61a227fc7
posts now serialize their created_at time
2010-10-14 16:49:08 -07:00
maxwell
a30a2666c6
merging
2010-10-14 16:32:37 -07:00
Raphael
d66c1e70bc
Merge remote branch 'bigbash/280-bug-fix'
2010-10-14 13:21:50 -07:00
maxwell
f2bdc98b47
Merge branch 'master' of github.com:diaspora/diaspora into import
2010-10-13 23:52:46 -07:00
maxwell
e1dd0cf6be
Fixed pending people_controller spec; cleaned up person.search(this is ruby :D ); fyi, calling should_receive stubs that method, hence this test confusion
2010-10-13 23:49:13 -07:00
maxwell
e218ab6780
Merge branch 'master' of github.com:diaspora/diaspora into import
...
Conflicts:
app/controllers/users_controller.rb
2010-10-13 23:09:48 -07:00
ilya
36b9f66f60
the invited user keeps track of who invited them, limit on invites,
...
removed the invites controller test
2010-10-13 16:52:33 -07:00
maxwell
b395208a51
DG MS; added more stuff to importer.
2010-10-13 16:42:27 -07:00
ilya
3b8998ab71
Invitations contains the inviters
2010-10-13 13:29:45 -07:00
Shawn McGuire
711dcdc5f4
Issue #280 Fixed trailing whitespace error
2010-10-13 14:36:03 -05:00
ilya
bf42b5766c
Merge branch 'master' of github.com:diaspora/diaspora
2010-10-13 11:20:43 -07:00
Raphael
9a1590fa02
Move user module requires out to the user modules definition file
2010-10-13 11:18:06 -07:00
ilya
db1a01d51b
Merge branch 'master' of github.com:diaspora/diaspora
2010-10-12 18:24:20 -07:00
ilya
324f14c719
setting the token to nil on accept of invite
2010-10-12 18:23:59 -07:00
Raphael
fe0120cc0d
Return everyone on an empty search
2010-10-12 18:18:03 -07:00
ilya
d6b08de6fc
corrected link on the account page
2010-10-11 15:07:17 -07:00
ilya
bb7e2a9918
Merge branch 'master' of github.com:diaspora/diaspora
2010-10-11 14:58:22 -07:00
ilya
007f6cfb6f
close account
2010-10-11 14:58:11 -07:00
danielvincent
9bfb213465
Merge branch 'invites' of github.com:diaspora/diaspora into invites
2010-10-11 11:52:57 -07:00
Raphael
73e4d2b25b
Pull in search improvement, remove cruft
2010-10-11 11:08:54 -07:00
Raphael
fe360e386a
Merge remote branch 'rmaskey/master' into search
2010-10-11 10:47:24 -07:00
maxwell
0541833c18
stop the file include madness. using File.join and Rails.root for includes everywhere I could
2010-10-10 11:54:08 -07:00
rmaskey
94f20ba684
resolution for issue #151 - search with multiple words
2010-10-10 08:43:43 -07:00
ilya
8e61b438ab
setting the username
2010-10-08 16:00:58 -07:00
Raphael
a720694364
Make logging less verbose
2010-10-08 15:51:12 -07:00
Raphael
b7bf526b91
Make logging message clearer
2010-10-08 15:47:30 -07:00
ilya
ef3e627bed
the users are now made with people
2010-10-08 15:40:42 -07:00
danielvincent
154ec95717
killed the public tab. made a broadcast button in everyone tab
2010-10-08 14:06:49 -07:00
ilya
ddb98502b9
setup the controller, still need to make the person
2010-10-07 19:25:34 -07:00
ilya
4ecda6ab8f
Merge branch 'master' of github.com:diaspora/diaspora into invites
...
Conflicts:
Gemfile
Gemfile.lock
2010-10-07 18:20:51 -07:00
danielvincent
2e73104d6f
DG MS; updated BSON gems, added devise-mongomapper gem fix, using unforked devise 1.1.2
2010-10-07 18:17:26 -07:00
ilya
3c61365fa1
initial invitable in user
2010-10-07 18:11:17 -07:00
Raphael
1fd3aeabd9
Add or later to license notice
2010-10-07 16:25:34 -07:00
Raphael
d7bbb66d27
Run whitespace:cleanup
2010-10-07 10:47:37 -07:00
ilya
131e905322
fixed the public route
2010-10-06 19:05:43 -07:00
danielvincent
66b356b5fe
moved public route
2010-10-06 18:14:37 -07:00
danielvincent
7c4feb7464
better log message
2010-10-05 17:34:03 -07:00
kook
85b384010e
exchange photos on adding new friend
2010-10-05 17:18:51 -07:00
danielvincent
830b3772d5
self reference in atom
2010-10-05 16:59:55 -07:00
danielvincent
09b861c7a3
remove .atom from public url
2010-10-05 16:51:27 -07:00
danielvincent
6723a51149
correctly indent xml
2010-10-05 16:40:50 -07:00
danielvincent
f3c34692d8
pubsub support
2010-10-05 13:39:56 -07:00
ilya
ce4f8cab8b
not encrypting the entire thing
2010-10-03 17:39:16 -07:00
ilya
304e4ad32b
removed the puts
2010-10-02 12:37:53 -07:00
ilya
7dcde292e1
user posting spec is now green, now stubbing on the apropriate method
2010-10-02 12:34:16 -07:00
ilya
b6a912dd02
slowly getting specs to pass on with the new api
2010-09-30 15:17:53 -07:00
danielvincent
15a4609c14
moved user's public route to user controller. changed person.public_url to reflect change.
2010-09-27 22:30:16 -07:00
danielvincent
eb7244e07c
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-27 19:07:01 -07:00
danielvincent
26a4dc76a6
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-27 18:34:55 -07:00
danielvincent
df800dc87e
ostatus builder
2010-09-27 17:58:44 -07:00
ilya
6e407572c4
removed unused repost method, going through the warden object
2010-09-27 17:27:49 -07:00
ilya
c2b84fd9c6
added a public key to post
2010-09-27 16:59:54 -07:00
ilya
08b9aa864a
Merge branch 'master' of github.com:diaspora/diaspora into fb
...
Conflicts:
app/views/layouts/application.html.haml
app/views/shared/_publisher.haml
app/views/shared/_sub_header.haml
app/views/users/edit.html.haml
config/deploy_config.yml
config/routes.rb
2010-09-27 15:39:50 -07:00
ilya
98bc2df841
removed the encryption key= method, and user with private key factory
2010-09-27 10:10:54 -07:00
ilya
cf0df90dae
moved the private key into user where it belongs, two failing cucumber tests
2010-09-26 22:08:42 -07:00
Sarah Mei
68a8ecb05f
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-26 13:08:56 -07:00
Sarah Mei
0ec074be6d
Remove annoying deprecation warning from spec runs
...
Add spec for validation hook
2010-09-26 10:00:29 -07:00
Dorian
6ffc03a4c9
Big clean up: delete trailing whitespace
2010-09-26 12:48:40 -04:00
Stephen Caudill
536cea5e44
Remove consecutive empty lines
2010-09-25 12:06:39 -04:00
ilya
e414558f79
passing the right things to the partial
2010-09-24 15:52:29 -07:00
Raphael
004e659ee1
fix album posting
2010-09-24 15:10:49 -07:00
ilya
ac9854596f
fb_status partial rendered in public
2010-09-24 15:04:31 -07:00
ilya
bb58678556
added a fb_status model & parser method
2010-09-24 14:41:31 -07:00
Raphael
40120bb441
Moving to activemodel validations
2010-09-24 11:15:39 -07:00
Raphael
b9bff76054
Initial 1.9.2, specs fail (possibly validatable), need to pull in aredridel photo fixes
2010-09-24 09:49:42 -07:00
Raphael
70a22ae839
Merge branch 'master' into HEAD
...
Conflicts:
app/models/post.rb
app/models/user.rb
config/initializers/socket.rb
2010-09-24 09:15:10 -07:00
Raphael
ed6df7d1bf
Delete user.terse_url
2010-09-23 10:24:10 -07:00
danielvincent
81250c0e9d
Merge branch 'master' of github.com:diaspora/diaspora into reposting
2010-09-22 15:49:13 -07:00
danielvincent
e9d16cc09b
DG IZ; cleanup
2010-09-22 15:48:50 -07:00
root
aaa4d75a5e
Merge branch 'master' of http://github.com/diaspora/diaspora
2010-09-22 16:41:43 -04:00
danielvincent
6dd7911c8c
DG IZ; update_or_repost
2010-09-22 10:52:29 -07:00
ilya
6bd22034b7
typo in user
2010-09-21 21:45:29 -07:00
ilya
dc0bd363a1
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-21 20:02:13 -07:00
ilya
6d6ca3d8bc
added terse_pod_url to the APP_CONFIG hash
2010-09-21 20:01:56 -07:00
danielvincent
df5b7d6d84
DG MS; new function in post
2010-09-21 18:14:46 -07:00
ilya
76f140aa8b
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-21 16:59:16 -07:00
ilya
020ff603bd
terse_url in user, db seeds are fixed, config/app_config.yml is now in gitignore, copy over config/app_config_example.yml.
2010-09-21 16:59:06 -07:00
danielvincent
03638ee68e
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-21 16:35:25 -07:00
danielvincent
107c05ef6f
DG MS; validate_aspect_permissions broken out of post method
2010-09-21 16:35:18 -07:00
root
fe2be748a0
Merge branch 'master' of http://github.com/diaspora/diaspora
2010-09-21 19:21:40 -04:00
ilya
d26e7850ac
RS, IZ; removed url from user and views
2010-09-21 15:52:26 -07:00
ilya
efd901dcd9
RS, IZ; Pod url moved to app_config.yml, app_config.yml refactored, diaspora_handle now set based on APP_CONFIG
2010-09-21 15:46:57 -07:00
danielvincent
44db21ffd4
DG MS; cleaned up spec
2010-09-21 15:41:29 -07:00
Raphael
95d852b181
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-21 14:00:12 -07:00
Raphael
11d31901e4
IZ, RS, Pulled receiving out of user file, refactored receive method to be clearer
2010-09-21 13:59:52 -07:00
root
03f8cbc249
Merge branch 'master' of http://github.com/diaspora/diaspora
2010-09-21 16:59:26 -04:00
ilya
4d00a0e99e
IZ posting to all albums should now work, needed to check for all in user.post
2010-09-21 12:35:48 -07:00
Thomas Krehbiel
bdd752f07b
Fix for 'Local variable hides method'
2010-09-20 21:49:14 -04:00
maxwell
2be0cca2cd
MS adding downcase to webfinger lookup
2010-09-20 16:51:02 -07:00
danielvincent
fb2f027b24
DG IZ; escape regex characters in Person.search
2010-09-20 15:25:19 -07:00
danielvincent
5bb4ee5d36
DG IZ; posting now ensures aspect ownership.
2010-09-20 15:15:37 -07:00
danielvincent
b097f93bf5
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-20 11:39:17 -07:00
maxwell
5d1fdcaf3a
MS fixing bug #67 . stripping whitespace from search
2010-09-20 11:38:24 -07:00
danielvincent
fe306b37ab
DG IZ; mass-assignment quick-fix in controllers
2010-09-20 11:30:27 -07:00
TJ Peden
e6c8cf20d3
Fixed receive_url problem
2010-09-21 01:26:51 +08:00
maxwell
5bf6d358a4
MS added small log for when user is found from webfinger
2010-09-19 20:40:03 -07:00
maxwell
07d2de6646
removed an annoying log of encrypted salmon.
2010-09-19 20:36:39 -07:00
danielvincent
08f833ba7a
case insensitivity on search
2010-09-18 17:21:18 -07:00
danielvincent
e9a3f46fbd
fixed query function to go through mongomapper instead of custom
2010-09-18 16:42:07 -07:00
Patrick Aljord
182c6228f3
show comments ordered by created_at, they are showing up at random order without that
2010-09-18 07:36:21 +08:00
Raphael
b3549c79f4
Give slightly more specific error message
2010-09-17 12:49:49 -07:00
Raphael
ce2260b747
Merge branch 'master' of github.com:diaspora/diaspora into production
2010-09-17 11:57:36 -07:00
Raphael
99ad001d28
Fix websocket spec, take out puts in by_webfinger
2010-09-17 09:52:31 -07:00
Raphael
2e8ecceaf7
Merge branch 'master' of github.com:diaspora/diaspora into production
2010-09-16 21:53:34 -07:00
Raphael
b45906f902
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-16 21:35:48 -07:00
Raphael
c520fb71a7
Moved socket out to separate process. Multiple thins should now be possible
2010-09-16 21:34:15 -07:00
maxwell
e668071ea5
README.md
2010-09-16 18:48:18 -07:00
danielvincent
25b4b409be
Merge branch 'master' of github.com:diaspora/diaspora into production
2010-09-16 16:19:48 -07:00
danielvincent
cbb692b6a3
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-16 16:06:28 -07:00
danielvincent
0c7ba49e34
DG IZ; aspect deletion
2010-09-16 16:03:18 -07:00
maxwell
2e8785b596
applying this change from wiki, thanks astronouth7303
2010-09-16 15:04:29 -07:00
maxwell
6f867d60c4
MS fixed the nil hostname on user
2010-09-16 14:38:24 -07:00
Raphael
1e646fb0a9
Merge branch 'master' of github.com:diaspora/diaspora into production
2010-09-15 23:54:57 -07:00
Raphael
32fc6212ab
Put only the hostname in diaspora_handle
2010-09-15 23:49:55 -07:00
Michael Fellinger
35c9922c61
And fix some more requires
2010-09-16 15:24:26 +09:00
Raphael
d760725145
Don't webfinger another server on receiving a webfinger request
2010-09-15 23:01:13 -07:00
Michael Fellinger
ba058a39a8
Replace require_relative with compatible version
2010-09-16 14:50:30 +09:00
Michael Fellinger
c6f5b4ed16
Basic 1.9.2 port
2010-09-16 14:41:33 +09:00
Raphael
c67a8ea100
Merge branch 'master' of github.com:diaspora/diaspora into production
...
Conflicts:
config/deploy.rb
config/environments/production.rb
spec/models/request_spec.rb
2010-09-15 22:37:05 -07:00
Stephen Caudill
5595dc5f48
Retab the project
2010-09-16 13:16:10 +08:00
Jamie Wilkinson
fbdd50172d
Cleanup stray whitespace
2010-09-16 10:07:59 +08:00
Raphael
e9009ea609
Downcase username only if it is there
2010-09-15 18:23:54 -07:00
Raphael
de93fd2818
Merge branch 'master' of github.com:diaspora/diaspora into production
2010-09-15 18:10:13 -07:00
Raphael
708e9f88a5
Spell our own name right
2010-09-15 17:56:18 -07:00
Raphael
04594d7ac5
Merge branch 'production' of github.com:diaspora/diaspora into production
...
Conflicts:
app/models/user.rb
2010-09-15 17:25:14 -07:00
Raphael
33048fe6db
Merge branch 'master' of github.com:diaspora/diaspora into production
...
Conflicts:
app/models/user.rb
spec/models/aspect_spec.rb
2010-09-15 17:24:00 -07:00
Raphael
0e0df7fb22
downcase before validation
2010-09-15 17:21:23 -07:00
Raphael
bf33313bf9
take out index, change backer seed, no puts
2010-09-15 17:13:17 -07:00
Raphael
02dda4f0a7
change the name of instantiate back
2010-09-15 17:08:56 -07:00
Raphael
01d26f6d0e
Using custom registrations controller
2010-09-15 17:05:21 -07:00
Raphael
e0ffc8bba0
First pass at having a custom registrationsController
2010-09-15 16:40:03 -07:00
Daniel Vincent Grippi
ee89bfaf8f
removed do bad things
2010-09-15 16:18:33 -07:00
maxwell
b8bbc58d30
save person after changing handle
2010-09-15 16:02:23 -07:00
Daniel Vincent Grippi
f0dad8c16a
Merge branch 'master' of github.com:diaspora/diaspora into production
2010-09-15 15:55:45 -07:00
maxwell
77bd68e7c7
MS the deploy config is wrong
2010-09-15 15:55:26 -07:00
Daniel Vincent Grippi
e94b48e19a
Merge branch 'master' of github.com:diaspora/diaspora into production
...
Conflicts:
app/models/user.rb
2010-09-15 15:55:18 -07:00
maxwell
6e29a66e09
Merge branch 'master' of github.com:diaspora/diaspora
...
Conflicts:
app/models/user.rb
2010-09-15 15:46:15 -07:00
maxwell
3a4eb294f8
MS made it two callbacks for handles and keys
2010-09-15 15:45:26 -07:00
Daniel Vincent Grippi
b2b2748fea
seed aspects on user create
2010-09-15 15:39:04 -07:00
Daniel Vincent Grippi
82ada7d2d6
Merge branch 'production' of github.com:diaspora/diaspora into production
2010-09-15 15:36:59 -07:00
Daniel Vincent Grippi
cd21ee8652
just seed family and work
2010-09-15 15:36:41 -07:00
maxwell
7741951a42
MS removing production stuff from master... yowch
2010-09-15 15:26:06 -07:00
maxwell
8828707c45
MS fixed the login bug, deploying to master
2010-09-15 15:15:15 -07:00
maxwell
c1077b3eed
Merge branch 'production' of github.com:diaspora/diaspora into production
2010-09-15 14:11:24 -07:00
maxwell
b68ec3a5b8
MS DG setting diaspora handle in a unclean way
2010-09-15 13:53:36 -07:00
maxwell
84c60e5f2e
DG MS fixing webfinger, i hope to goodness
2010-09-15 13:28:06 -07:00
Raphael
1006e8a680
Merge branch 'master' of github.com:diaspora/diaspora into production
2010-09-15 11:01:11 -07:00
Raphael
aa3ebe372c
License notices replaced
2010-09-15 10:58:48 -07:00
Daniel Vincent Grippi
f256d433fd
nevermind
2010-09-14 19:34:26 -07:00
Daniel Vincent Grippi
02e1ed82a3
making profiles socket
2010-09-14 19:07:23 -07:00
Daniel Vincent Grippi
3a468a9f1b
Merge branch 'master' of github.com:diaspora/diaspora into production
2010-09-14 11:45:33 -07:00
Daniel Vincent Grippi
426d038aaf
Remove email based filter
2010-09-14 11:22:32 -07:00
Daniel Vincent Grippi
7643fb4125
remember that aspects are seeded
2010-09-14 11:15:10 -07:00
ilya
2311c33626
MS IZ mocked all the webrequest tests
2010-09-14 11:13:58 -07:00
Daniel Vincent Grippi
c1a9a89be7
Merge branch 'production' of github.com:diaspora/diaspora into production
...
Conflicts:
app/models/user.rb
config/deploy.rb
spec/factories.rb
spec/models/request_spec.rb
spec/spec_helper.rb
2010-09-14 11:08:18 -07:00
Daniel Vincent Grippi
5ecbb28dc7
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-13 17:57:59 -07:00
Daniel Vincent Grippi
84b29770fe
Put raise back in webfinger fail
2010-09-13 16:05:43 -07:00
maxwell
6f75a81a9d
IZ MS trying again on fixing remote profile images
2010-09-13 15:48:30 -07:00
Raphael
34a4804b9f
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-13 14:49:01 -07:00
Raphael
fd31e9aeeb
Force downcase on usernames
2010-09-13 14:48:55 -07:00
Daniel Vincent Grippi
40ecf176e8
Merge branch 'master' of github.com:diaspora/diaspora
2010-09-13 14:26:15 -07:00
Daniel Vincent Grippi
4c15b1a01c
added license to every single goddamn file. also, put one in the root dir.
2010-09-13 14:23:50 -07:00
Raphael
b05d106aed
Remove user_refs from Person, put pendings in the broken photo specs
2010-09-13 12:16:43 -07:00
Raphael
9837340eb2
Rename files from group to aspect
2010-09-13 10:43:15 -07:00
Raphael
44a1f82da9
Rename group to aspect
2010-09-13 10:38:38 -07:00
Daniel Vincent Grippi
4bf8bc9c0b
wrong key being sent in recieve method for posts (group_id => group_ids)
2010-09-12 22:17:39 -07:00
Daniel Vincent Grippi
945a6ffbeb
added a logger in post
2010-09-12 22:11:01 -07:00
Daniel Vincent Grippi
31a746db2f
group_ids to string in post
2010-09-12 22:05:07 -07:00
Daniel Vincent Grippi
cf48079446
group_ids must be converted to strings
2010-09-12 21:47:03 -07:00
Daniel Vincent Grippi
1874ebe51d
forgot to map to group ids in retraction
2010-09-12 21:33:39 -07:00
Daniel Vincent Grippi
62994f1660
retractions should now actually websocket again
2010-09-12 21:24:22 -07:00
maxwell
08233a74c5
MS added anohter logger so i can debug friend requests
2010-09-11 14:39:09 -07:00
Raphael
ab6d631a27
White space in user file, deleting net/curl as unused
2010-09-10 16:25:19 -07:00
Raphael
4922ebd84c
Finish removing encryption from retractions
2010-09-10 16:14:37 -07:00
Raphael
a44d40168a
Encryption removed from everything other than comments, most irrelevant specs removed
2010-09-10 16:04:09 -07:00
Raphael
cab8610bea
Actually use salmon to push comments
2010-09-10 10:38:16 -07:00
Raphael
aa1f3c6438
Comments now use salmon, the whole salmon is encrypted, user querying moved to lib file
2010-09-10 10:31:23 -07:00
Raphael
68dc74e0b7
Tests pass again, use id => in retraction.perform
2010-09-09 18:15:30 -07:00
Raphael
7448684358
Return results of queries
2010-09-09 17:56:21 -07:00
Raphael
222847ca92
Using methods that exist can be helpful
2010-09-09 17:54:33 -07:00
Raphael
e9377a681c
Don't use push_to_groups for retractions
2010-09-09 17:52:35 -07:00
Raphael
2b1724c42f
Pass id to groups_with_post
2010-09-09 17:44:33 -07:00
Raphael
8b09d8107c
Add encryptable to profiles
2010-09-09 17:43:07 -07:00
Raphael
87bef90932
Salmon for retractions and profiles
2010-09-09 17:28:32 -07:00
Raphael
6b4501c342
Move generate key back into user
2010-09-09 16:23:08 -07:00
Raphael
c73ce3ff99
RS IZ added a logger statement and a guid in the webfinger profile
2010-09-09 16:20:27 -07:00
Raphael
522450c9d3
RS IZ added a logger statement and a guid in the webfinger profile
2010-09-09 16:19:34 -07:00
Raphael
fd61535e11
Hcards working
2010-09-09 15:43:16 -07:00
Raphael
67f9d9dab5
Add hcard, add id for pod_location
2010-09-09 15:34:20 -07:00
Raphael
59006e657f
Hcard done manually
2010-09-09 15:15:37 -07:00
Raphael
c6aff4a562
making the hcard work
2010-09-09 13:02:59 -07:00
Raphael
240dda4eab
Salmon for posts is in, old cruft has not been taken out and requests and comments are unfinished
2010-09-09 12:21:36 -07:00
Raphael
4fd0853e71
Moving to salmon
2010-09-08 18:29:39 -07:00
Daniel Vincent Grippi
f7dd0b10b9
DG MS; changed the gear on top nav to not be a tab
2010-09-08 12:34:08 -07:00
Daniel Vincent Grippi
edae8f1e66
DG MS; fixed a view bug in user edit page. page also displays diaspora username .
2010-09-08 11:58:03 -07:00
Daniel Vincent Grippi
36730978ca
login page is more elegant
2010-09-08 11:37:54 -07:00
Raphael
960d40278c
Add username, login with username or email
2010-09-08 10:59:08 -07:00
maxwell
2b165df85c
Merge branch 'master' of github.com:diaspora/diaspora into rails_rc
2010-09-07 18:21:17 -07:00
Daniel Vincent Grippi
20d9334ce1
DG IZ; changed the photo uploader to drag and drop. now works in firefox.
2010-09-07 17:20:48 -07:00
maxwell
804777f9ae
MS; updated to released rails
2010-09-07 16:47:53 -07:00
maxwell
919d7d23c0
MS fixed log view; also, now pagination is now working, check out the new method which returns plucky queries instead of arrays
2010-09-06 17:46:09 +02:00
Daniel Vincent Grippi
5e34506df6
added custom as_json methods to models
2010-08-29 23:46:19 -07:00
Daniel Grippi
de8450c7c5
line spacing adjustments.
2010-08-29 23:04:28 -07:00
Daniel Grippi & Raphael Sofaer
5babda044d
cleaned up group controller. added custom as_json to group model.
2010-08-29 21:56:10 -07:00
Raphael
b85333e52b
error.new
2010-08-28 18:36:49 -07:00
Raphael
d25e6017e3
Make a couple of generic errors ArgumentError
2010-08-28 14:53:08 -07:00
Raphael
aa22a0d5c8
Removing unused method
2010-08-28 14:38:22 -07:00
Raphael
5ef442d93f
RS, IZ; Socket spec now more realistic, visible_person_by_id fixed
2010-08-27 10:48:14 -07:00
Raphael
831609ad15
Make a stranger that you receive a comment from visible
2010-08-27 10:19:10 -07:00
Raphael
c629c23232
Tests now pass, export_key changed to exported_key, profile.person changed to _parent_document
2010-08-27 10:05:14 -07:00
Raphael
ba4468f9cc
Merge branch 'master' of github.com:diaspora/diaspora
2010-08-26 19:15:42 -07:00
Raphael
2dd2f38442
Attempting to make comments from unknown users save
2010-08-26 19:15:22 -07:00
danielvincent
435db1ecb1
Pass the right url in websocketed photo json
2010-08-26 17:23:23 -07:00
Raphael
36342db7a8
logging statement in the user receive after parsing the person
2010-08-26 17:04:40 -07:00
Raphael
977786aa65
remove the raise from the top of user receive
2010-08-26 16:31:57 -07:00
Raphael
9d48b45ee4
merge conflict line
2010-08-26 16:28:34 -07:00
Raphael
3ed191e972
MS IZ testing on remote
2010-08-26 16:27:01 -07:00
Raphael
c3e199a00a
Also set object.person
2010-08-26 15:36:56 -07:00
Raphael
0e36d89711
Also set object.person
2010-08-26 15:09:54 -07:00
Raphael
94bb754c34
Changed parseing person from xml a little, using it for comments.
2010-08-26 15:06:39 -07:00
Raphael
1ce34bc6fc
Parenthases
2010-08-26 14:42:16 -07:00
Raphael
73d8317534
Merge branch 'master' of github.com:diaspora/diaspora
2010-08-26 14:38:22 -07:00
Raphael
31f79be068
Save the person on receiving a comment
2010-08-26 14:38:06 -07:00
ilya
1d69b88e2e
to id so that change of group works
2010-08-26 12:17:35 -07:00
Raphael
6a48c07c90
Return if nil
2010-08-26 12:10:22 -07:00
Raphael
5a92f9e8a8
Do some logging
2010-08-26 12:07:35 -07:00
Raphael
f3c20bf3c0
accept comments from strangers
2010-08-26 12:01:11 -07:00
Raphael
c7974f8046
Save comment's person in receive
2010-08-26 11:53:32 -07:00
Raphael
c3fe3bf443
RS, IZ, check against self.person, not self in user receive
2010-08-26 11:48:34 -07:00
Raphael
9f11a474d8
Take out some logging, put in log user on receive
2010-08-26 11:46:04 -07:00
Raphael
7feb30e3e1
RS, IZ, try saving the comment
2010-08-26 11:41:16 -07:00
Raphael
958627cc1c
RS IZ object.post
2010-08-26 11:32:33 -07:00
Raphael
a65f512fa3
verify post creator signature in receive
2010-08-26 11:29:06 -07:00
Raphael
f186dd98c8
SIGNATOR
2010-08-26 11:13:44 -07:00
Raphael
36f265fa2f
Log safely
2010-08-26 11:11:30 -07:00
Raphael
a29a1bec3e
Add some logging to comments
2010-08-26 11:07:26 -07:00