Commit Graph

7179 Commits

Author SHA1 Message Date
Michael Stenta d2b512725e farmOS 2.0.0-beta3 2022-03-03 12:20:10 -05:00
Michael Stenta 84b2f9ed5a Update Entity API module to 8.x-1.3. 2022-03-03 11:49:31 -05:00
Michael Stenta aea9fb8528 Update Drupal core to 9.3.7. 2022-03-03 11:44:54 -05:00
Michael Stenta 7014bdf953 Issue #3253433 by paul121, m.stenta: Provide a helper function for loading flag options and allowed values 2022-02-28 15:33:07 -05:00
Michael Stenta 45d4246226 Remove farm_flag_applies() helper function. 2022-02-28 15:32:32 -05:00
Michael Stenta 15c2133a57 Merge farm_flag_allowed_values() into farm_flag_options(). Return an array of flag IDs+labels instead of Flag entities, for consistency with other *_options() functions. 2022-02-28 15:32:32 -05:00
Paul Weidner 0e5ec48662 Use farm_flag_allowed_values in farm_ui_views_form_views_exposed_form_alter. 2022-02-28 14:20:38 -05:00
Paul Weidner 93916dd8b6 Use farm_flag_allowed_values in EntityFlagActionForm. 2022-02-28 14:20:38 -05:00
Paul Weidner a0822aedd2 Use farm_flag_allowed_values in farm_flag_field_allowed_values. 2022-02-28 14:20:38 -05:00
Paul Weidner 3a5bdcd017 Add farm_flag_options and farm_flag_allowed_values. 2022-02-28 14:20:38 -05:00
Michael Stenta 1a35a65c66 Consistently provide *_options() helpers for all uses of *_allowed_values(). 2022-02-28 14:20:37 -05:00
Michael Stenta 639ad6e8a7 Rename farm_id_tag_allowed_values() to farm_id_tag_options(). 2022-02-28 13:53:30 -05:00
Michael Stenta 2d9abcac41 Fix Error: Call to a member function get() on null in ContentEntityGeometryNormalizer.php on line 64 #493 2022-02-28 12:48:13 -05:00
Michael Stenta b9fbc01893 Issue #3264564 by paul121, m.stenta: No space rendered in field suffix 2022-02-22 19:33:05 -05:00
Michael Stenta bd6499ecb5 Issue #3265207: API keys directory failure prevents farm client creation 2022-02-18 07:13:21 -05:00
Michael Stenta eb6f1043da Update Drupal core to 9.3.6 for SA-CORE-2022-003 and SA-CORE-2022-004. 2022-02-16 12:47:50 -05:00
Michael Stenta dff4f162ac
Adopt the Contributor Covenant Code of Conduct. 2022-02-16 11:06:19 -05:00
Michael Stenta 426ef150e8 Revert "Add JS to remove IDs from entity autocomplete form elements." Fixes #502
This reverts commit 3365fc5b23.
2022-02-10 10:53:11 -05:00
Michael Stenta 5f246b85e2 Remove extra backtick from docs/development/environment/https.md. 2022-02-10 09:41:27 -05:00
Paul Weidner cb5d969d02 Update documentation for where a list of community modules can be found. 2022-02-07 15:35:44 -05:00
Paul Weidner 073b280d43 Correct list formatting in module development documentation. 2022-02-07 15:27:45 -05:00
Michael Stenta 6cca1b15af Do not use JS nullish coalescing operators. Fixes #501 2022-02-07 15:06:12 -05:00
Michael Stenta a67f241a49 Fix access check for "Developer information" on sensors and data streams. 2022-02-06 12:55:57 -05:00
Michael Stenta 28f83d2af3 Fix backtick in docs/hosting/localization.md. 2022-02-06 12:55:57 -05:00
Michael Stenta 2e914bb66f Issue #3262752: Record type menu items lose translations 2022-02-06 12:55:57 -05:00
Michael Stenta f3ab7df146 Do not translate logger error() and notice() messages.
Fixes error when running drush potx:

[error]  The first parameter to notice() should be a literal
string. There should be no variables, concatenation, constants
or other non-literal strings there.
2022-02-04 13:19:43 -05:00
Michael Stenta 35d30aaa05 Document farmOS cron set up in hosting/install docs. 2022-01-31 07:55:15 -05:00
Michael Stenta 44cd6076e5 Do not allow any classes in SensorAsset migration source unserialize() function.
Fixes coding standard warnings introduced by slevomat/coding-standard.
2022-01-31 07:48:10 -05:00
Michael Stenta 254d3bd459 Use null coalesce operator instead of ternary operator.
Fixes coding standard warnings introduced by slevomat/coding-standard.
2022-01-31 07:47:58 -05:00
Michael Stenta dd6858c86c Include slevomat/coding-standard in phpcs installed_paths config. Fixes #498 2022-01-31 06:44:47 -05:00
Michael Stenta eb8a71db95 Issue #3259245: Change getGroupMembers to return an array of assets keyed by their ID 2022-01-28 09:04:15 -05:00
Paul Weidner 216f4cb26d Add test for recursive group membership. 2022-01-28 08:56:23 -05:00
Paul Weidner 432b81e6fc Return an array of assets keyed by their ID. 2022-01-28 08:56:22 -05:00
Michael Stenta 884bb1e87a Issue #3260645: CSV Export in Quantities not functioning 2022-01-28 08:33:56 -05:00
Michael Stenta 5668a16559 Add Issue #3260645 link to CHANGELOG.md. 2022-01-26 12:14:49 -05:00
Michael Stenta 4cdc881743 Add type-specific fields and filters to quantity CSV export display. 2022-01-26 12:11:57 -05:00
Michael Stenta 7b65b7d8c0 Only show "Export CSV" link on "All" and "By type" quantity displays. 2022-01-26 12:10:06 -05:00
Michael Stenta c637eae02b Display all items in farm_quantity View CSV export display. 2022-01-26 12:06:56 -05:00
Michael Stenta 1bc06a0eb2 Re-export farm_quantity View config per https://www.drupal.org/node/3230199 (no changes). 2022-01-26 12:05:40 -05:00
Michael Stenta e834a8c84e Publish GitHub releases (draft: false) and reformat release body. 2022-01-19 16:02:54 -05:00
Michael Stenta 9766833649 Add enforced module dependencies to farm_people and farm_inventory Views. 2022-01-19 15:10:21 -05:00
Michael Stenta 2b7683205d farmOS 2.0.0-beta2 2022-01-19 13:27:23 -05:00
Michael Stenta 7cd8334340 Update Drupal core to 9.3.3. 2022-01-19 13:16:17 -05:00
Michael Stenta 65c8dabf73 Port Planting Quick Form to v2 #492 2022-01-19 13:15:26 -05:00
Michael Stenta 70c5547a3b Add a Planting quick form module. 2022-01-19 13:00:22 -05:00
Michael Stenta 50fd764c44 Allow term entity to be passed to QuickQuantityTrait::createQuantity(). 2022-01-19 13:00:22 -05:00
Michael Stenta 928f95d3ba Allow full quantity entities to be passed into createLog() values. 2022-01-19 13:00:22 -05:00
Michael Stenta 5ef95da81f Add a QuickStringTrait::prioritizedString() method for joining, prioritizing, and trimming string parts. 2022-01-19 13:00:22 -05:00
Michael Stenta 278efbf27a Ensure the names/labels of assets, logs, terms, and quantities created by quick traits are less than 255 chars. 2022-01-19 13:00:22 -05:00
Michael Stenta 44c51ee957 Add a QuickStringTrait::trimString() method for trimming strings on word boundaries. 2022-01-19 13:00:22 -05:00