Jotham Gates
052e106fc2
Works with assets and logs
2022-04-18 21:58:53 +10:00
jgOhYeah
218ad1c476
Merge branch 'farmOS:2.x' into AssetOwners
2022-04-02 12:46:42 +11: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
254d7f67be
Update Drupal core to 9.3.9.
2022-03-21 18:52:26 -04:00
Michael Stenta
9f645c0470
Update CHANGELOG.md for Drupal 9.3.8.
2022-03-21 11:24:15 -04:00
Michael Stenta
4739706648
Update Drupal core to 9.3.8.
2022-03-17 14:37:47 -04:00
Michael Stenta
a43a06d0d3
Fix drush farm_migrate migration group logs (don't use placeholder).
2022-03-17 14:37:02 -04:00
Jotham Gates
a24ab68328
Added owner to asset filters
2022-03-07 23:01:55 +11:00
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
Jotham Gates
e539bfb7f8
Modified views to add owner to asset & asset to user
2022-02-26 00:52:56 +11:00
Jotham Gates
76cce7d908
Added owners field to assets as well as logs
2022-02-23 23:51:53 +11: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