Jonne Haß
2a4db54db9
New configuration system
...
* Throw away old system
* Add new system
* Add new example files
* Replace all calls
* add the most important docs
* Add Specs
* rename disable_ssl_requirement to require_ssl
* cloudfiles isn't used/called in our code
* since community_spotlight.list is only used as enable flag replace it with such one and remove all legacy and irelevant codepaths around it
* die if session secret is unset and on heroku
* First basic infrastructure for version information
2012-09-26 20:19:37 +02:00
Jonne Haß
6c1a1ec6d2
it's enviroNment
2012-09-15 18:52:12 +02: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
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
Maxwell Salzberg
ab727fc846
federation logger now in place.
2012-02-16 17:58:15 -08:00
Maxwell Salzberg
54e8040bfd
basic federation profile testing stuff
2012-02-14 10:58:57 -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
danielgrippi
740cedde44
temporarly remove newrelic_ignore in PublicsController for heroku analysis
2012-01-22 14:12:24 -08:00
Maxwell Salzberg
41ecf2b27d
make a method in EnviromentConfiguration to test if newrelic is setup
2012-01-05 18:14:06 -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
danielgrippi
de88c0ab48
correct newrelic_ignore
2011-11-06 19:35:30 -08: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
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
Your Name
55ffc44a42
wip
2011-10-06 17:13:04 -07:00
danielgrippi
999efbd451
IZ DG MS; fix method call in public receiver
2011-09-15 19:37:56 -07:00
danielgrippi
60cb9e43a7
DG MS; renamed Salmon jobs; CGI::unescape() incoming xml in public receive route
2011-09-15 15:33:28 -07:00
danielgrippi
97f80272b2
DG MS; changed Job:: to Jobs::; require all mail jobs from Job base class
2011-09-15 12:42:53 -07:00
danielgrippi
ec011f0800
DG MS; optimized local comments to be batched; backfilled more tests
2011-09-15 11:22:47 -07:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
Maxwell Salzberg
6e60905d0d
DG MS major refactor of salmon and corresponding federation logic
2011-09-12 14:05:32 -07:00
Maxwell Salzberg
6b0507949c
updated salmon to let us not always encrypt the header
2011-09-12 14:05:31 -07:00
danielgrippi
db645e8da8
merged publics/show and posts/show
2011-08-10 18:07:38 -07:00
danielgrippi
118d3720c4
added view for activitystreams public post
2011-08-10 11:24:51 -07:00
Raphael Sofaer
7f5f696642
Don't let googlebot 500 us on the public post page
2011-08-09 12:26:10 -07:00
danielgrippi
b11c1a899f
add invitations partial back, removed set_invites (yay)
2011-08-03 18:47:06 -07:00
danielgrippi
a32ef3c1d8
added xml response to the post
2011-07-21 18:22:18 -07:00
danielgrippi
bdc4b9f746
marsharing reshares now grabs the post from the original poster, also fetcheer that person if they don't exist locally still need to ping for xml and give the right xml back
2011-07-21 18:22:18 -07:00
danielgrippi
509a435cc9
moving to not including the post in the reshare xml
2011-07-21 18:22:17 -07:00
Raphael Sofaer
97ca10ddda
Huge commit I know, but move show and destroy routes into PostsController and PostsController#show into PublicsController
2011-07-10 20:06:31 -07:00
Raphael Sofaer
d002c14aab
Initial implementation of allowing cross-origin requests in the webfinger flow, so that the unhosted guys can use Diaspora. May not work with caches-page on host-meta. We'll have to use X-Accel-Redirect or something.
2011-06-26 20:29:39 -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
danielgrippi
4f972a23f6
drop requests table wip
2011-04-06 19:01:41 -07:00
MrZYX
4c696603c6
some better http status codes
2011-04-06 17:16:39 +02:00
Raphael Sofaer
1666843aa9
Fix 500 in publicsController
2011-03-14 16:48:07 -07:00
MrZYX
e4be5db881
there can be no reason to not set the locale
2011-03-11 15:37:33 +01:00
maxwell
1baafac84b
added content to rss feed
2011-03-09 19:11:09 -08:00
Raphael Sofaer
e6836c46a7
Remove unnecessary includes, finish renaming set_header_data, only run set_header_data on html requests
2011-03-09 17:50:46 -08:00
danielgrippi
78e30ff459
update unread count in conversation visibility when hitting conversationscontroller#show
2011-03-08 11:43:58 -08:00
MrZYX
98cdee97c0
Merge branch '619-gender-aware-translations' of https://github.com/siefca/diaspora into inflections
...
Conflicts:
Gemfile
app/controllers/application_controller.rb
app/controllers/posts_controller.rb
app/controllers/publics_controller.rb
2011-02-24 00:33:34 +01:00
danielvincent
ae8686ef25
add which_action_and_user to application_controller
2011-01-28 16:15:50 -08:00
maxwell
e7a065a521
make jobs have a base class, which will verify the activerecord connection before trying the job
2011-01-19 14:10:42 -08:00
danielvincent
511a48adde
fixed publicscontroller specs
2011-01-18 16:52:11 -08:00
Raphael
85bae12a00
Query on guid, not id
2011-01-18 16:07:58 -08:00
Raphael
738e8c65c8
Merge almost complete, 4 failures
2011-01-14 16:00:10 -08:00
Paweł Wilk
ee59f36b77
Added grammatical inflection support using I18n Inflector with Rails plug-in
2011-01-14 18:33:15 +01:00
maxwell
f509367a40
fix the 404 page to show the dun goofed guy
2011-01-13 17:31:18 -08:00
maxwell
cff387d651
make sure receive unescapes the payload before sending it to the job
2011-01-06 16:30:22 -08:00
Raphael
319452537e
Below 70 failures, GUIDs are next
2010-12-21 15:46:15 -08:00
maxwell
1451db6cd8
fixed rspec build
2010-12-16 10:15:16 -08:00