Skip to content

Commit 9a2d78e

Browse files
authored
Merge branch 'main' into evanp-patch-2
2 parents 9b643e7 + 617c26c commit 9a2d78e

File tree

5 files changed

+100
-8
lines changed

5 files changed

+100
-8
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Add comment to explain Needs FEP label
2+
on:
3+
issues:
4+
types:
5+
- labeled
6+
7+
jobs:
8+
add-comment:
9+
if: github.event.label.name == 'needs-fep'
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
steps:
14+
- name: Add comment
15+
run: gh issue comment "$NUMBER" --body "$BODY"
16+
env:
17+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
GH_REPO: ${{ github.repository }}
19+
NUMBER: ${{ github.event.issue.number }}
20+
BODY: >
21+
This issue has been labelled as potentially needing a FEP, and contributors are welcome to [submit a FEP](https://codeberg.org/fediverse/fep/src/branch/main#submitting-a-fep) on the topic.
22+
23+
Note that issues may be closed without the FEP being created; that does not mean that the FEP is no longer needed.

ERRATA.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,74 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
7979

8080
- Unlike `latitude` and `longitude`, the domain of the `altitude` term is the `Object` type. The `altitude` term should be included in the list of properties of an `Object`. Because `altitude` is primarily documented as a property of a `Place`, publishers should not include `altitude` on objects that are not of type `Place`, and consumers should accept objects with this property that aren't of type `Place`.
8181

82+
- Example 60, for the `Tombstone` type, is missing the `@context` property. The correct example should be:
83+
84+
```json
85+
{
86+
"@context": "https://www.w3.org/ns/activitystreams",
87+
"type": "OrderedCollection",
88+
"totalItems": 3,
89+
"name": "Vacation photos 2016",
90+
"orderedItems": [
91+
{
92+
"type": "Image",
93+
"id": "http://image.example/1"
94+
},
95+
{
96+
"type": "Tombstone",
97+
"formerType": "Image",
98+
"id": "http://image.example/2",
99+
"deleted": "2016-03-17T00:00:00Z"
100+
},
101+
{
102+
"type": "Image",
103+
"id": "http://image.example/3"
104+
}
105+
]
106+
}
107+
```
108+
82109
- The domain of the `attributedTo` property is both `Link` and `Object`. `attributedTo` should be included in the list of properties of a `Link`.
83110

84111
- The description of the `audience` property should read "Identifies one or more entities that represent the total population of entities for which the object can be considered to be relevant."
112+
113+
- Example 157 is not valid JSON because the `content` property extends over multiple lines. The correct example is:
114+
115+
```json
116+
{
117+
"@context": "https://www.w3.org/ns/activitystreams",
118+
"name": "A thank-you note",
119+
"type": "Note",
120+
"content": "Thank you <a href='http://sally.example.org'>@sally</a> for all your hard work! <a href='http://example.org/tags/givingthanks'>#givingthanks</a>",
121+
"to": {
122+
"name": "Sally",
123+
"type": "Person",
124+
"id": "http://sally.example.org"
125+
},
126+
"tag": {
127+
"id": "http://example.org/tags/givingthanks",
128+
"name": "#givingthanks"
129+
}
130+
}
131+
```
132+
133+
- Example 102 is missing a `type` property on the `Link` value of the `url` property. For clarity, the example should read:
134+
135+
```json
136+
{
137+
"@context": "https://www.w3.org/ns/activitystreams",
138+
"type": "Video",
139+
"name": "Cool New Movie",
140+
"duration": "PT2H30M",
141+
"preview": {
142+
"type": "Video",
143+
"name": "Trailer",
144+
"duration": "PT1M",
145+
"url": {
146+
"type": "Link",
147+
"href": "http://example.org/trailer.mkv",
148+
"mediaType": "video/mkv"
149+
}
150+
}
151+
}
152+
```

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ Extensions are documented on the [Extensions registry](https://www.w3.org/wiki/A
8383

8484
The [Fediverse Enhancement Proposals](https://codeberg.org/fediverse/fep) process is a lightweight collaboration process for creating and documenting Activity Streams 2.0 extensions (and other changes to the Fediverse). It's a good place to start if you're considering a backwards-compatible change.
8585

86+
There are many ideas for backwards-compatible changes to ActivityPub that have not yet been written up as a FEP or other document. These are marked [Needs FEP](https://github.com/w3c/activitystreams/issues?q=is%3Aissue+label%3A%22needs-fep%22) in the ActivityPub GitHub issue repository, and contributors are welcome to [submit a FEP](https://codeberg.org/fediverse/fep/src/branch/main#submitting-a-fep) on the topic. Note that issues may be closed without the FEP being created; that does not mean that the FEP is no longer needed.
87+
8688
Extensions that become popular can be integrated into the AS2 vocabulary document, making them practically part of the spec. The [Extensions Policy](https://swicg.github.io/extensions-policy/) describes how to propose extensions for inclusion in AS2.
8789

8890
Future versions of the AS2 specification(s) may include popular extensions as part of the core specs; see below.

vocabulary/activitystreams2.owl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
@prefix : <http://www.w3.org/ns/activitystreams#> .
2-
@prefix as: <http://www.w3.org/ns/activitystreams#> .
1+
@prefix : <https://www.w3.org/ns/activitystreams#> .
2+
@prefix as: <https://www.w3.org/ns/activitystreams#> .
33
@prefix owl: <http://www.w3.org/2002/07/owl#> .
44
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
55
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
66
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
77
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
8-
@base <http://www.w3.org/ns/activitystreams> .
8+
@base <https://www.w3.org/ns/activitystreams> .
99

10-
<http://www.w3.org/ns/activitystreams#> a owl:Ontology ;
10+
<https://www.w3.org/ns/activitystreams#> a owl:Ontology ;
1111
rdfs:comment "Extended Activity Streams 2.0 Vocabulary"@en ;
1212
rdfs:label "Activity Streams 2.0"@en ;
1313
owl:imports <http://www.w3.org/ns/prov#> .

vocabulary/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2751,6 +2751,7 @@ <h2>Object and Link Types</h2>
27512751
<td rowspan="4">
27522752
<div id="ex184b-jsonld" style="display: block;">
27532753
<pre class="example highlight json">{
2754+
"@context": "https://www.w3.org/ns/activitystreams",
27542755
"type": "OrderedCollection",
27552756
"totalItems": 3,
27562757
"name": "Vacation photos 2016",
@@ -6017,7 +6018,7 @@ <h3>Representing Relationships Between Entities</h3>
60176018
"subject": "http://sally.example.org",
60186019
"relationship": "http://purl.org/vocab/relationship/friendOf",
60196020
"object": "http://matt.example.org",
6020-
"startTime": "2015-04-21T12:34:56"
6021+
"startTime": "2015-04-21T12:34:56Z"
60216022
}
60226023
}</pre>
60236024
</div>
@@ -6515,9 +6516,7 @@ <h2>Mentions, Tags and Other Common Social Microsyntaxes</h2>
65156516
"@context": "https://www.w3.org/ns/activitystreams",
65166517
"name": "A thank-you note",
65176518
"type": "Note",
6518-
"content": "Thank you &lt;a href='http://sally.example.org'&gt;@sally&lt;/a&gt;
6519-
for all your hard work!
6520-
&lt;a href='http://example.org/tags/givingthanks'&gt;#givingthanks&lt;/a&gt;",
6519+
"content": "Thank you &lt;a href='http://sally.example.org'&gt;@sally&lt;/agt for all your hard work! &lt;a href='http://example.org/tags/givingthanks'&gt;#givingthanks&lt;/a&gt;",
65216520
"to": {
65226521
"name": "Sally",
65236522
"type": "Person",

0 commit comments

Comments
 (0)