Benjamin Neff
b4add0dad5
Bump rails
2018-06-17 03:09:36 +02:00
Benjamin Neff
6e51ae536b
Replace legacy webfinger with new route from .well-known
2017-05-29 00:43:39 +02:00
Benjamin Neff
12cd5b0090
Add route for RFC-7033 webfinger
2017-05-29 00:43:38 +02:00
Benjamin Neff
18a23df8d5
Use Nokogiri::XML() instead of Nokogiri::XML::Document.parse()
2017-05-10 02:37:25 +02:00
Benjamin Neff
f8e7b2114f
Remove fixture_builder
2017-04-04 22:14:13 +02:00
Benjamin Neff
7fe7a5da97
Don't generate file fixtures anymore
...
When we want to test without rails, we can't use the controllers to
generate them.
Also fixes the problem where there is still an old file fixture that
doesn't match the users in the database.
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
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
2aaff56e14
rename StatusMessage#raw_message to #text
...
see #29
2016-07-12 03:14:15 +02:00
Steffen van Bergerem
e0ab18c0ea
Improve code documentation
2016-07-12 02:08:21 +02:00
Benjamin Neff
aac2a1652e
create expect_callback() spec-helper
2016-03-29 03:14:01 +02:00
Benjamin Neff
1d4d3d732d
use shorter callback keys for key-callbacks
2016-03-29 02:42:19 +02:00
Benjamin Neff
e4b5e79842
create MagicEnvelope instance after unenvelop
2016-03-20 21:07:47 +01:00
Benjamin Neff
198e23ca65
write FetchController spec
2016-03-15 02:17:04 +01:00
Benjamin Neff
f1874f20bd
add slap/magic-env switch to the receive-controller
2016-02-14 19:00:43 +01:00
Benjamin Neff
530b534c42
Merge branch 'master' into develop
2016-01-23 03:01:00 +01:00
Benjamin Neff
c4970332eb
set locale=en to fix locale leakage from other requests
2016-01-23 02:32:41 +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
127b603558
return 202 after receive
2015-12-30 03:45:18 +01:00
Benjamin Neff
358e844772
cleanup for rubocop
2015-12-19 17:31:53 +01:00
Benjamin Neff
35429d105b
write tests for unescape
2015-12-19 17:15:52 +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
Benjamin Neff
f4066f6105
rename callbacks
2015-08-04 02:09:14 +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
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
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
e8d047f9fb
add HCardController to deliver the hCard
2015-06-27 23:28:05 +02:00
Benjamin Neff
b1b98adb21
generate fixtures
2015-06-23 00:01:13 +02:00
Benjamin Neff
762233e48f
specs refactoring
2015-06-22 04:50:54 +02:00
Benjamin Neff
2bcf877b5c
use webfinger xml generator
...
- fix: encode rsa key with base64
2015-06-20 23:39:47 +02:00
Benjamin Neff
82eb5415ab
cache generated host-meta xml
2015-06-19 02:14:28 +02:00
Benjamin Neff
0fe6c4dc27
use host-meta xml generator from raven24's gem
2015-06-17 04:45:37 +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
c497200d03
add basic receive controller
...
- remove dummy-test
- mount engine on / in dummy-app
2015-06-12 22:10:50 +02:00