Benjamin Neff
ecfe0ea850
Bump rails and drop support for rails < 5.2 (EOL)
2021-06-30 04:41:52 +02:00
Benjamin Neff
cb138d6458
Bump rubocop, apply new cops and fix deprecations
2021-06-30 03:26:46 +02:00
Benjamin Neff
afee78476b
Add rails 6 support
2019-10-21 03:35:18 +02:00
Benjamin Neff
1dfe57ea7e
Add frozen_string_literal to all files
...
and remove redundant freezes
2019-10-21 03:11:12 +02:00
Benjamin Neff
4b4375cf78
Remove rails 4 support
2019-10-21 03:11:12 +02:00
Benjamin Neff
4e73fd8ea3
Bump rubocop
2018-03-05 23:33:46 +01:00
Benjamin Neff
e26a86c173
Switch PercentLiteralDelimiters to new default
...
Let's change that to the new rubocop default, which is also the
suggestion in the ruby style guide.
See https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
This was changed in diaspora too, see diaspora/diaspora#7466
It also includes the changes in the code. This was done with
`rubocop --auto-correct` and no we have zero offenses again.
2017-06-30 02:23:44 +02:00
Benjamin Neff
e6e9893c1f
Make rspec work without rails dependency
2017-04-05 02:02:04 +02:00
Benjamin Neff
26cfe7090b
Cleanup dummy rails app
2017-04-05 00:36:52 +02:00
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
184954e09c
Replace factory_girl with fabrication
...
factory_girl has activesupport as dependency
2017-04-04 22:14:13 +02: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
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
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
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
7cf8339b59
call to_s on the configured class
2015-07-02 02:44:46 +02:00
Benjamin Neff
96af095d84
fix webfinger using the configured class ...
2015-06-16 02:23:47 +02:00
Benjamin Neff
5bd13563c5
add logging module to engine and add logging-gem to dummy-app
2015-06-16 01:15:52 +02:00
Benjamin Neff
cd563dd337
add fixtures
2015-06-15 02:49:54 +02:00
Benjamin Neff
f0591a745b
add basic webfinger stuf (WIP)
...
and:
- add configure method to set some configs
- write rdoc
2015-06-14 22:13:38 +02:00
Benjamin Neff
92ebeb671d
cleanup dummy app
2015-06-13 15:48:21 +02:00
Benjamin Neff
c497200d03
add basic receive controller
...
- remove dummy-test
- mount engine on / in dummy-app
2015-06-12 22:10:50 +02:00