| 00:50 | symbioquine[m] | farmOS_wfs is mostly up to the same level for 2.x as it was for 1.x - github.com/symbioquine/farmOS_wfs/tree/2 |
| 00:51 | symbioquine[m] | I'm now working on making all assets accessible instead of just those with intrinsic geometry. |
| 00:52 | symbioquine[m] | I'll probably try to do a bit more polishing/testing after that so I can make a 2.x-v0.0.1 release :) |
| 00:55 | paul121[m] | hey symbioquine I was going to tell ya, the views_geojson module supports bbox filtering: www.drupal.org/project/views_geojson |
| 00:56 | paul121[m] | but unfortunately it uses a SQL query to do that, so it'll be the same issue with computed fields |
| 00:57 | paul121[m] | it also only checks the `node__{field_name}` table which is annoying |
| 00:57 | paul121[m] | git.drupalcode.org/project/views_geojson |
| 00:57 | paul121[m] | but anyways, might be worth referring to! |
| 00:57 | symbioquine[m] | Yeah, that's pretty similar to what I've got right now... github.com/symbioquine/farmOS_wfs/blob/0 |
| 00:58 | mstenta[m] | Awesome symbioquine ! |
| 00:58 | mstenta[m] | And yea we should take a look at the query ideas soon |
| 00:58 | symbioquine[m] | Trying to workout a version which works with both the intrinsic and log-based geometries now :) |
| 00:58 | symbioquine[m] | I can see already I'll need to add tests against multiple DB backends just to prove that query works on the popular ones :( |
| 01:00 | paul121[m] | oh yea? does `condition` not always do the same thing? |
| 01:02 | symbioquine[m] | <paul121[m] "oh yea? does `condition` not alw"> The asset query stuff should be very well tested accross different DBMS, but it doesn't support complex joins, subqueries, or window functions so I think I need to use the lower level DB API - and that opens up a whole range of ways it might be DBMS-specific... |
| 01:02 | paul121[m] | ah |
| 01:02 | symbioquine[m] | matrix.to/#/!rxZezKXfxOKJxTgNGs:matrix.o |
| 01:03 | symbioquine[m] | I'd like to do it in a way that allows pagination at the DB layer, which makes the simpler approach of using multiple queries less attractive. |
| 01:04 | mstenta[m] | Perhaps more reason to add a db caching layer that can be queried directly |
| 01:04 | symbioquine[m] | That would also be an option! |
| 05:27 | symbioquine[m] | Is there an easy way to "recursively delete" assets - i.e. delete the referencing logs then delete the asset - either through the JSON:API or Drush? |
| 05:28 | symbioquine[m] | I can obviously query all the logs and do it in my code, but that seems like a pain. |
| 05:29 | symbioquine[m] | In case it's relevant this is for some test cleanup code so it doesn't have to be beautiful/production-ready just succinct and relatively fast. |
| 06:00 | symbioquine[m] | In case anyone's curious, [this](github.com/symbioquine/farmOS_wfs/commit) is what I ended up doing... (Not pretty, but it works. 😑) |
| 11:16 | mstenta[m] | > Is there an easy way to "recursively delete" assets - i.e. delete the referencing logs then delete the asset - either through the JSON:API or Drush? |
| 11:16 | mstenta[m] | we don't have a helper for that, no |
| 11:20 | * | calbasi_matrix has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | dazinism has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | JulianF has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | pllagn[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | zedrickr11[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | lauriexwayne[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | wombat83[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | jcalonso[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | generalredneck[m has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | symbioquine[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | braught[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | leogaggl[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:20 | * | sydney_zimbotech has quit (Quit: Bridge terminating on SIGTERM) |
| 11:21 | * | kunigunde[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:21 | * | paul121[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:21 | * | mstenta[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:21 | * | jgaehring[m] has quit (Quit: Bridge terminating on SIGTERM) |
| 11:31 | * | dazinism has joined |
| 11:31 | * | calbasi_matrix has joined |
| 12:11 | * | JulianF has joined |
| 12:11 | * | kunigunde[m] has joined |
| 12:11 | * | spitz234[m] has joined |
| 12:11 | * | generalredneck[m has joined |
| 12:11 | * | mstenta[m] has joined |
| 12:11 | * | jgaehring[m] has joined |
| 12:11 | * | braught[m] has joined |
| 12:11 | * | leogaggl[m] has joined |
| 12:11 | * | paul121[m] has joined |
| 12:11 | * | symbioquine[m] has joined |
| 12:11 | * | pllagn[m] has joined |
| 12:11 | * | jcalonso[m] has joined |
| 12:11 | * | wombat83[m] has joined |
| 12:11 | * | sydney_zimbotech has joined |
| 12:11 | * | lauriexwayne[m] has joined |
| 12:11 | * | zedrickr11[m] has joined |
| 14:53 | mstenta[m] | Curious to get thoughts from the community on this: www.drupal.org/project/farm/issues/31911 |