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

1193 commits

Author SHA1 Message Date
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
Michael Stenta 6bd7c0aa84 Don't escape more variables that are being saved to log names. 2020-04-23 11:29:45 -04:00
Michael Stenta 327894095f Escape special characters in entity_label() usages. 2020-04-23 11:29:19 -04:00
Michael Stenta ba90a84c19 Don't escape measure and units before saving them. They will be sanitized by Drupal when they are loaded into the form #default_value. 2020-04-23 10:49:24 -04:00
Michael Stenta 9b1a87dcbe Translate untranslated drupal_set_message() function calls. 2020-04-23 10:46:19 -04:00
Michael Stenta 27f657d399 Escape characters in log names through quick forms #265 2020-04-23 10:21:10 -04:00
Michael Stenta 0944d92ad1 Fix preg_match() in birth and milk quick forms to work with archived assets. 2020-04-23 09:40:49 -04:00
Michael Stenta e485fc16bf Use htmlspecialchars() instead of check_plain() in asset and field autocompletes to preserve apostrophes. 2020-04-23 09:35:48 -04:00
Michael Stenta 7069c8eff9 Generalize "Archive assets" importer target and add to all log type importers. 2020-04-23 08:26:49 -04:00
Michael Stenta 247bc024ad Trim whitespace from Asset IDs in CSV imports. 2020-04-23 07:41:47 -04:00
Michael Stenta 8bbc67a784 Only archive assets that are not already archived. 2020-04-23 07:39:39 -04:00
pcambra 202a34f291 Issue #3128665 by pcambra: Archive assets via Harvest log CSV importer 2020-04-23 07:38:42 -04:00
Michael Stenta ff88327dac Issue #3092756: Add quantity fields to medical logs 2020-04-21 14:49:21 -04:00
Michael Stenta 81daf61664 Issue #2784911: Add quantity fields to water test logs 2020-04-21 14:49:21 -04:00
Michael Stenta 6cb3626faf Issue #2784911: Add quantity fields to soil test logs 2020-04-21 14:49:21 -04:00
Michael Stenta 75a4e8e491 Issue #3092757: Add Vet field to Medical log 2020-04-21 14:49:17 -04:00