9707c36553
fix: use separate thread to sync changes to farmOS
...
i.e. when creating or editing an asset/log, or submitting quick eggs form
2026-03-21 20:18:32 -05:00
969497826d
fix: avoid error if asset has no geometry
2026-03-21 15:24:36 -05:00
f0fa189bcd
bump: version 0.11.0 → 0.11.1
2026-03-21 15:11:36 -05:00
cc4b94a7b8
fix: improve behavior when deleting mirrored record from farmOS
...
in some cases (maybe just dev?) the record does not exist in farmOS;
if so we should silently ignore.
and there seemed to be a problem with the sequence of events:
- user clicks delete in WF
- record is deleted from WF DB
- delete request sent to farmOS API
- webhook on farmOS side calls back to WF webhook URI
somewhere in there, in practice things seemed to hang after user
clicks delete. i suppose the thread handling user's request is "tied
up" somehow, such that the webhook receiver can't process that
request? that doesn't exactly make sense to me, but if we split off
to a separate thread to request the farmOS deletion, things seem to
work okay. so maybe that idea is more accurate than i'd expect
2026-03-21 15:06:26 -05:00
ca5e1420e4
fix: use correct uuid when processing webhook to delete record
2026-03-21 15:03:06 -05:00
f9d9923acf
bump: version 0.10.0 → 0.11.0
2026-03-15 10:08:27 -05:00
eee2a1df65
feat: show basic map for "fixed" assets
...
this is just to get our foot in the door so to speak. not sure yet
how sophisticated this map needs to be etc. but thought it would be
nice to at least show something..since the data is available
2026-03-14 23:07:07 -05:00
d65de5e8ce
fix: include LogQuantity changes when viewing Log revision
2026-03-11 18:29:25 -05:00
bd7d412b97
bump: version 0.9.0 → 0.10.0
2026-03-11 16:05:28 -05:00
0f3ef5227b
feat: add support for webhooks module in farmOS
...
this lets farmOS send a POST request to a webhook URL in our app,
which then records a "stub" record in a change queue table. from
there a daemon should process the queue and import/delete records as
needed in our app DB.
this all requires setup on the farmOS side as well..those details will
be documented elsewhere (eventually!)
2026-03-11 09:19:16 -05:00
190efb7bea
fix: remove print statement
2026-03-10 11:19:36 -05:00
8baf140c70
bump: version 0.8.0 → 0.9.0
2026-03-10 10:59:27 -05:00
3bacb884dc
fix: avoid error when material type is unknown
...
not sure if this is a unique situation in my dev environment or
what..but i keep encountering this in dev, so might as well add it.
better safe than sorry
2026-03-10 10:52:35 -05:00
f48cf55963
feat: add schema, edit/sync support for Seeding Logs
2026-03-10 10:25:38 -05:00
42c73375ac
feat: add schema, edit/sync support for Equipment Assets
2026-03-09 20:40:12 -05:00
03f6da8ab7
feat: add schema, edit/sync support for Equipment Types
2026-03-09 15:58:41 -05:00
d9211c1713
feat: add schema, edit/sync support for Water Assets
2026-03-09 15:36:51 -05:00
dfc8dc0de3
feat: add edit/sync support for Material Types + Material Quantities
2026-03-09 14:36:53 -05:00
6bc5f06f7a
fix: improve behavior when deleting a Standard Quantity
2026-03-08 16:01:12 -05:00
1d5499686f
fix: cleanup grid views for All, Standard Quantities
2026-03-08 15:50:36 -05:00
b2a7184937
feat: add edit/sync support for Material Types
2026-03-08 15:05:24 -05:00
a355e9e1b7
fix: add ordinal for sorting Measures
2026-03-08 13:24:56 -05:00
a43f98c304
feat: add edit/sync support for Log Quantities
...
er, just Standard Quantities so far..and just supported enough to move
the ball forward, it still needs lots more polish
2026-03-08 12:27:05 -05:00
1d303a818c
feat: add edit/sync support for Log.groups
2026-03-07 10:40:42 -06:00
797c045f67
feat: add edit/sync support for Log.locations
...
also set `Log.owners` to current user, when creating new log
2026-03-07 10:27:45 -06:00
6d80937e0c
feat: expose Assets field when editing a Log record
2026-03-06 21:59:38 -06:00
45fd5556f2
feat: add edit/sync support for Plant Seasons
2026-03-06 21:38:23 -06:00
e61043b9d9
feat: add edit/sync support for asset parents
...
plus several changes to API calls, use iterate() instead of get()
also some changes to better share code for asset importers
2026-03-06 19:52:20 -06:00
d46ba43d11
fix: expose is_location and is_fixed for editing on Animal Asset
2026-03-05 20:44:06 -06:00
3336294b3b
fix: allow "N/A" option for animal sex
2026-03-05 20:30:39 -06:00
aecbfc6c02
fix: fix Assets column for All Logs subgrid when viewing asset
2026-03-05 20:06:17 -06:00
af2ea18e1d
bump: version 0.7.0 → 0.8.0
2026-03-04 20:43:03 -06:00
23af35842d
feat: improve support for exporting quantity, log data
...
and make the Eggs quick form save to wuttafarm app DB first, then
export to farmOS, if app is running as mirror
2026-03-04 20:36:56 -06:00
609a900f39
feat: show related Quantity records when viewing a Measure
2026-03-04 16:51:26 -06:00
a547188a90
feat: show related Quantity records when viewing a Unit
2026-03-04 16:49:28 -06:00
81fa22bbd8
feat: show link to Log record when viewing Quantity
2026-03-04 14:49:12 -06:00
b2b49d93ae
docs: fix doc warning
2026-03-04 14:20:09 -06:00
7bffa6cba6
fix: bump version requirement for wuttaweb
2026-03-04 14:15:23 -06:00
0a1aee591a
bump: version 0.6.0 → 0.7.0
2026-03-04 14:14:52 -06:00
a0f73e6a32
fix: show drupal ID column for asset types
2026-03-04 12:59:55 -06:00
e8a8ce2528
feat: expose "group membership" for assets
2026-03-04 12:59:55 -06:00
b2c3d3a301
fix: remove unique constraint for LandAsset.land_type_uuid
...
not sure why that was in there..assuming a mistake
2026-03-04 12:59:55 -06:00
759eb906b9
feat: expose "current location" for assets
...
based on most recent movement log, as in farmOS
2026-03-04 12:59:55 -06:00
41870ee2e2
fix: move farmOS UUID field below the Drupal ID
2026-03-04 12:59:55 -06:00
0ac2485bff
feat: add schema, sync support for Log.is_movement
2026-03-04 12:59:55 -06:00
eb16990b0b
feat: add schema, import support for Asset.owners
2026-03-04 12:59:55 -06:00
ce103137a5
fix: add links for Parents column in All Assets grid
2026-03-04 12:59:55 -06:00
547cc6e4ae
feat: add schema, import support for Log.quick
2026-03-04 12:59:55 -06:00
32d23a7073
feat: show quantities when viewing log
2026-03-04 12:59:55 -06:00
7890b18568
fix: set timestamp for new log in quick eggs form
2026-03-04 12:59:55 -06:00