3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

7564 commits

Author SHA1 Message Date
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
Michael Stenta 801fe03b37 Issue #3310286: Add $timestamp parameter to service methods 2022-12-15 17:28:56 -05:00
Michael Stenta 139fb28341 Add CHANGELOG.md line for Issue #3310286. 2022-12-15 14:06:31 -05:00
Michael Stenta 272e698e87 Issue #3310286: Add $timestamp parameter to asset.inventory service methods 2022-12-15 14:06:30 -05:00
Michael Stenta 7c9ef9a8bd Issue #3310286: Add $timestamp parameter to group.membership service methods 2022-12-15 14:06:30 -05:00
Michael Stenta d154db811c Issue #3310286: Add $timestamp parameter to asset.location service methods 2022-12-15 14:03:27 -05:00
Michael Stenta 0b3533e0f0 Only show the first quantity in log Views #619 2022-12-13 09:43:45 -05:00
Paul Weidner 6a6b7a55c3 Shorten name of tests and delivery workflow #617
This makes it easier to read the results of individual jobs in this workflow.
2022-12-06 14:35:52 -05:00
Paul Weidner ad946875de Include GEOS version in status report #614 2022-12-06 10:17:34 -08:00
Paul Weidner 37314b8864 Fix enable/disable buttons on data stream notifications page #613 2022-12-06 11:48:43 -05:00
Paul Weidner ec5b39af83 Fix TypeError when adding email delivery #616 2022-12-06 10:42:03 -05:00
Michael Stenta c89314750f Document test quantity type in data model docs. 2022-12-06 09:58:30 -05:00
Michael Stenta c787d7e256 Remove default_measure configuration from quantity type definitions #612
This was originally added so that the Price quantity type could set its
default measure to "value" all the time. This was back when price
quantities were part of farmOS core. It was then moved to the
farm_ledger contrib module, and is being refactored such that it will no
longer need to make use of this default_measure configuration.
2022-12-02 14:02:24 -05:00
Michael Stenta d5a87aa3e8 Wrap table names in curly braces. 2022-12-02 08:06:50 -05:00
Michael Stenta b18395c18f Patch simple_oauth to fix Issue #3323009: Tests fail when client_secret has space at beginning or end 2022-11-29 16:53:45 -05:00
Michael Stenta 7c1aa73a34 Fix migration of lab field to taxonomy terms #611
PR #603 changed the "Laboratory" field from a simple text field to a
taxonomy term reference field. But it did not update the v1 migration
logic accordingly.

See https://github.com/farmOS/farmOS/pull/603
2022-11-29 14:56:42 -05:00