mission_control-jobs 0.5.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +51 -2
  3. data/app/assets/stylesheets/mission_control/jobs/bulma.min.css +3 -0
  4. data/app/controllers/concerns/mission_control/jobs/basic_authentication.rb +33 -0
  5. data/app/controllers/concerns/mission_control/jobs/job_filters.rb +16 -1
  6. data/app/controllers/mission_control/jobs/application_controller.rb +20 -0
  7. data/app/controllers/mission_control/jobs/jobs_controller.rb +0 -1
  8. data/app/controllers/mission_control/jobs/recurring_tasks_controller.rb +8 -1
  9. data/app/helpers/mission_control/jobs/dates_helper.rb +16 -2
  10. data/app/helpers/mission_control/jobs/jobs_helper.rb +10 -5
  11. data/app/models/mission_control/jobs/recurring_task.rb +4 -0
  12. data/app/views/layouts/mission_control/jobs/application.html.erb +2 -1
  13. data/app/views/mission_control/jobs/jobs/_filters.html.erb +11 -1
  14. data/app/views/mission_control/jobs/jobs/_general_information.html.erb +4 -4
  15. data/app/views/mission_control/jobs/jobs/_job.html.erb +1 -1
  16. data/app/views/mission_control/jobs/jobs/blocked/_job.html.erb +1 -1
  17. data/app/views/mission_control/jobs/jobs/failed/_job.html.erb +1 -1
  18. data/app/views/mission_control/jobs/jobs/finished/_job.html.erb +1 -1
  19. data/app/views/mission_control/jobs/jobs/in_progress/_job.html.erb +1 -1
  20. data/app/views/mission_control/jobs/jobs/scheduled/_job.html.erb +1 -1
  21. data/app/views/mission_control/jobs/queues/_job.html.erb +1 -1
  22. data/app/views/mission_control/jobs/recurring_tasks/_actions.html.erb +3 -1
  23. data/app/views/mission_control/jobs/recurring_tasks/_recurring_task.html.erb +2 -2
  24. data/app/views/mission_control/jobs/shared/_job.html.erb +3 -3
  25. data/app/views/mission_control/jobs/workers/_worker.html.erb +1 -1
  26. data/lib/active_job/jobs_relation.rb +7 -5
  27. data/lib/active_job/queue_adapters/solid_queue_ext/recurring_tasks.rb +6 -0
  28. data/lib/active_job/queue_adapters/solid_queue_ext.rb +7 -2
  29. data/lib/mission_control/jobs/authentication.rb +67 -0
  30. data/lib/mission_control/jobs/engine.rb +17 -0
  31. data/lib/mission_control/jobs/i18n_config.rb +5 -0
  32. data/lib/mission_control/jobs/tasks.rb +8 -0
  33. data/lib/mission_control/jobs/version.rb +1 -1
  34. data/lib/mission_control/jobs.rb +13 -3
  35. metadata +13 -5
  36. data/lib/tasks/mission_control/jobs_tasks.rake +0 -4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mission_control-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorge Manrubia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-08 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -305,7 +305,7 @@ dependencies:
305
305
  - !ruby/object:Gem::Version
306
306
  version: '0'
307
307
  - !ruby/object:Gem::Dependency
308
- name: sprockets-rails
308
+ name: propshaft
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
311
  - - ">="
@@ -358,10 +358,12 @@ files:
358
358
  - Rakefile
359
359
  - app/assets/config/mission_control_jobs_manifest.js
360
360
  - app/assets/stylesheets/mission_control/jobs/application.css
361
+ - app/assets/stylesheets/mission_control/jobs/bulma.min.css
361
362
  - app/assets/stylesheets/mission_control/jobs/forms.css
362
363
  - app/assets/stylesheets/mission_control/jobs/jobs.css
363
364
  - app/controllers/concerns/mission_control/jobs/adapter_features.rb
364
365
  - app/controllers/concerns/mission_control/jobs/application_scoped.rb
366
+ - app/controllers/concerns/mission_control/jobs/basic_authentication.rb
365
367
  - app/controllers/concerns/mission_control/jobs/failed_jobs_bulk_operations.rb
366
368
  - app/controllers/concerns/mission_control/jobs/job_filters.rb
367
369
  - app/controllers/concerns/mission_control/jobs/job_scoped.rb
@@ -463,29 +465,35 @@ files:
463
465
  - lib/mission_control/jobs/adapter.rb
464
466
  - lib/mission_control/jobs/application.rb
465
467
  - lib/mission_control/jobs/applications.rb
468
+ - lib/mission_control/jobs/authentication.rb
466
469
  - lib/mission_control/jobs/console/connect_to.rb
467
470
  - lib/mission_control/jobs/console/context.rb
468
471
  - lib/mission_control/jobs/console/jobs_help.rb
469
472
  - lib/mission_control/jobs/engine.rb
470
473
  - lib/mission_control/jobs/errors/incompatible_adapter.rb
471
474
  - lib/mission_control/jobs/errors/resource_not_found.rb
475
+ - lib/mission_control/jobs/i18n_config.rb
472
476
  - lib/mission_control/jobs/identified_by_name.rb
473
477
  - lib/mission_control/jobs/identified_elements.rb
474
478
  - lib/mission_control/jobs/server.rb
475
479
  - lib/mission_control/jobs/server/recurring_tasks.rb
476
480
  - lib/mission_control/jobs/server/serializable.rb
477
481
  - lib/mission_control/jobs/server/workers.rb
482
+ - lib/mission_control/jobs/tasks.rb
478
483
  - lib/mission_control/jobs/version.rb
479
484
  - lib/mission_control/jobs/workers_relation.rb
480
485
  - lib/resque/thread_safe_redis.rb
481
- - lib/tasks/mission_control/jobs_tasks.rake
482
486
  homepage: https://github.com/rails/mission_control-jobs
483
487
  licenses:
484
488
  - MIT
485
489
  metadata:
486
490
  homepage_uri: https://github.com/rails/mission_control-jobs
487
491
  source_code_uri: https://github.com/rails/mission_control-jobs
488
- post_install_message:
492
+ post_install_message: |
493
+ Upgrading to Mission Control – Jobs 1.0.0? HTTP Basic authentication has been added by default, and it needs
494
+ to be configured or disabled before you can access the dashboard.
495
+ --> Check https://github.com/rails/mission_control-jobs?tab=readme-ov-file#authentication
496
+ for more details and instructions.
489
497
  rdoc_options: []
490
498
  require_paths:
491
499
  - lib
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :mission_control_jobs do
3
- # # Task goes here
4
- # end