diaspora_federation-rails 0.2.3 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Changelog.md +48 -6
- data/README.md +9 -4
- data/config/routes.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: def5768f427561712f90dde409852e24db9a3574d87bd54159d0cdff62c61cc2
|
4
|
+
data.tar.gz: 7be5012aa9576fdbcdfdf3c8343470dca33cc6ee38b0d9c3907dd2b7324b9f99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a26adfdb0e67124a0ffb50b5f1a784c65282f10b84299412708666b2667d8ae388fc0ac992cd09a5019c1511bf7191c22c36aab8e1f83e1cf87f44dac0aab71
|
7
|
+
data.tar.gz: d27249d08c5de364cee256e38cd35c711cc64b6c6db198aae09135b63ca856ef76baa7a467aa55db6304c9b6255b2e9fc9009ad4a8e354ab0163103b0315aa3f
|
data/Changelog.md
CHANGED
@@ -1,19 +1,61 @@
|
|
1
|
+
# 0.2.7
|
2
|
+
|
3
|
+
## Features
|
4
|
+
|
5
|
+
* Add `remote_photo_path` to `AccountMigration` entity [#119](https://github.com/diaspora/diaspora_federation/pull/119)
|
6
|
+
|
7
|
+
## Bug fixes
|
8
|
+
|
9
|
+
* Only parse each nested element name once from the XML [#118](https://github.com/diaspora/diaspora_federation/pull/118)
|
10
|
+
|
11
|
+
# 0.2.6
|
12
|
+
|
13
|
+
## Bug fixes
|
14
|
+
|
15
|
+
* Make `width` and `height` optional for photos in the JSON schema [#110](https://github.com/diaspora/diaspora_federation/pull/110)
|
16
|
+
|
17
|
+
# 0.2.5
|
18
|
+
|
19
|
+
## Features
|
20
|
+
|
21
|
+
* Add `full_name` to `Profile` entity [#100](https://github.com/diaspora/diaspora_federation/pull/100)
|
22
|
+
* Add `Embed` entity [#101](https://github.com/diaspora/diaspora_federation/pull/101)
|
23
|
+
|
24
|
+
## Refactor
|
25
|
+
|
26
|
+
* Include `web+` prefix in `diaspora://` URL parsing [#108](https://github.com/diaspora/diaspora_federation/pull/108)
|
27
|
+
|
28
|
+
## Bug fixes
|
29
|
+
|
30
|
+
* Various bug fixes in the `federation_entities.json` [#102](https://github.com/diaspora/diaspora_federation/pull/102) [#104](https://github.com/diaspora/diaspora_federation/pull/104) [#107](https://github.com/diaspora/diaspora_federation/pull/107)
|
31
|
+
* Allow fetching of entities with dot in the GUID [#106](https://github.com/diaspora/diaspora_federation/pull/106)
|
32
|
+
|
33
|
+
# 0.2.4
|
34
|
+
|
35
|
+
## Features
|
36
|
+
|
37
|
+
* Make some entities editable and add `edited_at` property [#94](https://github.com/diaspora/diaspora_federation/pull/94)
|
38
|
+
|
39
|
+
## Bug fixes
|
40
|
+
|
41
|
+
* Fix validation of optional properties (for example for WebFinger) [#97](https://github.com/diaspora/diaspora_federation/pull/97)
|
42
|
+
|
1
43
|
# 0.2.3
|
2
44
|
|
3
45
|
## Features
|
4
46
|
|
5
|
-
Add `blocking` flag to `Contact` entity [#80](https://github.com/diaspora/diaspora_federation/pull/80)
|
6
|
-
Introduce alternative form for `AccountMigration` entity signature [#89](https://github.com/diaspora/diaspora_federation/pull/89)
|
47
|
+
* Add `blocking` flag to `Contact` entity [#80](https://github.com/diaspora/diaspora_federation/pull/80)
|
48
|
+
* Introduce alternative form for `AccountMigration` entity signature [#89](https://github.com/diaspora/diaspora_federation/pull/89)
|
7
49
|
|
8
50
|
## Refactor
|
9
51
|
|
10
|
-
Extract signing of `AccountMigration` to a different module [#89](https://github.com/diaspora/diaspora_federation/pull/89)
|
11
|
-
Remove participants limit for conversations [#91](https://github.com/diaspora/diaspora_federation/pull/91)
|
52
|
+
* Extract signing of `AccountMigration` to a different module [#89](https://github.com/diaspora/diaspora_federation/pull/89)
|
53
|
+
* Remove participants limit for conversations [#91](https://github.com/diaspora/diaspora_federation/pull/91)
|
12
54
|
|
13
55
|
## Bug fixes
|
14
56
|
|
15
|
-
Fix when booleans in relayables are false [#90](https://github.com/diaspora/diaspora_federation/pull/90)
|
16
|
-
Fix relayable signatures for messages with invalid XML characters [#95](https://github.com/diaspora/diaspora_federation/pull/95)
|
57
|
+
* Fix when booleans in relayables are false [#90](https://github.com/diaspora/diaspora_federation/pull/90)
|
58
|
+
* Fix relayable signatures for messages with invalid XML characters [#95](https://github.com/diaspora/diaspora_federation/pull/95)
|
17
59
|
|
18
60
|
# 0.2.2
|
19
61
|
|
data/README.md
CHANGED
@@ -6,7 +6,6 @@
|
|
6
6
|
|
7
7
|
[![Code Climate](https://codeclimate.com/github/diaspora/diaspora_federation/badges/gpa.svg)](https://codeclimate.com/github/diaspora/diaspora_federation)
|
8
8
|
[![Test Coverage](https://codeclimate.com/github/diaspora/diaspora_federation/badges/coverage.svg)](https://codeclimate.com/github/diaspora/diaspora_federation/coverage)
|
9
|
-
[![Dependency Status](https://gemnasium.com/diaspora/diaspora_federation.svg)](https://gemnasium.com/diaspora/diaspora_federation)
|
10
9
|
[![Inline docs](https://inch-ci.org/github/diaspora/diaspora_federation.svg?branch=master)](https://inch-ci.org/github/diaspora/diaspora_federation)
|
11
10
|
[![Gem Version](https://badge.fury.io/rb/diaspora_federation.svg)](https://badge.fury.io/rb/diaspora_federation)
|
12
11
|
|
@@ -38,25 +37,31 @@ Configure the engine in ```config/initializers/diaspora_federation.rb```:
|
|
38
37
|
```ruby
|
39
38
|
DiasporaFederation.configure do |config|
|
40
39
|
# the pod url
|
41
|
-
config.server_uri =
|
40
|
+
config.server_uri = URI("http://localhost:3000")
|
41
|
+
|
42
|
+
# ... other settings
|
42
43
|
|
43
44
|
config.define_callbacks do
|
44
45
|
on :fetch_person_for_webfinger do |diaspora_id|
|
45
46
|
person = Person.find_local_by_diaspora_id(diaspora_id)
|
46
47
|
if person
|
47
48
|
DiasporaFederation::Discovery::WebFinger.new(
|
48
|
-
# ...
|
49
|
+
# ... copy person attributes to WebFinger object
|
49
50
|
)
|
50
51
|
end
|
51
52
|
end
|
52
53
|
|
53
54
|
on :fetch_person_for_hcard do |guid|
|
54
|
-
# ...
|
55
|
+
# ... fetch hcard information
|
55
56
|
end
|
57
|
+
|
58
|
+
# ... other callbacks
|
56
59
|
end
|
57
60
|
end
|
58
61
|
```
|
59
62
|
|
63
|
+
The available config settings can be found [here](https://www.rubydoc.info/gems/diaspora_federation/DiasporaFederation#class_attr_details) and the callbacks are listed [here](https://www.rubydoc.info/gems/diaspora_federation/DiasporaFederation#define_callbacks-class_method) in the gem documentation.
|
64
|
+
|
60
65
|
## Contributing
|
61
66
|
|
62
67
|
See [our contribution guide](/CONTRIBUTING.md) for more information on how to contribute to the diaspora\* federation library.
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diaspora_federation-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Neff
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - '='
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.2.
|
39
|
+
version: 0.2.7
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - '='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.2.
|
46
|
+
version: 0.2.7
|
47
47
|
description: A rails engine that adds the diaspora* federation protocol to a rails
|
48
48
|
app
|
49
49
|
email:
|
@@ -69,7 +69,7 @@ homepage: https://github.com/diaspora/diaspora_federation
|
|
69
69
|
licenses:
|
70
70
|
- AGPL-3.0
|
71
71
|
metadata: {}
|
72
|
-
post_install_message:
|
72
|
+
post_install_message:
|
73
73
|
rdoc_options: []
|
74
74
|
require_paths:
|
75
75
|
- lib
|
@@ -84,9 +84,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
|
88
|
-
|
89
|
-
signing_key:
|
87
|
+
rubygems_version: 3.0.9
|
88
|
+
signing_key:
|
90
89
|
specification_version: 4
|
91
90
|
summary: diaspora* federation rails engine
|
92
91
|
test_files: []
|