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

57 commits

Author SHA1 Message Date
Michael Stenta
97e5022ff7 Add label to location and assets properties to fix PHP notice. 2019-04-09 14:35:52 -04:00
Michael Stenta
bbd45fe0a1 Issue #3043560: Add a computed assets property to areas. 2019-04-01 15:56:53 -04:00
Michael Stenta
886de46530 Add functions for getting the list of assets in an area (cloned from group membership functions). 2019-04-01 15:56:53 -04:00
Michael Stenta
7b506bc536 Add query tags in query helper functions. 2019-04-01 15:56:53 -04:00
Michael Stenta
218a048709 Issue #3043560: Add location property to assets 2019-04-01 15:56:53 -04:00
Michael Stenta
bd0d8006c7 hook_farm_map_entity_geometries docblock. 2019-04-01 15:56:53 -04:00
Michael Stenta
3f17afcf63 Implement hook_restws_field_collection_info() for field collections: Group Memberships, Inventory Adjustments, Animal Tag IDs, Movements, and Quantity Measurements. 2019-03-06 17:35:11 -05: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
a194137a89 Move farm_movement_parse_areas() to farm_area_parse_names(). 2018-09-26 14:07:24 -04:00
Michael Stenta
554ea4eb65 Change grammar of auto-generated location log titles (remove "are" to handle singular). 2018-09-26 14:07:24 -04:00
Michael Stenta
ed67950aa5 Add the ability to filter by log type in farm_log_query() and farm_log_asset_query(). 2018-09-05 14:08:14 -04:00
Michael Stenta
c1fb41daea Add KML button to all Views that need it. 2018-05-30 16:36:14 -04:00
Michael Stenta
4fa459191f Extract movement geometries from entities. 2018-05-30 15:30:43 -04:00
Michael Stenta
9929e12cb3 Add exposed "Areas" filter to all log Views. 2018-04-25 11:54:11 -04:00
Michael Stenta
8180f92213 Remove duplicate code from movement log creation function. 2018-04-23 17:00:41 -04:00
Michael Stenta
7aa2b74b69 Fix movement log names when log type is activity. 2018-04-23 16:43:08 -04:00
Michael Stenta
6b94592e87 Improve auto-generated log names for group membership, inventory, weight, and location. 2018-04-23 16:34:31 -04:00
Michael Stenta
6ac30f5b88 Add a helper function for generating a summary of entity labels for use in a log name. 2018-04-23 16:25:28 -04:00
Michael Stenta
bb8cddaba5 Use new helper function in farm_movement_create(). 2018-04-17 14:23:58 -04:00
Michael Stenta
f9b85b8137 Add "Flag" bulk action button to area, asset, and log Views. 2018-04-17 09:30:56 -04:00
Michael Stenta
e1adae3dda Issue #2907879: Add row counter to asset/log lists 2018-04-16 13:48:41 -04:00
Michael Stenta
1a3ca112f6 Add exposed "Items per page" option to all Views. 2018-04-16 13:46:53 -04:00
drupalgin
0e5a226627 Issue #2950316 by drupalgin: Fixed coding standards 2018-04-07 12:40:16 -04:00
Michael Stenta
8ee64a55c3 Add exposed sort for asset ID and log ID on all asset and log Views. 2018-03-19 17:02:19 -04:00
Michael Stenta
0bfc8ff143 Add Flags field and filter to all asset and log Views. 2018-03-19 17:02:19 -04:00
Michael Stenta
3ef9279970 Look up and display "from" areas when displaying "Movement to" field on movement logs. 2018-02-07 12:10:00 -05:00
Michael Stenta
cb3b3a5bab Update older update hooks to also remove references to the "from" field. 2018-02-07 12:10:00 -05:00
Michael Stenta
199a8fcd82 Add an update hook to delete the field data from the database. 2018-02-07 12:10:00 -05:00
Michael Stenta
605a98ad52 Take out the code for auto-populating the "from" field. 2018-02-02 15:40:56 -05:00
Michael Stenta
ed935a31f0 Remove field_farm_move_from from Views. 2018-02-02 15:40:52 -05:00
Michael Stenta
24d6691502 Remove field_farm_move_from field base and instance config. 2018-02-02 14:59:17 -05:00
Michael Stenta
ca0ad53caf Update all Views to use new 'archived' field/filter/sort. 2018-01-31 09:36:51 -05:00
Michael Stenta
8ec7233b03 Add the areas layer group to the asset cluster maps. 2018-01-29 16:21:26 -05:00
Michael Stenta
0c1db68b7b Make "Movement to" field not required. 2017-12-31 11:13:11 -05:00
Michael Stenta
2bba08cdc1 Swap asset cluster and full geometry layers, so that clusters are on top. This is necessary because of commit d266d3df2f. 2017-12-29 16:20:36 -05:00
Michael Stenta
e385792096 Remove secondary log ID sorts (this is done automatically in Log module now). 2017-12-28 11:10:11 -05:00
Michael Stenta
c3a6c9c556 Change "Name/Search" column to "Log name" and add exposed "Log name" and "Log type" filters and sorts to log Views. 2017-12-27 17:34:43 -05:00
Michael Stenta
1af21d48b9 Use innerJoin()s where possible. 2017-12-07 17:38:52 -05:00
Michael Stenta
894d67aea7 Do not include movement logs that are marked as deleted in query. 2017-11-24 21:08:35 -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
dc8e0dd7c9 Return the logs created by helper functions (movements, group, inventory, weight). 2017-11-24 21:00:10 -05:00
Michael Stenta
ef6a04614d Use is_numeric() instead of is_int() when checking log timestamps and entity IDs. 2017-11-24 20:59:17 -05:00
Michael Stenta
6eb6884345 Put inventory and group membership in the right column with location. 2017-11-24 20:58:33 -05:00
Michael Stenta
cc717f2854 Abstract the Views relationship handler for linking assets to their movement logs so that it can be used for other purposes (like group membership). 2017-11-24 20:58:33 -05:00
Michael Stenta
a9743fa150 Query to retrieve movement logs to an area should never use the $single parameter. 2017-11-24 20:57:47 -05:00
Michael Stenta
c00305f71c Add a function for retrieving an area's movement history. 2017-11-24 20:57:47 -05:00
Michael Stenta
ba58dc436a Add a function for getting an asset's next movement log. 2017-11-24 20:57:47 -05:00
Michael Stenta
d27a9114c8 Make farm_log_query() range limit optional with a new $single parameter. 2017-11-24 20:57:47 -05:00
Michael Stenta
6d39abe4d9 Remove $log_id_field parameter from farm_log_query() to simplify. Add the field where needed. 2017-11-24 20:57:47 -05:00
Michael Stenta
9cc6d12162 Add farm_movement_area_movement_query() for building a query that finds movement logs to a specific area. 2017-11-24 20:57:47 -05:00