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

7731 commits

Author SHA1 Message Date
Michael Stenta
1f54a8eb3a Add CHANGELOG.md line for #722. 2023-10-06 13:49:26 -04:00
Michael Stenta
87b619fc3b Add user guide documentation for importing data via CSV. 2023-10-06 13:49:26 -04:00
Michael Stenta
b7303b7859 Move (and improve) geometry import/export docs to dedicated import/export pages. 2023-10-06 13:49:26 -04:00
Michael Stenta
3e5e63f0fb Add module developer documentation for building CSV importers. 2023-10-06 13:49:26 -04:00
Michael Stenta
59473d8de8 Test that bundle fields get populated. 2023-10-06 13:49:26 -04:00
Michael Stenta
1fdb77133b Rename functional test method to clarify its purpose. 2023-10-06 13:49:26 -04:00
Michael Stenta
78545d5ae8 Add @internal to classes. 2023-10-06 13:46:43 -04:00
Michael Stenta
17191b06cf Add support for ID tags in asset importers. 2023-10-06 13:46:43 -04:00
Michael Stenta
8f39875221 Show allowed quantity measure values in column description. 2023-10-06 13:46:43 -04:00
Michael Stenta
4d34ed24cc Set default value for status field on logs and assets. 2023-10-06 13:46:43 -04:00
Michael Stenta
890b5211c6 Add a revision log message to imported assets and logs. 2023-10-06 13:46:43 -04:00
Michael Stenta
473a7181a7 Prefix migration IDs with csv_. 2023-10-06 13:46:43 -04:00
Michael Stenta
af9afc3707 Add support for entity reference bundle fields. 2023-10-06 13:46:43 -04:00
Michael Stenta
2eab191914 Add support for timestamp bundle fields. 2023-10-06 13:46:43 -04:00
Michael Stenta
ce9676afb0 Automatically add mappings and column descriptions for string and list_string bundle fields. 2023-10-06 13:46:43 -04:00
Michael Stenta
6c60231077 Add support for setting category with log importers. 2023-10-06 13:42:20 -04:00
Michael Stenta
c7ea582dd4 Add support for referencing assets and locations in log importers. 2023-10-06 13:42:20 -04:00
Michael Stenta
481718fe15 Add support for importing asset parent relationships. 2023-10-06 13:42:20 -04:00
Michael Stenta
e84b4e3886 Add an asset_lookup process plugin that extends entity_lookup, searches multiple fields, and fails if a match is not found. 2023-10-06 13:42:20 -04:00
Michael Stenta
200238ec2a Set mainPropertyName() for id_tag fields. 2023-10-06 13:42:20 -04:00
Michael Stenta
f325354c93 Show a View of imported entities under CSV upload form. 2023-10-06 13:42:20 -04:00
Michael Stenta
91d80f8803 Add a dedicated controller for individual CSV importers and simplify form class. 2023-10-06 13:42:20 -04:00
Michael Stenta
0d8ac5a087 Implement hook_file_download() to allow downloading CSV files. 2023-10-06 13:40:32 -04:00
Michael Stenta
34f4eda4d6 Split access checking logic out to a reusable service class. 2023-10-06 13:40:32 -04:00
Michael Stenta
b021317cf8 Save CSV-imported entity information to farm_import_csv_entity table. 2023-10-06 13:40:18 -04:00
Michael Stenta
4b180a5c98 Display messages from a csv_file migration on POST_IMPORT event. 2023-10-06 13:40:18 -04:00
Michael Stenta
1ac0337624 Save CSV file ID to private tempstore. 2023-10-06 13:40:18 -04:00
Michael Stenta
d9f91c6f1d Move CSV files to the private filesystem and register usage. 2023-10-06 13:40:18 -04:00
Michael Stenta
2601f983cd Use csv_file source plugin instead of csv. 2023-10-06 13:40:18 -04:00
Michael Stenta
c11ffa491b Provide a csv_file source plugin that extends csv and sets the file ID + row number as source IDs. 2023-10-06 13:40:18 -04:00
Michael Stenta
298d5c8bc4 Provide a downloadable CSV template with column headers. 2023-10-06 13:40:18 -04:00
Michael Stenta
fcdbf70baf Provide descriptions of CSV column headers in third-party settings. 2023-10-06 13:40:18 -04:00
Michael Stenta
9b1ddbdb08 Add functional tests of CSV importer index, titles, and access control. 2023-10-06 13:40:18 -04:00
Michael Stenta
31f39d83bf Only show importers in the farm_import_csv group. 2023-10-06 13:40:18 -04:00
Michael Stenta
5d2bd98f41 Create menu links for each CSV importer. 2023-10-06 13:40:18 -04:00
Michael Stenta
fd019fc90b Add an index of CSV importers at /import/csv. 2023-10-06 13:40:18 -04:00
Michael Stenta
4c18b7ebea Provide a route for CSV importers at /import/csv/{migration_id}. 2023-10-06 13:40:18 -04:00
Michael Stenta
cbbd7dae2e Check access based on third party settings in the migration. 2023-10-06 13:40:18 -04:00
Michael Stenta
14934d8d5a Add a getTitle() method to CsvImportForm for use in routes. 2023-10-06 13:40:18 -04:00
Michael Stenta
9db2409084 Provide a simplified CSV import form based on MigrateSourceUiForm. 2023-10-06 13:40:16 -04:00
Michael Stenta
3c0c53e62b Include drupal/migrate_source_ui module via Composer. 2023-10-06 13:40:03 -04:00
Michael Stenta
5bbc994be0 Provide a farm_import_csv migration group for common configuration. 2023-10-06 13:40:03 -04:00
Michael Stenta
d0d27ec42e Add kernel test coverage for CSV importers provided as migrate_plus.migrate.* configuration entities. 2023-10-06 13:40:03 -04:00
Michael Stenta
3915160a6d Add support for importing log quantities. 2023-10-06 13:39:23 -04:00
Michael Stenta
6f2e754918 Require drupal/fraction ^2.3.1 to fix Issue #3382381: Fraction and decimal properties return 0/1 when numerator/denominator are null 2023-09-29 22:32:07 -04:00
Michael Stenta
34b5d0eb64 Add basic CSV importers for logs (with kernel tests). 2023-09-29 22:32:07 -04:00
Michael Stenta
1610de903e Add basic CSV importers for assets (with kernel tests). 2023-09-29 22:32:07 -04:00
Michael Stenta
1f242eeaee Add support for assigning taxonomy term parent by name. 2023-09-29 22:32:07 -04:00
Michael Stenta
0397609619 Add a term_lookup process plugin that extends entity_lookup and fails when a term is not found. 2023-09-29 22:32:07 -04:00
Michael Stenta
e64f2901ce Issue #2931181: Add CSV importers for taxonomy terms (with kernel tests). 2023-09-29 22:32:07 -04:00