lesli_help 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +5 -0
  3. data/app/assets/config/lesli_help_manifest.js +38 -0
  4. data/app/assets/images/lesli_help/help-logo.svg +9 -0
  5. data/app/assets/javascripts/lesli_help/application.js +6203 -0
  6. data/app/assets/stylesheets/lesli_help/application.css +15 -0
  7. data/app/controllers/lesli_help/accounts_controller.rb +60 -0
  8. data/app/controllers/lesli_help/application_controller.rb +4 -0
  9. data/app/controllers/lesli_help/dashboard/components_controller.rb +92 -0
  10. data/app/controllers/lesli_help/dashboards_controller.rb +36 -0
  11. data/app/controllers/lesli_help/tickets_controller.rb +171 -0
  12. data/app/helpers/lesli_help/accounts_helper.rb +4 -0
  13. data/app/helpers/lesli_help/application_helper.rb +4 -0
  14. data/app/helpers/lesli_help/dashboards_helper.rb +4 -0
  15. data/app/jobs/lesli_help/application_job.rb +4 -0
  16. data/app/mailers/lesli_help/application_mailer.rb +6 -0
  17. data/app/models/lesli_help/account.rb +38 -0
  18. data/app/models/lesli_help/application_record.rb +5 -0
  19. data/app/models/lesli_help/dashboard/component.rb +18 -0
  20. data/app/models/lesli_help/dashboard.rb +28 -0
  21. data/app/models/lesli_help/ticket.rb +39 -0
  22. data/app/services/lesli_help/ticket_service.rb +120 -0
  23. data/app/views/layouts/lesli_help/application.html.erb +15 -0
  24. data/app/views/lesli_help/accounts/_account.html.erb +2 -0
  25. data/app/views/lesli_help/accounts/_form.html.erb +17 -0
  26. data/app/views/lesli_help/accounts/edit.html.erb +10 -0
  27. data/app/views/lesli_help/accounts/index.html.erb +14 -0
  28. data/app/views/lesli_help/accounts/new.html.erb +9 -0
  29. data/app/views/lesli_help/accounts/show.html.erb +10 -0
  30. data/app/views/lesli_help/dashboards/edit.html.erb +1 -0
  31. data/app/views/lesli_help/dashboards/index.html.erb +1 -0
  32. data/app/views/lesli_help/dashboards/new.html.erb +1 -0
  33. data/app/views/lesli_help/dashboards/show.html.erb +1 -0
  34. data/app/views/lesli_help/partials/_engine-navigation.html.erb +39 -0
  35. data/app/views/lesli_help/tickets/edit.html.erb +20 -0
  36. data/app/views/lesli_help/tickets/index.html.erb +34 -0
  37. data/app/views/lesli_help/tickets/new.html.erb +20 -0
  38. data/app/views/lesli_help/tickets/show.html.erb +20 -0
  39. data/config/locales/translations.en.yml +23 -0
  40. data/config/locales/translations.es.yml +23 -0
  41. data/config/routes.rb +51 -0
  42. data/db/migrate/v1/0702000110_create_lesli_help_accounts.rb +42 -0
  43. data/db/migrate/v1/0702000210_create_lesli_help_account_settings.rb +46 -0
  44. data/db/migrate/v1/0702050110_create_lesli_help_dashboards.rb +50 -0
  45. data/db/migrate/v1/0702050210_create_lesli_help_dashboard_components.rb +50 -0
  46. data/db/migrate/v1/0702100110_create_lesli_help_slas.rb +59 -0
  47. data/db/migrate/v1/0702110110_create_lesli_help_tickets.rb +93 -0
  48. data/db/seed/development.rb +43 -0
  49. data/db/seed/production.rb +31 -0
  50. data/db/seed/test.rb +31 -0
  51. data/db/seeds.rb +43 -0
  52. data/db/tables/0702010110_create_cloud_help_catalogs.rb +8 -0
  53. data/db/tables/0702010210_create_cloud_help_catalog_ticket_categories.rb +44 -0
  54. data/db/tables/0702010310_create_cloud_help_catalog_ticket_priorities.rb +46 -0
  55. data/db/tables/0702010410_create_cloud_help_catalog_ticket_types.rb +44 -0
  56. data/db/tables/0702010510_create_cloud_help_catalog_ticket_sources.rb +44 -0
  57. data/db/tables/0702010610_create_cloud_help_catalog_ticket_workspaces.rb +38 -0
  58. data/db/tables/0702020110_create_cloud_help_workflows.rb +47 -0
  59. data/db/tables/0702020210_create_cloud_help_workflow_statuses.rb +47 -0
  60. data/db/tables/0702020310_create_cloud_help_workflow_associations.rb +29 -0
  61. data/db/tables/0702020410_create_cloud_help_workflow_actions.rb +18 -0
  62. data/db/tables/0702020510_create_cloud_help_workflow_checks.rb +20 -0
  63. data/db/tables/0702030110_create_cloud_help_custom_fields.rb +15 -0
  64. data/db/tables/0702040110_create_cloud_help_custom_validations.rb +16 -0
  65. data/db/tables/0702040210_create_cloud_help_custom_validation_rules.rb +16 -0
  66. data/db/tables/0702040310_create_cloud_help_custom_validation_fields.rb +16 -0
  67. data/db/tables/0702100310_create_cloud_help_ticket_actions.rb +16 -0
  68. data/db/tables/0702100410_create_cloud_help_ticket_activities.rb +15 -0
  69. data/db/tables/0702100510_create_cloud_help_ticket_discussions.rb +17 -0
  70. data/db/tables/0702100610_create_cloud_help_ticket_files.rb +16 -0
  71. data/db/tables/0702100710_create_cloud_help_ticket_subscribers.rb +16 -0
  72. data/db/tables/0702101010_create_cloud_help_ticket_timelines.rb +14 -0
  73. data/db/tables/0702101110_create_cloud_help_ticket_assignments.rb +15 -0
  74. data/db/tables/0702101210_create_cloud_help_ticket_histories.rb +15 -0
  75. data/db/tables/0702110310_create_cloud_help_sla_actions.rb +17 -0
  76. data/db/tables/0702110410_create_cloud_help_sla_activities.rb +15 -0
  77. data/db/tables/0702110510_create_cloud_help_sla_discussions.rb +17 -0
  78. data/db/tables/0702110610_create_cloud_help_sla_files.rb +16 -0
  79. data/db/tables/0702110710_create_cloud_help_sla_subscribers.rb +16 -0
  80. data/db/tables/0702111010_create_cloud_help_sla_associations.rb +13 -0
  81. data/lib/lesli_help/engine.rb +50 -0
  82. data/lib/lesli_help/version.rb +4 -0
  83. data/lib/lesli_help.rb +6 -0
  84. data/lib/tasks/lesli_help_tasks.rake +4 -0
  85. data/lib/vue/application.js +85 -0
  86. data/lib/vue/apps/dashboard/show.vue +43 -0
  87. data/lib/vue/apps/tickets/components/assignments.vue +93 -0
  88. data/lib/vue/apps/tickets/components/form.vue +252 -0
  89. data/lib/vue/apps/tickets/components/internal-comments.vue +107 -0
  90. data/lib/vue/apps/tickets/components/sla-info.vue +115 -0
  91. data/lib/vue/apps/tickets/index.vue +171 -0
  92. data/lib/vue/apps/tickets/new.vue +92 -0
  93. data/lib/vue/apps/tickets/show.vue +177 -0
  94. data/lib/vue/stores/tickets.js +275 -0
  95. data/lib/vue/stores/translations.json +56 -0
  96. data/readme.md +71 -0
  97. metadata +155 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 37e6922b732c03ca3ae579ae58484ced951528f7c8b1e4497cb7bcefbaa813eb
4
+ data.tar.gz: 53d941d860c1f51bd86e88948b086abbc3836b60e1a198025a9a01b894b84a00
5
+ SHA512:
6
+ metadata.gz: 2283cbaa128aa8228510e5508453819ff5b6730beba515445c7f78ac4c6481ce92e2956934519c11f7abf575cfbc622bb1721ade82e34f332b90a038532e44af
7
+ data.tar.gz: dc6c2388a64b15f6627e9690227177470ff2f4d450effe19855b0b18bc23a6491d8db288f5f4f956277d3948d9c056e39b64edc902a686d97bc7605fabcdcc8d
data/Rakefile ADDED
@@ -0,0 +1,5 @@
1
+ require "bundler/setup"
2
+
3
+ load "rails/tasks/statistics.rake"
4
+
5
+ require "bundler/gem_tasks"
@@ -0,0 +1,38 @@
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_help .png
34
+ //= link_tree ../images/lesli_help .jpg
35
+ //= link_tree ../images/lesli_help .svg
36
+
37
+ //= link lesli_help/application.css
38
+ //= link lesli_help/application.js
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Слой_1" version="1.1" viewBox="0 0 128 128">
2
+ <path fill="#e4e7e7" d="M112 62.1c-.1-1.4-.2-2.7-.3-4.1l2.6-2.6c11.5-11.5 11.5-30.3 0-41.7-11.5-11.5-30.2-11.5-41.7 0L70 16.3c-1.3-.2-2.7-.3-4.1-.3l4.5-4.5c12.7-12.7 33.4-12.8 46.1 0 12.7 12.7 12.7 33.4 0 46.1l-4.5 4.5zM58.1 16.4l-2.6-2.6C44 2.3 25.2 2.3 13.8 13.8 2.2 25.2 2.2 44 13.8 55.5l2.6 2.6c-.2 1.3-.3 2.7-.3 4.1l-4.5-4.5C-1.1 45-1.2 24.3 11.6 11.6 24.3-1.1 45-1.1 57.7 11.6l4.5 4.5c-1.4 0-2.8.1-4.1.3zM16 65.9c.1 1.4.2 2.7.3 4.1l-2.6 2.6c-11.5 11.5-11.5 30.3-.1 41.7 11.5 11.5 30.2 11.5 41.7 0l2.6-2.6c1.3.2 2.7.3 4.1.3l-4.5 4.5c-12.7 12.7-33.4 12.8-46.1.1-12.7-12.7-12.7-33.4.1-46.1l4.5-4.6zm53.9 45.7 2.6 2.6c11.5 11.5 30.3 11.5 41.7 0 11.5-11.5 11.5-30.2-.1-41.7l-2.6-2.6c.2-1.3.3-2.7.3-4.1l4.5 4.5c12.7 12.7 12.8 33.4.1 46.1-12.7 12.7-33.4 12.7-46.1-.1l-4.5-4.5c1.4.1 2.8 0 4.1-.2z"/>
3
+ <path fill="#e2574c" d="M64 0C28.7 0 0 28.7 0 64s28.6 64 64 64c35.3 0 64-28.7 64-64S99.3 0 64 0zm0 96c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"/>
4
+ <path fill="#d95449" d="M64 24.3c-21.9 0-39.7 17.8-39.7 39.7 0 21.9 17.8 39.7 39.7 39.7 21.9 0 39.7-17.8 39.7-39.7 0-21.9-17.8-39.7-39.7-39.7zM64 96c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"/>
5
+ <path fill="#e5685e" d="M64 9C33.6 9 9 33.6 9 64s24.6 55 55 55 55-24.6 55-55S94.4 9 64 9zm0 106c-28.2 0-51-22.8-51-51s22.8-51 51-51 51 22.8 51 51-22.8 51-51 51z"/>
6
+ <path d="M49.1 92.3c-5.8-3-10.5-7.8-13.5-13.5L12.5 102c3.8 5.1 8.3 9.7 13.5 13.5l23.1-23.2zM78.8 35.6c5.8 3 10.5 7.7 13.5 13.5L115.5 26c-3.8-5.1-8.4-9.7-13.5-13.5L78.8 35.6zM12.5 26l23.1 23.1c3-5.8 7.7-10.5 13.5-13.5L26 12.5c-5.1 3.8-9.7 8.4-13.5 13.5zM115.5 102 92.4 78.9c-3 5.8-7.7 10.5-13.5 13.5l23.1 23.1c5.1-3.8 9.7-8.4 13.5-13.5z" class="st4"/>
7
+ <path d="m84.5 30-5.6 5.6c5.8 3 10.5 7.7 13.5 13.5l5.6-5.6C94.6 38 90 33.3 84.5 30zM35.6 78.8 30 84.5C33.3 90 38 94.6 43.5 98l5.6-5.6c-5.7-3.1-10.4-7.8-13.5-13.6zM78.9 92.4l5.6 5.6C90 94.7 94.6 90 98 84.5l-5.6-5.6c-3.1 5.7-7.8 10.4-13.5 13.5zM49.2 35.7 43.5 30C38 33.4 33.4 38 30 43.5l5.6 5.6c3.1-5.7 7.8-10.4 13.6-13.4z" class="st5"/>
8
+ <path d="m21.8 92.7-2.9 2.9c3.7 5.2 8.2 9.8 13.5 13.5l2.9-2.9c-5.3-3.7-9.9-8.2-13.5-13.5zM106.2 92.7c-3.6 5.3-8.2 9.9-13.5 13.5l2.9 2.9c5.2-3.7 9.8-8.3 13.5-13.5l-2.9-2.9zM21.8 35.3c3.6-5.3 8.2-9.9 13.5-13.5L32.5 19c-5.2 3.7-9.8 8.3-13.5 13.5l2.8 2.8zM106.2 35.3l2.9-2.9c-3.7-5.2-8.3-9.8-13.5-13.5l-2.9 2.9c5.3 3.6 9.8 8.2 13.5 13.5z" class="st6"/>
9
+ </svg>