lesli 5.0.7 → 5.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config/lesli_manifest.js +10 -9
- data/app/assets/icons/lesli/engine-lesli.svg +1 -0
- data/app/assets/icons/lesli/locale-en.svg +1 -0
- data/app/assets/icons/lesli/locale-es.svg +1 -0
- data/app/assets/javascripts/lesli/users/sessions.js +1 -722
- data/app/assets/stylesheets/lesli/templates/application.css +1846 -0
- data/app/assets/stylesheets/lesli/templates/public.css +1 -0
- data/app/assets/stylesheets/lesli/users/sessions.css +1 -0
- data/app/helpers/lesli/navigation_helper.rb +9 -1
- data/app/lib/lesli/system.rb +2 -1
- data/app/models/concerns/account_initializer.rb +3 -3
- data/app/views/lesli/layouts/application-public.html.erb +1 -1
- data/app/views/lesli/partials/_application-data.html.erb +3 -1
- data/app/views/lesli/partials/_application-lesli-header.html.erb +7 -8
- data/app/views/lesli/partials/_application-lesli-icons.html.erb +1 -1
- data/app/views/lesli/partials/_application-lesli-javascript.html.erb +1 -1
- data/app/views/lesli/partials/_application-public-javascript.html.erb +1 -4
- data/app/views/lesli/wrappers/_application-devise.html.erb +2 -2
- data/config/initializers/lesli.rb +1 -1
- data/db/seeds.rb +2 -4
- data/lib/assets/javascripts/lesli/i18n.js +1037 -1037
- data/lib/lesli/engine.rb +7 -6
- data/lib/lesli/version.rb +2 -2
- data/lib/{sass/lesli → scss}/bulma/loader.scss +3 -1
- data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/sessions.scss +3 -1
- data/lib/{sass/lesli → scss}/fonts/families.scss +3 -3
- data/lib/{sass/lesli → scss}/fonts/mdicons.scss +6 -8
- data/lib/{sass/lesli → scss}/fonts/remixicons.scss +2 -2
- data/lib/{sass/lesli → scss}/layouts/application-header.scss +4 -0
- data/lib/{sass/lesli → scss}/layouts/application-sidebar.scss +1 -1
- data/lib/{sass/lesli → scss}/pages/devise.scss +5 -1
- data/lib/{sass/lesli → scss}/settings/variables.scss +1 -1
- data/lib/{sass/lesli → scss}/templates/application.scss +46 -49
- data/lib/{sass/lesli → scss}/templates/component.scss +1 -1
- data/lib/{sass/lesli → scss}/templates/dashboards.scss +1 -1
- data/lib/{sass/lesli → scss}/templates/public.scss +6 -6
- data/lib/tasks/lesli/db.rake +42 -24
- data/lib/tasks/lesli/docs.rake +47 -0
- data/lib/vue/application.js +16 -15
- data/lib/vue/devise/sessions.js +1 -1
- data/lib/vue/layouts/application-announcements.vue +1 -1
- data/lib/vue/layouts/application-engines.vue +1 -1
- data/lib/vue/layouts/application-header.vue +9 -9
- data/lib/vue/layouts/application-search.vue +1 -1
- data/lib/vue/panels/panel-announcements.vue +2 -2
- data/lib/vue/panels/panel-files.vue +2 -2
- data/lib/vue/panels/panel-notifications.vue +1 -1
- data/lib/vue/panels/panel-profile.vue +2 -2
- data/lib/vue/panels/panel-tasks.vue +2 -2
- data/lib/vue/panels/panel-tickets.vue +2 -2
- data/lib/vue/public.js +3 -2
- data/lib/vue/{shared → refactor/shared}/cloudobjects/action.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/content.vue +2 -2
- data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/element.vue +2 -2
- data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/filters.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/new.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion.vue +4 -4
- data/lib/vue/{shared → refactor/shared}/cloudobjects/file/grid.vue +2 -2
- data/lib/vue/{shared → refactor/shared}/cloudobjects/file/list.vue +2 -2
- data/lib/vue/{shared → refactor/shared}/cloudobjects/file.vue +4 -4
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/form.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/chatroom-form.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/cloud-object-clone-form.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/cloud-object-file-form.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/email-form.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/notification-form.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/send-cloud-object-file.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/task-form.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/index.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/checks/form.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/checks/index.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/index.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/new.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/apps/show.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/components/associations.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/components/chart.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/components/workflow-form.vue +1 -1
- data/lib/vue/{shared → refactor/shared}/workflows2/components/workflow-status-dropdown.vue +1 -1
- data/lib/vue/refactor/stores/translations.json +60 -0
- data/lib/vue/shared/dashboards/apps/edit.vue +1 -1
- data/lib/vue/shared/dashboards/apps/index.vue +1 -1
- data/lib/vue/shared/dashboards/apps/new.vue +1 -1
- data/lib/vue/shared/dashboards/apps/show.vue +4 -2
- data/lib/vue/shared/dashboards/components/form.vue +1 -1
- data/lib/webpack/base.js +133 -132
- data/lib/webpack/core.js +9 -3
- data/lib/webpack/engines.js +7 -2
- data/lib/webpack/version.js +4 -1
- data/readme.md +7 -5
- metadata +135 -180
- data/app/assets/icons/lesli/cloud-development.svg +0 -1
- data/app/assets/icons/lesli/cloud-letter.svg +0 -1
- data/app/assets/icons/lesli/icon-module.svg +0 -1
- data/app/assets/icons/lesli/logo-android.svg +0 -1
- data/app/assets/icons/lesli/logo-bulma.svg +0 -1
- data/app/assets/icons/lesli/logo-ios.svg +0 -1
- data/app/assets/icons/lesli/logo-linux.svg +0 -1
- data/app/assets/icons/lesli/logo-mac.svg +0 -1
- data/app/assets/icons/lesli/logo-module.svg +0 -1
- data/app/assets/icons/lesli/logo-postgresql.svg +0 -1
- data/app/assets/icons/lesli/logo-rails.svg +0 -1
- data/app/assets/icons/lesli/logo-ruby.svg +0 -1
- data/app/assets/icons/lesli/logo-sass.svg +0 -1
- data/app/assets/icons/lesli/logo-vue.svg +0 -1
- data/app/assets/icons/lesli/logo-web.svg +0 -1
- data/app/assets/icons/lesli/logo-windows.svg +0 -1
- data/app/assets/images/lesli/brand/app-logo2.svg +0 -52
- data/app/assets/javascripts/lesli/users/confirmations.js +0 -32
- data/app/assets/javascripts/lesli/users/passwords.js +0 -742
- data/app/assets/javascripts/lesli/users/registrations.js +0 -742
- data/lib/assets/javascripts/lesli/translations.js +0 -15
- data/lib/sass/lesli/elements/form.scss +0 -43
- data/lib/sass/lesli/elements/header.scss +0 -44
- data/lib/sass/lesli/elements/panel.scss +0 -65
- data/lib/sass/lesli/elements/tab.scss +0 -48
- /data/app/assets/fonts/lesli/Domine/{Domine-VariableFont_wght.ttf → Domine-Variable.ttf} +0 -0
- /data/app/assets/icons/lesli/{cloud-admin.svg → engine-admin.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-audit.svg → engine-audit.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-babel.svg → engine-babel.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-bell.svg → engine-bell.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-books.svg → engine-books.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-lesli.svg → engine-dashboard.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-dispatcher.svg → engine-dispatcher.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-driver.svg → engine-driver.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-focus.svg → engine-focus.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-guard.svg → engine-guard.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-kb.svg → engine-kb.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-leaf.svg → engine-leaf.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-word.svg → engine-letter.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-mailer.svg → engine-mailer.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-one.svg → engine-one.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-profile.svg → engine-profile.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-proposal.svg → engine-proposal.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-scraper.svg → engine-scraper.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-shared.svg → engine-shared.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-storage.svg → engine-storage.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-support.svg → engine-support.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-talk.svg → engine-talk.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-team.svg → engine-team.svg} +0 -0
- /data/app/assets/icons/lesli/{cloud-time.svg → engine-time.svg} +0 -0
- /data/lib/{sass/lesli → scss}/cloud-objects/discussion.scss +0 -0
- /data/lib/{sass/lesli → scss}/cloud-objects/file.scss +0 -0
- /data/lib/{sass/lesli → scss}/components/editor-richtext.scss +0 -0
- /data/lib/{sass/lesli → scss}/components/keypad.scss +0 -0
- /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/confirmations.scss +0 -0
- /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/oauth.scss +0 -0
- /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/passwords.scss +0 -0
- /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/registrations.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/autocomplete.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/avatar.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/calendar.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/card.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/empty.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/file-uploader.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/gallery.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/input-tag.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/loading.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/map.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/msg.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/navbar.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/table.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/toggle.scss +0 -0
- /data/lib/{sass/lesli → scss}/elements/toolbar.scss +0 -0
- /data/lib/{sass/lesli → scss}/helpers/display.scss +0 -0
- /data/lib/{sass/lesli → scss}/helpers/tooltip.scss +0 -0
- /data/lib/{sass/lesli → scss}/layouts/application-announcements.scss +0 -0
- /data/lib/{sass/lesli → scss}/layouts/application-component.scss +0 -0
- /data/lib/{sass/lesli → scss}/layouts/application-container.scss +0 -0
- /data/lib/{sass/lesli → scss}/layouts/application-engines.scss +0 -0
- /data/lib/{sass/lesli → scss}/layouts/application-footer.scss +0 -0
- /data/lib/{sass/lesli → scss}/layouts/application-navbar.scss +0 -0
- /data/lib/{sass/lesli → scss}/layouts/application-search.scss +0 -0
- /data/lib/{sass/lesli → scss}/overrides/sweetalert.scss +0 -0
- /data/lib/{sass/lesli → scss}/pages/devise-simple.scss +0 -0
- /data/lib/{sass/lesli → scss}/pages/invites.scss +0 -0
- /data/lib/{sass/lesli → scss}/panels/panel-announcements.scss +0 -0
- /data/lib/{sass/lesli → scss}/panels/panel-notification.scss +0 -0
- /data/lib/{sass/lesli → scss}/panels/panel-profile.scss +0 -0
- /data/lib/{sass/lesli → scss}/panels/panel-tasks.scss +0 -0
- /data/lib/{sass/lesli → scss}/panels/panel-ticket.scss +0 -0
- /data/lib/{sass/lesli → scss}/shared/workflow-status-progress.scss +0 -0
- /data/lib/{sass/lesli → scss}/templates/empty.scss +0 -0
- /data/lib/{sass/lesli → scss}/templates/pdf.scss +0 -0
- /data/lib/vue/{stores → refactor/stores}/cloudobjects/action.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/cloudobjects/discussion.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/cloudobjects/file.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/entities/announcements.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/entities/dashboard.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/entities/workflow.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/panels/announcements.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/panels/notification.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/panels/task.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/panels/tickets.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/role.js +0 -0
- /data/lib/vue/{stores → refactor/stores}/users.js +0 -0
- /data/lib/vue/{stores → shared}/services/firebase.js +0 -0
- /data/lib/vue/{stores → shared}/services/translator.js +0 -0
- /data/lib/vue/{stores → shared/stores}/account.js +0 -0
- /data/lib/vue/{stores/search.js → shared/stores/command.js} +0 -0
- /data/lib/vue/{stores → shared/stores}/layout.js +0 -0
data/lib/lesli/engine.rb
CHANGED
@@ -38,7 +38,7 @@ require "kaminari"
|
|
38
38
|
require "L2"
|
39
39
|
require "devise"
|
40
40
|
require "useragent"
|
41
|
-
require "flag-icons-rails"
|
41
|
+
#require "flag-icons-rails"
|
42
42
|
require "acts_as_paranoid"
|
43
43
|
|
44
44
|
module Lesli
|
@@ -66,20 +66,21 @@ module Lesli
|
|
66
66
|
|
67
67
|
|
68
68
|
# Include lib/assets folder in the asset pipeline
|
69
|
-
config.assets.paths << root.join("lib", "assets")
|
69
|
+
#config.assets.paths << root.join("lib", "assets")
|
70
70
|
|
71
|
-
config.assets.paths << root.join("lib", "sass")
|
71
|
+
#config.assets.paths << root.join("lib", "sass")
|
72
72
|
|
73
73
|
# Include third-party assets
|
74
|
-
config.assets.paths << root.join("vendor")
|
74
|
+
#config.assets.paths << root.join("vendor")
|
75
75
|
|
76
76
|
# Default languages
|
77
77
|
config.i18n.default_locale = :en
|
78
78
|
config.i18n.available_locales = [:en]
|
79
79
|
|
80
80
|
# Force to not use digest,
|
81
|
-
# if this is not false Rails will fingerprint the assets by default
|
82
|
-
|
81
|
+
# if this is not false Rails will fingerprint the assets by default
|
82
|
+
# and precompile will be needed, so, donot digest if not production
|
83
|
+
config.assets.digest = false unless Rails.env.production?
|
83
84
|
|
84
85
|
|
85
86
|
# Lesli Framework Mailer configuration
|
data/lib/lesli/version.rb
CHANGED
@@ -23,7 +23,7 @@ Made with ♥ by https://www.lesli.tech
|
|
23
23
|
Building a better future, one line of code at a time.
|
24
24
|
|
25
25
|
@contact hello@lesli.tech
|
26
|
-
@website https://www.lesli.
|
26
|
+
@website https://www.lesli.tech
|
27
27
|
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
28
|
|
29
29
|
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
@@ -74,6 +74,8 @@ $navbar-background-color: transparent;
|
|
74
74
|
|
75
75
|
@import "bulma/sass/layout/hero";
|
76
76
|
|
77
|
+
|
78
|
+
|
77
79
|
// · Bulma elements/components overrides
|
78
80
|
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
79
81
|
|
@@ -23,7 +23,7 @@ Made with ♥ by https://www.lesli.tech
|
|
23
23
|
Building a better future, one line of code at a time.
|
24
24
|
|
25
25
|
@contact hello@lesli.tech
|
26
|
-
@website https://www.lesli.
|
26
|
+
@website https://www.lesli.tech
|
27
27
|
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
28
|
|
29
29
|
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
@@ -34,7 +34,7 @@ Building a better future, one line of code at a time.
|
|
34
34
|
// · Font family for titles
|
35
35
|
@font-face {
|
36
36
|
font-family: "Domine";
|
37
|
-
src:
|
37
|
+
src: url("lesli/Domine/Domine-Variable.ttf") format("truetype");
|
38
38
|
font-display: swap;
|
39
39
|
}
|
40
40
|
|
@@ -42,6 +42,6 @@ Building a better future, one line of code at a time.
|
|
42
42
|
// · Font family for the body
|
43
43
|
@font-face {
|
44
44
|
font-family: "OpenSans";
|
45
|
-
src:
|
45
|
+
src: url("lesli/OpenSans/OpenSans-Variable.ttf") format("truetype");
|
46
46
|
font-display: swap;
|
47
47
|
}
|
@@ -17,7 +17,7 @@ GNU General Public License for more details.
|
|
17
17
|
You should have received a copy of the GNU General Public License
|
18
18
|
along with this program. If not, see http://www.gnu.org/licenses/.
|
19
19
|
|
20
|
-
Lesli · Ruby on Rails SaaS
|
20
|
+
Lesli · Ruby on Rails SaaS Development Framework.
|
21
21
|
|
22
22
|
Made with ♥ by https://www.lesli.tech
|
23
23
|
Building a better future, one line of code at a time.
|
@@ -27,22 +27,20 @@ Building a better future, one line of code at a time.
|
|
27
27
|
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
28
|
|
29
29
|
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
30
|
-
// ·
|
31
|
-
|
30
|
+
// ·
|
32
31
|
*/
|
33
32
|
|
34
|
-
|
33
|
+
|
34
|
+
// · MaterialDesignIcons.com
|
35
35
|
@font-face {
|
36
36
|
font-family: 'Material Icons';
|
37
37
|
font-style: normal;
|
38
38
|
font-weight: 400;
|
39
|
-
src:
|
40
|
-
local('MaterialIcons-Regular'),
|
41
|
-
url("lesli/MaterialDesign/icons.woff2") format('woff2'),
|
42
|
-
|
39
|
+
src: url("lesli/MaterialDesign/icons.woff2") format('woff2');
|
43
40
|
}
|
44
41
|
|
45
42
|
|
43
|
+
// ·
|
46
44
|
.material-icons {
|
47
45
|
font-family: 'Material Icons';
|
48
46
|
font-weight: normal;
|
@@ -23,7 +23,7 @@ Made with ♥ by https://www.lesli.tech
|
|
23
23
|
Building a better future, one line of code at a time.
|
24
24
|
|
25
25
|
@contact hello@lesli.tech
|
26
|
-
@website https://www.lesli.
|
26
|
+
@website https://www.lesli.tech
|
27
27
|
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
28
|
|
29
29
|
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
@@ -34,7 +34,7 @@ Building a better future, one line of code at a time.
|
|
34
34
|
// ·
|
35
35
|
@font-face {
|
36
36
|
font-family: "remixicon";
|
37
|
-
src:
|
37
|
+
src: url("lesli/Remix/remixicon.ttf") format("truetype");
|
38
38
|
font-display: swap;
|
39
39
|
}
|
40
40
|
|
@@ -101,6 +101,10 @@ header.lesli-application-header {
|
|
101
101
|
// · Indicator icons container
|
102
102
|
.lesli-application-header-right {
|
103
103
|
|
104
|
+
.header-language-selector {
|
105
|
+
height: 24px;
|
106
|
+
}
|
107
|
+
|
104
108
|
// Notification icon & count
|
105
109
|
.header-indicator {
|
106
110
|
margin-left: 20px;
|
@@ -31,7 +31,7 @@ Building a better future, one line of code at a time.
|
|
31
31
|
|
32
32
|
|
33
33
|
// use the default background color so we can use bulma functions to find the rest of colors
|
34
|
-
@if $lesli-sidebar-color
|
34
|
+
@if $lesli-sidebar-color == "transparent" {
|
35
35
|
$lesli-sidebar-color: $lesli-color-background;
|
36
36
|
}
|
37
37
|
|
@@ -22,7 +22,7 @@ Made with ♥ by https://www.lesli.tech
|
|
22
22
|
Building a better future, one line of code at a time.
|
23
23
|
|
24
24
|
@contact hello@lesli.tech
|
25
|
-
@website https://www.lesli.
|
25
|
+
@website https://www.lesli.tech
|
26
26
|
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
27
27
|
|
28
28
|
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
@@ -33,87 +33,84 @@ Building a better future, one line of code at a time.
|
|
33
33
|
|
34
34
|
// ·
|
35
35
|
@import "lesli-css";
|
36
|
-
|
36
|
+
@import "lesli-vue/dist/elements.css";
|
37
37
|
|
38
38
|
// · Configuration & variables
|
39
|
-
@import "
|
39
|
+
@import "Lesli/scss/settings/variables";
|
40
40
|
|
41
41
|
|
42
42
|
// · Include Bulma
|
43
|
-
@import "lesli/bulma
|
43
|
+
@import "lesli-css/bulma";
|
44
44
|
|
45
45
|
|
46
46
|
// · Font families and icons
|
47
|
-
@import "
|
48
|
-
@import "
|
49
|
-
@import "
|
47
|
+
@import "Lesli/scss/fonts/mdicons";
|
48
|
+
@import "Lesli/scss/fonts/families";
|
49
|
+
@import "Lesli/scss/fonts/remixicons";
|
50
50
|
|
51
51
|
|
52
52
|
// · Some home made helpers
|
53
|
-
@import "
|
54
|
-
@import "
|
53
|
+
@import "Lesli/scss/helpers/display";
|
54
|
+
@import "Lesli/scss/helpers/tooltip";
|
55
55
|
|
56
56
|
|
57
57
|
// · Lesli application layout
|
58
|
-
@import "
|
59
|
-
@import "
|
60
|
-
@import "
|
61
|
-
@import "
|
62
|
-
@import "
|
63
|
-
@import "
|
64
|
-
@import "
|
65
|
-
@import "
|
66
|
-
@import "
|
58
|
+
@import "Lesli/scss/layouts/application-announcements";
|
59
|
+
@import "Lesli/scss/layouts/application-component";
|
60
|
+
@import "Lesli/scss/layouts/application-container";
|
61
|
+
@import "Lesli/scss/layouts/application-engines";
|
62
|
+
@import "Lesli/scss/layouts/application-sidebar";
|
63
|
+
@import "Lesli/scss/layouts/application-header";
|
64
|
+
@import "Lesli/scss/layouts/application-navbar";
|
65
|
+
@import "Lesli/scss/layouts/application-footer";
|
66
|
+
@import "Lesli/scss/layouts/application-search";
|
67
67
|
|
68
68
|
|
69
69
|
// · Lesli core panels
|
70
|
-
@import "lesli/panels/panel-tasks";
|
71
|
-
@import "lesli/panels/panel-ticket";
|
72
|
-
@import "lesli/panels/panel-profile";
|
73
|
-
@import "lesli/panels/panel-notification";
|
74
|
-
@import "lesli/panels/panel-announcements";
|
70
|
+
// @import "lesli/panels/panel-tasks";
|
71
|
+
// @import "lesli/panels/panel-ticket";
|
72
|
+
// @import "lesli/panels/panel-profile";
|
73
|
+
// @import "lesli/panels/panel-notification";
|
74
|
+
// @import "lesli/panels/panel-announcements";
|
75
75
|
|
76
76
|
|
77
77
|
// · Standard components
|
78
|
-
|
78
|
+
//@import "lesli/components/editor-richtext";
|
79
79
|
|
80
80
|
|
81
81
|
// · Shared
|
82
|
-
@import "lesli/shared/workflow-status-progress";
|
82
|
+
// @import "lesli/shared/workflow-status-progress";
|
83
83
|
|
84
84
|
|
85
85
|
// · Lesli cloud objects
|
86
|
-
@import "lesli/cloud-objects/discussion";
|
87
|
-
@import "lesli/cloud-objects/file";
|
86
|
+
// @import "lesli/cloud-objects/discussion";
|
87
|
+
// @import "lesli/cloud-objects/file";
|
88
88
|
|
89
89
|
|
90
90
|
// · Overrides for vendor libraries
|
91
|
-
@import "lesli/overrides/sweetalert";
|
91
|
+
// @import "lesli/overrides/sweetalert";
|
92
92
|
|
93
93
|
|
94
94
|
// · Lesli vue components
|
95
|
-
@import "lesli/elements/autocomplete";
|
96
|
-
@import "lesli/elements/avatar";
|
97
|
-
@import "lesli/elements/empty";
|
98
|
-
@import "lesli/elements/file-uploader";
|
99
|
-
@import "lesli/elements/gallery";
|
100
|
-
|
101
|
-
@import "lesli/elements/input-tag";
|
102
|
-
@import "lesli/elements/loading";
|
103
|
-
@import "lesli/elements/map";
|
104
|
-
@import "lesli/elements/msg";
|
105
|
-
@import "lesli/elements/navbar";
|
106
|
-
@import "lesli/elements/panel";
|
107
|
-
|
108
|
-
|
109
|
-
@import "lesli/elements/table";
|
110
|
-
@import "lesli/elements/toggle";
|
111
|
-
@import "lesli/elements/toolbar";
|
112
|
-
@import "lesli/elements/calendar";
|
113
|
-
@import "lesli/elements/card";
|
114
|
-
|
115
|
-
|
116
|
-
@import "flag-icon";
|
95
|
+
// @import "lesli/elements/autocomplete";
|
96
|
+
// @import "lesli/elements/avatar";
|
97
|
+
// @import "lesli/elements/empty";
|
98
|
+
// @import "lesli/elements/file-uploader";
|
99
|
+
// @import "lesli/elements/gallery";
|
100
|
+
//@import "Lesli/scss/elements/header";
|
101
|
+
// @import "lesli/elements/input-tag";
|
102
|
+
// @import "lesli/elements/loading";
|
103
|
+
// @import "lesli/elements/map";
|
104
|
+
// @import "lesli/elements/msg";
|
105
|
+
// @import "lesli/elements/navbar";
|
106
|
+
// @import "lesli/elements/panel";
|
107
|
+
//@import "Lesli/scss/elements/form";
|
108
|
+
//@import "Lesli/scss/elements/tab";
|
109
|
+
// @import "lesli/elements/table";
|
110
|
+
// @import "lesli/elements/toggle";
|
111
|
+
// @import "lesli/elements/toolbar";
|
112
|
+
// @import "lesli/elements/calendar";
|
113
|
+
// @import "lesli/elements/card";
|
117
114
|
|
118
115
|
|
119
116
|
html,
|
@@ -17,7 +17,7 @@ GNU General Public License for more details.
|
|
17
17
|
You should have received a copy of the GNU General Public License
|
18
18
|
along with this program. If not, see http://www.gnu.org/licenses/.
|
19
19
|
|
20
|
-
Lesli · Ruby on Rails SaaS
|
20
|
+
Lesli · Ruby on Rails SaaS Development Framework.
|
21
21
|
|
22
22
|
Made with ♥ by https://www.lesli.tech
|
23
23
|
Building a better future, one line of code at a time.
|
@@ -27,7 +27,7 @@ Building a better future, one line of code at a time.
|
|
27
27
|
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
28
|
|
29
29
|
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
30
|
-
// ·
|
30
|
+
// ·
|
31
31
|
*/
|
32
32
|
|
33
33
|
|
@@ -36,16 +36,16 @@ Building a better future, one line of code at a time.
|
|
36
36
|
|
37
37
|
|
38
38
|
// · Configuration & variables
|
39
|
-
@import "
|
39
|
+
@import "LesliStyle/settings/variables";
|
40
40
|
|
41
41
|
|
42
42
|
// · Include Bulma
|
43
|
-
@import "
|
43
|
+
@import "LesliStyle/bulma/loader";
|
44
44
|
|
45
45
|
|
46
46
|
// · Font families and icons
|
47
|
-
@import "
|
48
|
-
@import "
|
47
|
+
@import "LesliStyle/fonts/remixicons";
|
48
|
+
@import "LesliStyle/fonts/families";
|
49
49
|
|
50
50
|
|
51
51
|
// ·
|
data/lib/tasks/lesli/db.rake
CHANGED
@@ -34,66 +34,71 @@ Building a better future, one line of code at a time.
|
|
34
34
|
namespace :lesli do
|
35
35
|
namespace :db do
|
36
36
|
|
37
|
-
desc "Drop,
|
37
|
+
desc "Drop, create, migrate, seed & prepare the Lesli database (development only)"
|
38
38
|
task :reset => :environment do |task, args|
|
39
|
-
|
40
|
-
|
39
|
+
drop()
|
40
|
+
create()
|
41
|
+
migrate()
|
41
42
|
seed()
|
42
|
-
|
43
|
+
prepare()
|
43
44
|
end
|
44
45
|
|
45
|
-
desc "
|
46
|
-
task :
|
47
|
-
start()
|
46
|
+
desc "Seed & prepare Lesli database (development only)"
|
47
|
+
task :seed => :environment do |task, args|
|
48
48
|
seed()
|
49
|
-
setup()
|
50
49
|
end
|
51
50
|
|
52
|
-
desc "
|
53
|
-
task :
|
51
|
+
desc "Migrate, seed & prepare the Lesli database (development only)"
|
52
|
+
task :dev => :environment do |task, args|
|
53
|
+
migrate()
|
54
54
|
seed()
|
55
|
-
|
55
|
+
prepare()
|
56
56
|
end
|
57
57
|
|
58
|
-
desc "
|
58
|
+
desc "Migrate & prepare the Lesli database"
|
59
59
|
task :setup => :environment do |task, args|
|
60
|
-
|
60
|
+
migrate()
|
61
|
+
prepare()
|
62
|
+
end
|
63
|
+
|
64
|
+
desc "Prepare the Lesli database"
|
65
|
+
task :prepare => :environment do |task, args|
|
66
|
+
prepare()
|
61
67
|
end
|
62
68
|
end
|
63
69
|
|
64
|
-
# Drop
|
65
|
-
def
|
70
|
+
# Drop the Lesli database (development only)
|
71
|
+
def drop
|
66
72
|
|
67
73
|
# do not execute this task if we are at production level
|
68
74
|
return if Rails.env.production?
|
69
75
|
|
70
76
|
# print a message to let the users show the action running
|
71
|
-
L2.m("
|
77
|
+
L2.m("Drop the Lesli database (development only)")
|
72
78
|
|
73
79
|
Rake::Task['db:drop'].invoke
|
74
80
|
end
|
75
81
|
|
76
|
-
#
|
77
|
-
def
|
82
|
+
# Create the Lesli database (development only)
|
83
|
+
def create
|
78
84
|
|
79
85
|
# do not execute this task if we are at production level
|
80
86
|
return if Rails.env.production?
|
81
87
|
|
82
88
|
# print a message to let the users show the action running
|
83
|
-
L2.m("
|
89
|
+
L2.m("Create the Lesli database (development only)")
|
84
90
|
|
85
91
|
Rake::Task['db:create'].invoke
|
86
|
-
Rake::Task['db:migrate'].invoke
|
87
92
|
end
|
88
93
|
|
89
|
-
|
94
|
+
desc "Seed the Lesli database (development only)"
|
90
95
|
def seed
|
91
96
|
|
92
97
|
# do not execute this task if we are at production level
|
93
98
|
return if Rails.env.production?
|
94
99
|
|
95
100
|
# print a message to let the users show the action running
|
96
|
-
L2.msg("Seed Lesli database
|
101
|
+
L2.msg("Seed the Lesli database (development only)")
|
97
102
|
|
98
103
|
# load main app seeders
|
99
104
|
Rake::Task['db:seed'].invoke
|
@@ -106,13 +111,26 @@ namespace :lesli do
|
|
106
111
|
LesliLetter::Engine.load_seed if defined?(LesliLetter)
|
107
112
|
end
|
108
113
|
|
109
|
-
|
114
|
+
# Migrate the Lesli database
|
115
|
+
def migrate
|
116
|
+
|
117
|
+
# do not execute this task if we are at production level
|
118
|
+
return if Rails.env.production?
|
119
|
+
|
120
|
+
# print a message to let the users show the action running
|
121
|
+
L2.m("Migrate the Lesli database")
|
122
|
+
|
123
|
+
Rake::Task['db:migrate'].invoke
|
124
|
+
end
|
125
|
+
|
126
|
+
desc "Prepare the Lesli database"
|
127
|
+
def prepare
|
110
128
|
|
111
129
|
# do not execute this task if we are at production level
|
112
130
|
return if Rails.env.production?
|
113
131
|
|
114
132
|
# print a message to let the users show the action running
|
115
|
-
L2.msg("
|
133
|
+
L2.msg("Prepare the Lesli database")
|
116
134
|
|
117
135
|
# scan rails routes to build the controllers index
|
118
136
|
Rake::Task['lesli:controllers:build'].invoke
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
|
3
|
+
Lesli
|
4
|
+
|
5
|
+
Copyright (c) 2023, Lesli Technologies, S. A.
|
6
|
+
|
7
|
+
This program is free software: you can redistribute it and/or modify
|
8
|
+
it under the terms of the GNU General Public License as published by
|
9
|
+
the Free Software Foundation, either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
11
|
+
|
12
|
+
This program is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU General Public License
|
18
|
+
along with this program. If not, see http://www.gnu.org/licenses/.
|
19
|
+
|
20
|
+
Lesli · Ruby on Rails SaaS Development Framework.
|
21
|
+
|
22
|
+
Made with ♥ by https://www.lesli.tech
|
23
|
+
Building a better future, one line of code at a time.
|
24
|
+
|
25
|
+
@contact hello@lesli.tech
|
26
|
+
@website https://www.lesli.tech
|
27
|
+
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
|
+
|
29
|
+
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
30
|
+
// ·
|
31
|
+
=end
|
32
|
+
|
33
|
+
# ·
|
34
|
+
namespace :lesli do
|
35
|
+
namespace :docs do
|
36
|
+
|
37
|
+
desc "Drop, create, migrate, seed & prepare the Lesli database (development only)"
|
38
|
+
task :build => :environment do |task, args|
|
39
|
+
build()
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
# Drop the Lesli database (development only)
|
44
|
+
def build
|
45
|
+
|
46
|
+
end
|
47
|
+
end
|
data/lib/vue/application.js
CHANGED
@@ -34,7 +34,8 @@ Building a better future, one line of code at a time.
|
|
34
34
|
import { createPinia } from "pinia"
|
35
35
|
import { createApp, nextTick } from "vue"
|
36
36
|
import { createWebHistory, createRouter } from "vue-router";
|
37
|
-
import
|
37
|
+
import { useLesliDebug } from "lesli-vue/composables"
|
38
|
+
const debug = useLesliDebug()
|
38
39
|
|
39
40
|
|
40
41
|
// custom console.log implementation for Lesli
|
@@ -42,23 +43,23 @@ window.debug = debug
|
|
42
43
|
|
43
44
|
|
44
45
|
// · Loading application layout components
|
45
|
-
import lesliApplicationHeader from "Lesli/layouts/application-header.vue"
|
46
|
-
import lesliApplicationEngines from "Lesli/layouts/application-engines.vue"
|
47
|
-
import lesliApplicationContainer from "Lesli/layouts/application-container.vue"
|
48
|
-
import lesliApplicationComponent from "Lesli/layouts/application-component.vue"
|
46
|
+
import lesliApplicationHeader from "Lesli/vue/layouts/application-header.vue"
|
47
|
+
import lesliApplicationEngines from "Lesli/vue/layouts/application-engines.vue"
|
48
|
+
import lesliApplicationContainer from "Lesli/vue/layouts/application-container.vue"
|
49
|
+
import lesliApplicationComponent from "Lesli/vue/layouts/application-component.vue"
|
49
50
|
|
50
51
|
|
51
52
|
/*
|
52
|
-
import componentApplicationFooter from "Lesli/layouts/application-footer.vue"
|
53
|
-
import componentApplicationSearch from "Lesli/layouts/application-search.vue"
|
54
|
-
import componentApplicationSidebar from "Lesli/layouts/application-sidebar.vue"
|
55
|
-
import componentApplicationAnnouncement from "Lesli/layouts/application-announcements.vue"
|
56
|
-
import componentApplicationPanelTasks from "Lesli/panels/panel-tasks.vue"
|
57
|
-
import componentApplicationPanelFiles from "Lesli/panels/panel-files.vue"
|
58
|
-
import componentApplicationPanelTickets from "Lesli/panels/panel-tickets.vue"
|
59
|
-
import componentApplicationPanelProfile from "Lesli/panels/panel-profile.vue"
|
60
|
-
import componentApplicationPanelNotifications from "Lesli/panels/panel-notifications.vue"
|
61
|
-
import componentApplicationPanelAnnouncements from "Lesli/panels/panel-announcements.vue"
|
53
|
+
import componentApplicationFooter from "Lesli/vue/layouts/application-footer.vue"
|
54
|
+
import componentApplicationSearch from "Lesli/vue/layouts/application-search.vue"
|
55
|
+
import componentApplicationSidebar from "Lesli/vue/layouts/application-sidebar.vue"
|
56
|
+
import componentApplicationAnnouncement from "Lesli/vue/layouts/application-announcements.vue"
|
57
|
+
import componentApplicationPanelTasks from "Lesli/vue/panels/panel-tasks.vue"
|
58
|
+
import componentApplicationPanelFiles from "Lesli/vue/panels/panel-files.vue"
|
59
|
+
import componentApplicationPanelTickets from "Lesli/vue/panels/panel-tickets.vue"
|
60
|
+
import componentApplicationPanelProfile from "Lesli/vue/panels/panel-profile.vue"
|
61
|
+
import componentApplicationPanelNotifications from "Lesli/vue/panels/panel-notifications.vue"
|
62
|
+
import componentApplicationPanelAnnouncements from "Lesli/vue/panels/panel-announcements.vue"
|
62
63
|
*/
|
63
64
|
|
64
65
|
|
data/lib/vue/devise/sessions.js
CHANGED
@@ -40,7 +40,7 @@ import {onMounted} from 'vue'
|
|
40
40
|
|
41
41
|
|
42
42
|
// · import stores
|
43
|
-
import { useAnnouncements } from "Lesli/stores/announcements"
|
43
|
+
import { useAnnouncements } from "Lesli/vue/stores/announcements"
|
44
44
|
import { editorRichTextViewer } from "lesli-vue/components"
|
45
45
|
|
46
46
|
|