lesli 5.0.5 → 5.0.6

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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/icons/lesli/cloud-letter.svg +1 -0
  3. data/app/assets/icons/readme.md +1 -1
  4. data/app/assets/javascripts/lesli/users/passwords.js +84 -118
  5. data/app/assets/javascripts/lesli/users/registrations.js +85 -119
  6. data/app/assets/javascripts/lesli/users/sessions.js +76 -130
  7. data/app/controllers/lesli/system_controllers_controller.rb +63 -0
  8. data/app/controllers/users/sessions_controller.rb +2 -1
  9. data/app/helpers/lesli/navigation_helper.rb +9 -9
  10. data/app/lib/lesli/system.rb +2 -1
  11. data/app/models/concerns/account_initializer.rb +27 -9
  12. data/app/models/concerns/user_extensions.rb +8 -6
  13. data/app/models/concerns/user_security.rb +1 -1
  14. data/app/models/lesli/account.rb +3 -1
  15. data/app/models/lesli/descriptor/privilege.rb +1 -0
  16. data/app/models/lesli/descriptor.rb +1 -4
  17. data/app/models/lesli/role/power.rb +3 -3
  18. data/app/models/lesli/user/session.rb +4 -27
  19. data/app/models/lesli/user.rb +2 -3
  20. data/app/operators/lesli/descriptor_privilege_operator.rb +1 -1
  21. data/app/operators/lesli/{role_power_operator.rb → role_descriptor_operator.rb} +24 -7
  22. data/app/views/lesli/partials/_application-data.html.erb +7 -0
  23. data/app/views/lesli/partials/_application-lesli-engines.html.erb +2 -2
  24. data/app/views/lesli/partials/_application-lesli-icons.html.erb +1 -1
  25. data/config/initializers/lesli.rb +2 -0
  26. data/config/locales/translations.en.yml +9 -2
  27. data/config/locales/translations.es.yml +9 -2
  28. data/config/routes.rb +2 -0
  29. data/db/migrate/v1.0/0010005010_create_lesli_descriptors.rb +1 -1
  30. data/db/migrate/v1.0/0010005510_create_lesli_role_powers.rb +7 -0
  31. data/lib/lesli/version.rb +1 -1
  32. data/lib/sass/lesli/components/editor-richtext.scss +10 -0
  33. data/lib/sass/lesli/templates/application.scss +4 -0
  34. data/lib/{tasks/lesli/privileges.rake → sass/lesli/templates/component.scss} +6 -21
  35. data/lib/tasks/lesli/db.rake +2 -1
  36. data/lib/tasks/lesli_tasks.rake +8 -0
  37. data/lib/vue/application.js +64 -62
  38. data/lib/vue/devise/sessions.js +1 -1
  39. data/lib/vue/layouts/application-header.vue +6 -7
  40. data/lib/vue/public.js +2 -5
  41. data/lib/vue/shared/stores/systemController.js +67 -0
  42. data/lib/vue/stores/translations.json +24 -2
  43. data/lib/vue/stores/users.js +2 -6
  44. data/lib/webpack/base.js +3 -2
  45. data/lib/webpack/core.js +1 -1
  46. data/readme.md +1 -1
  47. metadata +22 -5
  48. /data/app/assets/icons/lesli/{cloud-help.svg → cloud-support.svg} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03f8d7f6bb6971e772f861187490418162e156776ad75268cde6154e0e54007d
4
- data.tar.gz: 57de629c60a3791a98fceb96d4a9001dd85a41795aefd9001bfe56782f99f9e5
3
+ metadata.gz: 002c09c0810571b861aea770b118469426b2e252eb9ede90a1ac897321c0c951
4
+ data.tar.gz: 04e58831bf67417a84793f89ae4aa5556675a17e727bd3fb4ffcc8e2b3cee6d6
5
5
  SHA512:
6
- metadata.gz: ec5429668955673688aad154bf1a0af85f5e56e1309d70b23cd9660f6032cadb32a63755a01ca3682bbbbcf57f689df18b822db32afab67554a471779cc53423
7
- data.tar.gz: 6c92dd55c7924ae99281506b7c2ece71e7fcf66c2195a0fcb433d7cd540bc820ff4fd0f66417343d11993d91f56d100cad84ffb4f07a0f720bddf4267d946818
6
+ metadata.gz: 8324d63a195d838d174c62ef5ab36e5bb236c88b07cf15ee310cd8cbd07824542f31b04cf67177f36deb0edff051ec76baf47404bb6a8c2eed498aac5142c965
7
+ data.tar.gz: 26df8296f7336c3dce7a176820439a88727f4b38b1b6bd3b96cac49acf12ccc156ef97f95cb461ac6e7e317d0bb0adab67b73e1b88fb383274cb4cf5aaf017ef
@@ -0,0 +1 @@
1
+ <svg data-name="Layer 1" id="Layer_1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><defs><style>.cls-2{fill:#9dacba}</style></defs><path d="M13 0a4 4 0 0 0-4 4v56a4 4 0 0 0 4 4h38a4 4 0 0 0 4-4V16L39 0H13Z" style="fill:#e2e7f0"/><path class="cls-2" d="M43 16h12L39 0v12a4 4 0 0 0 4 4Z"/><rect class="cls-2" height="2" rx="1" ry="1" width="18" x="23" y="20"/><rect class="cls-2" height="2" rx="1" ry="1" width="30" x="17" y="41"/><rect class="cls-2" height="2" rx="1" ry="1" width="18" x="17" y="53"/><rect class="cls-2" height="2" rx="1" ry="1" width="30" x="17" y="47"/><rect class="cls-2" height="2" rx="1" ry="1" width="30" x="17" y="35"/><rect class="cls-2" height="2" rx="1" ry="1" width="30" x="17" y="29"/><path d="m43 16 9.41 9.41a2 2 0 0 1 .59 1.42V60a2 2 0 0 1-2 2H15a2 2 0 0 0-2 2h38a4 4 0 0 0 4-4V16H43Z" style="fill:#c9d5e3"/></svg>
@@ -2,7 +2,7 @@
2
2
  ### Icons preprocessing
3
3
  Automatically generate an SVG sprite from a folder of SVG icons.
4
4
 
5
- Execute at project root level
5
+ Execute Lesli engine root level
6
6
  ```bash
7
7
  svgo -f ./app/assets/icons/lesli -o ./app/assets/icons/lesli
8
8
  svgeez build --prefix="" --source ./app/assets/icons/lesli --destination ./app/views/lesli/partials/_application-lesli-icons.svg