IRC logs for #farmOS, 2022-11-14 (GMT)

2022-11-13
2022-11-15
TimeNickMessage
[05:41:09]<lordeddi[m]>Hi, is there a way to change the colors of the fields/properties of the "Geometry" map when addind e.g. a seeding log ? I want to add some points where i sowed but want to have semi-accurate locations in relation to field borders etc...
[05:41:44]<lordeddi[m]>it's not very urgent or anything, but who knows there might be a "quick" way of doing that.
[05:41:44]<lordeddi[m]>Was looking through the generated HTML elements of that map, but the lines are not a HTML node.
[05:41:59]<lordeddi[m]>any help appreciated, priority low :D
[05:42:22]<lordeddi[m]>ACTION uploaded an image: (5KiB) < https://libera.ems.host/_matrix/media/v3/download/oblak.be/EDqThgVkEIUMA... >
[07:42:42]<mstenta[m]>Hi lordeddi there isn't an *easy* way to override the colors at the moment, but that does seem like something that would make sense to expose in config
[07:43:46]<lordeddi[m]>no worries. I mention it because i noticed misef straining to see the lines
[07:43:46]<mstenta[m]>Actually... "technically" it *is* config: https://github.com/farmOS/farmOS/tree/2.x/modules/asset/land/modules/typ...
[07:43:57]<mstenta[m]>But there isn't UI to edit it
[07:44:12]<mstenta[m]>Yea, it's tricky on different base layers...
[07:44:22]<mstenta[m]>Does it work any better on satellite?
[07:44:34]<mstenta[m]>That looks like Open Street Map?
[07:44:36]<lordeddi[m]>mstenta[m]: Ah cool i'll try looking into that.
[07:45:21]<mstenta[m]>Editing those files won't do much on its own... those are basically the "default styles" that get installed when each land type gets created
[07:45:21]<lordeddi[m]>Yeah, i dis not add satellte yet.... that mapbox key.
[07:45:55]<mstenta[m]>Once those styles are installed, they are managed by Drupal in the database though... and there are ways to override Drupal config
[07:46:24]<mstenta[m]>That gets a bit deeper though... not sure how far you want to go - happy to provide guidance if you decide to :-)
[07:46:45]<lordeddi[m]>I will ping back when i get to it.
[07:47:03]<lordeddi[m]>I changed tasks for now :)
[07:47:35]<lordeddi[m]>Really appreciate the help 🙏
[08:01:51]<mstenta[m]>> Maybe deploy keys? https://docs.github.com/en/developers/overview/managing-deploy-keys#depl...
[08:01:51]<mstenta[m]>Ah let me give that a try! Good call symbioquine
[08:03:16]<mstenta[m]>That would basically just involve generating a new keypair, adding the pubkey as a deploy key to farmOS-microblog, private key as a secret to farmOS, and maybe a bit of github action workflow logic to use that secret in the git push... I think?
[10:31:59]<symbioquine[m]>https://symbioquine.net/2022-09-28-github-actions-drupal-module-build-st...
[14:59:47]<mstenta[m]>paul121: https://www.drupal.org/project/consumers/releases/8.x-1.15 + https://www.drupal.org/project/simple_oauth/releases/5.2.2 🎉
[15:00:45]<mstenta[m]>oh lol you're one step ahead of me! https://www.drupal.org/project/farm/issues/3282186#comment-14785372
[15:23:48]<paul121[m]>I just have a local environment dedicated to this whole issue so it was simple to add commits for the dependencies :-)
[15:24:24]<mstenta[m]>haha i'll be glad when this one's behind us
[17:27:26]<mstenta[m]>https://twitter.com/_klausi_/status/1592268258710679552