Roger Braun
ec9c8d7dae
Remove photo backdrop in single post view.
2013-08-16 10:46:15 +02:00
Oliver Azevedo Barnes
c5a1078f45
Moved account_deleter as well, same tests break
2013-08-13 18:37:51 -05:00
Oliver Azevedo Barnes
7214dc184d
Remove namespacing from federation libs recently migrated from app/models/
2013-08-13 18:23:05 -05:00
Oliver Azevedo Barnes
1c9d65e94c
WIP refactor namespacing for federation libs, into Diaspora::Federated
2013-08-12 13:10:38 -05:00
Oliver Azevedo Barnes
5564644306
WIP
2013-08-12 13:10:38 -05:00
Oliver Azevedo Barnes
689abfb49c
Move non-model federation stuff into lib/
2013-08-12 13:10:38 -05:00
Andrew Smith
2bb6bc8eef
Added Wordpress service functionality,
...
for cross-posting to OAuth-enabled Wordpress.com or Jetpack-enabled Wordpress.org blogs.
Added model for Wordpress service
Added very very basic Wordpress cross-posting functionality.
Added markdown support to post body
Fixed Wordpress::MAX_CHARACTERS problem
cleanup
Added default settings for Wordpress OAuth
Added default settings for Wordpress OAuth
Added Wordpress to configured services spec.
changelog changes
2013-08-04 07:46:56 -07:00
carolina
f6fe74aeae
Migration to turn ActivityStreams::Photo to StatusMessage
...
deletes ActivityStream model and all it's references
update migration with the without_protection option to disable mass assignment protection
2013-07-31 15:15:08 +02:00
fabianfiorotto
3e5b29b289
Fix pagination for people list on the tag stream page
...
Update _index.html.haml
This params broken the pagination of the followers list in tags page
To reproduce try to paginate in
https://joindiaspora.com/tags/diaspora
test for people pagination patch
reducing the per page limit
removing tabs
2013-07-06 13:10:29 +02:00
Florian Staudacher
fd2917271c
it appears autoload in production doesn't pick up the new
...
"Diaspora::Mentionable" module
2013-06-10 13:57:49 +02:00
Florian Staudacher
4ee5d5f19c
replace mentions of out-of-aspect people in limited posts with just a
...
markdown link to their profile (fixes #2516 )
add failing spec for #4160 / #2516
extend the spec a bit more
refactor mention handling in a status message
add method for filtering mentions by aspects
wire mention filtering into the status message model, adapt a few tests to
work properly
cosmetic changes
shorten helper methods
add changelog entry
2013-06-09 19:16:40 +02:00
Florian Staudacher
bcb1214f99
Merge pull request #4162 from MrZYX/typhoeus
...
bump Typhoeus and refactor HydraWrapper
2013-06-04 03:36:39 -07:00
Jonne Haß
d331242d94
Merge branch 'feature/retract_tweets_when_post_retracted' of git://github.com/Ruxton/diaspora into develop
...
Conflicts:
Changelog.md
2013-05-25 13:50:28 +02:00
Jonne Haß
009209d939
bump Typhoeus and refactor HydraWrapper
2013-05-25 13:45:37 +02:00
Ruxton
48b48470bc
Service.delete_post now more generic, for future implementations
...
Service.delete_post now accepts post to be more generic and supports deleting post from any service that overrides delete_post(post)
2013-05-20 12:19:39 +08:00
Maxwell Salzberg
66911801f7
use ActiveRecord#find_each to prevent memory spikes in our workers
2013-05-19 20:33:04 -07:00
Ruxton
ba0e2509c9
Twitter service removes status from twitter when post is revoked
2013-05-20 11:00:49 +08:00
Jonne Haß
ac147cc9f4
Refactor config/ directory
...
* Get rid of early pathname requirement
* Use require_relative where approciate
* Drop unused files
* Imported new application.rb, environment.rb and environments/* from fresh Rails app
* Cleaned up boot.rb
* Load config in boot.rb
* Deduplicate environments/integration*.rb
* Move username blacklist into defaults.yml
* Ruby 1.9 Hash syntax everywhere
* Reorganize lib/diaspora/markdownify to match conventions
* Get rid of full path requires where possible
* Add dummy content to production section diaspora.yml.example to prevent warning
* Drop sqlite? method
* Move postgres? method into ConfigurationMethods
* Drop token authentication from User
2013-05-19 18:54:54 +02:00
Jonne Haß
477c9d2ef3
Revert "Do not pass AR objects to Sidekiq"
...
This reverts commit 32935be9b1 .
2013-05-17 17:35:53 +02:00
Jonne Haß
32935be9b1
Do not pass AR objects to Sidekiq
...
In the new version Sidekiq calls JSON.generate on the passed arguments, which blows up with AR objects
2013-05-17 14:44:57 +02:00
Jonne Haß
c41db6634c
Fix reading of redis namespace from config
...
Changed default to nil to not screw users running develop already
2013-05-05 16:12:22 +02:00
Jonne Haß
79a79d65d6
Bye Resque. Ohai Sidekiq.
...
* Dropped all references to Resque
* Moved all jobs under app/workers since that's the Sidekiq convention
* Renamed Jobs module to Worker to match new location
* Adapted all jobs to Sidekiq
* Replaced all enqueue calls with perform_async
* Dropped Resque hacks from specs and features, replaced with
sidekig/testing in RSpec and sidekig/testing/inline in Cucumber
* Updated scripts to start a Sidekiq server
* Inline Sidekiq sinatra app
* Let Sidekiq create the actual Redis instance
* Workaround already initialized constant warnings in service models
* Resolved ToDo in one job definition by creating proper exception clases
for some errors in receiving posts
* Added sidekiq section to configuration to make it completly
configurable to the user
* Add Sidekiq middleware for clean backtraces
* Delay HttpMulti retry to give offline pods a chance to come back up
* Do not retry on GUID already taken and alike errors
* Be graceful about deleted posts in GatherOEmbedData
2013-03-21 23:39:07 +01:00
Jonne Haß
3fc3b249e7
End the require mess
...
* Rename and reorganize post fetcher to fix autoloading, also let it use
Faradays default connection so we get nice redirects
* Add initializer to load libs at a central place
* added lib dir to autoload_once paths to increase thread safety
* Moved lib/exceptions.rb to lib/diaspora/ to conform namespacing
2013-03-21 23:37:53 +01:00
Juan Manuel Azambuja
78e1f6f251
add assets:preocompile prerequisite for cucumber specs on CI
2013-03-12 12:23:55 -03:00
Jonne Haß
7a89d8b161
only try to delete a post from a service if we're able to
2013-03-01 18:54:01 +01:00
Jonne Haß
7b56c2dd52
Do not fail on receiving a SignedRetraction via the public route
2013-03-01 03:38:36 +01:00
movilla
76b1e9b0dc
Add the ability to upload photos from the mobile site
2013-02-26 23:25:58 +01:00
Jonne Haß
ba9aee5902
update changelog; replace "pre" releases with a plain "head"
2013-02-18 20:20:50 +01:00
Jonne Haß
1f4787aa6d
Merge pull request #3980 from L3MNcakes/feature/facebook_delete
...
Feature/facebook delete
2013-02-18 11:17:51 -08:00
L3MNcakes
1120cba5f0
Issue #3939 : Posts to Facebook do not delete
2013-02-18 18:21:59 +00:00
Jonne Haß
f3093ca8ae
Merge pull request #3864 from Raven24/aspect_memberships
...
[WIP] aspect membership dropdown Backbone.js rework
2013-02-17 05:54:12 -08:00
Florian Staudacher
4cbae601e8
[WIP] aspect membership dropdown Backbone.js rework
...
* initial backbone port
* changed AspectMembershipsController#destroy to use aspect_membership_id
* included rudimentary jasmine specs
* more specs, updating the list elements after de-/selection
* update selected aspect count on button
* don't even try to render html in AspectMembershipsController
* more specs for button summary text
* adapt aspect management on contacts page and in the popup boxes
* adapt inline creation of aspects + memberships
TODO
* more tests
2013-02-17 13:40:10 +01:00
Fabián Rodríguez
de112300ca
remove use csv instead of fastercsv
2013-02-17 12:48:29 +01:00
Jonne Haß
0a124acdf0
Revert "fix regression from #3968 "
...
Revert "Merge pull request #3968 from marpo60/limit_shareable_from_person_queries"
This reverts commit ddfc558a9b .
This reverts commit 30ed4b4e70 , reversing
changes made to f50ce2cb1d .
limiting the fetch of the IDs breaks paginating, there's no quick way to fix that
I left the spec in for future use.
2013-02-16 23:48:10 +01:00
Jonne Haß
ddfc558a9b
fix regression from #3968
...
Not ordering the IDs caused incorret ones returned
The spec is totally at the wrong level but I couldn't make
something up that exposed the bug at a deeper level :(
2013-02-16 23:22:14 +01:00
Fabián Rodríguez
703c52f74c
limit ShareablesFromPerson queries to improve performance
2013-02-05 23:35:00 -02:00
Florian Staudacher
0092acd492
re-add hovercards
...
* added a presenter for hovercard json
* added new backbone view for handling hovercard JS
* refactoring of PeopleController
* finished the backbone js version of hovercards
* don't try to make people_controller more restfull, out of scope
just add a new route and use that for hovercard json
* added spec for people_controller#hovercard
* add new exception for "AccountClosed" to be able to raise from anywhere
* removed legacy code, since everything got ported to backbone
(except the "cache" stuff, but that's not strictly necessary)
2012-12-28 22:37:13 +01:00
Jonne Haß
42a01f3a38
fix regression in 0.0.3.0 ( close #3805 )
2012-12-27 17:58:18 +01:00
Florian Staudacher
ff173e233c
add cucumber feature for taking screenshots of important pages
...
- for before/after comparisons,
including rake tasks for easily generating the images from command line
2012-12-17 20:25:34 +01:00
Jonne Haß
669dd87b11
extract configruation system to a gem
2012-11-30 13:35:59 +01:00
Fabián Rodríguez
99abc22403
remove unused methods
2012-11-21 18:26:17 -02:00
Jonne Haß
f1aeecc00b
force typhoeus (and thus curl) to use diaspora.yml's CA bundle
2012-11-21 17:28:39 +01:00
Jonne Haß
6302181582
do not define rspec task if rspec is unavailable
2012-10-24 21:49:48 +02:00
Florian Staudacher
f0eacc801b
Merge pull request #3611 from MrZYX/feature/cleanup_rake_tasks
...
rake tasks cleanup
2012-10-21 06:33:46 -07:00
movilla
f6f5a62f69
Fix show post Community Spotlight on stream
2012-10-14 00:01:46 +02:00
Florian Staudacher
8678c14735
Merge pull request #3589 from MrZYX/refactor_config
...
New configuration system, details: see changelog
2012-09-30 13:07:40 -07:00
David McMullin
586e23727c
add specs for chromeframe
...
fix typo in ChromeFrame itself
remove unneccessary chromeframe meta tags from layouts
2012-09-30 17:04:50 +01:00
Jonne Haß
a0d60e7333
Remove unused rake tasks, make cumber rake file the vanilla one
2012-09-27 17:07:33 +02:00
Jonne Haß
4cebaee4db
Remove stats.rake, if you really use it revert this commit and fix it
2012-09-26 20:23:47 +02:00
Jonne Haß
e05c6e8897
drop heroku, heroku_san and associated rake tasks and files
2012-09-26 20:21:20 +02:00
Jonne Haß
89c1fd5f7f
query the set url only through #pod_uri in the app
2012-09-26 20:19:37 +02:00
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ß
e70e48d6ca
some refactoring regarding the law of demeter
2012-09-23 19:33:19 +02:00
Jonne Haß
1277cf92b2
refactor ci scripts
2012-09-23 19:00:52 +02:00
Florian Staudacher
fd27137662
rack expects an array instead of a string, fixes #3499
2012-09-19 13:00:07 +02:00
Florian Staudacher
a3477b7691
move modified (non-upstream) js lib to lib/assets
2012-09-17 12:38:16 +02:00
Jonne Haß
6c1a1ec6d2
it's enviroNment
2012-09-15 18:52:12 +02:00
Florian Staudacher
2e3da0cf05
fix date and guid assignment for fetched posts
2012-09-06 18:16:40 +02:00
Jonne Haß
5372e86d55
update i18n interpolation fallback to use renamed method
2012-09-01 01:07:17 +02:00
Florian Staudacher
8f1204d05a
first working version of a 'post fetcher' for remote accounts
2012-08-04 13:22:03 +02:00
Florian Staudacher
f9b54b5c10
make the rake task for cleaning up mixed-case tags more verbose [ci skip]
2012-07-04 22:43:43 +02:00
Maxwell Salzberg
190fceaf5c
[SECURITY FIX] please update your pod ASAP
...
This is a fix for public messages, where a malicious pod could spoof a message from someone a user was connected to, as the verified signatures were not checked that the object was also from said sender. This hole only affected public messages, and the private part of code had the correct checks
THX to s-f-s(Stephan Schulz) for reporting and tracking down this issue, and props to Raven24(florian.staudacher@gmx.at ) for helping me test the patch
2012-07-02 10:00:12 -07:00
Florian Staudacher
bff069ab19
tinker with log messages for readability
2012-06-15 17:43:14 +02:00
Florian Staudacher
8f21657179
add all the colors of the rainbow, log into the same file
...
and throw in some formatting
2012-06-15 15:30:49 +02:00
Steven Hancock
2b47848da9
Autoload needs a string, not a Pathname
...
fixes #3373
2012-06-11 15:11:05 -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
Florian Staudacher
8ca39f5936
show a "post is not public" message when visitor is not logged in
...
and tries to access a show page of a non-public post
2012-06-07 22:16:37 +02:00
Steven Hancock
99a2865e23
Make hashtags clickable in emails
...
Refactor the Redcarpet renderer created in c2bc7272f to parse hashtags
into clickable links (for HTML emails only).
2012-05-29 10:01:58 -07:00
Steven Hancock
c2bc7272fb
Escape hashtags in emails
...
Custom Redcarpet renderer to escape hashtags (but not legitimate headers)
in emails before Markdown processing. Prevents hashtags from being rendered
as H1 headers. This also leaves open the possibility of parsing hashtags
into clickable links in the future.
fixes #3325
2012-05-28 21:31:27 -07:00
Maxwell Salzberg
33efa45ec0
Merge pull request #3298 from diaspora/tags-fix-fix
...
fix another hashtag 'inconvenience'
2012-05-24 12:43:59 -07:00
Florian Staudacher
472340e540
add rake tasks for cleaning up mixed-case hashtags,
...
fix querying tagged models, in case multiple tags are found
----
the first rake task will attach all posts tagged with mixed-
case hashtags to their lower-case variant
$ bundle exec rake migrations:rewire_uppercase_hashtags
the other rake task will remove the - now unused - mixed-case
hashtags from the db
$ bundle exec rake migrations:remove_uppercase_hashtags
as always, perform a backup first! ;)
2012-05-24 21:28:35 +02:00
Maxwell Salzberg
8752dd4d58
no more oauth steps, so remove them from the runner and options
2012-05-22 11:06:36 -07:00
danielgrippi
777c037e16
kill rich-media type with fire
2012-05-21 12:33:28 -07:00
Florian Staudacher
d815cf5d82
take acts-as-taggable-on gem from git, solve tag case-sensitivity
2012-05-21 17:20:04 +02:00
danielgrippi
f4c06c8f88
add rounded buttons to the composer flow; slay multi-photo option
2012-05-18 19:46:51 -07:00
Maxwell Salzberg
64dae868fe
fix some tests around pubsubhubub
2012-05-17 18:23:40 -07:00
Maxwell Salzberg
af1109dcf7
remove a couple more stray files we dont use anymore, and remove rest-client
2012-05-17 18:23:39 -07:00
Florian Staudacher
49117cc95f
make federation logger db creation faster by not migrating but using the schema instead
2012-05-17 21:13:23 +02:00
Maxwell Salzberg
ab2e740ca2
upgrade to Rails 3.2.3
2012-05-14 21:53:16 -07:00
Dennis Collinson
f6e3c1b88b
seperate interactions from posts
...
Lazily load post interactions on show page
hella refactorz
2012-05-12 17:41:58 -07:00
danielgrippi
871d3cc672
i am dumb. include custom mobile in before_deploy [ci skip]
2012-05-11 17:12:30 -07:00
danielgrippi
81661c883f
custom landing page logic for mobile. yay
2012-05-11 17:05:09 -07:00
danielgrippi
f820e37838
use .erb for custom landing page instead of .haml [ci skip]
2012-05-11 02:27:33 -07:00
Dennis Collinson
51b1ade3bc
DC DG; added LastThreeComments decorator so we don't have to load those comments when not needed (i.e. new profile pages)
2012-05-10 13:53:00 -07:00
Dennis Collinson
efa79a4ad7
Refactor Post Presenter
...
and comment presenter
2012-05-10 12:24:21 -07:00
Jonne Haß
008ed32e9e
unambigousify community spotlight query in the multi stream, fix #3196
2012-04-28 12:28:07 +02:00
Jonne Haß
9cb803831f
improve webfinger failure handling
...
* do not raise if profile xrd isn't found
* error out on a ssl error rather than on the unexpected nil value later
* be more verbose about failed xrd fetches
2012-04-27 16:53:26 +02:00
Maxwell Salzberg
a58260503f
Revert "delegate ruby template picking on reshares so the posts look better"
...
This reverts commit 5eb2247191 .
2012-04-26 17:58:38 -07:00
Jonne Haß
2357d9b0f1
update xrd fixture to include namespace and remove namespace before trying to set fields in webfinger profile
2012-04-27 00:05:28 +02:00
Maxwell Salzberg
5eb2247191
delegate ruby template picking on reshares so the posts look better
2012-04-25 18:10:43 -07:00
Maxwell Salzberg
66e9423dc9
more cool seed fixings
2012-04-24 13:48:14 -07:00
Maxwell Salzberg
6c5dafa6e9
cool seed wip [ci skip]
2012-04-24 01:13:57 -07:00
Maxwell Salzberg
8e22d69d8e
fix webfinger for (old?) nokogiri syntax
2012-04-11 18:19:14 -07:00
Maxwell Salzberg
2fd0905591
dump more data in invite rake task
2012-04-04 19:08:36 -07:00
Maxwell Salzberg
518d2be1e1
use pretty formatter on CI for great justice
2012-04-03 21:51:18 -07:00
Maxwell Salzberg
f6eec580a0
collect invite tokens here, because why not
2012-04-03 19:57:19 -07:00
Maxwell Salzberg
7a37c0f42a
dumb rake task to pipe user emails who have failed invites for
...
savekeeping [ci skip]
2012-04-03 19:01:54 -07:00
Maxwell Salzberg
a5b53717ea
small typo fixes, in heroku and seed scripts [ci skip]
2012-04-03 15:02:10 -07:00
Maxwell Salzberg
bb5aa2821d
use the built in asset_sync initializer. add a rake task to bootstrap
...
heroku and asset sync, which puts the S3 config vars in from your app
config.
2012-04-03 14:47:33 -07:00
Maxwell Salzberg
b33ee8c688
add asset sync gem
2012-04-02 18:32:35 -07:00
Steven Hancock
95d5c9ca68
Fix Jasmine tests - first pass
...
193 specs | 5 failing
The 5 failing specs appear (according to Firebug) to be due to missing
fixtures and/or missing routes in the Jasmine environment. Fixing these
last 5 failures is a task probably best left to a more experienced
Javascript/Jasmine developer.
This commit also moves validation.js and clear-form.js into
app/assets/javascripts and precompiles validation.js
2012-03-27 18:08:27 -07:00
Maxwell Salzberg
9d26643288
update heroku_san
2012-03-27 15:44:12 -07:00
Justin Thomas
22ac1d96a6
Add Resque.after_fork to correct problem with database connections and remove resque-ensure-connected
2012-03-25 14:39:42 -07:00
Maxwell Salzberg
a2aabeb599
remove ActiveSupport::SecureRandom
2012-03-21 13:49:34 -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
Stephan Schulz
4d1cb56e47
Allow for white spaces in Rails.root path for the integration rake task
2012-03-06 15:45:45 +01:00
Maxwell Salzberg
bd021bbd91
Correct our general exception handling.
...
thanks @mperham! see: http://t.co/Jyt7vV4I
2012-03-03 16:26:06 -08:00
Maxwell Salzberg
879b3d135a
title now updates with switch
2012-02-27 18:40:56 -08:00
danielgrippi
0112285985
Merge branch 'master' into profiles
...
Conflicts:
lib/diaspora/shareable.rb
2012-02-27 14:27:05 -08:00
Maxwell Salzberg
3e65d39b68
rename some stuff in hydra to make it more clear [ci skip]
2012-02-25 18:19:19 -08:00
Maxwell Salzberg
3874c40084
committed a notes file by accident, sry [ci skip]
2012-02-25 17:00:28 -08:00
Maxwell Salzberg
27a4c1bf2d
introduce the idea of Federated::Base. this is mostly just renaming and collasping of different federation modules, but also starting a direct hiearchy of these federation classes to make everything easier to refactor
2012-02-25 16:57:14 -08:00
danielgrippi
37981b71fe
MS; DG; adding cucumbers for post templates
2012-02-21 17:31:26 -08:00
Maxwell Salzberg
0ab8ef1d08
basic support for activity streams photos
2012-02-21 15:23:28 -08:00
Maxwell Salzberg
25cf776059
the previous and next posts are now supplied in json of the presenter; give the template creator a default value
2012-02-21 15:23:28 -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
Maxwell Salzberg
1f4e255f57
fix logging to work great with non-persisted objects
2012-02-17 14:59:42 -08:00
Maxwell Salzberg
ab727fc846
federation logger now in place.
2012-02-16 17:58:15 -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
Pistos
44e6084a29
Gracefully handle unrecognized federated objects so failed Resque jobs don't pile up.
...
Conflicts:
lib/postzord/receiver/public.rb
2012-02-10 23:30:59 -05:00
danielgrippi
5ecb3e8a50
remove a task that doesnt seem to work
2012-02-10 15:31:46 -08:00
danielgrippi
33fb1222f1
change rake assets:compile_s3 to rake assets:deploy [ci skip]
2012-02-10 15:21:59 -08:00
Dennis Collinson
04bd507025
federated generators take a user
2012-02-09 19:01:01 -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
Dennis Collinson
f3c1eff3e9
Refactor Relayable Creation
2012-02-09 19:01:00 -08:00
danielgrippi
84eb313e20
updated routes to reflect page titles (explore/participate)
2012-02-08 14:40:28 -08:00
Sarah Mei
6e9d5f013a
Fixes #2820 by disambiguating which Person class we want
2012-02-08 06:19:59 -08:00
Maxwell Salzberg
5425d405d8
try running jammit explicitly before jasmine
2012-02-07 14:59:59 -08:00
Jonne Haß
f83076850b
use :absolute => true instead of concatenating the pod url manually in ostatus_builder [ci skip]
2012-02-06 10:18:51 +01:00
Daniel Grippi
a142911a8f
Merge pull request #2811 from gandaro/2809-atom-userlink-incorrect
...
use guid in atom feed to fix the link
2012-02-05 20:31:03 -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
Jakob Kramer
f7b11ac248
use local_or_remote_person_path in atom feed to fix the author's link [ci skip]
2012-02-03 12:24:13 +01:00
danielgrippi
4f7dda6012
bang! kill redis cache.
2012-02-02 12:45:43 -08:00
Sarah Mei
5c393e9e4f
Refactor relayable specs and add one for retracting the object. Is pending - not complete yet.
2012-02-01 19:46:31 -08:00
Sarah Mei
085d6552b3
Drop comments, likes, and PMs from people who the (post/conversation) owner is ignoring.
2012-02-01 17:52:11 -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
d8bfa52af7
swap order in dispatcher to get less errors posting to services
2012-02-01 14:10:54 -08:00
danielgrippi
01a8cb8e34
evil queries have their own house.
2012-02-01 12:48:28 -08:00
danielgrippi
8b62f82d45
fix error
2012-02-01 12:09:46 -08:00
danielgrippi
6bcf06f578
Refactor multistream query
2012-02-01 12:00:30 -08:00
Jonne Haß
2d98c57cf1
[ci skip] The real issue with GnuTLS is actually a flaw in OpenSSL
...
which accepts several server misconfigurations
OpenSSL is very liberal about the order and content of the supplied
cert chain. GnuTLS however is very crucial about it. So to support
GnuTLS we need to tell our community to fix their servers (joindiaspora.com
is broken too). You can check it with
gnutls-cli -V --x506cafile=/etc/ssl/ca-certificates.crt $domain
It will print the certs in the order received and say at the end
if it could be verifed. Note that not only the order is important but
also the content. Many example configurations, especially for Nginx,
include the root cert of the CA in the chain which is wrong.
Note from a GnuTLS maintainer: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23573736#29
Revert "Fix federation with GnuTLS by passing the ca_file to Typhoeus"
This reverts commit 640a0181ab .
2012-01-29 00:08:28 +01:00
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
Maxwell Salzberg
db387b5ed4
MS DC; remove backup.rake as we now use backup'
2012-01-05 17:31:38 -08:00
Maxwell Salzberg
d0184ff6f3
gimme backtraces, travis
2012-01-04 00:25:42 -08:00
Maxwell Salzberg
8b4cb744e6
fix for the messagebusmailer to be happy
2012-01-03 23:31:24 -08:00