#dev 2016-10-14

2016-10-14 UTC
#
aaronpk
was trying to figure out what gif to use for the test
#
aaronpk
gotta make sure your media endpoint can handle a 2.7mb animated gif!
#
tantek
yes that's a key use-case! :)
#
aaronpk
alright, just pushed up tests for: multipart uploads to the micropub endpoint, discovering and uploading to the media endpoint, and for the configuration query!
snarfed joined the channel
#
snarfed
woo, new micropub.rocks tests!
#
snarfed
aaronpk: just fyi, the query tests are failing the "JSON object" check for me, but i'm not sure why. e.g.:
#
snarfed
Content-Type: application/json; charset=UTF-8
#
snarfed
{"syndicate-to":[]}
#
aaronpk
Oh I might be checking the content type too strictly
#
snarfed
also the source checks are requesting url=false
#
aaronpk
Hm that means it didn't find a location header to use
#
aaronpk
it shouldn't have got that far to make that request
#
snarfed
oh localhost, heh
#
aaronpk
oh dear
#
snarfed
nah, makes sense, i gave it an ngrok endpoint. i just don't use the ngrok host in my returned Location
#
aaronpk
i wil have to check on that tomorrow
#
snarfed
np. probably only the content type one is an actual bug
#
snarfed
and these are easy to redo locally so nothing's blocking me. thanks again for the site, it's great!
singpolyma joined the channel
#
ben_thatmustbeme
aaronpk: itlooks like the query tests aren't even trying to hit my endpoint
#
ben_thatmustbeme
really confused
#
ben_thatmustbeme
first thing i do is log out, and thats not even running
#
ben_thatmustbeme
hmm, looks like it was getting a JS error, that seems to have fixed itself
#
ben_thatmustbeme
also, snarfed, i don't send the charset under content-type header and it seems to work for me, so i suspect that is the issue
snarfed joined the channel
#
nicolas-bermond.com
edited /IndieWebCampParis (+73) "/* supporters */"
(view diff)
#
nicolas-bermond.com
created /User:Nicolas-bermond.com.com (+118) "Created page with "French speaking - IndieMark experience == Project == Wordpress complient InideWeb (WIP) * http://nicolas-bermond.com""
(view diff)
#
aaronpk
ben_thatmustbeme: snarfed: feel free to file issues and I'll work on them tomorrow!
#
ben_thatmustbeme
woo, 20 / 30 tests passed
KevinMarks joined the channel
#
KevinMarks
Can you do a media endpoint test with an SVG file too?
#
KevinMarks
'cos I keep finding silos that don't support SVG, and indieweb could
#
Loqi
[@helenhousandi] What's something you've wanted to build using WordPress REST API endpoints but didn't because they aren't built into core?
#
KevinMarks
Answer that, gwg?
#
GWG
KevinMarks: Nothing at the moment. We've been writing our own API endpoints for webmentions. Although pfefferle has is working on reviewing a change to Webmentions that uses the REST API infrastructure, but not the endpoints.
#
GWG
snarfed has a Micropub endpoint.
#
GWG
Admittedly, I think the REST API is great because it allows for using WordPress as a backend for a lot of different things. But I'm not sure what I want to build with it.
#
KartikPrabhu
what is REST?
#
Loqi
Representational State Transfer (REST) is a software design architecture used to communicate state between two systems that has no current IndieWeb adoption, likely due to its fundamental incompatibility with static sites https://indieweb.org/REST
#
KartikPrabhu
what is API?
#
Loqi
API is an abbreviation for Application Programming Interface https://indieweb.org/API
#
KartikPrabhu
that is useless ^
#
GWG
KevinMarks: I may switch over some of the calls I use to the older admin-ajax system to creating a custom endpoint as the performance is allegedly better. https://deliciousbrains.com/comparing-wordpress-rest-api-performance-admin-ajax-php/
#
Loqi
[Matt Shaw] Comparing WordPress REST API Performance to admin-ajax.php
#
GWG
KartikPrabhu: Agreed on the useless.
#
GWG
The WordPress REST API is a years long project to bring an extensible API to WordPress. There is a lot of potential in that, including having alternative front ends. But it isn't there yet.
#
KartikPrabhu
does not understand what an API is
#
GWG
It is basically documented ways for communication
#
GWG
The fact that everyone thinks they need their own is an issue.
#
GWG
But that's the world
#
GWG
!tell pfefferle Happy Birthday
#
Loqi
Ok, I'll tell them that when I see them next
KevinMarks, snarfed, tantek, KevinMarks_, cweiske, lukasros, loicm and jonnybarnes joined the channel
#
justonestep.de
created /User:Justonestep.de (+319) "Created page with "= <span class="p-name">Bea David</span> = <span class="p-role">Web developer</span> from <span class="p-locality">Leipzig</span>, <span class="p-country-name">Germany</span>. * ...""
(view diff)
#
justonestep.de
created /Template:beadavid (+132) "Created page with "<span class="h-card" style="white-space:nowrap">{{sparkline|https://justonestep.de/me.jpg}} [[User:Justonestep.de|Bea David]]</span>""
(view diff)
tantek joined the channel
#
justonestep.de
edited /2016/Berlin (+15) "/* Participating */"
(view diff)
#
justonestep.de
edited /2016/Berlin (+5) "/* Participating */"
(view diff)
#
tantek.com
edited /2016/LA (+104) "note up top about IWC Berlin happening simultaneously!"
(view diff)
#
tantek.com
edited /2016/Berlin (+113) "note up top about IWC LA happening simultaneously!"
(view diff)
#
tantek.com
edited /MediaWiki:Sidebar (+33) "Berlin also"
(view diff)
#
tantek
and edited sidebar also to at least mention Berlin!
#
tantek.com
edited /Template:IndieWebCamp (+0) "LA does (barely because of optional Friday) start before Berlin!"
(view diff)
#
tantek
ben_thatmustbeme: if it was just you organizing the online stuff, and sandro getting the room, do you think that's enough to make the one-day IWC MIT2 happen?
#
tantek.com
edited /Planning (+46) "/* MIT2 */ link SWWG meeting"
(view diff)
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Social Web WG Face to Face Meeting at MIT (F2F8)
tantek joined the channel
#
petermolnar
http://thenextweb.com/apps/2016/10/14/instagram-finally-arrives-on-windows-desktops-but-still-needs-work/ - any win10 users here who could please start sniffing the most probably hidden API endpoints?
#
sknebel
ping Zegnat ^^^
snarfed joined the channel
#
ben_thatmustbeme
!tell tantek I think we could make that work. since its a 1-day thing, we don't need nearly as much planning
#
Loqi
Ok, I'll tell them that when I see them next
sknebel joined the channel
#
aaronpk
good morning
#
Loqi
aaronpk: tantek left you a message 4 hours, 59 minutes ago: could you add yourself to https://www.w3.org/wiki/Socialwg/2016-11-17#Participants ?
#
sknebel
morning!
#
aaronpk
ben_thatmustbeme++ and snarfed++ for filing issues on micropub.rocks
#
Loqi
ben_thatmustbeme has 172 karma (2 in this channel)
#
aaronpk
snarfed++
#
Loqi
snarfed has 242 karma (1 in this channel)
tantek and snarfed joined the channel
#
aaronpk
is whittling down the micropub.rocks issues
tantek, singpolyma, myfreeweb_, sknebel_, singpoly1a, bret_, sknebel and KartikPrabhu joined the channel
#
ben_thatmustbeme
woo 26/35 tests passing on micropub.rocks
#
ben_thatmustbeme
really hits multipart and updates that are not yet working
#
aaronpk
did i fix your bugs you found last night?
voxpelli joined the channel
#
ben_thatmustbeme
i saw that you pushed code, but i haven't tested yet, since it was revealing a bug on my side that i have fixed
#
ben_thatmustbeme
i can unfix it to test though
#
ben_thatmustbeme
aaronpk: what are the differences between white checkmark and black checkmark?
#
ben_thatmustbeme
i still have the page open and it was only adding new ones as black checkmarks
lukasros joined the channel
#
ben_thatmustbeme
i don't know, i go back to server tests and it shows some of the green circles have white checkmarks, some have black
#
ben_thatmustbeme
if i reload the page, it changes to all black checkmarks
#
aaronpk
odd. that sounds like a font glitch
#
aaronpk
they're supposed to be all white
#
KartikPrabhu
SVG for icons
#
aaronpk
I don't want to think about that
#
aaronpk
thats why I use a CSS framework in the first place
#
KevinMarks
Open source svg tickmark http://svgur.com/s/9p
#
KevinMarks
There are unicode ticks too ✅✔️☑️❌❎
#
aaronpk
just tell me how to make it look like it currently does and i will change it
#
aaronpk
okay! *whew* now you can sign in to add an endpoint to micropub.rocks instead of copypasting the token manually!
#
aaronpk
please keep hammering on it and file issues if you notice any bugs!
KevinMarks and tantek joined the channel
#
ben_thatmustbeme
aaronpk: yeah, strange the checkmakrs still do that for me. and its all of them. if i go to a different page (say dashboard) then click my endpoint and they are white, if i reload the page, they turn black