#dev 2018-11-25

2018-11-25 UTC
[eddie], ben_thatmustbeme and [jgmac1106] joined the channel
#
[jgmac1106]
!tell Eddie you may need some margins, padding, empty columns, whatever you use, for mobile views. Your content just barely bleeds left and right
#
Loqi
Ok, I'll tell them that when I see them next
#
[eddie]
Thanks! Yeah I need to do a lot of mobile love. The homepage is pretty bad too
#
[jgmac1106]
Been trying to build my queries for my nav and particular and failing.
#
KartikPrabhu
for individual components like navigation flexbox is much better
#
[jgmac1106]
My article view on mobile needs more columns and smaller em... Be easier if I wasn't learning as I go
#
KartikPrabhu
also doing mobile-first is much easier
#
KartikPrabhu
since the layout is simpler there
#
[jgmac1106]
Yes switching from grid to flex on query
#
KartikPrabhu
you can always use flexbox instead of switching
#
[jgmac1106]
Yeah I do my first grid as mobile then build a min-width 760px query for desktop
#
[jgmac1106]
Good idea... Will work on that
#
KartikPrabhu
also better to use relative measures like "em" for media-queries instead of "px"
#
[jgmac1106]
On the media query? Define screens by em?
#
KartikPrabhu
not "define screens by em" but more like "define layout adjustments by em"
#
[jgmac1106]
I ended up messing up more than I fixed today but will be back at it: https://jgmac1106homepage.glitch.me/index.html
#
KartikPrabhu
[jgmac1106]: feel free to see how I do layout https://kartikprabhu.com/
#
KartikPrabhu
I am no expert but I think it works well
#
KartikPrabhu
using "em" for media-queries has the additional advantage that if people increase font-sizes in their browser then your layout adjust automatically even if the screen-size is the same
#
[jgmac1106]
Yeah been using explicit grids rows and columns, these often define cells in pixels. I only use em for font sizes after setting body to 14 or 16px
#
KartikPrabhu
I use grid with "fr" units and "%" which has the same advantages of being adaptable
#
KartikPrabhu
I use relative units everywhere except setting font-size on <html> which can be over-ridden by browser settings
#
jgmac1106
trying to learn the fractions and percents, as I go, this is probably my better css grid example, it was the rsult of a 14 day challenge…now just need 14 more yeas to actually understand, thx so much for the help.
#
jgmac1106
Working on the layout for a podcast series page now
#
gRegorLove
I like setting <html> to 10px so the `rem` units are easy multiples. 22px = 2.2rem
#
gRegorLove
I'm still trying to decide if/how to link my notes from my archives page.
#
gRegorLove
I'm leaning away from an individual notepad icon for each one. There would be hundreds on the page, so not sure the use-case unless someone just wants to click a random one.
#
gRegorLove
I could set up daily archive pages and link to them, though.
#
jgmac1106
pick a number, disolay X notes, then pagination
#
gRegorLove
similar to the posting graph I have at the bottom of notes: https://gregorlove.com/2018/11/another-year-is-wrapping-up/
#
Loqi
[gRegor Morrill] Another year is wrapping up (how?!), so time for my #indieweb #newwwyear resolutions for my website. By 2019-01-01 I would like to: Update my archive pages to cover more post types, not just articles Add back the next/previous article navigation...
#
gRegorLove
I'm referring to updating gregorlove.com/archives/
#
jgmac1106
so currently you only display posts?
#
gRegorLove
articles
#
jgmac1106
could you add a calendar to each mothe display and either list notes in the delay, or when you click on a date you get a page with notes for that day?
#
gRegorLove
They're not linked, but I do have separate year- and month- archive pages, also only showing articles currently.
#
gRegorLove
So I'm thinking I could include the posting graph on those pages and link each box to a (new) daily archive
#
jgmac1106
I was building a feed of notes today as well: https://indiewebcoursetemplate.glitch.me/updates.html, just thinking the calendar might be a nice UI for your archive since it is is organized by month
#
gRegorLove
I don't care for calendar views
#
jgmac1106
yeah I think that would work
#
gRegorLove
particularly when I'm not posting often. "have a look at my empty calendar" haha
#
KartikPrabhu
I have "notes" paginated by months
#
gRegorLove
My notes stream is paginated, but I'm referring to my overall archives page
#
gRegorLove
I'm thinking I should work on adding them to the month views first, though: https://gregorlove.com/2018/11/
#
gRegorLove
I think that will help me determine how to display them on the overall archives page
eli_oat and [eddie] joined the channel
#
[eddie]
!tell sknebel Finished reading through AutoAuth. It all makes sense! No areas of confusion. Obviously things might pop up when I actually start implementing, but for now it looks great!
#
Loqi
Ok, I'll tell them that when I see them next
eli_oat joined the channel
#
jgmac1106
alright finished the layout of the the podcast template I hope to ship in my course tempalte tomorrow: https://open-fight.glitch.me/ still need to do the media queries but goal is to ship a template with a podcast page, and an xml file
benwerd, eli_oat, snarfed and [tantek] joined the channel
#
[tantek]
same gRegorLove - I don't care for calendar views for my own posts
#
Loqi
[tantek]: jeremycherfas left you a message 1 day, 2 hours ago: pet name is historically mainly a name people use for their loved ones. Nothing demeaning about it in that context. Maybe a UK/US divide.
#
[tantek]
jeremycherfas definitely sounds like a divide. it's absolutely not a common term in the US
#
[tantek]
gRegorLove - if I had more posts on my site e.g. for each day, especially if I had a photo a day, a calendar-like grid view of them could look nice
NinjaTrappeur, jeremych_, barpthewire and [jgmac1106] joined the channel
#
jeremycherfas
Having fun adding a new kind of spam trap to my Grav site, so I can re-enable comments. It does annoy me, having to make humans jump through hoops, but spam annoys me even more.
jgmac1106 and [jgmac1106] joined the channel
#
[jgmac1106]
now wants to play with CSS animation to make a rolodex of h-cards, and a page turner monthly planner for archives....
#
[jgmac1106]
demo in 2032
#
jeremycherfas
We'll be waiting
#
[jgmac1106]
can't lie might have just spent a few minutes googling, just happy to get my media queries somewhat passable on the podcast template I am doing
#
jeremycherfas
I've been installing a thing that mounts remote server files and a log analysis app to see if I can run down the image posting issues from OYG to Known
#
jeremycherfas
Checking my https access log, I can see, for example `93.48.241.48 - - [25/Nov/2018:06:14:53 -0800] "POST /micropub/endpoint HTTP/1.1" 201 4319 "-" "Micro.blog/12 CFNetwork/902.3.1 Darwin/17.7.0 (x86_64)" `
#
jeremycherfas
I think that is a post being syndicated from MB to my Withknown instance, but I can't see any payload. Yet a post duly appeared. Maybe the "-" is where the payload would have been Is there some setting to increase the amount that is logged?
#
cjwillcock
what webserver is that? nginx, apache?
[tantek] joined the channel
#
cjwillcock
apache wouldn't have a setting for that out of the box
#
jeremycherfas
Oh well. Trying to chase down a strange bug. Thought that might be a way.
#
cjwillcock
it's a workable approach - but you are looking at installing apache modules to make it happen. If you can introduce a little code into your Known install in the control flow for that /micropub/endpoint route, you can dump the whole post body to a temp. debug file
#
cjwillcock
doesn't know known
#
jeremycherfas
Thanks. Actually, that's what the developer has done, and I have got the debug stuff out of the error.log and sent it to the issue. I was hoping to be able to see a POST the did work.
[jgmac1106] joined the channel
#
cjwillcock
what is known
#
Loqi
Known is an open publishing / community platform project https://indieweb.org/known
#
jeremycherfas
There's even a channel here #knownchat
#
cjwillcock
reading the source on Github - if you set the 'loglevel' to 'debug' in your known config file, it should put the post body into the log file so you can have a look
#
jeremycherfas
You mean `config.ini` or a different config file?
#
cjwillcock
config.ini, yes
#
cjwillcock
oh, it doesn't take string labels, ie: can't set to 'default'
#
cjwillcock
needs an integer, maybe it's 7
#
cjwillcock
just looking a little closer
#
jeremycherfas
Cool. Thanks.
#
cjwillcock
yea, try seven
#
cjwillcock
you're welcome!
#
Zegnat
About time I actually do what I said I would do months ago: get rel-me validation to Firefox again :D https://github.com/indieweb/verify-me/pull/6
#
Loqi
[Zegnat] #6 Cleanup, icons, and firefox
#
jeremycherfas
So, `loglevel = '7'` ?
#
jeremycherfas
As a string, or as the integer?
#
cjwillcock
lol, was thinking about that very confusion I caused!
#
cjwillcock
loglevel -> 7
#
cjwillcock
^^^ what you said loglevel = 7
#
cjwillcock
it's php so it shouldn't matter if it's int type or string type data, as long as the data is the numeral: 7
#
jeremycherfas
OK. I've set that, will wait for the next opportunity that OwnYourGram has to send a photo from Instagram to Known.
#
Zegnat
Ooh, the rel-me extension is already through the queue, so it is now up on AMO for all the Firefox users
#
Zegnat
https://addons.mozilla.org/en-US/firefox/addon/verify-me/ - if anyone wants to test it. Issues can be left on the GitHub PR linked above
eduardm, snarfed, eli_oat, benwerd and [kevinmarks] joined the channel
#
[kevinmarks]
Nice Zegnat.
[jgmac1106] joined the channel
#
[kevinmarks]
My only question was whether including the built versions was useful for people to install locally, as the packaging isn't part of the build.
#
Zegnat
I personally prefer to add the built packages to a GitHub release, rather than as part of the versioned code.
#
[kevinmarks]
That makes sense. OK.
#
Zegnat
Without build instructions, having irreproducible archives in the git repo makes little sense to me
#
Zegnat
Let me put that in the PR as a comment, so the conversation stays in one place :)
#
Zegnat
Commented, also cited a better example than my one-off QR code extension
#
cjwillcock
what is POSH
eli_oat joined the channel
#
[kevinmarks]
Do we have acronyms for the other spice girls?
#
cjwillcock
HA! nice
#
[kevinmarks]
Silo Copies Aren't Really Yours
#
cjwillcock
kevinmarks++
#
Loqi
kevinmarks has 8 karma in this channel over the last year (30 in all channels)
#
cjwillcock
that is SCARY
#
cjwillcock
kisik21, about hacking your site - if you want to DM me I have a little time and can maybe help you out. I don't know if you should post details of a vulnerability in the public chat logs -- your call!
#
kisik21
cjwillcock: well, the only thing you can do is post anything on my site
#
cjwillcock
explain?
#
cjwillcock
link too I guess
#
kisik21
I feel like my Micropub endpoint doesn't check tokens properly. Do you use https://tokens.indieauth.com/token as your token endpoint? then grab your token and try to Micropub @ https://fireburn.ru/cgi-bin/micropub.py
#
kisik21
If you do that I think I'll need to somehow protect from that
#
kisik21
probably by rolling out my own token auth?
#
aaronpk
you definitely need to check that the "me" URL in the token that tokens.indieauth.com makes is your own
#
kisik21
oh, wait, there's a me url in there
#
kisik21
but for now - have fun trying to post silly stuff on my site while I patch this thing up!
#
kisik21
I hope someone here will try to exploit this
#
sknebel
aaronpk: did you see that I put a better description of autoauth on Github? Id be interested in thoughts on https://github.com/sknebel/AutoAuth/issues/5 especially, since I wasn't quite sure why it looks like it looks in IndieAuth
#
Loqi
sknebel: [eddie] left you a message 16 hours, 57 minutes ago: Finished reading through AutoAuth. It all makes sense! No areas of confusion. Obviously things might pop up when I actually start implementing, but for now it looks great!
#
Loqi
[sknebel] #5 Include fewer pieces in Access Token Callback?
leg, [jgmac1106] and KartikPrabhu joined the channel
#
kisik21
Does Micropub support multiple photo objects in one post?
#
kisik21
then I'd have to support them all :)
#
aaronpk
Pretty sure there are tests for it on micropub.rocks too
#
kisik21
only JSON test for multiple photos
#
kisik21
my endpoint doesn't support JSON
#
aaronpk
Oh hmm, it should be allowed in form encoded too, surprised there isn't a test for that
#
kisik21
aaronpk: do you maintain micropub.rocks?
#
kisik21
then get these rocks to send multiple photos of rocks in a form!
#
kisik21
I would be very grateful
#
kisik21
because that's the thing I need to test right now!
#
kisik21
Also maybe syndication tests?
#
Zegnat
What would you expect a syndication test to look like?
#
kisik21
Query endpoint -> Present user a choice -> POST Micropub with mp-syndicate-to -> Allow user to check syndication manually, but wrapped in micropub.rocks test case
#
kisik21
Zegnat: the kind of test I described in my previous message would be perfect for me
#
kisik21
I just forgot to mention you
snarfed joined the channel
#
GWG
snarfed, Bridgy doesn't like my location mark up
#
snarfed
GWG: huh, sorry to hear it
#
snarfed
definitely file a bug if it's bridgy's fault!
#
GWG
How do I decide if it is?
#
kisik21
GWG: use xray.p3k.app or your favorite h-entry parser to determine if it parses correctly
#
kisik21
aaronpk: quill doesn't show error log when liking a post goes horribly wrong, just says that it failed
#
snarfed
also GWG you can always look at bridgy docs :P https://brid.gy/about#location
#
GWG
I will investigate
#
sknebel
aaronpk: re scope in IndieAuth token response being optional: that's not clear from the spec then!
#
aaronpk
I probably didn't make it explicit because it's already part of OAuth
#
sknebel
mh. could use a cross-reference to the right bit of OAuth then at least
#
sknebel
ok, it links to the error response, which is near enough, just didn't think to scroll up from that
#
aaronpk
Yeah that should have said "the OAuth 2.0 response" instead of "the appropriate response"
#
kisik21
aaronpk: will there be an API exposed for telegraph.p3k.io's Find Links function? I need it in my app because alternatives... simply do not do what I want compared to Telegraph
#
aaronpk
Wasn't planning on it. The code it uses is in a library already tho
#
kisik21
xray?
#
aaronpk
mention-client-php
snarfed joined the channel
#
kisik21
so
#
kisik21
aaronpk: `curl https://fireburn.ru/cgi-bin/micropub.py -H $AUTH -d h=entry -d content=Syndicate -d mp-syndicate-to=https://brid.gy/publish/twitter` works, Quill with button doesn't. https://fireburn.ru/cgi-bin/micropub.py?q=syndicate-to shows available Brid.gy syndication method (you can check it, it doesn't require auth to see config)
jgmac1106 joined the channel