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

1654 commits

Author SHA1 Message Date
Michael Stenta 5e887413a4 Remove the need for "disabled" modules in FarmModulesForm.
This was only needed to support FarmSettingsModulesForm
when it extended from FarmModulesForm.
2021-08-23 10:41:50 -04:00
Michael Stenta 1e2995f585 Add docblock for FarmSettingsModulesForm::moduleOptions().
This class no longer extends from FarmModulesForm, which
originally provided this documentation.
2021-08-23 10:39:14 -04:00
paul121 c68ae68ae9 Test installing a contrib module with uninstalled core dependency. 2021-08-23 10:05:54 -04:00
paul121 f7f1d07bae Increase timeout for installing modules. 2021-08-23 10:05:54 -04:00
paul121 ca54455497 Add tests for the farm settings modules form. 2021-08-23 10:05:54 -04:00
paul121 b19f3c6342 Specify the submit button name.
This makes it easier to identify in tests.
2021-08-23 10:05:54 -04:00
Paul Weidner 23ebe88395 Add message if there are no contrib modules. 2021-08-23 10:05:54 -04:00
paul121 220c816fb9 Disable the submit button until an uninstalled module is checked. 2021-08-23 10:05:54 -04:00
paul121 d68ab9b61e Change form title to read "Install modules". 2021-08-23 10:05:54 -04:00
paul121 bacafa9c0c Allow contrib modules to be installed in the FarmSettingsModulesForm. 2021-08-23 10:05:54 -04:00
paul121 9d986a53ba Refactor to use ModuleExtensionList instead of ModuleHandler. 2021-08-23 10:05:54 -04:00
paul121 3e37c5ad45 Refactor FarmSettingsModulesForm to not extend FarmModulesForm. 2021-08-23 10:05:54 -04:00
Symbioquine 825d37a729 Add weights to ensure map popup is behavior loaded before use #425
**Why?** In 1.x and 2.x prior to this change we were depending on
the insertion order in JS objects to make sure `instance.popup` got
populated before it is used. This change makes the order of the
behavior attachement deterministic - even with farmOS-map 2.x where
the behaviors get attached asynchronously.
2021-08-23 09:59:36 -04:00
Symbioquine b33feb6293 Upgrade to farmOS-map 2.x #425
**Why?** farmOS-map 2.x provides a slightly cleaner
API and more modular/extensible behavior loading.
2021-08-23 09:59:36 -04:00
paul121 dd2c374f46 Do not run paratest in functional mode. #439 2021-08-23 09:53:56 -04:00
Michael Stenta 4f2e242e83 Fix javascript tests #437 2021-08-23 09:51:29 -04:00
paul121 fee51113a6 Add chrome service definition to docker-compose.development.yml. 2021-08-23 09:18:57 -04:00
paul121 13f0787edd Test execution should fail on incomplete or skipped tests. 2021-08-23 09:18:57 -04:00
paul121 05fc28c432 Correct the log variable annotation comment. 2021-08-23 09:18:57 -04:00
paul121 10297d2aaf Set the global farm_test flag before installing drupal. 2021-08-23 09:18:57 -04:00
paul121 9294c9b1ec The farm_group_test test module is required. 2021-08-23 09:18:57 -04:00
paul121 a98e24046f Move location API tests to a separate functional test.
The API requests are incompatible with the javascript test driver.
2021-08-23 09:18:57 -04:00
paul121 a592f6d6a5 Create a LocationFunctionalTestTrait that provides test setup logic. 2021-08-23 09:18:57 -04:00
paul121 40656df9b1 Correct namespace. 2021-08-23 09:18:57 -04:00
paul121 3f799c5adb Fix method for finding fields with variable visibility.
Look for the fieldset wrapper instead of the actual field. This is
sufficient for testing visibility.
2021-08-23 09:18:57 -04:00
paul121 039012c124 WebDriver does not return status codes. 2021-08-23 09:18:57 -04:00
paul121 abb8cde9ee Update PHPUnit mink webdriver config to use the chrome container. 2021-08-23 09:18:57 -04:00
paul121 17c13614f3 Add a container with chromedriver to run javascript tests. 2021-08-23 09:18:57 -04:00
paul121 9cd609e169 Create a docker-compose.testing.common.yml file to share configuration. 2021-08-23 09:18:57 -04:00
Michael Stenta 24cbf38a18 Issue #3022158: Seed asset
See also: https://github.com/farmOS/farmOS/pull/438
2021-08-23 08:46:10 -04:00
Michael Stenta e7db825cae Add farm_seed to optional modules. 2021-08-23 08:42:37 -04:00
Symbioquine a221c3189b Add a Seed asset type. 2021-08-23 08:42:37 -04:00
Paul Weidner 921c578d3f Create a new /var/farmOS directory in two steps. #440 2021-08-21 22:38:43 +00:00
Michael Stenta 9e9734c3f5 Include link to new assets and plans in confirmation message. 2021-08-03 09:11:51 -04:00
paul121 af0b086180 Use the getManagedRoles function to simplify loading of managed roles. 2021-07-30 15:30:40 -04:00
paul121 25d38173f8 Add getManagedRoles function to the managed role permissions manager
service.
2021-07-30 15:30:40 -04:00
paul121 b60d85db5e Invalidate asset cache when movement logs are deleted. 2021-07-30 15:30:40 -04:00
Michael Stenta 313951c798 Move views.view.farm_asset_reference to optional config. 2021-07-30 12:40:41 -04:00
Michael Stenta b8b3d8c5d0 Add a dependency on drupal:taxonomy to farm_entity module. 2021-07-27 09:34:43 -04:00
Michael Stenta 64ec3aa66a Merge branch '2.x-qty-deps' into 2.x 2021-07-22 18:01:17 -04:00
Michael Stenta 6c1af891be Move default_quantity_type third-party setting and logic to farm_log_quantity. 2021-07-22 17:40:16 -04:00
Michael Stenta f77ba74e2a Move LogEventSubscriber for cleaning up log quantities to the farm_log_quantity module. 2021-07-22 17:40:16 -04:00
Michael Stenta 3b68509613 The farm_inventory_test module no longer needs to provide bundle plugin classes or a mock quantity field. 2021-07-22 17:40:16 -04:00
Michael Stenta cdfe4dc5a4 Move log quantity base field definition to farm_log_quantity module.
The farm_inventory module had an implicit dependency on this
field, so by moving this out to its own module we can depend
on it explicitly without adding a dependency on farm_entity
as a whole.
2021-07-22 17:40:16 -04:00
Michael Stenta 119c996b0d The farm_quantity_price module depends on farm_entity.
The fields it adds via the bundle class are used in its
template, and will only be available if farm_entity is
installed.
2021-07-22 17:40:16 -04:00
Michael Stenta 2c68f9ca2b The farm_quantity_standard module depends on quantity, not farm_entity.
It does provide a plugin class that will be used in farm_entity
is enabled, but it doesn't have a hard dependency itself.
2021-07-22 17:40:16 -04:00
Michael Stenta 4259890f2c Use CSS to show managed role permissions. 2021-07-22 17:39:52 -04:00
Michael Stenta a86166d075 Issue #3185721 by paul121, Symbioquine: Default farm client id allows Authorization Code grant type with any domain 2021-07-22 17:39:05 -04:00
paul121 a006494486 Set the farm_client redirect to https://farmOS.app. 2021-07-22 17:38:37 -04:00
paul121 60735b1a43 Set a redirect when creating the farm client. 2021-07-22 17:38:37 -04:00