Commit graph

142 commits

Author SHA1 Message Date
ae73d2f87f fix: define log grid columns to match farmOS
some of these still do not have values yet..
2026-03-04 12:59:54 -06:00
86e36bc64a fix: make AllLogView inherit from LogMasterView
and improve asset rendering for those grids
2026-03-04 12:59:54 -06:00
d1817a3611 fix: rename views for "all records" (all assets, all logs etc.)
just for clarity's sake, i think it's better
2026-03-04 12:59:54 -06:00
d465934818 fix: ensure token refresh works regardless where API client is used 2026-03-04 12:59:54 -06:00
c353d5bcef feat: add support for edit, import/export of plant type data
esp. plant types for a plant asset
2026-03-04 12:59:54 -06:00
bdda586ccd fix: render links for Plant Type column in Plant Assets grid 2026-03-04 12:59:54 -06:00
0d989dcb2c fix: fix land asset type 2026-03-04 12:59:54 -06:00
2f84f76d89 fix: prevent edit for asset types, land types when app is mirror 2026-03-04 12:59:51 -06:00
3343524325 fix: add farmOS-style links for Parents column in Land Assets grid 2026-02-28 22:08:57 -06:00
28ecb4d786 fix: remove unique constraint for AnimalType.name
since it is not guaranteed unique in farmOS; can't do it here either
or else import may fail
2026-02-28 22:08:57 -06:00
338da0208c fix: prevent delete if animal type is still being referenced 2026-02-28 22:08:57 -06:00
ec67340e66 feat: add way to create animal type when editing animal 2026-02-28 22:08:55 -06:00
1c0286eda0 fix: add reminder to restart if changing integration mode 2026-02-28 22:08:55 -06:00
7d5ff47e8e feat: add related version tables for asset/log revision history 2026-02-28 22:08:53 -06:00
5046171b76 fix: prevent edit for user farmos_uuid, drupal_id 2026-02-28 22:08:53 -06:00
f374ae426c fix: remove 'contains' verb for sex filter 2026-02-28 22:08:53 -06:00
2a375b0a6f fix: add enum, row hilite for log status 2026-02-28 22:08:53 -06:00
a5d7f89fcb feat: improve mirror/deletion for assets, logs, animal types 2026-02-28 22:08:51 -06:00
96ccf30e46 feat: auto-delete asset from farmOS if deleting via mirror app 2026-02-28 22:08:48 -06:00
38dad49bbd fix: fix Sex field when empty and deleting an animal 2026-02-26 17:35:05 -06:00
f2be7d0a53 fix: add get_farmos_client_for_user() convenience function 2026-02-26 17:25:49 -06:00
9b4afb845b fix: use current user token for auto-sync within web app
to ensure data writes to farmOS have correct authorship
2026-02-26 17:04:55 -06:00
f4b5f3960c fix: set log type, status enums for log grids 2026-02-25 15:22:25 -06:00
127ea49d74 fix: add more default perms for first site admin user 2026-02-25 14:59:54 -06:00
30e1fd23d6 fix: only show quick form menu if perms allow 2026-02-25 14:59:54 -06:00
df517cfbfa fix: expose config for farmOS OAuth2 client_id and scope
refs: #3
2026-02-25 14:59:46 -06:00
ec6ac443fb fix: add separate permission for each quick form view 2026-02-25 11:22:49 -06:00
11781dd70b bump: version 0.5.0 → 0.6.0 2026-02-25 09:02:12 -06:00
b9ab27523f fix: add Notes schema type
this is because the dict we get from (normalizing the) farmOS API
record will have e.g. `notes=None` but that winds up rendering as
"None" instead of empty string - so we use colander.null value in such
cases so empty string is rendered
2026-02-24 20:03:59 -06:00
331543d74b docs: fix sphinx warnings 2026-02-24 19:57:25 -06:00
e7ef5c3d32 feat: add common normalizer to simplify code in view, importer etc.
only the "log" normalizer exists so far, but will add more..
2026-02-24 16:19:26 -06:00
1a6870b8fe feat: overhaul farmOS log views; add Eggs quick form
probably a few other changes...i'm tired and need a savepoint
2026-02-24 16:19:24 -06:00
ad6ac13d50 feat: add basic CRUD for direct API views: animal types, animal assets 2026-02-21 18:38:08 -06:00
c976d94bdd fix: add grid filter for animal birthdate 2026-02-20 21:37:57 -06:00
5d7dea5a84 fix: add thumbnail to farmOS asset base view 2026-02-20 20:52:08 -06:00
e5e3d38365 fix: add setting to toggle "farmOS-style grid links"
not sure yet if users prefer farmOS style, but will assume so by
default just to be safe.  but i want the "traditional" behavior
myself, so setting is needed either way
2026-02-20 20:38:31 -06:00
1af2b695dc feat: use 'include' API param for better Animal Assets grid data
this commit also renames all farmOS asset routes, for some reason.  at
least now they are consistent
2026-02-20 19:21:49 -06:00
bbb1207b27 feat: add backend filters, sorting for farmOS animal types, assets
could not add pagination due to quirks with how Drupal JSONAPI works
for that.  but so far it looks like we can add filter/sort to all of
the farmOS grids..now just need to do it
2026-02-20 16:10:44 -06:00
9cfa91e091 fix: standardize a bit more for the farmOS Animal Assets view 2026-02-20 14:53:14 -06:00
87101d6b04 feat: include/exclude certain views, menus based on integration mode
refs: #3
2026-02-20 14:53:14 -06:00
1f254ca775 fix: set *default* instead of configured menu handler 2026-02-20 14:53:14 -06:00
d884a761ad fix: expose farmOS integration mode, URL in app settings
although as of now changing the integration mode setting will not
actually change any behavior.. but it will

refs: #3
2026-02-20 14:53:14 -06:00
cfe2e4b7b4 feat: add Standard Quantities table, views, import 2026-02-20 14:53:14 -06:00
c93660ec4a feat: add Quantity Types table, views, import 2026-02-20 14:53:14 -06:00
0a0d43aa9f feat: add Units table, views, import/export 2026-02-20 14:53:13 -06:00
bc0836fc3c fix: reword some menu entries 2026-02-18 19:31:58 -06:00
e7b493d7c9 fix: add WuttaFarm -> farmOS export for Plant Assets 2026-02-18 19:31:41 -06:00
185cd86efb fix: fix default admin user perms, per new log schema 2026-02-18 19:09:39 -06:00
5ee2db267a bump: version 0.4.1 → 0.5.0 2026-02-18 19:03:45 -06:00
26a4746898 feat: add produces_eggs flag for animal, group assets
even if the farmOS instance does not have `farm_eggs` module
installed, we should support the schema
2026-02-18 18:56:40 -06:00