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

3011 commits

Author SHA1 Message Date
Michael Stenta ae9ca7d069 Add views-tree CSS class to Views that use a tree display. 2017-11-24 21:07:47 -05:00
Michael Stenta 36590c2cd9 Add "Delete" button styles and always put it at the end. 2017-11-24 21:07:47 -05:00
Michael Stenta 6a0a5bc2ab Add bulk delete operation to asset, log, and area Views. 2017-11-24 21:07:47 -05:00
Michael Stenta a75e53a5c4 Issue #2378327: Referenced entities can be deleted 2017-11-24 21:06:57 -05:00
Michael Stenta 6eaa952dc5 Prevent deletion of constrained entities via REST. 2017-11-24 21:06:42 -05:00
Michael Stenta 1b6605c735 Prevent deleting taxonomy terms that have children. 2017-11-24 21:06:42 -05:00
Michael Stenta c8a0663c92 Add constraint validation to Views Bulk Operations delete action to prevent referenced entities from being deleted. 2017-11-24 21:06:42 -05:00
Michael Stenta 4e8adf786d Include entity bundle in hook_farm_constraint(). 2017-11-24 21:06:42 -05:00
Michael Stenta bab595ee09 Allow field reference lookup to be limited for better performance. 2017-11-24 21:06:42 -05:00
Michael Stenta c071f19fcb Break field reference lookup out to a separate function. 2017-11-24 21:06:42 -05:00
Michael Stenta d373726fa0 Build an array of field reference information instead of just counting them. 2017-11-24 21:06:42 -05:00
Michael Stenta a978f7caa1 Only include field references that have not been deleted. 2017-11-24 21:06:42 -05:00
Michael Stenta ece6fb0ec3 Implement hook_farm_constraint() on behalf of all entity and term reference fields. 2017-11-24 21:06:42 -05:00
Michael Stenta 918ec851c1 Implement hook_hook_info() to allow farm_constraint hooks to be put into [modulename].farm_constraint.inc. 2017-11-24 21:06:42 -05:00
Michael Stenta 8a53e71ce8 Prevent entity deletion if constraints are found in asset, log, taxonomy term, and user delete forms. 2017-11-24 21:06:42 -05:00
Michael Stenta 45667038e4 Add a function that asks other modules if a constraint exists on an entity (via a new hook_farm_constraint()). 2017-11-24 21:06:42 -05:00
Michael Stenta 5d044d73db Install constraint module on new and existing sites. 2017-11-24 21:06:42 -05:00
Michael Stenta ca2ef347bd Initial commit of farm_constraint module. 2017-11-24 21:06:42 -05:00
Michael Stenta 201beb816d Fix selector for second step of farmOS intro tour. 2017-11-24 21:05:52 -05:00
Michael Stenta 1f3e25cf8a Merge branch 'glyphicons' into 7.x-1.x 2017-11-24 21:05:32 -05:00
Michael Stenta 40f5e535cd Add glyphicons for main menu items: Areas, Assets, Logs, People, Plans. 2017-11-24 21:05:21 -05:00
Michael Stenta 98669f509e Remove default glyphicon (leaf) because it's showing up everywhere now. 2017-11-24 21:05:21 -05:00
Michael Stenta edcdcf8306 Add glyphicons for logged-out user tabs. 2017-11-24 21:05:21 -05:00
Michael Stenta d8e0ef068d Add glyphicons for other user menu items. 2017-11-24 21:05:21 -05:00
Michael Stenta 0790c872e7 Generalize the JS for adding glyphicons to menu links. 2017-11-24 21:05:21 -05:00
Michael Stenta 8ccda335da Set the Bootstrap navbar position to "Fixed Top". 2017-11-24 21:04:58 -05:00
Michael Stenta 1b88531f1d Issue #2906829: Farm Calendar 2017-11-24 21:04:36 -05:00
Michael Stenta 76e23143e0 Change Farm Calendar menu item so it appears in the user menu. 2017-11-24 21:04:07 -05:00
Michael Stenta e63642175a Display list of log assets as a tooltip when hovering over a calendar item. 2017-11-24 21:04:07 -05:00
Michael Stenta aff39a3d86 Add check mark next to calendar items that are done. 2017-11-24 21:04:07 -05:00
Michael Stenta f57da6466b Set calendar item background colors based on log type. 2017-11-24 21:04:07 -05:00
Michael Stenta 709244e454 Patch Calendar to fix Issue #2160183: Undefined index: groupby_times 2017-11-24 21:04:07 -05:00
Michael Stenta ddd7bddf43 Link "Today is" in dashboard to calendar day page. 2017-11-24 21:04:07 -05:00
Michael Stenta d2d8bdda42 Add calendar dashboard icon. 2017-11-24 21:04:07 -05:00
Michael Stenta dd85b5ffde Add Bootstrap icons to dashboard tabs. 2017-11-24 21:04:07 -05:00
Michael Stenta 082e5f0fe2 Change "Farm" tab to "Dashboard". 2017-11-24 21:04:07 -05:00
Michael Stenta bbe4c19b62 Install the new farm_calendar module on new and existing sites. 2017-11-24 21:04:07 -05:00
Michael Stenta 2b33df7d45 Farm Calendar module: provides a calendar view of farmOS logs. 2017-11-24 21:04:07 -05:00
Michael Stenta 09320ec470 Add Calendar module to farmOS. 2017-11-24 21:04:07 -05:00
Michael Stenta 2480662b77 Merge branch 'farm_plan' into 7.x-1.x 2017-11-24 21:00:34 -05:00
Michael Stenta 44f112575d Rename "View" tab to "Plan", and "Edit" tab to "Settings". 2017-11-24 21:00:23 -05:00
Michael Stenta 588f949445 Only create the Farm breadcrumb if there are more than 2 trail items already. 2017-11-24 21:00:23 -05:00
Michael Stenta a8f8e455dd Add an "All plans" link to the "Plans" menu. 2017-11-24 21:00:23 -05:00
Michael Stenta 8818b1aad5 Add support for farm plan entity permissions in farm_access module. 2017-11-24 21:00:23 -05:00
Michael Stenta cb25b4070f Add support for plan entities in the farm_ui module. 2017-11-24 21:00:23 -05:00
Michael Stenta 2983109e1d Expand farm/plans menu item so it works as a dropdown. 2017-11-24 21:00:23 -05:00
Michael Stenta 57ab97c736 Initial commit of Farm Plan module: provides a farm_plan asset type. Copied and modified from farm_asset module. 2017-11-24 21:00:23 -05:00
Michael Stenta dc8e0dd7c9 Return the logs created by helper functions (movements, group, inventory, weight). 2017-11-24 21:00:10 -05:00
Michael Stenta d42e871492 Merge branch 'farm_animal_weight' into 7.x-1.x 2017-11-24 20:59:47 -05:00
Michael Stenta 08209a5b0e Add a special Weight field to animal asset forms for setting their current weight. 2017-11-24 20:59:34 -05:00