Commit Graph

8086 Commits

Author SHA1 Message Date
Michael Stenta 7329866866 Update drupal/entity_reference_revisions to 1.11. 2024-01-18 16:23:31 -05:00
Michael Stenta 11b256b33a Remove farm.settings.farm_info menu link.
This is currently the only sub-menu link provided for
settings pages, which is weird. This is a quick fix which
now forces users to click "Settings" to see all the sub-tabs,
instead of thinking there is only one by looking at the
toolbar menu. In a follow-up we may consider providing a
deriver that automatically generates menu links for each
sub-tab so they all show in the toolbar menu. It would be
burdensome to require every module that provides a settings
tab to also add a menu link.
2024-01-18 16:23:31 -05:00
Michael Stenta 004ecd8e9e Allow users with asset view access to see asset/[id]/locations. 2024-01-18 15:09:17 -05:00
Michael Stenta 2a992f5a7c Filter out assets that the user can't view. 2024-01-18 15:08:35 -05:00
Michael Stenta f1c6a47846 Prevent users without asset edit access from moving them in location hierarchy. 2024-01-18 14:41:21 -05:00
Michael Stenta 31c5280662 Fix duplicated revision tab on entities #773 2024-01-18 06:25:14 -05:00
Michael Stenta 8091b51561 Update satellite map layer instructions in installation guide.
We no longer include Google Maps layers in farmOS core.
Simplify the docs by only describing how to enable Mapbox
layers.
2024-01-18 06:22:31 -05:00
Michael Stenta ca3bc10c7d Add Mapbox module to /setup/modules. 2024-01-18 06:22:31 -05:00
Michael Stenta 83b15287ba Update Drupal core to 10.2.2. 2024-01-17 15:41:04 -05:00
Michael Stenta 8f73c593a1 Fix Error: Call to a member function label() on null in farm_ui_views_views_pre_render().
These errors generally only happen for admins editing Views
through the UI. This makes the code more defensive.
2024-01-16 17:28:59 -05:00
Paul Weidner 17b792aca7 Patch drupal/core to fix Issue #3414883: datetime_timestamp widget does not use default field value #771
The datetime_timestamp widget does not use default field value.
This means that the timestamp field in the log form does not have a
default value and requires the user to input a value before submitting the form
2024-01-16 14:24:14 -05:00
Michael Stenta 68ae993c41 Add min/max options to integer fields in farm_field.factory #768 2024-01-12 05:51:45 -05:00
Michael Stenta 5f09c940c1 Use paratest to speedup tests in Github actions workflow #762 2024-01-11 13:02:52 -05:00
wotnak 8c1fd8fe11 Install pg_trgm PostgreSQL extension before starting tests to avoid race conditions when trying to automatically install it in concurrently run tests 2024-01-11 13:02:27 -05:00
wotnak 8ce641adc5 Revert "Use phpunit instead of paratest."
This reverts commit 6a9c872e9b.
2024-01-11 13:00:57 -05:00
Michael Stenta df0c25f047 Add step to configurable quick form documentation that describes setting #default_value. 2024-01-10 08:18:02 -05:00
Michael Stenta 1d6804d7b4 Remove accidentally merged placeholder text from docs/hosting/migration.md. 2024-01-10 08:17:25 -05:00
Michael Stenta f9225c05f4 farmOS 3.0.0 2024-01-05 11:45:48 -05:00
Michael Stenta 6d68c387fd Update entity_browser module to ^2.10 and remove patch merged upstream. 2024-01-05 11:40:51 -05:00
Michael Stenta 75f0a2f4b6 Update to Drupal 10.2 #765 2024-01-05 11:40:23 -05:00
Michael Stenta 3c77ef281d Update Drupal core to 10.2.1. 2024-01-05 11:40:02 -05:00
Paul Weidner ed0c286247 Remove time format from description
See https://www.drupal.org/node/3385058

Fix: Call to deprecated method formatExample() of class Drupal\Core\Datetime\Element\Datetime: in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.
2024-01-05 10:23:23 -05:00
Paul Weidner f3422c54e0 Update Drupal core to 10.2.0 2024-01-05 10:23:23 -05:00
Michael Stenta 5617e81a0d Issue #3410701: Deprecate d7_asset plugin 2024-01-04 16:45:35 -05:00
Michael Stenta 215b67b58a Composer documentation fixes #761 2024-01-04 06:07:57 -05:00
Michael Stenta 61845e53cb Composer create-project fails with "Could not find package farmos/project with stability stable." Fixes farmOS/composer-project#10
See https://github.com/farmOS/composer-project/issues/10
2023-12-27 12:35:00 -05:00
Michael Stenta 9f44c64e99 Fix typo in docs/hosting/composer.md. 2023-12-27 12:34:26 -05:00
wotnak a2bd7136cf Configure www service to wait for db service to be healthy instead of only started #758 2023-12-22 06:17:47 -05:00
wotnak 1773a2eae5 Add healthcheck to MariaDB container to ensure it is ready to accept external connections before reporting as ready #758 2023-12-22 06:17:37 -05:00
Paul Weidner 0e211cb33c Increase weight of Asset and Log tasks on canonical user route #757
The current weight of these menu items is 0 and makes it challenging to
place other menu tasks between Edit and Asset. I would like to add a
Notifications task item and keep it closer to the edit task.
2023-12-09 07:08:03 -08:00
Michael Stenta 8147d47c88 Move quick form Kernel tests directory into src directory. 2023-12-07 14:32:13 -05:00
Paul Weidner d16bc107ad Use strict identical operator when checking geometry format #756 2023-11-30 14:02:13 -05:00
Paul Weidner 56b3b4de95 Correct alter hook to add password grant to static scopes #755 2023-11-30 13:55:52 -05:00
Michael Stenta a07a491903 farmOS 3.0.0-beta3 2023-11-27 14:42:12 -05:00
Michael Stenta 845ee7f6cb Update drupal/state_machine to ^1.9 and remove merged patch. 2023-11-27 13:59:03 -05:00
Michael Stenta 9d8dc8dd1f Only create releases on tag pushes to the official repository. 2023-11-27 13:40:49 -05:00
Michael Stenta 485908beb0 Fix composer require farmos/farmos version constraint in build-farmOS.sh. 2023-11-27 13:40:49 -05:00
Michael Stenta c0804bb22d Only add farmOS repository to composer.json for non-tag versions. 2023-11-27 13:40:23 -05:00
Michael Stenta 19f227a8f6 Fix KML serialization #753 2023-11-27 11:47:09 -05:00
Michael Stenta 7e3422cd4d Add CHANGELOG.md line for #753. 2023-11-27 11:44:53 -05:00
Paul Weidner b97184d165 Use ContentEntityInterface as type when normalizing to geometry_* formats 2023-11-27 11:44:53 -05:00
Paul Weidner 94c9fe9ed0 Use GeometryWrapper as type when normalizing to geometry_kml format 2023-11-27 11:44:53 -05:00
Michael Stenta 8f2efe2724 Add default view_builder handler for plan type, for consistency.
Both asset type and plan type use a "canonical" link.
2023-11-27 11:44:31 -05:00
Paul Weidner 808a6abb58 Add default view_builder handler for asset type #752
This fixes a potential bug where the canonical route is not created if a view_builder is not provided.
2023-11-27 10:28:55 -05:00
Michael Stenta 97cf31b5bd Remove unnecessary/incorrect consumer owner_id/user_id lines. 2023-11-06 11:51:21 -05:00
Michael Stenta 0df3970683 Create multi-stage dockerfile #734 2023-11-06 11:47:49 -05:00
AlMaVizca 9d5f8244ed Build PHP dependencies in one stage. 2023-11-06 09:55:22 -05:00
AlMaVizca e7774c5321 Use a multi-stage Docker image build process and clean up dependencies. 2023-11-06 09:55:09 -05:00
AlMaVizca eb52d4ff2d Move configuration to separate files to improve Dockerfile legibility. 2023-11-06 09:55:09 -05:00
AlMaVizca 949f69269d Use docker-php-ext-enable to enable XDebug extension. 2023-11-06 09:55:09 -05:00