mathium05also let vs var, var isn't really used anymore, *but* depending on your goals you may not have a choice, as old browsers (pre-2016) don't have support for let but it's only after 2015 they have var
rubenwardyMy point is that there's no need to support software that old as it is a security risk for the user anyway, and 99.9% are on much newer software
[mattl]Last time I had logs on for debugging (a few months ago) I was surprised by the number of different user agents hitting http://Libre.fm in rapid succession
btremAre there any gotchas with `curl -u`? I assume I enter my password in plain text, yes? When I inspect the headers, all seems well. But I'm really struggling to debug my VCALENDAR. :(
btremUgh. Too many moving parts. I swore I was going to give up on Drupal/ical feed. Why did I go back to it? My head hurts. I really need to stop banging it against the wall. ;-)
jak2k> Are there any gotchas with `curl -u`? I assume I enter my password in plain text, yes? When I inspect the headers, all seems well. But I'm really struggling to debug my VCALENDAR. :(
[mattl]if you do `curl -u btrem` it should prompt you for a password, but you can also do `curl -u btrem:hunter2` but that will add your password to your terminal history.
btremI don't know if (a) the Drupal ical module is broken; (b) it's working, but my output is not sufficient to produce usable VEVENTs; or (c) my calendar apps are not working correctly.
gRegorDid you get authn set up in front of the ics? I thought last time we discussed, the Drupal authentication system was in front of ics, not Basic authentication
btrem[mattl]: I did. It validates. But I imagine one could have a technically valid ical feed whose events are missing data that calendar apps require.
btremgRegor: sorry for the confusion. I'm trying to fix two things at once. How to get HTTP basic auth working, and how to get the calendar feed working. For the moment, the feed is public. So the calendar can subscribe the feed. (If I make it private, it's doesn't "see" the feed.)
[mattl]I can dig out my Linux laptop and install that too if that’ll help with anything. I can also boot the same machine into Windows 11 but I have no idea what I’m really doing there.
btremThanks. I'll keep that in mind. But that would require me making a public ical feed on production. It I have to do that, I certainly will. But I'd prefer not to if I can avoid that.
[mattl]gRegor: Is there a Windows desktop calendar? I have no idea… Outlook has one but I don’t even think Outlook is a desktop app anymore, just a shell around a website.
btremgRegor: I don't think so. If I save the file, it is by definition not a feed. As for localhost, I dunno, but the address is actually om.ddev.site. Something particular to ddev containers.
[mattl]Stick it in a folder and if you have php running locally you can type `php -S 127.0.0.1:3000` in that folder and you’ll get an instant local web server