Dennis Collinson
efa79a4ad7
Refactor Post Presenter
...
and comment presenter
2012-05-10 12:24:21 -07:00
Maxwell Salzberg
eaedfc9827
create a new publisher using the new composer. only for beta users
2012-05-09 16:55:33 -07:00
Dennis Collinson
93afe6d63c
rescue update services on login
...
was failing in development
2012-05-08 20:38:45 -07:00
Daniel Grippi
be43806ef9
Merge pull request #3245 from SuperTux88/fix-publisher-for-beta
...
Fix new publisher if user is beta
2012-05-08 18:42:55 -07:00
Benjamin Neff
1bc1dc4334
Fix new publisher if user is beta
2012-05-09 03:33:50 +02:00
danielgrippi
0ec364e44c
DG MS; popup on services, inlined in the composer
2012-05-08 18:09:33 -07:00
Dennis Collinson
1c135b61fd
Jamie Cai DC message in profile when user has no posts
2012-05-07 15:56:30 -07:00
danielgrippi
01d5c0473a
DG MS; don't redirect to legacy getting started if you're a beta user
2012-05-07 12:05:36 -07:00
danielgrippi
92230383a7
added controller test; put wallpaper into separate wallpaper/ directory
2012-05-06 12:35:11 -07:00
danielgrippi
56913ffb80
upload wallpaper for great success.
2012-05-06 12:35:11 -07:00
Dennis Collinson
bd6a9cfe00
next and previous now return post as json
...
clean up controller
2012-05-05 16:41:16 -07:00
Dennis Collinson
0fc399243b
fix next post and previous post, more efficient
...
make controller actions
make the presenter reflect that it is instance data ;-p
needs tests lol.
2012-05-04 18:25:09 -07:00
Maxwell Salzberg
e79d78302e
when a user is invited from a beta user, they are also beta
2012-05-04 17:38:08 -07:00
danielgrippi
bae47a10eb
use layout in our actual controller. derp. [ci skip]
2012-05-04 17:38:07 -07:00
Dennis Collinson
4253796f55
preload post on post show
2012-05-04 16:55:09 -07:00
Dennis Collinson
6fcba2dd4b
preload javascript vars using gon
2012-05-04 15:17:32 -07:00
danielgrippi
ab99154a1a
add FeatureFlagger to HomeController instead of making calls to Role directly
2012-05-02 20:41:01 -07:00
Sean Tilley
cf129b52ab
Merge pull request #3197 from ktkaushik/my-modifications
...
optimizied code for destroy action under tag_followings_controller.rb [ci skip]
2012-04-28 21:27:47 -07:00
danielgrippi
1b6c33aff5
show a user's full profile info if she's on her own page. duh.
2012-04-28 17:41:22 -07:00
danielgrippi
d5f511c325
hitting profiles.json publically displays only public stuff; if you're connected to a user, it shows that user's complete profile response
2012-04-28 17:05:25 -07:00
danielgrippi
c3b0bbd425
show new profile pages for those who have it activated
2012-04-28 16:06:36 -07:00
danielgrippi
bbd4ee5738
correctly redirect for beta and admin users (profile vs stream homepages)
2012-04-28 15:09:02 -07:00
Kaushik Thirthappa
a1f25a475d
optimizied code for destroy action for tags that a user is following.
2012-04-28 15:36:57 +05:30
danielgrippi
05683de16b
removed some old assets; added a link to profile edit next to quick stats on a profile page
2012-04-27 17:41:59 -07:00
Maxwell Salzberg
2b3bc5a0f0
fix profile json birthday response with some tests.
2012-04-26 16:00:23 -07:00
Maxwell Salzberg
fe87b38bf2
use birthday as text.
2012-04-26 15:01:43 -07:00
danielgrippi
d3b874b020
add basic profile info to profile; remove random console.logs [ci skip]
2012-04-26 14:52:48 -07:00
Dennis Collinson
2cbf383fbb
only redirect on html requests
2012-04-24 21:01:19 -07:00
Dennis Collinson
340411f17c
MS DC; admins are now always redirected to new profile
2012-04-24 18:39:09 -07:00
danielgrippi
84bd1fb1fc
return the person json response for profiles to get a correctly formatted name and expected avatar response; fix a jasmine spec around redirection
2012-04-23 23:31:39 -07:00
Dennis Collinson
afc26c684b
DC MS infinite scroll with isotope on new profile page. boom!
2012-04-22 16:46:39 -07:00
danielgrippi
75d25e9475
users can now favorite posts
2012-04-22 12:06:15 -07:00
Dennis Collinson
062de4c269
MDC DC New Profile shows users info
...
Profile show json
Profile backbone model
2012-04-21 13:12:56 -07:00
danielgrippi
6d9dd1f4d3
skeleton in place.
2012-04-21 13:12:56 -07:00
Movilla
7b203e3636
Better fix issue #3134
2012-04-20 16:07:31 +02:00
Maxwell Salzberg
8b50f80875
be pedantic in posts show as maybe certain crawlers are being greedy as to what formats they can accept
2012-04-19 20:07:14 -07:00
Maxwell Salzberg
ab48ca260b
kinda ugly hack for ports in url with iframes
2012-04-18 16:12:57 -07:00
Maxwell Salzberg
c9e3852de8
oembed mostly works
2012-04-18 16:12:56 -07:00
Maxwell Salzberg
90a2f05515
include an iframe route, for posts, and a magic body padding removal for screens with small widths (for some reason, smaller than 770
2012-04-17 22:28:01 -07:00
Maxwell Salzberg
1a7ec495c9
Merge pull request #3136 from movilla/Auto_fix
...
Issue #3134:Problem with translation in authorizations/new.html.haml
2012-04-17 13:52:29 -07:00
Maxwell Salzberg
17b451e4ad
tags for logging [ci skip]
2012-04-15 17:04:53 -07:00
Maxwell Salzberg
b0e4c477bf
log more in authorizations controller :(
2012-04-15 17:03:09 -07:00
Maxwell Salzberg
ecc1a84b42
rails_admin; i do what i want
2012-04-13 18:08:52 -07:00
Movilla
7193bf7777
Issue #3134:Problem with translation in authorizations/new.html.haml
2012-04-11 00:00:41 +02:00
danielgrippi
59917e95ab
update feature_flagger to have access to current user
2012-04-04 19:35:53 -07:00
Steven Hancock
fc4b8d2af0
Skip CSRF token for OmniAuth callbacks (prevents session reset)
...
OmniAuth callbacks need to accept a raw POST from the auth provider without
verifying the CSRF token, otherwise the session will be reset.
See intridea/omniauth#203
See also http://www.communityguides.eu/articles/16
(This technique will also be needed for API endpoints when the time comes)
2012-03-29 18:51:54 -07:00
Maxwell Salzberg
033bf637cd
Merge pull request #3070 from SuperTux88/fix-invite-mail
...
Fix invite mail NOTICE: MIGRATION ON USERS INCLUDED!
2012-03-29 15:41:23 -07:00
Steven Hancock
6abe718227
Mobile UI fixes
...
This fixes issues with mobile UI rendering
Issues fixed:
* vendor/bootstrap.css and vendor/bootstrap-responsive.css need to
be precompiled for the mobile UI to render properly
* Rails 3.1 is more strict about layout fallbacks, the single-post
view in the mobile UI needs to have the "application" layout
specified to render properly
2012-03-29 05:52:45 -07:00
Maxwell Salzberg
402694e516
fixing cukes
2012-03-28 14:47:28 -07:00
Benjamin Neff
92c799f699
add email action
2012-03-28 03:16:49 +02:00
Dennis Collinson
09f40c8684
Feature Flag new publisher
2012-03-27 15:28:30 -07:00
Dennis Collinson
426f0278f9
DG DC uploading a photo shows up in the stream
2012-03-27 14:52:51 -07:00
Dennis Collinson
1ec2b73d59
DG DC remotipartjarvascripts
2012-03-27 14:52:51 -07:00
danielgrippi
6dce04d2f5
callbax, yo
2012-03-27 14:52:51 -07:00
Dennis Collinson
37bf5c5aee
REMOTIPART WIP
2012-03-27 14:52:51 -07:00
Dennis Collinson
ab35f2bf3d
MS DC posts/new page init
2012-03-27 14:51:40 -07:00
Stephan Schulz
716315409a
Limit allowed contacts for sending messages to, to the ones that are sharing with you.
2012-03-23 01:21:04 +01:00
Dennis Collective
47dbced6d7
Merge pull request #3028 from diasp/fix-weekly-user-stats
...
Admin: handle users without created at date [ci skip]
2012-03-22 14:38:02 -07:00
Diaspora Europe
88bb3403d8
added 3 invalid status message specs
2012-03-22 17:24:30 +01:00
Diaspora Europe
97233851df
added status message spec, fix render nothing
2012-03-22 16:52:19 +01:00
danielgrippi
0883ce1dbb
fix a bunch of cukes. the disabled functionilty in rails helpers changed and we had to update out JS accordingly
2012-03-21 13:50:24 -07:00
Jonne Haß
3c23364fbc
refactor locale initialization and selection a bit
2012-03-21 19:25:47 +01:00
Diaspora Europe
30af2e7188
handle users without created at date
2012-03-21 09:56:06 +01:00
Maxwell Salzberg
aee17798c1
rearrange some of the invite link stuff. This still needs some serious love but we now place emphisis on the link, rather than the email form
2012-03-17 17:10:08 -07:00
danielgrippi
852687b31c
MS DG fix a few final tests
2012-03-16 17:56:35 -07:00
Maxwell Salzberg
11505a386c
adding a test for decremented invites, as, and check the invite is valid in the controller
2012-03-16 17:56:35 -07:00
Maxwell Salzberg
319b3c4d3b
fixed rspec tests, more fit and finish around how the invite code works,
...
and improving admin functionality
2012-03-16 17:56:35 -07:00
Maxwell Salzberg
6b97b8044b
small updates, and it looks like we are mostly working
2012-03-16 17:56:35 -07:00
Maxwell Salzberg
7bac633987
invite_link functionailty mostly works
2012-03-16 17:56:35 -07:00
Diaspora Europe
e78fc82bea
we need json for the notification dropdown #2998
2012-03-14 16:31:54 +01:00
Maxwell Salzberg
b8b6557379
adding an ajax loader, and pull out the js from the middle of the view
2012-03-13 17:10:23 -07:00
Maxwell Salzberg
2a30e60fe0
Merge branch 'search-repeatedly' of https://github.com/stwf/diaspora into stwf-search-repeatedly
2012-03-13 16:41:16 -07:00
Maxwell Salzberg
fa247c23ae
Merge pull request #2998 from diasp/notification-chore
...
Notifications update spec and cleanup json response [ci skip]
2012-03-13 15:56:24 -07:00
Maxwell Salzberg
dfd0248a78
Merge pull request #2991 from ChFernandez/master
...
Pod Administration[ci skip]
2012-03-13 15:47:57 -07:00
Diaspora Europe
746a144dac
now redirect to stream
2012-03-13 18:07:42 +01:00
Diaspora Europe
97d6b8dab8
notifications update spec and cleanup json response
2012-03-13 11:46:14 +01:00
Steven Hancock
f2922c943c
Cross-Origin Resource Sharing
...
Remove partial support for CORS on webfinger routes and replace
it with the Rack::Cors middleware. This provides more complete
CORS support and works around a caching issue with nginx on
Heroku and potentially other reverse proxies.
CORS headers are only added if the incoming request includes
an "Origin" header, which seems to be correct according to
the CORS spec.
closes #2216
2012-03-10 23:49:56 -08:00
chfernandez
b8ca31b6b3
improved weekly_user_stats in admin with a dropdown box by week to list all new users of that week also a link_to the user profile so the admin can sent welcome msgs, etc
2012-03-10 19:08:19 -08:00
Steven Fuchs
d84b0c58bd
simplify search results processing since only one person can be returned
2012-03-07 23:19:51 -05:00
Steven Fuchs
7d3a6a061c
add spec to ake sure background query is only set when a full diaspora id is given.
2012-03-07 23:19:51 -05:00
Steven Fuchs
7048fa6d50
fixing conflicts in merge
2012-03-07 23:19:50 -05:00
Steven Fuchs
23aff2af5e
run second search ajaxily when no results are found from remote pod.
2012-03-07 23:19:50 -05:00
danielgrippi
61b4e77bde
Merge branch 'profiles'
2012-02-28 10:29:17 -08:00
Dennis Collective
7abbe4a642
Merge pull request #2925 from diasp/2833-conversations-should-return-json
...
Conversations should return json #2833
2012-02-27 17:34:10 -08:00
Dennis Collective
f5ef1e8c14
Merge pull request #2814 from stwf/aspects-javascript-fixes
...
update aspect name in aspects listing after editing.
2012-02-27 17:19:05 -08:00
danielgrippi
0112285985
Merge branch 'master' into profiles
...
Conflicts:
lib/diaspora/shareable.rb
2012-02-27 14:27:05 -08:00
Maxwell Salzberg
49b0a44738
removing estates builder, as we are now using a template
2012-02-25 16:55:26 -08:00
Maxwell Salzberg
a1f39398be
Merge pull request #2902 from JMSilla/master
...
Fix atom feed bug (bug mash 7) [ci skip]
2012-02-25 16:47:13 -08:00
JMSilla
8178e0712c
Users controller small fix; removed the to_activity method and the corresponding tests for status_message model
2012-02-25 22:24:43 +00:00
danielgrippi
73f224e690
don't render page-viewer twice; last_post should actually get the last post posted, not the first one
2012-02-24 21:48:37 -08:00
danielgrippi
dc0b5db0ac
Merge branch 'profiles' of github.com:diaspora/diaspora into profiles
2012-02-24 20:14:26 -08:00
Dennis Collinson
b28508ecbc
MS DC show last post and show page works unauthenticated
...
phasing out app.user() for app.currentUser
2012-02-24 19:09:00 -08:00
danielgrippi
39d31d5888
Merge branch 'master' of github.com:diaspora/diaspora into profiles
2012-02-24 14:36:18 -08:00
Diaspora Europe
89179ecbd3
conversations should return JSON #2833
2012-02-24 09:39:40 +01:00
Dennis Collinson
9769dfb303
cukes passing
2012-02-23 17:24:19 -08:00
danielgrippi
b4923a77f0
add keybinding to the viewer
2012-02-22 19:19:24 -08:00
danielgrippi
8f3cc6769c
update reshare count when resharing; return PostPresenter for reshare root in the success response
2012-02-22 18:02:08 -08:00
danielgrippi
3ec7755c83
update reshare count when resharing; return PostPresenter for reshare root in the success response
2012-02-21 21:51:40 -08:00
danielgrippi
899136d0e5
display proper counts after feedback actions; modified destroy responses to return PostPresenter objects
2012-02-21 21:44:44 -08:00
danielgrippi
6965d6da24
fix feedback views. use gross callbacks for now
2012-02-21 15:23:29 -08:00
danielgrippi
f31418feb3
pjax clicking on nav arrows; move author header into backbone land; comment out comment form for now
2012-02-21 15:23:29 -08:00
danielgrippi
30de08b340
fix post presenter / arrow ordering
2012-02-21 15:23:28 -08:00
Maxwell Salzberg
e0b29048f4
haxy auto comment functionality; try me and then revert me"
2012-02-21 15:23:27 -08:00
danielgrippi
1c4a689af7
DG MS; added a new layout for post pages.
2012-02-21 15:23:27 -08:00
danielgrippi
ff875a5b3c
DG MS; determine what template to use on the client from the server
2012-02-21 15:23:27 -08:00
David Morley
a63bcd0080
make popular tags human readable
2012-02-19 21:28:12 -06:00
Maxwell Salzberg
28504f09bb
federation logger now in place.
2012-02-18 16:28:04 -08:00
Maxwell Salzberg
d7f56e556b
use the user presenter, luke
2012-02-18 16:28:03 -08:00
danielgrippi
debdd6cb6b
change routes to properly reflect page names (activity/stream).
2012-02-18 16:26:16 -08:00
Maxwell Salzberg
a81d1133cb
basic federation profile testing stuff
2012-02-18 16:26:16 -08:00
danielgrippi
2f7465450e
you can now follow / unfollow a post from the stream; fixed cukes.
2012-02-18 16:26:15 -08:00
danielgrippi
b139cc5479
DC DG; a participation is created in StatusMessageController
2012-02-18 16:26:13 -08:00
danielgrippi
011f70a9f4
fix a bunch of small css related media box issues [ci skip]
2012-02-18 16:26:13 -08:00
Diaspora Europe
92b29d31db
added user_is_following method, added 2 model specs
2012-02-18 16:26:10 -08:00
Diaspora Europe
55cb328fe2
tags should be case insensitive
2012-02-18 16:26:10 -08:00
JMSilla
123e7ba3cb
Fix problem with atom feed entry titles being too long (2)
2012-02-18 16:20:02 +00:00
Maxwell Salzberg
ab727fc846
federation logger now in place.
2012-02-16 17:58:15 -08:00
Maxwell Salzberg
063912287c
use the user presenter, luke
2012-02-16 13:19:14 -08:00
danielgrippi
f3f2b8ca44
change routes to properly reflect page names (activity/stream).
2012-02-14 11:16:41 -08:00
Maxwell Salzberg
54e8040bfd
basic federation profile testing stuff
2012-02-14 10:58:57 -08:00
danielgrippi
32f93a0391
you can now follow / unfollow a post from the stream; fixed cukes.
2012-02-13 19:13:43 -08:00
danielgrippi
44e072c330
DC DG; a participation is created in StatusMessageController
2012-02-10 16:42:21 -08:00
danielgrippi
ed3d5c429a
fix a bunch of small css related media box issues [ci skip]
2012-02-10 15:18:27 -08:00
Florian Staudacher
082d5c9fd4
initial photo page functionality is back, featuring backbone and handlebars
2012-02-09 20:55:34 +01:00
Diaspora Europe
8eda9aaf52
added user_is_following method, added 2 model specs
2012-02-09 14:17:43 +01:00
Diaspora Europe
47f7e10860
tags should be case insensitive
2012-02-09 14:17:43 +01:00
Dennis Collinson
74409d64b5
cleanup, yoq
2012-02-08 17:25:25 -08:00
Maxwell Salzberg
062204e963
Merge pull request #2848 from beardedninja/master
...
#2847 Users can now toggle nsfw on and off
2012-02-08 17:21:29 -08:00
Maxwell Salzberg
a9b6426323
Merge pull request #2839 from diasp/2036-fix-private-messages-navigation
...
#2036 Fix private messages are sometimes displayed without navigation
2012-02-08 16:59:50 -08:00
Dennis Collinson
94a7f5bb91
unsfw - sorry Kinky Joe!
2012-02-08 16:35:55 -08:00
danielgrippi
84eb313e20
updated routes to reflect page titles (explore/participate)
2012-02-08 14:40:28 -08:00
Alex Harrison
0cbdf51e6a
#2847 Users can now toggle nsfw on and off
2012-02-08 23:01:02 +01:00
Diaspora Europe
3c4b37dad7
PMs should always be displayed with the navigation.
2012-02-08 16:53:48 +01:00
Dennis Collinson
558ceec92a
a user can mark themselves as nsfw
2012-02-07 19:03:20 -08:00
Dennis Collinson
a399572995
MS DC; fix participate stream ordering problem that was putting new posts on the bottom of things
2012-02-06 16:51:32 -08:00
Dennis Collinson
3991903b56
MS DG DC Participate stream that has things bubble to the top
2012-02-03 17:23:57 -08:00
danielgrippi
a3e13e3c0e
User#like! method.
2012-02-03 14:42:03 -08:00
Steven Fuchs
ef7dc1c017
update aspect name in page listing after editing.
2012-02-03 08:37:35 -05:00
Dennis Collective
6dbd644b01
Merge pull request #2719 from stwf/return-contact-popup-to-notify
...
aspects popup menu missing from 'started sharing' notifications
2012-02-03 00:42:10 -08:00
danielgrippi
4f7dda6012
bang! kill redis cache.
2012-02-02 12:45:43 -08:00
danielgrippi
310a0679f1
particpate stream, yo!
2012-02-01 16:05:16 -08:00
danielgrippi
02021584a7
EvilQuery for Participation, refactor comment creation
...
you can now create a comment with User#comment!(post, text)
2012-02-01 15:09:31 -08:00
Maxwell Salzberg
5914ed4ef1
defer comments posting in comment controller
2012-01-30 11:34:50 -08:00
Steven Fuchs
5ea4bc0a1b
Merge remote branch 'upstream/master' into return-contact-popup-to-notify
2012-01-29 18:13:30 -05:00
Jonne Haß
0e7b084713
fix 500 in PostsController#show for non existing post
2012-01-29 14:47:51 +01:00
Maxwell Salzberg
13d1e68540
refactor people#index
2012-01-28 23:48:37 -08:00
Sarah Mei
0e0d40d00e
Remove pagination from json format of contacts#index; add explanatory comments. I KNOW. But it's super confusing and I can't find a way to rewrite the code to be more clear. Soloing FTL.
2012-01-28 15:31:11 -08:00
Sarah Mei
03e3d8e993
Refactor contacts#index to have explicit html and mobile formats again, because apparently infinite scroll wants the html version, not the json version.
2012-01-28 15:31:11 -08:00
Sarah Mei
a27b17bc68
Slight refactor to contacts#index
2012-01-28 15:31:11 -08:00
Sarah Mei
3ec09930fe
Refactor contacts#index specs. json requests now paginate correctly, but infinite scroll is still broken.
2012-01-28 14:43:47 -08:00
Sarah Mei
d40746bff7
Fixes #2713 - searching for punctuation now doesn't throw a 500. Refactored people#index specs.
2012-01-28 13:45:39 -08:00
Sarah Mei
7d4a81560d
Move contact pagination to controller - fixes #2760
2012-01-27 21:56:27 -08:00
danielgrippi
31bfef9dd2
pass in service_type strings instead of objects to deferred_dispatcher.
2012-01-27 16:05:38 -08:00
Maxwell Salzberg
c69df0fb29
fix photos controller test
2012-01-27 13:06:27 -08:00
Maxwell Salzberg
e2cb572c15
random cleanup; delete some unused methods, clean up some logic in some
...
controllers; update the default referee to /stream [ci skip]
2012-01-27 02:23:38 -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
7cef6a8d22
remove unneeded line from apps_controller [ci skip]
2012-01-27 02:23:37 -08:00
Maxwell Salzberg
46da8310f5
small styling changes
2012-01-27 02:23:37 -08:00
Maxwell Salzberg
8002091d67
kinda refactor another sucky controller method
2012-01-27 02:23:37 -08:00
Maxwell Salzberg
c43bb90794
we never use this data [ci skip]
2012-01-27 02:23:37 -08:00
Maxwell Salzberg
718c4fd38c
refactor status_message_controller#create to suck less. it still sucks
2012-01-27 02:23:37 -08:00
Steven Fuchs
9e337fc8b0
read_all button on notifications page redirects to stream.
2012-01-25 19:03:31 -05:00
Jonne Haß
e1658f8d8b
switch PhotosController#index over to guid, fix #2729
2012-01-25 12:45:02 +01:00
Jonne Haß
9c67cd7eb9
collapse Post#last_three_comments and Commentable#last_three_comments, do not double query comments in CommentsController#index for a JSON response, remove spec that tests ordering as it's not deterministic on psql without specified order
2012-01-25 12:44:50 +01:00
Daniel Grippi
89472992cc
Merge pull request #2720 from MrZYX/people_slash_guid
...
use guid instead of id for /people/ urls
2012-01-24 13:14:08 -08:00
Jonne Haß
19785d909b
ensure services is an array in StatusMessagesController#create
...
This fixes posting to a single service for Ruby 1.9
For some reason Rails doesn't convert a single foo[]=bar
not to the expected :foo => ["bar"] but to :foo => "bar"
On Ruby 1.8 String#map exists and just yields self, on
Ruby 1.9 String#map got removed
2012-01-24 18:54:36 +01:00
Jonne Haß
7aaaf4f43b
use guid instead of id for /people/ urls
2012-01-23 23:35:31 +01:00
Jonne Haß
12575bd7f0
update http_accept_language and try to find the preferred locale first, should fix #2715
2012-01-23 14:59:09 +01:00
danielgrippi
778683f3e3
don't extend helpers in the notifications index view; make notification_count and unread_message_count controller helper methods (now that we're not using vanna)
2012-01-22 22:26:27 -08:00
Daniel Grippi
2c50de0726
Merge pull request #2714 from stwf/im-sorry-bye-vanna
...
Remove Vanna Controller from app and fix up notifications controller, views, scripts, specs
2012-01-22 22:15:14 -08:00
Steven Fuchs
7cbcaafbeb
oops, application_helper gone from application_controller.
2012-01-22 23:28:55 -05:00
Steven Fuchs
052690941b
move set_header_data back into application_controller
2012-01-22 23:23:21 -05:00
Steven Fuchs
e882dedd33
remove vanna controller from app, adjust scripts, specs, views and controllers to work.
2012-01-22 17:39:35 -05:00
danielgrippi
740cedde44
temporarly remove newrelic_ignore in PublicsController for heroku analysis
2012-01-22 14:12:24 -08:00
Sarah Mei
872a96dc71
Refactor services controller spec
2012-01-22 08:28:23 -08:00
Jonne Haß
a53b1ccaae
remove stray :A, thanks @aia
2012-01-22 13:50:36 +01:00
Steven Fuchs
9836860ca3
Merge remote branch 'upstream/master' into im-sorry-bye-vanna
2012-01-20 12:23:45 -05:00
Maxwell Salzberg
254860bddc
SM MS; Read email sent to diaspora-dev for more information about this
...
commit. Add migration and rake task to copy hidden information from
share_visibilities to users. see: http://devblog.joindiaspora.com/?p=44
2012-01-17 19:29:01 -08:00
danielgrippi
641ca9fdd2
we want to POST to /status_messages on Publisher submit
2012-01-17 17:46:49 -08:00
Steven Fuchs
36fd43db4c
incorporated improvements from @maxwell from last pull request.
2012-01-17 19:27:48 -05:00
danielgrippi
fdc0b681eb
remove unused api serializers (cruft)
2012-01-17 16:03:24 -08:00
danielgrippi
339c47d782
moved stream logic into its own controller (StreamsController)
2012-01-17 15:53:06 -08:00
danielgrippi
bfe0b7129c
move all stream actions into PostController
2012-01-17 15:53:06 -08:00
Maxwell Salzberg
ca7632776f
prevent mobile comments from 500ing
2012-01-14 11:52:24 -08:00
Maxwell Salzberg
35676cddac
fix #2627 (webfinger produces 500 error, and refactor a little to encapsulate into Webfinger object a bit more
2012-01-14 00:40:42 -08:00
danielgrippi
efe55f395d
remove ajax_stream? logic from streams now that we're using backbone & never ajaxing on mobile; remove unreferenced community_spotlight stream & controller
2012-01-13 13:50:52 -08:00
danielgrippi
aed413b463
remove unused method and controller action (move_contact)
2012-01-13 12:15:32 -08:00
danielgrippi
1efce2cede
Revert "Merge pull request #2547 from stwf/unread_notifications"
...
This reverts commit c61e84bc50 , reversing
changes made to b88899ff2a .
2012-01-11 12:11:00 -08:00
danielgrippi
bee8aa8bcd
remove unused files/methods
2012-01-11 02:26:12 -08:00
danielgrippi
0e5bb81d66
remove all references to the websocket. bang bang.
2012-01-10 12:28:19 -08:00
Daniel Grippi
c61e84bc50
Merge pull request #2547 from stwf/unread_notifications
...
Allow users to click on read notifications to mark them as unread
2012-01-10 10:46:26 -08:00
Daniel Grippi
bdc9421bc5
Merge pull request #2549 from lprelle/no_stream_redirect_from_settings
...
No stream redirection from settings
2012-01-08 20:22:53 -08:00
Maxwell Salzberg
232c4b7931
fix for mobile multi stream [ci skip]
2012-01-07 23:31:17 -08:00
danielgrippi
c3ea1dfc6e
DC DG fix search cucumber step
2012-01-07 14:24:27 -08:00
danielgrippi
3db0cd3776
fix all cukes but the tags feature [ci skip]
2012-01-07 14:24:27 -08:00
danielgrippi
2024716c2c
remove unusued javascript files; GC clearing from application/vanna controller
2012-01-07 14:24:27 -08:00
danielgrippi
3f7144f214
added hide post feature back to stream
2012-01-07 14:23:28 -08:00
danielgrippi
24950bd364
restored ability to 'unlike'
2012-01-07 14:23:28 -08:00
Dennis Collinson
b582f45452
green jasmine, yo
2012-01-07 14:23:28 -08:00
danielgrippi
4fabbe93a5
fix ResharesController / StatusMessage controller spec; remove another js response
2012-01-07 14:23:26 -08:00
danielgrippi
719e265b68
modified app to return a hash if current_user is not present; removed view specs in postsController specs & moved logic to js/jasmine
2012-01-07 14:23:26 -08:00
danielgrippi
02ca7a32f0
added reshare logic back (doesn't append it to the stream...)
2012-01-07 14:23:25 -08:00
danielgrippi
505adbe07b
aspect stream uses backbone; don't ajax in aspect selectors for now
2012-01-07 14:23:25 -08:00
danielgrippi
4029b26c03
created publisher view; wip
2012-01-07 14:23:25 -08:00
danielgrippi
039df8f879
fixed 14 cukes (all comments features)
2012-01-07 14:23:25 -08:00
danielgrippi
7c5e3cb415
switch like_stream to use backbone
2012-01-07 14:23:24 -08:00
danielgrippi
1b8f78e006
remove sort order logic from controllers; backbone stream does not support it; was to be depricated anyway
2012-01-07 14:23:24 -08:00
danielgrippi
6911ed5d7d
expand comments working
2012-01-07 14:23:23 -08:00
danielgrippi
b94b5240a8
added block user functionality to the stream
2012-01-07 14:23:23 -08:00
danielgrippi
6760e3868d
remove js resposne for likes, do it in backbone with json responses instead
2012-01-07 14:23:23 -08:00
danielgrippi
d9d878f11f
added api response for likes; cleaned up view logic; specify like collection url from parent model (Post)
2012-01-07 14:23:23 -08:00
danielgrippi
ae6fa5bebb
don't use Diaspora widget system or stream.js when backbone is active;
...
migrating like actions over to backbone; some cleanup; bump jquery to
1.7.1
2012-01-07 14:23:22 -08:00
danielgrippi
f5172fa977
comment and post deletion now works on the backbone stream
2012-01-07 14:23:22 -08:00
danielgrippi
9e4e58e002
fix facebook specs; comment controller specs
2012-01-07 14:23:22 -08:00
danielgrippi
1ecfa92c9e
DH DG; create comments via backbone
2012-01-07 14:23:21 -08:00
Daniel Grippi
19db5519c0
DG DH; made acts_as_api play nice with backbonejs. comments are semi-functional; stream elements use the StreamElement js widget (for now).
2012-01-07 14:23:20 -08:00
danielgrippi
aa7343d759
add profile streams to backbone. this breaks hovercards, atm.
2012-01-07 14:23:20 -08:00
danielgrippi
42ce3b277b
backbone all the streams, besides user. don't use the acts_as_api way 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
danielgrippi
2a13381773
DG DH; pagination on backbone stream
2012-01-07 14:23:20 -08:00
danielgrippi
c360e82f11
DG DH; backbone stream now sort-of renders on multis_controller; wip
2012-01-07 14:23:20 -08:00
Jonne Haß
00a800ab07
this should fix a weired test polution case on travis where the x-git-revision header is suddenly nil
2012-01-06 03:26:00 +01:00
Maxwell Salzberg
41ecf2b27d
make a method in EnviromentConfiguration to test if newrelic is setup
2012-01-05 18:14:06 -08:00
Jonne Haß
52c75a7ad4
Revert "Revert "auto follow back feature""
...
This reverts commit 6408105917 .
Conflicts:
db/schema.rb
2012-01-04 13:49:56 +01: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
Steven Fuchs
f72a4b4476
notifications controller should return the guid and unread state of the updated notification
2011-12-23 22:58:01 -05:00
Steven Fuchs
a1d474111b
controller now only accepts string values for unread.
2011-12-23 15:35:07 -05:00
Steven Fuchs
cd75c6ea67
cleaner reading of unread parameter
2011-12-23 11:36:20 -05:00
Lennart Prelle
0a83b0d37a
forget the return
2011-12-23 13:51:40 +01:00
Lennart Prelle
9ab4cd113e
remove redirect to stream from settings
2011-12-23 13:44:41 +01:00
Steven Fuchs
f3486e831f
changes is_unread parameter to unread
2011-12-22 22:57:05 -05:00
Steven Fuchs
f2be6e8bcf
controller can accept a parameter as to whether the notification should be marked as read or unread
2011-12-22 15:20:48 -05:00
Maxwell Salzberg
22d5e913cc
remove splunk logging
2011-12-21 14:24:03 -08:00
Jonne Hass
d6f98d12e1
even more spec fixing, postgres throws statement invalids for duplicate keys, luckily record not unique is a subsubclass of it so we can just catch the higher error
2011-12-11 04:45:11 +01:00
Jonne Hass
12d0eee7d9
use new translation keys for will_paginate instead of the setting
2011-12-11 02:49:43 +01:00
Jonne Hass
57661fe9dd
fixed a couple of specs
2011-12-11 02:08:38 +01:00
Jonne Hass
5726b37fb9
diaspora connect: fix edge case where pod lost the client information
2011-12-11 01:37:15 +01:00
Jonne Hass
8b141ed5d5
oauth feature green, except for the pod forgot client edge case
2011-12-10 12:54:39 +01:00
Jonne Hass
4dd55ebdad
fix diaspora connect for the new oauth stuff WIP. There's one bug where the oauth_identifier changes but the client doesn't get informed or doesn't save it. I hope it's the last bug. Btw. this is all ugly
2011-12-10 12:54:39 +01:00
Maxwell Salzberg
90458381f5
basic page for deleting account with temporary text and cute cat picture
2011-12-08 16:32:20 -08:00
Maxwell Salzberg
f800d50a2b
i think this works
2011-12-08 16:32:19 -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
Ilya Zhitomirskiy
03ca34767a
ms iz rendering nothing for hcard and webfinger if account is closed, not showing aspect dropdown if the user account is closed
2011-12-08 16:32:18 -08:00
Gonzalo Rodriguez
c7c46d2b7b
Update edit form after aspect rename. Closes #2363 .
2011-12-07 01:57:04 -02:00
danielgrippi
beeb02dcd6
omniauth 1.0 replaced 'user_info' with 'info'
2011-12-06 17:53:41 -08:00
danielgrippi
d0f58e1bd4
Revert "upgrade devise; devise_invitable"
...
This reverts commit 0f56ee7b77 .
2011-12-06 11:01:50 -08:00
danielgrippi
0f56ee7b77
upgrade devise; devise_invitable
2011-12-06 10:50:29 -08:00
Gonzalo Rodriguez
c62a9a2e63
Little refactor on PeopleController#index
2011-12-03 21:19:58 -02:00
Johannes Hackel
4b25545e82
fix sql error
2011-12-02 15:03:15 +01:00
Pistos
aa0aaa2f92
Revert "Merge pull request #2428 from geckoxx/comment_stream"
...
This reverts commit 8a27568273 , reversing
changes made to 31ef2d60f7 .
Conflicts:
app/helpers/stream_helper.rb
app/views/aspects/index.html.haml
config/locales/diaspora/en.yml
config/routes.rb
spec/lib/stream/comments_spec.rb
2011-11-30 22:22:32 -05:00
Daniel Grippi
cec1f09202
specs green
2011-11-30 09:56:47 -08:00
Daniel Grippi
682d45d9bd
Merge pull request #2426 from geckoxx/like_stream
...
Like stream
2011-11-30 09:11:17 -08:00
Daniel Grippi
5a1b73dc61
Merge pull request #2433 from geckoxx/2274-empty-tag
...
Fix Bug 2274, empty tag
2011-11-30 09:07:30 -08:00
aboire
d03695e128
update url invitation facebook
2011-11-30 17:44:45 +04:00
Johannes Hackel
23fa7a0a3e
like stream new
2011-11-29 17:27:09 +01:00
Johannes Hackel
ef28e89809
people_controller_spec
2011-11-23 23:45:09 +01:00
Johannes Hackel
66acd7db14
specs, stay on page
2011-11-22 12:54:19 +01:00
Johannes Hackel
eb65074360
Fix Bug 2274, empty tag
2011-11-22 12:16:00 +01:00
Johannes Hackel
7368bb9e62
comment_stream
2011-11-20 18:37:10 +01:00
Sarah Mei
ad27eaac3d
Fix photo#show for non-logged-in user
2011-11-19 21:17:39 -08:00
danielgrippi
6be778b9b2
change root_path and root_url to multi_path
2011-11-14 18:01:09 -08:00
danielgrippi
6408105917
Revert "auto follow back feature"
...
This reverts commit 226554becf .
Conflicts:
config/locales/diaspora/en.yml
2011-11-14 17:18:43 -08:00
Sarah Mei & Tim Frazer
e38cb41f85
Better error messages for folks coming in with a bad invitation token, whether by clicking the "view this invitation in your browser" link or by clicking the accept invitation button.
...
Get rid of 500 error on the "view this invitation in your browser" link
2011-11-14 17:02:13 -08:00
Jonne Hass
226554becf
auto follow back feature
2011-11-14 20:25:11 +01:00
Jonne Hass
6526e2f305
fix #2392
2011-11-13 22:37:18 +01:00
Jonne Hass
b3142ac208
redirect to sign in page from photo#show on a private photo when user isn't signed in
2011-11-10 22:44:12 +01:00
Jonne Hass
10fa7ba024
fixed 500 on photos#show for private photos and logged out user
2011-11-10 19:31:00 +01:00
Jason Robinson
c04bcebfca
Bookmarklet render if statement negated for code simplicity
2011-11-09 22:44:57 +02:00
Jason Robinson
af5c469f10
Created missing view for mobile bookmarklet. Adjusted status_messages_controller.rb to render it.
2011-11-09 22:44:57 +02:00
danielgrippi
de88c0ab48
correct newrelic_ignore
2011-11-06 19:35:30 -08:00
Pistos
14842c1b43
Merge remote-tracking branch 'johnedmonds/issue1144'
2011-11-06 22:21:53 -05:00
Sarah Mei
c2893a2e3d
Fix require problem with the acts_as_taggable patches
2011-11-05 22:38:14 -07:00
Sarah Mei
92c28857b3
Refactor and backfill tags_following_controller_spec. Move normalize tag specs into model spec. Move rss fixture file into fixture directory.
2011-11-05 16:05:13 -07:00
Jonne Hass
9ee3b2d080
improved closing account experience and fixed the cuke
2011-11-05 11:30:21 +01:00
Sarah Mei
d17ecd6101
Fix user controller spec
2011-11-04 22:06:56 -07:00
Ilya Zhitomirskiy
f3183a11e1
message explaining that we're populating things in the background
2011-11-04 16:20:51 -07:00
Ilya Zhitomirskiy
ecd2a52553
added a password field before account closure
2011-11-04 10:25:19 -07:00
Sarah Mei
f9a9654c86
Allow non-logged-in users to see public photos
2011-11-03 22:07:48 -07:00
danielgrippi
bb19531195
require newrelic_rpm if newrelic is configured
2011-11-03 18:06:32 -07:00
danielgrippi
dca370d3ff
ignore publicscontroller in newrelic
2011-11-03 14:45:46 -07:00
danielgrippi
b56dc9205b
added ignore text on user pages if it applies
2011-11-03 12:31:25 -07:00
danielgrippi
0ab23f337a
fixed all cukes; view bugs on streams
2011-11-03 12:31:24 -07:00
danielgrippi
5df6bc1adf
block user now removes a contact if user is blocking a contact
2011-11-03 12:31:24 -07:00
danielgrippi
ee5bc25faf
DH DG; don't display blocked people in stream; switch controls in stream; disallow blocking yourself
2011-11-03 12:31:24 -07:00
danielgrippi
ae7944418c
DH DG; made privacy page; can now unblock a user; users are actually being blockocked in ajaxed streams
2011-11-03 12:31:24 -07:00
Dan Hansen
16e76886d9
wip
2011-11-03 12:31:24 -07:00
Pistos
78a96a18e4
This fixes issue #2298 .
...
Following a hashtag with a dot now no longer breaks the user's stream page.
All unacceptable hashtag chars are stripped out, and the given tag is
normalized before being followed.
2011-11-02 23:51:12 -04:00
Lennart Prelle
f2123d942d
make language for email-invitation available
2011-10-31 21:11:47 +01:00
Ilya Zhitomirskiy
82fabbadd1
Revert "remove sort order option from the stream (commented at is too crazy and way to slow on large data sets)"
...
This reverts commit 95aac2f352 .
2011-10-31 12:38:00 -07:00
danielgrippi
95aac2f352
remove sort order option from the stream (commented at is too crazy and way to slow on large data sets)
2011-10-30 21:46:23 -07:00
danielgrippi
0def71d74f
add some feedback text & animation; added spec for collapsing tags
2011-10-27 19:57:00 -07:00
danielgrippi
b879070744
avatars for likes
2011-10-26 23:50:01 -07:00
Maxwell Salzberg
9789e25c99
fix oembed spec; prevent people from commenting on posts that wont federate
2011-10-26 17:32:27 -07:00
Pistos
3ce0806cbc
Merge branch 'master' into issue-2032-view-comments-on-public-post-without-login
...
Conflicts:
app/controllers/comments_controller.rb
app/helpers/comments_helper.rb
2011-10-25 22:21:08 -04:00
danielgrippi
f204910aa4
add 'mark all as read' on notification dropdown
2011-10-25 17:33:57 -07:00
danielgrippi
9fba69cd5b
added person stream; temp hack for photos
2011-10-25 16:29:45 -07:00
danielgrippi
28e08fb6a3
show actual screenshots of diaspora mobile on logout; supress log out flash message; bootstrap on logged out page (can we get d* shots in wp7 and android emulators?)
2011-10-24 20:51:16 -07:00
Maxwell Salzberg
d5e3033308
make a setting to check out the new getting started
2011-10-24 17:10:36 -07:00
danielgrippi
1bc637d83f
new getting started works, needs more love
2011-10-24 14:11:35 -07:00
danielgrippi
547d7e4f8c
bootstrapped getting started page
2011-10-24 14:11:35 -07:00
Ilya Zhitomirskiy
e7584261c7
removeing the tooltips after submit
2011-10-24 14:11:35 -07:00
Ilya Zhitomirskiy
431fa3fd04
removing getting started on first post and having tooltips in the
...
publisher
2011-10-24 14:11:35 -07:00
Ilya Zhitomirskiy
ee74948863
wip welcome post, publisher object
2011-10-24 14:11:35 -07:00
Ilya Zhitomirskiy
bfd2d440d1
ajax form on the getting started
2011-10-24 14:11:34 -07:00
Ilya Zhitomirskiy
80216cb024
wip save on blur
2011-10-24 14:11:34 -07:00
Ilya Zhitomirskiy
c7838debcf
creating multiple tag_followings
2011-10-24 14:11:34 -07:00
Maxwell Salzberg
4022ff5163
small possible fix for conversations
2011-10-24 13:06:32 -07:00
Ilya Zhitomirskiy
8b3c4f4cf2
checking on the attribute not the method
2011-10-24 11:00:00 -07:00
Ilya Zhitomirskiy
d51516fff3
bumped carrierwave, photos can now be downloaded from a url, fetching profile photo job
2011-10-24 11:00:00 -07:00
Ilya Zhitomirskiy
c60adda3a9
WIP, almost done for twitter, just need to figure out how to follow redirects
2011-10-24 11:00:00 -07:00
danielgrippi
44c9fcf65f
log in to the stream
2011-10-23 18:21:07 -07:00
John Edmonds
b482d16622
Merge branch 'master' into issue1144
2011-10-22 14:39:03 -04:00
danielgrippi
64f7450d6c
DG MS; fix case where pod does not have any communty spotlight
2011-10-21 17:39:39 -07:00
danielgrippi
794247d07b
MS DG; rename soup to stream; fix a bunch of translations
2011-10-21 14:44:02 -07:00
danielgrippi
79ec50a16c
DG MS; added setting for displaying spotlight members in soup stream
2011-10-21 14:44:02 -07:00
danielgrippi
44b58d707f
featured users => community spotlight
2011-10-20 11:50:58 -07:00
Maxwell Salzberg
cb89772a6a
when connected, external services fill in profile info that you have not yet filled out
2011-10-18 10:02:24 -07:00
Sarah Mei
98ef5212f3
Merge branch 'tag_stream_api'
2011-10-16 15:47:20 -07:00
Sarah Mei
80821c9cc5
Basic tag metadata returned. Now what to do about posts?...
2011-10-16 15:25:11 -07:00
Sarah Mei
42e061dfa0
Fix one tag api spec
2011-10-16 13:43:21 -07:00
Manuel Schölling
bdeae54c6c
Make Photos not inherit from Posts
2011-10-16 13:58:35 +02:00
Manuel Schölling
02a3c3f88b
Introduced Shareable
2011-10-16 13:58:35 +02:00
Manuel Schölling
6e325f8fd5
Introduced Commentable
2011-10-16 13:58:35 +02:00
Maxwell Salzberg
f2c16bec85
add files
2011-10-15 22:38:21 -07:00
Maxwell Salzberg
ea700716ab
SM MS remove instance var from mobile post view
2011-10-15 21:18:58 -07:00
Maxwell Salzberg
d6e9809be1
MS SM finished tag stream refactor
2011-10-15 20:40:20 -07:00
Maxwell Salzberg
2dda160990
tag stream wip
2011-10-15 18:57:35 -07:00
Pistos
153615e651
Fix more specs. Added an explicit spec for all_comments .
2011-10-15 16:21:26 -04:00
Pistos
35a0c56346
This fixes issue #2032 . Anyone can now view all comments on a public post without needing to log in.
2011-10-15 00:18:17 -04:00
Maxwell Salzberg
bcb52b35cf
make soup available to everyone to see if we can get feedback
2011-10-14 14:43:51 -07:00
Maxwell Salzberg
14c5f1c564
MS DG; only select the ids for soup query
2011-10-14 11:08:47 -07:00
danielgrippi
0ce7f0c4bf
properly scope Stream::Soup in SoupsController
2011-10-14 06:44:25 -07:00
Maxwell Salzberg
f959ca0c12
refactor streams to be in a Stream module, hopefully they will auto-reload now
2011-10-13 22:26:15 -07:00
Maxwell Salzberg
44b0887e0a
who wants a goat that fetches SOAP?!!
2011-10-13 22:26:15 -07:00
Gonzalo Rodriguez
2de057d210
Remove unused method
2011-10-12 23:57:16 -02:00
Gonzalo Rodriguez
6849c3604b
Keep searched tag in the search field. Closes #1983 .
2011-10-12 04:10:26 -02:00
Ilya Zhitomirskiy
7becb0ac0e
added require in admins controller
2011-10-11 11:05:32 -07:00
Ilya Zhitomirskiy
288d20b6e8
correlations on the admins page
2011-10-11 10:57:26 -07:00
Ilya Zhitomirskiy
4c9b45b9c8
WIP
2011-10-11 10:57:26 -07:00
danielgrippi
818167c565
DG IZ; wip
2011-10-11 10:57:26 -07:00
danielgrippi
882c0c2170
DG MS; fixed tags autocomplete styling and js
2011-10-10 15:59:13 -07:00
Gonzalo Rodriguez
6b5928ca09
Remember last selected aspects through the session
2011-10-09 02:24:53 -02:00
Levente Bagi
43544a7bee
fixed tags#show when tag is not found
...
Bug introduced by commit 2b22e1dab
2011-10-08 00:31:53 +01:00
Maxwell Salzberg
2b22e1dab5
make the links on featued users tile be the tag with the name in the link. added a following count to tags
2011-10-07 12:19:28 -07:00
danielgrippi
2baa1e7c6e
remove hidden posts from the cache; add unhidden posts to the cache
2011-10-06 19:14:08 -07:00
Your Name
5b9fbd19ed
moar specs, a little perf upgrade for base_stream#person
2011-10-06 17:13:04 -07:00
Your Name
55ffc44a42
wip
2011-10-06 17:13:04 -07:00
Maxwell Salzberg
cdce54bbda
MS SM featured users stream. because we do what we want
2011-10-05 21:12:02 -07:00
Ilya Zhitomirskiy
2185df3f52
chaged the default order to created_at
2011-10-05 15:17:45 -07:00
Maxwell Salzberg
a3eeb9f3c1
comment on tagged posts wip
2011-10-04 18:20:15 -07:00