Jonne Haß
e70e48d6ca
some refactoring regarding the law of demeter
2012-09-23 19:33:19 +02:00
Steven Hancock
033e8e5cb6
Fix ActiveRecord queries - take two
2012-06-13 14:52:25 -07:00
Steven Hancock
79b7d38158
Fix ActiveRecord queries with nested hashes
...
Rails 3.2.6 doesn't like them
2012-06-13 14:18:09 -07:00
Steven Hancock
a8de3a5a3f
Rails.root and File.join cleanup
...
- `Rails.root` is a `Pathname`, so let's use `Rails.root.join`
- Clean up most of the remaining `File.join`s
2012-06-11 03:13:20 -07:00
Dennis Collinson
d1d99d5dd4
Jamie Cai DC refactor isOwnProfile, fix tests
2012-05-07 17:53:37 -07:00
Maxwell Salzberg
592a3f99b5
Role system to replace the yml admins and community spotlight. we can
...
also now add a beta role
2012-04-27 16:14:43 -07:00
Maxwell Salzberg
bd021bbd91
Correct our general exception handling.
...
thanks @mperham! see: http://t.co/Jyt7vV4I
2012-03-03 16:26:06 -08:00
Dennis Collinson
5e26a7e6bb
Participate stream query uses participations
2012-02-09 19:01:01 -08:00
Dennis Collinson
14b9f5dc5b
move user modules into user namespace.
2012-02-09 19:01:01 -08:00
Maxwell Salzberg
c100f8bfdd
clean up Person scopes, and re-use one in contact controller to deprecate a controller method
2012-01-27 02:23:38 -08:00
Maxwell Salzberg
46da8310f5
small styling changes
2012-01-27 02:23:37 -08:00
Maxwell Salzberg
cc5334ce9a
make this scary join a scope [ci skip]
2012-01-27 02:23:37 -08:00
Jonne Haß
7aaaf4f43b
use guid instead of id for /people/ urls
2012-01-23 23:35:31 +01:00
danielgrippi
5721c9e512
remove depricated methods
2012-01-18 13:29:43 -08:00
danielgrippi
985657cbc3
pass in correct avatar sizes in person json response
2012-01-07 20:06:05 -08:00
Dennis Collinson
daba42c857
mentions now render client side, wow
2012-01-07 14:24:28 -08:00
Daniel Grippi
176963fdad
serialize current user json into body tag for now
2012-01-07 14:23:20 -08:00
danielgrippi
91ba6447d0
add acts_as_api to the models directly for now. the 'root node' problem (posts : {}) breaks backbone. wip
2012-01-07 14:23:20 -08:00
Maxwell Salzberg
63cdd93afc
the websocket has been completely removed, and replaced for a stub until
...
we find a better way to reimpliment it in a more sane way
2012-01-03 18:39:54 -08:00
Ilya Zhitomirskiy
0bd101dca9
change close account to clear profile, still need to dispatch account deletion xml
2011-12-08 16:32:19 -08:00
danielgrippi
e6ed2d397a
added close account to user
2011-12-08 16:32:18 -08:00
Ilya Zhitomirskiy
3035f173bd
ms iz wip, clearing profile, started deleting post visibilities
2011-12-08 16:32:18 -08:00
danielgrippi
c9f069d000
Revert "add participant_users to conversations"
...
This reverts commit 655558cb95 .
Revert "MS DG; for real this time?"
This reverts commit f85a047f6f .
Revert "MS DG; actually fix the bug"
This reverts commit cde12ec232 .
Revert "fix small commenting email bug #oops"
This reverts commit a552fc80c0 .
Revert "dont ban diasporahq stuff"
This reverts commit 2c12b94e67 .
Revert "Merge branch 'participants'"
This reverts commit 7417801886 , reversing
changes made to abd211ba72 .
2011-11-05 18:08:32 -07:00
Maxwell Salzberg
95c206df24
MS DG add participants
2011-11-04 18:46:43 -07:00
danielgrippi
19897df1ec
more first_name fixing
2011-10-24 21:34:56 -07:00
danielgrippi
e71fcea762
first_name now takes everything but the last word in the name field
2011-10-24 21:27:21 -07:00
danielgrippi
e63e8299b9
fixed up stream/publisher logic; fixed cukes
2011-10-24 14:41:15 -07:00
danielgrippi
44b58d707f
featured users => community spotlight
2011-10-20 11:50:58 -07:00
Gonzalo Rodriguez
aa1623a95f
Fixing person's name construction
...
* When only has last_name, return last_name not diaspora_handle
* Strip contstructed name to avoid trailing or preceding space
when having only first or last name present
2011-10-18 02:24:29 -02:00
Manuel Schölling
bdeae54c6c
Make Photos not inherit from Posts
2011-10-16 13:58:35 +02:00
Maxwell Salzberg
2dda160990
tag stream wip
2011-10-15 18:57:35 -07:00
Maxwell Salzberg
c85209a22c
strip whitespace in name call
2011-10-07 12:59:07 -07:00
Maxwell Salzberg
60ace5c297
DG MS; Broke out HydraWrapper in HttpMulti job
2011-09-14 15:50:07 -07:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
danielgrippi
aed08d6283
removed unused method; moved includes() out of scope
2011-09-14 00:10:04 -07:00
Maxwell Salzberg
0ab0526cd6
DG MS; put validates_associated in relayable, removed from receiver logic
2011-09-12 15:06:17 -07:00
Jonne Hass
fcc6d95067
Merge branch 'refactor_models_2' of https://github.com/buddhamagnet/diaspora
2011-09-11 23:46:13 +02:00
danielgrippi
1bd37038cc
fixed/moved specs; made Person.all_from_aspects scope (move direct AR querying from AspectStream; added more documentation in AspectStream
2011-09-11 14:16:48 -07:00
buddhamagnet
010024c4f9
continuing refactor of model validation calls to rails 3 syntax
2011-09-11 21:39:02 +01:00
Daniel Grippi
4ab112645f
removed a puts in Person.search
2011-09-10 07:40:35 -07:00
danielgrippi
961272d1bd
tweaked search a little (don't put a double wildcard on diaspora_id) -- this is a quick fix; solr pending
2011-09-09 11:54:10 -07:00
Sarah Mei
1363021859
Update some oddly-worded comments
2011-09-08 11:55:29 -07:00
Maxwell Salzberg
1853720513
MS SM fix for 'No method limit for []'
2011-09-03 16:05:44 -07:00
Maxwell Salzberg
19eb549889
fixed up update controller action and building users #scary #gladsofaerisstillhere
2011-08-17 16:28:21 -07:00
danielgrippi
bf0eb3dac3
4 failures left in postgres
2011-08-17 14:18:51 -07:00
Raphael Sofaer
3c34749dd7
Put a select limit on the person query on contactsController index, since we know exactly what we're doing with the data
2011-08-12 10:13:29 -07:00
Maxwell Salzberg
e9d993b8f6
throw 404s when the person is no found
2011-08-09 13:03:45 -07:00
Sarah Mei
421bfe6d8f
Handle the case in which the pod owner has not set up featured users.
2011-08-06 12:47:46 -07:00
danielgrippi
d51e495925
fetch featured users from remote servers on app init unless already in the db
2011-08-03 18:02:56 -07:00
Maxwell Salzberg
7e8f17cc31
refactoring this stuff
2011-08-03 16:58:55 -07:00
danielgrippi
9037748d23
fixed search
2011-07-29 19:21:18 -07:00
Raphael Sofaer
b8df1dca5c
remove pretty print
2011-07-29 14:56:06 -07:00
danielgrippi
2b550906fc
downcase query string for search
2011-07-29 14:05:59 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
16bd3e4c2f
less delay on search; start on 2 chars instead of 3
2011-07-29 12:26:04 -07:00
danielgrippi
f560321626
optimized people search
2011-07-29 12:04:10 -07:00
Raphael Sofaer
7382dfb7be
Multi-server spec now successfully passes along a reshare
2011-07-21 18:23:33 -07:00
Raphael Sofaer
8cf0fa8446
Don't get tags in the publisher
2011-07-07 10:48:07 -07:00
danielgrippi
f3d185fe41
hovercard on comments
2011-07-06 17:13:11 -07:00
danielgrippi
fd015129c4
final touchups to hovercard
2011-07-06 13:51:19 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
1c79c2c6f0
made aspect_dropdown ajax in (created route), in the process of removing aspect_membership js responses
2011-07-06 12:45:16 -07:00
danielgrippi
675d9d7485
wip. Person#as_json is breaking right now
2011-07-06 12:45:16 -07:00
Raphael Sofaer
1ced4c502d
Put as_json back in person
2011-06-29 08:48:34 -07:00
Raphael Sofaer
1af945de11
Merge branch 'master' into oauth
...
Conflicts:
Gemfile
Gemfile.lock
app/models/app_config.rb
app/models/post.rb
db/schema.rb
public/stylesheets/sass/application.sass
spec/lib/webfinger_spec.rb
2011-06-28 17:13:38 -07:00
Raphael Sofaer
a987b198fd
Fix search in PG
2011-06-22 15:09:00 -07:00
Raphael Sofaer
e8552fc417
Fix direct query execution issues in PG by using select_values/select_rows instead of execute.
2011-06-22 14:47:59 -07:00
danielgrippi
890dc7efd5
put some dependent destroys on models for better sqlite compatability
2011-06-19 23:39:57 +02:00
Raphael Sofaer
f0cb2159c7
Make contacts appear at the beginning of search results in postgreSQL
2011-06-19 16:16:30 +02:00
Raphael Sofaer
381b85189d
Add Chubbies, the oauth sample app, and a cucumber feature for part of an oauth flow
2011-06-03 16:22:38 -07:00
Jakob Kramer
0efaa77c46
fixes bug #1092
2011-05-27 18:59:02 +02:00
danielgrippi
7eaca0346c
Merge branch 'master' into follow
...
Conflicts:
config/assets.yml
public/stylesheets/sass/_mixins.scss
spec/models/user/posting_spec.rb
2011-05-16 14:56:28 -07:00
Raphael Sofaer
a4f81c6410
Finish fixing password changing and keeping emails downcased
2011-05-13 16:32:07 -07:00
Raphael Sofaer
5f531f14f1
Don't use rails case_sensitive false, it is very slow.
2011-05-13 16:32:07 -07:00
danielgrippi
106ae983d5
Merge branch 'master' into follow. all specs green.
...
Conflicts:
app/controllers/application_controller.rb
app/controllers/people_controller.rb
app/models/person.rb
config/assets.yml
db/schema.rb
public/javascripts/aspect-edit.js
spec/controllers/aspects_controller_spec.rb
spec/models/user/querying_spec.rb
spec/spec_helper.rb
2011-04-11 17:48:37 -07:00
MrZYX
fbe91aba3a
refetch profile if it's missing, comment out hydra stub for now because it breaks the specs
2011-04-09 15:20:28 +02:00
danielgrippi
4f972a23f6
drop requests table wip
2011-04-06 19:01:41 -07:00
Raphael Sofaer
fdb6675f28
Make things more postgres compatible
2011-04-05 09:49:39 -07:00
danielgrippi
e922ef8f22
add includes() to search query for profiles
2011-03-30 13:24:47 -07:00
danielgrippi
d3c0f1b3d2
ruby objects, get outta my face. (conversationscontroller new)
2011-03-30 12:45:47 -07:00
Raphael Sofaer
5c7bd6298a
Fix 500 on tags index
2011-03-30 12:43:44 -07:00
danielgrippi
8a2dd36b7e
Fix autocomplete JSON
2011-03-25 17:28:04 -07:00
danielgrippi
c0ce0d71b8
Make pending specs green, I think there are still some to_jsons where there should be as_json
2011-03-25 15:06:22 -07:00
danielgrippi
517f3fd802
statuses/ and users/ GET routes
2011-03-25 15:06:22 -07:00
maxwell
c5b6cdff4e
make a public search method
2011-03-25 15:06:22 -07:00
maxwell
ea3d839e1c
initial public api'
2011-03-25 15:06:22 -07:00
danielgrippi
1f5edb1d92
Merge branch 'private_messages'
...
Conflicts:
app/controllers/status_messages_controller.rb
app/models/data_point.rb
app/models/status_message.rb
db/schema.rb
lib/fake.rb
public/stylesheets/sass/application.sass
spec/models/mention_spec.rb
2011-03-08 21:23:41 -08:00
MrZYX
7b5b980095
link to public feed of the person on the profile person show page instead of to the one of current_user
...
fixed #700
fixed #864
fixed #774
2011-03-08 20:30:48 +01:00
danielvincent
21fd546cd0
posts now have authors instead of people
2011-03-01 18:05:05 -08:00
danielvincent
c62e9db397
private messages wip
2011-03-01 12:28:34 -08:00
Raphael Sofaer
d8956a7cd5
Add foreign key constraints
2011-02-28 15:18:35 -08:00
MrZYX
afecfe5e93
save the correct url on redirect in http_multi job; be tolerant about messed up urls in the db
2011-02-26 14:22:14 +01:00
danielvincent
a636ceec7f
search does not wildcard on both sides of search term; is less dumb.
2011-02-16 12:41:45 -05:00
MrZYX
20e1316491
it can somehow happen that a person has no profile. somehow. idk why.
2011-02-13 19:29:04 +01:00
danielvincent
3efc31c68f
mention js working minus tracking keypresses with the hidden message field.
2011-02-09 16:07:24 -08:00
Raphael
7d18e2bcd8
Finish autocomplete
2011-02-01 11:56:56 -08:00
Raphael
7be232e33e
autocomplete wip
2011-02-01 11:56:56 -08:00
Raphael
9080649180
Starting work on an autocomplete feature
2011-02-01 11:56:56 -08:00
zhitomirskiyi
a4988a28b4
WIP
2011-01-30 10:00:03 -08:00
zhitomirskiyi
17dde3a7b9
farther along towards getting the specs to pass
2011-01-29 23:58:48 -08:00
zhitomirskiyi
17a2c9e311
moving over some code migration successful
2011-01-29 23:34:11 -08:00
zhitomirskiyi
9d4d0cecdb
wip
2011-01-28 22:39:29 -08:00