plutonium 0.10.2 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/Rakefile +1 -2
  4. data/app/assets/application.js.bk +31419 -0
  5. data/app/assets/plutonium-logo-original.png +0 -0
  6. data/app/assets/plutonium-logo-white.png +0 -0
  7. data/app/assets/plutonium-logo.png +0 -0
  8. data/app/assets/plutonium.css +1 -0
  9. data/app/assets/plutonium.ico +0 -0
  10. data/app/assets/plutonium.js +12416 -0
  11. data/app/assets/plutonium.js.map +7 -0
  12. data/app/assets/plutonium.min.js +39 -0
  13. data/app/assets/plutonium.min.js.map +7 -0
  14. data/app/views/application/_flash_alerts.html.erb +5 -2
  15. data/app/views/application/_flash_toasts.html.erb +2 -0
  16. data/app/views/application/_resource_header.html.erb +263 -697
  17. data/app/views/application/_resource_sidebar.html.erb +14 -12
  18. data/app/views/components/action_button/action_button_component.rb +3 -3
  19. data/app/views/components/attributes.rb +184 -0
  20. data/app/views/components/base.rb +19 -40
  21. data/app/views/components/block/block_component.html.erb +1 -1
  22. data/app/views/components/block/block_component.rb +11 -7
  23. data/app/views/components/breadcrumbs/breadcrumbs_component.rb +3 -3
  24. data/app/views/components/button/button_component.html.erb +2 -2
  25. data/app/views/components/button/button_component.rb +10 -5
  26. data/app/views/components/dyna_frame_content/dyna_frame_content_component.html.erb +1 -0
  27. data/app/views/components/dyna_frame_content/dyna_frame_content_component.rb +3 -3
  28. data/app/views/components/dyna_frame_host/dyna_frame_host_component.html.erb +1 -2
  29. data/app/views/components/dyna_frame_host/dyna_frame_host_component.rb +12 -5
  30. data/app/views/components/empty_card/empty_card_component.rb +3 -3
  31. data/app/views/components/form/form_builder.rb +1 -1
  32. data/app/views/components/form/form_component.rb +3 -3
  33. data/app/views/components/has_many_panel/has_many_panel_component.html.erb +25 -0
  34. data/app/views/components/has_many_panel/has_many_panel_component.rb +16 -0
  35. data/app/views/components/header/header_component.rb +3 -3
  36. data/app/views/components/interactive_action_form/interactive_action_form_component.rb +3 -3
  37. data/app/views/components/nav_grid_menu/nav_grid_menu_component.html.erb +24 -0
  38. data/app/views/components/nav_grid_menu/nav_grid_menu_component.rb +23 -0
  39. data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.html.erb +4 -0
  40. data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.rb +20 -0
  41. data/app/views/components/nav_user/nav_user_component.html.erb +50 -0
  42. data/app/views/components/nav_user/nav_user_component.rb +32 -0
  43. data/app/views/components/nav_user_link/nav_user_link_component.html.erb +7 -0
  44. data/app/views/components/nav_user_link/nav_user_link_component.rb +23 -0
  45. data/app/views/components/nav_user_section/nav_user_section_component.html.erb +7 -0
  46. data/app/views/components/nav_user_section/nav_user_section_component.rb +18 -0
  47. data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.html.erb +1 -3
  48. data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.rb +11 -5
  49. data/app/views/components/pagination/pagination_component.html.erb +1 -1
  50. data/app/views/components/pagination/pagination_component.rb +10 -7
  51. data/app/views/components/panel/panel_component.html.erb +13 -6
  52. data/app/views/components/panel/panel_component.rb +11 -5
  53. data/app/views/components/resource_header/resource_header_component.html.erb +81 -0
  54. data/app/views/components/resource_header/resource_header_component.rb +20 -0
  55. data/app/views/components/resource_layout/resource_layout_component.html.erb +32 -0
  56. data/app/views/components/resource_layout/resource_layout_component.rb +39 -0
  57. data/app/views/components/sidebar/sidebar_component.html.erb +3 -33
  58. data/app/views/components/sidebar/sidebar_component.rb +3 -3
  59. data/app/views/components/sidebar_menu/sidebar_menu_component.html.erb +4 -2
  60. data/app/views/components/sidebar_menu/sidebar_menu_component.rb +10 -6
  61. data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.html.erb +63 -71
  62. data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.rb +27 -8
  63. data/app/views/components/skeleton/table/table_component.html.erb +1 -1
  64. data/app/views/components/skeleton/table/table_component.rb +3 -3
  65. data/app/views/components/table/table_component.html.erb +40 -89
  66. data/app/views/components/table/table_component.rb +124 -28
  67. data/app/views/components/table_search_input/table_search_input_component.html.erb +1 -1
  68. data/app/views/components/table_search_input/table_search_input_component.rb +11 -6
  69. data/app/views/components/table_toolbar/table_toolbar_component.html.erb +1 -1
  70. data/app/views/components/table_toolbar/table_toolbar_component.rb +11 -3
  71. data/app/views/components/toolbar/toolbar_component.html.erb +2 -2
  72. data/app/views/components/toolbar/toolbar_component.rb +16 -8
  73. data/app/views/layouts/resource.html copy.erb +2 -2
  74. data/app/views/layouts/resource.html.erb +21 -37
  75. data/app/views/layouts/rodauth.html.erb +32 -25
  76. data/app/views/resource/_interactive_resource_action_form.html.erb +1 -1
  77. data/app/views/resource/_resource_details.html.erb +8 -5
  78. data/app/views/resource/_resource_table.html.erb +70 -1
  79. data/app/views/resource/interactive_resource_collection_action.html.erb +1 -0
  80. data/app/views/resource/interactive_resource_record_action.html.erb +1 -0
  81. data/app/views/resource/interactive_resource_recordless_action.html.erb +1 -0
  82. data/app/views/resource/new.html.erb +1 -0
  83. data/app/views/rodauth/add_recovery_codes.html.erb +8 -7
  84. data/app/views/rodauth/otp_auth.html.erb +1 -1
  85. data/app/views/rodauth/otp_setup.html.erb +10 -8
  86. data/config/initializers/simple_form.rb +22 -2
  87. data/esbuild.config.js +35 -31
  88. data/lib/generators/pu/core/assets/assets_generator.rb +41 -0
  89. data/lib/generators/pu/core/assets/templates/tailwind.config.js +18 -0
  90. data/lib/generators/pu/core/install/templates/config/initializers/plutonium.rb +3 -0
  91. data/lib/generators/pu/core/ruby/ruby_generator.rb +30 -0
  92. data/lib/generators/pu/core/ruby/templates/.keep +0 -0
  93. data/lib/generators/pu/docker/install/install_generator.rb +35 -0
  94. data/lib/generators/pu/docker/install/templates/.keep +0 -0
  95. data/lib/generators/pu/docker/install/templates/Dockerfile.dev.tt +30 -0
  96. data/lib/generators/pu/docker/install/templates/Dockerfile.tt +75 -0
  97. data/lib/generators/pu/docker/install/templates/bin/console +3 -0
  98. data/lib/generators/pu/docker/install/templates/bin/restart +3 -0
  99. data/lib/generators/pu/docker/install/templates/bin/shell +3 -0
  100. data/lib/generators/pu/docker/install/templates/docker-compose.yml +29 -0
  101. data/lib/generators/pu/gem/dotenv/dotenv_generator.rb +32 -0
  102. data/lib/generators/pu/gem/dotenv/templates/.env +6 -0
  103. data/lib/generators/pu/gem/dotenv/templates/.env.local +5 -0
  104. data/lib/generators/pu/gem/dotenv/templates/.env.local.template +5 -0
  105. data/lib/generators/pu/gem/dotenv/templates/.env.template +6 -0
  106. data/lib/generators/pu/gem/dotenv/templates/.keep +0 -0
  107. data/lib/generators/pu/gem/dotenv/templates/config/initializers/001_ensure_required_env.rb +21 -0
  108. data/lib/generators/pu/gem/redis/redis_generator.rb +22 -0
  109. data/lib/generators/pu/gem/redis/templates/.keep +0 -0
  110. data/lib/generators/pu/gen/component/component_generator.rb +13 -10
  111. data/lib/generators/pu/gen/component/templates/component.html.erb.tt +1 -1
  112. data/lib/generators/pu/gen/component/templates/component.rb.tt +10 -4
  113. data/lib/generators/pu/lib/plutonium_generators/concerns/actions.rb +154 -32
  114. data/lib/generators/pu/lib/plutonium_generators/generator.rb +6 -6
  115. data/lib/generators/pu/lib/plutonium_generators/installer.rb +1 -1
  116. data/lib/generators/pu/pkg/app/app_generator.rb +4 -4
  117. data/lib/generators/pu/pkg/app/templates/app/controllers/concerns/controller.rb.tt +28 -0
  118. data/lib/generators/pu/pkg/app/templates/app/controllers/controller.rb.tt +5 -0
  119. data/lib/generators/pu/pkg/app/templates/app/controllers/dashboard_controller.rb.tt +1 -1
  120. data/lib/generators/pu/res/conn/conn_generator.rb +4 -4
  121. data/lib/generators/pu/res/conn/templates/app/controllers/resource_controller.rb.tt +1 -1
  122. data/lib/generators/pu/res/model/model_generator.rb +3 -3
  123. data/lib/generators/pu/res/scaffold/templates/policy.rb.tt +6 -0
  124. data/lib/generators/pu/rodauth/account_generator.rb +10 -10
  125. data/lib/generators/pu/rodauth/install_generator.rb +9 -2
  126. data/lib/generators/pu/rodauth/migration/sequel/audit_logging.erb +2 -2
  127. data/lib/generators/pu/rodauth/migration_generator.rb +1 -1
  128. data/lib/generators/pu/rodauth/templates/app/{misc → rodauth}/account_rodauth_plugin.rb.tt +2 -2
  129. data/lib/generators/pu/rodauth/templates/app/{misc → rodauth}/rodauth_plugin.rb.tt +0 -3
  130. data/lib/generators/pu/rodauth/templates/db/migrate/install_rodauth.rb.tt +5 -0
  131. data/lib/generators/pu/service/postgres/postgres_generator.rb +61 -0
  132. data/lib/generators/pu/service/postgres/templates/.keep +0 -0
  133. data/lib/generators/pu/service/postgres/templates/bin/initdb.d/create-multiple-postgresql-databases.sh +22 -0
  134. data/lib/generators/pu/service/postgres/templates/database.yml.tt +93 -0
  135. data/lib/generators/pu/service/sidekiq/sidekiq_generator.rb +57 -0
  136. data/lib/generators/pu/service/sidekiq/templates/.keep +0 -0
  137. data/lib/generators/pu/service/sidekiq/templates/app/sidekiq/sidekiq_job.rb +3 -0
  138. data/lib/generators/pu/service/sidekiq/templates/config/initializers/sidekiq.rb +53 -0
  139. data/lib/generators/pu/service/sidekiq/templates/config/sidekiq.yml +6 -0
  140. data/lib/plutonium/config.rb +2 -9
  141. data/lib/plutonium/core/associations/renderers/basic_renderer.rb +28 -0
  142. data/lib/plutonium/core/associations/renderers/factory.rb +36 -0
  143. data/lib/plutonium/core/associations/renderers/has_many_renderer.rb +16 -0
  144. data/lib/plutonium/core/autodiscovery/association_renderer_discoverer.rb +31 -0
  145. data/lib/plutonium/core/controllers/authorizable.rb +13 -17
  146. data/lib/plutonium/core/controllers/base.rb +3 -7
  147. data/lib/plutonium/core/controllers/entity_scoping.rb +3 -3
  148. data/lib/plutonium/core/controllers/presentable.rb +6 -1
  149. data/lib/plutonium/core/definers/association_renderer_definer.rb +33 -0
  150. data/lib/plutonium/core/fields/inputs/checkbox_input.rb +13 -0
  151. data/lib/plutonium/core/fields/inputs/factory.rb +1 -0
  152. data/lib/plutonium/core/fields/inputs/polymorphic_belongs_to_association_input.rb +1 -1
  153. data/lib/plutonium/core/ui/detail.rb +1 -0
  154. data/lib/plutonium/helpers/application_helper.rb +8 -9
  155. data/lib/plutonium/helpers/assets_helper.rb +33 -0
  156. data/lib/plutonium/helpers/display_helper.rb +13 -0
  157. data/lib/plutonium/helpers/form_helper.rb +1 -1
  158. data/lib/plutonium/helpers.rb +1 -0
  159. data/lib/plutonium/icons.rb +12 -5
  160. data/lib/plutonium/pkg/app.rb +10 -0
  161. data/lib/plutonium/pundit/context.rb +18 -0
  162. data/lib/plutonium/pundit/policy_finder.rb +25 -0
  163. data/lib/plutonium/railtie.rb +24 -8
  164. data/lib/plutonium/reloader.rb +18 -7
  165. data/lib/plutonium/resource/controller.rb +5 -0
  166. data/lib/plutonium/resource/policy.rb +69 -47
  167. data/lib/plutonium/resource/presenter.rb +1 -0
  168. data/lib/plutonium/resource/query_object.rb +139 -130
  169. data/lib/plutonium/rodauth/controller_methods.rb +7 -3
  170. data/lib/plutonium/version.rb +1 -1
  171. data/lib/plutonium.rb +10 -54
  172. data/lib/tasks/create_rodauth_admin.rake +16 -0
  173. data/package-lock.json +782 -17
  174. data/package.json +31 -8
  175. data/postcss.config.js +17 -7
  176. data/src/.npmignore +2 -0
  177. data/src/js/controllers/color_mode_controller.js +41 -0
  178. data/src/js/controllers/frame_navigator_controller.js +99 -0
  179. data/src/js/controllers/has_many_panel_controller.js +8 -0
  180. data/src/js/controllers/nav_grid_menu_controller.js +8 -0
  181. data/src/js/controllers/nav_grid_menu_item_controller.js +8 -0
  182. data/{app/views/components/tab_bar/tab_bar_controller.js → src/js/controllers/nav_user_controller.js} +2 -2
  183. data/src/js/controllers/nav_user_link_controller.js +8 -0
  184. data/src/js/controllers/nav_user_section_controller.js +8 -0
  185. data/src/js/controllers/register_controllers.js +45 -0
  186. data/{app/assets/javascripts → src/js}/controllers/resource_dismiss_controller.js +2 -0
  187. data/{app/assets/javascripts → src/js}/controllers/resource_drop_down_controller.js +2 -0
  188. data/src/js/controllers/resource_header_controller.js +8 -0
  189. data/src/js/controllers/resource_layout_controller.js +8 -0
  190. data/src/js/controllers/sidebar_menu_controller.js +8 -0
  191. data/src/js/controllers/sidebar_menu_item_controller.js +8 -0
  192. data/src/js/core.js +4 -0
  193. data/{app/assets/javascripts/plutonium-app.js → src/js/plutonium.js} +1 -1
  194. data/{app/assets/javascripts → src/js}/turbo/turbo_debug.js +2 -4
  195. data/tailwind.config.js +85 -84
  196. metadata +106 -41
  197. data/app/assets/build/plutonium.js +0 -5122
  198. data/app/assets/javascripts/controllers/index.js +0 -34
  199. data/app/assets/javascripts/plutonium.js +0 -1
  200. data/app/views/application/_color_modes.html.erb +0 -57
  201. data/app/views/components/tab_bar/tab_bar_component.html.erb +0 -11
  202. data/app/views/components/tab_bar/tab_bar_component.rb +0 -9
  203. data/app/views/resource/_nav_user.html.erb +0 -4
  204. data/app/views/resource/_tab_menu.html.erb +0 -13
  205. data/css.manifest +0 -3
  206. data/js.manifest +0 -4
  207. data/lib/generators/pu/pkg/app/templates/app/controllers/app_controller.rb.tt +0 -5
  208. data/lib/generators/pu/pkg/app/templates/app/controllers/package_controller.rb.tt +0 -26
  209. data/public/plutonium-assets/application.css +0 -25086
  210. data/public/plutonium-assets/plutonium-app-36KN5FVJ.js +0 -6
  211. data/public/plutonium-assets/plutonium-app-36KN5FVJ.js.map +0 -7
  212. data/public/plutonium-assets/plutonium-app-6WILQCTT.js +0 -39
  213. data/public/plutonium-assets/plutonium-app-6WILQCTT.js.map +0 -7
  214. data/public/plutonium-assets/plutonium.2d4f0c333cd000051d3b.css +0 -3424
  215. data/public/plutonium-assets/plutonium.50232e35b5495f5ad90d.css +0 -3415
  216. /data/{app/assets/build → lib/generators/pu/core/assets/templates}/.keep +0 -0
  217. /data/lib/generators/pu/rodauth/templates/app/{misc → rodauth}/rodauth_app.rb.tt +0 -0
  218. /data/{app/assets/stylesheets → src/css}/plutonium.css +0 -0
  219. /data/{app/views/components/form → src/js/controllers}/form_controller.js +0 -0
  220. /data/{app/views/components/interactive_action_form → src/js/controllers}/interactive_action_form_controller.js +0 -0
  221. /data/{app/views/components/nested_resource_form_fields → src/js/controllers}/nested_resource_form_fields_controller.js +0 -0
  222. /data/{app/views/components/table → src/js/controllers}/table_controller.js +0 -0
  223. /data/{app/views/components/table_search_input → src/js/controllers}/table_search_input_controller.js +0 -0
  224. /data/{app/views/components/table_toolbar → src/js/controllers}/table_toolbar_controller.js +0 -0
  225. /data/{app/views/components/toolbar → src/js/controllers}/toolbar_controller.js +0 -0
  226. /data/{app/assets/javascripts → src/js}/turbo/index.js +0 -0
  227. /data/{app/assets/javascripts → src/js}/turbo/turbo_actions.js +0 -0
  228. /data/{app/assets/javascripts → src/js}/turbo/turbo_frame_monkey_patch.js +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plutonium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-18 00:00:00.000000000 Z
11
+ date: 2024-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk
@@ -220,8 +220,7 @@ files:
220
220
  - README copy.md
221
221
  - README.md
222
222
  - Rakefile
223
- - app/assets/build/.keep
224
- - app/assets/build/plutonium.js
223
+ - app/assets/application.js.bk
225
224
  - app/assets/icons/flags/ghana.svg
226
225
  - app/assets/icons/outline/address-book.svg
227
226
  - app/assets/icons/outline/adjustments-horizontal.svg
@@ -709,17 +708,15 @@ files:
709
708
  - app/assets/icons/solid/youtube.svg
710
709
  - app/assets/icons/solid/zoom-in.svg
711
710
  - app/assets/icons/solid/zoom-out.svg
712
- - app/assets/javascripts/controllers/index.js
713
- - app/assets/javascripts/controllers/resource_dismiss_controller.js
714
- - app/assets/javascripts/controllers/resource_drop_down_controller.js
715
- - app/assets/javascripts/plutonium-app.js
716
- - app/assets/javascripts/plutonium.js
717
- - app/assets/javascripts/turbo/index.js
718
- - app/assets/javascripts/turbo/turbo_actions.js
719
- - app/assets/javascripts/turbo/turbo_debug.js
720
- - app/assets/javascripts/turbo/turbo_frame_monkey_patch.js
721
- - app/assets/stylesheets/plutonium.css
722
- - app/views/application/_color_modes.html.erb
711
+ - app/assets/plutonium-logo-original.png
712
+ - app/assets/plutonium-logo-white.png
713
+ - app/assets/plutonium-logo.png
714
+ - app/assets/plutonium.css
715
+ - app/assets/plutonium.ico
716
+ - app/assets/plutonium.js
717
+ - app/assets/plutonium.js.map
718
+ - app/assets/plutonium.min.js
719
+ - app/assets/plutonium.min.js.map
723
720
  - app/views/application/_flash.html.erb
724
721
  - app/views/application/_flash_alerts.html.erb
725
722
  - app/views/application/_flash_toasts.html.erb
@@ -727,6 +724,7 @@ files:
727
724
  - app/views/application/_resource_sidebar.html.erb
728
725
  - app/views/components/action_button/action_button_component.html.erb
729
726
  - app/views/components/action_button/action_button_component.rb
727
+ - app/views/components/attributes.rb
730
728
  - app/views/components/base.rb
731
729
  - app/views/components/block/block_component.html.erb
732
730
  - app/views/components/block/block_component.rb
@@ -743,19 +741,32 @@ files:
743
741
  - app/views/components/form/form_builder.rb
744
742
  - app/views/components/form/form_component.html.erb
745
743
  - app/views/components/form/form_component.rb
746
- - app/views/components/form/form_controller.js
744
+ - app/views/components/has_many_panel/has_many_panel_component.html.erb
745
+ - app/views/components/has_many_panel/has_many_panel_component.rb
747
746
  - app/views/components/header/header_component.html.erb
748
747
  - app/views/components/header/header_component.rb
749
748
  - app/views/components/interactive_action_form/interactive_action_form_component.html.erb
750
749
  - app/views/components/interactive_action_form/interactive_action_form_component.rb
751
- - app/views/components/interactive_action_form/interactive_action_form_controller.js
750
+ - app/views/components/nav_grid_menu/nav_grid_menu_component.html.erb
751
+ - app/views/components/nav_grid_menu/nav_grid_menu_component.rb
752
+ - app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.html.erb
753
+ - app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.rb
754
+ - app/views/components/nav_user/nav_user_component.html.erb
755
+ - app/views/components/nav_user/nav_user_component.rb
756
+ - app/views/components/nav_user_link/nav_user_link_component.html.erb
757
+ - app/views/components/nav_user_link/nav_user_link_component.rb
758
+ - app/views/components/nav_user_section/nav_user_section_component.html.erb
759
+ - app/views/components/nav_user_section/nav_user_section_component.rb
752
760
  - app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.html.erb
753
761
  - app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.rb
754
- - app/views/components/nested_resource_form_fields/nested_resource_form_fields_controller.js
755
762
  - app/views/components/pagination/pagination_component.html.erb
756
763
  - app/views/components/pagination/pagination_component.rb
757
764
  - app/views/components/panel/panel_component.html.erb
758
765
  - app/views/components/panel/panel_component.rb
766
+ - app/views/components/resource_header/resource_header_component.html.erb
767
+ - app/views/components/resource_header/resource_header_component.rb
768
+ - app/views/components/resource_layout/resource_layout_component.html.erb
769
+ - app/views/components/resource_layout/resource_layout_component.rb
759
770
  - app/views/components/sidebar/sidebar_component.html.erb
760
771
  - app/views/components/sidebar/sidebar_component.rb
761
772
  - app/views/components/sidebar_menu/sidebar_menu_component.html.erb
@@ -764,32 +775,23 @@ files:
764
775
  - app/views/components/sidebar_menu_item/sidebar_menu_item_component.rb
765
776
  - app/views/components/skeleton/table/table_component.html.erb
766
777
  - app/views/components/skeleton/table/table_component.rb
767
- - app/views/components/tab_bar/tab_bar_component.html.erb
768
- - app/views/components/tab_bar/tab_bar_component.rb
769
- - app/views/components/tab_bar/tab_bar_controller.js
770
778
  - app/views/components/table/table_component.html.erb
771
779
  - app/views/components/table/table_component.rb
772
- - app/views/components/table/table_controller.js
773
780
  - app/views/components/table_search_input/table_search_input_component.html.erb
774
781
  - app/views/components/table_search_input/table_search_input_component.rb
775
- - app/views/components/table_search_input/table_search_input_controller.js
776
782
  - app/views/components/table_toolbar/table_toolbar_component.html.erb
777
783
  - app/views/components/table_toolbar/table_toolbar_component.rb
778
- - app/views/components/table_toolbar/table_toolbar_controller.js
779
784
  - app/views/components/toolbar/toolbar_component.html.erb
780
785
  - app/views/components/toolbar/toolbar_component.rb
781
- - app/views/components/toolbar/toolbar_controller.js
782
786
  - app/views/layouts/resource.html copy.erb
783
787
  - app/views/layouts/resource.html.erb
784
788
  - app/views/layouts/rodauth.html.erb
785
789
  - app/views/resource/_interactive_resource_action_form.html.erb
786
790
  - app/views/resource/_metric_card.html.erb
787
- - app/views/resource/_nav_user.html.erb
788
791
  - app/views/resource/_resource_details.html.erb
789
792
  - app/views/resource/_resource_details.rabl
790
793
  - app/views/resource/_resource_form.html.erb
791
794
  - app/views/resource/_resource_table.html.erb
792
- - app/views/resource/_tab_menu.html.erb
793
795
  - app/views/resource/edit.html.erb
794
796
  - app/views/resource/errors.rabl
795
797
  - app/views/resource/index.html.erb
@@ -844,13 +846,14 @@ files:
844
846
  - config/initializers/pagy.rb
845
847
  - config/initializers/rabl.rb
846
848
  - config/initializers/simple_form.rb
847
- - css.manifest
848
849
  - esbuild.config.js
849
850
  - exe/pug
850
- - js.manifest
851
851
  - lib/active_model/validations/array_validator.rb
852
852
  - lib/active_model/validations/attached_validator.rb
853
853
  - lib/active_model/validations/url_validator.rb
854
+ - lib/generators/pu/core/assets/assets_generator.rb
855
+ - lib/generators/pu/core/assets/templates/.keep
856
+ - lib/generators/pu/core/assets/templates/tailwind.config.js
854
857
  - lib/generators/pu/core/install/install_generator.rb
855
858
  - lib/generators/pu/core/install/templates/.keep
856
859
  - lib/generators/pu/core/install/templates/app/controllers/resource_controller.rb.tt
@@ -861,6 +864,25 @@ files:
861
864
  - lib/generators/pu/core/install/templates/app/query_objects/resource_query_object.rb.tt
862
865
  - lib/generators/pu/core/install/templates/config/initializers/plutonium.rb
863
866
  - lib/generators/pu/core/install/templates/config/packages.rb
867
+ - lib/generators/pu/core/ruby/ruby_generator.rb
868
+ - lib/generators/pu/core/ruby/templates/.keep
869
+ - lib/generators/pu/docker/install/install_generator.rb
870
+ - lib/generators/pu/docker/install/templates/.keep
871
+ - lib/generators/pu/docker/install/templates/Dockerfile.dev.tt
872
+ - lib/generators/pu/docker/install/templates/Dockerfile.tt
873
+ - lib/generators/pu/docker/install/templates/bin/console
874
+ - lib/generators/pu/docker/install/templates/bin/restart
875
+ - lib/generators/pu/docker/install/templates/bin/shell
876
+ - lib/generators/pu/docker/install/templates/docker-compose.yml
877
+ - lib/generators/pu/gem/dotenv/dotenv_generator.rb
878
+ - lib/generators/pu/gem/dotenv/templates/.env
879
+ - lib/generators/pu/gem/dotenv/templates/.env.local
880
+ - lib/generators/pu/gem/dotenv/templates/.env.local.template
881
+ - lib/generators/pu/gem/dotenv/templates/.env.template
882
+ - lib/generators/pu/gem/dotenv/templates/.keep
883
+ - lib/generators/pu/gem/dotenv/templates/config/initializers/001_ensure_required_env.rb
884
+ - lib/generators/pu/gem/redis/redis_generator.rb
885
+ - lib/generators/pu/gem/redis/templates/.keep
864
886
  - lib/generators/pu/gen/component/component_generator.rb
865
887
  - lib/generators/pu/gen/component/templates/component.html.erb.tt
866
888
  - lib/generators/pu/gen/component/templates/component.rb.tt
@@ -877,9 +899,9 @@ files:
877
899
  - lib/generators/pu/lib/plutonium_generators/installer.rb
878
900
  - lib/generators/pu/lib/plutonium_generators/model_generator.rb
879
901
  - lib/generators/pu/pkg/app/app_generator.rb
880
- - lib/generators/pu/pkg/app/templates/app/controllers/app_controller.rb.tt
902
+ - lib/generators/pu/pkg/app/templates/app/controllers/concerns/controller.rb.tt
903
+ - lib/generators/pu/pkg/app/templates/app/controllers/controller.rb.tt
881
904
  - lib/generators/pu/pkg/app/templates/app/controllers/dashboard_controller.rb.tt
882
- - lib/generators/pu/pkg/app/templates/app/controllers/package_controller.rb.tt
883
905
  - lib/generators/pu/pkg/app/templates/app/policies/resource_policy.rb.tt
884
906
  - lib/generators/pu/pkg/app/templates/app/presenters/resource_presenter.rb.tt
885
907
  - lib/generators/pu/pkg/app/templates/app/query_objects/resource_query_object.rb.tt
@@ -962,10 +984,10 @@ files:
962
984
  - lib/generators/pu/rodauth/templates/app/controllers/rodauth_controller.rb.tt
963
985
  - lib/generators/pu/rodauth/templates/app/mailers/account_mailer.rb.tt
964
986
  - lib/generators/pu/rodauth/templates/app/mailers/rodauth_mailer.rb.tt
965
- - lib/generators/pu/rodauth/templates/app/misc/account_rodauth_plugin.rb.tt
966
- - lib/generators/pu/rodauth/templates/app/misc/rodauth_app.rb.tt
967
- - lib/generators/pu/rodauth/templates/app/misc/rodauth_plugin.rb.tt
968
987
  - lib/generators/pu/rodauth/templates/app/models/account.rb.tt
988
+ - lib/generators/pu/rodauth/templates/app/rodauth/account_rodauth_plugin.rb.tt
989
+ - lib/generators/pu/rodauth/templates/app/rodauth/rodauth_app.rb.tt
990
+ - lib/generators/pu/rodauth/templates/app/rodauth/rodauth_plugin.rb.tt
969
991
  - lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/email_auth.text.erb
970
992
  - lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/password_changed.text.erb
971
993
  - lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/reset_password.text.erb
@@ -975,7 +997,17 @@ files:
975
997
  - lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/verify_login_change.text.erb
976
998
  - lib/generators/pu/rodauth/templates/config/initializers/rodauth.rb.tt
977
999
  - lib/generators/pu/rodauth/templates/db/migrate/create_rodauth.rb.tt
1000
+ - lib/generators/pu/rodauth/templates/db/migrate/install_rodauth.rb.tt
978
1001
  - lib/generators/pu/rodauth/views_generator.rb
1002
+ - lib/generators/pu/service/postgres/postgres_generator.rb
1003
+ - lib/generators/pu/service/postgres/templates/.keep
1004
+ - lib/generators/pu/service/postgres/templates/bin/initdb.d/create-multiple-postgresql-databases.sh
1005
+ - lib/generators/pu/service/postgres/templates/database.yml.tt
1006
+ - lib/generators/pu/service/sidekiq/sidekiq_generator.rb
1007
+ - lib/generators/pu/service/sidekiq/templates/.keep
1008
+ - lib/generators/pu/service/sidekiq/templates/app/sidekiq/sidekiq_job.rb
1009
+ - lib/generators/pu/service/sidekiq/templates/config/initializers/sidekiq.rb
1010
+ - lib/generators/pu/service/sidekiq/templates/config/sidekiq.yml
979
1011
  - lib/plutonium.rb
980
1012
  - lib/plutonium/application/controller.rb
981
1013
  - lib/plutonium/auth.rb
@@ -994,6 +1026,10 @@ files:
994
1026
  - lib/plutonium/core/actions/interactive_action.rb
995
1027
  - lib/plutonium/core/actions/new_action.rb
996
1028
  - lib/plutonium/core/actions/show_action.rb
1029
+ - lib/plutonium/core/associations/renderers/basic_renderer.rb
1030
+ - lib/plutonium/core/associations/renderers/factory.rb
1031
+ - lib/plutonium/core/associations/renderers/has_many_renderer.rb
1032
+ - lib/plutonium/core/autodiscovery/association_renderer_discoverer.rb
997
1033
  - lib/plutonium/core/autodiscovery/discoverer.rb
998
1034
  - lib/plutonium/core/autodiscovery/input_discoverer.rb
999
1035
  - lib/plutonium/core/autodiscovery/renderer_discoverer.rb
@@ -1006,12 +1042,14 @@ files:
1006
1042
  - lib/plutonium/core/controllers/presentable.rb
1007
1043
  - lib/plutonium/core/controllers/queryable.rb
1008
1044
  - lib/plutonium/core/definers/action_definer.rb
1045
+ - lib/plutonium/core/definers/association_renderer_definer.rb
1009
1046
  - lib/plutonium/core/definers/field_definer.rb
1010
1047
  - lib/plutonium/core/definers/input_definer.rb
1011
1048
  - lib/plutonium/core/definers/renderer_definer.rb
1012
1049
  - lib/plutonium/core/fields/inputs/attachment_input.rb
1013
1050
  - lib/plutonium/core/fields/inputs/base.rb
1014
1051
  - lib/plutonium/core/fields/inputs/belongs_to_association_input.rb
1052
+ - lib/plutonium/core/fields/inputs/checkbox_input.rb
1015
1053
  - lib/plutonium/core/fields/inputs/date_time_input.rb
1016
1054
  - lib/plutonium/core/fields/inputs/factory.rb
1017
1055
  - lib/plutonium/core/fields/inputs/has_many_association_input.rb
@@ -1031,6 +1069,7 @@ files:
1031
1069
  - lib/plutonium/helpers.rb
1032
1070
  - lib/plutonium/helpers/action_buttons_helper.rb
1033
1071
  - lib/plutonium/helpers/application_helper.rb
1072
+ - lib/plutonium/helpers/assets_helper.rb
1034
1073
  - lib/plutonium/helpers/attachment_helper.rb
1035
1074
  - lib/plutonium/helpers/component_helper.rb
1036
1075
  - lib/plutonium/helpers/content_helper.rb
@@ -1049,6 +1088,8 @@ files:
1049
1088
  - lib/plutonium/policy/scope.rb
1050
1089
  - lib/plutonium/preserved__/field.rb.bk
1051
1090
  - lib/plutonium/preserved__/input.rb.bk
1091
+ - lib/plutonium/pundit/context.rb
1092
+ - lib/plutonium/pundit/policy_finder.rb
1052
1093
  - lib/plutonium/railtie.rb
1053
1094
  - lib/plutonium/refinements/parameter_refinements.rb
1054
1095
  - lib/plutonium/reloader.rb
@@ -1064,25 +1105,49 @@ files:
1064
1105
  - lib/plutonium/simple_form/attachment_component.rb
1065
1106
  - lib/plutonium/simple_form/input_group_component.rb
1066
1107
  - lib/plutonium/version.rb
1108
+ - lib/tasks/create_rodauth_admin.rake
1067
1109
  - package-lock.json
1068
1110
  - package.json
1069
1111
  - postcss.config.js
1070
1112
  - public/.keep
1071
- - public/plutonium-assets/application.css
1072
1113
  - public/plutonium-assets/application.js
1073
1114
  - public/plutonium-assets/fonts/bootstrap-icons.woff
1074
1115
  - public/plutonium-assets/fonts/bootstrap-icons.woff2
1075
- - public/plutonium-assets/plutonium-app-36KN5FVJ.js
1076
- - public/plutonium-assets/plutonium-app-36KN5FVJ.js.map
1077
- - public/plutonium-assets/plutonium-app-6WILQCTT.js
1078
- - public/plutonium-assets/plutonium-app-6WILQCTT.js.map
1079
1116
  - public/plutonium-assets/plutonium-logo-original.png
1080
1117
  - public/plutonium-assets/plutonium-logo-white.png
1081
1118
  - public/plutonium-assets/plutonium-logo.png
1082
- - public/plutonium-assets/plutonium.2d4f0c333cd000051d3b.css
1083
- - public/plutonium-assets/plutonium.50232e35b5495f5ad90d.css
1084
1119
  - public/plutonium-assets/plutonium.ico
1085
1120
  - sig/plutonium.rbs
1121
+ - src/.npmignore
1122
+ - src/css/plutonium.css
1123
+ - src/js/controllers/color_mode_controller.js
1124
+ - src/js/controllers/form_controller.js
1125
+ - src/js/controllers/frame_navigator_controller.js
1126
+ - src/js/controllers/has_many_panel_controller.js
1127
+ - src/js/controllers/interactive_action_form_controller.js
1128
+ - src/js/controllers/nav_grid_menu_controller.js
1129
+ - src/js/controllers/nav_grid_menu_item_controller.js
1130
+ - src/js/controllers/nav_user_controller.js
1131
+ - src/js/controllers/nav_user_link_controller.js
1132
+ - src/js/controllers/nav_user_section_controller.js
1133
+ - src/js/controllers/nested_resource_form_fields_controller.js
1134
+ - src/js/controllers/register_controllers.js
1135
+ - src/js/controllers/resource_dismiss_controller.js
1136
+ - src/js/controllers/resource_drop_down_controller.js
1137
+ - src/js/controllers/resource_header_controller.js
1138
+ - src/js/controllers/resource_layout_controller.js
1139
+ - src/js/controllers/sidebar_menu_controller.js
1140
+ - src/js/controllers/sidebar_menu_item_controller.js
1141
+ - src/js/controllers/table_controller.js
1142
+ - src/js/controllers/table_search_input_controller.js
1143
+ - src/js/controllers/table_toolbar_controller.js
1144
+ - src/js/controllers/toolbar_controller.js
1145
+ - src/js/core.js
1146
+ - src/js/plutonium.js
1147
+ - src/js/turbo/index.js
1148
+ - src/js/turbo/turbo_actions.js
1149
+ - src/js/turbo/turbo_debug.js
1150
+ - src/js/turbo/turbo_frame_monkey_patch.js
1086
1151
  - tailwind.config.js
1087
1152
  - templates/base.rb
1088
1153
  homepage: https://github.com/radioactive-labs/plutonium-core