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

1266 commits

Author SHA1 Message Date
paul121
ab7f2a9ad1 Include an Add person action link on the farm_people page view. 2021-03-18 15:50:20 -04:00
Michael Stenta
bf85486d68 Merge branch '2.x-base-modules' into 2.x 2021-03-18 15:50:09 -04:00
Michael Stenta
24def99fb0 Move farm_api, farm_dashboard, farm_login, farm_ui, and farm_settings to base modules. 2021-03-18 15:49:59 -04:00
Michael Stenta
53ceae8122 Create a concept of "base" modules that are always installed.
These will not appear in the farmOS modules form, but can be uninstalled
manually if a more customized deployment is desired.
2021-03-18 15:49:59 -04:00
Michael Stenta
30ba7836d8 Disable additional JSON:API resources: date_format, image_style, migration, migration_group, rest_resource_config. 2021-03-18 15:49:45 -04:00
Michael Stenta
f5e7d59549 Move jsonapi_extras.jsonapi_resource_config.* to optional config and remove enforced dependency on farm_api. 2021-03-18 15:49:34 -04:00
Michael Stenta
f2bdfde99a Alphabetize farm_dashboard dependencies. 2021-03-18 15:49:29 -04:00
Michael Stenta
d6e6da9f85 The farm_ui_user module depends on drupal:block. 2021-03-18 15:49:25 -04:00
Michael Stenta
fe3bbcde2b Move "Powered by farmOS" block to farm_ui_theme. 2021-03-18 15:49:14 -04:00
Michael Stenta
1de7f4ed77 Improvements to farm_migrate_role migration config.
These changes help to support custom/contrib modules that want
to provide their own role migrations.

- Use skip_map_on_empty process plugin to ensure that skipped rows are not added to the map tables.
- Set a "role" pseudo-field, which is used by role ID matching.
- Move role ID matching process to farm_migrate_role migration group shared config.
- Move farm_migrate_role migration to optional config, dependent on farm_role_roles module.
2021-03-18 15:49:14 -04:00
Michael Stenta
7c16a8db46 Add a skip_map_on_empty process plugin that prevents mappings from being saved when a row is skipped. 2021-03-18 15:49:14 -04:00
Michael Stenta
4bd1855b91 Rename farm_install_modules to farm. 2021-03-18 12:09:34 -04:00
Michael Stenta
d6cf678a36 Test Drush site install with all modules via run-tests.yml GitHub Action. 2021-03-18 12:09:06 -04:00
Michael Stenta
737200ec55 Add a shortcut for installing "all" optional modules with drush site-install. 2021-03-18 12:09:02 -04:00
Michael Stenta
f3c735b5c9 Issue #3176503: Migrate soil names field data (concat to notes). 2021-03-17 08:17:16 -04:00
Michael Stenta
3d44f066e8 Issue #3196836 by paul121, m.stenta: Price quantities 2021-03-15 15:59:11 -04:00
Michael Stenta
7caf747694 Add a third-party setting for default quantity types on log types. 2021-03-15 15:46:36 -04:00
Michael Stenta
7fe08b4ca8 Move schema for location third party settings out of Views schema file. 2021-03-12 20:34:42 -05:00
Michael Stenta
3e19eb86b2 Migrate price quantities with a measure of value. 2021-03-12 20:34:08 -05:00
Michael Stenta
d58eb3eb4b Remove quantity type label from template. 2021-03-12 08:15:56 -05:00
Michael Stenta
a39c667049 Move CreateQuantity to farm_migrate. 2021-03-12 08:15:56 -05:00
paul121
fc3f00883f Only create price quantities if price data was provided. 2021-03-12 08:15:56 -05:00
paul121
a00d0b32f6 Migrate purchase and sale log values to a price quantity. 2021-03-12 08:15:56 -05:00
paul121
cf2659db7b Add a create_quantity process plugin. 2021-03-12 08:15:56 -05:00
paul121
476e30ca7a Add template for price quantities. 2021-03-12 08:15:56 -05:00
paul121
7bb755bc6f Purchase and sale logs depend on price quantity. 2021-03-12 08:15:56 -05:00
paul121
e51b9d7d27 Create a price quantity type. 2021-03-12 08:15:56 -05:00
paul121
c5548eab72 Support fraction fields in FarmFieldFactory. 2021-03-12 08:15:56 -05:00
Michael Stenta
f3db655455 Issue #3203228: Running migrations out of order can result in data collisions 2021-03-12 08:14:50 -05:00
Michael Stenta
19dc89750f Add Lot number field (with migration) to Sale and Purchase logs. 2021-03-11 21:39:18 -05:00
Michael Stenta
40526941d2 Add units filter to View of quantities. 2021-03-11 17:50:58 -05:00
Michael Stenta
fe5929ab2f Use taxonomy_index_tid Views filter handler plugin for quantity units column. 2021-03-11 17:49:01 -05:00
Michael Stenta
32cab033de Issue #3186530: Inherit from the drupal:9-php7.4-apache image. 2021-03-11 16:37:18 -05:00
Michael Stenta
3eb0a6e892 Exclude Sniffs that prevent blank lines after comments.
This is being discussed upstream in https://www.drupal.org/project/coder/issues/2159253
and https://www.drupal.org/project/coding_standards/issues/2464123.

We can remove these exclusions if/when they are removed upstream.
2021-03-11 16:37:18 -05:00
Michael Stenta
2066e7202b List of all quantities in log Views. 2021-03-11 08:55:19 -05:00
Michael Stenta
835137d0f3 Only include quantity fields in the template if they are not empty. 2021-03-11 08:40:32 -05:00
paul121
28c22be933 Display 1 quantity in the farm_log views. 2021-03-11 08:40:32 -05:00
Michael Stenta
5ce31648a6 Merge branch '2.x-quantity-views' into 2.x 2021-03-11 07:38:25 -05:00
Michael Stenta
e68d89e50f Add "by type" menu links for Quantity Views. 2021-03-11 07:38:15 -05:00
Michael Stenta
f295027462 Provide a farm_quantity View. 2021-03-11 07:38:15 -05:00
Michael Stenta
0f49717e96 Provide a reverse entity reference relationship from quantities to logs that reference them. 2021-03-11 07:38:15 -05:00
Michael Stenta
274b510d2e Set the views data handler class for logs to FarmLogViewsData. 2021-03-11 07:38:15 -05:00
Michael Stenta
dae3ccd80c Add Views integration for Quantity Value field, filter, and sort using fraction decimal handlers. 2021-03-11 07:38:15 -05:00
Michael Stenta
3c9087a3d0 The Quantity value field is not required.
This was dependent on https://www.drupal.org/project/fraction/issues/3202832
2021-03-11 07:38:15 -05:00
Michael Stenta
92bd9aa212 Make "Other" a default land type, provided by the Land module. 2021-03-11 07:38:15 -05:00
Michael Stenta
3d1d3fb2e4 Merge branch '2.x-quantity_inline_form' into 2.x 2021-03-11 07:36:40 -05:00
paul121
06c03f1073 Always render the Quantity type field. 2021-03-09 09:12:05 -08:00
paul121
bdd4e66714 Render the quantity entity in quantity inline entity forms. 2021-03-09 08:58:41 -08:00
paul121
7727048c6f Allow the quantity type label to be viewed without the administer bundle permission.
https://www.drupal.org/project/entity/issues/2943571
2021-03-09 08:23:28 -08:00
paul121
19a2169ac1 Add quantity permissions to managed roles. 2021-03-09 08:21:28 -08:00