lesli 5.0.7 → 5.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/lesli_manifest.js +10 -9
  3. data/app/assets/icons/lesli/engine-lesli.svg +1 -0
  4. data/app/assets/icons/lesli/locale-en.svg +1 -0
  5. data/app/assets/icons/lesli/locale-es.svg +1 -0
  6. data/app/assets/javascripts/lesli/users/sessions.js +1 -722
  7. data/app/assets/stylesheets/lesli/templates/application.css +1846 -0
  8. data/app/assets/stylesheets/lesli/templates/public.css +1 -0
  9. data/app/assets/stylesheets/lesli/users/sessions.css +1 -0
  10. data/app/helpers/lesli/navigation_helper.rb +9 -1
  11. data/app/lib/lesli/system.rb +2 -1
  12. data/app/models/concerns/account_initializer.rb +3 -3
  13. data/app/views/lesli/layouts/application-public.html.erb +1 -1
  14. data/app/views/lesli/partials/_application-data.html.erb +3 -1
  15. data/app/views/lesli/partials/_application-lesli-header.html.erb +7 -8
  16. data/app/views/lesli/partials/_application-lesli-icons.html.erb +1 -1
  17. data/app/views/lesli/partials/_application-lesli-javascript.html.erb +1 -1
  18. data/app/views/lesli/partials/_application-public-javascript.html.erb +1 -4
  19. data/app/views/lesli/wrappers/_application-devise.html.erb +2 -2
  20. data/config/initializers/lesli.rb +1 -1
  21. data/db/seeds.rb +2 -4
  22. data/lib/assets/javascripts/lesli/i18n.js +1037 -1037
  23. data/lib/lesli/engine.rb +7 -6
  24. data/lib/lesli/version.rb +2 -2
  25. data/lib/{sass/lesli → scss}/bulma/loader.scss +3 -1
  26. data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/sessions.scss +3 -1
  27. data/lib/{sass/lesli → scss}/fonts/families.scss +3 -3
  28. data/lib/{sass/lesli → scss}/fonts/mdicons.scss +6 -8
  29. data/lib/{sass/lesli → scss}/fonts/remixicons.scss +2 -2
  30. data/lib/{sass/lesli → scss}/layouts/application-header.scss +4 -0
  31. data/lib/{sass/lesli → scss}/layouts/application-sidebar.scss +1 -1
  32. data/lib/{sass/lesli → scss}/pages/devise.scss +5 -1
  33. data/lib/{sass/lesli → scss}/settings/variables.scss +1 -1
  34. data/lib/{sass/lesli → scss}/templates/application.scss +46 -49
  35. data/lib/{sass/lesli → scss}/templates/component.scss +1 -1
  36. data/lib/{sass/lesli → scss}/templates/dashboards.scss +1 -1
  37. data/lib/{sass/lesli → scss}/templates/public.scss +6 -6
  38. data/lib/tasks/lesli/db.rake +42 -24
  39. data/lib/tasks/lesli/docs.rake +47 -0
  40. data/lib/vue/application.js +16 -15
  41. data/lib/vue/devise/sessions.js +1 -1
  42. data/lib/vue/layouts/application-announcements.vue +1 -1
  43. data/lib/vue/layouts/application-engines.vue +1 -1
  44. data/lib/vue/layouts/application-header.vue +9 -9
  45. data/lib/vue/layouts/application-search.vue +1 -1
  46. data/lib/vue/panels/panel-announcements.vue +2 -2
  47. data/lib/vue/panels/panel-files.vue +2 -2
  48. data/lib/vue/panels/panel-notifications.vue +1 -1
  49. data/lib/vue/panels/panel-profile.vue +2 -2
  50. data/lib/vue/panels/panel-tasks.vue +2 -2
  51. data/lib/vue/panels/panel-tickets.vue +2 -2
  52. data/lib/vue/public.js +3 -2
  53. data/lib/vue/{shared → refactor/shared}/cloudobjects/action.vue +1 -1
  54. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/content.vue +2 -2
  55. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/element.vue +2 -2
  56. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/filters.vue +1 -1
  57. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/new.vue +1 -1
  58. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion.vue +4 -4
  59. data/lib/vue/{shared → refactor/shared}/cloudobjects/file/grid.vue +2 -2
  60. data/lib/vue/{shared → refactor/shared}/cloudobjects/file/list.vue +2 -2
  61. data/lib/vue/{shared → refactor/shared}/cloudobjects/file.vue +4 -4
  62. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/form.vue +1 -1
  63. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/chatroom-form.vue +1 -1
  64. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/cloud-object-clone-form.vue +1 -1
  65. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/cloud-object-file-form.vue +1 -1
  66. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/email-form.vue +1 -1
  67. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/notification-form.vue +1 -1
  68. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/send-cloud-object-file.vue +1 -1
  69. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/task-form.vue +1 -1
  70. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/index.vue +1 -1
  71. data/lib/vue/{shared → refactor/shared}/workflows2/apps/checks/form.vue +1 -1
  72. data/lib/vue/{shared → refactor/shared}/workflows2/apps/checks/index.vue +1 -1
  73. data/lib/vue/{shared → refactor/shared}/workflows2/apps/index.vue +1 -1
  74. data/lib/vue/{shared → refactor/shared}/workflows2/apps/new.vue +1 -1
  75. data/lib/vue/{shared → refactor/shared}/workflows2/apps/show.vue +1 -1
  76. data/lib/vue/{shared → refactor/shared}/workflows2/components/associations.vue +1 -1
  77. data/lib/vue/{shared → refactor/shared}/workflows2/components/chart.vue +1 -1
  78. data/lib/vue/{shared → refactor/shared}/workflows2/components/workflow-form.vue +1 -1
  79. data/lib/vue/{shared → refactor/shared}/workflows2/components/workflow-status-dropdown.vue +1 -1
  80. data/lib/vue/refactor/stores/translations.json +60 -0
  81. data/lib/vue/shared/dashboards/apps/edit.vue +1 -1
  82. data/lib/vue/shared/dashboards/apps/index.vue +1 -1
  83. data/lib/vue/shared/dashboards/apps/new.vue +1 -1
  84. data/lib/vue/shared/dashboards/apps/show.vue +4 -2
  85. data/lib/vue/shared/dashboards/components/form.vue +1 -1
  86. data/lib/webpack/base.js +133 -132
  87. data/lib/webpack/core.js +9 -3
  88. data/lib/webpack/engines.js +7 -2
  89. data/lib/webpack/version.js +4 -1
  90. data/readme.md +7 -5
  91. metadata +135 -180
  92. data/app/assets/icons/lesli/cloud-development.svg +0 -1
  93. data/app/assets/icons/lesli/cloud-letter.svg +0 -1
  94. data/app/assets/icons/lesli/icon-module.svg +0 -1
  95. data/app/assets/icons/lesli/logo-android.svg +0 -1
  96. data/app/assets/icons/lesli/logo-bulma.svg +0 -1
  97. data/app/assets/icons/lesli/logo-ios.svg +0 -1
  98. data/app/assets/icons/lesli/logo-linux.svg +0 -1
  99. data/app/assets/icons/lesli/logo-mac.svg +0 -1
  100. data/app/assets/icons/lesli/logo-module.svg +0 -1
  101. data/app/assets/icons/lesli/logo-postgresql.svg +0 -1
  102. data/app/assets/icons/lesli/logo-rails.svg +0 -1
  103. data/app/assets/icons/lesli/logo-ruby.svg +0 -1
  104. data/app/assets/icons/lesli/logo-sass.svg +0 -1
  105. data/app/assets/icons/lesli/logo-vue.svg +0 -1
  106. data/app/assets/icons/lesli/logo-web.svg +0 -1
  107. data/app/assets/icons/lesli/logo-windows.svg +0 -1
  108. data/app/assets/images/lesli/brand/app-logo2.svg +0 -52
  109. data/app/assets/javascripts/lesli/users/confirmations.js +0 -32
  110. data/app/assets/javascripts/lesli/users/passwords.js +0 -742
  111. data/app/assets/javascripts/lesli/users/registrations.js +0 -742
  112. data/lib/assets/javascripts/lesli/translations.js +0 -15
  113. data/lib/sass/lesli/elements/form.scss +0 -43
  114. data/lib/sass/lesli/elements/header.scss +0 -44
  115. data/lib/sass/lesli/elements/panel.scss +0 -65
  116. data/lib/sass/lesli/elements/tab.scss +0 -48
  117. /data/app/assets/fonts/lesli/Domine/{Domine-VariableFont_wght.ttf → Domine-Variable.ttf} +0 -0
  118. /data/app/assets/icons/lesli/{cloud-admin.svg → engine-admin.svg} +0 -0
  119. /data/app/assets/icons/lesli/{cloud-audit.svg → engine-audit.svg} +0 -0
  120. /data/app/assets/icons/lesli/{cloud-babel.svg → engine-babel.svg} +0 -0
  121. /data/app/assets/icons/lesli/{cloud-bell.svg → engine-bell.svg} +0 -0
  122. /data/app/assets/icons/lesli/{cloud-books.svg → engine-books.svg} +0 -0
  123. /data/app/assets/icons/lesli/{cloud-lesli.svg → engine-dashboard.svg} +0 -0
  124. /data/app/assets/icons/lesli/{cloud-dispatcher.svg → engine-dispatcher.svg} +0 -0
  125. /data/app/assets/icons/lesli/{cloud-driver.svg → engine-driver.svg} +0 -0
  126. /data/app/assets/icons/lesli/{cloud-focus.svg → engine-focus.svg} +0 -0
  127. /data/app/assets/icons/lesli/{cloud-guard.svg → engine-guard.svg} +0 -0
  128. /data/app/assets/icons/lesli/{cloud-kb.svg → engine-kb.svg} +0 -0
  129. /data/app/assets/icons/lesli/{cloud-leaf.svg → engine-leaf.svg} +0 -0
  130. /data/app/assets/icons/lesli/{cloud-word.svg → engine-letter.svg} +0 -0
  131. /data/app/assets/icons/lesli/{cloud-mailer.svg → engine-mailer.svg} +0 -0
  132. /data/app/assets/icons/lesli/{cloud-one.svg → engine-one.svg} +0 -0
  133. /data/app/assets/icons/lesli/{cloud-profile.svg → engine-profile.svg} +0 -0
  134. /data/app/assets/icons/lesli/{cloud-proposal.svg → engine-proposal.svg} +0 -0
  135. /data/app/assets/icons/lesli/{cloud-scraper.svg → engine-scraper.svg} +0 -0
  136. /data/app/assets/icons/lesli/{cloud-shared.svg → engine-shared.svg} +0 -0
  137. /data/app/assets/icons/lesli/{cloud-storage.svg → engine-storage.svg} +0 -0
  138. /data/app/assets/icons/lesli/{cloud-support.svg → engine-support.svg} +0 -0
  139. /data/app/assets/icons/lesli/{cloud-talk.svg → engine-talk.svg} +0 -0
  140. /data/app/assets/icons/lesli/{cloud-team.svg → engine-team.svg} +0 -0
  141. /data/app/assets/icons/lesli/{cloud-time.svg → engine-time.svg} +0 -0
  142. /data/lib/{sass/lesli → scss}/cloud-objects/discussion.scss +0 -0
  143. /data/lib/{sass/lesli → scss}/cloud-objects/file.scss +0 -0
  144. /data/lib/{sass/lesli → scss}/components/editor-richtext.scss +0 -0
  145. /data/lib/{sass/lesli → scss}/components/keypad.scss +0 -0
  146. /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/confirmations.scss +0 -0
  147. /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/oauth.scss +0 -0
  148. /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/passwords.scss +0 -0
  149. /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/registrations.scss +0 -0
  150. /data/lib/{sass/lesli → scss}/elements/autocomplete.scss +0 -0
  151. /data/lib/{sass/lesli → scss}/elements/avatar.scss +0 -0
  152. /data/lib/{sass/lesli → scss}/elements/calendar.scss +0 -0
  153. /data/lib/{sass/lesli → scss}/elements/card.scss +0 -0
  154. /data/lib/{sass/lesli → scss}/elements/empty.scss +0 -0
  155. /data/lib/{sass/lesli → scss}/elements/file-uploader.scss +0 -0
  156. /data/lib/{sass/lesli → scss}/elements/gallery.scss +0 -0
  157. /data/lib/{sass/lesli → scss}/elements/input-tag.scss +0 -0
  158. /data/lib/{sass/lesli → scss}/elements/loading.scss +0 -0
  159. /data/lib/{sass/lesli → scss}/elements/map.scss +0 -0
  160. /data/lib/{sass/lesli → scss}/elements/msg.scss +0 -0
  161. /data/lib/{sass/lesli → scss}/elements/navbar.scss +0 -0
  162. /data/lib/{sass/lesli → scss}/elements/table.scss +0 -0
  163. /data/lib/{sass/lesli → scss}/elements/toggle.scss +0 -0
  164. /data/lib/{sass/lesli → scss}/elements/toolbar.scss +0 -0
  165. /data/lib/{sass/lesli → scss}/helpers/display.scss +0 -0
  166. /data/lib/{sass/lesli → scss}/helpers/tooltip.scss +0 -0
  167. /data/lib/{sass/lesli → scss}/layouts/application-announcements.scss +0 -0
  168. /data/lib/{sass/lesli → scss}/layouts/application-component.scss +0 -0
  169. /data/lib/{sass/lesli → scss}/layouts/application-container.scss +0 -0
  170. /data/lib/{sass/lesli → scss}/layouts/application-engines.scss +0 -0
  171. /data/lib/{sass/lesli → scss}/layouts/application-footer.scss +0 -0
  172. /data/lib/{sass/lesli → scss}/layouts/application-navbar.scss +0 -0
  173. /data/lib/{sass/lesli → scss}/layouts/application-search.scss +0 -0
  174. /data/lib/{sass/lesli → scss}/overrides/sweetalert.scss +0 -0
  175. /data/lib/{sass/lesli → scss}/pages/devise-simple.scss +0 -0
  176. /data/lib/{sass/lesli → scss}/pages/invites.scss +0 -0
  177. /data/lib/{sass/lesli → scss}/panels/panel-announcements.scss +0 -0
  178. /data/lib/{sass/lesli → scss}/panels/panel-notification.scss +0 -0
  179. /data/lib/{sass/lesli → scss}/panels/panel-profile.scss +0 -0
  180. /data/lib/{sass/lesli → scss}/panels/panel-tasks.scss +0 -0
  181. /data/lib/{sass/lesli → scss}/panels/panel-ticket.scss +0 -0
  182. /data/lib/{sass/lesli → scss}/shared/workflow-status-progress.scss +0 -0
  183. /data/lib/{sass/lesli → scss}/templates/empty.scss +0 -0
  184. /data/lib/{sass/lesli → scss}/templates/pdf.scss +0 -0
  185. /data/lib/vue/{stores → refactor/stores}/cloudobjects/action.js +0 -0
  186. /data/lib/vue/{stores → refactor/stores}/cloudobjects/discussion.js +0 -0
  187. /data/lib/vue/{stores → refactor/stores}/cloudobjects/file.js +0 -0
  188. /data/lib/vue/{stores → refactor/stores}/entities/announcements.js +0 -0
  189. /data/lib/vue/{stores → refactor/stores}/entities/dashboard.js +0 -0
  190. /data/lib/vue/{stores → refactor/stores}/entities/workflow.js +0 -0
  191. /data/lib/vue/{stores → refactor/stores}/panels/announcements.js +0 -0
  192. /data/lib/vue/{stores → refactor/stores}/panels/notification.js +0 -0
  193. /data/lib/vue/{stores → refactor/stores}/panels/task.js +0 -0
  194. /data/lib/vue/{stores → refactor/stores}/panels/tickets.js +0 -0
  195. /data/lib/vue/{stores → refactor/stores}/role.js +0 -0
  196. /data/lib/vue/{stores → refactor/stores}/users.js +0 -0
  197. /data/lib/vue/{stores → shared}/services/firebase.js +0 -0
  198. /data/lib/vue/{stores → shared}/services/translator.js +0 -0
  199. /data/lib/vue/{stores → shared/stores}/account.js +0 -0
  200. /data/lib/vue/{stores/search.js → shared/stores/command.js} +0 -0
  201. /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 and precompile is needed
82
- config.assets.digest = false
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
@@ -1,4 +1,4 @@
1
1
  module Lesli
2
- VERSION = "5.0.7"
3
- BUILD = "1697000148"
2
+ VERSION = "5.0.9"
3
+ BUILD = "1709501990"
4
4
  end
@@ -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.dev
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
 
@@ -30,4 +30,6 @@ Building a better future, one line of code at a time.
30
30
  // ·
31
31
  */
32
32
 
33
- @import "lesli/pages/devise";
33
+
34
+ // ·
35
+ @import "LesliStyle/pages/devise";
@@ -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.dev
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: font-url("lesli/Domine/Domine-VariableFont_wght.ttf") format("truetype");
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: font-url("lesli/OpenSans/OpenSans-Variable.ttf") format("truetype");
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 development platform.
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
- /* MaterialDesignIcons.com */
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: local('Material Icons'),
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.dev
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: font-url("lesli/Remix/remixicon.ttf") format("truetype"); /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
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 = "transparent" {
34
+ @if $lesli-sidebar-color == "transparent" {
35
35
  $lesli-sidebar-color: $lesli-color-background;
36
36
  }
37
37
 
@@ -32,7 +32,11 @@ Building a better future, one line of code at a time.
32
32
 
33
33
 
34
34
  // ·
35
- @import "lesli/templates/public";
35
+ @import "lesli-css";
36
+
37
+
38
+ // ·
39
+ @import "LesliStyle/templates/public";
36
40
 
37
41
 
38
42
  // ·
@@ -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.dev
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 "lesli/settings/variables";
39
+ @import "Lesli/scss/settings/variables";
40
40
 
41
41
 
42
42
  // · Include Bulma
43
- @import "lesli/bulma/loader";
43
+ @import "lesli-css/bulma";
44
44
 
45
45
 
46
46
  // · Font families and icons
47
- @import "lesli/fonts/mdicons";
48
- @import "lesli/fonts/families";
49
- @import "lesli/fonts/remixicons";
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 "lesli/helpers/display";
54
- @import "lesli/helpers/tooltip";
53
+ @import "Lesli/scss/helpers/display";
54
+ @import "Lesli/scss/helpers/tooltip";
55
55
 
56
56
 
57
57
  // · Lesli application layout
58
- @import "lesli/layouts/application-announcements";
59
- @import "lesli/layouts/application-component";
60
- @import "lesli/layouts/application-container";
61
- @import "lesli/layouts/application-engines";
62
- @import "lesli/layouts/application-sidebar";
63
- @import "lesli/layouts/application-header";
64
- @import "lesli/layouts/application-navbar";
65
- @import "lesli/layouts/application-footer";
66
- @import "lesli/layouts/application-search";
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
- @import "lesli/components/editor-richtext";
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
- @import "lesli/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/elements/form";
108
- @import "lesli/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";
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,
@@ -36,4 +36,4 @@ Building a better future, one line of code at a time.
36
36
 
37
37
 
38
38
  // · Configuration & variables
39
- @import "lesli/settings/variables";
39
+ @import "Lesli/scss/settings/variables";
@@ -36,7 +36,7 @@ Building a better future, one line of code at a time.
36
36
 
37
37
 
38
38
  // · Configuration & variables
39
- @import "lesli/settings/variables";
39
+ @import "Lesli/scss/settings/variables";
40
40
 
41
41
 
42
42
  // ·
@@ -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 development platform.
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 "lesli/settings/variables";
39
+ @import "LesliStyle/settings/variables";
40
40
 
41
41
 
42
42
  // · Include Bulma
43
- @import "lesli/bulma/loader";
43
+ @import "LesliStyle/bulma/loader";
44
44
 
45
45
 
46
46
  // · Font families and icons
47
- @import "lesli/fonts/remixicons";
48
- @import "lesli/fonts/families";
47
+ @import "LesliStyle/fonts/remixicons";
48
+ @import "LesliStyle/fonts/families";
49
49
 
50
50
 
51
51
  // ·
@@ -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, build, migrate & seed Lesli database (development only)"
37
+ desc "Drop, create, migrate, seed & prepare the Lesli database (development only)"
38
38
  task :reset => :environment do |task, args|
39
- reset()
40
- start()
39
+ drop()
40
+ create()
41
+ migrate()
41
42
  seed()
42
- setup()
43
+ prepare()
43
44
  end
44
45
 
45
- desc "Build, migrate & seed Lesli database"
46
- task :start => :environment do |task, args|
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 "Build, migrate & seed Lesli database"
53
- task :seed => :environment do |task, args|
51
+ desc "Migrate, seed & prepare the Lesli database (development only)"
52
+ task :dev => :environment do |task, args|
53
+ migrate()
54
54
  seed()
55
- setup()
55
+ prepare()
56
56
  end
57
57
 
58
- desc "Build, migrate & seed Lesli database"
58
+ desc "Migrate & prepare the Lesli database"
59
59
  task :setup => :environment do |task, args|
60
- setup()
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, build, migrate & seed database (development only)
65
- def reset
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("Reset Lesli database for development")
77
+ L2.m("Drop the Lesli database (development only)")
72
78
 
73
79
  Rake::Task['db:drop'].invoke
74
80
  end
75
81
 
76
- # Build, migrate & seed database (development only)
77
- def start
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("Start Lesli database for development")
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
- # Seed database (development only)
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 for development")
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
- def setup
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("Start Lesli database for development")
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
@@ -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 debug from "lesli-js/debug/browser"
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
 
@@ -31,7 +31,7 @@ Building a better future, one line of code at a time.
31
31
 
32
32
 
33
33
  // ·
34
- import application from "Lesli/public"
34
+ import application from "LesliVue/public"
35
35
 
36
36
 
37
37
  // ·
@@ -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
 
@@ -37,7 +37,7 @@ import { ref, reactive, onMounted, inject } from "vue"
37
37
 
38
38
 
39
39
  // · import stores
40
- import { useLayout } from "Lesli/stores/layout"
40
+ import { useLayout } from "Lesli/vue/shared/stores/layout"
41
41
 
42
42
 
43
43
  // ·