plutonium 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.ruby-version +1 -0
- data/.standard.yml +4 -0
- data/.vscode/extensions.json +15 -0
- data/.vscode/launch.json +7 -0
- data/.vscode/settings.json +35 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +21 -0
- data/README copy.md +84 -0
- data/README.md +67 -0
- data/Rakefile +8 -0
- data/app/views/layouts/resource.html.erb +43 -0
- data/app/views/resource/_color_modes.html.erb +55 -0
- data/app/views/resource/_details.html.erb +6 -0
- data/app/views/resource/_empty_card.html.erb +12 -0
- data/app/views/resource/_flash.html.erb +9 -0
- data/app/views/resource/_form.html.erb +32 -0
- data/app/views/resource/_header.html.erb +8 -0
- data/app/views/resource/_interactive_resource_action_form.html.erb +67 -0
- data/app/views/resource/_messages.html.erb +1 -0
- data/app/views/resource/_metric_card.html.erb +16 -0
- data/app/views/resource/_nav_user.html.erb +4 -0
- data/app/views/resource/_pagination.html.erb +6 -0
- data/app/views/resource/_pagy_pagination.html.erb +15 -0
- data/app/views/resource/_resource.html.erb +1 -0
- data/app/views/resource/_resource.rabl +5 -0
- data/app/views/resource/_sidebar.html.erb +11 -0
- data/app/views/resource/_sidebar_menu.html.erb +1 -0
- data/app/views/resource/_tab_menu.html.erb +13 -0
- data/app/views/resource/_table.html.erb +78 -0
- data/app/views/resource/_table_actions.html.erb +15 -0
- data/app/views/resource/_toast.html.erb +26 -0
- data/app/views/resource/_toolbar.html.erb +22 -0
- data/app/views/resource/_toolbar_actions.html.erb +16 -0
- data/app/views/resource/_toolbar_breadcrumbs.html.erb +32 -0
- data/app/views/resource/_toolbar_search_input.erb +27 -0
- data/app/views/resource/edit.html.erb +10 -0
- data/app/views/resource/errors.rabl +3 -0
- data/app/views/resource/index.html.erb +19 -0
- data/app/views/resource/index.rabl +3 -0
- data/app/views/resource/interactive_resource_collection_action.html.erb +11 -0
- data/app/views/resource/interactive_resource_record_action.html.erb +11 -0
- data/app/views/resource/interactive_resource_recordless_action.html.erb +11 -0
- data/app/views/resource/new.html.erb +11 -0
- data/app/views/resource/readme.md +16 -0
- data/app/views/resource/show.html.erb +14 -0
- data/app/views/resource/show.rabl +3 -0
- data/brakeman.ignore +51 -0
- data/lib/active_model/validations/array_validator.rb +74 -0
- data/lib/active_model/validations/attached_validator.rb +17 -0
- data/lib/active_model/validations/url_validator.rb +51 -0
- data/lib/generators/pu/core/install/install_generator.rb +43 -0
- data/lib/generators/pu/core/install/templates/.keep +0 -0
- data/lib/generators/pu/core/install/templates/app/controllers/resource_controller.rb.tt +2 -0
- data/lib/generators/pu/core/install/templates/app/interactions/resource_interaction.rb.tt +2 -0
- data/lib/generators/pu/core/install/templates/app/models/resource_record.rb.tt +5 -0
- data/lib/generators/pu/core/install/templates/app/policies/resource_policy.rb.tt +2 -0
- data/lib/generators/pu/core/install/templates/app/presenters/resource_presenter.rb.tt +2 -0
- data/lib/generators/pu/core/install/templates/config/initializers/plutonium.rb +2 -0
- data/lib/generators/pu/core/install/templates/config/packages.rb +3 -0
- data/lib/generators/pu/gem/pagy/pagy_generator.rb +25 -0
- data/lib/generators/pu/gem/pagy/templates/.keep +0 -0
- data/lib/generators/pu/gem/pagy/templates/config/initializers/pagy.rb +4 -0
- data/lib/generators/pu/gem/rabl/rabl_generator.rb +25 -0
- data/lib/generators/pu/gem/rabl/templates/.keep +0 -0
- data/lib/generators/pu/gem/rabl/templates/config/initializers/rabl.rb +60 -0
- data/lib/generators/pu/gem/simple_form/simple_form_generator.rb +25 -0
- data/lib/generators/pu/gem/simple_form/templates/.keep +0 -0
- data/lib/generators/pu/gen/pug/pug_generator.rb +43 -0
- data/lib/generators/pu/gen/pug/templates/pug.rb.tt +23 -0
- data/lib/generators/pu/pkg/app/app_generator.rb +60 -0
- data/lib/generators/pu/pkg/app/templates/app/controllers/resource_controller.rb.tt +26 -0
- data/lib/generators/pu/pkg/app/templates/app/interactions/resource_interaction.rb.tt +4 -0
- data/lib/generators/pu/pkg/app/templates/app/policies/resource_policy.rb.tt +4 -0
- data/lib/generators/pu/pkg/app/templates/app/presenters/resource_presenter.rb.tt +4 -0
- data/lib/generators/pu/pkg/app/templates/config/routes.rb.tt +17 -0
- data/lib/generators/pu/pkg/app/templates/lib/engine.rb.tt +14 -0
- data/lib/generators/pu/pkg/feature/feature_generator.rb +44 -0
- data/lib/generators/pu/pkg/feature/templates/.keep +0 -0
- data/lib/generators/pu/pkg/feature/templates/app/controllers/resource_controller.rb.tt +7 -0
- data/lib/generators/pu/pkg/feature/templates/app/interactions/resource_interaction.rb.tt +4 -0
- data/lib/generators/pu/pkg/feature/templates/app/models/resource_record.rb.tt +5 -0
- data/lib/generators/pu/pkg/feature/templates/app/policies/resource_policy.rb.tt +4 -0
- data/lib/generators/pu/pkg/feature/templates/app/presenters/resource_presenter.rb.tt +4 -0
- data/lib/generators/pu/pkg/feature/templates/lib/engine.rb.tt +8 -0
- data/lib/generators/pu/resource/conn/conn_generator.rb +54 -0
- data/lib/generators/pu/resource/conn/templates/.keep +0 -0
- data/lib/generators/pu/resource/conn/templates/app/controllers/resource_controller.rb.tt +3 -0
- data/lib/generators/pu/resource/conn/templates/app/policies/resource_policy.rb.tt +3 -0
- data/lib/generators/pu/resource/conn/templates/app/presenters/resource_presenter.rb.tt +3 -0
- data/lib/generators/pu/resource/model/USAGE +113 -0
- data/lib/generators/pu/resource/model/model_generator.rb +163 -0
- data/lib/generators/pu/resource/model/templates/controller.rb.tt +5 -0
- data/lib/generators/pu/resource/model/templates/create_table_migration.rb.tt +26 -0
- data/lib/generators/pu/resource/model/templates/model.rb.tt +53 -0
- data/lib/generators/pu/resource/model/templates/module.rb.tt +7 -0
- data/lib/generators/pu/resource/model/templates/policy.rb.tt +4 -0
- data/lib/generators/pu/resource/model/templates/presenter.rb.tt +4 -0
- data/lib/generators/pu/resource/scaffold/scaffold_generator.rb +219 -0
- data/lib/generators/pu/resource/scaffold/templates/app/controllers/admin_resources/resource_controller.rb.tt +7 -0
- data/lib/generators/pu/resource/scaffold/templates/app/controllers/entity_resources/resource_controller.rb.tt +7 -0
- data/lib/generators/pu/resource/scaffold/templates/app/policies/resources/admin/resource_policy.rb.tt +22 -0
- data/lib/generators/pu/resource/scaffold/templates/app/policies/resources/entity/resource_policy.rb.tt +22 -0
- data/lib/generators/pu/resource/scaffold/templates/app/policies/resources/resource_policy.rb.tt +13 -0
- data/lib/generators/pu/resource/scaffold/templates/app/resources/resource/admin_presenter.rb.tt +7 -0
- data/lib/generators/pu/resource/scaffold/templates/app/resources/resource/entity_presenter.rb.tt +7 -0
- data/lib/generators/pu/resource/scaffold/templates/app/resources/resource/presenter.rb.tt +23 -0
- data/lib/generators/pu/resource/scaffold/templates/app/views/resources/resource/_resource.html.erb.tt +3 -0
- data/lib/generators/pu/resource/scaffold/templates/app/views/resources/resource/_resource.rabl +7 -0
- data/lib/generators/pu/rodauth/account_generator.rb +120 -0
- data/lib/generators/pu/rodauth/concerns/account_selector.rb +22 -0
- data/lib/generators/pu/rodauth/concerns/configuration.rb +211 -0
- data/lib/generators/pu/rodauth/concerns/feature_selector.rb +125 -0
- data/lib/generators/pu/rodauth/install_generator.rb +69 -0
- data/lib/generators/pu/rodauth/migration/active_record/account_expiration.erb +8 -0
- data/lib/generators/pu/rodauth/migration/active_record/active_sessions.erb +7 -0
- data/lib/generators/pu/rodauth/migration/active_record/audit_logging.erb +16 -0
- data/lib/generators/pu/rodauth/migration/active_record/base.erb +22 -0
- data/lib/generators/pu/rodauth/migration/active_record/disallow_password_reuse.erb +5 -0
- data/lib/generators/pu/rodauth/migration/active_record/email_auth.erb +8 -0
- data/lib/generators/pu/rodauth/migration/active_record/jwt_refresh.erb +7 -0
- data/lib/generators/pu/rodauth/migration/active_record/lockout.erb +13 -0
- data/lib/generators/pu/rodauth/migration/active_record/otp.erb +8 -0
- data/lib/generators/pu/rodauth/migration/active_record/password_expiration.erb +6 -0
- data/lib/generators/pu/rodauth/migration/active_record/recovery_codes.erb +6 -0
- data/lib/generators/pu/rodauth/migration/active_record/remember.erb +7 -0
- data/lib/generators/pu/rodauth/migration/active_record/reset_password.erb +8 -0
- data/lib/generators/pu/rodauth/migration/active_record/separate_passwords.erb +5 -0
- data/lib/generators/pu/rodauth/migration/active_record/single_session.erb +6 -0
- data/lib/generators/pu/rodauth/migration/active_record/sms_codes.erb +9 -0
- data/lib/generators/pu/rodauth/migration/active_record/verify_account.erb +8 -0
- data/lib/generators/pu/rodauth/migration/active_record/verify_login_change.erb +8 -0
- data/lib/generators/pu/rodauth/migration/active_record/webauthn.erb +13 -0
- data/lib/generators/pu/rodauth/migration/sequel/account_expiration.erb +7 -0
- data/lib/generators/pu/rodauth/migration/sequel/active_sessions.erb +8 -0
- data/lib/generators/pu/rodauth/migration/sequel/audit_logging.erb +17 -0
- data/lib/generators/pu/rodauth/migration/sequel/base.erb +25 -0
- data/lib/generators/pu/rodauth/migration/sequel/disallow_password_reuse.erb +6 -0
- data/lib/generators/pu/rodauth/migration/sequel/email_auth.erb +7 -0
- data/lib/generators/pu/rodauth/migration/sequel/jwt_refresh.erb +8 -0
- data/lib/generators/pu/rodauth/migration/sequel/lockout.erb +11 -0
- data/lib/generators/pu/rodauth/migration/sequel/otp.erb +7 -0
- data/lib/generators/pu/rodauth/migration/sequel/password_expiration.erb +5 -0
- data/lib/generators/pu/rodauth/migration/sequel/recovery_codes.erb +6 -0
- data/lib/generators/pu/rodauth/migration/sequel/remember.erb +6 -0
- data/lib/generators/pu/rodauth/migration/sequel/reset_password.erb +7 -0
- data/lib/generators/pu/rodauth/migration/sequel/separate_passwords.erb +6 -0
- data/lib/generators/pu/rodauth/migration/sequel/single_session.erb +5 -0
- data/lib/generators/pu/rodauth/migration/sequel/sms_codes.erb +8 -0
- data/lib/generators/pu/rodauth/migration/sequel/verify_account.erb +7 -0
- data/lib/generators/pu/rodauth/migration/sequel/verify_login_change.erb +7 -0
- data/lib/generators/pu/rodauth/migration/sequel/webauthn.erb +13 -0
- data/lib/generators/pu/rodauth/migration_generator.rb +190 -0
- data/lib/generators/pu/rodauth/templates/INSTRUCTIONS +52 -0
- data/lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt +6 -0
- data/lib/generators/pu/rodauth/templates/app/controllers/rodauth_controller.rb.tt +3 -0
- data/lib/generators/pu/rodauth/templates/app/mailers/account_mailer.rb.tt +4 -0
- data/lib/generators/pu/rodauth/templates/app/mailers/rodauth_mailer.rb.tt +62 -0
- data/lib/generators/pu/rodauth/templates/app/misc/account_rodauth_plugin.rb.tt +255 -0
- data/lib/generators/pu/rodauth/templates/app/misc/rodauth_app.rb.tt +24 -0
- data/lib/generators/pu/rodauth/templates/app/misc/rodauth_plugin.rb.tt +234 -0
- data/lib/generators/pu/rodauth/templates/app/models/account.rb.tt +40 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/_email_auth_request_form.html.erb +7 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/_login_form.html.erb +26 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/_login_form_footer.html.erb +9 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/add_recovery_codes.html.erb +6 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/change_login.html.erb +27 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/change_password.html.erb +27 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/close_account.html.erb +13 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/confirm_password.html.erb +11 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/create_account.html.erb +35 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/email_auth.html.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/login.html.erb +4 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/logout.html.erb +14 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/multi_phase_login.html.erb +3 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/otp_auth.html.erb +15 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/otp_disable.html.erb +13 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/otp_setup.html.erb +41 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_auth.html.erb +11 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_codes.html.erb +13 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/remember.html.erb +22 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/reset_password.html.erb +19 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/reset_password_request.html.erb +17 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_auth.html.erb +15 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_confirm.html.erb +15 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_disable.html.erb +13 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_request.html.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_setup.html.erb +23 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/_email_auth_request_form.html.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/_login_form.html.erb +24 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/_login_form_footer.html.erb +7 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/add_recovery_codes.html.erb +16 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/change_login.html.erb +25 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/change_password.html.erb +25 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/close_account.html.erb +11 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/confirm_password.html.erb +19 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/create_account.html.erb +33 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/email_auth.html.erb +3 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/login.html.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/logout.html.erb +10 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/multi_phase_login.html.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/otp_auth.html.erb +9 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/otp_disable.html.erb +11 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/otp_setup.html.erb +32 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/recovery_auth.html.erb +9 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/recovery_codes.html.erb +11 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/remember.html.erb +18 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/reset_password.html.erb +17 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/reset_password_request.html.erb +17 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_auth.html.erb +9 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_confirm.html.erb +9 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_disable.html.erb +11 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_request.html.erb +3 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_setup.html.erb +17 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/two_factor_auth.html.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/two_factor_disable.html.erb +11 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/two_factor_manage.html.erb +26 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/unlock_account.html.erb +15 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/unlock_account_request.html.erb +9 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/verify_account.html.erb +19 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/verify_account_resend.html.erb +17 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/verify_login_change.html.erb +3 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/webauthn_auth.html.erb +13 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/webauthn_autofill.html.erb +10 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/webauthn_remove.html.erb +21 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/webauthn_setup.html.erb +21 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_auth.html.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_disable.html.erb +13 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb +22 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account.html.erb +15 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account_request.html.erb +9 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/verify_account.html.erb +21 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/verify_account_resend.html.erb +17 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/verify_login_change.html.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_auth.html.erb +15 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_autofill.html.erb +10 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_remove.html.erb +23 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_setup.html.erb +23 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/email_auth.text.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/password_changed.text.erb +2 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/reset_password.text.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/reset_password_notify.text.erb +2 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/unlock_account.text.erb +5 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/verify_account.text.erb +4 -0
- data/lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/verify_login_change.text.erb +10 -0
- data/lib/generators/pu/rodauth/templates/config/initializers/rodauth.rb.tt +3 -0
- data/lib/generators/pu/rodauth/templates/db/migrate/create_rodauth.rb.tt +13 -0
- data/lib/generators/pu/rodauth/views_generator.rb +125 -0
- data/lib/plutonium/auth/public_access.rb +17 -0
- data/lib/plutonium/auth/rodauth.rb +35 -0
- data/lib/plutonium/auth.rb +12 -0
- data/lib/plutonium/config.rb +11 -0
- data/lib/plutonium/core/.DS_Store +0 -0
- data/lib/plutonium/core/action.rb +46 -0
- data/lib/plutonium/core/actions/basic_action.rb +16 -0
- data/lib/plutonium/core/actions/collection.rb +33 -0
- data/lib/plutonium/core/actions/destroy_action.rb +21 -0
- data/lib/plutonium/core/actions/edit_action.rb +19 -0
- data/lib/plutonium/core/actions/interactive_action.rb +64 -0
- data/lib/plutonium/core/actions/new_action.rb +18 -0
- data/lib/plutonium/core/actions/show_action.rb +17 -0
- data/lib/plutonium/core/actions.rb +17 -0
- data/lib/plutonium/core/app_controller.rb +121 -0
- data/lib/plutonium/core/autodiscovery/discoverer.rb +15 -0
- data/lib/plutonium/core/autodiscovery/input_discoverer.rb +33 -0
- data/lib/plutonium/core/autodiscovery/renderer_discoverer.rb +33 -0
- data/lib/plutonium/core/autodiscovery.rb +13 -0
- data/lib/plutonium/core/controllers/authorizable.rb +56 -0
- data/lib/plutonium/core/controllers/bootable.rb +44 -0
- data/lib/plutonium/core/controllers/crud_actions.rb +128 -0
- data/lib/plutonium/core/controllers/entity_scoping.rb +69 -0
- data/lib/plutonium/core/controllers/interactive_actions.rb +210 -0
- data/lib/plutonium/core/controllers/presentable.rb +59 -0
- data/lib/plutonium/core/controllers.rb +16 -0
- data/lib/plutonium/core/definers/action_definer.rb +25 -0
- data/lib/plutonium/core/definers/field_definer.rb +19 -0
- data/lib/plutonium/core/definers/input_definer.rb +37 -0
- data/lib/plutonium/core/definers/renderer_definer.rb +35 -0
- data/lib/plutonium/core/definers.rb +14 -0
- data/lib/plutonium/core/fields/inputs/association_input.rb +26 -0
- data/lib/plutonium/core/fields/inputs/basic_input.rb +42 -0
- data/lib/plutonium/core/fields/inputs/belongs_to_input.rb +15 -0
- data/lib/plutonium/core/fields/inputs/factory.rb +58 -0
- data/lib/plutonium/core/fields/inputs/has_many_input.rb +15 -0
- data/lib/plutonium/core/fields/inputs/noop_input.rb +19 -0
- data/lib/plutonium/core/fields/inputs.rb +18 -0
- data/lib/plutonium/core/fields/renderers/association_renderer.rb +25 -0
- data/lib/plutonium/core/fields/renderers/basic_renderer.rb +27 -0
- data/lib/plutonium/core/fields/renderers/factory.rb +52 -0
- data/lib/plutonium/core/fields/renderers.rb +15 -0
- data/lib/plutonium/core/fields.rb +12 -0
- data/lib/plutonium/core/ui/collection.rb +14 -0
- data/lib/plutonium/core/ui/detail.rb +11 -0
- data/lib/plutonium/core/ui/form.rb +11 -0
- data/lib/plutonium/core/ui.rb +13 -0
- data/lib/plutonium/core.rb +16 -0
- data/lib/plutonium/helpers/action_buttons_helper.rb +32 -0
- data/lib/plutonium/helpers/application_helper.rb +22 -0
- data/lib/plutonium/helpers/attachment_helper.rb +62 -0
- data/lib/plutonium/helpers/content_helper.rb +66 -0
- data/lib/plutonium/helpers/display_helper.rb +83 -0
- data/lib/plutonium/helpers/form_helper.rb +24 -0
- data/lib/plutonium/helpers/menu_helper.rb +69 -0
- data/lib/plutonium/helpers/pagination_helper.rb +9 -0
- data/lib/plutonium/helpers/turbo_helper.rb +13 -0
- data/lib/plutonium/helpers/turbo_stream_actions_helper.rb +9 -0
- data/lib/plutonium/helpers.rb +31 -0
- data/lib/plutonium/initializers/TODO +2 -0
- data/lib/plutonium/initializers/pagy.rb +5 -0
- data/lib/plutonium/initializers/patches.rb +2 -0
- data/lib/plutonium/initializers/rabl.rb +60 -0
- data/lib/plutonium/initializers/simple_form.rb +405 -0
- data/lib/plutonium/lib/after_commit.rb +34 -0
- data/lib/plutonium/lib/bit_flags.rb +36 -0
- data/lib/plutonium/packaging/app.rb +125 -0
- data/lib/plutonium/packaging/feature.rb +18 -0
- data/lib/plutonium/packaging/package.rb +22 -0
- data/lib/plutonium/packaging.rb +9 -0
- data/lib/plutonium/policy/initializer.rb +22 -0
- data/lib/plutonium/policy/scope.rb +19 -0
- data/lib/plutonium/policy.rb +8 -0
- data/lib/plutonium/preserved__/field.rb +65 -0
- data/lib/plutonium/preserved__/input.rb +93 -0
- data/lib/plutonium/reactor/core.rb +61 -0
- data/lib/plutonium/reactor/resource_context.rb +15 -0
- data/lib/plutonium/reactor/resource_controller.rb +108 -0
- data/lib/plutonium/reactor/resource_interaction.rb +8 -0
- data/lib/plutonium/reactor/resource_policy.rb +105 -0
- data/lib/plutonium/reactor/resource_presenter.rb +42 -0
- data/lib/plutonium/reactor/resource_record.rb +123 -0
- data/lib/plutonium/reactor.rb +13 -0
- data/lib/plutonium/refinements/parameter_refinements.rb +26 -0
- data/lib/plutonium/simple_form_components/attachment_component.rb +77 -0
- data/lib/plutonium/simple_form_components/input_group_component.rb +14 -0
- data/lib/plutonium/version.rb +3 -0
- data/lib/plutonium.rb +31 -0
- data/plutonium.gemspec +47 -0
- data/public/.keep +0 -0
- data/public/plutonium-assets/application.css +24280 -0
- data/public/plutonium-assets/application.js +31420 -0
- data/public/plutonium-assets/fonts/bootstrap-icons.woff +0 -0
- data/public/plutonium-assets/fonts/bootstrap-icons.woff2 +0 -0
- data/public/plutonium-assets/logo.png +0 -0
- data/sig/plutonium.rbs +4 -0
- metadata +519 -0
Binary file
|
Binary file
|
Binary file
|
data/sig/plutonium.rbs
ADDED
metadata
ADDED
@@ -0,0 +1,519 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: plutonium
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Stefan Froelich
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-02-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 7.1.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 7.1.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: listen
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.8'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.8'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: active_interaction
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.3'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pundit
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.3'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pagy
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '6.2'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '6.2'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: ransack
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.1'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '4.1'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simple_form
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '5.3'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '5.3'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rabl
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.16.1
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.16.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: brakeman
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: Plutonium extends Rails' capabilities with a powerful, generator-driven
|
140
|
+
toolkit designed to supercharge your development process. It transforms the way
|
141
|
+
you build applications with Rails, optimizing for rapid application development.
|
142
|
+
email:
|
143
|
+
- sfroelich01@gmail.com
|
144
|
+
executables: []
|
145
|
+
extensions: []
|
146
|
+
extra_rdoc_files: []
|
147
|
+
files:
|
148
|
+
- ".rspec"
|
149
|
+
- ".ruby-version"
|
150
|
+
- ".standard.yml"
|
151
|
+
- ".vscode/extensions.json"
|
152
|
+
- ".vscode/launch.json"
|
153
|
+
- ".vscode/settings.json"
|
154
|
+
- CHANGELOG.md
|
155
|
+
- LICENSE.txt
|
156
|
+
- README copy.md
|
157
|
+
- README.md
|
158
|
+
- Rakefile
|
159
|
+
- app/views/layouts/resource.html.erb
|
160
|
+
- app/views/resource/_color_modes.html.erb
|
161
|
+
- app/views/resource/_details.html.erb
|
162
|
+
- app/views/resource/_empty_card.html.erb
|
163
|
+
- app/views/resource/_flash.html.erb
|
164
|
+
- app/views/resource/_form.html.erb
|
165
|
+
- app/views/resource/_header.html.erb
|
166
|
+
- app/views/resource/_interactive_resource_action_form.html.erb
|
167
|
+
- app/views/resource/_messages.html.erb
|
168
|
+
- app/views/resource/_metric_card.html.erb
|
169
|
+
- app/views/resource/_nav_user.html.erb
|
170
|
+
- app/views/resource/_pagination.html.erb
|
171
|
+
- app/views/resource/_pagy_pagination.html.erb
|
172
|
+
- app/views/resource/_resource.html.erb
|
173
|
+
- app/views/resource/_resource.rabl
|
174
|
+
- app/views/resource/_sidebar.html.erb
|
175
|
+
- app/views/resource/_sidebar_menu.html.erb
|
176
|
+
- app/views/resource/_tab_menu.html.erb
|
177
|
+
- app/views/resource/_table.html.erb
|
178
|
+
- app/views/resource/_table_actions.html.erb
|
179
|
+
- app/views/resource/_toast.html.erb
|
180
|
+
- app/views/resource/_toolbar.html.erb
|
181
|
+
- app/views/resource/_toolbar_actions.html.erb
|
182
|
+
- app/views/resource/_toolbar_breadcrumbs.html.erb
|
183
|
+
- app/views/resource/_toolbar_search_input.erb
|
184
|
+
- app/views/resource/edit.html.erb
|
185
|
+
- app/views/resource/errors.rabl
|
186
|
+
- app/views/resource/index.html.erb
|
187
|
+
- app/views/resource/index.rabl
|
188
|
+
- app/views/resource/interactive_resource_collection_action.html.erb
|
189
|
+
- app/views/resource/interactive_resource_record_action.html.erb
|
190
|
+
- app/views/resource/interactive_resource_recordless_action.html.erb
|
191
|
+
- app/views/resource/new.html.erb
|
192
|
+
- app/views/resource/readme.md
|
193
|
+
- app/views/resource/show.html.erb
|
194
|
+
- app/views/resource/show.rabl
|
195
|
+
- brakeman.ignore
|
196
|
+
- lib/active_model/validations/array_validator.rb
|
197
|
+
- lib/active_model/validations/attached_validator.rb
|
198
|
+
- lib/active_model/validations/url_validator.rb
|
199
|
+
- lib/generators/pu/core/install/install_generator.rb
|
200
|
+
- lib/generators/pu/core/install/templates/.keep
|
201
|
+
- lib/generators/pu/core/install/templates/app/controllers/resource_controller.rb.tt
|
202
|
+
- lib/generators/pu/core/install/templates/app/interactions/resource_interaction.rb.tt
|
203
|
+
- lib/generators/pu/core/install/templates/app/models/resource_record.rb.tt
|
204
|
+
- lib/generators/pu/core/install/templates/app/policies/resource_policy.rb.tt
|
205
|
+
- lib/generators/pu/core/install/templates/app/presenters/resource_presenter.rb.tt
|
206
|
+
- lib/generators/pu/core/install/templates/config/initializers/plutonium.rb
|
207
|
+
- lib/generators/pu/core/install/templates/config/packages.rb
|
208
|
+
- lib/generators/pu/gem/pagy/pagy_generator.rb
|
209
|
+
- lib/generators/pu/gem/pagy/templates/.keep
|
210
|
+
- lib/generators/pu/gem/pagy/templates/config/initializers/pagy.rb
|
211
|
+
- lib/generators/pu/gem/rabl/rabl_generator.rb
|
212
|
+
- lib/generators/pu/gem/rabl/templates/.keep
|
213
|
+
- lib/generators/pu/gem/rabl/templates/config/initializers/rabl.rb
|
214
|
+
- lib/generators/pu/gem/simple_form/simple_form_generator.rb
|
215
|
+
- lib/generators/pu/gem/simple_form/templates/.keep
|
216
|
+
- lib/generators/pu/gen/pug/pug_generator.rb
|
217
|
+
- lib/generators/pu/gen/pug/templates/pug.rb.tt
|
218
|
+
- lib/generators/pu/pkg/app/app_generator.rb
|
219
|
+
- lib/generators/pu/pkg/app/templates/app/controllers/resource_controller.rb.tt
|
220
|
+
- lib/generators/pu/pkg/app/templates/app/interactions/resource_interaction.rb.tt
|
221
|
+
- lib/generators/pu/pkg/app/templates/app/policies/resource_policy.rb.tt
|
222
|
+
- lib/generators/pu/pkg/app/templates/app/presenters/resource_presenter.rb.tt
|
223
|
+
- lib/generators/pu/pkg/app/templates/config/routes.rb.tt
|
224
|
+
- lib/generators/pu/pkg/app/templates/lib/engine.rb.tt
|
225
|
+
- lib/generators/pu/pkg/feature/feature_generator.rb
|
226
|
+
- lib/generators/pu/pkg/feature/templates/.keep
|
227
|
+
- lib/generators/pu/pkg/feature/templates/app/controllers/resource_controller.rb.tt
|
228
|
+
- lib/generators/pu/pkg/feature/templates/app/interactions/resource_interaction.rb.tt
|
229
|
+
- lib/generators/pu/pkg/feature/templates/app/models/resource_record.rb.tt
|
230
|
+
- lib/generators/pu/pkg/feature/templates/app/policies/resource_policy.rb.tt
|
231
|
+
- lib/generators/pu/pkg/feature/templates/app/presenters/resource_presenter.rb.tt
|
232
|
+
- lib/generators/pu/pkg/feature/templates/lib/engine.rb.tt
|
233
|
+
- lib/generators/pu/resource/conn/conn_generator.rb
|
234
|
+
- lib/generators/pu/resource/conn/templates/.keep
|
235
|
+
- lib/generators/pu/resource/conn/templates/app/controllers/resource_controller.rb.tt
|
236
|
+
- lib/generators/pu/resource/conn/templates/app/policies/resource_policy.rb.tt
|
237
|
+
- lib/generators/pu/resource/conn/templates/app/presenters/resource_presenter.rb.tt
|
238
|
+
- lib/generators/pu/resource/model/USAGE
|
239
|
+
- lib/generators/pu/resource/model/model_generator.rb
|
240
|
+
- lib/generators/pu/resource/model/templates/controller.rb.tt
|
241
|
+
- lib/generators/pu/resource/model/templates/create_table_migration.rb.tt
|
242
|
+
- lib/generators/pu/resource/model/templates/model.rb.tt
|
243
|
+
- lib/generators/pu/resource/model/templates/module.rb.tt
|
244
|
+
- lib/generators/pu/resource/model/templates/policy.rb.tt
|
245
|
+
- lib/generators/pu/resource/model/templates/presenter.rb.tt
|
246
|
+
- lib/generators/pu/resource/scaffold/scaffold_generator.rb
|
247
|
+
- lib/generators/pu/resource/scaffold/templates/app/controllers/admin_resources/resource_controller.rb.tt
|
248
|
+
- lib/generators/pu/resource/scaffold/templates/app/controllers/entity_resources/resource_controller.rb.tt
|
249
|
+
- lib/generators/pu/resource/scaffold/templates/app/policies/resources/admin/resource_policy.rb.tt
|
250
|
+
- lib/generators/pu/resource/scaffold/templates/app/policies/resources/entity/resource_policy.rb.tt
|
251
|
+
- lib/generators/pu/resource/scaffold/templates/app/policies/resources/resource_policy.rb.tt
|
252
|
+
- lib/generators/pu/resource/scaffold/templates/app/resources/resource/admin_presenter.rb.tt
|
253
|
+
- lib/generators/pu/resource/scaffold/templates/app/resources/resource/entity_presenter.rb.tt
|
254
|
+
- lib/generators/pu/resource/scaffold/templates/app/resources/resource/presenter.rb.tt
|
255
|
+
- lib/generators/pu/resource/scaffold/templates/app/views/resources/resource/_resource.html.erb.tt
|
256
|
+
- lib/generators/pu/resource/scaffold/templates/app/views/resources/resource/_resource.rabl
|
257
|
+
- lib/generators/pu/rodauth/account_generator.rb
|
258
|
+
- lib/generators/pu/rodauth/concerns/account_selector.rb
|
259
|
+
- lib/generators/pu/rodauth/concerns/configuration.rb
|
260
|
+
- lib/generators/pu/rodauth/concerns/feature_selector.rb
|
261
|
+
- lib/generators/pu/rodauth/install_generator.rb
|
262
|
+
- lib/generators/pu/rodauth/migration/active_record/account_expiration.erb
|
263
|
+
- lib/generators/pu/rodauth/migration/active_record/active_sessions.erb
|
264
|
+
- lib/generators/pu/rodauth/migration/active_record/audit_logging.erb
|
265
|
+
- lib/generators/pu/rodauth/migration/active_record/base.erb
|
266
|
+
- lib/generators/pu/rodauth/migration/active_record/disallow_password_reuse.erb
|
267
|
+
- lib/generators/pu/rodauth/migration/active_record/email_auth.erb
|
268
|
+
- lib/generators/pu/rodauth/migration/active_record/jwt_refresh.erb
|
269
|
+
- lib/generators/pu/rodauth/migration/active_record/lockout.erb
|
270
|
+
- lib/generators/pu/rodauth/migration/active_record/otp.erb
|
271
|
+
- lib/generators/pu/rodauth/migration/active_record/password_expiration.erb
|
272
|
+
- lib/generators/pu/rodauth/migration/active_record/recovery_codes.erb
|
273
|
+
- lib/generators/pu/rodauth/migration/active_record/remember.erb
|
274
|
+
- lib/generators/pu/rodauth/migration/active_record/reset_password.erb
|
275
|
+
- lib/generators/pu/rodauth/migration/active_record/separate_passwords.erb
|
276
|
+
- lib/generators/pu/rodauth/migration/active_record/single_session.erb
|
277
|
+
- lib/generators/pu/rodauth/migration/active_record/sms_codes.erb
|
278
|
+
- lib/generators/pu/rodauth/migration/active_record/verify_account.erb
|
279
|
+
- lib/generators/pu/rodauth/migration/active_record/verify_login_change.erb
|
280
|
+
- lib/generators/pu/rodauth/migration/active_record/webauthn.erb
|
281
|
+
- lib/generators/pu/rodauth/migration/sequel/account_expiration.erb
|
282
|
+
- lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
|
283
|
+
- lib/generators/pu/rodauth/migration/sequel/audit_logging.erb
|
284
|
+
- lib/generators/pu/rodauth/migration/sequel/base.erb
|
285
|
+
- lib/generators/pu/rodauth/migration/sequel/disallow_password_reuse.erb
|
286
|
+
- lib/generators/pu/rodauth/migration/sequel/email_auth.erb
|
287
|
+
- lib/generators/pu/rodauth/migration/sequel/jwt_refresh.erb
|
288
|
+
- lib/generators/pu/rodauth/migration/sequel/lockout.erb
|
289
|
+
- lib/generators/pu/rodauth/migration/sequel/otp.erb
|
290
|
+
- lib/generators/pu/rodauth/migration/sequel/password_expiration.erb
|
291
|
+
- lib/generators/pu/rodauth/migration/sequel/recovery_codes.erb
|
292
|
+
- lib/generators/pu/rodauth/migration/sequel/remember.erb
|
293
|
+
- lib/generators/pu/rodauth/migration/sequel/reset_password.erb
|
294
|
+
- lib/generators/pu/rodauth/migration/sequel/separate_passwords.erb
|
295
|
+
- lib/generators/pu/rodauth/migration/sequel/single_session.erb
|
296
|
+
- lib/generators/pu/rodauth/migration/sequel/sms_codes.erb
|
297
|
+
- lib/generators/pu/rodauth/migration/sequel/verify_account.erb
|
298
|
+
- lib/generators/pu/rodauth/migration/sequel/verify_login_change.erb
|
299
|
+
- lib/generators/pu/rodauth/migration/sequel/webauthn.erb
|
300
|
+
- lib/generators/pu/rodauth/migration_generator.rb
|
301
|
+
- lib/generators/pu/rodauth/templates/INSTRUCTIONS
|
302
|
+
- lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
|
303
|
+
- lib/generators/pu/rodauth/templates/app/controllers/rodauth_controller.rb.tt
|
304
|
+
- lib/generators/pu/rodauth/templates/app/mailers/account_mailer.rb.tt
|
305
|
+
- lib/generators/pu/rodauth/templates/app/mailers/rodauth_mailer.rb.tt
|
306
|
+
- lib/generators/pu/rodauth/templates/app/misc/account_rodauth_plugin.rb.tt
|
307
|
+
- lib/generators/pu/rodauth/templates/app/misc/rodauth_app.rb.tt
|
308
|
+
- lib/generators/pu/rodauth/templates/app/misc/rodauth_plugin.rb.tt
|
309
|
+
- lib/generators/pu/rodauth/templates/app/models/account.rb.tt
|
310
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/_email_auth_request_form.html.erb
|
311
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/_login_form.html.erb
|
312
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/_login_form_footer.html.erb
|
313
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/add_recovery_codes.html.erb
|
314
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/change_login.html.erb
|
315
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/change_password.html.erb
|
316
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/close_account.html.erb
|
317
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/confirm_password.html.erb
|
318
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/create_account.html.erb
|
319
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/email_auth.html.erb
|
320
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/login.html.erb
|
321
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/logout.html.erb
|
322
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/multi_phase_login.html.erb
|
323
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/otp_auth.html.erb
|
324
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/otp_disable.html.erb
|
325
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/otp_setup.html.erb
|
326
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
|
327
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_codes.html.erb
|
328
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/remember.html.erb
|
329
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/reset_password.html.erb
|
330
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/reset_password_request.html.erb
|
331
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/sms_auth.html.erb
|
332
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/sms_confirm.html.erb
|
333
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/sms_disable.html.erb
|
334
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/sms_request.html.erb
|
335
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/sms_setup.html.erb
|
336
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/_email_auth_request_form.html.erb
|
337
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/_login_form.html.erb
|
338
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/_login_form_footer.html.erb
|
339
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/add_recovery_codes.html.erb
|
340
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/change_login.html.erb
|
341
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/change_password.html.erb
|
342
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/close_account.html.erb
|
343
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/confirm_password.html.erb
|
344
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/create_account.html.erb
|
345
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/email_auth.html.erb
|
346
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/login.html.erb
|
347
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/logout.html.erb
|
348
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/multi_phase_login.html.erb
|
349
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/otp_auth.html.erb
|
350
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/otp_disable.html.erb
|
351
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/otp_setup.html.erb
|
352
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/recovery_auth.html.erb
|
353
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/recovery_codes.html.erb
|
354
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/remember.html.erb
|
355
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/reset_password.html.erb
|
356
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/reset_password_request.html.erb
|
357
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_auth.html.erb
|
358
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_confirm.html.erb
|
359
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_disable.html.erb
|
360
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_request.html.erb
|
361
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/sms_setup.html.erb
|
362
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/two_factor_auth.html.erb
|
363
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/two_factor_disable.html.erb
|
364
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/two_factor_manage.html.erb
|
365
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/unlock_account.html.erb
|
366
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/unlock_account_request.html.erb
|
367
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/verify_account.html.erb
|
368
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/verify_account_resend.html.erb
|
369
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/verify_login_change.html.erb
|
370
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/webauthn_auth.html.erb
|
371
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/webauthn_autofill.html.erb
|
372
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/webauthn_remove.html.erb
|
373
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind/webauthn_setup.html.erb
|
374
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_auth.html.erb
|
375
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_disable.html.erb
|
376
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
|
377
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account.html.erb
|
378
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account_request.html.erb
|
379
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/verify_account.html.erb
|
380
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/verify_account_resend.html.erb
|
381
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/verify_login_change.html.erb
|
382
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_auth.html.erb
|
383
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_autofill.html.erb
|
384
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_remove.html.erb
|
385
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_setup.html.erb
|
386
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/email_auth.text.erb
|
387
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/password_changed.text.erb
|
388
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/reset_password.text.erb
|
389
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/reset_password_notify.text.erb
|
390
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/unlock_account.text.erb
|
391
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/verify_account.text.erb
|
392
|
+
- lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/verify_login_change.text.erb
|
393
|
+
- lib/generators/pu/rodauth/templates/config/initializers/rodauth.rb.tt
|
394
|
+
- lib/generators/pu/rodauth/templates/db/migrate/create_rodauth.rb.tt
|
395
|
+
- lib/generators/pu/rodauth/views_generator.rb
|
396
|
+
- lib/plutonium.rb
|
397
|
+
- lib/plutonium/auth.rb
|
398
|
+
- lib/plutonium/auth/public_access.rb
|
399
|
+
- lib/plutonium/auth/rodauth.rb
|
400
|
+
- lib/plutonium/config.rb
|
401
|
+
- lib/plutonium/core.rb
|
402
|
+
- lib/plutonium/core/.DS_Store
|
403
|
+
- lib/plutonium/core/action.rb
|
404
|
+
- lib/plutonium/core/actions.rb
|
405
|
+
- lib/plutonium/core/actions/basic_action.rb
|
406
|
+
- lib/plutonium/core/actions/collection.rb
|
407
|
+
- lib/plutonium/core/actions/destroy_action.rb
|
408
|
+
- lib/plutonium/core/actions/edit_action.rb
|
409
|
+
- lib/plutonium/core/actions/interactive_action.rb
|
410
|
+
- lib/plutonium/core/actions/new_action.rb
|
411
|
+
- lib/plutonium/core/actions/show_action.rb
|
412
|
+
- lib/plutonium/core/app_controller.rb
|
413
|
+
- lib/plutonium/core/autodiscovery.rb
|
414
|
+
- lib/plutonium/core/autodiscovery/discoverer.rb
|
415
|
+
- lib/plutonium/core/autodiscovery/input_discoverer.rb
|
416
|
+
- lib/plutonium/core/autodiscovery/renderer_discoverer.rb
|
417
|
+
- lib/plutonium/core/controllers.rb
|
418
|
+
- lib/plutonium/core/controllers/authorizable.rb
|
419
|
+
- lib/plutonium/core/controllers/bootable.rb
|
420
|
+
- lib/plutonium/core/controllers/crud_actions.rb
|
421
|
+
- lib/plutonium/core/controllers/entity_scoping.rb
|
422
|
+
- lib/plutonium/core/controllers/interactive_actions.rb
|
423
|
+
- lib/plutonium/core/controllers/presentable.rb
|
424
|
+
- lib/plutonium/core/definers.rb
|
425
|
+
- lib/plutonium/core/definers/action_definer.rb
|
426
|
+
- lib/plutonium/core/definers/field_definer.rb
|
427
|
+
- lib/plutonium/core/definers/input_definer.rb
|
428
|
+
- lib/plutonium/core/definers/renderer_definer.rb
|
429
|
+
- lib/plutonium/core/fields.rb
|
430
|
+
- lib/plutonium/core/fields/inputs.rb
|
431
|
+
- lib/plutonium/core/fields/inputs/association_input.rb
|
432
|
+
- lib/plutonium/core/fields/inputs/basic_input.rb
|
433
|
+
- lib/plutonium/core/fields/inputs/belongs_to_input.rb
|
434
|
+
- lib/plutonium/core/fields/inputs/factory.rb
|
435
|
+
- lib/plutonium/core/fields/inputs/has_many_input.rb
|
436
|
+
- lib/plutonium/core/fields/inputs/noop_input.rb
|
437
|
+
- lib/plutonium/core/fields/renderers.rb
|
438
|
+
- lib/plutonium/core/fields/renderers/association_renderer.rb
|
439
|
+
- lib/plutonium/core/fields/renderers/basic_renderer.rb
|
440
|
+
- lib/plutonium/core/fields/renderers/factory.rb
|
441
|
+
- lib/plutonium/core/ui.rb
|
442
|
+
- lib/plutonium/core/ui/collection.rb
|
443
|
+
- lib/plutonium/core/ui/detail.rb
|
444
|
+
- lib/plutonium/core/ui/form.rb
|
445
|
+
- lib/plutonium/helpers.rb
|
446
|
+
- lib/plutonium/helpers/action_buttons_helper.rb
|
447
|
+
- lib/plutonium/helpers/application_helper.rb
|
448
|
+
- lib/plutonium/helpers/attachment_helper.rb
|
449
|
+
- lib/plutonium/helpers/content_helper.rb
|
450
|
+
- lib/plutonium/helpers/display_helper.rb
|
451
|
+
- lib/plutonium/helpers/form_helper.rb
|
452
|
+
- lib/plutonium/helpers/menu_helper.rb
|
453
|
+
- lib/plutonium/helpers/pagination_helper.rb
|
454
|
+
- lib/plutonium/helpers/turbo_helper.rb
|
455
|
+
- lib/plutonium/helpers/turbo_stream_actions_helper.rb
|
456
|
+
- lib/plutonium/initializers/TODO
|
457
|
+
- lib/plutonium/initializers/pagy.rb
|
458
|
+
- lib/plutonium/initializers/patches.rb
|
459
|
+
- lib/plutonium/initializers/rabl.rb
|
460
|
+
- lib/plutonium/initializers/simple_form.rb
|
461
|
+
- lib/plutonium/lib/after_commit.rb
|
462
|
+
- lib/plutonium/lib/bit_flags.rb
|
463
|
+
- lib/plutonium/packaging.rb
|
464
|
+
- lib/plutonium/packaging/app.rb
|
465
|
+
- lib/plutonium/packaging/feature.rb
|
466
|
+
- lib/plutonium/packaging/package.rb
|
467
|
+
- lib/plutonium/policy.rb
|
468
|
+
- lib/plutonium/policy/initializer.rb
|
469
|
+
- lib/plutonium/policy/scope.rb
|
470
|
+
- lib/plutonium/preserved__/field.rb
|
471
|
+
- lib/plutonium/preserved__/input.rb
|
472
|
+
- lib/plutonium/reactor.rb
|
473
|
+
- lib/plutonium/reactor/core.rb
|
474
|
+
- lib/plutonium/reactor/resource_context.rb
|
475
|
+
- lib/plutonium/reactor/resource_controller.rb
|
476
|
+
- lib/plutonium/reactor/resource_interaction.rb
|
477
|
+
- lib/plutonium/reactor/resource_policy.rb
|
478
|
+
- lib/plutonium/reactor/resource_presenter.rb
|
479
|
+
- lib/plutonium/reactor/resource_record.rb
|
480
|
+
- lib/plutonium/refinements/parameter_refinements.rb
|
481
|
+
- lib/plutonium/simple_form_components/attachment_component.rb
|
482
|
+
- lib/plutonium/simple_form_components/input_group_component.rb
|
483
|
+
- lib/plutonium/version.rb
|
484
|
+
- plutonium.gemspec
|
485
|
+
- public/.keep
|
486
|
+
- public/plutonium-assets/application.css
|
487
|
+
- public/plutonium-assets/application.js
|
488
|
+
- public/plutonium-assets/fonts/bootstrap-icons.woff
|
489
|
+
- public/plutonium-assets/fonts/bootstrap-icons.woff2
|
490
|
+
- public/plutonium-assets/logo.png
|
491
|
+
- sig/plutonium.rbs
|
492
|
+
homepage: https://github.com/radioactive-labs/plutonium-core
|
493
|
+
licenses:
|
494
|
+
-
|
495
|
+
metadata:
|
496
|
+
allowed_push_host: https://rubygems.org
|
497
|
+
homepage_uri: https://github.com/radioactive-labs/plutonium-core
|
498
|
+
source_code_uri: https://github.com/radioactive-labs/plutonium-core
|
499
|
+
post_install_message:
|
500
|
+
rdoc_options: []
|
501
|
+
require_paths:
|
502
|
+
- lib
|
503
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
504
|
+
requirements:
|
505
|
+
- - ">="
|
506
|
+
- !ruby/object:Gem::Version
|
507
|
+
version: 3.2.2
|
508
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
509
|
+
requirements:
|
510
|
+
- - ">="
|
511
|
+
- !ruby/object:Gem::Version
|
512
|
+
version: '0'
|
513
|
+
requirements: []
|
514
|
+
rubygems_version: 3.5.3
|
515
|
+
signing_key:
|
516
|
+
specification_version: 4
|
517
|
+
summary: The ultimate Rapid Application Development Toolkit (RADKit) for Rails application
|
518
|
+
development
|
519
|
+
test_files: []
|