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
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ß
1256fda24b
make randomly on postgres failing spec pending for now
2013-03-01 03:54:44 +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ß
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
Jonne Haß
01299ee8e8
update spec to match overriden translation
2013-01-31 19:25:30 +01:00
Jonne Haß
669dd87b11
extract configruation system to a gem
2012-11-30 13:35:59 +01:00
Florian Staudacher
0057e9ed46
some small code style changes + final fix for postgres (milliseconds)
...
+ updated changelog
2012-10-21 16:10:27 +02:00
Ruxton
25b57cdd2a
trying to stabilize issue with datetime in test suite
2012-10-21 16:08:57 +02:00
Ruxton
a78cb352e6
updated spec to fix to_datetime issue
...
Conflicts:
spec/lib/diaspora/fetcher/public_spec.rb
2012-10-21 16:08:57 +02:00
Jonne Haß
92e4cd34ae
--amend cause I've no time
2012-10-14 01:11:53 +02:00
Jonne Haß
894af48579
add spec to ensure include_community_spotlight? is correctly passed into EvilQuery::MultiStream.new
2012-10-14 01:09:00 +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ß
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ß
58d1448085
update factory girl
2012-09-12 13:24:23 +02:00
Jonne Haß
088446e86e
bump rspec-rails, remove deprecated rspec syntax
2012-09-11 00:46:36 +02:00
Florian Staudacher
2e3da0cf05
fix date and guid assignment for fetched posts
2012-09-06 18:16:40 +02:00
Florian Staudacher
8f1204d05a
first working version of a 'post fetcher' for remote accounts
2012-08-04 13:22:03 +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
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
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
Florian Staudacher
f19f6110b1
match tag arrays by what they actually contain, not by order
2012-05-24 22:18:10 +02: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
Maxwell Salzberg
e007b39f0d
make newhere test less dumb [ci skip]
2012-05-20 23:42:40 -07: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
b124d3e5a1
Revert "update factory girl" new version does not support 1.8.7 :(
...
This reverts commit c52342b7cb .
2012-05-16 17:43:56 -07:00
Maxwell Salzberg
c52342b7cb
update factory girl
2012-05-16 17:17:14 -07:00
Maxwell Salzberg
ab2e740ca2
upgrade to Rails 3.2.3
2012-05-14 21:53:16 -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
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
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
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
7bac633987
invite_link functionailty mostly works
2012-03-16 17:56:35 -07: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
0d93227f07
hopefully make travis happy:
2012-02-28 17:52:13 -08:00
danielgrippi
0df179c514
fix specs
2012-02-27 17:56:52 -08:00
danielgrippi
0112285985
Merge branch 'master' into profiles
...
Conflicts:
lib/diaspora/shareable.rb
2012-02-27 14:27:05 -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
Maxwell Salzberg
49b0a44738
removing estates builder, as we are now using a template
2012-02-25 16:55:26 -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
danielgrippi
f3f2b8ca44
change routes to properly reflect page names (activity/stream).
2012-02-14 11:16:41 -08:00
danielgrippi
32f93a0391
you can now follow / unfollow a post from the stream; fixed cukes.
2012-02-13 19:13:43 -08:00
Dennis Collinson
14b9f5dc5b
move user modules into user namespace.
2012-02-09 19:01:01 -08:00
Maxwell Salzberg
7109cf6c67
mock out slow things that our tests dont need for speed
2012-02-09 17:44: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
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
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
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
danielgrippi
005b165e87
defer dispatching to help app processes not bloat in memory
2012-01-26 13:24:53 -08:00
Maxwell Salzberg
49f18d435a
upgrade factory girl there are 3 failing cukes.
2012-01-21 21:58:50 -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
bfde0514bf
fix webfinger specs
2012-01-17 21:43:46 -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
Maxwell Salzberg
6e02f61395
MS remove custom resque job logging as it is making heroku very sad
2012-01-16 20:25:56 -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
0e5bb81d66
remove all references to the websocket. bang bang.
2012-01-10 12:28:19 -08:00
danielgrippi
cec2d27204
ported likes logic for the stream over from old branch
2012-01-07 14:23:22 -08: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
Maxwell Salzberg
22d5e913cc
remove splunk logging
2011-12-21 14:24:03 -08:00
Maxwell Salzberg
2282fd35d1
kill no longer used youtube titles code with fire
2011-12-08 16:16:57 -08:00
Daniel Grippi
0d41c9c5f3
update gems -- mainly omniauth (we explicitly include omniauth libs now... much cleaner)
2011-12-05 19:53:03 -08:00
Johannes Hackel
4b25545e82
fix sql error
2011-12-02 15:03:15 +01:00
Sarah Mei
4db288bc65
Check order of generation and use of host-meta fixture on travis
2011-11-30 20:55:59 -08:00
Sarah Mei
2518987538
Try doing join differently for travis
2011-11-30 20:23:48 -08: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
Johannes Hackel
23fa7a0a3e
like stream new
2011-11-29 17:27:09 +01:00
danielgrippi
09d8726555
fix spelling error in spec
2011-11-28 10:02:06 -08:00
Johannes Hackel
7368bb9e62
comment_stream
2011-11-20 18:37:10 +01:00
Maxwell Salzberg
57989cb98e
fix final tag stream spec
2011-11-08 13:56:34 -08:00
danielgrippi
b53df6dd4d
repopulating the redis cache should clear the entire set first
2011-11-07 11:28:29 -08:00
Sarah Mei
f1d669a024
Delete all pending specs except stuff we actually want to fix in the short term. Add more useful comments to those.
2011-11-06 21:29:22 -08:00
Sarah Mei
3e70398c40
Run ostatus builder spec that sometimes causes nokogiri to segfault
2011-11-05 16:06:27 -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
danielgrippi
07f713f46c
change 'mute' to 'ignore' for now; fix specs; repopulate cache upon
...
contact removal
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
a61fd16a77
fix publisher spec
2011-11-01 17:07:57 -07:00
Dan Hansen
066f8d1235
Mention the person who invited a user on first message
2011-10-31 22:16:58 -05:00
Ilya Zhitomirskiy
d6824dcc49
Revert "remove custom logging, added hoptoad backend directly"
...
This reverts commit ea72b1ae57 .
2011-10-31 15:12:08 -07:00
Ilya Zhitomirskiy
ea72b1ae57
remove custom logging, added hoptoad backend directly
2011-10-31 12:38:00 -07:00
Pistos
aea2203794
Change #newhere prefill to #NewHere .
2011-10-28 22:11:23 -04:00
danielgrippi
9fba69cd5b
added person stream; temp hack for photos
2011-10-25 16:29:45 -07:00
danielgrippi
e63e8299b9
fixed up stream/publisher logic; fixed cukes
2011-10-24 14:41:15 -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
1ccf965194
publisher lib, prefill, open, still need to do public first message for new users
2011-10-24 14:11:35 -07:00