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

2089 commits

Author SHA1 Message Date
Michael Stenta
f1250d0d8d Migrate "Parents" field on Assets. 2020-10-11 11:48:33 -04:00
Michael Stenta
78f8397720 Refactor asset and log migrations into generic entity type migration (for common fields) and bundle-specific migrations (for bundle-specific fields). 2020-10-07 20:25:35 -04:00
Michael Stenta
160c45a45e Migrate file and image field data for all assets and logs. 2020-10-07 13:28:25 -04:00
Michael Stenta
90c8fb9e25 Implement prepareRow() in Asset migration source plugin to support Field API fields. 2020-10-07 13:28:25 -04:00
Michael Stenta
a382e2068f Migrations for public and private files. 2020-10-07 13:28:25 -04:00
Michael Stenta
47763df8b3 Add a "Default" text format that allows filtered HTML, automatic line breaks, and converts URLs to links. 2020-10-07 13:28:25 -04:00
Michael Stenta
e08f3cfd0a Move all optional equipment reference field config to the farm_equipment module. 2020-10-07 10:47:45 -04:00
Michael Stenta
110abdfb7e Add Parents field (asset reference) to Animal, Compost, Group, and Plant asset types. 2020-10-07 07:15:51 -04:00
Michael Stenta
034edd97fc Rename "Equipment" field to "Equipment used" for clarity and consistency with 1.x. 2020-10-02 08:55:21 -04:00
Michael Stenta
753e19984b Enforce self-dependency on log category module config. 2020-10-01 23:48:19 -04:00
Michael Stenta
af31a24ed3 Enforce dependency on equipment module for equipment reference field storage. 2020-10-01 23:48:19 -04:00
Michael Stenta
01aa412d08 Enforce self-dependency on all flag module config. 2020-10-01 23:48:19 -04:00
Michael Stenta
8f50952d0b Enforce self-dependencies on all log type modules. 2020-10-01 23:48:19 -04:00
Michael Stenta
5dd9883505 Add an optional "Equipment" field to log types, if the Equipment asset is available. 2020-10-01 23:45:45 -04:00
Michael Stenta
966575b784 Add an asset reference field to all log types. 2020-10-01 23:45:45 -04:00
Michael Stenta
4ecbcccc81 Add "Files" and "Images" fields to all asset types. 2020-10-01 23:45:45 -04:00
Michael Stenta
efc3fb0781 Add "Notes" field to all asset types. 2020-10-01 23:45:45 -04:00
Michael Stenta
36c0fb4e58 Add "Data" field to all asset types. 2020-10-01 23:45:43 -04:00
Michael Stenta
2488bff344 Add "Flags" field to all asset types. 2020-10-01 23:44:26 -04:00
Michael Stenta
a74cddcae2 Migrate the old asset archived value to both archived timestamp and status. 2020-10-01 23:41:40 -04:00
Michael Stenta
e766ccf991 Add an archived timestamp field to assets, set when the asset status changes to archived. 2020-10-01 23:41:40 -04:00
Michael Stenta
a81e7bed81 Migrations for all asset types - basic fields only. 2020-10-01 23:41:40 -04:00
Michael Stenta
d724cae915 Provide a migrate source plugin for assets. 2020-10-01 23:41:40 -04:00
Michael Stenta
8e3a27aefa Initial asset types: Animal, Compost, Equipment, Group, Plant, Sensor. 2020-10-01 23:41:40 -04:00
Michael Stenta
3f932bef84 Misc codesniffer fixes. 2020-10-01 15:51:51 -04:00
Michael Stenta
d6d79475de Use StringTranslationTrait in AssetCRUDTest. 2020-10-01 15:51:51 -04:00
Michael Stenta
55bed83a5e Put asset module tests in the farm group. 2020-10-01 15:48:04 -04:00
Michael Stenta
d781730402 Enable the farm installation profile in asset tests. 2020-10-01 15:48:04 -04:00
Michael Stenta
1f7c0b3243 Remove unused getTypeNamePattern() method. 2020-10-01 15:48:04 -04:00
Michael Stenta
6f142769f6 Generalize farm_asset module to asset module. 2020-10-01 15:48:04 -04:00
Michael Stenta
622edfd1d9 Add "administer farm_assets" permission and replace uses of "administer farm_asset". 2020-10-01 15:48:04 -04:00
Michael Stenta
7d4288485c Change "pending" state to "active". 2020-10-01 15:48:04 -04:00
Michael Stenta
7992bd61ca Make *.info.yml files consistent with other farmOS modules. 2020-10-01 15:48:04 -04:00
Pedro Cambra
504466089b Added data table 2020-10-01 15:48:04 -04:00
Pedro Cambra
92868d5ef9 first commit of farm_asset module 2020-10-01 15:48:04 -04:00
Michael Stenta
4fa6c2c390 Fix class of date/timezone migration. 2020-09-30 16:11:23 -04:00
Michael Stenta
bbea333df4 Add a migration for date/timezone configuration. 2020-09-30 15:45:16 -04:00
Michael Stenta
7c3886be47 Use skip_on_empty process plugin for uid, in case uid is 0 in source database. 2020-09-30 15:45:16 -04:00
Michael Stenta
16ac1bd62e Enable JSON:API Schema module with farmOS API module. 2020-09-30 11:42:48 -04:00
Michael Stenta
2aa8abc1ba Depend on migrate_tools so that we can recommend using Drush. 2020-09-30 10:51:17 -04:00
Michael Stenta
5d7bf35384 Migrations for all log types - basic fields only. 2020-09-30 10:51:17 -04:00
Michael Stenta
1f26ca54c0 Migration for users. 2020-09-30 10:51:17 -04:00
Michael Stenta
b5f9cd8c8d Provide a farm_migrate migration group. 2020-09-30 10:51:17 -04:00
Michael Stenta
a154f9d215 Initial farm_migrate module. 2020-09-30 10:51:17 -04:00
Michael Stenta
e656225bf0 Change the API path prefix from /jsonapi to /api. 2020-09-27 11:21:51 -04:00
Michael Stenta
c94dbbd0bc Configure JSON:API so that records can be created, updated, and deleted. 2020-09-27 11:21:51 -04:00
Michael Stenta
5f2a6740a4 Initial farm_api module. Depends on jsonapi. 2020-09-27 11:21:50 -04:00
Michael Stenta
16a409f05d Add "Invoice number" to Sale and Purchase logs. 2020-09-27 11:21:12 -04:00
Michael Stenta
30000a7fe0 Add "Seller" field to Purchase logs. 2020-09-27 11:21:12 -04:00
Michael Stenta
9fe9f13505 Add "Customer" field to Sale logs. 2020-09-27 11:21:12 -04:00
Michael Stenta
6c54f14ecb Add "Veterinarian" field to Medical logs. 2020-09-27 11:21:12 -04:00
Michael Stenta
58a7274c80 Add "Laboratory" field to Lab test logs. 2020-09-27 11:21:12 -04:00
Michael Stenta
0a18c50059 Add "Purchase date" field to Input and Seeding logs. 2020-09-27 11:21:12 -04:00
Michael Stenta
4f5f04a87d Add "Source" field to Input and Seeding logs. 2020-09-27 11:21:08 -04:00
Michael Stenta
0ea85719c4 Add "Method" field to Input logs. 2020-09-27 11:21:05 -04:00
Michael Stenta
61588bb909 Add "Lot number" field to Harvest, Input, and Seeding logs. 2020-09-25 09:31:25 -04:00
Michael Stenta
bf73dd1cc3 Load flag config entities into field allowed values. 2020-09-25 09:19:50 -04:00
Michael Stenta
c6d43fd642 Provide three flags: monitor, priority, and review. 2020-09-25 09:19:50 -04:00
Michael Stenta
22e184db07 Create a farm_flag config entity. 2020-09-25 09:19:50 -04:00
Michael Stenta
960c007949 Add flag field to all log types. 2020-09-25 09:19:50 -04:00
Michael Stenta
110f719dcd Provide an allowed_values_function for the flag field. 2020-09-25 09:19:50 -04:00
Michael Stenta
40e7602532 Initial farmOS Flags module: provide a flag field. 2020-09-25 09:19:50 -04:00
Michael Stenta
f806b9bc42 Add a Data field to all log types. 2020-09-25 09:19:50 -04:00
Michael Stenta
87d1ed5af4 Add a Geometry field (geofield) to all log types. 2020-09-25 09:19:50 -04:00
Michael Stenta
dbe0324671 Add image and file field instances to all log types. 2020-09-24 21:38:20 -04:00
Michael Stenta
4c7f2dbde5 Field storage config for image and file fields. 2020-09-24 21:38:20 -04:00
Michael Stenta
1d4d92b40d Add "administer farm settings" permission and require it to access farm info and modules forms. 2020-09-24 14:23:57 -04:00
Michael Stenta
7ec146b02b Change "Site name" to "Farm name". 2020-09-24 14:20:11 -04:00
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
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
d8c4698abc Add Owners field (multi-value user reference) to all log types. 2020-08-18 07:57:22 -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
7e3c042ddb Put all log modules into the "farmOS Logs" package. 2020-08-15 11:59:21 -04:00
Michael Stenta
3e62726d29 Add a Medical log type. 2020-08-04 09:37:59 -04:00
Michael Stenta
f2e6b024ed Add Notes field to all log types. 2020-08-04 08:44:43 -04:00
Michael Stenta
083904378d Add farm_field module with log notes field. 2020-08-04 08:44:43 -04:00
Michael Stenta
d5ec75b474 Add log types: Lab test, Maintenance, Seeding, Transplanting, Sale, Purchase. 2020-08-04 08:44:43 -04:00
Michael Stenta
e703661434 Add basic token name pattern to log types. 2020-08-04 07:47:36 -04:00
Michael Stenta
273e6d8ae1 Initial log types: Activity, Observation, Input, Harvest. 2020-08-04 07:47:36 -04:00