Benjamin Neff
b0f6131527
Remove active_record and save models in-memory
...
Simple inmemory "database" to be independent from active_record.
2017-04-05 00:36:52 +02:00
Benjamin Neff
f8e7b2114f
Remove fixture_builder
2017-04-04 22:14:13 +02:00
Benjamin Neff
c0fbc83ccf
Remove rails4.rake
2017-04-04 22:14:13 +02:00
Benjamin Neff
184954e09c
Replace factory_girl with fabrication
...
factory_girl has activesupport as dependency
2017-04-04 22:14:13 +02:00
Benjamin Neff
7fa38bffa3
Update spring binstubs
2017-01-19 01:53:07 +01:00
cmrd Senya
d8209cf3a9
Fix CI script false positive return code
...
For Ruby >= 2.2 travis.sh returned 0 even when the rspec test suite
has failed. This commit passes the return value from the test suite
as the CI script return value.
2017-01-17 21:54:58 +02:00
Benjamin Neff
a98a4a8e54
New db/schema.rb after db:migrate
2016-11-17 00:27:38 +01:00
Benjamin Neff
042b1192c2
bump codeclimate-test-reporter
2016-11-10 04:07:59 +01:00
Benjamin Neff
b6dc082c24
bump rubocop
2016-11-10 04:07:59 +01:00
Benjamin Neff
771a1559e3
Activate ruby 2.1 with rails 4.2 on travis again
2016-11-08 00:25:20 +01:00
Benjamin Neff
373540f4cf
fix specs for rails 5
2016-11-05 00:48:20 +01:00
Benjamin Neff
458265b78f
fix rubocop offenses for rubocop 0.40.0
2016-05-11 02:22:48 +02:00
Benjamin Neff
1d4d3d732d
use shorter callback keys for key-callbacks
2016-03-29 02:42:19 +02:00
Benjamin Neff
01d45e225d
use RelatedEntity as target for RelayableRetraction
2016-03-28 20:14:25 +02:00
Benjamin Neff
8f2b3e6a14
use data from parent-RelatedEntity for Relayables
2016-03-28 19:52:57 +02:00
Benjamin Neff
3ac21b585b
add fetch_related_entity callback
2016-03-28 17:23:38 +02:00
Benjamin Neff
aea11d303e
log receive_entity for debugging
2016-03-25 22:42:46 +01:00
Benjamin Neff
bd9cc67f5e
create receiver for new protocol and write tests
2016-03-18 02:54:17 +01:00
Benjamin Neff
d83b6f14f5
create entity fetcher for public entities
2016-03-15 02:17:04 +01:00
Benjamin Neff
7e2815fabc
create fetch entity callback
...
and url_to callback
2016-03-15 01:30:08 +01:00
Benjamin Neff
eb486b2a18
improve dummy app callbacks
2016-02-03 00:47:21 +01:00
Benjamin Neff
583d567d67
bump rubocop and pronto-rubocop
...
make some refactorings for new cops
2016-01-19 01:32:22 +01:00
Benjamin Neff
c7f33d7cf4
rename 'pkey' to 'privkey' and 'pubkey'
2016-01-13 02:20:49 +01:00
Benjamin Neff
d852144f3c
add send functionality
2016-01-12 02:36:32 +01:00
Benjamin Neff
7ed848c2f5
add ostatus subscribe-url to webfinger
2015-12-27 22:19:58 +01:00
Benjamin Neff
fb00b95c74
bump spring
2015-12-27 22:19:58 +01:00
Benjamin Neff
c7446f7220
refactor receive classes
2015-12-18 00:42:41 +01:00
Benjamin Neff
b56c1e2d04
send xml to callbacks to queue it for receive
2015-12-18 00:11:32 +01:00
cmrd Senya
5aac8c2423
Receiving entities support
2015-12-15 19:06:51 +03:00
cmrd Senya
91376a3e26
Retractions signatures support
2015-12-03 00:15:32 +03:00
cmrd Senya
91c3753019
Add signature computation for entities support
2015-11-22 23:40:46 +03:00
Benjamin Neff
eaedc3473a
use Faraday.default_adapter
...
fixes #7
2015-11-01 04:05:35 +01:00
Benjamin Neff
eabe1135ee
fix some rubocop warnings
...
the last one will be fixed with the next rubocop release
2015-09-21 00:50:09 +02:00
Benjamin Neff
52c63918f8
rename .keep
2015-08-05 01:44:20 +02:00
Benjamin Neff
311d6948e5
save person after fetch
2015-08-04 03:00:55 +02:00
Benjamin Neff
f4066f6105
rename callbacks
2015-08-04 02:09:14 +02:00
Benjamin Neff
aff76a4c30
add dummy discovery controller
2015-08-01 01:08:27 +02:00
Benjamin Neff
0deb74c103
refactor: rename diaspora_handle to diaspora_id
...
diaspora uses the new wording "diaspora ID" instead of "diaspora handle"
2015-07-23 01:22:23 +02:00
Benjamin Neff
0204b3d9ff
add Fetcher for http requests
2015-07-18 21:58:44 +02:00
Benjamin Neff
09904b54d0
rename WebFinger module to Discovery
2015-07-18 21:57:39 +02:00
Benjamin Neff
6ceddae27b
refactor HCard to use the PropertiesDSL
2015-07-08 01:45:57 +02:00
Benjamin Neff
2c50d34370
refactor WebFinger to use the PropertiesDSL
2015-07-08 01:45:57 +02:00
Benjamin Neff
ec5667193b
add Callbacks
2015-07-07 01:20:56 +02:00
Benjamin Neff
9925cbb99a
split rails part into separate gem
...
see #1
2015-07-04 20:01:37 +02:00
Benjamin Neff
7370a32c65
use serialized_public_key because a conflict with the diaspora code
2015-07-04 19:55:32 +02:00
Benjamin Neff
7cf8339b59
call to_s on the configured class
2015-07-02 02:44:46 +02:00
Benjamin Neff
99d5ffdc04
use person object with attributes to generate hcard
2015-07-02 02:34:31 +02:00
Benjamin Neff
6e6171fc93
use person object with attributes to generate webfinger
2015-07-02 01:13:27 +02:00
Benjamin Neff
8041c2e18d
change photo_full_url to photo_large_url
2015-06-28 16:01:37 +02:00
Benjamin Neff
e8d047f9fb
add HCardController to deliver the hCard
2015-06-27 23:28:05 +02:00