diaspora/app/controllers
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
..
activity_streams Make Photos not inherit from Posts 2011-10-16 13:58:35 +02:00
admins_controller.rb make popular tags human readable 2012-02-19 21:28:12 -06:00
apis_controller.rb 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
application_controller.rb use the user presenter, luke 2012-02-18 16:28:03 -08:00
apps_controller.rb remove unneeded line from apps_controller [ci skip] 2012-01-27 02:23:37 -08:00
aspect_memberships_controller.rb remove unused method and controller action (move_contact) 2012-01-13 12:15:32 -08:00
aspects_controller.rb update aspect name in page listing after editing. 2012-02-03 08:37:35 -05:00
authorizations_controller.rb fixed a couple of specs 2011-12-11 02:08:38 +01:00
blocks_controller.rb added block user functionality to the stream 2012-01-07 14:23:23 -08:00
comments_controller.rb add keybinding to the viewer 2012-02-22 19:19:24 -08:00
contacts_controller.rb 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
conversation_visibilities_controller.rb MS DG update copyright 2011-09-14 11:23:12 -07:00
conversations_controller.rb conversations should return JSON #2833 2012-02-24 09:39:40 +01:00
home_controller.rb change routes to properly reflect page names (activity/stream). 2012-02-18 16:26:16 -08:00
invitations_controller.rb Revert "upgrade devise; devise_invitable" 2011-12-06 11:01:50 -08:00
likes_controller.rb update reshare count when resharing; return PostPresenter for reshare root in the success response 2012-02-22 18:02:08 -08:00
messages_controller.rb DG MS; Broke out HydraWrapper in HttpMulti job 2011-09-14 15:50:07 -07:00
notifications_controller.rb use the user presenter, luke 2012-02-18 16:28:03 -08:00
participations_controller.rb display proper counts after feedback actions; modified destroy responses to return PostPresenter objects 2012-02-21 21:44:44 -08:00
people_controller.rb 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
photos_controller.rb cukes passing 2012-02-23 17:24:19 -08:00
posts_controller.rb 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
profiles_controller.rb cleanup, yoq 2012-02-08 17:25:25 -08:00
publics_controller.rb Cross-Origin Resource Sharing 2012-03-10 23:49:56 -08:00
registrations_controller.rb MS DG update copyright 2011-09-14 11:23:12 -07:00
reshares_controller.rb cukes passing 2012-02-23 17:24:19 -08:00
services_controller.rb Refactor services controller spec 2012-01-22 08:28:23 -08:00
sessions_controller.rb DG MS; changed Job:: to Jobs::; require all mail jobs from Job base class 2011-09-15 12:42:53 -07:00
share_visibilities_controller.rb bang! kill redis cache. 2012-02-02 12:45:43 -08:00
status_messages_controller.rb federation logger now in place. 2012-02-18 16:28:04 -08:00
streams_controller.rb change routes to properly reflect page names (activity/stream). 2012-02-18 16:26:16 -08:00
tag_followings_controller.rb change routes to properly reflect page names (activity/stream). 2012-02-18 16:26:16 -08:00
tags_controller.rb added user_is_following method, added 2 model specs 2012-02-18 16:26:10 -08:00
tokens_controller.rb authentication required on the token show page because it 500s if you are not logged in 2011-08-09 18:10:27 -07:00
users_controller.rb removing estates builder, as we are now using a template 2012-02-25 16:55:26 -08:00