plutonium 0.19.11 → 0.19.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.19.11
4
+ version: 0.19.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-02-19 00:00:00.000000000 Z
11
+ date: 2025-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk
@@ -459,6 +459,7 @@ files:
459
459
  - app/views/rodauth/_email_auth_request_form.html.erb
460
460
  - app/views/rodauth/_login_form.html.erb
461
461
  - app/views/rodauth/_login_form_footer.html.erb
462
+ - app/views/rodauth/_password_visibility.html.erb
462
463
  - app/views/rodauth/add_recovery_codes.html.erb
463
464
  - app/views/rodauth/change_login.html.erb
464
465
  - app/views/rodauth/change_password.html.erb
@@ -647,6 +648,7 @@ files:
647
648
  - lib/generators/pu/res/scaffold/templates/presenter.rb.tt
648
649
  - lib/generators/pu/res/scaffold/templates/query_object.rb.tt
649
650
  - lib/generators/pu/rodauth/account_generator.rb
651
+ - lib/generators/pu/rodauth/admin_generator.rb
650
652
  - lib/generators/pu/rodauth/concerns/account_selector.rb
651
653
  - lib/generators/pu/rodauth/concerns/configuration.rb
652
654
  - lib/generators/pu/rodauth/concerns/feature_selector.rb
@@ -681,6 +683,7 @@ files:
681
683
  - lib/generators/pu/rodauth/templates/app/rodauth/account_rodauth_plugin.rb.tt
682
684
  - lib/generators/pu/rodauth/templates/app/rodauth/rodauth_app.rb.tt
683
685
  - lib/generators/pu/rodauth/templates/app/rodauth/rodauth_plugin.rb.tt
686
+ - lib/generators/pu/rodauth/templates/app/views/_login_form_footer.html.erb.tt
684
687
  - lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/email_auth.text.erb
685
688
  - lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/otp_disabled.text.erb
686
689
  - lib/generators/pu/rodauth/templates/app/views/rodauth_mailer/otp_locked_out.text.erb
@@ -698,6 +701,7 @@ files:
698
701
  - lib/generators/pu/rodauth/templates/config/initializers/rodauth.rb.tt
699
702
  - lib/generators/pu/rodauth/templates/db/migrate/create_rodauth.rb.tt
700
703
  - lib/generators/pu/rodauth/templates/db/migrate/install_rodauth.rb.tt
704
+ - lib/generators/pu/rodauth/templates/lib/tasks/rodauth_admin.rake.tt
701
705
  - lib/generators/pu/rodauth/views_generator.rb
702
706
  - lib/generators/pu/service/postgres/postgres_generator.rb
703
707
  - lib/generators/pu/service/postgres/templates/.keep
@@ -861,7 +865,7 @@ files:
861
865
  - lib/plutonium/version.rb
862
866
  - lib/rodauth/features/case_insensitive_login.rb
863
867
  - lib/rodauth/plugins.rb
864
- - lib/tasks/create_rodauth_admin.rake
868
+ - lib/tasks/.keep
865
869
  - package-lock.json
866
870
  - package.json
867
871
  - postcss-gem-import.js
@@ -888,6 +892,7 @@ files:
888
892
  - src/js/controllers/frame_navigator_controller.js
889
893
  - src/js/controllers/intl_tel_input_controller.js
890
894
  - src/js/controllers/nested_resource_form_fields_controller.js
895
+ - src/js/controllers/password_visibility_controller.js
891
896
  - src/js/controllers/register_controllers.js
892
897
  - src/js/controllers/resource_collapse_controller.js
893
898
  - src/js/controllers/resource_dismiss_controller.js
@@ -895,6 +900,7 @@ files:
895
900
  - src/js/controllers/resource_header_controller.js
896
901
  - src/js/controllers/resource_tab_list_controller.js
897
902
  - src/js/controllers/select_navigator.js
903
+ - src/js/controllers/sidebar_controller.js
898
904
  - src/js/controllers/slim_select_controller.js
899
905
  - src/js/core.js
900
906
  - src/js/plutonium.js
@@ -1,16 +0,0 @@
1
- namespace :rodauth do
2
- desc "Create a Rodauth admin account"
3
- task admin: :environment do
4
- # require "rodauth"
5
- # require "active_record"
6
- require "tty-prompt"
7
-
8
- prompt = TTY::Prompt.new
9
- email = ENV["EMAIL"] || prompt.ask("email:", required: true)
10
- # password = SecureRandom.hex
11
- # password = ENV["PASSWORD"] || prompt.mask("password:", required: true)
12
- # password_confirm = ENV["PASSWORD"] || prompt.mask("password:", required: true)
13
-
14
- RodauthApp.rodauth(:admin).create_account(login: email)
15
- end
16
- end