-
- Downloads
Improve conference and import management
When adding a new conference, we now automatically run the import job and let the user choose relevant stages. Users can also manage relevant stages from the conference edit view. Added tracking of import histories. The app now knows when an import has been started and ended, and errors are logged into the DB as well and exposed to the frontend. Added an interstitial page for fetching conference data, plus a way to manually trigger imports if no data was found.
parent
651f3c80
No related branches found
No related tags found
Checking pipeline status
Showing
- app/controllers/admin/conferences_controller.rb 44 additions, 2 deletionsapp/controllers/admin/conferences_controller.rb
- app/jobs/conference_import_job.rb 25 additions, 0 deletionsapp/jobs/conference_import_job.rb
- app/jobs/fetch_conference_data_job.rb 62 additions, 9 deletionsapp/jobs/fetch_conference_data_job.rb
- app/models/conference.rb 67 additions, 0 deletionsapp/models/conference.rb
- app/models/import_history.rb 10 additions, 0 deletionsapp/models/import_history.rb
- app/views/admin/conferences/edit.html.erb 14 additions, 2 deletionsapp/views/admin/conferences/edit.html.erb
- app/views/admin/conferences/import_error.html.erb 26 additions, 0 deletionsapp/views/admin/conferences/import_error.html.erb
- app/views/admin/conferences/import_history.html.erb 138 additions, 0 deletionsapp/views/admin/conferences/import_history.html.erb
- app/views/admin/conferences/import_progress.html.erb 67 additions, 0 deletionsapp/views/admin/conferences/import_progress.html.erb
- app/views/admin/conferences/select_relevant_stages.html.erb 93 additions, 0 deletionsapp/views/admin/conferences/select_relevant_stages.html.erb
- config/cronotab.rb 9 additions, 2 deletionsconfig/cronotab.rb
- config/routes.rb 11 additions, 1 deletionconfig/routes.rb
- db/migrate/20250304204757_add_import_timestamps_and_error_to_conferences.rb 7 additions, 0 deletions...4204757_add_import_timestamps_and_error_to_conferences.rb
- db/migrate/20250304204807_create_import_histories.rb 16 additions, 0 deletionsdb/migrate/20250304204807_create_import_histories.rb
- db/schema.rb 56 additions, 2 deletionsdb/schema.rb
- test/fixtures/import_histories.yml 21 additions, 0 deletionstest/fixtures/import_histories.yml
- test/models/import_history_test.rb 7 additions, 0 deletionstest/models/import_history_test.rb
Loading
Please register or sign in to comment