Commit Graph

7548 Commits

Author SHA1 Message Date
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
Paul Weidner 0effe2167e Fix managed role form alter for individual role permissions page #610 2022-11-29 11:48:36 -08:00
Paul Weidner 03a60cfc11 Chain the flag specific class after the generic flag class
This ensures that the flag specific class will be more specific
than the generic flag class. This pattern isn't necessary for the flag
classes in this file since the generic flag class is defined first, but
this pattern is necessary for other modules to provide styles for flags.
2022-11-29 06:37:30 -05:00
Paul Weidner 87e76a4bfb Correct CSS classname for priority flag #609 2022-11-29 06:37:29 -05:00
Paul Weidner 351e0b0cc7 Correct hook_farm_update_exclude_config API docs #608 2022-11-28 16:41:13 -08:00
Michael Stenta b4b3c4825f Issue #3186530: farmOS 2.x PHP 8 support 2022-11-28 14:27:56 -05:00
Michael Stenta 7c01d2bdd4 Update CHANGELOG.md with info about PHP 8 and PHP 7.4 support moving forward. 2022-11-28 08:50:29 -05:00
Michael Stenta b4f75a55b0 Update installation docs to require PHP 8+. 2022-11-28 08:50:29 -05:00
Michael Stenta 329ab9cfb4 Inherit from drupal:9.4 Docker image (for https://github.com/farmOS/farmOS/pull/566). 2022-11-28 08:50:29 -05:00
Michael Stenta 6686e1a1c3 Clone php-geos repository at the latest commit that adds PHP 8 support.
PHP 8 support has been added upstream. See:

https://git.osgeo.org/gitea/geos/php-geos/issues/26
https://git.osgeo.org/gitea/geos/php-geos/issues/27
2022-11-28 08:50:29 -05:00
Michael Stenta ae3bb892cd Patch php-geos for PHP 8 compatibility.
See https://git.osgeo.org/gitea/geos/php-geos/issues/26#issuecomment-8988
2022-11-28 08:50:29 -05:00
Michael Stenta ec354218df Inherit from drupal:9.3 Docker image (PHP 8). 2022-11-28 08:50:29 -05:00
Michael Stenta 12e458f8fe Use paratest -vv parameter instead of --verbose=1
See https://github.com/paratestphp/paratest/issues/633
2022-11-28 08:50:29 -05:00
Michael Stenta 0c553608c7 Update brianium/paratest dev dependency to ^6 for PHP 8 support. 2022-11-28 08:50:29 -05:00
Michael Stenta 2a83f8a77b Update migrate_plus and migrate_tools to ^6.0. 2022-11-28 08:41:05 -05:00
Michael Stenta 451215f63b Issue #3308740: Update Drush to ^11 2022-11-28 08:41:05 -05:00
Michael Stenta 6770a05e33 Explode drupal/core-dev require-dev dependency into the minimum packages we need.
The drupal/core-dev package is simply a shortcut for including
dependencies necessary for running automated tests.
See https://github.com/drupal/core-dev/blob/9.4.x/composer.json

It is designed specifically for running Drupal core automated
tests. We used it as a simple way to get our automated tests
running initially, but it includes some dependencies that we do
not need.

It also pins some package versions, including symfony/finder and
symfony/filesystem. This caused an issue for us when we refactored
our composer.json files to use composer-merge-plugin. We got
around this issue by pinning symfony/finder to ^4.

See https://www.drupal.org/project/farm/issues/3239420
See bd33d0f139

Furthermore, in testing Drush 11, I discovered that a similar
conflict started occurring with symfony/filesystem (presumably
because Drush depends on that as well now). I eventually managed
to get it to work by pinning symfony/filesystem as well, but only
if I moved both pins to the root farmOS composer.json (it didn't
fix it if they were in composer.project.json). That is what
ultimately drove me to dig into this and decide to split up our
dependency on drupal/core-dev.

By removing the dependency on drupal/core-dev, we no longer have
the issue with symfony/finder, so that pinned dependency can
be removed.

I repeatedly ran tests with as few of the drupal/core-dev
dependencies as possible until tests started passing again. So
this final list represents the minimum requirements for our
tests.
2022-11-28 08:29:00 -05:00