3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

20 commits

Author SHA1 Message Date
Michael Stenta
ec94f32f7d Add "rate" to the list of quantity measures. 2019-04-08 15:49:27 -04:00
Michael Stenta
ec02c334e0 Describe missing taxonomies with hook_farm_ui_entities(): log categories, input materials, quantity units, season, and soil names. 2019-04-08 13:59:41 -04:00
Michael Stenta
3f17afcf63 Implement hook_restws_field_collection_info() for field collections: Group Memberships, Inventory Adjustments, Animal Tag IDs, Movements, and Quantity Measurements. 2019-03-06 17:35:11 -05:00
Michael Stenta
72334e1991 Refactor other modules to use high-level access rules instead of explicit roles. 2018-12-27 10:42:37 -05:00
Michael Stenta
fcb3dda0fa Remove redundant quantity term permissions. 2018-12-27 10:42:37 -05:00
Michael Stenta
0f6373c1e4 Change farm_access_entity_perms() to look for 'taxonomy_term' instead of 'taxonomy'. 2018-12-27 10:42:37 -05:00
Michael Stenta
3e03174c61 Create an internal machine name for farm access roles. 2018-12-27 10:42:37 -05:00
Michael Stenta
b5afb1d2c3 Add a central helper function that maintains a list of quantity units by measure. 2018-11-14 11:11:42 -05:00
Michael Stenta
91366709a0 Warn that changing system of measurement is not recommended. 2018-08-06 15:24:22 -04:00
Michael Stenta
a453832151 Add a helper function for getting the default system of measurement: farm_quantity_system_of_measurement(). 2018-03-21 11:45:48 -04:00
Michael Stenta
2aa4e58123 Move quantity log query functions into a new module to fix hidden circular dependency between farm_area and farm_quantity. 2018-03-21 11:45:32 -04:00
Michael Stenta
2af1505ea0 Add inline quantity field labels, and padding between collection items. 2017-12-29 17:46:19 -05:00
Michael Stenta
1af21d48b9 Use innerJoin()s where possible. 2017-12-07 17:38:52 -05:00
Michael Stenta
6d39abe4d9 Remove $log_id_field parameter from farm_log_query() to simplify. Add the field where needed. 2017-11-24 20:57:47 -05:00
Michael Stenta
e96a19173b Add a measure for area. 2017-11-24 20:56:32 -05:00
Michael Stenta
d61fd7500b Create a function for defining information about available quantity measures. 2017-11-24 20:56:32 -05:00
Michael Stenta
ae939e345a Use farm_log_asset_query() to build quantity query. 2017-11-24 20:56:32 -05:00
Michael Stenta
efb3c20073 Add functions for loading quantity data for a specific asset, optionally given a measure and/or label. 2017-11-24 20:56:32 -05:00
Michael Stenta
1c29669b37 Add a function that defines the available options for the Measure field. 2017-11-24 20:56:32 -05:00
Michael Stenta
375eb0b542 Move to modules/farm/farm_quantity in preparation for #2876992. 2017-05-26 10:02:03 -04:00
Renamed from farm_quantity.module (Browse further)