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

2455 commits

Author SHA1 Message Date
Michael Stenta 642e1187e1 Automatically generate a list of log Views to display on assets. 2017-06-27 15:39:31 -04:00
Michael Stenta 330872e802 Consolidate code for adding Views to asset and taxonomy pages. 2017-06-27 15:39:31 -04:00
Michael Stenta 0fb73ffcad Move hooks for adding Views to asset and term pages to farm_ui module. 2017-06-27 15:39:31 -04:00
Michael Stenta e3e8ddddbe Minor change to Farm UI module description. 2017-06-27 15:39:31 -04:00
Michael Stenta 2a185e5133 Consolidate all asset cluster map rendering into farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta 4f049c6009 Simplify area link generation and split asset and log lists. 2017-06-27 15:39:30 -04:00
Michael Stenta 5e5fac71d9 Move all area link generation logic to farm_ui module and remove hook_farm_area_links(). 2017-06-27 15:39:30 -04:00
Michael Stenta 6784b97bd3 Consolidate common area link generation code. 2017-06-27 15:39:30 -04:00
Michael Stenta 51f5cb906e Add area links for some log types. 2017-06-27 15:39:30 -04:00
Michael Stenta ee811350e3 Automatically generate area links for all asset types. 2017-06-27 15:39:30 -04:00
Michael Stenta 1073d8c613 Rename _farm_ui_action_link() to farm_ui_action_link(). 2017-06-27 15:39:30 -04:00
Michael Stenta 0060a95262 Remove hook_farm_ui_actions() because farm_ui is the only module implementing it now. 2017-06-27 15:39:30 -04:00
Michael Stenta 43ffaca789 Add action links to area pages. 2017-06-27 15:39:30 -04:00
Michael Stenta b9688b40d3 Only apply allowed asset reference type handling to the View: farm_asset_entityreference_view 2017-06-27 15:39:30 -04:00
Michael Stenta 386e967317 Automate allowed asset reference type handling so that hook_farm_ui_allowed_asset_reference_type() is no longer necessary. 2017-06-27 15:39:30 -04:00
Michael Stenta 01710232b4 Move allowed asset reference type handling from farm_log to farm_ui. 2017-06-27 15:39:30 -04:00
Michael Stenta 9130864f89 Add log action links to asset view pages. 2017-06-27 15:39:30 -04:00
Michael Stenta 8a83ed5791 Build breadcrumbs and action links for log entities in farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta 9b3fc109cc Remove "a"/"an" from default farm action links for consistency. 2017-06-27 15:39:30 -04:00
Michael Stenta 7b5c9f4358 Generalize entity action link creation to work for all entity types. 2017-06-27 15:39:30 -04:00
Michael Stenta cc7ce2b21d Use entity UI info to build breadcrumbs instead of hook_farm_ui_taxonomy_breadcrumb(). 2017-06-27 15:39:30 -04:00
Michael Stenta e7e5aa935f Add comments to hook_farm_ui_entities() in farm_ui.api.php. 2017-06-27 15:39:30 -04:00
Michael Stenta f0fc9e170e Move taxonomy breadcrumb handling into farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta e6e34b4d9d Refactor farm_ui_entity_view() breadcrumb code to make room for more entity types. 2017-06-27 15:39:30 -04:00
Michael Stenta 4718a89963 For each asset type, create an action link on its listing page. 2017-06-27 15:39:30 -04:00
Michael Stenta 10112e66c3 Use entity UI info to build breadcrumbs instead of hook_farm_ui_asset_breadcrumb(). 2017-06-27 15:39:30 -04:00
Michael Stenta f04e6b62fa Add hook_farm_ui_entities() for modules to define farmOS entity UI information. 2017-06-27 15:39:30 -04:00
Michael Stenta 8c69f16503 Move asset breadcrumb handling to farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta 82ca34a32a Install the new Farm People and UI modules via an update hook on existing sites. 2017-06-27 15:39:30 -04:00
Michael Stenta ab8562fed6 Split farm_people View out into new farm_people module. 2017-06-27 15:39:30 -04:00
Michael Stenta 9fe05a18b2 Consolidate area, asset, log, and user action links into farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta e03d661475 Move user and role_delegation perms from farm_admin to farm_access. 2017-06-27 15:39:29 -04:00
Michael Stenta e6d3d55d04 Remove 'view farm logs' permission in favor of 'view all logs'. 2017-06-27 15:39:29 -04:00
Michael Stenta 53be651d85 Further consolidate default asset, log, and term access perms into farm_access module itself. 2017-06-27 15:39:29 -04:00
Michael Stenta da33181cd1 Consolidate default taxonomy term CRUD permissions for all vocabularies in farm_taxonomy.module. 2017-06-27 15:39:29 -04:00
Michael Stenta 930c8a2cc9 Consolidate default log CRUD permissions for all log types in farm_log.module. 2017-06-27 15:39:29 -04:00
Michael Stenta 3f6b77ef6a Consolidate default asset CRUD permissions for all asset types in farm_asset.module. 2017-06-27 15:39:29 -04:00
Michael Stenta 449a465c98 Move hook_farm_admin_actions() to new farm_ui module as hook_farm_ui_action(). 2017-06-27 15:39:29 -04:00
Michael Stenta 6f34c8f98f Change argument title override in Observations view so it looks better in breadcrumbs. 2017-06-26 17:06:00 -04:00
Michael Stenta 075bbd4e4e Fix compost: don't always display compost View. 2017-06-26 17:05:46 -04:00
Michael Stenta 20cbf131d7 Fix movement relationship in Seeding and Transplanting Views. 2017-06-26 10:07:55 -04:00
Michael Stenta a8d135995f Change all instances of 'page_1' to 'page' in Views. 2017-06-26 10:07:46 -04:00
Michael Stenta 721c29bc65 Issue #2394839 by m.stenta: Easier UI for adding Plantings 2017-06-24 12:24:52 -04:00
Michael Stenta 28ee2e6b2e Allow user to specify whether the seeding/transplanting is done. 2017-06-24 12:20:17 -04:00
Michael Stenta a616ba4168 When a log is created, display a message with a link to it. 2017-06-24 12:20:17 -04:00
Michael Stenta 161bcd3baf Add a submit function for generating seeding/transplanting log when creating a planting. 2017-06-24 12:20:17 -04:00
Michael Stenta 9fb859261d Allow log done status to be specified as a parameter. 2017-06-24 12:20:17 -04:00
Michael Stenta 027af116ee Make the areas parameter optional in farm_log_movement_create(). 2017-06-24 12:20:17 -04:00
Michael Stenta 6ff1e40bcb Split area name string parsing out to a separate function so it can be reused. 2017-06-24 12:20:17 -04:00
Michael Stenta f6ddb39e16 Generalize the function for creating a movement log so that it can be used to create other log types beyond observations. 2017-06-24 12:20:17 -04:00