Paul Weidner
79822dc7ba
Re-export farm_plan Views config per https://www.drupal.org/node/3230199 (no changes).
2022-05-06 09:20:36 -04:00
Paul Weidner
426b001bdd
Remove create() implementations from classes that do not implement ContainerInjectionInterface #530
2022-05-06 09:17:10 -04:00
Paul Weidner
3bbad9bb36
Remove GinSidebarOpen setting.
2022-05-05 11:31:11 -07:00
Paul Weidner
6b4d1ebca7
Decrease weight of farm info settings task link #528
2022-04-22 14:41:55 -04:00
Paul Weidner
305e8f76b7
Update toolbar logo spacing for gin beta #527
2022-04-22 14:38:43 -04:00
Paul Weidner
4949c34426
Do not check php-geos requirement in the update phase #526
2022-04-22 13:02:35 -04:00
Michael Stenta
b32cc453af
Issue #3275161 : Allow IMG tags in default text format
2022-04-20 11:34:41 -04:00
Symbioquine
a760005c7c
Link from entities to their referenced terms and show entity views on taxonomy terms #458
...
**Why?** Make it possible for novice users to find data and explore connections
between assets/logs without needing to totally grok the farmOS data model first.
i.e.
* Navigate from a plant asset to a list of all the seed/plant assets with the same crop/variety
* Navigate from a plant asset to a list of all the seed/plant assets from the same season
* Navigate from a log in the compost category to a list of all the logs in the compost category
* Navigate from a material asset to a list of all the materials with the same material type
2022-04-13 06:17:56 -07:00
Michael Stenta
94d766604d
Replace deprecated drupal_get_path() with \Drupal::service('extension.list.module')->getPath().
2022-04-07 19:28:26 -04:00
Michael Stenta
af8d34a2fb
Add an update hook to update Gin logo settings.
2022-04-07 18:03:09 -04:00
Paul Weidner
b1a5fc20be
Remove the body top padding in the map popup.
2022-04-07 16:25:04 -04:00
Paul Weidner
5c9858f5b9
Update to new gin logo settings schema.
2022-04-07 16:25:04 -04:00
Michael Stenta
fd23befa83
Implement hook_requirements() to check for GEOS PHP extension.
2022-04-07 14:23:38 -04:00
Michael Stenta
11cc36accf
Fix Non-namespaced classes/interfaces/traits should not be referenced with use statements #511
...
See https://github.com/farmOS/farmOS/pull/511#issuecomment-1076842769
2022-03-23 21:04:48 -04:00
Paul Weidner
e9307ea3f7
Include list_string, timestamp and boolean bundle fields in views #516
2022-03-23 21:00:48 -04:00
Paul Weidner
3c5b2c7075
Allow importing KML with empty geometries #510
...
Create an empty collection if no geometry was loaded.
2022-03-21 19:56:18 -04:00
Paul Weidner
8a562d673e
Do not add views handlers for unsupported field types #512
2022-03-21 19:49:21 -04:00
Paul Weidner
6cb3959c9c
Add case for string fields.
2022-03-21 19:48:57 -04:00
Paul Weidner
eef569dd1d
Issue #3269543 by paul121: Automatically remove prepopulated entities from quick forms
...
Save prepopulated entities in a form state temporary value to reset the temp store value.
2022-03-21 19:44:38 -04:00
Paul Weidner
1d1b360a0a
Use farm_land_type_options() in KmlImporter #513
...
farm_land_type_options should be used here instead of farm_land_type_field_allowed_values.
2022-03-21 19:38:28 -04:00
Paul Weidner
2be0b852db
Only require a name to build map popups #515
...
This allows popups to be rendered for multipolygon geometries
that will not have a measurement calculated.
2022-03-21 19:21:09 -04:00
Michael Stenta
a43a06d0d3
Fix drush farm_migrate migration group logs (don't use placeholder).
2022-03-17 14:37:02 -04: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
bd6499ecb5
Issue #3265207 : API keys directory failure prevents farm client creation
2022-02-18 07:13:21 -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
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
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
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
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
9766833649
Add enforced module dependencies to farm_people and farm_inventory Views.
2022-01-19 15:10:21 -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
Michael Stenta
e2b6502f27
Make all quick trait methods protected.
2022-01-19 13:00:22 -05:00