Paul Weidner
d8ff8e1cbd
Patch Drupal core to fix Issue #3266341 : Views pagers do math on disparate data types, resulting in type errors in PHP 8
2023-02-28 19:08:04 -08:00
Michael Stenta
6a57206ec2
Move CONTRIBUTING.md to farmOS.org repo. See https://github.com/farmOS/farmOS.org/pull/72
2023-02-25 15:31:26 -05:00
wotnak
b304bff4d2
Fix map ui being unreadable on dark mode #642
2023-02-20 21:50:54 +01:00
Michael Stenta
18599f80c3
Convert geometry values to WKT in GeofieldWidget #640
2023-02-10 11:36:42 -05:00
Michael Stenta
9a422eb516
Add an automated test for the farmOS Geofield widget.
...
This is copied and minimally modified from the upstream
Geofield module's widget tests.
2023-02-10 11:23:11 -05:00
Michael Stenta
f73aa956fe
Fix config schema for field.widget.settings.farm_map_geofield.
2023-02-10 11:19:34 -05:00
Michael Stenta
93e13d6f83
farmOS 2.0.1
2023-02-08 17:54:06 -05:00
Michael Stenta
6ea62c3560
Update Drupal core to 9.5.3.
2023-02-08 17:19:57 -05:00
Michael Stenta
a98fd5742a
Issue #3335267 by m.stenta, farmer-ed, penyaskito: 405 Method Not Allowed when trying to patch entities as a user with non-default language
2023-02-08 16:09:51 -05:00
Michael Stenta
03b81c58f6
Add farm_l10n API kernel test to demonstrate Issue #3335267 : 405 Method Not Allowed when trying to patch entities as a user with non-default language
2023-02-08 16:09:51 -05:00
Michael Stenta
ae4608375e
Add farmOS API kernel tests #638
2023-02-08 13:02:55 -05:00
Michael Stenta
0f23a15d5b
Add CHANGELOG.md line for #683 .
2023-02-08 13:02:45 -05:00
Michael Stenta
b2abb076a2
Test deleting assets and logs.
2023-02-08 13:02:45 -05:00
Michael Stenta
c42c0d60e3
Test updating assets and logs.
2023-02-08 13:02:45 -05:00
Michael Stenta
ad345694c2
Test retrieving assets and logs.
2023-02-08 13:02:45 -05:00
Michael Stenta
492dcb9391
Test creating a log that references an asset.
2023-02-08 13:02:45 -05:00
Michael Stenta
0614b0e709
Test creating an asset and log.
2023-02-08 13:02:45 -05:00
Michael Stenta
63d1f4b8e0
Initial farm_api kernel tests: check /api meta.farm info.
2023-02-08 13:02:45 -05:00
Michael Stenta
c892a6addf
Remove negative sign in front of zero.
2023-02-08 10:56:26 -05:00
Michael Stenta
baf294d3bd
Add @internal to planting quick form class.
2023-02-07 08:31:16 -05:00
Michael Stenta
1b477885dd
Remove time service from planting quick form #636
2023-02-07 08:31:00 -05:00
Michael Stenta
ac72de72ba
Allow setting time in bulk actions and quick forms via datetime element #635
2023-02-04 17:18:00 -05:00
Eric Larese
7c69c6c901
Change asset action date pickers to use HTML5 calendar widgets #630
2023-02-02 11:29:27 -05:00
Michael Stenta
ac11539a81
Remove .github/ISSUE_TEMPLATE config in favor of https://github.com/farmOS/.github/pull/2
2023-02-02 11:06:42 -05:00
Paul Weidner
32842c5e88
Move land and structure type fields higher up for consistency #632
...
Currently the land and structure type field come after status, flags
and owners. This is different than animal and plant assets whose type
field comes immediately after the asset name. Since the land and
structure type are required fields it seems more appropriate to have
them included higher in the form.
2023-02-01 15:18:00 -08:00
Paul Weidner
2165437132
Fix type error when un-assigning asset from group #631
...
Submitting the group asset action form without a group yields the following error:
Message TypeError: array_column(): Argument #1 ($array) must be of type array, null given in array_column()
(line 195 of /var/www/html/web/profiles/farm/modules/asset/group/src/Form/AssetGroupActionForm.php)
One fix is to use the null coalescing operator to return an empty array when the form value is null.
2023-01-31 14:07:11 -08:00
Michael Stenta
637843aabf
Exclude PHP CodeSniffer rule: Drupal.InfoFiles.AutoAddedKeys.Version Project
...
We intentionally include the project in farm.info.yml, because we handle
packaging ourselves via GitHub Actions.
This line was added in https://www.drupal.org/project/farm/issues/3336698
This caused the following CodeSniffer warning:
FILE: /opt/drupal/web/profiles/farm/farm.info.yml
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
1 | WARNING | Remove "project" from the info file, it will be added
| | by drupal.org packaging automatically
----------------------------------------------------------------------
2023-01-27 16:30:24 -05:00
Eric Larese
69f12631e2
Remove un-needed phpstan ignores.
...
See https://github.com/mglaman/phpstan-drupal/issues/474
2023-01-27 14:55:09 -05:00
Michael Stenta
391acb6511
Issue #3336698 : Add "project: farm" to farm.info.yml to fix drupal.org usage statistics
2023-01-26 11:25:23 -05:00
lordeddi
9e308c605a
Add folder creation and clear caches to Configure private filesystem in the Hosting and Environment docs #628
2023-01-23 17:37:49 -05:00
Michael Stenta
a1e49797ed
The #date_year_range property is not used on fields of #type = date.
2023-01-20 08:39:33 -05:00
Michael Stenta
b99f46cce4
farmOS 2.0.0
2023-01-01 08:58:35 -05:00
Michael Stenta
30541854a7
Remove line breaks and whitespace from log CSV quantity cells #622
2022-12-22 19:12:53 -05:00
Michael Stenta
67abb1f12d
Add CHANGELOG.md line for #622 .
2022-12-22 19:05:45 -05:00
Michael Stenta
c61f67866b
Set the Quantity view mode to "Plain text" in farm_log View's "CSV export" display.
2022-12-22 19:05:45 -05:00
Michael Stenta
0b361341e3
Add a plain_text Quantity view mode that strips tags and whitespace.
2022-12-22 19:05:45 -05:00
Michael Stenta
ee67c24af1
Fix link to data streams in asset data model doc.
2022-12-21 16:24:31 -05:00
Michael Stenta
0f8308c06d
Issue #3328419 : Uninstalling farm_ui_views module breaks site
2022-12-20 16:52:16 -05:00
Michael Stenta
fe155f8a16
Prevent circular group membership #562
2022-12-20 12:46:04 -05:00
Michael Stenta
ac54fb4dc2
Make sure log asset != log location in circular location constraint logic #623
2022-12-20 10:45:33 -05:00
Michael Stenta
61fd988044
Prevent circular asset location #568
2022-12-19 16:06:01 -05:00
Michael Stenta
d9bb203249
Update Drupal core to 9.5.x #621
2022-12-19 15:58:49 -05:00
Michael Stenta
b055d3a58f
Add a CHANGELOG.md line for PR 621.
2022-12-16 12:19:39 -05:00
Michael Stenta
e104fa0029
Update patch for Issue #2909128 .
2022-12-16 12:19:39 -05:00
Michael Stenta
bf6dd6a938
Update Drupal core to 9.5.0.
2022-12-16 12:19:39 -05:00
Michael Stenta
45ef7ba4c7
Inherit from the official drupal:9.5 Docker image.
2022-12-16 12:19:39 -05:00
Michael Stenta
f7728db5ff
Update dangoslen/changelog-enforcer to v3.
2022-12-16 08:14:13 -05:00
Michael Stenta
fca83645fb
farmOS 2.0.0-rc1
2022-12-15 17:30:05 -05:00
Michael Stenta
e74486ce68
Update simple_oauth to 5.2.3 and remove merged patch.
2022-12-15 17:30:05 -05:00
Michael Stenta
8162430fee
Update Drupal core to 9.4.9.
2022-12-15 17:29:42 -05:00