x_11_file_import_via_plugin #65

Open
flip wants to merge 65 commits from x_11_file_import_via_plugin into develop

This pull requests contains following features:

  • add support for manual bnn file import

    • bnn codes are matched via bnn_codes.yml in plugins/article_import/lib/foodsoft_article_import/bnn_codes.yml
    • unfortunately not every article_category nor deposit code is included in the list
    • feel free to add bnn codes - since there are unfortunately just incomplete lists available
  • add support for manual xml (odin) file import

  • maintains support for foodsoft file import

  • adds option to create ArticleCategories on the fly from imported file and highlights change in _sync_table

  • the fix of foodsofts plugin system

Also an approach to plugin testing is introduced.
As far as I could see, no plugin has been tested for foodsoft. Maybe this PR can work as a template for plugin testing in the future.

To enable plugin:

FoodsoftConfig[:use_article_import]=true

This pull requests contains following features: * add support for manual bnn file import * bnn codes are matched via bnn_codes.yml in plugins/article_import/lib/foodsoft_article_import/bnn_codes.yml * unfortunately not every article_category nor deposit code is included in the list * feel free to add bnn codes - since there are unfortunately just incomplete lists available * add support for manual xml (odin) file import * maintains support for foodsoft file import * adds option to create ArticleCategories on the fly from imported file and highlights change in _sync_table * the fix of foodsofts plugin system Also an approach to plugin testing is introduced. As far as I could see, no plugin has been tested for foodsoft. Maybe this PR can work as a template for plugin testing in the future. To enable plugin: `FoodsoftConfig[:use_article_import]=true`
flip added 8 commits 2023-03-30 15:53:25 +02:00
philipp force-pushed x_11_file_import_via_plugin from e42baa1d3b to 0678880228 2023-08-23 15:12:56 +02:00 Compare
This pull request has changes conflicting with the target branch.
  • .rubocop_todo.yml
  • .ruby-version
  • Gemfile
  • Gemfile.lock
  • app/assets/javascripts/application_legacy.js
  • app/controllers/home_controller.rb
  • app/javascript/application.js
  • app/lib/apple_bar.rb
  • app/lib/articles_csv.rb
  • app/lib/bank_account_connector.rb
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b x_11_file_import_via_plugin develop
git pull origin x_11_file_import_via_plugin

Step 2:

Merge the changes and update on Forgejo.
git checkout develop
git merge --no-ff x_11_file_import_via_plugin
git push origin develop
Sign in to join this conversation.
There is no content yet.