IRC logs for #farmOS, 2020-05-04 (GMT)

2020-05-03
2020-05-05
TimeNickMessage
[22:17:40]<paul121[m]>farmtech: that's interesting. Are there any specific datasets from the eXtension org that you want to pull in? Or are you thinking more about bringing in resources/articles/etc ?
[02:34:43]<farmtech[m]>Hi well initially i was thinking to incorporate the articles/resources etc which i realized i can do, but id love to be able to pull the data sets we would be working with so it can be used within the farmOS maybe in a more integrated way. I am just learning about eXtension atm and the reason being is that we are going for grants and it pushes us to use the impact.eXtensions site while we are really looking forward to
[02:34:43]<farmtech[m]>using FarmOS to manage our farm. So to marry the 2 would be super helpful and i guess im curious what ways we can do that.
[02:35:42]* FarmTech has left #farmos ()
[03:47:02]* JustTB has joined #farmos
[03:51:20]* JustTB has quit (Client Quit)
[04:11:53]* JustTB has joined #farmos
[07:35:05]<mstenta[m]>Hi farmtech that's an interesting idea! So the way you would probably go about it is: create a new farmOS "contrib" module (meaning it is a module that is contributed by the community, which farmOS administrators can choose to install) - and in that module you can build any of the integrations that you are interested in.
[07:35:28]<mstenta[m]>Modules can "alter" all kinds of things in farmOS. So depending on what you want to use the data for, you can probably find a way to hook it in.
[07:35:41]<mstenta[m]>But that would be the first step: defining what data can be used where, specifically.
[12:30:44]<farmtech[m]>Well this is most awesome. Ill check in to "contrib" module. Thank you kindly for your input! I really dig farmOS! Diggin deeper.
[12:31:04]<farmtech[m]>thanks mstenta paul121
[12:38:31]<mstenta[m]>Thumbs up farmtech !
[12:44:20]<paul121[m]>Awesome farmtech !
[15:00:02]* BiancaRagazza has joined #farmos
[15:02:51]* BiancaRagazza has quit (Client Quit)
[16:18:07]<andifi[m]>Hello, 👋
[16:18:07]<andifi[m]>I installed the farmOS app today on my android device, but i can connect to my local server throw the local ip. Does the server has to be available from the internet for the app to work? 🤔
[16:18:07]<andifi[m]>Or doesnt the app work with self singed certs?
[16:26:26]<skipper_is[m]>Works with self signed, but are you accessing it over your local network?
[16:31:13]<symbioquine[m]>One way of configuring https for the a local server is described at https://farmos.org/development/configure-local-https-reverse-proxy/ the tool it references for generating certificates - https://github.com/FiloSottile/mkcert - discusses how to use those certificates on mobile devices.
[16:32:16]<symbioquine[m]>Your server doesn't need to be available on the internet, but if it isn't then your mobile device would need to be on the same network. i.e. both connected to the same lan network.
[16:32:49]<andifi[m]>Yes iam acessing it over the local network. Login throw the webpage works as normal
[16:33:28]<skipper_is[m]>Have you tried farmos.app through your PC?
[16:34:16]<andifi[m]><skipper_is[m] "Have you tried farmos.app throug"> Does the farmos.app run local? I tought it needs an Internet connection
[16:35:36]<symbioquine[m]>It is loaded from an external server, but once loaded the Javascript code of the page could connect to a farmOS instance which is only available on the local network.
[16:36:38]<symbioquine[m]>For a completely offline environment you could hypothetically host the code for farmos.app on your own server too, but that would be extra work.
[16:38:18]<symbioquine[m]>Skipper's suggestion is just to load farmos.app from the internet on your computer, then use it to connect to your local farmOS instance.
[16:39:28]<andifi[m]><symbioquine[m] "One way of configuring https for"> Yepp i think i saw the problem. My ngnix is configured differently.
[16:41:26]<symbioquine[m]>There's a lot of info about troubleshooting reverse-proxy configurations with farmos.app in this issue; https://github.com/farmOS/farmOS-client/issues/281
[16:42:23]<symbioquine[m]>It turns out there's a lot of things which can break CORS when running a reverse-proxy :)
[16:44:13]<symbioquine[m]>One of the main gotchas in my opinion is that there is a required settings.php change to make Drupal send the right headers...
[16:44:33]<symbioquine[m]>https://drupal.stackexchange.com/questions/199722/how-to-correctly-confi...
[16:44:56]<symbioquine[m]>^ this is captured in a one-liner in the instructions at https://farmos.org/development/configure-local-https-reverse-proxy/
[17:12:56]<andifi[m]>thanks for the tipps and the fast response. i think it will take me some time to find the cors error, but with the farmos.app it should be much easier to track it down :) But for today its getting way to late for me
[19:35:52]* JustTB has quit (Ping timeout: 272 seconds)
[19:55:57]* JustTB has joined #farmos
[19:59:35]* JustTB has quit (Client Quit)