lesli_admin 1.0.2 → 1.1.2

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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +6 -1
  3. data/app/assets/stylesheets/lesli_admin/application.css +648 -584
  4. data/app/controllers/lesli_admin/account/currencies_controller.rb +2 -2
  5. data/app/controllers/lesli_admin/account/details_controller.rb +13 -6
  6. data/app/controllers/lesli_admin/account/locations_controller.rb +10 -6
  7. data/app/controllers/lesli_admin/account/settings_controller.rb +2 -2
  8. data/app/controllers/lesli_admin/accounts_controller.rb +41 -27
  9. data/app/controllers/lesli_admin/dashboards_controller.rb +21 -0
  10. data/app/models/lesli_admin/account/currency.rb +4 -2
  11. data/app/models/lesli_admin/account/detail.rb +3 -0
  12. data/app/models/lesli_admin/account/location.rb +12 -2
  13. data/app/models/lesli_admin/account/setting.rb +4 -2
  14. data/app/models/lesli_admin/account.rb +18 -1
  15. data/app/models/lesli_admin/dashboard.rb +8 -1
  16. data/app/services/lesli_admin/account_service.rb +43 -16
  17. data/app/views/lesli_admin/accounts/show.html.erb +104 -7
  18. data/app/views/lesli_admin/dashboards/_component-account-metadata.html.erb +44 -0
  19. data/app/views/lesli_admin/dashboards/_component-installed-engines.html.erb +1 -8
  20. data/app/views/lesli_admin/dashboards/_component-roles.html.erb +1 -0
  21. data/app/views/lesli_admin/dashboards/_component-users.html.erb +1 -0
  22. data/app/views/lesli_admin/settings/_configuration_value.html.erb +52 -0
  23. data/app/views/lesli_admin/settings/_defaults.html.erb +153 -56
  24. data/app/views/lesli_admin/settings/_modules.html.erb +28 -32
  25. data/db/migrate/v1/0101000210_create_lesli_admin_account_details.rb +7 -1
  26. data/db/migrate/v1/0101000410_create_lesli_admin_account_locations.rb +6 -1
  27. data/db/seeds.rb +1 -1
  28. data/lib/lesli_admin/engine.rb +0 -4
  29. data/lib/lesli_admin/version.rb +2 -2
  30. data/readme.md +123 -49
  31. metadata +12 -7
  32. data/app/assets/config/lesli_admin_manifest.js +0 -38
  33. data/lib/scss/application.scss +0 -4
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Lesli Development Team
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-10-23 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: lesli
@@ -15,14 +16,14 @@ dependencies:
15
16
  requirements:
16
17
  - - "~>"
17
18
  - !ruby/object:Gem::Version
18
- version: '5.0'
19
+ version: 5.1.0
19
20
  type: :runtime
20
21
  prerelease: false
21
22
  version_requirements: !ruby/object:Gem::Requirement
22
23
  requirements:
23
24
  - - "~>"
24
25
  - !ruby/object:Gem::Version
25
- version: '5.0'
26
+ version: 5.1.0
26
27
  description: Administration area for the Lesli Framework
27
28
  email:
28
29
  - hello@lesli.tech
@@ -31,7 +32,6 @@ extensions: []
31
32
  extra_rdoc_files: []
32
33
  files:
33
34
  - Rakefile
34
- - app/assets/config/lesli_admin_manifest.js
35
35
  - app/assets/images/lesli_admin/admin-logo.svg
36
36
  - app/assets/javascripts/lesli_admin/application.js
37
37
  - app/assets/stylesheets/lesli_admin/application.css
@@ -86,12 +86,16 @@ files:
86
86
  - app/views/lesli_admin/account/settings/new.html.erb
87
87
  - app/views/lesli_admin/account/settings/show.html.erb
88
88
  - app/views/lesli_admin/accounts/show.html.erb
89
+ - app/views/lesli_admin/dashboards/_component-account-metadata.html.erb
89
90
  - app/views/lesli_admin/dashboards/_component-installed-engines.html.erb
91
+ - app/views/lesli_admin/dashboards/_component-roles.html.erb
92
+ - app/views/lesli_admin/dashboards/_component-users.html.erb
90
93
  - app/views/lesli_admin/dashboards/edit.html.erb
91
94
  - app/views/lesli_admin/dashboards/index.html.erb
92
95
  - app/views/lesli_admin/dashboards/new.html.erb
93
96
  - app/views/lesli_admin/dashboards/show.html.erb
94
97
  - app/views/lesli_admin/partials/_navigation.html.erb
98
+ - app/views/lesli_admin/settings/_configuration_value.html.erb
95
99
  - app/views/lesli_admin/settings/_defaults.html.erb
96
100
  - app/views/lesli_admin/settings/_form.html.erb
97
101
  - app/views/lesli_admin/settings/_modules.html.erb
@@ -121,7 +125,6 @@ files:
121
125
  - lib/lesli_admin.rb
122
126
  - lib/lesli_admin/engine.rb
123
127
  - lib/lesli_admin/version.rb
124
- - lib/scss/application.scss
125
128
  - lib/tasks/lesli_admin_tasks.rake
126
129
  - license
127
130
  - readme.md
@@ -134,6 +137,7 @@ metadata:
134
137
  source_code_uri: https://github.com/LesliTech/LesliAdmin
135
138
  bug_tracker_uri: https://github.com/LesliTech/LesliAdmin/issues
136
139
  documentation_uri: https://www.lesli.dev/engines/admin
140
+ post_install_message:
137
141
  rdoc_options: []
138
142
  require_paths:
139
143
  - lib
@@ -148,7 +152,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
152
  - !ruby/object:Gem::Version
149
153
  version: '0'
150
154
  requirements: []
151
- rubygems_version: 3.7.1
155
+ rubygems_version: 3.5.16
156
+ signing_key:
152
157
  specification_version: 4
153
158
  summary: Administration area for the Lesli Framework
154
159
  test_files: []
@@ -1,38 +0,0 @@
1
- /*
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 platform.
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
- */
32
-
33
- //= link_tree ../images/lesli_admin .png
34
- //= link_tree ../images/lesli_admin .jpg
35
- //= link_tree ../images/lesli_admin .svg
36
-
37
- //= link lesli_admin/application.css
38
- //= link lesli_admin/application.js
@@ -1,4 +0,0 @@
1
-
2
- .lesli.dashboards {
3
- @import "Lesli/scss/templates/dashboards";
4
- }