Jonne Haß
640a0181ab
Fix federation with GnuTLS by passing the ca_file to Typhoeus
...
How did this ever work? Anyway Diaspora now works with libcurl4-gnutls-dev
which already supports SNI in most distributions and is also the default
for many distros. Everybody should switch to it. Do so by installing it and
then do a gem uninstall typhoeus followed by a bundle to compile it with
GnuTLS
2012-01-28 01:41:53 +01:00
danielgrippi
4cf48cae6b
check for presence in dispatcher
2012-01-27 16:30:02 -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
67432bfaf4
suppress annoying resque errors; add a task to clear Resque failures
2012-01-27 14:57:04 -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
cc5334ce9a
make this scary join a scope [ci skip]
2012-01-27 02:23:37 -08:00
danielgrippi
c133c16dc2
DG MS; don't fetch people or contact objects (you don't need) on multi stream.
2012-01-26 14:52:31 -08:00
danielgrippi
005b165e87
defer dispatching to help app processes not bloat in memory
2012-01-26 13:24:53 -08:00
Maxwell Salzberg
c23e6d9afd
dispatcher#post should not take opts
2012-01-26 13:24:53 -08:00
danielgrippi
e170829bf7
pull back less Person objects in the stream query.
2012-01-25 19:40:40 -08:00
Dennis Collinson
b0ef88fb9f
WIP convert multiStream query to evilQuery
2012-01-25 19:10:25 -08:00
Maxwell Salzberg
c490224516
change the name of the rake task as we are doing it locally for now
2012-01-25 18:23:49 -08:00
Dennis Collinson
f332610016
Refactor user.shareables_from into evil query class for optimization, possibly broken.
2012-01-25 16:32:18 -08:00
Dennis Collinson
d69953b0d6
enter the idea of the evilquery
2012-01-25 14:20:16 -08:00
Maxwell Salzberg
939383ef32
You can now use rake assets:precompile to upload all of your static assets to s3. This uses your prexisiting settings in AppConfig for s3. then, start your server with ASSET_HOST={cdn_hostname} remember to include https and no trailing slash
2012-01-25 11:22:45 -08: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
danielgrippi
72aee6b2c1
don't use .last(3), use .limit(3) instead. also, don't put an order on an association as it isn't overridable. (this commit minimizes AR object instantiation in the stream)
2012-01-24 23:47:45 -08:00
danielgrippi
eaed3505e4
Don't create share_visibilities for public posts, sans migration of deleting old data.
2012-01-24 16:49:07 -08:00
danielgrippi
52438ffaf2
add unicorn back in. only use one worker process for now. also, move chrome_frame middleware into the correct load path in lib. [ci skip]
2012-01-24 14:56:55 -08:00
Jonne Haß
98bdf68003
do not rely on hoptoad to insert rack ssl
2012-01-22 18:42:06 +01:00
Maxwell Salzberg
dcce2976b5
reset soft so you dont lose your custom homepage when you deploy
2012-01-20 16:37:32 -08:00
Maxwell Salzberg
73655efd53
add precompile rake task for heroku (aliasing our jammit and sass setup) [ci skip]
2012-01-20 15:42:20 -08:00
Maxwell Salzberg
493553f979
working on making heroku_san magical
2012-01-19 19:21:10 -08:00
Maxwell Salzberg
f3120b3d5a
add stash to before/after deploy so you dont lose in progress h@x
2012-01-19 19:20:11 -08:00
danielgrippi
f0a698d806
added before_deploy and after_deploy tasks
2012-01-19 19:20:11 -08:00
Maxwell Salzberg
69e81a0dc3
move loading rack ssl to an initializer, so we have EnviromentConfiguration and AppConfig. also, circumvent ssl requirement option is now back"
2012-01-18 17:57:26 -08:00
Maxwell Salzberg
1b3cdbb78a
Revert "add a circumvent_ssl_requirement option to application.yml.example; sending out a mail to diaspora-dev for more info"
...
This reverts commit ed45789403 .
2012-01-18 16:52:13 -08:00
Maxwell Salzberg
e4bb00fa2f
Revert "make sure we always have app config in enviroment configuration"
...
This reverts commit 23fb1b0a29 .
2012-01-18 16:52:01 -08:00
Maxwell Salzberg
23fb1b0a29
make sure we always have app config in enviroment configuration
2012-01-18 16:44:36 -08:00
Maxwell Salzberg
ed45789403
add a circumvent_ssl_requirement option to application.yml.example; sending out a mail to diaspora-dev for more info
2012-01-18 15:50:22 -08:00
Maxwell Salzberg
0a40cdf288
MS DG make share_visibility_converter really defensive :(
2012-01-18 11:48:23 -08:00
Maxwell Salzberg
0edb06eef7
fix for the migration for some linux users, which the AR stubs were not carring over from the migration file to the ShareVisibilityConverter
2012-01-18 09:29:00 -08:00
Maxwell Salzberg
38ad76d9c7
rewrite webfinger client and specs; now this is much easier to maintain.
2012-01-18 01:21:28 -08: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
bfe0b7129c
move all stream actions into PostController
2012-01-17 15:53:06 -08:00
Maxwell Salzberg
6e02f61395
MS remove custom resque job logging as it is making heroku very sad
2012-01-16 20:25:56 -08:00
Maxwell Salzberg
467f3b0bda
MS TT; Add heroku_san to gemfile, adjust custom heroku rake tasks
2012-01-16 20:25:56 -08:00
Jonne Haß
68fb01b2fd
bump typhoeus timeout to 25 seconds too #2590 [ci skip]
2012-01-16 15:20:12 +01: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
Maxwell Salzberg
c45057bd94
update settings logic, and heroku rake task
2012-01-13 13:59:34 -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
Maxwell Salzberg
f937804bb8
tell travis to run rspec files in a random order
2012-01-11 19:17:07 -08:00
danielgrippi
0e5bb81d66
remove all references to the websocket. bang bang.
2012-01-10 12:28:19 -08:00
Tray Torrance
def764f29f
Remove logging:basic before adding logging:expanded
2012-01-09 19:26:33 -08:00
Jamie Wilkinson
c152ecf5a7
Fix typo in 'rake heroku:install_requirements'
2012-01-09 16:38:55 -08:00
Tray Torrance
a35612410f
No longer skip false values; quote values so that whitespace is valid.
2012-01-08 23:21:21 -08:00
danielgrippi
64a90a30ef
only load photos for a post if photos_count > 0; display 'limited' or 'public' in stream elements; fix small like bug in stream
2012-01-07 14:23:27 -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
cec2d27204
ported likes logic for the stream over from old branch
2012-01-07 14:23:22 -08:00
Maxwell Salzberg
41ecf2b27d
make a method in EnviromentConfiguration to test if newrelic is setup
2012-01-05 18:14:06 -08:00