Commit Graph

4205 Commits

Author SHA1 Message Date
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 c7c0a20d69 Merge branch 'oauth-default-client' into 7.x-1.x #238 2020-05-11 10:48:54 -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 1cfd191bd9 Merge branch 'build-test' into 7.x-1.x 2020-05-08 09:00:28 -04:00
Michael Stenta 46004d7c7c Limit the action to the 7.x-1.x branch. 2020-05-08 09:00:10 -04:00
Michael Stenta f1ed985032 Create farmOS.tar.gz to speed up artifact upload. 2020-05-08 09:00:10 -04:00
Michael Stenta 382892dfce Create an artifact of the farmOS codebase built by Drush Make. 2020-05-08 09:00:10 -04:00
Michael Stenta 065f5bd3ad Set FARMOS_BRANCH environment variable. 2020-05-08 09:00:10 -04:00
Michael Stenta bec27d301e Add a GitHub action that tests the Docker and Drush Make builds. 2020-05-08 09:00:10 -04:00
Michael Stenta 13e90dcd04 Search and replace the repo and branch in build-farm.make so that Drush builds the desired version. 2020-05-08 08:55:04 -04:00
Michael Stenta 945685b9c7 Allow the farmOS Git repository to be overridden with ARG FARMOS_REPO. 2020-05-08 08:55:04 -04:00
Michael Stenta bf537e6cce Rename ARG FARMOS_VERSION to FARMOS_BRANCH in dev image. 2020-05-08 08:55:04 -04:00
Michael Stenta 3501c4c9df Use ARG instead of ENV in Dockerfiles for variables that are only needed during build. 2020-05-08 08:55:04 -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