#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

#
[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

#
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.

#
gRegorLove similar to the posting graph I have at the bottom of notes: https://gregorlove.com/2018/11/another-year-is-wrapping-up/

#
gRegorLove I'm referring to updating gregorlove.com/archives/

#
gRegorLove articles

#
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

#
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
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
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

#
[jgmac1106] these could be fun: https://lab.hakim.se/scroll-effects/

#
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?
#
jeremycherfas 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

#
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 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.

#
[kevinmarks] That makes sense. OK.

#
cjwillcock what is POSH
#
Loqi POSH is Plain Old Semantic HTML - see http://microformats.org/wiki/posh https://indieweb.org/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++
#
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?
#
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
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 :)
#
kisik21 only JSON test for multiple photos
#
kisik21 my endpoint doesn't support JSON
#
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?
#
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
#
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
#
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
#
kisik21 xray?
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