lesli 5.1.12 → 5.1.13

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 (54) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +3 -0
  3. data/app/assets/stylesheets/lesli/application.css +43 -3
  4. data/app/controllers/lesli/application_devise_controller.rb +9 -5
  5. data/app/controllers/lesli/application_lesli_controller.rb +4 -0
  6. data/app/controllers/lesli/items/attachments_controller.rb +200 -0
  7. data/app/controllers/lesli/items/discussions_controller.rb +94 -67
  8. data/app/controllers/lesli/items/tasks_controller.rb +132 -62
  9. data/app/helpers/lesli/turbo_helper.rb +0 -18
  10. data/app/interfaces/lesli/responder_interface.rb +58 -38
  11. data/app/mailers/lesli/application_lesli_mailer.rb +34 -8
  12. data/app/models/concerns/lesli/account_initializer.rb +11 -3
  13. data/app/models/concerns/lesli/account_logs.rb +5 -16
  14. data/app/models/concerns/lesli/items/activities.rb +29 -33
  15. data/app/models/concerns/lesli/items/attachments.rb +88 -0
  16. data/app/models/concerns/lesli/items/discussions.rb +25 -11
  17. data/app/models/concerns/lesli/items/ownership.rb +27 -0
  18. data/app/models/concerns/lesli/items/tasks.rb +26 -6
  19. data/app/models/concerns/lesli/user_extensions.rb +5 -9
  20. data/app/models/lesli/account.rb +10 -14
  21. data/app/models/lesli/items/activity.rb +25 -2
  22. data/app/models/lesli/items/attachment.rb +117 -0
  23. data/app/models/lesli/items/discussion.rb +6 -2
  24. data/app/models/lesli/items/task.rb +3 -1
  25. data/app/models/lesli/user.rb +12 -21
  26. data/app/views/lesli/abouts/welcome.html.erb +2 -5
  27. data/app/views/lesli/errors/not_found.html.erb +7 -21
  28. data/app/views/lesli/errors/unauthorized.html.erb +11 -27
  29. data/app/views/lesli/layouts/application-devise.html.erb +10 -9
  30. data/app/views/lesli/layouts/application-lesli.html.erb +1 -1
  31. data/app/views/lesli/partials/_application-lesli-assets.html.erb +3 -3
  32. data/app/views/lesli/partials/_application-lesli-header.html.erb +5 -9
  33. data/config/initializers/lesli.rb +4 -1
  34. data/config/locales/translations.en.yml +34 -0
  35. data/config/locales/translations.es.yml +34 -0
  36. data/db/seed/accounts.rb +5 -5
  37. data/db/seed/users.rb +8 -16
  38. data/db/seed/xyz.rb +38 -17
  39. data/lib/lesli/engine.rb +0 -4
  40. data/lib/lesli/router.rb +5 -2
  41. data/lib/lesli/version.rb +2 -2
  42. data/lib/migrate/items/activity_structure.rb +8 -8
  43. data/lib/migrate/items/attachment_structure.rb +9 -14
  44. data/lib/migrate/items/discussion_structure.rb +5 -5
  45. data/lib/migrate/items/task_structure.rb +2 -3
  46. data/lib/migrate/shared/account_structure.rb +1 -1
  47. data/lib/tasks/lesli_tasks.rake +2 -3
  48. data/readme.md +3 -3
  49. data/test/fixtures/lesli_accounts.yml +18 -0
  50. data/test/fixtures/lesli_users.yml +23 -0
  51. metadata +17 -25
  52. data/app/assets/stylesheets/lesli/application.tailwind.css +0 -33
  53. data/config/brakeman.yml +0 -44
  54. data/config/initializers/devise.rb +0 -27
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.12
4
+ version: 5.1.13
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: rails
@@ -15,28 +16,28 @@ dependencies:
15
16
  requirements:
16
17
  - - "~>"
17
18
  - !ruby/object:Gem::Version
18
- version: '8.1'
19
+ version: 8.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: '8.1'
26
+ version: 8.1.0
26
27
  - !ruby/object:Gem::Dependency
27
28
  name: rails-i18n
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - "~>"
31
32
  - !ruby/object:Gem::Version
32
- version: '8.1'
33
+ version: 8.1.0
33
34
  type: :runtime
34
35
  prerelease: false
35
36
  version_requirements: !ruby/object:Gem::Requirement
36
37
  requirements:
37
38
  - - "~>"
38
39
  - !ruby/object:Gem::Version
39
- version: '8.1'
40
+ version: 8.1.0
40
41
  - !ruby/object:Gem::Dependency
41
42
  name: turbo-rails
42
43
  requirement: !ruby/object:Gem::Requirement
@@ -79,20 +80,6 @@ dependencies:
79
80
  - - "~>"
80
81
  - !ruby/object:Gem::Version
81
82
  version: 1.2.2
82
- - !ruby/object:Gem::Dependency
83
- name: devise
84
- requirement: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: 5.0.0
89
- type: :runtime
90
- prerelease: false
91
- version_requirements: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: 5.0.0
96
83
  - !ruby/object:Gem::Dependency
97
84
  name: lesli_date
98
85
  requirement: !ruby/object:Gem::Requirement
@@ -175,13 +162,13 @@ files:
175
162
  - Rakefile
176
163
  - app/assets/images/lesli/lesli-logo.svg
177
164
  - app/assets/stylesheets/lesli/application.css
178
- - app/assets/stylesheets/lesli/application.tailwind.css
179
165
  - app/controllers/lesli/abouts_controller.rb
180
166
  - app/controllers/lesli/application_controller.rb
181
167
  - app/controllers/lesli/application_devise_controller.rb
182
168
  - app/controllers/lesli/application_lesli_controller.rb
183
169
  - app/controllers/lesli/apps_controller.rb
184
170
  - app/controllers/lesli/items/activities_controller.rb
171
+ - app/controllers/lesli/items/attachments_controller.rb
185
172
  - app/controllers/lesli/items/discussions_controller.rb
186
173
  - app/controllers/lesli/items/tasks_controller.rb
187
174
  - app/controllers/lesli/resources_controller.rb
@@ -202,13 +189,16 @@ files:
202
189
  - app/models/concerns/lesli/account_initializer.rb
203
190
  - app/models/concerns/lesli/account_logs.rb
204
191
  - app/models/concerns/lesli/items/activities.rb
192
+ - app/models/concerns/lesli/items/attachments.rb
205
193
  - app/models/concerns/lesli/items/discussions.rb
194
+ - app/models/concerns/lesli/items/ownership.rb
206
195
  - app/models/concerns/lesli/items/tasks.rb
207
196
  - app/models/concerns/lesli/user_extensions.rb
208
197
  - app/models/lesli/account.rb
209
198
  - app/models/lesli/application_lesli_record.rb
210
199
  - app/models/lesli/application_record.rb
211
200
  - app/models/lesli/items/activity.rb
201
+ - app/models/lesli/items/attachment.rb
212
202
  - app/models/lesli/items/discussion.rb
213
203
  - app/models/lesli/items/task.rb
214
204
  - app/models/lesli/resource.rb
@@ -243,8 +233,6 @@ files:
243
233
  - app/views/lesli/partials/turbo/_redirection.html.erb
244
234
  - app/views/lesli/shared/dashboards/edit.html.erb
245
235
  - app/views/lesli/shared/dashboards/show.html.erb
246
- - config/brakeman.yml
247
- - config/initializers/devise.rb
248
236
  - config/initializers/lesli.rb
249
237
  - config/initializers/lesli_migration_helpers.rb
250
238
  - config/locales/devise.en.yml
@@ -297,6 +285,8 @@ files:
297
285
  - lib/tasks/lesli_tasks.rake
298
286
  - license
299
287
  - readme.md
288
+ - test/fixtures/lesli_accounts.yml
289
+ - test/fixtures/lesli_users.yml
300
290
  homepage: https://www.lesli.dev/
301
291
  licenses:
302
292
  - GPL-3.0-or-later
@@ -306,6 +296,7 @@ metadata:
306
296
  source_code_uri: https://github.com/LesliTech/Lesli
307
297
  bug_tracker_uri: https://github.com/LesliTech/Lesli/issues
308
298
  documentation_uri: https://www.lesli.dev/lesli/
299
+ rubygems_mfa_required: 'true'
309
300
  post_install_message: "\nWelcome to Lesli! \U0001F499 \nDocumentation: https://www.lesli.dev/\n\n"
310
301
  rdoc_options: []
311
302
  require_paths:
@@ -314,7 +305,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
314
305
  requirements:
315
306
  - - ">="
316
307
  - !ruby/object:Gem::Version
317
- version: '3.0'
308
+ version: '3.3'
318
309
  - - "<"
319
310
  - !ruby/object:Gem::Version
320
311
  version: '4.0'
@@ -324,7 +315,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
324
315
  - !ruby/object:Gem::Version
325
316
  version: '0'
326
317
  requirements: []
327
- rubygems_version: 3.7.1
318
+ rubygems_version: 3.5.16
319
+ signing_key:
328
320
  specification_version: 4
329
321
  summary: A modular framework for building business software with Ruby on Rails.
330
322
  test_files: []
@@ -1,33 +0,0 @@
1
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
- /*!
3
-
4
- Lesli
5
-
6
- Copyright (c) 2026, Lesli Technologies, S. A.
7
-
8
- This program is free software: you can redistribute it and/or modify
9
- it under the terms of the GNU General Public License as published by
10
- the Free Software Foundation, either version 3 of the License, or
11
- (at your option) any later version.
12
-
13
- This program is distributed in the hope that it will be useful,
14
- but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- GNU General Public License for more details.
17
-
18
- You should have received a copy of the GNU General Public License
19
- along with this program. If not, see http://www.gnu.org/licenses/.
20
-
21
- Lesli · Ruby on Rails SaaS Development Framework.
22
-
23
- Made with ♥ by LesliTech
24
- Building a better future, one line of code at a time.
25
-
26
- @contact hello@lesli.tech
27
- @website https://www.lesli.tech
28
- @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
29
-
30
- // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
31
- // ·
32
- */
33
- @layer theme{:root,:host{--spacing:.25rem}}@layer utilities{.grid{display:grid}.hidden{display:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gap-5{gap:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}@media (min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:gap-6{gap:calc(var(--spacing) * 6)}.sm\:py-8{padding-block:calc(var(--spacing) * 8)}}@media (min-width:64rem){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}}
data/config/brakeman.yml DELETED
@@ -1,44 +0,0 @@
1
-
2
- # Brakeman Configuration File
3
- # Documentation: https://brakemanscanner.org/docs/options/
4
-
5
- # Files and Directories to Skip
6
- skip_files:
7
-
8
- # Warnings to Ignore (List Warning Codes)
9
- ignore_warnings:
10
- # - "SQLi" # Example: Ignore false-positive SQL injection warnings
11
- # - "WeakHash" # Ignore warnings about weak hashing if you're using MD5 intentionally
12
-
13
- # Additional Checks
14
- checks_to_run:
15
- - "DefaultRoutes"
16
- - "MassAssignment"
17
- - "CrossSiteScripting"
18
- - "SQLInjection"
19
- - "FileAccess"
20
- - "UnmaintainedDependency"
21
-
22
- # Confidence Levels to Report
23
- min_confidence: 2 # 0 (all warnings), 1 (medium), 2 (high)
24
-
25
- # Output Format
26
- output_formats:
27
- - "html"
28
- - "json"
29
- - "plain"
30
-
31
- # Output Files
32
- output_files:
33
- - "brakeman/brakeman_report.html"
34
- - "brakeman/brakeman_report.json"
35
-
36
- # Optional Settings
37
- run_all_checks: true # Run all checks even if specific ones are set
38
- report_routes: true # Include unused routes in the report
39
- exit_on_warn: true # Exit with a non-zero code if warnings are found
40
-
41
- # Skipping Specific Models or Files (Advanced)
42
- skip_files_containing:
43
- - "DO NOT SCAN" # Add comment markers in files you want skipped
44
- - "IGNORE ME"
@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
- require 'devise/orm/active_record'
3
-
4
- Devise.setup do |config|
5
-
6
- # config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com'
7
-
8
- # config.case_insensitive_keys = [:email]
9
-
10
- # config.strip_whitespace_keys = [:email]
11
-
12
- # config.skip_session_storage = [:http_auth]
13
-
14
- # config.stretches = Rails.env.test? ? 1 : 12
15
-
16
- # config.reconfirmable = true
17
-
18
- # config.expire_all_remember_me_on_sign_out = true
19
-
20
- # config.password_length = 6..128
21
-
22
- # config.email_regexp = /\A[^@\s]+@[^@\s]+\z/
23
-
24
- # config.reset_password_within = 6.hours
25
-
26
- # config.sign_out_via = :delete
27
- end