Raphael
51083e9659
Another 50 passes in mysql
2010-12-19 13:57:46 -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
58f757b91d
profile_spec is passing with mysql... baby steps.
2010-12-18 18:45:55 -08:00
danielvincent
2758ea1625
fixed issue with diaspora handles not displaying in streams
2010-12-16 17:24:25 -08:00
Raphael
b22398951e
Send requests from the aspect list on the person show page
2010-12-15 14:48:14 -08:00
maxwell
0bd13ec106
use blank instead of empty for the person#name helper
2010-12-14 11:30:06 -08:00
Raphael
e406426b81
select only profile on most Person queries
2010-12-09 15:04:40 -08:00
Raphael
8798f05ff7
Revert "Revert redis merge to fix bugs on master"
...
This reverts commit 30698d674b .
2010-12-02 15:33:26 -08:00
Raphael
30698d674b
Revert redis merge to fix bugs on master
2010-12-02 15:20:27 -08:00
Raphael
db0106f13c
Rename EMWebfinger to Webfinger, clean up some related things
2010-12-02 12:35:25 -08:00
maxwell
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
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
3a24eb900d
Refine log lines
2010-11-26 13:02:52 -05: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
248e768846
search now sockets a person
2010-11-15 19:13:45 -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
82c82b8ccc
killed albums
2010-11-04 10:17:19 -07:00
zhitomirskiyi
0ac4c5b04f
IZ MS refactored invites to use user.build
2010-11-03 13:16:45 -07:00
danielvincent
e9f3efea79
person searchable by diaspora_handle
2010-11-02 16:48:58 -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
Sarah Mei
dc97c852f4
Person delegates first_name and last_name to profile.
2010-11-01 22:22:15 -07:00
Raphael
5f85cf2588
Simplifying validations a little
2010-10-29 17:26:28 -07:00
danielvincent
5a9bfa7405
DG IZ; post senders are now verified by diaspora handles
2010-10-29 16:49:59 -07:00
maxwell
a7b3fc48ec
https is now a valid url for people. thx grippi
2010-10-29 12:30:38 -07:00
maxwell
8fe339b03b
EM websocket cleanly merged with master. webfingering is now async
2010-10-29 11:05:17 -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
Raphael
aa819d2113
Putting an index on Person#diaspora_handle
2010-10-26 19:16:16 -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
f97f63e2d1
Merge remote branch 'tristil/239-380-identity-error-handling'
2010-10-20 10:36:03 -07:00
Raphael
fd8028db33
Revert "Revert "Merge remote branch 'upstream/master'""
...
This reverts commit 1481056af2 .
2010-10-20 09:51:55 -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
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
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
Sarah Mei
fcdcf88a79
Person.by_webfinger preserves case of identifier. Backfill specs for PublicsController#webfinger.
2010-10-17 12:18:53 -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
Raphael
fe0120cc0d
Return everyone on an empty search
2010-10-12 18:18:03 -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
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
Raphael
1fd3aeabd9
Add or later to license notice
2010-10-07 16:25:34 -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
kook
85b384010e
exchange photos on adding new friend
2010-10-05 17:18:51 -07:00
danielvincent
09b861c7a3
remove .atom from public url
2010-10-05 16:51:27 -07:00
danielvincent
f3c34692d8
pubsub support
2010-10-05 13:39:56 -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
df800dc87e
ostatus builder
2010-09-27 17:58:44 -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
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
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
root
03f8cbc249
Merge branch 'master' of http://github.com/diaspora/diaspora
2010-09-21 16:59:26 -04: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
maxwell
5d1fdcaf3a
MS fixing bug #67 . stripping whitespace from search
2010-09-20 11:38:24 -07: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
Raphael
b3549c79f4
Give slightly more specific error message
2010-09-17 12:49:49 -07:00
Raphael
99ad001d28
Fix websocket spec, take out puts in by_webfinger
2010-09-17 09:52:31 -07:00
maxwell
e668071ea5
README.md
2010-09-16 18:48:18 -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
Jamie Wilkinson
fbdd50172d
Cleanup stray whitespace
2010-09-16 10:07:59 +08:00
Raphael
708e9f88a5
Spell our own name right
2010-09-15 17:56:18 -07:00
maxwell
8828707c45
MS fixed the login bug, deploying to master
2010-09-15 15:15:15 -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
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
ilya
2311c33626
MS IZ mocked all the webrequest tests
2010-09-14 11:13:58 -07:00
Daniel Vincent Grippi
84b29770fe
Put raise back in webfinger fail
2010-09-13 16:05:43 -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
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
4fd0853e71
Moving to salmon
2010-09-08 18:29:39 -07: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
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
2dd2f38442
Attempting to make comments from unknown users save
2010-08-26 19:15:22 -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
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
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
36f8289522
Fixing retractions on albums, adding back remove_from_view
2010-08-18 10:03:37 -07:00
Raphael
539316a235
Removing posts relation from person
2010-08-17 23:50:07 -07:00
Raphael
42cc1da9f6
Removing posts array from person
2010-08-17 23:27:17 -07:00
ilya
b5c6bbd1df
DG IZ; moved commenting methods into User (from Person).
2010-08-17 13:56:52 -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
2c1c5df281
Moved search specs, renamed method
2010-08-17 10:24:59 -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
ad07521e07
Made a few more tests pass
2010-08-16 16:22:46 -07:00
Raphael
3a591b0713
Merging in friend-refactor...
2010-08-16 15:35:14 -07:00
Raphael
b0537e2f34
Comments pushing in the right directions
2010-08-16 15:04:09 -07:00
Raphael
e4af2ccb1f
Rename send_comment to dispatch_comment, simplify it
2010-08-16 14:22:14 -07:00
Raphael
1f40ea23b6
logging is awesome
2010-08-16 13:58:05 -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
4c731bf818
special-casing local webfinger
2010-08-16 11:29:14 -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
5e33de7e56
unfriended method in the user
2010-08-13 09:47:08 -07:00
Raphael
cf5476f601
RS, DG; stop crashing trying to socket albums
2010-08-11 16:40:08 -07:00
Raphael
d8959326d5
RS, DG; unsocketing is back in
2010-08-11 16:24:05 -07:00
Raphael
4b5071ec05
DG, RS; socketing back in for your own posts
2010-08-11 16:12:55 -07:00
Raphael
9c9ebbf4c7
build_xml_for is no longer static, we should probably change the name
2010-08-11 13:58:18 -07:00
maxwell
89c54d1a63
MS IZ receive url in the request and a slash in person
2010-08-10 15:56:34 -07:00
maxwell
432ce02a14
MS IZ receive url is better
2010-08-10 15:35:40 -07:00
maxwell
487de2d865
MS IZ receive, not recieve
2010-08-10 15:17:12 -07:00
maxwell
7ff25ef81a
MS IZ saved the person model
2010-08-10 15:10:11 -07:00
maxwell
71612ba33d
changing some webfinger resources
2010-08-10 12:36:00 -07:00
maxwell
38abd51666
MS IZ fixed a couple of failing specs in the parser
2010-08-09 21:09:51 -07:00
maxwell
d443be35f9
Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into friend-refactor
...
Conflicts:
app/controllers/publics_controller.rb
app/models/user.rb
2010-08-09 17:31:46 -07:00
maxwell
56d7c67bbb
Going toward pending requests
2010-08-09 17:21:41 -07:00
Raphael
73a6cd911b
DG, RS; User person delegation fixed
2010-08-09 10:46:02 -07:00
ilya
890f927492
removed references of mine? method in all views
2010-08-08 22:53:23 -07:00
Raphael
7076097ee4
RS, IZ; The tests are green.
2010-08-06 16:56:13 -07:00
maxwell
58de12df5e
DG MS; PeopleController#index now accepts query string for search (only looks at first_name and last_name)
2010-08-06 16:35:02 -07:00
Raphael
4350e17656
RS, IZ; removed lots of putses, fixed up request, parser, retractions
2010-08-06 16:01:39 -07:00
Raphael
0f596af5c4
Refactored message_queue getting, fixed retraction spec
2010-08-06 13:13:00 -07:00
Raphael
b5cbfab36e
RS, IZ; Comment spec now passes
2010-08-05 19:01:45 -07:00
maxwell
5d924dadf4
MS DG; 19 failing specs left
2010-08-05 17:16:51 -07:00
maxwell
5e6d0c1153
Merge branch 'master' of github.com:diaspora/diaspora_rails into
...
friend-refactor, also fixed more specs
Conflicts:
app/models/person.rb
app/models/user.rb
spec/factories.rb
2010-08-05 15:13:05 -07:00
Raphael
2429a1a476
RS, IZ; keys should roxml
2010-08-05 11:13:38 -07:00
Raphael
f487e271c0
RS, IZ; Posts now sign, signatures and keys now serialize
2010-08-05 10:43:02 -07:00