Skip to content

Instantly share code, notes, and snippets.

Avatar

Sebastian Lasse sebilasse

View GitHub Profile
@sebilasse
sebilasse / InReplyToPolicy.md
Last active Jul 17, 2022
Who can reply (discuss) in ActivityPub
View InReplyToPolicy.md
--- --- ---
see https://github.com/w3c/activitypub/issues/319

“ With that said: Sure, why not have something like:

a vocabulary item that is a property on Objects (same domain as as:inReplyTo) that is like "replyPreferences": "http://your-vocabulary.com/replyPreferences/NONE". There could even be specific pre-baked policy URLs somewhere for "don't reply to me" or "don't reply with curse words" or "don't reply with images" or "don't reply with r-rated images"
language that says clients
SHOULD inform potential repliers about these preferences
MAY prevent replying if the replyPreferences indicate preferring no replies.
language that says that servers
@sebilasse
sebilasse / ActivityPubInReplyToredaktor.md
Last active Jun 14, 2022
Summing up ideas from initial discussion about reply policy
View ActivityPubInReplyToredaktor.md

see w3c/activitypub#319 comment by @gobengo


“ With that said: Sure, why not have something like: a vocabulary item that is a property on Objects (same domain as as:inReplyTo) that is like "replyPreferences": "http://your-vocabulary.com/replyPreferences/NONE". There could even be specific pre-baked policy URLs somewhere for "don't reply to me" or "don't reply with curse words" or "don't reply with images" or "don't reply with r-rated images" language that says clients SHOULD inform potential repliers about these preferences MAY prevent replying if the replyPreferences indicate preferring no replies.

@sebilasse
sebilasse / ActivityPubC2Sredaktor.md
Last active Jun 14, 2022
Summing up ideas from initial AS vocab discussion and for ActivityPub C2S
View ActivityPubC2Sredaktor.md

Let us DISCUSS this proposal and the inReplyToPolicy proposal and make C2S a better place.

redaktor C2S

red:Template

  • serves as a default Object “to describe that new resource”.
  • SHOULD be presented to the user as a “post interface”
  • If it is presented to the user it MUST accept ActivityPub conformant editing of “the entirety of the protocol” and it SHOULD provide form components for extensions:
@sebilasse
sebilasse / VocabDiagramExample.md
Created Apr 7, 2022
redaktor architecture excerpt / example
View VocabDiagramExample.md

graph TD

A[sioc:System] -->|hasMember| B(sioc:Usergroup<br>redaktor:Instance)
C[sioc:UserAccount] -->|hasMember| E{as:Actor}
B --> |hasMember| C
D((sioc:Role)) -->|hasScope| B
E -->|hasFunction| D
D --> |hasFunction| F[redaktor:PublicAppendable]
D --> |hasFunction| I

E -->|hasMember| F

@sebilasse
sebilasse / index.html
Last active Sep 25, 2021
d3 schema tree test
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Tree Example</title>
<style>
.node {
@sebilasse
sebilasse / index.css
Last active Sep 24, 2021
d3 schema tree test
View index.css
.node {
cursor: pointer;
}
.node circle {
fill: #fff;
stroke: steelblue;
stroke-width: 3px;
}
View AP_presets.json
{
"summaryMap": {
"en": "Preset maps for redaktor",
"de": "Voreingestellte Karten für redaktor"
},
"type": ["OrderedCollection"],
"totalItems": 8,
"orderedItems": [{
"nameMap": {
"en": "Traffic",
View AP_providers.json
{
"summaryMap": {
"en": "All default Tile Layers for redaktor maps",
"de": "Alle Standard Tile Layer für redaktor Karten"
},
"type": ["OrderedCollection"],
"totalItems": 2,
"orderedItems": [{
"OSM": {
"name": "OpenStreetMap",
@sebilasse
sebilasse / AP_providers_src.ts
Last active Apr 25, 2020
AP_providers_src.ts
View AP_providers_src.ts
/**
* Definition of map providers as ActivityPub Objects
* see http://leafletjs.com/reference.html#tilelayer for options in the options map.
*/
// TODO especially newer Satellite : https://www.maptiler.com/cloud/
// TODO https://mapbox.com
/* Types TODO
https://w3id.org/arco/ontology/location/ExtraurbanContext
@sebilasse
sebilasse / ep_indie.md
Last active Aug 11, 2017
ep_indie description POC
View ep_indie.md

ep_indie

A planned extension for Etherpad

IndiePad Home View

v1

  • upcoming Events from the wiki [listing the rel=tag from /schedule ?]
  • I am not a robot