lesli_support 0.1.0 → 1.1.0

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 (135) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/lesli_support/support-logo.svg +1 -9
  3. data/app/assets/javascripts/lesli_support/application.js +1 -4998
  4. data/app/assets/stylesheets/lesli_support/application.css +3 -3
  5. data/app/controllers/lesli_support/catalog/items_controller.rb +60 -0
  6. data/app/controllers/lesli_support/item/discussions_controller.rb +6 -0
  7. data/app/controllers/lesli_support/item/tasks_controller.rb +6 -0
  8. data/app/controllers/lesli_support/ticket/activities_controller.rb +60 -0
  9. data/app/controllers/lesli_support/ticket/discussions_controller.rb +1 -2
  10. data/app/controllers/lesli_support/tickets_controller.rb +37 -56
  11. data/app/helpers/lesli_support/{options_helper.rb → catalog/items_helper.rb} +1 -1
  12. data/app/helpers/lesli_support/ticket/activities_helper.rb +4 -0
  13. data/app/models/lesli_support/account.rb +5 -8
  14. data/app/models/lesli_support/catalog/item.rb +4 -0
  15. data/app/models/lesli_support/catalog.rb +3 -12
  16. data/app/models/lesli_support/dashboard.rb +6 -10
  17. data/app/models/lesli_support/item/activity.rb +4 -0
  18. data/app/models/lesli_support/item/discussion.rb +6 -0
  19. data/app/models/lesli_support/item/task.rb +6 -0
  20. data/app/models/lesli_support/ticket/activity.rb +4 -0
  21. data/app/models/lesli_support/ticket/discussion.rb +3 -4
  22. data/app/models/lesli_support/ticket.rb +66 -7
  23. data/app/services/lesli_support/ticket_service.rb +37 -55
  24. data/app/views/lesli_support/catalog/items/_form.html.erb +17 -0
  25. data/app/views/lesli_support/catalog/items/_item.html.erb +2 -0
  26. data/app/views/lesli_support/catalog/items/edit.html.erb +12 -0
  27. data/app/views/lesli_support/catalog/items/index.html.erb +16 -0
  28. data/app/views/lesli_support/catalog/items/new.html.erb +11 -0
  29. data/app/views/lesli_support/catalog/items/show.html.erb +10 -0
  30. data/app/views/lesli_support/dashboards/_component-latest-tickets.html.erb +34 -0
  31. data/app/views/lesli_support/dashboards/_component-tickets-by-category.html.erb +17 -0
  32. data/app/views/lesli_support/dashboards/_component-tickets-created.html.erb +10 -0
  33. data/app/views/lesli_support/dashboards/_component-tickets-open.html.erb +5 -0
  34. data/app/views/lesli_support/tickets/_form.html.erb +27 -0
  35. data/app/views/lesli_support/tickets/index.html.erb +35 -4
  36. data/app/views/lesli_support/tickets/new.html.erb +31 -14
  37. data/app/views/lesli_support/tickets/show.html.erb +30 -15
  38. data/config/locales/translations.en.yml +1 -42
  39. data/config/locales/translations.es.yml +1 -42
  40. data/config/locales/translations.fr.yml +1 -42
  41. data/config/locales/translations.it.yml +1 -42
  42. data/config/locales/translations.pt.yml +1 -42
  43. data/config/routes.rb +5 -25
  44. data/db/migrate/v1/0702000110_create_lesli_support_accounts.rb +10 -8
  45. data/db/migrate/v1/0702002010_create_lesli_support_catalogs.rb +37 -0
  46. data/db/migrate/v1/0702100110_create_lesli_support_slas.rb +2 -6
  47. data/db/migrate/v1/0702110110_create_lesli_support_tickets.rb +18 -49
  48. data/db/seed/development.rb +43 -22
  49. data/db/seed/production.rb +7 -2
  50. data/db/seed/seeds.json +64 -0
  51. data/db/seed/test.rb +2 -2
  52. data/db/seeds.rb +6 -13
  53. data/db/{migrate/v1/0702000210_create_lesli_support_account_settings.rb → tables/0010009010_create_feedbacks.rb} +21 -11
  54. data/db/{migrate/v1 → tables}/0702010110_create_lesli_support_catalog_workspaces.rb +7 -7
  55. data/db/{migrate/v1 → tables}/0702010210_create_lesli_support_catalog_types.rb +6 -6
  56. data/db/{migrate/v1 → tables}/0702010310_create_lesli_support_catalog_categories.rb +7 -7
  57. data/db/{migrate/v1 → tables}/0702010410_create_lesli_support_catalog_priorities.rb +7 -7
  58. data/lib/lesli_support/version.rb +2 -2
  59. data/readme.md +77 -25
  60. metadata +37 -91
  61. data/app/controllers/lesli_support/catalog_categories_controller.rb +0 -60
  62. data/app/controllers/lesli_support/catalog_priorities_controller.rb +0 -60
  63. data/app/controllers/lesli_support/catalog_types_controller.rb +0 -60
  64. data/app/controllers/lesli_support/catalog_workspaces_controller.rb +0 -60
  65. data/app/controllers/lesli_support/dashboard/components_controller.rb +0 -92
  66. data/app/controllers/lesli_support/options_controller.rb +0 -23
  67. data/app/helpers/lesli_support/catalog_categories_helper.rb +0 -4
  68. data/app/helpers/lesli_support/catalog_priorities_helper.rb +0 -4
  69. data/app/helpers/lesli_support/catalog_types_helper.rb +0 -4
  70. data/app/helpers/lesli_support/catalog_workspaces_helper.rb +0 -4
  71. data/app/models/lesli_support/catalog_category.rb +0 -5
  72. data/app/models/lesli_support/catalog_priority.rb +0 -5
  73. data/app/models/lesli_support/catalog_type.rb +0 -5
  74. data/app/models/lesli_support/catalog_workspace.rb +0 -5
  75. data/app/models/lesli_support/dashboard/component.rb +0 -18
  76. data/app/models/lesli_support/option.rb +0 -4
  77. data/app/views/layouts/lesli_support/application.html.erb +0 -15
  78. data/app/views/lesli_support/catalog_categories/_catalog_category.html.erb +0 -2
  79. data/app/views/lesli_support/catalog_categories/_form.html.erb +0 -17
  80. data/app/views/lesli_support/catalog_categories/edit.html.erb +0 -10
  81. data/app/views/lesli_support/catalog_categories/index.html.erb +0 -14
  82. data/app/views/lesli_support/catalog_categories/new.html.erb +0 -9
  83. data/app/views/lesli_support/catalog_categories/show.html.erb +0 -10
  84. data/app/views/lesli_support/catalog_priorities/_catalog_priority.html.erb +0 -2
  85. data/app/views/lesli_support/catalog_priorities/_form.html.erb +0 -17
  86. data/app/views/lesli_support/catalog_priorities/edit.html.erb +0 -10
  87. data/app/views/lesli_support/catalog_priorities/index.html.erb +0 -14
  88. data/app/views/lesli_support/catalog_priorities/new.html.erb +0 -9
  89. data/app/views/lesli_support/catalog_priorities/show.html.erb +0 -10
  90. data/app/views/lesli_support/catalog_types/_catalog_type.html.erb +0 -2
  91. data/app/views/lesli_support/catalog_types/_form.html.erb +0 -17
  92. data/app/views/lesli_support/catalog_types/edit.html.erb +0 -10
  93. data/app/views/lesli_support/catalog_types/index.html.erb +0 -14
  94. data/app/views/lesli_support/catalog_types/new.html.erb +0 -9
  95. data/app/views/lesli_support/catalog_types/show.html.erb +0 -10
  96. data/app/views/lesli_support/catalog_workspaces/_catalog_workspace.html.erb +0 -2
  97. data/app/views/lesli_support/catalog_workspaces/_form.html.erb +0 -17
  98. data/app/views/lesli_support/catalog_workspaces/edit.html.erb +0 -10
  99. data/app/views/lesli_support/catalog_workspaces/index.html.erb +0 -14
  100. data/app/views/lesli_support/catalog_workspaces/new.html.erb +0 -9
  101. data/app/views/lesli_support/catalog_workspaces/show.html.erb +0 -10
  102. data/app/views/lesli_support/dashboards/edit.html.erb +0 -1
  103. data/app/views/lesli_support/dashboards/index.html.erb +0 -1
  104. data/app/views/lesli_support/dashboards/new.html.erb +0 -1
  105. data/app/views/lesli_support/dashboards/show.html.erb +0 -1
  106. data/app/views/lesli_support/options/_form.html.erb +0 -17
  107. data/app/views/lesli_support/options/_option.html.erb +0 -2
  108. data/app/views/lesli_support/options/edit.html.erb +0 -10
  109. data/app/views/lesli_support/options/index.html.erb +0 -14
  110. data/app/views/lesli_support/options/new.html.erb +0 -9
  111. data/app/views/lesli_support/options/show.html.erb +0 -10
  112. data/app/views/lesli_support/ticket/discussions/_discussion.html.erb +0 -2
  113. data/app/views/lesli_support/ticket/discussions/_form.html.erb +0 -17
  114. data/app/views/lesli_support/ticket/discussions/edit.html.erb +0 -10
  115. data/app/views/lesli_support/ticket/discussions/index.html.erb +0 -14
  116. data/app/views/lesli_support/ticket/discussions/new.html.erb +0 -9
  117. data/app/views/lesli_support/ticket/discussions/show.html.erb +0 -10
  118. data/app/views/lesli_support/tickets/edit.html.erb +0 -20
  119. data/db/migrate/v1/0702050110_create_lesli_support_dashboards.rb +0 -50
  120. data/db/migrate/v1/0702050210_create_lesli_support_dashboard_components.rb +0 -50
  121. data/db/migrate/v1/0702110510_create_lesli_support_ticket_discussions.rb +0 -52
  122. data/lib/scss/application.scss +0 -11
  123. data/lib/vue/application.js +0 -93
  124. data/lib/vue/apps/dashboard/components/engine-version.vue +0 -71
  125. data/lib/vue/apps/dashboard/components/my-tasks.vue +0 -77
  126. data/lib/vue/apps/tickets/components/assignments.vue +0 -93
  127. data/lib/vue/apps/tickets/components/form.vue +0 -305
  128. data/lib/vue/apps/tickets/components/internal-comments.vue +0 -107
  129. data/lib/vue/apps/tickets/components/sla-info.vue +0 -115
  130. data/lib/vue/apps/tickets/index.vue +0 -145
  131. data/lib/vue/apps/tickets/new.vue +0 -78
  132. data/lib/vue/apps/tickets/show.vue +0 -183
  133. data/lib/vue/stores/tickets.js +0 -276
  134. data/lib/vue/stores/translations.json +0 -272
  135. /data/app/views/lesli_support/partials/{_engine-navigation.html.erb → _navigation.html.erb} +0 -0
@@ -32,12 +32,12 @@ Building a better future, one line of code at a time.
32
32
 
33
33
  class CreateLesliSupportCatalogPriorities < ActiveRecord::Migration[6.0]
34
34
  def change
35
- create_table :lesli_support_catalog_priorities do |t|
36
- t.string :name
37
- t.integer :weight
38
- t.datetime :deleted_at, index: true
39
- t.timestamps
40
- end
41
- add_reference(:lesli_support_catalog_priorities, :account, foreign_key: { to_table: :lesli_support_accounts })
35
+ # create_table :lesli_support_catalog_priorities do |t|
36
+ # t.string :name
37
+ # t.integer :weight
38
+ # t.datetime :deleted_at, index: true
39
+ # t.timestamps
40
+ # end
41
+ # add_reference(:lesli_support_catalog_priorities, :account, foreign_key: { to_table: :lesli_support_accounts })
42
42
  end
43
43
  end
@@ -1,4 +1,4 @@
1
1
  module LesliSupport
2
- VERSION = "0.1.0"
3
- BUILD = "1713121383"
2
+ VERSION = "1.1.0"
3
+ BUILD = "1774678451"
4
4
  end
data/readme.md CHANGED
@@ -1,53 +1,99 @@
1
- <p align="center">
2
- <img width="75" alt="LesliSupport logo" src="./app/assets/images/lesli_support/support-logo.svg" />
3
- <h3 align="center">Support Ticket System for the Lesli Framework</h3>
4
- </p>
1
+ <div align="center">
2
+ <img width="100" alt="LesliSupport logo" src="./app/assets/images/lesli_support/support-logo.svg" />
3
+ <h3 align="center">Support Ticket System for the Lesli Framework.</h3>
4
+ </div>
5
5
 
6
+ <br />
6
7
  <hr/>
7
- <p align="center">
8
- <a target="blank" href="https://rubygems.org/gems/lesli_support">
9
- <img height="22" alt="Gem Version" src="https://badge.fury.io/rb/lesli_support.svg" />
8
+
9
+ <div align="center">
10
+ <a target="_blank" href="https://github.com/LesliTech/LesliSupport/actions">
11
+ <img alt="Tests passing" src="https://img.shields.io/badge/Tests-passing-green?style=for-the-badge&logo=github">
12
+ </a>
13
+ <a target="_blank" href="https://rubygems.org/gems/lesli_support">
14
+ <img alt="Gem Version" src="https://img.shields.io/gem/v/lesli_support?style=for-the-badge&logo=ruby">
10
15
  </a>
11
- </p>
16
+ <a target="_blank" href="https://codecov.io/github/LesliTech/LesliSupport">
17
+ <img alt="Codecov" src="https://img.shields.io/codecov/c/github/LesliTech/LesliSupport?style=for-the-badge&logo=codecov">
18
+ </a>
19
+ </div>
20
+
12
21
  <hr/>
22
+ <br />
23
+
24
+ <div align="center">
25
+ <img
26
+ style="width:100%;max-width:800px;border-radius:6px;"
27
+ alt="Lesli screenshot" src="./docs/images/screenshot.png" />
28
+ </div>
13
29
 
30
+ <br />
31
+ <hr/>
32
+ <br />
14
33
 
15
- ### Quick start
34
+ ### Installation
16
35
 
17
36
  ```shell
18
- # Add LesliSupport engine
37
+ # Add LesliSupport engine gem
19
38
  bundle add lesli_support
20
- ```
21
39
 
22
- ```shell
23
- # Setup database
40
+ # Setup & initialize the database
24
41
  rake lesli:db:setup
25
42
  ```
26
43
 
27
44
  ```ruby
28
- # Load LesliSupport
45
+ # Load LesliSupport engine
29
46
  Rails.application.routes.draw do
30
- mount LesliSupport::Engine => "/help"
47
+ mount LesliSupport::Engine => "/support"
31
48
  end
32
49
  ```
33
50
 
51
+ <br />
52
+ <hr/>
53
+ <br />
54
+
55
+ ### Development
56
+
57
+ ```shell
58
+ # clone the lesli repo inside your engine folder: RailsApp/engines
59
+ git clone https://github.com/LesliTech/LesliSupport.git
60
+
61
+ # Load LesliSupport as a Gem
62
+ gem "lesli", path: "engines/LesliSupport"
63
+
64
+ # Install the necessary Gems to run LesliSupport
65
+ bundle install
66
+
67
+ # Setup & initialize the database
68
+ rake lesli:db:setup
69
+
70
+ ```
71
+
72
+ <br />
73
+ <hr/>
74
+ <br />
75
+
76
+ ### Demo
77
+
78
+ * [online demo](https://demo.lesli.dev/)
79
+ * [docker demo](https://github.com/LesliTech/lesli-docker-demo)
80
+
34
81
 
35
82
  ### Documentation
36
- * [website](https://www.lesli.dev/support/)
37
- * [database](./docs/database.md)
38
- * [documentation](https://www.lesli.dev/documentation/)
83
+ * [website](https://www.lesli.dev/)
84
+ * [documentation](https://www.lesli.dev/engines/support)
39
85
 
40
86
 
41
- ### Get in touch with Lesli
87
+ ### Connect with Lesli
42
88
 
43
- * [Website: https://www.lesli.tech](https://www.lesli.tech)
89
+ * [X: @LesliTech](https://x.com/LesliTech)
44
90
  * [Email: hello@lesli.tech](hello@lesli.tech)
45
- * [Twitter: @LesliTech](https://twitter.com/LesliTech)
91
+ * [Website: https://www.lesli.tech](https://www.lesli.tech)
46
92
 
47
93
 
48
94
  ### License
49
95
  -------
50
- Copyright (c) 2023, Lesli Technologies, S. A.
96
+ Copyright (c) 2026, Lesli Technologies, S. A.
51
97
 
52
98
  This program is free software: you can redistribute it and/or modify
53
99
  it under the terms of the GNU General Public License as published by
@@ -62,11 +108,17 @@ GNU General Public License for more details.
62
108
  You should have received a copy of the GNU General Public License
63
109
  along with this program. If not, see http://www.gnu.org/licenses/.
64
110
 
111
+ <br />
65
112
  <hr />
66
113
  <br />
114
+ <br />
67
115
 
68
- <p align="center">
116
+ <div align="center" class="has-text-centered">
69
117
  <img width="200" alt="Lesli logo" src="https://cdn.lesli.tech/lesli/brand/app-logo.svg" />
70
- <h4 align="center">Ruby on Rails SaaS Development Framework.</h4>
71
- </p>
118
+ <h3 align="center" class="mt-0">
119
+ The Open-Source SaaS Development Framework for Ruby on Rails.
120
+ </h3>
121
+ </div>
72
122
 
123
+ <br />
124
+ <br />
metadata CHANGED
@@ -1,29 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Lesli Development Team
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: rails
13
+ name: lesli
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 7.0.6
18
+ version: 5.1.0
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 7.0.6
25
+ version: 5.1.0
27
26
  description: Ticket Management System for the Lesli Framework
28
27
  email:
29
28
  - hello@lesli.tech
@@ -38,97 +37,60 @@ files:
38
37
  - app/assets/stylesheets/lesli_support/application.css
39
38
  - app/controllers/lesli_support/accounts_controller.rb
40
39
  - app/controllers/lesli_support/application_controller.rb
41
- - app/controllers/lesli_support/catalog_categories_controller.rb
42
- - app/controllers/lesli_support/catalog_priorities_controller.rb
43
- - app/controllers/lesli_support/catalog_types_controller.rb
44
- - app/controllers/lesli_support/catalog_workspaces_controller.rb
40
+ - app/controllers/lesli_support/catalog/items_controller.rb
45
41
  - app/controllers/lesli_support/catalogs_controller.rb
46
- - app/controllers/lesli_support/dashboard/components_controller.rb
47
42
  - app/controllers/lesli_support/dashboards_controller.rb
48
- - app/controllers/lesli_support/options_controller.rb
43
+ - app/controllers/lesli_support/item/discussions_controller.rb
44
+ - app/controllers/lesli_support/item/tasks_controller.rb
45
+ - app/controllers/lesli_support/ticket/activities_controller.rb
49
46
  - app/controllers/lesli_support/ticket/discussions_controller.rb
50
47
  - app/controllers/lesli_support/tickets_controller.rb
51
48
  - app/helpers/lesli_support/accounts_helper.rb
52
49
  - app/helpers/lesli_support/application_helper.rb
53
- - app/helpers/lesli_support/catalog_categories_helper.rb
54
- - app/helpers/lesli_support/catalog_priorities_helper.rb
55
- - app/helpers/lesli_support/catalog_types_helper.rb
56
- - app/helpers/lesli_support/catalog_workspaces_helper.rb
50
+ - app/helpers/lesli_support/catalog/items_helper.rb
57
51
  - app/helpers/lesli_support/catalogs_helper.rb
58
52
  - app/helpers/lesli_support/dashboards_helper.rb
59
- - app/helpers/lesli_support/options_helper.rb
53
+ - app/helpers/lesli_support/ticket/activities_helper.rb
60
54
  - app/helpers/lesli_support/ticket/discussions_helper.rb
61
55
  - app/jobs/lesli_support/application_job.rb
62
56
  - app/mailers/lesli_support/application_mailer.rb
63
57
  - app/models/lesli_support/account.rb
64
58
  - app/models/lesli_support/application_record.rb
65
59
  - app/models/lesli_support/catalog.rb
66
- - app/models/lesli_support/catalog_category.rb
67
- - app/models/lesli_support/catalog_priority.rb
68
- - app/models/lesli_support/catalog_type.rb
69
- - app/models/lesli_support/catalog_workspace.rb
60
+ - app/models/lesli_support/catalog/item.rb
70
61
  - app/models/lesli_support/dashboard.rb
71
- - app/models/lesli_support/dashboard/component.rb
72
- - app/models/lesli_support/option.rb
62
+ - app/models/lesli_support/item/activity.rb
63
+ - app/models/lesli_support/item/discussion.rb
64
+ - app/models/lesli_support/item/task.rb
73
65
  - app/models/lesli_support/ticket.rb
66
+ - app/models/lesli_support/ticket/activity.rb
74
67
  - app/models/lesli_support/ticket/discussion.rb
75
68
  - app/services/lesli_support/catalog_service.rb
76
69
  - app/services/lesli_support/ticket_service.rb
77
- - app/views/layouts/lesli_support/application.html.erb
78
70
  - app/views/lesli_support/accounts/_account.html.erb
79
71
  - app/views/lesli_support/accounts/_form.html.erb
80
72
  - app/views/lesli_support/accounts/edit.html.erb
81
73
  - app/views/lesli_support/accounts/index.html.erb
82
74
  - app/views/lesli_support/accounts/new.html.erb
83
75
  - app/views/lesli_support/accounts/show.html.erb
84
- - app/views/lesli_support/catalog_categories/_catalog_category.html.erb
85
- - app/views/lesli_support/catalog_categories/_form.html.erb
86
- - app/views/lesli_support/catalog_categories/edit.html.erb
87
- - app/views/lesli_support/catalog_categories/index.html.erb
88
- - app/views/lesli_support/catalog_categories/new.html.erb
89
- - app/views/lesli_support/catalog_categories/show.html.erb
90
- - app/views/lesli_support/catalog_priorities/_catalog_priority.html.erb
91
- - app/views/lesli_support/catalog_priorities/_form.html.erb
92
- - app/views/lesli_support/catalog_priorities/edit.html.erb
93
- - app/views/lesli_support/catalog_priorities/index.html.erb
94
- - app/views/lesli_support/catalog_priorities/new.html.erb
95
- - app/views/lesli_support/catalog_priorities/show.html.erb
96
- - app/views/lesli_support/catalog_types/_catalog_type.html.erb
97
- - app/views/lesli_support/catalog_types/_form.html.erb
98
- - app/views/lesli_support/catalog_types/edit.html.erb
99
- - app/views/lesli_support/catalog_types/index.html.erb
100
- - app/views/lesli_support/catalog_types/new.html.erb
101
- - app/views/lesli_support/catalog_types/show.html.erb
102
- - app/views/lesli_support/catalog_workspaces/_catalog_workspace.html.erb
103
- - app/views/lesli_support/catalog_workspaces/_form.html.erb
104
- - app/views/lesli_support/catalog_workspaces/edit.html.erb
105
- - app/views/lesli_support/catalog_workspaces/index.html.erb
106
- - app/views/lesli_support/catalog_workspaces/new.html.erb
107
- - app/views/lesli_support/catalog_workspaces/show.html.erb
76
+ - app/views/lesli_support/catalog/items/_form.html.erb
77
+ - app/views/lesli_support/catalog/items/_item.html.erb
78
+ - app/views/lesli_support/catalog/items/edit.html.erb
79
+ - app/views/lesli_support/catalog/items/index.html.erb
80
+ - app/views/lesli_support/catalog/items/new.html.erb
81
+ - app/views/lesli_support/catalog/items/show.html.erb
108
82
  - app/views/lesli_support/catalogs/_catalog.html.erb
109
83
  - app/views/lesli_support/catalogs/_form.html.erb
110
84
  - app/views/lesli_support/catalogs/edit.html.erb
111
85
  - app/views/lesli_support/catalogs/index.html.erb
112
86
  - app/views/lesli_support/catalogs/new.html.erb
113
87
  - app/views/lesli_support/catalogs/show.html.erb
114
- - app/views/lesli_support/dashboards/edit.html.erb
115
- - app/views/lesli_support/dashboards/index.html.erb
116
- - app/views/lesli_support/dashboards/new.html.erb
117
- - app/views/lesli_support/dashboards/show.html.erb
118
- - app/views/lesli_support/options/_form.html.erb
119
- - app/views/lesli_support/options/_option.html.erb
120
- - app/views/lesli_support/options/edit.html.erb
121
- - app/views/lesli_support/options/index.html.erb
122
- - app/views/lesli_support/options/new.html.erb
123
- - app/views/lesli_support/options/show.html.erb
124
- - app/views/lesli_support/partials/_engine-navigation.html.erb
125
- - app/views/lesli_support/ticket/discussions/_discussion.html.erb
126
- - app/views/lesli_support/ticket/discussions/_form.html.erb
127
- - app/views/lesli_support/ticket/discussions/edit.html.erb
128
- - app/views/lesli_support/ticket/discussions/index.html.erb
129
- - app/views/lesli_support/ticket/discussions/new.html.erb
130
- - app/views/lesli_support/ticket/discussions/show.html.erb
131
- - app/views/lesli_support/tickets/edit.html.erb
88
+ - app/views/lesli_support/dashboards/_component-latest-tickets.html.erb
89
+ - app/views/lesli_support/dashboards/_component-tickets-by-category.html.erb
90
+ - app/views/lesli_support/dashboards/_component-tickets-created.html.erb
91
+ - app/views/lesli_support/dashboards/_component-tickets-open.html.erb
92
+ - app/views/lesli_support/partials/_navigation.html.erb
93
+ - app/views/lesli_support/tickets/_form.html.erb
132
94
  - app/views/lesli_support/tickets/index.html.erb
133
95
  - app/views/lesli_support/tickets/new.html.erb
134
96
  - app/views/lesli_support/tickets/show.html.erb
@@ -139,20 +101,19 @@ files:
139
101
  - config/locales/translations.pt.yml
140
102
  - config/routes.rb
141
103
  - db/migrate/v1/0702000110_create_lesli_support_accounts.rb
142
- - db/migrate/v1/0702000210_create_lesli_support_account_settings.rb
143
- - db/migrate/v1/0702010110_create_lesli_support_catalog_workspaces.rb
144
- - db/migrate/v1/0702010210_create_lesli_support_catalog_types.rb
145
- - db/migrate/v1/0702010310_create_lesli_support_catalog_categories.rb
146
- - db/migrate/v1/0702010410_create_lesli_support_catalog_priorities.rb
147
- - db/migrate/v1/0702050110_create_lesli_support_dashboards.rb
148
- - db/migrate/v1/0702050210_create_lesli_support_dashboard_components.rb
104
+ - db/migrate/v1/0702002010_create_lesli_support_catalogs.rb
149
105
  - db/migrate/v1/0702100110_create_lesli_support_slas.rb
150
106
  - db/migrate/v1/0702110110_create_lesli_support_tickets.rb
151
- - db/migrate/v1/0702110510_create_lesli_support_ticket_discussions.rb
152
107
  - db/seed/development.rb
153
108
  - db/seed/production.rb
109
+ - db/seed/seeds.json
154
110
  - db/seed/test.rb
155
111
  - db/seeds.rb
112
+ - db/tables/0010009010_create_feedbacks.rb
113
+ - db/tables/0702010110_create_lesli_support_catalog_workspaces.rb
114
+ - db/tables/0702010210_create_lesli_support_catalog_types.rb
115
+ - db/tables/0702010310_create_lesli_support_catalog_categories.rb
116
+ - db/tables/0702010410_create_lesli_support_catalog_priorities.rb
156
117
  - db/tables/0702010510_create_cloud_help_catalog_ticket_sources.rb
157
118
  - db/tables/0702020110_create_cloud_help_workflows.rb
158
119
  - db/tables/0702020210_create_cloud_help_workflow_statuses.rb
@@ -179,20 +140,7 @@ files:
179
140
  - lib/lesli_support.rb
180
141
  - lib/lesli_support/engine.rb
181
142
  - lib/lesli_support/version.rb
182
- - lib/scss/application.scss
183
143
  - lib/tasks/lesli_support_tasks.rake
184
- - lib/vue/application.js
185
- - lib/vue/apps/dashboard/components/engine-version.vue
186
- - lib/vue/apps/dashboard/components/my-tasks.vue
187
- - lib/vue/apps/tickets/components/assignments.vue
188
- - lib/vue/apps/tickets/components/form.vue
189
- - lib/vue/apps/tickets/components/internal-comments.vue
190
- - lib/vue/apps/tickets/components/sla-info.vue
191
- - lib/vue/apps/tickets/index.vue
192
- - lib/vue/apps/tickets/new.vue
193
- - lib/vue/apps/tickets/show.vue
194
- - lib/vue/stores/tickets.js
195
- - lib/vue/stores/translations.json
196
144
  - readme.md
197
145
  homepage: https://www.lesli.dev/
198
146
  licenses:
@@ -201,7 +149,6 @@ metadata:
201
149
  homepage_uri: https://www.lesli.dev/
202
150
  changelog_uri: https://github.com/LesliTech/LesliSupport
203
151
  source_code_uri: https://github.com/LesliTech/LesliSupport
204
- post_install_message:
205
152
  rdoc_options: []
206
153
  require_paths:
207
154
  - lib
@@ -209,15 +156,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
156
  requirements:
210
157
  - - ">="
211
158
  - !ruby/object:Gem::Version
212
- version: '2.7'
159
+ version: '0'
213
160
  required_rubygems_version: !ruby/object:Gem::Requirement
214
161
  requirements:
215
162
  - - ">="
216
163
  - !ruby/object:Gem::Version
217
164
  version: '0'
218
165
  requirements: []
219
- rubygems_version: 3.3.7
220
- signing_key:
166
+ rubygems_version: 3.7.1
221
167
  specification_version: 4
222
168
  summary: Ticket Management System for the Lesli Framework
223
169
  test_files: []
@@ -1,60 +0,0 @@
1
- module LesliSupport
2
- class CatalogCategoriesController < ApplicationController
3
- before_action :set_catalog_category, only: %i[ show edit update destroy ]
4
-
5
- # GET /catalog_categories
6
- def index
7
- @catalog_categories = CatalogCategory.all
8
- end
9
-
10
- # GET /catalog_categories/1
11
- def show
12
- end
13
-
14
- # GET /catalog_categories/new
15
- def new
16
- @catalog_category = CatalogCategory.new
17
- end
18
-
19
- # GET /catalog_categories/1/edit
20
- def edit
21
- end
22
-
23
- # POST /catalog_categories
24
- def create
25
- @catalog_category = CatalogCategory.new(catalog_category_params)
26
-
27
- if @catalog_category.save
28
- redirect_to @catalog_category, notice: "Catalog category was successfully created."
29
- else
30
- render :new, status: :unprocessable_entity
31
- end
32
- end
33
-
34
- # PATCH/PUT /catalog_categories/1
35
- def update
36
- if @catalog_category.update(catalog_category_params)
37
- redirect_to @catalog_category, notice: "Catalog category was successfully updated.", status: :see_other
38
- else
39
- render :edit, status: :unprocessable_entity
40
- end
41
- end
42
-
43
- # DELETE /catalog_categories/1
44
- def destroy
45
- @catalog_category.destroy
46
- redirect_to catalog_categories_url, notice: "Catalog category was successfully destroyed.", status: :see_other
47
- end
48
-
49
- private
50
- # Use callbacks to share common setup or constraints between actions.
51
- def set_catalog_category
52
- @catalog_category = CatalogCategory.find(params[:id])
53
- end
54
-
55
- # Only allow a list of trusted parameters through.
56
- def catalog_category_params
57
- params.fetch(:catalog_category, {})
58
- end
59
- end
60
- end
@@ -1,60 +0,0 @@
1
- module LesliSupport
2
- class CatalogPrioritiesController < ApplicationController
3
- before_action :set_catalog_priority, only: %i[ show edit update destroy ]
4
-
5
- # GET /catalog_priorities
6
- def index
7
- @catalog_priorities = CatalogPriority.all
8
- end
9
-
10
- # GET /catalog_priorities/1
11
- def show
12
- end
13
-
14
- # GET /catalog_priorities/new
15
- def new
16
- @catalog_priority = CatalogPriority.new
17
- end
18
-
19
- # GET /catalog_priorities/1/edit
20
- def edit
21
- end
22
-
23
- # POST /catalog_priorities
24
- def create
25
- @catalog_priority = CatalogPriority.new(catalog_priority_params)
26
-
27
- if @catalog_priority.save
28
- redirect_to @catalog_priority, notice: "Catalog priority was successfully created."
29
- else
30
- render :new, status: :unprocessable_entity
31
- end
32
- end
33
-
34
- # PATCH/PUT /catalog_priorities/1
35
- def update
36
- if @catalog_priority.update(catalog_priority_params)
37
- redirect_to @catalog_priority, notice: "Catalog priority was successfully updated.", status: :see_other
38
- else
39
- render :edit, status: :unprocessable_entity
40
- end
41
- end
42
-
43
- # DELETE /catalog_priorities/1
44
- def destroy
45
- @catalog_priority.destroy
46
- redirect_to catalog_priorities_url, notice: "Catalog priority was successfully destroyed.", status: :see_other
47
- end
48
-
49
- private
50
- # Use callbacks to share common setup or constraints between actions.
51
- def set_catalog_priority
52
- @catalog_priority = CatalogPriority.find(params[:id])
53
- end
54
-
55
- # Only allow a list of trusted parameters through.
56
- def catalog_priority_params
57
- params.fetch(:catalog_priority, {})
58
- end
59
- end
60
- end
@@ -1,60 +0,0 @@
1
- module LesliSupport
2
- class CatalogTypesController < ApplicationController
3
- before_action :set_catalog_type, only: %i[ show edit update destroy ]
4
-
5
- # GET /catalog_types
6
- def index
7
- @catalog_types = CatalogType.all
8
- end
9
-
10
- # GET /catalog_types/1
11
- def show
12
- end
13
-
14
- # GET /catalog_types/new
15
- def new
16
- @catalog_type = CatalogType.new
17
- end
18
-
19
- # GET /catalog_types/1/edit
20
- def edit
21
- end
22
-
23
- # POST /catalog_types
24
- def create
25
- @catalog_type = CatalogType.new(catalog_type_params)
26
-
27
- if @catalog_type.save
28
- redirect_to @catalog_type, notice: "Catalog type was successfully created."
29
- else
30
- render :new, status: :unprocessable_entity
31
- end
32
- end
33
-
34
- # PATCH/PUT /catalog_types/1
35
- def update
36
- if @catalog_type.update(catalog_type_params)
37
- redirect_to @catalog_type, notice: "Catalog type was successfully updated.", status: :see_other
38
- else
39
- render :edit, status: :unprocessable_entity
40
- end
41
- end
42
-
43
- # DELETE /catalog_types/1
44
- def destroy
45
- @catalog_type.destroy
46
- redirect_to catalog_types_url, notice: "Catalog type was successfully destroyed.", status: :see_other
47
- end
48
-
49
- private
50
- # Use callbacks to share common setup or constraints between actions.
51
- def set_catalog_type
52
- @catalog_type = CatalogType.find(params[:id])
53
- end
54
-
55
- # Only allow a list of trusted parameters through.
56
- def catalog_type_params
57
- params.fetch(:catalog_type, {})
58
- end
59
- end
60
- end
@@ -1,60 +0,0 @@
1
- module LesliSupport
2
- class CatalogWorkspacesController < ApplicationController
3
- before_action :set_catalog_workspace, only: %i[ show edit update destroy ]
4
-
5
- # GET /catalog_workspaces
6
- def index
7
- @catalog_workspaces = CatalogWorkspace.all
8
- end
9
-
10
- # GET /catalog_workspaces/1
11
- def show
12
- end
13
-
14
- # GET /catalog_workspaces/new
15
- def new
16
- @catalog_workspace = CatalogWorkspace.new
17
- end
18
-
19
- # GET /catalog_workspaces/1/edit
20
- def edit
21
- end
22
-
23
- # POST /catalog_workspaces
24
- def create
25
- @catalog_workspace = CatalogWorkspace.new(catalog_workspace_params)
26
-
27
- if @catalog_workspace.save
28
- redirect_to @catalog_workspace, notice: "Catalog workspace was successfully created."
29
- else
30
- render :new, status: :unprocessable_entity
31
- end
32
- end
33
-
34
- # PATCH/PUT /catalog_workspaces/1
35
- def update
36
- if @catalog_workspace.update(catalog_workspace_params)
37
- redirect_to @catalog_workspace, notice: "Catalog workspace was successfully updated.", status: :see_other
38
- else
39
- render :edit, status: :unprocessable_entity
40
- end
41
- end
42
-
43
- # DELETE /catalog_workspaces/1
44
- def destroy
45
- @catalog_workspace.destroy
46
- redirect_to catalog_workspaces_url, notice: "Catalog workspace was successfully destroyed.", status: :see_other
47
- end
48
-
49
- private
50
- # Use callbacks to share common setup or constraints between actions.
51
- def set_catalog_workspace
52
- @catalog_workspace = CatalogWorkspace.find(params[:id])
53
- end
54
-
55
- # Only allow a list of trusted parameters through.
56
- def catalog_workspace_params
57
- params.fetch(:catalog_workspace, {})
58
- end
59
- end
60
- end