lesli 5.0.5 → 5.0.7

Sign up to get free protection for your applications and to get access to all the features.
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 +14 -13
  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: 2704c5aebd8bf510927680809b5a07a8aed66dfa7312f06ac0d1ff96f5dd3def
4
+ data.tar.gz: 90d7a87d6951a54b937cf34b7988e769b7c00fd54ed3a32affb4bda7a37bcd9e
5
5
  SHA512:
6
- metadata.gz: ec5429668955673688aad154bf1a0af85f5e56e1309d70b23cd9660f6032cadb32a63755a01ca3682bbbbcf57f689df18b822db32afab67554a471779cc53423
7
- data.tar.gz: 6c92dd55c7924ae99281506b7c2ece71e7fcf66c2195a0fcb433d7cd540bc820ff4fd0f66417343d11993d91f56d100cad84ffb4f07a0f720bddf4267d946818
6
+ metadata.gz: 54244d7cf06034e093ceb38fb8c65b8264a9ccf4cfa28fcd1048b2e6cbd4524fa8574d645e36edf5020661e3f7deaeb65e733db47fef26cb5d362cbb3f13690b
7
+ data.tar.gz: 906817b0770d8ac461d5e4a4261b539eabfdba0edb3136581f74b96002d0ceee5b308d487cfefba3a72ab7212463ed727e29f27aa1bc2b5bc7080ab91588c607
@@ -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