Benjamin Neff
d28e03f053
use discovery from diaspora_federation gem
2015-08-21 14:21:43 +02:00
Benjamin Neff
2294e59ee3
change public_url to atom_url and profile_url
2015-07-05 20:44:24 +02:00
Benjamin Neff
e16b9af7e6
make public and private receiver work similar ...
2015-06-08 04:15:17 +02:00
Benjamin Neff
aa2297a8c0
retry receive share-visibility when failed while receiving parallel
...
refactoring:
- remove unused return-values (were used for caching, which was removed again)
- remove transaction (doesn't help here, added in 2615126 )
closes #6068
2015-06-08 00:58:00 +02:00
Benjamin Neff
21ae93e658
handle when the diaspora xml parser returns nil
...
closes #5991
2015-05-28 01:34:24 +02:00
khall
c27b38d69a
Merge branch 'develop' into issue_5149
...
Conflicts:
spec/controllers/aspects_controller_spec.rb
spec/controllers/conversations_controller_spec.rb
spec/controllers/people_controller_spec.rb
spec/controllers/photos_controller_spec.rb
spec/integration/receiving_spec.rb
spec/lib/postzord/receiver/public_spec.rb
spec/models/post_spec.rb
spec/models/user/querying_spec.rb
2014-08-26 17:11:39 -07:00
khall
c42916df27
Two tests failing after rspec 2.99 => 3.0.0
2014-08-26 17:10:26 -07:00
khall
027bb9fcb0
Rspec version bump to 2.99
2014-08-26 17:00:21 -07:00
Jonne Haß
42b08e8ab8
Update to Rails 4.1
2014-08-25 17:37:02 +02:00
Jonne Haß
32b9caa08c
replace stub and mock deprecations with doubles
2014-01-13 12:25:38 +01:00
Jonne Haß
df0bff6537
replace stub! with stub
2014-01-13 12:25:37 +01: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
Ruxton
20c38a0489
Fix dispatcher_spec to depend on Tumblr which isn't retracting
2013-05-20 11:00:49 +08: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
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
L3MNcakes
1120cba5f0
Issue #3939 : Posts to Facebook do not delete
2013-02-18 18:21:59 +00: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
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
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
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
7109cf6c67
mock out slow things that our tests dont need for speed
2012-02-09 17:44:32 -08:00
danielgrippi
4f7dda6012
bang! kill redis cache.
2012-02-02 12:45:43 -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
danielgrippi
0e5bb81d66
remove all references to the websocket. bang bang.
2012-01-10 12:28:19 -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
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
Manuel Schölling
02a3c3f88b
Introduced Shareable
2011-10-16 13:58:35 +02:00
Ilya Zhitomirskiy
91a0af078c
added checking for the sharing contact in postzord caching
2011-10-06 12:31:09 -07:00
Ilya Zhitomirskiy
d891e78652
refactored post receiving; only update cache on verfied received objects
2011-10-06 12:31:09 -07:00
Ilya Zhitomirskiy
792647340f
added acceptable_types to the cache
2011-10-04 16:51:18 -07:00
Ilya Zhitomirskiy
6ea540fb94
wip, adding to cache in receiver, caching is only triggered for receiving of posts
2011-10-04 10:32:17 -07:00
Ilya Zhitomirskiy
7926ebfb53
subclassing receivers, renamed perform to perform [bang]
2011-10-04 10:32:17 -07:00
Maxwell Salzberg
a99d992706
GAHHHH DATABASE STRING OR INTEGER MAKE UP YOUR MIND
2011-09-29 18:53:25 -07:00
Maxwell Salzberg
c0ed7218fa
ugh postgres and your string ids\!
2011-09-29 18:30:12 -07:00
Maxwell Salzberg
9760033fa5
weird postgres thing
2011-09-29 17:43:47 -07:00
Maxwell Salzberg
44942036da
make the socketing tests pending as we are not currently doing that
2011-09-29 13:33:44 -07:00
Ilya Zhitomirskiy
c3746aec7f
passing around arrays instead of object on local batch receive
2011-09-28 21:34:48 -07:00
Ilya Zhitomirskiy
da0591f55e
tightened the spec, about to refactor
2011-09-28 21:03:10 -07:00
Ilya Zhitomirskiy
5cf11447e6
tightened the spec, about to refactor
2011-09-28 21:00:17 -07:00
Maxwell Salzberg
3d6169395f
add another dispatcher spec
2011-09-16 15:22:20 -07:00
Maxwell Salzberg
5ca5db213f
add the opposite test, fix a typo in my previous test declaration
2011-09-16 11:31:01 -07:00
Maxwell Salzberg
6c414d8562
add tests for object_should_be_processed_as_public? and delegegated public to the parent of relayable objects
2011-09-16 11:24:13 -07:00
Maxwell Salzberg
d3b6143a45
remove heroku gem'
2011-09-16 09:44:03 -07:00
Ilya Zhitomirskiy
c98189b057
refactored the salmon models and the xml, added a pending spec to strip '='
2011-09-16 08:53:13 -07:00
danielgrippi
999efbd451
IZ DG MS; fix method call in public receiver
2011-09-15 19:37:56 -07:00