Commit Graph

1920 Commits

Author SHA1 Message Date
Michael Stenta c61f67866b Set the Quantity view mode to "Plain text" in farm_log View's "CSV export" display. 2022-12-22 19:05:45 -05:00
Michael Stenta 0b361341e3 Add a plain_text Quantity view mode that strips tags and whitespace. 2022-12-22 19:05:45 -05:00
Michael Stenta 0f8308c06d Issue #3328419: Uninstalling farm_ui_views module breaks site 2022-12-20 16:52:16 -05:00
Michael Stenta fe155f8a16 Prevent circular group membership #562 2022-12-20 12:46:04 -05:00
Michael Stenta ac54fb4dc2 Make sure log asset != log location in circular location constraint logic #623 2022-12-20 10:45:33 -05:00
Michael Stenta 61fd988044 Prevent circular asset location #568 2022-12-19 16:06:01 -05:00
Michael Stenta 272e698e87 Issue #3310286: Add $timestamp parameter to asset.inventory service methods 2022-12-15 14:06:30 -05:00
Michael Stenta 7c9ef9a8bd Issue #3310286: Add $timestamp parameter to group.membership service methods 2022-12-15 14:06:30 -05:00
Michael Stenta d154db811c Issue #3310286: Add $timestamp parameter to asset.location service methods 2022-12-15 14:03:27 -05:00
Michael Stenta 0b3533e0f0 Only show the first quantity in log Views #619 2022-12-13 09:43:45 -05:00
Paul Weidner ad946875de Include GEOS version in status report #614 2022-12-06 10:17:34 -08:00
Paul Weidner 37314b8864 Fix enable/disable buttons on data stream notifications page #613 2022-12-06 11:48:43 -05:00
Paul Weidner ec5b39af83 Fix TypeError when adding email delivery #616 2022-12-06 10:42:03 -05:00
Michael Stenta c787d7e256 Remove default_measure configuration from quantity type definitions #612
This was originally added so that the Price quantity type could set its
default measure to "value" all the time. This was back when price
quantities were part of farmOS core. It was then moved to the
farm_ledger contrib module, and is being refactored such that it will no
longer need to make use of this default_measure configuration.
2022-12-02 14:02:24 -05:00
Michael Stenta d5a87aa3e8 Wrap table names in curly braces. 2022-12-02 08:06:50 -05:00
Michael Stenta 7c1aa73a34 Fix migration of lab field to taxonomy terms #611
PR #603 changed the "Laboratory" field from a simple text field to a
taxonomy term reference field. But it did not update the v1 migration
logic accordingly.

See https://github.com/farmOS/farmOS/pull/603
2022-11-29 14:56:42 -05:00
Paul Weidner 0effe2167e Fix managed role form alter for individual role permissions page #610 2022-11-29 11:48:36 -08:00
Paul Weidner 03a60cfc11 Chain the flag specific class after the generic flag class
This ensures that the flag specific class will be more specific
than the generic flag class. This pattern isn't necessary for the flag
classes in this file since the generic flag class is defined first, but
this pattern is necessary for other modules to provide styles for flags.
2022-11-29 06:37:30 -05:00
Paul Weidner 87e76a4bfb Correct CSS classname for priority flag #609 2022-11-29 06:37:29 -05:00
Paul Weidner 351e0b0cc7 Correct hook_farm_update_exclude_config API docs #608 2022-11-28 16:41:13 -08:00
Michael Stenta 70fa979440 Fix update hook for converting lab to taxonomy #606 2022-11-26 08:22:01 -05:00
Michael Stenta 8b49a232e2 Add tissue lab test type #605 2022-11-25 12:03:39 -05:00
Michael Stenta 96cb706cab Change "Test method" field to a taxonomy term reference. 2022-11-25 12:02:38 -05:00
Michael Stenta 80f75ebcb2 Change "Lab" quantity to "Test" quantity to be more general. 2022-11-25 12:02:38 -05:00
Michael Stenta 21c0fb4163 Use lab quantity as default in lab_test logs. 2022-11-25 12:02:38 -05:00
Michael Stenta 42e446470a Add a "Lab measurement" quantity type with a "Lab method" string field. 2022-11-25 12:02:38 -05:00
Michael Stenta 347de7aac7 Convert lab field to term reference on lab test logs #603 2022-11-25 12:02:38 -05:00
Michael Stenta fbd754e867 Add "Date received" and "Date processed" fields to lab test logs #602 2022-11-25 12:02:38 -05:00
Michael Stenta c100569bf7 Rearrange lab test log field definitions to match their weights. 2022-11-25 12:02:38 -05:00
Michael Stenta 114f6edfbf All log modules depend on log:log. 2022-11-22 16:20:40 -05:00
Michael Stenta c0bd88f3da All asset modules depend on farm:asset. 2022-11-22 16:20:40 -05:00
Michael Stenta 9022ff0f8c All quantity modules depend on farm:farm_entity. 2022-11-22 16:20:40 -05:00
Michael Stenta 305f430dfc The log.type.input config depends on farm_quantity_material. 2022-11-22 16:20:40 -05:00
Michael Stenta 728797f0f6 Remove dependency on farm_quantity_standard from farm_inventory. 2022-11-22 16:20:40 -05:00
Michael Stenta 165547d94f Add asset/log dependencies to farm_quick_test.info.yml. 2022-11-22 16:20:40 -05:00
Michael Stenta 6c5f42b98f Use default quantity type in QuickQuantityTrait.
This removes the dependency on farm_quantity_standard.
2022-11-22 16:20:40 -05:00
Michael Stenta 0825dc7a50 Add a reusable function for determining default log quantity type. 2022-11-22 16:20:40 -05:00
Michael Stenta 961e189e9b Issue #3323108: Action links block overrides break farmOS installation from config 2022-11-22 11:50:37 -05:00
Michael Stenta 1e2c6de178 Provide a post-update hook for fixing previously migrated input logs quantity material terms. 2022-11-21 14:00:10 -05:00
Michael Stenta c7c94b84a4 Mark the CreateQuantity migrate process plugin as @internal. 2022-11-21 13:54:26 -05:00
Michael Stenta ed7ec99e11 Change CreateQuantity migrate process plugin to handle_multiples to fix issue with migrated material terms. 2022-11-21 13:54:26 -05:00
Paul Weidner fe324c5eed Change default client secret to be NULL to avoid issue #3322325 #597 2022-11-20 14:07:16 -05:00
Paul Weidner 9cb0897ca0 Render link to log category taxonomy term in log views 2022-11-18 11:43:11 -05:00
Paul Weidner 3c154b34c8 Render link to referenced taxonomy terms for fields dynamically added to farm entity views 2022-11-18 11:43:10 -05:00
Michael Stenta 7e08295af0 Show "Add log" action links on /asset/[id]/logs/[type] #596 2022-11-18 08:50:53 -05:00
Michael Stenta 29a4ac3e89 Mark FarmUpdate as @internal. 2022-11-16 14:37:55 -05:00
Michael Stenta fcfee8f72d Mark ManagedRolePermissions and ManagedRolePermissionsManager as @internal. 2022-11-16 14:37:55 -05:00
Michael Stenta 9f5ee25f44 Mark LogQueryFactory as @internal. 2022-11-16 14:37:55 -05:00
Michael Stenta 8b0b50315b Make translatable strings consistent between fields and actions #594 2022-11-16 14:26:30 -05:00
Paul Weidner 230c00fbde Add action for bulk assigning asset parent #588 2022-11-16 11:25:17 -05:00