< 112022-09-12⋎13 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
01:22*Owsley has joined
01:23*Owsley is now known as Owsley
01:56*polo has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:19*ionitatelecom[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*r3c4ll[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*paul121[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*ander[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*Mo[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*RafatKhashan[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*perfectinfoseeke has quit (Quit: Bridge terminating on SIGTERM)
08:19*jgaehring[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*GudjonEinarMagnu has quit (Quit: Bridge terminating on SIGTERM)
08:19*evered[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*symbioquine[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*FarmerEd[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*mstenta[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*dazinism[m] has quit (Quit: Bridge terminating on SIGTERM)
08:19*scrdcow[m] has quit (Quit: Bridge terminating on SIGTERM)
08:24*calbasi[m] has joined
08:43*dazinism[m] has joined
08:43*spitz234[m] has joined
08:43*ChinchillaWashin has joined
08:43*mstenta[m] has joined
08:43*paul121[m] has joined
08:43*FarmerEd[m] has joined
08:43*symbioquine[m] has joined
08:43*RafatKhashan[m] has joined
08:43*jgaehring[m] has joined
08:43*scrdcow[m] has joined
08:43*r3c4ll[m] has joined
08:44*ander[m] has joined
08:44*gbathree[m] has joined
08:44*evered[m] has joined
08:44*Mo[m] has joined
08:44*perfectinfoseeke has joined
08:44*GudjonEinarMagnu has joined
08:44*ionitatelecom[m] has joined
10:49*nzsnowman[m] has joined
10:49nzsnowman[m]hi there.
10:49farmBOTque tal
10:49*AnasHaddad[m] has joined
10:49*kunigunde[m] has joined
10:49*farmtech[m] has joined
10:50nzsnowman[m]Anyone here ?
10:50nzsnowman[m]I'm completely new to farmOS, and I need some help....
10:50*postmanpat[m] has joined
10:50*munjoma[m] has joined
10:50*IyarkaiTechLab[m has joined
10:50*Adam[m]12 has joined
10:50*CarlosAlberto[m] has joined
10:51nzsnowman[m]is this the right place for user enquiries ?
10:51*runfastthinkslow has joined
10:51*nickhudson[m] has joined
10:51*SpencerOnazi[m] has joined
10:51*OmkarEkbote[m] has joined
10:52*petednz[m] has joined
10:52*and712[m] has joined
10:52*Anonymous[m]12 has joined
10:52*davd[m] has joined
10:52*frederike[m] has joined
10:53*goldi[m] has joined
10:53*gretel[m] has joined
10:53*gunter[m] has joined
10:53*harry[m]1 has joined
10:53*hra38192639[m] has joined
10:54*iuresearcherpw[m has joined
10:54*mindcls[m] has joined
10:54*olaf[m]1 has joined
10:54*phantomse[m] has joined
10:54*raul[m] has joined
10:55*skipper_is[m] has joined
10:55*steinfarm[m] has joined
10:55*AllanMacGregor[m has joined
10:55*qoyyuum[m] has joined
10:55*shane_aldrich[m] has joined
10:56*toino[m] has joined
10:56*aislinnpearson[m has joined
10:56*JanSonntag[m] has joined
10:56*ludwa6[m] has joined
10:57*thattechguy[m] has joined
10:57*Noaht[m] has joined
10:57*ChristophWolfes[ has joined
10:57*matrixtrix[m] has joined
10:57*sgoodall[m] has joined
10:58*oliverp44[m] has joined
10:58*FreshiesFarmsLLC has joined
10:58*RogerioMbuli[m] has joined
10:58*MarcosCarballal[ has joined
10:58*FeiWang[m] has joined
10:59*UgeshB[m] has joined
10:59*margeo[m] has joined
10:59*donblair[m] has joined
10:59*justgav[m] has joined
10:59*JustGav[m]1 has joined
11:00*m035[m] has joined
11:00*TheSlurpee[m] has joined
11:00*EvanKelley[m] has joined
11:00*ZaneBelkhayat[m] has joined
11:01*elpronto[m] has joined
11:01*dzfarmer[m] has joined
11:01*courtneylking[m] has joined
11:01*testuser769[m] has joined
11:01*GuilhermePerotta has joined
11:02*monkeyflowerfarm has joined
11:02*botlfarm[m] has joined
11:02*MattFletcher[m] has joined
11:02*tool172[m] has joined
11:02*ggcc18[m] has joined
11:03*thattechguy99[m] has joined
11:03*ThimmZwiener[m] has joined
11:03*leku[m] has joined
11:03*sandg100[m] has joined
11:03*eddieironsmith[m has joined
11:04*GerardoLisboa[m] has joined
11:04*JustinCampbell[m has joined
11:04*KarsonWynne[m] has joined
11:04*BrandonSmith[m] has joined
11:04*leogaggl[m] has joined
11:24mstenta[m]Welcome nzsnowman
11:25mstenta[m]Sure!
11:34mstenta[m]Ah just saw your forum post - will follow up there
12:00*farmBOT has quit (Ping timeout: 252 seconds)
12:00*farmBOT has joined
13:10mstenta[m]paul121: shall we pull the trigger? github.com/farmOS/farmOS/pull/566
14:38paul121[m]Yeah, if it's all working, don't see why not
14:38paul121[m]I'll have time today to test it a bit. but it would be easier if we merge it in first
14:39mstenta[m]Yea I'm thinking we merge it then test locally to make sure nothing obvious is broken
14:39mstenta[m]I trust it, for the most part
14:39mstenta[m]All tests are passing, so that's a good indication
14:40paul121[m]Yeah same. The functionality of dependencies that are not under our test coverage is mostly what I think of
14:40mstenta[m]Well if this uncovers anything it will be a good reason to add test coverage!
14:40mstenta[m]I'll go ahead and merge
14:40mstenta[m]Also, I'm playing with PHPStan... :-)
14:41paul121[m]Oh cool! re: PHP 8?
14:43mstenta[m]Yea that's what inspired it... but might add it before then as a compliment to our normal codesniffer step in GitHub Actions
14:43mstenta[m]But yea, I'm curious if it will catch any potential PHP 8 issues
14:44mstenta[m]paul121: Dunno if you saw this morning but PHP GEOS support PHP 8 now!
14:45mstenta[m]So the only remaining blocker is (afaik): www.drupal.org/project/farm/issues/32821
14:45paul121[m]oh wonderful
14:46mstenta[m](sarcasm? hahaha)
14:46paul121[m]I'm not that far down my email yet 🤣
14:46paul121[m]no that's great!
14:46mstenta[m]i rebased my simple oauth branch and pushed to the d.o issue as a MR so we can work on it there
14:46paul121[m]mstenta[m]: oh....
14:48paul121[m]well they also just released 6.0.0-alpha3 Sept 1
14:48paul121[m]I'm not sure if that means it is close to be ready, or still a ways out
14:48paul121[m]but maybe we could jump straight to that
14:49mstenta[m]whoa
14:49mstenta[m]that's a full re-write, yea?
14:51paul121[m]5.2 might not be too hard to figure out though. Last I remember I couldn't even get their tests to run in my environment, so it wasn't really possible to write/debug tests extending their logic. Our test logic basically re-runs their tests with the customizations we add to `consumer` entities
14:51paul121[m]mstenta[m]: at least partially
14:51paul121[m]still oauthlib under the hood
14:52paul121[m]but making the scope control much more flexible (not only tied to roles)
14:55mstenta[m]Ah yea, that rings a bell re: simple_oauth 5.2 tests
14:55mstenta[m]that's awesome re: v6
14:56mstenta[m]maybe we can sprint on 5.2 a little during this week's dev call?
14:56mstenta[m]FYI PHPStan results: github.com/mstenta/farmOS/runs/830847743
14:56mstenta[m]lots of stuff to fix 😅
14:56mstenta[m]but kinda exciting!
15:00paul121[m]that's great. not sure why the "\Drupal calls should be avoided..." wasn't caught with codesniffer?
15:00paul121[m]Maybe the drupal code sniffer only checks that in some classes?
15:01mstenta[m]hmm not sure - haven't looked closely at everything yet... opening an issue for adding this generally
15:02mstenta[m]www.drupal.org/project/farm/issues/33092
15:03paul121[m]this Gin "modern horizontal" toolbar is great!
15:03*uploaded an image: (178KiB) < libera.ems.host/_matrix/media/r0/downloa >
15:03paul121[m]I think that is new?
15:04paul121[m]re: the logo CSS, it would be nice if we didn't need anything custom...
15:04paul121[m]Ideally Gin's css can work with most images to make them fit
15:04paul121[m]this would also make it easier to add custom non-farmos logos :-)
15:05paul121[m]just to say - before adding/changing CSS, lets try removing our CSS and see how it looks :-)
15:05mstenta[m]Sounds good - IIRC we added the CSS because Gin beta made it look bad
15:13mstenta[m]paul121: Ah looks like they just marked simple_oauth 5.0.6 unsupported - so now a big red error appears :-P
15:14*uploaded an image: (30KiB) < libera.ems.host/_matrix/media/r0/downloa >
15:17paul121[m]:-/
15:50mstenta[m]Huh... paul121 I wonder why PHPStan doesn't like this:
15:50*sent a code block: libera.ems.host/_matrix/media/r0/downloa
15:51mstenta[m]Oooh... the `@internal` bit...
15:51mstenta[m]Guess we might need to ignore that, since we take responsibility for it
15:52*sent a code block: libera.ems.host/_matrix/media/r0/downloa
16:25symbioquine[m]Interesting Subrequests bug: www.drupal.org/project/subrequests/issue
16:36symbioquine[m]And the fun change that's blocked on it... 😅 github.com/symbioquine/farmOS_asset_link
16:41mstenta[m]wow!
16:42mstenta[m]grateful that you are steeped in the Drupal core issue process now symbioquine 😅
16:42mstenta[m]* Drupal core/contrib issue
16:43mstenta[m]if it seems like that patch is going to be accepted, we could potentially include it in farmOS before it's merged
16:48symbioquine[m]Let's wait a little bit and see if I get a response on that issue...
17:23paul121[m]Nice!
17:23paul121[m]<symbioquine[m]> "Let's wait a little bit and..." <- maybe mark it Reviewed & tested?
17:26mstenta[m]> that's great. not sure why the "\Drupal calls should be avoided..." wasn't caught with codesniffer?
17:26mstenta[m]it seems that PHPStan catches more.... but still not all of them. if I search the codebase for `Drupal::` (just inside `*.php` files, to avoid hooks), I still get a bunch
17:28mstenta[m]for example, this one gets flagged: github.com/farmOS/farmOS/blob/b495cdb840
17:29mstenta[m]but this one does not: github.com/farmOS/farmOS/blob/b495cdb840
17:30mstenta[m]i'm actually a bit curious what the "right" way to fix the `MapRenderEvent` one is... just add a $entity_type_manager` param to the constructor? And then pass it in where we instantiate it? github.com/farmOS/farmOS/blob/b495cdb840
17:30mstenta[m]s/$/`$/
17:33paul121[m]interesting...
17:35paul121[m]I wonder if it can just implement `ContainerInjectionInterface` and then use the `public static function create($container)`
17:36paul121[m]I know that is available for for controller classes
17:36paul121[m](plugins use `ContainerFactoryPluginInterface`, basically the same)
17:36paul121[m]but not sure if you slap that interface onto just any class you create....
17:37paul121[m]* if you can slap that
17:37mstenta[m]yea hmm
17:38paul121[m]s/for//
18:38mstenta[m]paul121: Any idea what this means?
18:38*sent a code block: libera.ems.host/_matrix/media/r0/downloa
18:39mstenta[m]github.com/farmOS/farmOS/blob/b495cdb840
18:45mstenta[m]Nevermind found this... github.com/mglaman/phpstan-drupal/issues
18:48mstenta[m]Hmm... sounds like we need to call `alterInfo()` in the `__construct()`?? 🤔
18:52mstenta[m]Something like this maybe? git.drupalcode.org/project/drupal/-/blob
19:06mstenta[m]Ah found another contrib module that dealt with this... looks like we can just do something similar:
19:06mstenta[m]www.drupal.org/project/facets/issues/298
19:06mstenta[m]git.drupalcode.org/project/facets/-/comm
20:45paul121[m]oh interesting. So this makes it sound like your plugin definition MUST be alterable. That is not how I interpreted the phpstan message
20:45mstenta[m]Yea
20:45mstenta[m]I think it's not a great PHPStan message, but that is the case it seems
20:45paul121[m]I had the impression the `alterInfo()` bit was optional - why add the complexity if we don't need it?
20:45paul121[m]but we can play nice and include it :-)
20:45mstenta[m]Yea
20:45mstenta[m]I have a commit that adds it
20:46mstenta[m]I'm slowly but surely working my way through all the PHPStan complaints :-)
20:46paul121[m]awesome!!
20:46paul121[m]does anyone have thoughts/opinions on this Gin issue re: centering the logo: www.drupal.org/project/gin/issues/330926
20:47paul121[m]I have kinda always thought you would just want the logo centered by default. We've done numerous custom sites/modules and that's what we've always ended up with
20:48paul121[m]But I do see how a logo that is not a wide rectangle could look nice if it is not centered, and does not expand with the toolbar
20:49paul121[m]I really want to just upload logo files and not write any CSS code!!! it's seems crazy to me :-)
20:49paul121[m]s/'s//
21:08paul121[m]It seems there are maybe 3 logo options:... (full message at libera.ems.host/_matrix/media/r0/downloa)
22:51*Owsley has joined
23:11*Owsley has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:47paul121[m]ooh! Gin has a hook for providing additional content form routes! git.drupalcode.org/project/gin/-/blob/8.
23:47paul121[m]we may be able to add those sidebars now
23:48paul121[m]I believe this would also make that Gin description toggle work
23:51mstenta[m]> would it be reasonable to expose a UI with 2 checkboxes to "Turn on" options 2 and 3? Is that something we might want in farmOS core or no?
23:51mstenta[m]feels to me like this is outside the scope of farmOS
23:51mstenta[m]maybe a contrib `farm_whitelabel` module could provide it? or Gin itself
23:51paul121[m]> <@mstenta:matrix.org> > would it be reasonable to expose a UI with 2 checkboxes to "Turn on" options 2 and 3? Is that something we might want in farmOS core or no?
23:51paul121[m]>
23:52paul121[m]> feels to me like this is outside the scope of farmOS
23:52paul121[m]do I need to make a new module? 😢
23:52mstenta[m]feels like it should be Gin if anything
23:53paul121[m]yeah. well, I think I got the css figured out pretty well. It just needs a home
23:54mstenta[m]i don't think farmOS should be responsible for making sure this works
23:54mstenta[m](unless we make "whitelabeling" a more officially supported use-case i suppose - but i don't feel like that's a core priority right now)
23:58mstenta[m]sorry caught me at a bad time maybe haha - i've been digging through so much code for PHPStan that i'm in the mindset of "NO MORE CODE" lol

< 112022-09-12⋏13 >