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

58 commits

Author SHA1 Message Date
Michael Stenta
cf84a3af07 Put all log Views in the "logs" farm_ui group and change the group name to "Logs by type". 2017-11-14 13:45:37 -05:00
Michael Stenta
a6da002c62 Add a group for "Logs with special purpose" and put movement and inventory logs in there via farm_ui. 2017-11-14 13:45:37 -05:00
Michael Stenta
01f95f3058 Fix farm_log dependencies. Stop using it to automatically install activity, harvest, input, and observation modules. 2017-10-10 17:59:32 -04:00
Michael Stenta
29b07ea34a Add menu items for "All assets" and "All logs". 2017-10-10 17:31:38 -04:00
Michael Stenta
b39df3fe5c If there are no assets/logs in an area, do not display label in area details. 2017-08-14 10:06:45 -04:00
Michael Stenta
da5fa1bf6d Revert "Remove hook_farm_ui_actions() because farm_ui is the only module implementing it now."
This reverts commit 0060a95262 and updates the code accordingly.
2017-07-21 14:21:48 -04:00
Michael Stenta
32b4ef9309 Invoke a hook for modules to provide their own entity View groups. 2017-06-28 14:54:49 -04:00
Michael Stenta
2a2c3f794d Wrap entity View groups in a fieldset. 2017-06-28 12:49:26 -04:00
Michael Stenta
d3f5480542 Add ability to group entity Views into assets, logs, or other. 2017-06-28 12:44:58 -04:00
Michael Stenta
186ba38aea Rearrange functions in farm_ui.module: hooks on the top, helper functions on the bottom. 2017-06-28 12:11:14 -04:00
Michael Stenta
665105ff62 Move entityreference_view_widget code to helper function in farm_ui.views.inc. 2017-06-28 12:10:35 -04:00
Michael Stenta
3005ccf5b1 Move entity Views code to farm_ui.entity_views.inc. 2017-06-28 12:10:35 -04:00
Michael Stenta
6fb35cad87 Move breadcrumb code to farm_ui.breadcrumb.inc. 2017-06-28 12:10:35 -04:00
Michael Stenta
c5d7f77f96 Move action link code to farm_ui.action_links.inc. 2017-06-28 12:10:35 -04:00
Michael Stenta
8e6411511e Implement hook_hook_info() in farm_ui module. Move implementations to farm_ui.farm_ui.inc. 2017-06-28 12:10:35 -04:00
Michael Stenta
a011057aa9 Move Farm UI hook_views_post_render() logic to helper function in farm_ui.views.inc. 2017-06-28 12:10:03 -04:00
Michael Stenta
ab1bf9821e Move Farm UI hook_farm_area_details() to farm_ui.farm_area.inc. 2017-06-28 11:41:58 -04:00
Michael Stenta
9c4ac0a1eb Remove duplicate "Add area" action link. 2017-06-28 10:27:44 -04:00
Michael Stenta
d10bfa60b8 Move hook_menu_breadcrumb_alter() from farm_admin to farm_ui. 2017-06-27 15:42:47 -04:00
Michael Stenta
5b3ba071e5 Use entity weight for ordering action links. 2017-06-27 15:39:31 -04:00
Michael Stenta
e6168c3d3b Static cache the entity UI info gathered by farm_ui_entities(). 2017-06-27 15:39:31 -04:00
Michael Stenta
411dd57e53 Automatically add asset Views to other taxonomy terms provided by modules. 2017-06-27 15:39:31 -04:00
Michael Stenta
e4971aff05 Automatically generate a list of log Views to display on areas. 2017-06-27 15:39:31 -04:00
Michael Stenta
3120539ca7 Use the new area argument position function in farm_ui_area_links(). 2017-06-27 15:39:31 -04:00
Michael Stenta
0ded4a4408 Add a function that encapsulates logic for figuring out where the area ID argument is in a View. 2017-06-27 15:39:31 -04:00
Michael Stenta
fc5d645ec6 Automatically generate a list of asset Views to display on areas. 2017-06-27 15:39:31 -04:00
Michael Stenta
3f16718b4a Merge hook_farm_ui_asset_views() and hook_farm_ui_taxonomy_views(). 2017-06-27 15:39:31 -04:00
Michael Stenta
d644e54b6d Reorder logs so that they are roughly in the order that they will typically take place on an entity. 2017-06-27 15:39:31 -04:00
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