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

1208 commits

Author SHA1 Message Date
Michael Stenta 9214d72a24 Add a general-purpose farm_term_parse_names() function that farm_area_parse_names() can delegate to. 2020-05-24 15:47:32 -04:00
Paul Weidner a40dc48661 Allow multiple seasons to be added in planting quick form. 2020-05-24 12:57:00 -04:00
Paul Weidner 5c4ca3f33f Add farm_season_parse_names helper function. 2020-05-24 12:57:00 -04:00
Paul Weidner 92d0bc8221 Add season to an array of seasons on the planting. 2020-05-24 12:57:00 -04:00
Michael Stenta de736afad1 Fix PHP Notice: Undefined offset: 0 in farm_api_restws_request_alter() 2020-05-19 15:53:06 -04:00
Michael Stenta d44bb13648 Issue #3136210: Add 'data_schema' to farm.json resource fields info 2020-05-16 10:55:50 -04:00
Michael Stenta c47fc86cf6 Add special logic for auto-creating terms by name in the "unit" field in "Quantity" field collections. 2020-05-16 10:55:50 -04:00
Michael Stenta 8c5d7c8ac3 Fix PHP Notice: Trying to get property 'name' of non-object 2020-05-13 12:31:38 -04:00
Michael Stenta 6b05852de1 Issue #3136150: Allow plantings to reference multiple seasons 2020-05-13 10:01:44 -04:00
Michael Stenta fcc1a2d708 Sort "Upcoming tasks" by timestamp ascending. 2020-05-13 10:00:29 -04:00
Michael Stenta 40f0eb51fc Add Mapbox watermark and attribution. 2020-05-12 09:38:30 -04:00
Michael Stenta 5819932dd0 Add a "Pressure" measure. 2020-05-12 06:45:57 -04:00
Michael Stenta 7a06a289be Fix API term creation for fields that only accept a single term (eg: field_farm_season). 2020-05-11 19:20:36 -04:00
Michael Stenta 8cf270502f Fix term filter for terms with numeric names (eg: Season term of "2020"). 2020-05-11 19:19:51 -04:00
Michael Stenta b861608820 Rename farmos_field_kit client to farm_client for consistency. 2020-05-11 12:03:21 -04:00
Paul Weidner 4285535fa8 Add OAuth client with client key 'farmos_field_kit'. 2020-05-11 12:03:17 -04:00
Michael Stenta 230d931944 Initial farm_client module for integrating farmOS server and client. 2020-05-11 11:56:39 -04:00
Michael Stenta db27caee38 Fix extra space between season and crop when location isn't specified. 2020-05-11 11:33:48 -04:00
Michael Stenta bb66528f29 Improve seeding/transplanting location description. 2020-05-11 11:33:30 -04:00
Paul Weidner bab224326a Update date_year_range to be -10:+3 to match other date selectors. 2020-05-11 11:05:34 -04:00
Paul Weidner d1363c4bc5 Add descriptions to Crops and Location fields. 2020-05-11 11:05:34 -04:00
Paul Weidner 91b3494fc3 Trim location to ensure asset name is less than 255 char. 2020-05-11 11:05:34 -04:00
Paul Weidner b3c712f1e2 Disable length limit on Log Location field. 2020-05-11 11:05:34 -04:00
Paul Weidner 66c80a28d1 Limit the planting asset name to 255 char. 2020-05-11 11:05:34 -04:00
Michael Stenta 451349ebda Enable default farmOS OAuth client on existing installs. 2020-05-11 10:48:40 -04:00
Paul Weidner 6a872fc88c Provide a farmOS Default OAuth client. 2020-05-11 10:48:40 -04:00
Paul Weidner 41283012d7 Allow OAuth clients to override some server-level settings. 2020-05-11 10:48:40 -04:00
Michael Stenta 274c1f6567 Bump the farmOS API version to 1.3. 2020-05-11 10:48:19 -04:00
Michael Stenta c6afabe9d4 Depend on the farm_term module. 2020-05-11 10:06:09 -04:00
pcambra 2d91f6287a Issue #3134067 by pcambra: Restws: POSTing a new log should autocreate the term by name 2020-05-11 09:45:22 -04:00
pcambra ffcf06f81c Issue #3134065 by pcambra: Restws: Taxonomy terms should have a name property besides the tid 2020-05-11 08:45:27 -04:00
Michael Stenta 580b3f3440 Limit the term lookup by vocabulary. 2020-05-11 08:21:12 -04:00
pcambra 529599244f Issue #3134066 by pcambra: Restws: Allow filtering by term name, not only term id 2020-05-11 08:21:05 -04:00
Michael Stenta 4fda841b34 Add 'collapsible' class so that the fieldset up/down icon is added by farm_theme. 2020-05-08 08:53:29 -04:00
Michael Stenta 9bea88bc74 Make all entity views groups collapsible. 2020-05-07 12:10:01 -04:00
Michael Stenta 974da4e5d9 Allow modules to define plan record tables that create relationships to multiple records. 2020-05-06 13:31:09 -04:00
Michael Stenta ce25c3c73f Allow record relationships to define a human-readable label. 2020-05-06 11:46:42 -04:00
Michael Stenta 0ff7aca7aa Allow modules to define their own plan record relationship tables with hook_farm_plan_record_relationships(). 2020-05-06 09:44:37 -04:00
Michael Stenta ca6fe1d7f8 Move "History of Assets" entity view to its own collapsed group, directly under the Assets group. 2020-04-24 10:53:03 -04:00
Michael Stenta 9cc6b1ca13 Document that entity view groups can be collapsed. 2020-04-24 10:52:43 -04:00
Michael Stenta 74515d8ca3 Spread out the weights of entity view groups provided by the Farm UI module, so that it's easier to put other groups in between them. 2020-04-24 10:52:07 -04:00
Michael Stenta 31fbaeb902 Fix Cannot filter the "History of Assets" in an Area #270 2020-04-24 10:29:26 -04:00
Michael Stenta 747153bf1a Add the ability to filter the Quantity Report results by the group that assets are in. 2020-04-24 09:52:33 -04:00
Michael Stenta 76341701e9 Add start and end date filters to Quantity Report. 2020-04-24 09:52:04 -04:00
Michael Stenta f3d0a9af40 Summarize results at the bottom of the Quantity Report. 2020-04-24 09:51:44 -04:00
Michael Stenta e48f178ede Remove l10n_update_download_store and language_negotiation_* variables from farm_l10n. 2020-04-24 09:23:22 -04:00
Michael Stenta 25520a794d Add translatable for Files field in soil tests View. 2020-04-23 14:59:43 -04:00
Michael Stenta 00b753a45b Move translatables code block in farm_sensor_data Views definition. 2020-04-23 14:59:43 -04:00
Michael Stenta 2e12d76553 Issue #3129409: Use click sorting instead of exposed sort in Views 2020-04-23 14:59:43 -04:00
Michael Stenta 8f01b05a58 Add note to farm_log_entity_label_summary() emphasizing that it is the responsibility of downstream code to sanitize entity labels. 2020-04-23 11:30:02 -04:00