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

251 commits

Author SHA1 Message Date
paul121 3ea92538b2 Simplify reference to timezone.default config. 2020-09-15 09:22:54 -07:00
paul121 1c5e067662 Add default country setting to Farm Info settings form. 2020-09-15 09:22:42 -07:00
paul121 a3a2f62898 Add site name setting to Farm Info settings form. 2020-09-15 09:14:41 -07:00
paul121 666c3a7af0 Use parent submitForm method to display generic message that config was saved. 2020-09-15 09:13:41 -07:00
paul121 0826801293 The ModuleExtensionList class is not stable. Use the module_handler service to get module names. 2020-09-10 11:34:01 -07:00
paul121 acdc090ca2 Inject module_handler as a dependency in FarmSettingsModulesForm. 2020-09-10 11:34:01 -07:00
paul121 904b429ea0 Don't set a batch if no modules need to be installed. 2020-09-10 10:46:20 -07:00
paul121 8db7e070a4 Provide settings form to install farm modules. 2020-09-10 10:36:27 -07:00
paul121 986894a82e Add moduleOptions helper function to make FarmModulesForm reusable. 2020-09-10 10:35:24 -07:00
paul121 8d0888802f Provide basic farm info settings form with timezone configuration. 2020-09-10 10:35:12 -07:00
paul121 c971f6d023 Init farm_settings module. 2020-09-10 10:30:28 -07:00
Michael Stenta ddeede7106 Change example composer command from update to help. 2020-08-23 18:07:45 -04:00
Michael Stenta c4ddf812bd Set OPcache's revalidation frequency to 0 seconds for development. 2020-08-20 16:32:40 -04:00
Michael Stenta 85e0fab939 Set recommended OPcache for maximum performance in Symfony applications. 2020-08-20 16:32:40 -04:00
Michael Stenta 2463cadae4 Add config_update module to dev requirements. 2020-08-20 11:13:55 -04:00
Michael Stenta 75a38c7f45 Replace the version in packaged farm.info.yml. 2020-08-19 21:00:35 -04:00
Michael Stenta cf816e4fe8 Fix support for tagged versions in build-farmOS.sh.
Broken by 2ede85eee6 "Fix dev Dockerfile composer.json farmOS branch replacement."
2020-08-19 21:00:35 -04:00
Michael Stenta 61089cefce Merge branch 'codesniffer2x' into 2.x 2020-08-19 16:31:50 -04:00
Michael Stenta 06d0b9628d Exclude PHP CodeSniffer rule: Drupal.InfoFiles.AutoAddedKeys.Version CodeSniffer
We intentionally include the version in farm.info.yml, and
replace it ourselves during packaging via GitHub Actions.
2020-08-19 16:31:03 -04:00
Michael Stenta 365cea8f93 \Drupal calls should be avoided in classes, use dependency injection instead. 2020-08-19 16:31:03 -04:00
Michael Stenta 8ca1b22708 Run PHP CodeSniffer in run-tests.yml GitHub Action. 2020-08-19 16:31:03 -04:00
Michael Stenta 6b468768a2 Type hint "array" missing for $install_state. 2020-08-19 16:31:03 -04:00
Michael Stenta 62e1e7ecdd If the line declaring an array spans longer than 80 characters, each element should be broken into its own line. 2020-08-19 16:31:03 -04:00
Michael Stenta 84db82b9b9 t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead. 2020-08-19 16:31:03 -04:00
Michael Stenta e16ebc6a23 All dependencies must be prefixed with the project name, for example "drupal:". 2020-08-19 16:31:03 -04:00
Michael Stenta 3b9dd4fcdc Misc comment changes to appease CodeSniffer. 2020-08-19 16:31:03 -04:00
Michael Stenta beeb044cd0 Configure PHP CodeSniffer in Docker dev image and document usage. 2020-08-19 16:31:03 -04:00
Michael Stenta d8c4698abc Add Owners field (multi-value user reference) to all log types. 2020-08-18 07:57:22 -04:00
Michael Stenta da2f87605c Add note about Composer "Could not delete ..." error and link to drupal.org docs. 2020-08-17 13:22:23 -04:00
Michael Stenta c15d08fdc7 Add a warning about running composer update farmos/farmos in dev environments. 2020-08-17 13:22:01 -04:00
Michael Stenta 786ac6c04b The /opt/drupal/vendor/bin is now in PATH in the upstream drupal:9, so vendor/bin prefix is no longer necessary.
See https://github.com/docker-library/drupal/issues/177
2020-08-17 08:49:02 -04:00
Michael Stenta 3d7270ac4c Merge branch 'taxonomy2x' into 2.x 2020-08-17 08:29:03 -04:00
Michael Stenta f134f2abec Add Log Categories field to all log types. 2020-08-17 08:28:23 -04:00
Michael Stenta 67c0146ec5 Add a Log Categories taxonomy term reference field (base storage). 2020-08-17 08:28:23 -04:00
Michael Stenta 8f089acac2 Add a Log Categories vocabulary. 2020-08-17 08:28:03 -04:00
Michael Stenta b1a2837df2 Override install task display names to replace "site" with "farmOS" 2020-08-15 11:59:21 -04:00
Michael Stenta 439d8ca638 Patch Drupal core to remove taxonomy hard dependency on node. 2020-08-15 11:59:21 -04:00
Michael Stenta e1dfe45cdb Add an install task for selecting+installing farmOS modules. 2020-08-15 11:59:21 -04:00
Michael Stenta 436f1735b5 Add cweagans/composer-patches. 2020-08-15 11:59:21 -04:00
Michael Stenta 7e3c042ddb Put all log modules into the "farmOS Logs" package. 2020-08-15 11:59:21 -04:00
Michael Stenta bf09acf471 Merge branch 'docker2x' into 2.x 2020-08-12 13:50:53 -04:00
Michael Stenta 21952d0dbc Create a Composer config directory for the www-data user. 2020-08-12 13:33:45 -04:00
Michael Stenta 9a5b24158b Run build-farmOS.sh as the www-data user to avoid expensive chown later. 2020-08-12 12:58:55 -04:00
Michael Stenta c2ede11ee9 Install XDebug earlier in the farmos/farmos:2.x-dev build process. 2020-08-12 12:58:48 -04:00
Michael Stenta aabadf26ad Consolidate Composer install logic into a build-farmOS.sh script. 2020-08-12 12:58:33 -04:00
Michael Stenta cea64ad078 Build farmOS codebase as root. Change ownership of sites to www-data in farmos/farmos:2.x. Change ownership of entire codebase to www-data in dev. 2020-08-12 12:53:06 -04:00
Michael Stenta 07fed82f23 Merge farmos/farmos:2.x-base Dockerfile into farmos/farmos:2.x. 2020-08-12 12:50:15 -04:00
Michael Stenta 8275315895 Issue #3162686: Build farmos/farmos:2.x Docker image with composer install --no-dev 2020-08-12 12:48:05 -04:00
Michael Stenta 2ab25cd808 Issue #3162767: Use Docker Hub drupal:9 base image 2020-08-12 12:48:05 -04:00
Michael Stenta ef09c1fd82 Move codebase to /opt/drupal, symlink /var/www/html to /opt/drupal/web, don't override Apache document root. All to mimic upstream drupal:9 image. 2020-08-12 12:48:05 -04:00