21 Nov 2024 |
symbioquine | Especially if we're considering experimenting in contrib-land with the UI | 13:54:09 |
mstenta | Cool - well I think the data model bits are ready | 13:54:37 |
mstenta | We could add the experimental flag to it to make it clear that it's not necessarily ready for wide use | 13:54:58 |
symbioquine | In reply to @mstenta:matrix.org This feature hasn't come up recently, so it isn't something I'm prioritizing right now... I was just reviewing old issues and that one stuck out as one that's relatively close I've actually been waiting for this since I have some small engines that I use a time-tracking app for tracking hours on - that really should be in farmOS. | 13:55:00 |
mstenta | Oh cool | 13:55:25 |
mstenta | I'm realizing that there are a few "merge requests" on drupal.org issues that have slipped between the cracks, since we mostly use Github PRs... so maybe worth converting them to PRs | 13:56:06 |
mstenta | We could consider lining this one up for 3.4.0 | 13:56:12 |
symbioquine | Sadly I'll be missing the dev call today 😮💨 | 15:21:26 |
mstenta | You will be missed symbioquine ! | 15:23:34 |
| melioristicmarie joined the room. | 18:03:09 |
| Juliet joined the room. | 22:01:12 |
Juliet | hey farmOS chat :)
I'm here because i'm having a forum issue. I have to post notes from today's convention call to the forum, but I'm a "new" poster and can't get more than 2 links in. | 22:03:27 |
Juliet | Is there a setting that can bypass this? or should I try to pull out my links? | 22:04:04 |
mstenta | @julietnpn:matrix.org: Ah! I can probably fix that by raising your trust level! | 22:29:30 |
mstenta | Unfortunately I'm out and don't have forum log in on my phone :-( | 22:29:56 |
mstenta | Give it a try now Juliet :-) | 23:38:14 |
22 Nov 2024 |
Juliet | In reply to @mstenta:matrix.org Give it a try now Juliet :-) It worked! | 00:57:55 |
| farmBOT left the room. | 09:31:05 |
| farmBOT joined the room. | 09:32:17 |
ktohalloran | mstenta: Hey Mike, picking our discussion about the aggregator over here. As I mentioned in discourse, the authorization flow is still failing. It now gets through asking the instance for permission, which did successfully prompt me to authorize the aggregator to get my farm data. But then it returns to the aggregator and just stops--it shows the blue alert at the bottom that says "authorizing" and then that goes away and nothing happens. In terms of requests, the aggregator shows a failed request to api/v2/utils/authorize-farm/4; the error message returned by the API is just "authorization flow failed". Meanwhile, in the instance, every time I follow the auth flow, the logs show a " Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException: No route found for "GET https://demo02.farmos-demo.com/oauth/token": Method Not Allowed (Allow: POST) in Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest() (line 131 of /var/www/html/farmOS/vendor/symfony/http-kernel/EventListener/RouterListener.php)." warning. Maybe it's not related, but it's only clue I have as to what about the flow might be failing. | 14:52:48 |
mstenta | Hi ktohalloran! | 14:54:15 |
mstenta | Hmm | 14:54:55 |
mstenta | That is true that /oauth/token only accepts POST requests... 🤔 | 14:56:08 |
mstenta | https://git.drupalcode.org/project/simple_oauth/-/blob/6.0.x/simple_oauth.routing.yml?ref_type=heads#L46 | 14:56:16 |
mstenta | This feels familiar... I'm looking for past discussions... | 14:58:05 |
mstenta | Unfortunately paul121 is the Aggregator maintainer and he's away at the moment | 14:58:21 |
mstenta | The only reference to oauth/token I can find in the Aggregator code is here: https://github.com/farmOS/farmOS-aggregator/blob/3cef3bcf580a7814b5f7352c7fed647ea4f6f81c/backend/app/app/routers/utils/farms.py#L344 | 15:00:18 |
mstenta | Which is then used in a POST request (not GET) | 15:00:27 |
mstenta | Ooohhh wait... I think I have a hunch.... | 15:00:47 |
mstenta | Is it possible that there's a redirect happening on the farmOS server? For example, is the Aggregator trying to make a request to http:// but then that's being redirected to https:// ? | 15:02:02 |