#social 2017-11-26

2017-11-26 UTC
rowan and xmpp-social joined the channel
#
Chocobozzz
ajordan: hi, yes i am
#
Chocobozzz
For the mention of activitypub, see the issue https://github.com/Chocobozzz/PeerTube/issues/104 :)
#
Loqi
[tcitworld] #104 Move to ActivityPub for federation
timbl, timbl_ and rowan joined the channel
#
cwebber2
Chocobozzz: \o/
#
Chocobozzz
cwebber2: if it's okay for you I'll contact you when the first version of the activitypub implementation (server-server) in peertube will be finished, to be sure there won't be some "incompatibilities" (especially at the object level) with MediaGoblin ?
#
cwebber2
Chocobozzz: absolutely
#
Chocobozzz
cool!
rowan and rowan_ joined the channel
#
rowan_
hey y'all, anybody up for helping me test a thing with boosts/shares/announces/whatever? that thing is "boosting things from smilodon doesn't seem to boost them properly"
#
puckipedia
rowan_: hmm
#
rowan_
*boosting posts made on smilodon doesn't propogate them on mastodon
#
puckipedia
hmm
#
puckipedia
do you ahve an example post?
#
rowan_
i have some vague ideas and i think i just need to take a break and formulate them
#
puckipedia
... try changing '@id' to 'id'?
#
rowan_
oh god damn it
#
puckipedia
oh and your /rowan/posts/2 doesn't resolve
#
rowan_
nah tho it's 'id' in everything else
#
rowan_
okay great i'll fix that
#
puckipedia
now it just returns None
#
rowan_
right yeah
#
puckipedia
also having API and non-API on different Origin's will probably break something inside Kroeg
#
rowan_
ugh
#
puckipedia
and technically https://smilodon.rowan.website/@rowan/2 returning the /rowan/posts/2 ID is not wrong but it's not right either imo :P
#
rowan_
really?
#
rowan_
yeah word i've been kinda just hacking at it and will sit down and fix things soon
#
rowan_
thanks puckipedia
#
puckipedia
so Kroeg is very lenient with what it accepts, but usually if you GET a specific path you would want that ID primarily
#
puckipedia
and I think Mastodon might be having issues with that
#
puckipedia
oh and I don't actually get JSON back, rather what I think is ruby dump
#
rowan_
yeah i'd believe that
#
rowan_
hm?
#
puckipedia
puckipedia@reimu> curl -H "Accept: application/activity+json" "https://smilodon.rowan.website/@rowan/2" ~/Downloads
#
puckipedia
{'_id': ObjectId('5a1b335138226a0009f9bd2d'), 'id': 'https://api.smilodon.rowan.website/rowan/posts/2',
#
puckipedia
OH WOOPS
#
puckipedia
well you see
#
puckipedia
I shouldn't use right-aligned PS1
#
rowan_
fwiw the @rowan/2 should *really* be a user readable page but templates are a bum
#
puckipedia
okay so I'm poking at it with accept application/activity+json, which should return the JSON-LD representation of that object :P
#
rowan_
yeah no i'm gonna fix this whole situation hang on
#
puckipedia
what you could do is have api.[...] return the AS2 always, and non-api return html. this is accepted by basically anything afaik
#
puckipedia
anyways
#
puckipedia
gotta go to bed
#
rowan_
yeah, that's the plan
#
rowan_
haha okay :)
#
Loqi
awesome
#
puckipedia
just don't forget to set 'url' then :P
rowan joined the channel