foreman_patch 1.1.5 → 1.1.6.alpha5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/foreman_patch/concerns/hosts_controller_extensions.rb +35 -41
  3. data/app/controllers/foreman_patch/react_controller.rb +12 -0
  4. data/app/helpers/foreman_patch/hosts_helper.rb +1 -1
  5. data/app/lib/actions/foreman_patch/cycle/create.rb +5 -1
  6. data/app/lib/actions/foreman_patch/cycle/initiate.rb +5 -1
  7. data/app/lib/actions/foreman_patch/invocation/action.rb +23 -29
  8. data/app/lib/actions/foreman_patch/invocation/patch.rb +16 -7
  9. data/app/lib/actions/foreman_patch/invocation/process_logging.rb +44 -0
  10. data/app/lib/actions/foreman_patch/invocation/proxy_action.rb +52 -0
  11. data/app/lib/actions/foreman_patch/invocation/wait_for_host.rb +4 -29
  12. data/app/lib/actions/foreman_patch/round/patch.rb +5 -1
  13. data/app/lib/actions/foreman_patch/window/publish.rb +5 -1
  14. data/app/lib/actions/foreman_patch/window/resolve_hosts.rb +5 -1
  15. data/app/models/foreman_patch/event.rb +13 -0
  16. data/app/models/foreman_patch/invocation.rb +2 -4
  17. data/app/views/foreman_patch/api/v2/invocations/base.json.rabl +1 -1
  18. data/app/views/foreman_patch/api/v2/invocations/event.json.rabl +3 -0
  19. data/app/views/foreman_patch/api/v2/invocations/show.json.rabl +2 -2
  20. data/app/views/foreman_patch/groups/index.html.erb +1 -1
  21. data/app/views/foreman_patch/invocations/show.html.erb +1 -26
  22. data/app/views/foreman_patch/layouts/react.html.erb +1 -1
  23. data/config/api_routes.rb +26 -28
  24. data/config/routes.rb +40 -29
  25. data/db/migrate/20230706092400_nullify_group_on_delete.rb +11 -0
  26. data/db/migrate/20230707102800_create_invocation_events.rb +16 -0
  27. data/db/seeds.d/100-assign_features_with_templates.rb +6 -12
  28. data/lib/foreman_patch/engine.rb +11 -46
  29. data/lib/foreman_patch/register.rb +119 -0
  30. data/lib/foreman_patch/version.rb +1 -1
  31. data/locale/en/foreman_patch.po +1 -1
  32. data/locale/foreman_patch.pot +1 -1
  33. data/locale/gemspec.rb +1 -1
  34. data/package.json +4 -0
  35. data/public/assets/foreman_patch/cycle_plans-ff3d252119622a68828ff70f4a97328303963002237dbf850e92d6a706e93667.scss +6 -0
  36. data/public/assets/foreman_patch/cycle_plans-ff3d252119622a68828ff70f4a97328303963002237dbf850e92d6a706e93667.scss.gz +0 -0
  37. data/public/assets/foreman_patch/foreman_patch-be2e2ba89548f4a490612e8a6cd1cdebc0473be89f8023a3df7612f05a75d301.css +1 -0
  38. data/public/assets/foreman_patch/foreman_patch-be2e2ba89548f4a490612e8a6cd1cdebc0473be89f8023a3df7612f05a75d301.css.gz +0 -0
  39. data/public/assets/foreman_patch/foreman_patch.json +1 -0
  40. data/public/assets/foreman_patch/plan_edit_windows-9ba20f84f3ecf2c4eb903acd57d30ee3e16f023a79db30bc614aa22f26442ce3.js +1 -0
  41. data/public/assets/foreman_patch/plan_edit_windows-9ba20f84f3ecf2c4eb903acd57d30ee3e16f023a79db30bc614aa22f26442ce3.js.gz +0 -0
  42. data/public/webpack/foreman_patch/bundle-831173d6ae39953b2409.css +1 -0
  43. data/public/webpack/foreman_patch/bundle-831173d6ae39953b2409.css.gz +0 -0
  44. data/public/webpack/foreman_patch/bundle-831173d6ae39953b2409.js +6 -0
  45. data/public/webpack/foreman_patch/bundle-831173d6ae39953b2409.js.gz +0 -0
  46. data/public/webpack/foreman_patch/bundle-831173d6ae39953b2409.js.map +1 -0
  47. data/public/webpack/foreman_patch/bundle-831173d6ae39953b2409.js.map.gz +0 -0
  48. data/public/webpack/foreman_patch/foreman_patch-8909c3e06f012a43f769.css +1 -0
  49. data/public/webpack/foreman_patch/foreman_patch-8909c3e06f012a43f769.css.gz +0 -0
  50. data/public/webpack/foreman_patch/foreman_patch-8909c3e06f012a43f769.js +6 -0
  51. data/public/webpack/foreman_patch/foreman_patch-8909c3e06f012a43f769.js.gz +0 -0
  52. data/public/webpack/foreman_patch/foreman_patch-8909c3e06f012a43f769.js.map +1 -0
  53. data/public/webpack/foreman_patch/foreman_patch-8909c3e06f012a43f769.js.map.gz +0 -0
  54. data/public/webpack/foreman_patch/foreman_patch:global-d71cc6e1e759f04f631a.css +1 -0
  55. data/public/webpack/foreman_patch/foreman_patch:global-d71cc6e1e759f04f631a.css.gz +0 -0
  56. data/public/webpack/foreman_patch/foreman_patch:global-d71cc6e1e759f04f631a.js +6 -0
  57. data/public/webpack/foreman_patch/foreman_patch:global-d71cc6e1e759f04f631a.js.gz +0 -0
  58. data/public/webpack/foreman_patch/foreman_patch:global-d71cc6e1e759f04f631a.js.map +1 -0
  59. data/public/webpack/foreman_patch/foreman_patch:global-d71cc6e1e759f04f631a.js.map.gz +0 -0
  60. data/public/webpack/foreman_patch/manifest.json +31 -0
  61. data/public/webpack/foreman_patch/manifest.json.gz +0 -0
  62. data/public/webpack/foreman_patch/vendor-769bd77f6be96c3c37e1.js +2 -0
  63. data/public/webpack/foreman_patch/vendor-769bd77f6be96c3c37e1.js.gz +0 -0
  64. data/public/webpack/foreman_patch/vendor-769bd77f6be96c3c37e1.js.map +1 -0
  65. data/public/webpack/foreman_patch/vendor-769bd77f6be96c3c37e1.js.map.gz +0 -0
  66. data/webpack/components/Invocations/InvocationsPage.js +1 -1
  67. data/webpack/components/Invocations/index.js +6 -6
  68. data/webpack/components/common/Calendar/Calendar.js +5 -4
  69. data/webpack/components/common/Table/index.js +28 -0
  70. data/webpack/global_index.js +16 -0
  71. data/webpack/index.js +3 -8
  72. data/webpack/src/Components/Invocation/Invocation.js +67 -0
  73. data/webpack/src/Components/Invocation/InvocationLogFooter.js +30 -0
  74. data/webpack/src/Components/Invocation/InvocationLogToolbar.js +80 -0
  75. data/webpack/{components → src/Components}/Invocation/InvocationSelectors.js +0 -3
  76. data/webpack/src/Components/Invocation/index.js +62 -0
  77. data/webpack/src/Components/InvocationStatus.js +50 -0
  78. data/webpack/src/Components/Loading.js +51 -0
  79. data/webpack/src/Extends/index.js +15 -0
  80. data/webpack/src/Router/routes.js +4 -2
  81. data/webpack/src/reducers.js +1 -1
  82. metadata +61 -86
  83. data/app/lib/actions/foreman_patch/cycle/complete.rb +0 -41
  84. data/app/lib/actions/foreman_patch/cycle/plan.rb +0 -73
  85. data/app/lib/actions/foreman_patch/round/plan.rb +0 -33
  86. data/app/lib/actions/foreman_patch/window/plan.rb +0 -43
  87. data/app/models/setting/patching.rb +0 -57
  88. data/app/views/foreman_patch/api/v2/invocations/phase.json.rabl +0 -7
  89. data/config/routes/mount_engine.rb +0 -3
  90. data/config/routes/overrides.rb +0 -10
  91. data/lib/foreman_patch/plugin.rb +0 -47
  92. data/webpack/components/Invocation/Invocation.js +0 -47
  93. data/webpack/components/Invocation/index.js +0 -36
  94. data/webpack/components/common/Terminal/OutputLine.js +0 -26
  95. data/webpack/components/common/Terminal/Terminal.js +0 -115
  96. data/webpack/components/common/Terminal/Terminal.scss +0 -47
  97. data/webpack/src/ForemanPatch.js +0 -11
  98. data/webpack/src/Router/index.js +0 -14
  99. data/webpack/src/index.js +0 -1
  100. /data/webpack/components/Invocations/{Invocations.scss → Invocations.css} +0 -0
  101. /data/webpack/components/common/Calendar/{Calendar.scss → Calendar.css} +0 -0
  102. /data/webpack/{components → src/Components}/Invocation/InvocationActions.js +0 -0
  103. /data/webpack/{components → src/Components}/Invocation/InvocationConsts.js +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.