lesli_letter 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +5 -0
  3. data/app/assets/config/lesli_letter_manifest.js +39 -0
  4. data/app/assets/images/lesli_letter/letter-logo.svg +1 -0
  5. data/app/assets/javascripts/lesli_letter/application.js +3980 -0
  6. data/app/assets/stylesheets/lesli_letter/application.scss +37 -0
  7. data/app/assets/stylesheets/lesli_letter/notebooks.scss +43 -0
  8. data/app/assets/stylesheets/lesli_letter/notes.scss +71 -0
  9. data/app/controllers/lesli_letter/accounts_controller.rb +60 -0
  10. data/app/controllers/lesli_letter/application_controller.rb +4 -0
  11. data/app/controllers/lesli_letter/dashboards_controller.rb +4 -0
  12. data/app/controllers/lesli_letter/notebooks_controller.rb +98 -0
  13. data/app/controllers/lesli_letter/notes_controller.rb +114 -0
  14. data/app/helpers/lesli_letter/accounts_helper.rb +4 -0
  15. data/app/helpers/lesli_letter/application_helper.rb +4 -0
  16. data/app/helpers/lesli_letter/dashboards_helper.rb +4 -0
  17. data/app/helpers/lesli_letter/notebooks_helper.rb +4 -0
  18. data/app/helpers/lesli_letter/notes_helper.rb +4 -0
  19. data/app/jobs/lesli_letter/application_job.rb +4 -0
  20. data/app/mailers/lesli_letter/application_mailer.rb +6 -0
  21. data/app/models/lesli_letter/account.rb +39 -0
  22. data/app/models/lesli_letter/application_record.rb +5 -0
  23. data/app/models/lesli_letter/dashboard.rb +31 -0
  24. data/app/models/lesli_letter/note.rb +7 -0
  25. data/app/models/lesli_letter/notebook.rb +7 -0
  26. data/app/services/lesli_letter/note_service.rb +64 -0
  27. data/app/services/lesli_letter/notebook_service.rb +52 -0
  28. data/app/views/lesli_letter/accounts/_account.html.erb +2 -0
  29. data/app/views/lesli_letter/accounts/_form.html.erb +17 -0
  30. data/app/views/lesli_letter/accounts/edit.html.erb +10 -0
  31. data/app/views/lesli_letter/accounts/index.html.erb +14 -0
  32. data/app/views/lesli_letter/accounts/new.html.erb +9 -0
  33. data/app/views/lesli_letter/accounts/show.html.erb +10 -0
  34. data/app/views/lesli_letter/dashboards/show.html.erb +1 -0
  35. data/app/views/lesli_letter/notebooks/edit.html.erb +10 -0
  36. data/app/views/lesli_letter/notebooks/index.html.erb +1 -0
  37. data/app/views/lesli_letter/notebooks/new.html.erb +9 -0
  38. data/app/views/lesli_letter/notebooks/show.html.erb +10 -0
  39. data/app/views/lesli_letter/notes/edit.html.erb +10 -0
  40. data/app/views/lesli_letter/notes/index.html.erb +1 -0
  41. data/app/views/lesli_letter/notes/new.html.erb +9 -0
  42. data/app/views/lesli_letter/notes/show.html.erb +10 -0
  43. data/app/views/lesli_letter/partials/_engine-navigation.html.erb +37 -0
  44. data/config/locales/translations.en.yml +23 -0
  45. data/config/locales/translations.es.yml +23 -0
  46. data/config/routes.rb +57 -0
  47. data/db/migrate/v1/0305000110_create_lesli_letter_accounts.rb +42 -0
  48. data/db/migrate/v1/0305050110_create_lesli_letter_dashboards.rb +51 -0
  49. data/db/migrate/v1/0305050210_create_lesli_letter_dashboard_components.rb +53 -0
  50. data/db/migrate/v1/0305100110_create_lesli_letter_notebooks.rb +46 -0
  51. data/db/migrate/v1/0305110110_create_lesli_letter_notes.rb +48 -0
  52. data/db/seed/development.rb +53 -0
  53. data/db/seed/production.rb +35 -0
  54. data/db/seed/test.rb +35 -0
  55. data/db/seeds.rb +43 -0
  56. data/lib/lesli_letter/engine.rb +49 -0
  57. data/lib/lesli_letter/version.rb +4 -0
  58. data/lib/lesli_letter.rb +6 -0
  59. data/lib/tasks/lesli_letter_tasks.rake +4 -0
  60. data/lib/vue/application.js +77 -0
  61. data/lib/vue/apps/notebooks/index.vue +85 -0
  62. data/lib/vue/apps/notes/components/note-preview.vue +45 -0
  63. data/lib/vue/apps/notes/index.vue +102 -0
  64. data/lib/vue/stores/note.js +90 -0
  65. data/lib/vue/stores/notebooks.js +61 -0
  66. data/lib/vue/stores/notes.js +61 -0
  67. data/lib/vue/stores/translations.json +58 -0
  68. data/license +674 -0
  69. data/readme.md +76 -0
  70. metadata +128 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a271472304a28859ad1f462e929b8dbd4c84dce2f9e2b901dcf71f4e1daacae5
4
+ data.tar.gz: 1033873985b40764ce2376a219e5c1bebac63a52fb279dc040e9988c27725801
5
+ SHA512:
6
+ metadata.gz: 903cf2d9021aa12060a00c55237ff3a14d0e5bc05e9845815271be90e7d33484a85941c42a197a2732b964ec2b3b006dfb6f54173560051b55df484485d3f687
7
+ data.tar.gz: ef8d7c7b2db215b97a26b2e7f5d779ee0c69a01bd1bb45c3e1137fe92874ceb0f158ea26c6f1f5fb26b79eadee71a49453301ec26aee242ab51b264be0964a74
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,39 @@
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_letter .png
34
+ //= link_tree ../images/lesli_letter .jpg
35
+ //= link_tree ../images/lesli_letter .svg
36
+
37
+ //= link lesli_letter/application.css
38
+ //= link lesli_letter/application.js
39
+
@@ -0,0 +1 @@
1
+ <?xml version="1.0" ?><svg data-name="Layer 1" id="Layer_1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><defs><style>.cls-1{fill:#e2e7f0;}.cls-2{fill:#9dacba;}.cls-3{fill:#c9d5e3;}</style></defs><title/><path class="cls-1" d="M13,0A4,4,0,0,0,9,4V60a4,4,0,0,0,4,4H51a4,4,0,0,0,4-4V16L39,0H13Z"/><path class="cls-2" d="M43,16H55L39,0V12A4,4,0,0,0,43,16Z"/><rect class="cls-2" height="2" rx="1" ry="1" width="18" x="23" y="20"/><rect class="cls-2" height="2" rx="1" ry="1" width="30" x="17" y="41"/><rect class="cls-2" height="2" rx="1" ry="1" width="18" x="17" y="53"/><rect class="cls-2" height="2" rx="1" ry="1" width="30" x="17" y="47"/><rect class="cls-2" height="2" rx="1" ry="1" width="30" x="17" y="35"/><rect class="cls-2" height="2" rx="1" ry="1" width="30" x="17" y="29"/><path class="cls-3" d="M43,16l9.41,9.41A2,2,0,0,1,53,26.83V60a2,2,0,0,1-2,2H15a2,2,0,0,0-2,2H51a4,4,0,0,0,4-4V16H43Z"/></svg>