Commit graph

984 commits

Author SHA1 Message Date
Benjamin Neff
6852f9ca36
Add support to parse RFC 7033 WebFinger JSON
Also:
* Fix date format when generating JRD document
* Sort elements always with the same order
2017-09-05 22:56:22 +02:00
Benjamin Neff
db1034904d
Add blocking flag to contact message 2017-09-05 01:22:54 +02:00
Benjamin Neff
b1a5c13a08
Add documentation for the diaspora:// URI scheme 2017-09-04 23:48:31 +02:00
Benjamin Neff
add5e16abf
Fetch linked entities from received entities with text 2017-09-04 23:48:31 +02:00
Benjamin Neff
0b927290e3
Add DiasporaUrlParser to extract diaspora:// URLs from texts 2017-09-04 23:48:31 +02:00
Benjamin Neff
457f06d1da
Extract regex for entity names 2017-09-04 23:48:31 +02:00
Benjamin Neff
faf48e1dd4
Extract allowed chars for GUIDs to constant
Also: disallow special chars at the end of a GUID
2017-09-04 23:48:29 +02:00
cmrd Senya
9d72c9855a
Merge pull request #76 from SuperTux88/photo-height-width-optional
Make height and width optional for photos
2017-09-05 00:40:25 +03:00
Benjamin Neff
b2eda1d812
Remove nilable parameter from guid rule and use OptionalAwareValidator 2017-09-03 20:10:25 +02:00
Benjamin Neff
860aec96b9
Make height and width optional for photos 2017-09-03 20:10:24 +02:00
Benjamin Neff
6f936caddf
Add abstract OptionalAwareValidator class
This improves validation of optional fields and respects the `optional`
option of properties
2017-09-03 20:10:24 +02:00
Benjamin Neff
9081328d51
Merge pull request #77 from SuperTux88/handle-discovery-errors
Improve error handling for discovery errors
2017-09-02 04:21:07 +02:00
Benjamin Neff
458d0f2215
Always raise a DiscoveryError when something with the discovery fails 2017-09-01 01:51:36 +02:00
Benjamin Neff
53fc77ac5d
Inherit InvalidDocument and InvalidData from DiscoveryError 2017-09-01 01:21:52 +02:00
Benjamin Neff
8149421287
Fix type in CONTRIBUTING.md 2017-08-27 02:45:23 +02:00
Benjamin Neff
977849e649
Merge pull request #73 from cmrd-senya/reshare-nil-root
Allow reshares with no root
2017-08-26 03:57:30 +02:00
cmrd Senya
69996319e1
Minor change PhotoValidator#status_message_guid spec
Use new "a nilable guid validator" shared behavior
2017-08-25 10:41:22 +03:00
cmrd Senya
5b12afebed
Allow reshares with no root 2017-08-25 10:33:16 +03:00
Benjamin Neff
a92f5dec9c
Bump dependency gems and update gemfiles 2017-08-24 03:21:19 +02:00
Benjamin Neff
d28d0c8ab3
Bump fabrication 2017-08-24 03:17:22 +02:00
Benjamin Neff
77e63c2a81
Bump faraday 2017-08-24 03:16:54 +02:00
Benjamin Neff
f0f0f78860
Bump typhoeus 2017-08-24 03:16:17 +02:00
Benjamin Neff
bf95536c6a
Bump simplecov 2017-08-24 03:14:52 +02:00
Benjamin Neff
5531596fba
Bump rspec-rails 2017-08-24 03:13:56 +02:00
Benjamin Neff
73906e5db5
Bump pry-byebug 2017-08-24 03:12:34 +02:00
Benjamin Neff
5a0fd3d12d
Bump pronto 2017-08-24 03:11:55 +02:00
Benjamin Neff
922cac70d6
Set TargetRubyVersion in .rubocop.yml 2017-08-24 03:10:01 +02:00
Benjamin Neff
c30de78f97
Release version 0.2.1 2017-08-07 23:35:31 +02:00
Benjamin Neff
65483774e1
Update changelog for 0.2.1 2017-08-07 23:33:32 +02:00
Benjamin Neff
042033ba73
Update versions in the documentation
Also remove the warning about the future protocol, we are in the future
now \o/
2017-08-07 23:29:41 +02:00
Benjamin Neff
ecc85cd39d
Bump hashdiff 2017-08-07 23:27:22 +02:00
Benjamin Neff
2438f40f8a
Bump faraday_middleware 2017-08-07 23:27:22 +02:00
Benjamin Neff
31a1ce0b4a
Bump rails 2017-08-07 23:24:30 +02:00
Benjamin Neff
8efb368a96
Merge pull request #71 from SuperTux88/optional-properties
Don't add optional properties to generated XML and JSON when nil
2017-08-07 23:18:56 +02:00
cmrd Senya
90c8bc2bf8
Merge pull request #70 from SuperTux88/json-schemas-helper
Add DiasporaFederation::Schemas to access JSON schema
2017-08-02 00:12:55 +03:00
Benjamin Neff
93e18e1a79
Add DiasporaFederation::Schemas to access JSON schema 2017-08-01 20:17:55 +02:00
Benjamin Neff
48c8430851
Bump dependency gems and update gemfiles 2017-07-30 00:58:53 +02:00
Benjamin Neff
de1376d6ce
Bump faraday_middleware 2017-07-30 00:58:09 +02:00
Benjamin Neff
03d0f659d6
Bump faraday 2017-07-30 00:57:12 +02:00
Benjamin Neff
d91cc6d799
Bump fabrication 2017-07-30 00:55:50 +02:00
Benjamin Neff
bb40d6190d
Only add optional nil values to relayable XML when needed for signature order 2017-07-30 00:32:54 +02:00
Benjamin Neff
f5ff4a71e6
Only add optional properties to generated XML and JSON when not nil 2017-07-30 00:32:54 +02:00
Benjamin Neff
af7b6485ac
Mark properties as optional 2017-07-30 00:32:54 +02:00
Benjamin Neff
963f32de29
Bump dependency gems and update gemfiles 2017-07-21 02:34:10 +02:00
Benjamin Neff
dc33495b79
Bump pronto 2017-07-21 02:32:39 +02:00
Benjamin Neff
1c8f656b46
Release version 0.2.0 2017-07-02 23:34:01 +02:00
Benjamin Neff
d40d95e9cf
Update JSON schemas for github-pages 2017-07-02 23:26:30 +02:00
Benjamin Neff
3e19f4abc8
Update changelog for 0.2.0 2017-07-02 23:25:11 +02:00
Benjamin Neff
2b81b9e9bb
Merge pull request #69 from Flaburgan/patch-1
Replace Loomio by discourse
2017-07-01 02:56:58 +02:00
Fla
dd401bf024 Replace Loomio by discourse 2017-06-30 16:29:28 +02:00