Commit Graph

7240 Commits

Author SHA1 Message Date
Michael Stenta 3fd2f9c893 Convert location hierarchy controller to a form. 2021-12-08 13:52:28 -05:00
Michael Stenta bc10ba32c8 Remove spinner from location drag and drop save button.
This is just a separate commit to keep the next one cleaner.
2021-12-08 13:16:00 -05:00
Michael Stenta 6fdf29ce48 Issue #3245399 by paul121: Use iframe in asset map popup 2021-12-08 13:13:10 -05:00
Michael Stenta 6d613eabc3 Remove redundant comment. 2021-12-08 13:06:36 -05:00
Michael Stenta 114dd9e7b1 Update farmOS-map library to v2.0.3. 2021-12-08 13:06:36 -05:00
Paul Weidner 6984812ac4 Make dropbutton items align to the left. 2021-12-08 13:06:36 -05:00
paul121 64c6bacb89 Decrease whitespace in the map popup. 2021-12-08 13:06:36 -05:00
paul121 fdf5097bc3 Increase size of asset map popup for local actions. 2021-12-08 13:06:36 -05:00
paul121 76d68e01cf Create local action to view assets and view logs in the asset map popup. 2021-12-08 13:06:36 -05:00
paul121 71e8d3ed0e Sort local actions by their weight property. 2021-12-08 13:06:36 -05:00
paul121 8bde758565 Use a small dropbutton in the map popup. 2021-12-08 13:06:36 -05:00
paul121 6a9714f81e Issue #3202226: Show asset action links in asset details. 2021-12-08 13:06:36 -05:00
paul121 4e5fcd2747 Improve styling of the asset map_popup view mode within the iframe. 2021-12-08 13:06:36 -05:00
paul121 07a722fb48 Add styling for the map popup iframe. 2021-12-08 13:06:36 -05:00
paul121 6a99ec7747 Render the asset map_popup view mode in an iframe. 2021-12-08 13:06:36 -05:00
paul121 cef3033d9b Implement html and page theme hooks for the asset map_popup view mode. 2021-12-08 13:06:36 -05:00
Michael Stenta 27955d05be Issue #3243667 by paul121: Perform entity validation in bulk actions 2021-12-08 12:59:36 -05:00
Michael Stenta 564c439ffe Require Log ^2.0.2. 2021-12-08 12:59:27 -05:00
Paul Weidner 2c660bcf3e Perform entity validation in state change actions. 2021-12-08 12:59:27 -05:00
Paul Weidner f57399947d Perform entity validation in bulk actions. 2021-12-08 12:59:27 -05:00
Michael Stenta 61022ea0d2 Issue #3231161 by paul121: Cannot reset location hierarchy after saving 2021-12-08 10:17:44 -05:00
paul121 ddbaf1f7a5 Use $.when.apply instead of spread operator. 2021-12-08 10:15:05 -05:00
paul121 3ad1651d71 Wait for nested request within the success callback. 2021-12-08 10:15:05 -05:00
paul121 38292ff3b2 Refresh the location hierarchy after saving. 2021-12-08 10:15:05 -05:00
Michael Stenta 5404352981 Issue #3253116: Copy geometry from locations in asset reference field 2021-12-08 07:50:13 -05:00
Michael Stenta 6c3e9e7193 Document log geometry copying logic in more detail. 2021-12-08 07:48:55 -05:00
Michael Stenta 9290147c2e Exclude movement logs from asset geometry copy logic. 2021-12-08 07:48:55 -05:00
Michael Stenta 578419eda4 Use Activity log type instead of Movement in testPopulateLogGeometry(). 2021-12-08 07:48:55 -05:00
Michael Stenta c9ba9d5d7d Add tests for copying asset geometry. 2021-12-08 07:48:55 -05:00
Michael Stenta e6794e6050 Copy geometry from locations in asset reference field if no location assets are referenced.
Only include assets that have is_location set to TRUE.
2021-12-08 07:44:38 -05:00
Michael Stenta c16240737e Abstract log location asset loading out to getLocationAssets() method. 2021-12-08 07:44:38 -05:00
Michael Stenta 8d45332c59 Explicitly set is_location to TRUE in location assets created for kernel tests. 2021-12-08 07:44:38 -05:00
Michael Stenta af2393bfc5 Issue #3210067: Document log asset reference vs location reference in model docs 2021-12-08 06:58:14 -05:00
Michael Stenta 5b421ba73f Issue #3253264: Log geometry is not re-copied from locations when a custom geometry is cleared 2021-12-08 06:58:14 -05:00
Michael Stenta 6a7f123ae9 Change weight of Parents and ID Tags fields to 0. 2021-12-07 14:00:17 -05:00
Michael Stenta 9a454d383a Adjust default weight of Notes fields so it appears below 0 weight fields. 2021-12-07 14:00:17 -05:00
Michael Stenta 23cd6296d3 Link from hosting/install docs to development/environment. 2021-12-03 10:34:55 -05:00
Paul Weidner 5ba4770ca0 Issue #3252348: Bundle path arguments do not work in sqlite 2021-12-02 11:38:04 -08:00
Michael Stenta 025e40c450 Fraction arithmetic no longer updates original Fraction object. 2021-12-01 19:44:29 -05:00
Michael Stenta 4f7446b85d Use stable ^2.0 release of Fraction module. 2021-12-01 14:54:39 -05:00
paul121 d888dfcb1e Issue #3249788 by paul121: Incorrect permission is required in the asset add log action form 2021-12-01 12:21:32 -05:00
Paul Weidner 696c6bf705 Use the log access control handler to check permission to create log bundles. 2021-12-01 12:18:51 -05:00
Michael Stenta 4ce4992956 Issue #3246623 by paul121: Filter logs by who they are assigned to 2021-12-01 12:16:04 -05:00
Paul Weidner 1d8953a607 Use the farm_people entity_reference display for the farm_log assigned to exposed filter options. 2021-12-01 12:14:55 -05:00
Paul Weidner 203efa0938 Create a farm_people entity_reference display that excludes the admin user. 2021-12-01 12:14:54 -05:00
Paul Weidner 1422e7b188 Add assigned to filter to log views. 2021-12-01 12:14:54 -05:00
Michael Stenta 30530be81a Issue #3243336 by paul121, m.stenta: Show farmOS contrib module info in farm/settings/modules 2021-12-01 12:02:42 -05:00
Michael Stenta be79b051b4 Only load core module descriptions in FarmSettingsModulesForm.
There's no need to load them upstream in farm_modules(),
since this is the only place they are displayed.
2021-12-01 12:02:32 -05:00
paul121 b86d029e57 Only create batch operations for the modules that need to be installed. 2021-12-01 12:02:32 -05:00
paul121 a3f701ab59 Include module descriptions in the module settings form. 2021-12-01 12:02:32 -05:00