moduler 0.2.0 → 0.3.0

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.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/builds/moduler/tailwind.css +1358 -1
  3. data/app/assets/javascripts/moduler/application.js +1 -0
  4. data/app/assets/javascripts/moduler/controllers/flash_controller.js +19 -0
  5. data/app/assets/stylesheets/moduler/tailwind.css +3 -0
  6. data/app/components/moduler/administration/page_component.html.erb +7 -0
  7. data/app/components/moduler/administration/page_component.rb +6 -0
  8. data/app/components/moduler/badge_component.html.erb +8 -0
  9. data/app/components/moduler/badge_component.rb +10 -0
  10. data/app/components/moduler/button_component.html.erb +7 -0
  11. data/app/components/moduler/button_component.rb +19 -0
  12. data/app/components/moduler/button_link_component.html.erb +5 -0
  13. data/app/components/moduler/button_link_component.rb +15 -0
  14. data/app/components/moduler/filter_component.html.erb +12 -0
  15. data/app/components/moduler/filter_component.rb +15 -0
  16. data/app/components/moduler/form/base_error_component.html.erb +1 -0
  17. data/app/components/moduler/form/base_error_component.rb +9 -0
  18. data/app/components/moduler/form/email_component.html.erb +14 -0
  19. data/app/components/moduler/form/email_component.rb +11 -0
  20. data/app/components/moduler/form/password_component.html.erb +14 -0
  21. data/app/components/moduler/form/password_component.rb +11 -0
  22. data/app/components/moduler/form/section_component.html.erb +5 -0
  23. data/app/components/moduler/form/section_component.rb +14 -0
  24. data/app/components/moduler/form/select_component.html.erb +14 -0
  25. data/app/components/moduler/form/select_component.rb +12 -0
  26. data/app/components/moduler/form/submit_component.html.erb +3 -0
  27. data/app/components/moduler/form/submit_component.rb +10 -0
  28. data/app/components/moduler/form/text_component.html.erb +14 -0
  29. data/app/components/moduler/form/text_component.rb +11 -0
  30. data/app/components/moduler/list_component.html.erb +15 -0
  31. data/app/components/moduler/list_component.rb +18 -0
  32. data/app/components/moduler/list_item_component.html.erb +23 -0
  33. data/app/components/moduler/list_item_component.rb +14 -0
  34. data/app/components/moduler/page_header_component.html.erb +16 -0
  35. data/app/components/moduler/page_header_component.rb +12 -0
  36. data/app/components/moduler/sidebar_action_component.html.erb +5 -0
  37. data/app/components/moduler/sidebar_action_component.rb +15 -0
  38. data/app/controllers/concerns/moduler/authentication.rb +10 -2
  39. data/app/controllers/moduler/administration/application_controller.rb +7 -0
  40. data/app/controllers/moduler/administration/home_controller.rb +9 -0
  41. data/app/controllers/moduler/administration/sessions_controller.rb +34 -0
  42. data/app/controllers/moduler/administration/users_controller.rb +56 -0
  43. data/app/controllers/moduler/application_controller.rb +15 -0
  44. data/app/controllers/moduler/profile/sessions/revocation_controller.rb +14 -0
  45. data/app/controllers/moduler/profile/sessions_controller.rb +21 -0
  46. data/app/controllers/moduler/profile_controller.rb +27 -0
  47. data/app/controllers/moduler/sessions_controller.rb +8 -1
  48. data/app/controllers/moduler/users_controller.rb +7 -0
  49. data/app/filters/application_filter.rb +41 -0
  50. data/app/filters/query_filter.rb +18 -0
  51. data/app/lib/moduler/form_builder.rb +2 -2
  52. data/app/models/moduler/session.rb +12 -0
  53. data/app/models/moduler/user.rb +9 -0
  54. data/app/policies/moduler/administration/base_policy.rb +11 -0
  55. data/app/policies/moduler/administration/home_policy.rb +9 -0
  56. data/app/policies/moduler/administration/session_policy.rb +13 -0
  57. data/app/policies/moduler/administration/user_policy.rb +25 -0
  58. data/app/policies/moduler/application_policy.rb +38 -0
  59. data/app/views/kaminari/_gap.html.erb +1 -0
  60. data/app/views/kaminari/_next_page.html.erb +1 -0
  61. data/app/views/kaminari/_page.html.erb +3 -0
  62. data/app/views/kaminari/_paginator.html.erb +13 -0
  63. data/app/views/kaminari/_prev_page.html.erb +1 -0
  64. data/app/views/layouts/moduler/application.html.erb +5 -6
  65. data/app/views/moduler/administration/home/index.html.erb +6 -0
  66. data/app/views/moduler/administration/sessions/_session.html.erb +30 -0
  67. data/app/views/moduler/administration/sessions/index.html.erb +9 -0
  68. data/app/views/moduler/administration/users/_user.html.erb +13 -0
  69. data/app/views/moduler/administration/users/edit.html.erb +14 -0
  70. data/app/views/moduler/administration/users/index.html.erb +13 -0
  71. data/app/views/moduler/administration/users/new.html.erb +18 -0
  72. data/app/views/moduler/common/_flash.html.erb +16 -0
  73. data/app/views/moduler/common/_header.html.erb +12 -3
  74. data/app/views/moduler/common/_sidebar.html.erb +6 -0
  75. data/app/views/moduler/common/administration/_sidebar.html.erb +6 -0
  76. data/app/views/moduler/profile/edit.html.erb +28 -0
  77. data/app/views/moduler/profile/sessions/_session.html.erb +52 -0
  78. data/app/views/moduler/profile/sessions/index.html.erb +26 -0
  79. data/app/views/moduler/sessions/new.html.erb +4 -18
  80. data/app/views/moduler/users/new.html.erb +5 -32
  81. data/config/importmap.rb +1 -0
  82. data/config/locales/moduler/administration/sessions/en.yml +24 -0
  83. data/config/locales/moduler/administration/users/en.yml +43 -0
  84. data/config/locales/moduler/common/en.yml +5 -0
  85. data/config/locales/moduler/components/en.yml +11 -0
  86. data/config/locales/moduler/en.yml +4 -0
  87. data/config/locales/moduler/profile/en.yml +26 -0
  88. data/config/locales/moduler/profile/sessions/en.yml +25 -0
  89. data/config/locales/moduler/sessions/en.yml +1 -0
  90. data/config/locales/moduler/users/en.yml +7 -1
  91. data/config/routes.rb +14 -1
  92. data/db/migrate/20261015171504_add_role_to_moduler_users.rb +5 -0
  93. data/db/migrate/20261020191709_enable_pg_trgm.rb +5 -0
  94. data/lib/moduler/engine.rb +2 -0
  95. data/lib/moduler/version.rb +1 -1
  96. data/lib/moduler.rb +4 -0
  97. data/lib/tasks/moduler_tasks.rake +2 -4
  98. metadata +151 -5
  99. data/app/assets/javascripts/moduler/controllers/hello_controller.js +0 -6
  100. data/app/controllers/moduler/hello_controller.rb +0 -5
  101. data/app/views/moduler/hello/index.html.erb +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e1a62fb57e31767df2806f00e1fe698722d1fd9426ba661310802db4ae177e7
4
- data.tar.gz: 5bac3084f0ef2badc614d4c135773507d226c1e2b512b9b3730711b358ca2891
3
+ metadata.gz: a288b2fa0908a4da479c4d0614c49fc0c2d383ad6117a557d3ed693beda1ccaf
4
+ data.tar.gz: 9891f1ae3c122209bcbd0b925c7a8effa1e3241857fc3766fc0929c76ad965c9
5
5
  SHA512:
6
- metadata.gz: 990a53932e2a4b33aede460d8da344bddabfd37fa509262e20ab129f12499eaa0bd3f7c52eaa468cda7a8f60aac940a8a1c03ac617550f2e5108f906dc8769ff
7
- data.tar.gz: c756262071e39bcde10b9d91d8ef676b81fba2e36dc4eeea36e16041b013fb148072774e32e37e2c5bcb893ef9103683b9e393e9bcc3214d545cd6c99cf682b0
6
+ metadata.gz: ac1e38523a8019a23592d868964c6a02ef9014b17006b545e1a7d2213842e1b10532571c302dac39be0c1b3b87641f88be2f1a205e2e2d55cc2f853c74b55f24
7
+ data.tar.gz: 956f36429e24ae200f8ceb2cc0d4f94b996810edd03c622c671de203666d0664795a1a3c3a951739a10fd38a6a31dc79abc7af2f195fe609668b71df6d6af273