| 08:36 | * | komatek[m] has joined |
| 14:49 | symbioquine[m] | Is there a reason many of the modules in the farmOS github don't have license files checked in? e.g. farm_eggs, farm_bee, farm_map_no. Couldn't this conceivably be considered a blocker for safely creating derivative code? |
| 16:29 | * | JustTB has joined |
| 16:56 | * | ludwa6 has joined |
| 16:57 | ludwa6 | g’day room. Anybody out there using the PWA (Progressive Web App) to access a farmOS server? |
| 16:58 | ludwa6 | cuz @mstenta sez i should be able to login to my instance af Farmier via Safari on iOS, but it’s not working for me. So i’m wondering if it’s JUST me, or a larger issue. |
| 17:09 | ludwa6 | whups -forget what i said; problem solved. Turns out my browser was remembering an older version of the PWA (0.4.15)… But when i logged in using a fresh tab in Safari (and the “prevent cross-stie tracking” feature disabled; that is the catch), now it works. Thanks for the fix, mstenta and jgaehring . |
| 17:09 | * | ludwa6 has quit (Quit: ludwa6) |
| 17:11 | jgaehring[m] | cool, glad you got it working! and we should have a better fix in place sometime soon, so you no longer need to disable that feature as a workaround |
| 17:16 | mstenta[m] | Great! So glad to hear that ludwa6 ! |
| 17:17 | mstenta[m] | Yes, the Oauth piece has been a long time coming - so this is the fire under our butts to finally do it. :-) |
| 17:17 | mstenta[m] | Issue link: github.com/farmOS/farmOS-client/issues/3 |
| 17:26 | mstenta[m] | Reminder to everyone: the farmOS monthly call is today! |
| 17:26 | mstenta[m] | In about half an hour :-) |
| 17:26 | mstenta[m] | farmos.org/community/monthly-call/ |
| 17:26 | mstenta[m] | I believe the plan is to talk about farmOS customization and module development a bit... and record it for posterity. |
| 17:27 | mstenta[m] | Nick at Botl Farm put together a rough agenda for that: docs.google.com/document/d/1yO15xdGGH4Yk |
| 17:39 | * | JustTB has quit (Ping timeout: 256 seconds) |
| 18:18 | * | JustTB has joined |
| 18:21 | skipper_is[m] | Question RE the columns, can we add columns from another module? Eg, if I had a module that added an extra field to animal records, could it be added to the animal table? |
| 20:13 | mstenta[m] | Here is the recording of today's monthly call: |
| 20:13 | mstenta[m] | youtu.be/V1oTO3QSSWY |
| 20:14 | mstenta[m] | I will post this to the forum as well |
| 20:16 | mstenta[m] | farmos.discourse.group/t/video-developin |
| 20:18 | paul121[m] | that was a really great overview of Views and Features! Learned a lot! Glad we recorded it 👍️ |
| 20:23 | skipper_is[m] | Yea, I've already made a dashboard hook based on what was discussed |
| 20:23 | mstenta[m] | Excellent! |
| 20:25 | skipper_is[m] | I'm going to have to pick your brains about a view hook, adding an additional column to the animals list/table that gives age in weeks/months/years |
| 20:28 | mstenta[m] | Ah! Interesting |
| 20:28 | mstenta[m] | So... what I would probably recommend doing FIRST is just calculating that and dynamically sticking that into the Animal record page itself |
| 20:29 | mstenta[m] | eg: where it says "Date of birth: Sunday, January 4, 2015" - might be able to just tack on " (X days/weeks/years old)" |
| 20:29 | skipper_is[m] | Yea, would be useful to have anyway |
| 20:29 | mstenta[m] | this is actually something I've wanted too :-) |
| 20:31 | skipper_is[m] | I'm just trying to figure out whether to do all 3, or do days up to like 3 weeks, then weeks up to X months |
| 20:31 | skipper_is[m] | Etc |
| 20:31 | mstenta[m] | skipper_is: IN FACT..... |
| 20:31 | mstenta[m] | github.com/farmOS/farmOS/blob/7.x-1.x/mo |
| 20:31 | mstenta[m] | that is the function we can do it in |
| 20:32 | mstenta[m] | i already added a bit of code there to automatically link the birthdate to a birth log, if one exists |
| 20:33 | skipper_is[m] | I'd still be tempted to have another heading for age |
| 20:33 | mstenta[m] | > I'm just trying to figure out whether to do all 3, or do days up to like 3 weeks, then weeks up to X months |
| 20:33 | mstenta[m] | i wonder if we could just use something like www.php.net/manual/en/function.date-diff |
| 20:34 | skipper_is[m] | Sorted! I was thinking I'd have to roll my own |
| 20:34 | mstenta[m] | stackoverflow.com/questions/20972565/php |
| 20:35 | mstenta[m] | yea might be a few ways to do it - but yea hopefully we can use something that already exists |
| 20:35 | mstenta[m] | less decisions to make :-) |
| 20:35 | skipper_is[m] | Indeed |
| 20:36 | mstenta[m] | > I'd still be tempted to have another heading for age |
| 20:36 | mstenta[m] | yea - it would be cool to have a Views Field handler too... so it could be a column on the Assets > Animals table |
| 20:36 | skipper_is[m] | I suspect it would be best of it showed days/weeks/months, rather than choosing automatically... |
| 20:36 | mstenta[m] | that's a bit more complicated |
| 20:36 | mstenta[m] | but certainly doable |
| 20:36 | skipper_is[m] | Or yea, we make a configuration option |
| 20:36 | skipper_is[m] | Views column isn't as simple as a hook? |
| 20:36 | mstenta[m] | (Views would be more complicated i mean) |
| 20:37 | skipper_is[m] | I was hoping it would just be hook_asset_livestock_view_column() |
| 20:37 | mstenta[m] | yea... so Views is very object oriented, so it would involve creating a new PHP class |
| 20:37 | mstenta[m] | not hard... but a bit of a different process |
| 20:38 | skipper_is[m] | I suppose we could just so it in core.. |
| 20:38 | * | sent a long message: < matrix.org/_matrix/media/r0/download/mat > |
| 20:38 | mstenta[m] | mmm yea - i think that's what i would suggest/prefer |
| 20:39 | mstenta[m] | altering Views config is possible... but i tend to avoid it |
| 20:39 | mstenta[m] | (overriding via hooks i mean) |
| 20:39 | skipper_is[m] | Yea, but just adding that into it would be more straight forward |
| 20:41 | mstenta[m] | agreed |
| 20:41 | skipper_is[m] | I can have a look at it tomorrow if you like |
| 20:42 | skipper_is[m] | Also, can you create an asset with a specific asset ID? Or is that set by the DB? I'm just thinking about migrating from PgSQL to mySQL and the easiest way to do that with my 700+ logs... |
| 20:44 | mstenta[m] | Nope - that's set by the db |
| 20:45 | mstenta[m] | I really think figuring out how to do a pgsql dump -> mysql import would be the best approach |
| 20:45 | mstenta[m] | It just seems like there's some tweaks needed to get that to work... but it's a pretty general problem so I'm sure we could find some better how-tos online |
| 20:56 | paul121[m] | Quick question.. |
| 20:56 | paul121[m] | The Map isn't displaying on the farmOS dashboard page |
| 20:56 | paul121[m] | I have a Google API key and have created an area |
| 20:57 | paul121[m] | Is there anything else you need before that displays? (I don't see the `toggle map` button either) |
| 20:57 | paul121[m] | Map displays on the Areas page |
| 20:58 | mstenta[m] | hmm |
| 20:58 | mstenta[m] | if you don't see toggle map that suggests the map isn't being loaded at all |
| 20:58 | mstenta[m] | any errors in console? |
| 20:58 | mstenta[m] | clear cache? |
| 20:58 | mstenta[m] | did you update version recently? |
| 20:59 | paul121[m] | `This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”.` |
| 20:59 | paul121[m] | fresh install of farmOS |
| 21:00 | mstenta[m] | hmmmmm |
| 21:00 | mstenta[m] | i gotta run |
| 21:00 | mstenta[m] | but might ask more questions via chat.... |
| 21:00 | paul121[m] | map loads fine on the Areas page (added an area, referencing a custom map layer) |
| 21:00 | paul121[m] | no prob |
| 21:04 | mstenta[m] | Weird |
| 21:04 | mstenta[m] | That zoom message is unrelated |
| 21:04 | mstenta[m] | I get that too |
| 21:05 | mstenta[m] | Not sure what it is but assuming it is upstream Openlayers |
| 21:07 | paul121[m] | tried chrome and firefox :/ |
| 21:07 | paul121[m] | its just the "Map Banner" |
| 21:38 | mstenta[m] | So strange. Are you using the 1.3 release? |
| 21:38 | mstenta[m] | Or 7.x-1.x branch? |
| 21:39 | mstenta[m] | New installs on Farmier are working, fwiw |
| 21:45 | paul121[m] | 7.x.-1.x |
| 21:45 | paul121[m] | the farmOS/farmos:dev image |