lesli 5.0.4 → 5.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/icons/lesli/cloud-letter.svg +1 -0
- data/app/assets/icons/readme.md +1 -1
- data/app/assets/images/lesli/brand/app-logo2.svg +52 -0
- data/app/assets/javascripts/lesli/users/passwords.js +85 -119
- data/app/assets/javascripts/lesli/users/registrations.js +85 -119
- data/app/assets/javascripts/lesli/users/sessions.js +76 -130
- data/app/controllers/lesli/application_controller.rb +3 -3
- data/app/controllers/lesli/application_lesli_controller.rb +2 -2
- data/app/controllers/lesli/interfaces/application/authorization.rb +1 -1
- data/app/controllers/lesli/interfaces/application/requester.rb +1 -1
- data/app/controllers/lesli/shared/dashboards_controller.rb +308 -0
- data/app/controllers/lesli/system_controllers_controller.rb +63 -0
- data/app/controllers/users/confirmations_controller.rb +1 -1
- data/app/controllers/users/passwords_controller.rb +7 -10
- data/app/controllers/users/sessions_controller.rb +2 -1
- data/app/helpers/lesli/general_helper.rb +1 -1
- data/app/helpers/lesli/navigation_helper.rb +23 -22
- data/app/lib/lesli/system.rb +3 -1
- data/app/mailers/lesli/devise_mailer.rb +1 -1
- data/app/models/concerns/account_initializer.rb +31 -4
- data/app/models/concerns/user_extensions.rb +8 -6
- data/app/models/concerns/user_security.rb +1 -1
- data/app/models/lesli/account.rb +4 -1
- data/app/models/lesli/application_lesli_record.rb +1 -1
- data/app/models/lesli/descriptor/privilege.rb +1 -0
- data/app/models/lesli/descriptor.rb +1 -4
- data/app/models/lesli/role/power.rb +3 -3
- data/app/models/lesli/shared/dashboard.rb +162 -0
- data/app/models/lesli/system_controller.rb +1 -0
- data/app/models/lesli/user/session.rb +4 -27
- data/app/models/lesli/user.rb +2 -3
- data/app/operators/lesli/controller_operator.rb +148 -0
- data/app/operators/lesli/descriptor_privilege_operator.rb +1 -1
- data/app/operators/lesli/{role_power_operator.rb → role_descriptor_operator.rb} +24 -7
- data/app/views/devise/passwords/new.html.erb +1 -1
- data/app/views/lesli/partials/_application-data.html.erb +7 -0
- data/app/views/lesli/partials/_application-lesli-engines.html.erb +3 -3
- data/app/views/lesli/partials/_application-lesli-icons.html.erb +1 -1
- data/config/initializers/lesli.rb +2 -0
- data/config/locales/translations.en.yml +24 -0
- data/config/locales/translations.es.yml +24 -0
- data/config/routes.rb +6 -2
- data/db/migrate/v1.0/0010005010_create_lesli_descriptors.rb +1 -1
- data/db/migrate/v1.0/0010005510_create_lesli_role_powers.rb +7 -0
- data/db/seed/development/users.rb +0 -1
- data/db/seeds.rb +16 -29
- data/lib/lesli/version.rb +1 -1
- data/lib/mailer_previews/devise_mailer_preview.rb +7 -0
- data/lib/sass/lesli/components/editor-richtext.scss +10 -0
- data/lib/sass/lesli/layouts/application-navbar.scss +1 -1
- data/lib/sass/lesli/templates/application.scss +4 -0
- data/lib/{tasks/lesli/role.rake → sass/lesli/templates/component.scss} +6 -21
- data/lib/tasks/lesli/controllers.rake +1 -91
- data/lib/tasks/lesli/db.rake +37 -6
- data/lib/tasks/lesli/dev.rake +66 -0
- data/lib/tasks/lesli/engine.rake +59 -0
- data/lib/tasks/lesli_tasks.rake +13 -0
- data/lib/vue/application.js +64 -61
- data/lib/vue/devise/passwords.js +8 -8
- data/lib/vue/devise/registrations.js +2 -2
- data/lib/vue/devise/sessions.js +11 -6
- data/lib/vue/layouts/application-header.vue +12 -8
- data/lib/vue/public.js +2 -5
- data/lib/vue/shared/dashboards/apps/edit.vue +215 -0
- data/lib/vue/{apps → shared}/dashboards/apps/index.vue +3 -5
- data/lib/vue/{apps → shared}/dashboards/apps/show.vue +26 -16
- data/lib/vue/{apps → shared}/dashboards/components/form.vue +31 -43
- data/lib/vue/shared/stores/dashboard.js +251 -0
- data/lib/vue/shared/stores/systemController.js +67 -0
- data/lib/vue/stores/translations.json +48 -74
- data/lib/vue/stores/{user.js → users.js} +3 -7
- data/lib/webpack/base.js +4 -2
- data/lib/webpack/core.js +1 -1
- data/readme.md +1 -1
- metadata +51 -40
- data/lib/vue/apps/dashboards/apps/edit.vue +0 -105
- data/lib/vue/apps/dashboards/components/preview.vue +0 -172
- /data/app/assets/icons/lesli/{cloud-vault.svg → cloud-guard.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-help.svg → cloud-support.svg} +0 -0
- /data/lib/vue/{apps → shared}/cloudobjects/action.vue +0 -0
- /data/lib/vue/{apps → shared}/cloudobjects/discussion/content.vue +0 -0
- /data/lib/vue/{apps → shared}/cloudobjects/discussion/element.vue +0 -0
- /data/lib/vue/{apps → shared}/cloudobjects/discussion/filters.vue +0 -0
- /data/lib/vue/{apps → shared}/cloudobjects/discussion/new.vue +0 -0
- /data/lib/vue/{apps → shared}/cloudobjects/discussion.vue +0 -0
- /data/lib/vue/{apps → shared}/cloudobjects/file/grid.vue +0 -0
- /data/lib/vue/{apps → shared}/cloudobjects/file/list.vue +0 -0
- /data/lib/vue/{apps → shared}/cloudobjects/file.vue +0 -0
- /data/lib/vue/{apps → shared}/dashboards/apps/new.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/actions/form.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/actions/forms/chatroom-form.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/actions/forms/cloud-object-clone-form.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/actions/forms/cloud-object-file-form.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/actions/forms/email-form.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/actions/forms/notification-form.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/actions/forms/send-cloud-object-file.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/actions/forms/task-form.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/actions/index.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/checks/form.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/checks/index.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/index.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/new.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/apps/show.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/components/associations.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/components/chart.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/components/workflow-form.vue +0 -0
- /data/lib/vue/{apps → shared}/workflows2/components/workflow-status-dropdown.vue +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 002c09c0810571b861aea770b118469426b2e252eb9ede90a1ac897321c0c951
|
4
|
+
data.tar.gz: 04e58831bf67417a84793f89ae4aa5556675a17e727bd3fb4ffcc8e2b3cee6d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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>
|
data/app/assets/icons/readme.md
CHANGED
@@ -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
|
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
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
fill="#0d52bf"
|
4
|
+
data-name="Layer 1"
|
5
|
+
viewBox="0 0 759.30359 204.058"
|
6
|
+
version="1.1"
|
7
|
+
id="svg7"
|
8
|
+
sodipodi:docname="app-logo2.svg"
|
9
|
+
width="759.30359"
|
10
|
+
height="204.058"
|
11
|
+
inkscape:version="1.2 (dc2aeda, 2022-05-15)"
|
12
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
13
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
15
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
16
|
+
<defs
|
17
|
+
id="defs11" />
|
18
|
+
<sodipodi:namedview
|
19
|
+
id="namedview9"
|
20
|
+
pagecolor="#ffffff"
|
21
|
+
bordercolor="#000000"
|
22
|
+
borderopacity="0.25"
|
23
|
+
inkscape:showpageshadow="2"
|
24
|
+
inkscape:pageopacity="0.0"
|
25
|
+
inkscape:pagecheckerboard="0"
|
26
|
+
inkscape:deskcolor="#d1d1d1"
|
27
|
+
showgrid="false"
|
28
|
+
inkscape:zoom="0.59978982"
|
29
|
+
inkscape:cx="360.95977"
|
30
|
+
inkscape:cy="354.29077"
|
31
|
+
inkscape:window-width="1792"
|
32
|
+
inkscape:window-height="1003"
|
33
|
+
inkscape:window-x="0"
|
34
|
+
inkscape:window-y="25"
|
35
|
+
inkscape:window-maximized="1"
|
36
|
+
inkscape:current-layer="svg7" />
|
37
|
+
<path
|
38
|
+
style="stroke-width:0.396906"
|
39
|
+
id="path16"
|
40
|
+
d="M 219.61484,103.07486 A 43.236471,41.974221 0 0 0 183.89936,61.761547 43.220354,41.958576 0 0 0 109.68879,20.839332 43.208276,41.946844 0 0 0 35.490281,61.792831 a 43.220354,41.958576 0 0 0 0,82.564069 43.220354,41.958576 0 0 0 74.198509,40.95347 43.208276,41.946844 0 0 0 74.21057,-40.92221 43.236471,41.974221 0 0 0 35.71548,-41.3133 z m -107.17878,33.41352 v 7.2858 H 99.142517 v -27.91507 a 7.8472603,7.6181662 0 0 0 -7.863318,-7.61815 H 62.524661 V 95.335434 h 28.754538 a 7.8512879,7.6220766 0 0 0 7.847263,-7.622073 V 59.786609 h 13.293548 v 27.911124 a 7.8553162,7.6259878 0 0 0 7.86339,7.622073 h 28.75038 V 108.22532 H 120.2834 a 7.8512879,7.6220766 0 0 0 -7.85129,7.61822 v 20.62915 z"
|
41
|
+
class="cls-1" />
|
42
|
+
<path
|
43
|
+
d="m 368.15658,159.456 v 40.883 h -108.853 V 14.485004 h 42.48 V 159.455 Z m 80.678,9.022 c 10.885,0 20.18,-4.242 25.49,-10.09 l 31.86,18.324 c -13.014,18.051 -32.656,27.346 -57.916,27.346 -45.404,0 -73.546,-30.535 -73.546,-70.092 0,-39.556998 28.756,-70.098998 70.685,-70.098998 38.762,0 67.44,30.005 67.44,70.098998 a 77.279,77.279 0 0 1 -1.59,15.93 h -94.256 c 5.045,13.802 17.256,18.582 31.833,18.582 z m 24.422,-48.321 c -4.243,-15.4 -16.196,-20.974998 -28.142,-20.974998 -15.134,0 -25.224,7.437998 -28.936,20.974998 z m 157.195,40.359 c 0,30.528 -26.515,43.542 -55.222,43.542 -26.515,0 -46.751,-10.09 -57.085,-31.596 l 34.519,-19.649 c 3.447,10.09 10.885,15.665 22.566,15.665 9.56,0 14.332,-2.917 14.332,-8.227 0,-14.604 -65.312,-6.908 -65.312,-52.836 0,-28.942998 24.423,-43.547998 52.04,-43.547998 21.506,0 40.625,9.56 51.776,28.414 l -33.99,18.315998 c -3.72,-6.9 -9.022,-11.679998 -17.786,-11.679998 -6.901,0 -11.165,2.657998 -11.165,7.429998 0.014,15.136 65.326,5.046 65.326,54.17 z m 17.249,-153.9919961 h 39.823 V 200.339 h -39.823 z m 66.366,61.0619981 h 39.83 V 200.34 h -39.83 z"
|
44
|
+
class="cls-1"
|
45
|
+
id="path3" />
|
46
|
+
<circle
|
47
|
+
cx="733.98157"
|
48
|
+
cy="25.322001"
|
49
|
+
r="25.322001"
|
50
|
+
class="cls-1"
|
51
|
+
id="circle5" />
|
52
|
+
</svg>
|