#dev 2017-10-09
2017-10-09 UTC
snarfed and tantek joined the channel
#
tantek.com edited /Homebrew_Website_Club (-112) "/* Cities getting started */ Brussels first meetup" (view diff)
leg, renem, KartikPrabhu, j12t, snarfed and cweiske joined the channel
jeremycherfas joined the channel
#
seblog.nl edited /Special:Log/upload () "uploaded a new version of "[[File:2017-10-09-pocket-reading-list.jpg]]": added a fake mouse to make the hover more obvious" (view diff)
#
@pfefferle @chrisbergr Schick! Ich bin gespannt! Sogar mit Webmentions und POSSE/Syndication! #indieweb (twitter.com/_/status/917314350469263360)
#
petermolnar what is warc?
#
Loqi WARC is a web archive (Web ARChive) format designed to collect all of the resources that make up a web page into a single item that does not require any external references when opened https://indieweb.org/WARC
j12t, jonnybarnes and John___ joined the channel
#
seblog.nl edited /recommend (+46) "Medium: make past tense, add reference to the clap" (view diff)
jeremycherfas, eli_oat, tantek, jeremych_, j12t, John___, [eddie], [kevinmarks], KartikPrabhu and ludovicchabant joined the channel
#
ludovicchabant Heya -- didn't know this channel was there @aaronpk
#
ludovicchabant thanks :) so yeah I was wondering if there was library support for handling both url-encoded forms and multipart/form-data in a transparent way
#
ludovicchabant ok
#
ludovicchabant looking back at my logs, it looks like Werkzeug is maybe not handling it correctly because the request is done with the `application/json` mime type and not `multipart/form-data` ?
#
ludovicchabant (the request is coming from Quill's HTML editor btw)
#
aaronpk if you want a tool to try sending all combinations of requests to your endpoint, https://micropub.rocks will do the job
#
ludovicchabant ah thanks, I'll try that
#
ludovicchabant is there any reason clients don't just stick to the standard HTML forms then?
#
ludovicchabant ok, makes sense, but for example for Quill it looks like the JSON is more complicated than it could be? Pretty much all properties are lists when most could be just strings? Or is there any use-case for, say, multiple 'name' or 'mp-slug' values?
#
ludovicchabant ah ok -- I'll have to lookup the Microformats JSON spec then
#
ludovicchabant for the content[html] stuff, what's the pros/cons vs. just making another property, like "content_html" vs "content"?
#
ludovicchabant or is that basically a problem of remapping Microformats JSON syntax back into HTML form data?
#
ludovicchabant ok
#
ludovicchabant well I guess I'll check if there's a Microformats lib for python then :) otherwise I think if the spec guarantees that every property is a list, the server code might not be too complex
#
ludovicchabant cheers! (spoiler warning: you'll probably hear more from me in the next couple weeks :) )
[eddie] joined the channel
#
[eddie] hey aaronpk: I fixed some errors on my compass server, but I’ve found a new one I’m not sure about: “No supported encrypter found. The cipher and / or key length are invalid.” Stack overflow said that is typically an OpenSSL issue or an .env error. I don’t see anything in the .env.example about cipher so do I need to install something open SSL separately?
jeremycherfas joined the channel
#
aaronpk this is the framework it uses https://lumen.laravel.com/docs/5.1
davidmead joined the channel
#
[eddie] Wooo!!!! https://files.slack.com/files-pri/T03QR2B2T-F7EV58AGG/image_uploaded_from_ios.png?pub_secret=4ffb060f2a&name=Image uploaded from iOS.png
[cleverdevil] joined the channel
#
[cleverdevil] So, FYI, grantcodes has been making good progress on the prototype for Together - https://github.com/cleverdevil/together
#
[cleverdevil] Good job, grantcodes ?
[grantcodes] joined the channel
#
[grantcodes] Yeah it's coming along
#
[grantcodes] Really need a microsub server to be able to build it out further
#
[cleverdevil] Indeed.
#
[cleverdevil] That's an aspect I can potentially actually help with.
#
[cleverdevil] I am not so awesome with JavaScript though ?
#
[cleverdevil] I may write a Python-based microsub server.
#
[cleverdevil] aaronpk do you have a prototype microsub server somewhere?
#
[cleverdevil] Or know of one?
#
[cleverdevil] Gotcha.
dougbeal|mb1 joined the channel
#
[grantcodes] cleverdevil Yeah even some sort of mock server would be super helpful, doesn't need to actually work fully according to the spec, just return sample data
#
[grantcodes] Then there is also the cors issue unless the microsub spec is going to define something about that
#
[grantcodes] same deal with micropub
#
[grantcodes] But it's kind of difficult to solve as well since you also need to scrape the persons site to find their endpoints, so their homepage would need to have the Access-Control-Allow-Origin header set up
Kongaloosh joined the channel
#
[cleverdevil] Sometimes the best way to hash out details on a spec is to actually build something.
[sebsel] joined the channel
[kevinmarks] joined the channel
#
[grantcodes] I'm almost tempted to have a go at building one as well. Would be kinda awesome to have 3+ implementations before the spec is even complete ?
#
[cleverdevil] Haha
#
[cleverdevil] As fun as that'd be, I'd rather collaborate on one ?
#
[grantcodes] Yeah that's fair
#
[grantcodes] In another topic should micropub endpoints support delete requests for files uploaded to the media endpoint? Just ran into that problem.
#
[cleverdevil] I don't see anything in the micropub.rocks tests for that.
#
[grantcodes] Yeah there's no documentation on it. All I can see is "Micropub servers should support deleting posts"
#
[grantcodes] But no reason you couldn't just pass the url to a file rather than a post
#
[kevinmarks] Having 3 implementations is really good for a spec
#
[grantcodes] But then that would be to the micropub endpoint not the media endpoint and they could be seperate
gRegorLove joined the channel
#
[grantcodes] Yeah, I thought it would need to be to the media endpoint because of the separation. Could the media endpoint not just support DELETE requests then? Actually no I just realised that wouldn't work, because the url of the file is not the same as the endpoint
#
[grantcodes] My use case is if I upload the wrong photo to an article or gallery or whatever and remove it - it gets removed from the micropub request but the wrong file is still sitting there
#
[grantcodes] Hmm yeah I suppose that's possible, bit more difficult to build though!
#
[grantcodes] Actually how would the media endpoint know that the file isn't used if it is separate from the micropub endpoint?
#
[grantcodes] But the file could potentially never be downloaded.
#
[grantcodes] Not necessarily, I have mine on the same server so I just link to the file, I don't download it, so it would require someone to actually view the post that the file is attached to
#
[grantcodes] Depends on the micropub client.
#
[grantcodes] Yeah I agree, but if they are not then automatic deletion is a (quite unlikely) potential issue
#
[grantcodes] If you are dealing with full res photo galleries it can become an issue ? - I know I'm about the only person doing that at the moment though
mdcox joined the channel
#
[grantcodes] Cool, fair enough. May be worth mentioning somewhere in the docs ?
KartikPrabhu and [kevinmarks] joined the channel
#
KartikPrabhu wow!
#
KartikPrabhu cloudfare in front of AWS infront of your site?!
tantek joined the channel
#
KartikPrabhu that seems like a lot of moving parts though
#
KartikPrabhu oh Isee, so your site is skipped in some sense
#
aaronpk this looks like what i want https://wsvincent.com/static-site-hosting-with-s3-and-cloudflare/
[eddie] joined the channel
tantek joined the channel
#
aaronpk !tell snarfed i think something is wrong with my instagram bridgy. in the last log https://brid.gy/log?start_time=1506251680&key=aglzfmJyaWQtZ3lyFgsSCUluc3RhZ3JhbSIHYWFyb25waww it says "Demoting original post links because user tag:instagram.com,2013:aaronpk doesn't match author tag:instagram.com,2013:1500881" and it says the last syndication link was found 2 weeks ago.
KartikPrabhu joined the channel
#
[eddie] so it's just the /api/input that presents the 500 error
#
[eddie] Even stranger. If I send a GET to the /api/input I get the database name back
#
loqi.me edited /content_management_system (+15) "tantek added "[[PieCrust]]" to "See Also"" (view diff)
