IRC logs for #farmOS, 2022-01-19 (GMT)

2022-01-18
2022-01-20
TimeNickMessage
[22:50:38]<symbioquine[m]>Is it expected that out of the box no users have permission to use the auth code grant in farmOS 2.x?
[22:50:41]<symbioquine[m]>ACTION uploaded an image: (24KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/VUgqOYxLsGf... >
[22:52:24]<symbioquine[m]>It doesn't seem to be mentioned specifically in https://farmos.org/development/api/authentication/
[22:55:35]<symbioquine[m]>That seems surprising since I think that would mean there's less friction in using the Password Credentials Grant which should arguably be discouraged.
[22:56:22]<symbioquine[m]>* no users (except admin) have permission
[23:21:02]<paul121[m]>Good find - I know about this, but maybe good to bring this across mstenta too
[23:21:19]<paul121[m]>Quite relevant: https://www.drupal.org/project/farm/issues/3172315
[23:23:20]<paul121[m]>Having this permission be more granular on a per client would really be ideal. But maybe we could grant this permission in the meantime?
[23:38:32]<mstenta[m]>Ah hmm
[23:38:39]<mstenta[m]>Should we have an "API" role?
[23:39:35]<mstenta[m]>Imagining for the Aggregator... create a user with the API role, and use that user to connect to the aggregator
[23:41:40]<paul121[m]>Also related: https://www.drupal.org/project/simple_oauth/issues/3255346
[23:43:39]<mstenta[m]>too late for me to grok :-)
[23:43:55]<mstenta[m]>g'night!
[08:51:53]<mstenta[m]>@botlfarm:matrix.org: I'm investigating https://www.drupal.org/project/farm/issues/3224663 and I found a workaround...
[08:52:50]<mstenta[m]>Basically just need to add `type[]=animal` URL parameter to the `/assets.csv` link that's generated, in order to filter by the asset type
[08:53:19]<mstenta[m]>I am looking to see if we can just automatically append that parameter to the URL that's generated on `/assets/animal` (and other asset types)
[08:53:42]<mstenta[m]>It seems that the other filters are applying properly... it's just missing that one (which is arguably the most important)
[09:48:47]<skipper_is[m]>ACTION uploaded an image: (149KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/KgGymEcTVps... >
[09:49:02]<skipper_is[m]>Happy camper! Thank you mstenta !
[09:49:10]<mstenta[m]>Yesssss!!!
[14:07:08]<MarcosCarballal[>Hey all!
[14:07:08]<MarcosCarballal[>I've gotten apache up and running, I pointed the WebRoot to the web/ folder that we created earlier by running "composer install"
[14:07:08]<MarcosCarballal[>It is serving the literal index.php file, which is not the desired behavior. Do I need to enable some PHP property on Apache?
[14:07:08]<MarcosCarballal[>https://farmos.spatialfrontlab.com
[14:08:02]<MarcosCarballal[>[root@ip-40-20-24-39 conf]# apachectl -v
[14:08:02]<MarcosCarballal[>Server version: Apache/2.4.6 (Red Hat Enterprise Linux)
[14:08:02]<MarcosCarballal[>Server built: Jan 11 2022 00:03:24
[14:09:27]<mstenta[m]>Hi Marcos Carballal check to be sure the PHP module is enabled in Apache: https://stackoverflow.com/a/12142315/5365545
[14:24:30]<MarcosCarballal[>Hmmm. I followed the instructions of the second commentor there, but I'm still seeing the same behavior. I've been using an "apachectl" binary, maybe I need to re-install apache properly and re-configure from scratch
[14:35:30]<mstenta[m]>Sorry can't help right now Marcos Carballal - but this is definitely a lower level Apache/PHP issue - you could try asking in a more general forum. Definitely not specific to farmOS
[14:36:24]<MarcosCarballal[>Okay don't sweat about it! I think it is just one of those things where I need to start reading a bunch of SO posts. Thanks!
[14:39:24]<mstenta[m]>Haha cool. It's been a long time since I've done any of this stuff from scratch (spoiled by Docker). Good luck!
[14:39:57]<MarcosCarballal[>Definitely appreciating Docker for all it does now.
[15:31:41]<mstenta[m]>blarg! we were all set to release farmOS 2.0.0-beta2, but there seems to be an issue with GitHub Actions creating the release :-(
[15:32:13]<mstenta[m]>https://github.com/farmOS/farmOS/runs/4873473816?check_suite_focus=true
[15:32:27]<mstenta[m]>⚠️ GitHub release failed with status: 403
[15:32:27]<mstenta[m]>undefined
[15:32:34]<mstenta[m]>🤔
[15:42:29]<mstenta[m]>ahh i think i found the issue... i changed our default `GITHUB_TOKEN` access to "read only"... without realizing that would affect the ability to create releases
[15:45:58]<mstenta[m]>yup that did it
[15:46:24]<mstenta[m]>farmOS 2.0.0-beta2 has been released! :-D https://github.com/farmOS/farmOS/releases/2.0.0-beta2
[18:25:17]* natewrench has joined #farmos
[18:26:01]* natewrench has quit (Max SendQ exceeded)