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

7804 commits

Author SHA1 Message Date
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
Michael Stenta 91f5edc75c Update Admin Toolbar module to ^3.2. 2022-11-28 08:27:23 -05:00
Michael Stenta aa78bb096d Update docker/login-action to v2. 2022-11-26 09:02:48 -05:00
Michael Stenta bb98417b2b farmOS 2.0.0-beta8.1 2022-11-26 08:23:34 -05:00
Michael Stenta 70fa979440 Fix update hook for converting lab to taxonomy #606 2022-11-26 08:22:01 -05:00
Michael Stenta 472acbf8ed farmOS 2.0.0-beta8 2022-11-25 13:19:50 -05:00
Michael Stenta be1ec697f0 Update Drupal core to 9.4.8. 2022-11-25 13:15:24 -05:00
Michael Stenta 3ebcffd4f5 Pin simple_oauth module to 5.2.2 because we are patching it. 2022-11-25 13:14:25 -05:00
Michael Stenta 0b85081d23 Describe the lab field type change in docs/development/api/changes.md. 2022-11-25 13:11:04 -05:00
Michael Stenta 8b49a232e2 Add tissue lab test type #605 2022-11-25 12:03:39 -05:00
Michael Stenta 90e9e2aad7 Add a test quantity type with test method taxonomy #604 2022-11-25 12:03:14 -05:00
Michael Stenta 347de7aac7 Convert lab field to term reference on lab test logs #603 2022-11-25 12:02:38 -05:00
Michael Stenta f5536f4a30 Add a CHANGELOG.md line for #604. 2022-11-25 12:02:38 -05:00
Michael Stenta fbd754e867 Add "Date received" and "Date processed" fields to lab test logs #602 2022-11-25 12:02:38 -05:00
Michael Stenta 96cb706cab Change "Test method" field to a taxonomy term reference. 2022-11-25 12:02:38 -05:00
Michael Stenta c100569bf7 Rearrange lab test log field definitions to match their weights. 2022-11-25 12:02:38 -05:00
Michael Stenta 80f75ebcb2 Change "Lab" quantity to "Test" quantity to be more general. 2022-11-25 12:02:38 -05:00
Michael Stenta 21c0fb4163 Use lab quantity as default in lab_test logs. 2022-11-25 12:02:38 -05:00
Michael Stenta 42e446470a Add a "Lab measurement" quantity type with a "Lab method" string field. 2022-11-25 12:02:38 -05:00
Michael Stenta 8087b498d3 Improve dependency relationships of asset/log/quantity modules #601 2022-11-25 12:02:11 -05:00
Michael Stenta 3e209afc3e Add CHANGELOG.md for #601. 2022-11-25 07:04:45 -05:00
Michael Stenta 2d2d9b2a24 Describe the reasoning behind dependencies in module dev docs. 2022-11-22 16:20:40 -05:00
Michael Stenta 114f6edfbf All log modules depend on log:log. 2022-11-22 16:20:40 -05:00
Michael Stenta c0bd88f3da All asset modules depend on farm:asset. 2022-11-22 16:20:40 -05:00
Michael Stenta 9022ff0f8c All quantity modules depend on farm:farm_entity. 2022-11-22 16:20:40 -05:00
Michael Stenta 305f430dfc The log.type.input config depends on farm_quantity_material. 2022-11-22 16:20:40 -05:00
Michael Stenta 728797f0f6 Remove dependency on farm_quantity_standard from farm_inventory. 2022-11-22 16:20:40 -05:00
Michael Stenta 165547d94f Add asset/log dependencies to farm_quick_test.info.yml. 2022-11-22 16:20:40 -05:00
Michael Stenta 6c5f42b98f Use default quantity type in QuickQuantityTrait.
This removes the dependency on farm_quantity_standard.
2022-11-22 16:20:40 -05:00
Michael Stenta 0825dc7a50 Add a reusable function for determining default log quantity type. 2022-11-22 16:20:40 -05:00
Michael Stenta 961e189e9b Issue #3323108: Action links block overrides break farmOS installation from config 2022-11-22 11:50:37 -05:00
Michael Stenta 68a85c23ef Patch simple_oauth to fix Issue #3322325. 2022-11-21 19:21:48 -05:00
Michael Stenta 98fb29b60b Fix input log quantity material migration #598 2022-11-21 17:50:27 -05:00
Michael Stenta 95eed39a16 Add CHANGELOG.md line for #598. 2022-11-21 14:00:10 -05:00
Michael Stenta 1e2c6de178 Provide a post-update hook for fixing previously migrated input logs quantity material terms. 2022-11-21 14:00:10 -05:00
Michael Stenta c7c94b84a4 Mark the CreateQuantity migrate process plugin as @internal. 2022-11-21 13:54:26 -05:00
Michael Stenta ed7ec99e11 Change CreateQuantity migrate process plugin to handle_multiples to fix issue with migrated material terms. 2022-11-21 13:54:26 -05:00
Paul Weidner fe324c5eed Change default client secret to be NULL to avoid issue #3322325 #597 2022-11-20 14:07:16 -05:00
Michael Stenta 9a968c5a2d Announce new releases on Mastodon/Twitter via farmOS-microblog #599 2022-11-20 12:30:29 -05:00
Michael Stenta d30502e988 Issue #3203129: Use GitHub Actions to build Docker Hub images 2022-11-20 09:42:08 -05:00
Michael Stenta e65f9a6d4f Fix whitespace in composer.json. 2022-11-20 09:20:22 -05:00
Michael Stenta 1f1d9dd4c3 Render link to taxonomy terms in farm entity views #595 2022-11-18 11:45:03 -05:00
Michael Stenta 41038dad7b Add CHANGELOG.md line for #595. 2022-11-18 11:44:33 -05:00
Paul Weidner 9cb0897ca0 Render link to log category taxonomy term in log views 2022-11-18 11:43:11 -05:00
Paul Weidner 3c154b34c8 Render link to referenced taxonomy terms for fields dynamically added to farm entity views 2022-11-18 11:43:10 -05:00