plutonium 0.10.2 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/Rakefile +1 -2
- data/app/assets/application.js.bk +31419 -0
- data/app/assets/plutonium-logo-original.png +0 -0
- data/app/assets/plutonium-logo-white.png +0 -0
- data/app/assets/plutonium-logo.png +0 -0
- data/app/assets/plutonium.css +1 -0
- data/app/assets/plutonium.ico +0 -0
- data/app/assets/plutonium.js +12416 -0
- data/app/assets/plutonium.js.map +7 -0
- data/app/assets/plutonium.min.js +39 -0
- data/app/assets/plutonium.min.js.map +7 -0
- data/app/views/application/_flash_alerts.html.erb +5 -2
- data/app/views/application/_flash_toasts.html.erb +2 -0
- data/app/views/application/_resource_header.html.erb +263 -697
- data/app/views/application/_resource_sidebar.html.erb +14 -12
- data/app/views/components/action_button/action_button_component.rb +3 -3
- data/app/views/components/attributes.rb +184 -0
- data/app/views/components/base.rb +19 -40
- data/app/views/components/block/block_component.html.erb +1 -1
- data/app/views/components/block/block_component.rb +11 -7
- data/app/views/components/breadcrumbs/breadcrumbs_component.rb +3 -3
- data/app/views/components/button/button_component.html.erb +2 -2
- data/app/views/components/button/button_component.rb +10 -5
- data/app/views/components/dyna_frame_content/dyna_frame_content_component.html.erb +1 -0
- data/app/views/components/dyna_frame_content/dyna_frame_content_component.rb +3 -3
- data/app/views/components/dyna_frame_host/dyna_frame_host_component.html.erb +1 -2
- data/app/views/components/dyna_frame_host/dyna_frame_host_component.rb +12 -5
- data/app/views/components/empty_card/empty_card_component.rb +3 -3
- data/app/views/components/form/form_builder.rb +1 -1
- data/app/views/components/form/form_component.rb +3 -3
- data/app/views/components/has_many_panel/has_many_panel_component.html.erb +25 -0
- data/app/views/components/has_many_panel/has_many_panel_component.rb +16 -0
- data/app/views/components/header/header_component.rb +3 -3
- data/app/views/components/interactive_action_form/interactive_action_form_component.rb +3 -3
- data/app/views/components/nav_grid_menu/nav_grid_menu_component.html.erb +24 -0
- data/app/views/components/nav_grid_menu/nav_grid_menu_component.rb +23 -0
- data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.html.erb +4 -0
- data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.rb +20 -0
- data/app/views/components/nav_user/nav_user_component.html.erb +50 -0
- data/app/views/components/nav_user/nav_user_component.rb +32 -0
- data/app/views/components/nav_user_link/nav_user_link_component.html.erb +7 -0
- data/app/views/components/nav_user_link/nav_user_link_component.rb +23 -0
- data/app/views/components/nav_user_section/nav_user_section_component.html.erb +7 -0
- data/app/views/components/nav_user_section/nav_user_section_component.rb +18 -0
- data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.html.erb +1 -3
- data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.rb +11 -5
- data/app/views/components/pagination/pagination_component.html.erb +1 -1
- data/app/views/components/pagination/pagination_component.rb +10 -7
- data/app/views/components/panel/panel_component.html.erb +13 -6
- data/app/views/components/panel/panel_component.rb +11 -5
- data/app/views/components/resource_header/resource_header_component.html.erb +81 -0
- data/app/views/components/resource_header/resource_header_component.rb +20 -0
- data/app/views/components/resource_layout/resource_layout_component.html.erb +32 -0
- data/app/views/components/resource_layout/resource_layout_component.rb +39 -0
- data/app/views/components/sidebar/sidebar_component.html.erb +3 -33
- data/app/views/components/sidebar/sidebar_component.rb +3 -3
- data/app/views/components/sidebar_menu/sidebar_menu_component.html.erb +4 -2
- data/app/views/components/sidebar_menu/sidebar_menu_component.rb +10 -6
- data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.html.erb +63 -71
- data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.rb +27 -8
- data/app/views/components/skeleton/table/table_component.html.erb +1 -1
- data/app/views/components/skeleton/table/table_component.rb +3 -3
- data/app/views/components/table/table_component.html.erb +40 -89
- data/app/views/components/table/table_component.rb +124 -28
- data/app/views/components/table_search_input/table_search_input_component.html.erb +1 -1
- data/app/views/components/table_search_input/table_search_input_component.rb +11 -6
- data/app/views/components/table_toolbar/table_toolbar_component.html.erb +1 -1
- data/app/views/components/table_toolbar/table_toolbar_component.rb +11 -3
- data/app/views/components/toolbar/toolbar_component.html.erb +2 -2
- data/app/views/components/toolbar/toolbar_component.rb +16 -8
- data/app/views/layouts/resource.html copy.erb +2 -2
- data/app/views/layouts/resource.html.erb +21 -37
- data/app/views/layouts/rodauth.html.erb +32 -25
- data/app/views/resource/_interactive_resource_action_form.html.erb +1 -1
- data/app/views/resource/_resource_details.html.erb +8 -5
- data/app/views/resource/_resource_table.html.erb +70 -1
- data/app/views/resource/interactive_resource_collection_action.html.erb +1 -0
- data/app/views/resource/interactive_resource_record_action.html.erb +1 -0
- data/app/views/resource/interactive_resource_recordless_action.html.erb +1 -0
- data/app/views/resource/new.html.erb +1 -0
- data/app/views/rodauth/add_recovery_codes.html.erb +8 -7
- data/app/views/rodauth/otp_auth.html.erb +1 -1
- data/app/views/rodauth/otp_setup.html.erb +10 -8
- data/config/initializers/simple_form.rb +22 -2
- data/esbuild.config.js +35 -31
- data/lib/generators/pu/core/assets/assets_generator.rb +41 -0
- data/lib/generators/pu/core/assets/templates/tailwind.config.js +18 -0
- data/lib/generators/pu/core/install/templates/config/initializers/plutonium.rb +3 -0
- data/lib/generators/pu/core/ruby/ruby_generator.rb +30 -0
- data/lib/generators/pu/core/ruby/templates/.keep +0 -0
- data/lib/generators/pu/docker/install/install_generator.rb +35 -0
- data/lib/generators/pu/docker/install/templates/.keep +0 -0
- data/lib/generators/pu/docker/install/templates/Dockerfile.dev.tt +30 -0
- data/lib/generators/pu/docker/install/templates/Dockerfile.tt +75 -0
- data/lib/generators/pu/docker/install/templates/bin/console +3 -0
- data/lib/generators/pu/docker/install/templates/bin/restart +3 -0
- data/lib/generators/pu/docker/install/templates/bin/shell +3 -0
- data/lib/generators/pu/docker/install/templates/docker-compose.yml +29 -0
- data/lib/generators/pu/gem/dotenv/dotenv_generator.rb +32 -0
- data/lib/generators/pu/gem/dotenv/templates/.env +6 -0
- data/lib/generators/pu/gem/dotenv/templates/.env.local +5 -0
- data/lib/generators/pu/gem/dotenv/templates/.env.local.template +5 -0
- data/lib/generators/pu/gem/dotenv/templates/.env.template +6 -0
- data/lib/generators/pu/gem/dotenv/templates/.keep +0 -0
- data/lib/generators/pu/gem/dotenv/templates/config/initializers/001_ensure_required_env.rb +21 -0
- data/lib/generators/pu/gem/redis/redis_generator.rb +22 -0
- data/lib/generators/pu/gem/redis/templates/.keep +0 -0
- data/lib/generators/pu/gen/component/component_generator.rb +13 -10
- data/lib/generators/pu/gen/component/templates/component.html.erb.tt +1 -1
- data/lib/generators/pu/gen/component/templates/component.rb.tt +10 -4
- data/lib/generators/pu/lib/plutonium_generators/concerns/actions.rb +154 -32
- data/lib/generators/pu/lib/plutonium_generators/generator.rb +6 -6
- data/lib/generators/pu/lib/plutonium_generators/installer.rb +1 -1
- data/lib/generators/pu/pkg/app/app_generator.rb +4 -4
- data/lib/generators/pu/pkg/app/templates/app/controllers/concerns/controller.rb.tt +28 -0
- data/lib/generators/pu/pkg/app/templates/app/controllers/controller.rb.tt +5 -0
- data/lib/generators/pu/pkg/app/templates/app/controllers/dashboard_controller.rb.tt +1 -1
- data/lib/generators/pu/res/conn/conn_generator.rb +4 -4
- data/lib/generators/pu/res/conn/templates/app/controllers/resource_controller.rb.tt +1 -1
- data/lib/generators/pu/res/model/model_generator.rb +3 -3
- data/lib/generators/pu/res/scaffold/templates/policy.rb.tt +6 -0
- data/lib/generators/pu/rodauth/account_generator.rb +10 -10
- data/lib/generators/pu/rodauth/install_generator.rb +9 -2
- data/lib/generators/pu/rodauth/migration/sequel/audit_logging.erb +2 -2
- data/lib/generators/pu/rodauth/migration_generator.rb +1 -1
- data/lib/generators/pu/rodauth/templates/app/{misc → rodauth}/account_rodauth_plugin.rb.tt +2 -2
- data/lib/generators/pu/rodauth/templates/app/{misc → rodauth}/rodauth_plugin.rb.tt +0 -3
- data/lib/generators/pu/rodauth/templates/db/migrate/install_rodauth.rb.tt +5 -0
- data/lib/generators/pu/service/postgres/postgres_generator.rb +61 -0
- data/lib/generators/pu/service/postgres/templates/.keep +0 -0
- data/lib/generators/pu/service/postgres/templates/bin/initdb.d/create-multiple-postgresql-databases.sh +22 -0
- data/lib/generators/pu/service/postgres/templates/database.yml.tt +93 -0
- data/lib/generators/pu/service/sidekiq/sidekiq_generator.rb +57 -0
- data/lib/generators/pu/service/sidekiq/templates/.keep +0 -0
- data/lib/generators/pu/service/sidekiq/templates/app/sidekiq/sidekiq_job.rb +3 -0
- data/lib/generators/pu/service/sidekiq/templates/config/initializers/sidekiq.rb +53 -0
- data/lib/generators/pu/service/sidekiq/templates/config/sidekiq.yml +6 -0
- data/lib/plutonium/config.rb +2 -9
- data/lib/plutonium/core/associations/renderers/basic_renderer.rb +28 -0
- data/lib/plutonium/core/associations/renderers/factory.rb +36 -0
- data/lib/plutonium/core/associations/renderers/has_many_renderer.rb +16 -0
- data/lib/plutonium/core/autodiscovery/association_renderer_discoverer.rb +31 -0
- data/lib/plutonium/core/controllers/authorizable.rb +13 -17
- data/lib/plutonium/core/controllers/base.rb +3 -7
- data/lib/plutonium/core/controllers/entity_scoping.rb +3 -3
- data/lib/plutonium/core/controllers/presentable.rb +6 -1
- data/lib/plutonium/core/definers/association_renderer_definer.rb +33 -0
- data/lib/plutonium/core/fields/inputs/checkbox_input.rb +13 -0
- data/lib/plutonium/core/fields/inputs/factory.rb +1 -0
- data/lib/plutonium/core/fields/inputs/polymorphic_belongs_to_association_input.rb +1 -1
- data/lib/plutonium/core/ui/detail.rb +1 -0
- data/lib/plutonium/helpers/application_helper.rb +8 -9
- data/lib/plutonium/helpers/assets_helper.rb +33 -0
- data/lib/plutonium/helpers/display_helper.rb +13 -0
- data/lib/plutonium/helpers/form_helper.rb +1 -1
- data/lib/plutonium/helpers.rb +1 -0
- data/lib/plutonium/icons.rb +12 -5
- data/lib/plutonium/pkg/app.rb +10 -0
- data/lib/plutonium/pundit/context.rb +18 -0
- data/lib/plutonium/pundit/policy_finder.rb +25 -0
- data/lib/plutonium/railtie.rb +24 -8
- data/lib/plutonium/reloader.rb +18 -7
- data/lib/plutonium/resource/controller.rb +5 -0
- data/lib/plutonium/resource/policy.rb +69 -47
- data/lib/plutonium/resource/presenter.rb +1 -0
- data/lib/plutonium/resource/query_object.rb +139 -130
- data/lib/plutonium/rodauth/controller_methods.rb +7 -3
- data/lib/plutonium/version.rb +1 -1
- data/lib/plutonium.rb +10 -54
- data/lib/tasks/create_rodauth_admin.rake +16 -0
- data/package-lock.json +782 -17
- data/package.json +31 -8
- data/postcss.config.js +17 -7
- data/src/.npmignore +2 -0
- data/src/js/controllers/color_mode_controller.js +41 -0
- data/src/js/controllers/frame_navigator_controller.js +99 -0
- data/src/js/controllers/has_many_panel_controller.js +8 -0
- data/src/js/controllers/nav_grid_menu_controller.js +8 -0
- data/src/js/controllers/nav_grid_menu_item_controller.js +8 -0
- data/{app/views/components/tab_bar/tab_bar_controller.js → src/js/controllers/nav_user_controller.js} +2 -2
- data/src/js/controllers/nav_user_link_controller.js +8 -0
- data/src/js/controllers/nav_user_section_controller.js +8 -0
- data/src/js/controllers/register_controllers.js +45 -0
- data/{app/assets/javascripts → src/js}/controllers/resource_dismiss_controller.js +2 -0
- data/{app/assets/javascripts → src/js}/controllers/resource_drop_down_controller.js +2 -0
- data/src/js/controllers/resource_header_controller.js +8 -0
- data/src/js/controllers/resource_layout_controller.js +8 -0
- data/src/js/controllers/sidebar_menu_controller.js +8 -0
- data/src/js/controllers/sidebar_menu_item_controller.js +8 -0
- data/src/js/core.js +4 -0
- data/{app/assets/javascripts/plutonium-app.js → src/js/plutonium.js} +1 -1
- data/{app/assets/javascripts → src/js}/turbo/turbo_debug.js +2 -4
- data/tailwind.config.js +85 -84
- metadata +106 -41
- data/app/assets/build/plutonium.js +0 -5122
- data/app/assets/javascripts/controllers/index.js +0 -34
- data/app/assets/javascripts/plutonium.js +0 -1
- data/app/views/application/_color_modes.html.erb +0 -57
- data/app/views/components/tab_bar/tab_bar_component.html.erb +0 -11
- data/app/views/components/tab_bar/tab_bar_component.rb +0 -9
- data/app/views/resource/_nav_user.html.erb +0 -4
- data/app/views/resource/_tab_menu.html.erb +0 -13
- data/css.manifest +0 -3
- data/js.manifest +0 -4
- data/lib/generators/pu/pkg/app/templates/app/controllers/app_controller.rb.tt +0 -5
- data/lib/generators/pu/pkg/app/templates/app/controllers/package_controller.rb.tt +0 -26
- data/public/plutonium-assets/application.css +0 -25086
- data/public/plutonium-assets/plutonium-app-36KN5FVJ.js +0 -6
- data/public/plutonium-assets/plutonium-app-36KN5FVJ.js.map +0 -7
- data/public/plutonium-assets/plutonium-app-6WILQCTT.js +0 -39
- data/public/plutonium-assets/plutonium-app-6WILQCTT.js.map +0 -7
- data/public/plutonium-assets/plutonium.2d4f0c333cd000051d3b.css +0 -3424
- data/public/plutonium-assets/plutonium.50232e35b5495f5ad90d.css +0 -3415
- /data/{app/assets/build → lib/generators/pu/core/assets/templates}/.keep +0 -0
- /data/lib/generators/pu/rodauth/templates/app/{misc → rodauth}/rodauth_app.rb.tt +0 -0
- /data/{app/assets/stylesheets → src/css}/plutonium.css +0 -0
- /data/{app/views/components/form → src/js/controllers}/form_controller.js +0 -0
- /data/{app/views/components/interactive_action_form → src/js/controllers}/interactive_action_form_controller.js +0 -0
- /data/{app/views/components/nested_resource_form_fields → src/js/controllers}/nested_resource_form_fields_controller.js +0 -0
- /data/{app/views/components/table → src/js/controllers}/table_controller.js +0 -0
- /data/{app/views/components/table_search_input → src/js/controllers}/table_search_input_controller.js +0 -0
- /data/{app/views/components/table_toolbar → src/js/controllers}/table_toolbar_controller.js +0 -0
- /data/{app/views/components/toolbar → src/js/controllers}/toolbar_controller.js +0 -0
- /data/{app/assets/javascripts → src/js}/turbo/index.js +0 -0
- /data/{app/assets/javascripts → src/js}/turbo/turbo_actions.js +0 -0
- /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.
|
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-
|
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/
|
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/
|
713
|
-
- app/assets/
|
714
|
-
- app/assets/
|
715
|
-
- app/assets/
|
716
|
-
- app/assets/
|
717
|
-
- app/assets/
|
718
|
-
- app/assets/
|
719
|
-
- app/assets/
|
720
|
-
- app/assets/
|
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/
|
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/
|
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/
|
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
|