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

65 commits

Author SHA1 Message Date
Michael Stenta
19abe4b032 Wrap dashboard panes in fieldsets. 2018-10-27 08:21:55 -04:00
Michael Stenta
22cb8b280f Refactor dashboard so that modules can implement a hook to add panes. 2018-10-27 08:21:55 -04:00
Michael Stenta
8c4dc07182 Add address geocoder widget to other maps: geofield formatter, areas, assets. 2018-10-10 13:49:56 -04:00
Michael Stenta
6e9221f15e Pass farm_area_parse_name() $create parameter into farm_term(). 2018-10-01 16:27:38 -04:00
Michael Stenta
a798e64cd0 Use new farm_term() function where possible. 2018-10-01 14:49:24 -04:00
Michael Stenta
341093710e Create a helper function for subjectively defining the relative size of an area measurement. 2018-09-26 14:07:24 -04:00
Michael Stenta
ffe851bb72 Create a helper function that returns the default units for an area measure (with optional relative size). 2018-09-26 14:07:24 -04:00
Michael Stenta
38ac0d6a93 Add a function for calculating the total surface area of multiple areas. 2018-09-26 14:07:24 -04:00
Michael Stenta
a194137a89 Move farm_movement_parse_areas() to farm_area_parse_names(). 2018-09-26 14:07:24 -04:00
Michael Stenta
369c0e2d5a Break out area unit conversion to a separate function: farm_area_convert_area_units($input, $units). 2018-07-04 14:47:50 -04:00
Michael Stenta
ae4e4aaf36 Minor fixes to farm_area_format_calculated_area(). 2018-07-04 14:47:44 -04:00
Michael Stenta
0b20b49f95 Return zero when formatting an empty calculated area. 2018-07-04 14:09:14 -04:00
Michael Stenta
900cc7da00 Offer an option to leave off units from formatted area. 2018-07-04 14:09:14 -04:00
Michael Stenta
2b4df1054f Move KML geometry parsing functions from farm_area_import to farm_map_kml. 2018-05-30 13:59:51 -04:00
Michael Stenta
0675226f9b Add KML button to areas View. 2018-05-30 13:59:51 -04:00
Michael Stenta
f43c0699a1 Issue #2908165: Display area of Areas in their description page 2018-05-29 08:34:05 -04:00
Michael Stenta
018ae44bb5 Show a summary of how many geometries were parsed. 2018-04-25 20:29:44 -04:00
Michael Stenta
783d00b57e Add an option to create a parent area for all new areas. 2018-04-25 20:29:44 -04:00
Michael Stenta
66985389f7 Add support for KML files that do not organize Placemarks into Folders. 2018-04-25 20:29:44 -04:00
Michael Stenta
042459ec85 Move Placemark parsing to a separate helper function. 2018-04-25 20:29:44 -04:00
Michael Stenta
da48182e66 Split KML parsing out to a separate function. 2018-04-25 20:29:44 -04:00
Michael Stenta
c2b9d330e6 Prevent validation from happening on Parse. 2018-04-19 18:26:55 -04:00
Michael Stenta
63346b7127 Add support for placemark descriptions (mapped to area description). 2018-04-19 18:26:49 -04:00
Michael Stenta
4e7ad12df4 Add support for multiple folders of placemarks. 2018-04-19 18:17:17 -04:00
Michael Stenta
910b9227f3 KML may have Document->Folder->Placemark, or it may just have Folder->Placemark. 2018-04-19 18:13:27 -04:00
Michael Stenta
c9e14e3d2c Fix issue: AJAX not resetting output values. 2018-04-19 18:12:49 -04:00
Michael Stenta
3ac276e92a Create areas in submit function. 2018-04-19 17:13:10 -04:00
Michael Stenta
1ba4af11c8 Validate required fields and geometries. 2018-04-19 16:59:33 -04:00
Michael Stenta
3bf44956c4 Add area type select fields, confirm checkboxes, and submit button. 2018-04-19 16:59:10 -04:00
Michael Stenta
e55c5704fb Initial commit of farm_area_import: simple parsing of KML content. 2018-04-19 16:26:04 -04:00
Michael Stenta
1974345786 Show flags in area list. 2018-04-17 15:34:30 -04:00
Michael Stenta
af3c0945dd Style flags in area details popup and use new helper function for loading them. 2018-04-17 10:17:03 -04:00
Michael Stenta
f9b85b8137 Add "Flag" bulk action button to area, asset, and log Views. 2018-04-17 09:30:56 -04:00
drupalgin
0e5a226627 Issue #2950316 by drupalgin: Fixed coding standards 2018-04-07 12:40:16 -04:00
Michael Stenta
b811ca70fe Issue #2957698: Bed generator needs more angles 2018-04-04 14:45:33 -04:00
Michael Stenta
a453832151 Add a helper function for getting the default system of measurement: farm_quantity_system_of_measurement(). 2018-03-21 11:45:48 -04:00
Michael Stenta
2aa4e58123 Move quantity log query functions into a new module to fix hidden circular dependency between farm_area and farm_quantity. 2018-03-21 11:45:32 -04:00
Michael Stenta
3036e90205 Implement hook_farm_area_details on behalf of farm_flags to show area flags in the area details popup. 2018-03-19 15:14:54 -04:00
Michael Stenta
5b2b4d7f8e Add Flags field to Areas. 2018-03-19 15:12:37 -04:00
Michael Stenta
103a56c7ac Fix #56: Hiearchy Change URL doesnt work for subdirectory installation 2018-03-01 09:59:24 -05:00
Michael Stenta
1006a3054b Add a farm_map_build() function, for building farm maps. 2018-02-26 21:27:22 -05:00
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
6a0a5bc2ab Add bulk delete operation to asset, log, and area Views. 2017-11-24 21:07:47 -05:00
Michael Stenta
86ab32c92e Allow sort criteria to be specified in farm_area_load_areas(). Default to 'id'. 2017-10-02 10:49:12 -04:00
Michael Stenta
0892b31ff3 Use ol4 branch of mstenta/openlayers to fix ZoomToSource Components. See https://www.drupal.org/node/2911611. 2017-09-25 17:19:29 -04:00
Michael Stenta
d4500aefe4 Update Openlayers Popup components to match changes in module. 2017-09-25 09:42:38 -04:00
Michael Stenta
04ced2c76b Ensure that the "base layers" group is always at the bottom of farm map layers. 2017-09-25 09:32:44 -04:00
Michael Stenta
436b7b803d Add a function for loading areas of a given type. 2017-09-05 16:18:00 -04:00
Michael Stenta
1e555ed0fa Consolidate file and image field file extensions in a helper function. 2017-07-21 14:21:20 -04:00
Michael Stenta
0220a48dbc Revert "Add an Entityreference View for Areas."
This reverts commit 67540bf1a9.
2017-07-13 08:59:13 -04:00