lesli_letter 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +5 -0
- data/app/assets/config/lesli_letter_manifest.js +39 -0
- data/app/assets/images/lesli_letter/letter-logo.svg +1 -0
- data/app/assets/javascripts/lesli_letter/application.js +3980 -0
- data/app/assets/stylesheets/lesli_letter/application.scss +37 -0
- data/app/assets/stylesheets/lesli_letter/notebooks.scss +43 -0
- data/app/assets/stylesheets/lesli_letter/notes.scss +71 -0
- data/app/controllers/lesli_letter/accounts_controller.rb +60 -0
- data/app/controllers/lesli_letter/application_controller.rb +4 -0
- data/app/controllers/lesli_letter/dashboards_controller.rb +4 -0
- data/app/controllers/lesli_letter/notebooks_controller.rb +98 -0
- data/app/controllers/lesli_letter/notes_controller.rb +114 -0
- data/app/helpers/lesli_letter/accounts_helper.rb +4 -0
- data/app/helpers/lesli_letter/application_helper.rb +4 -0
- data/app/helpers/lesli_letter/dashboards_helper.rb +4 -0
- data/app/helpers/lesli_letter/notebooks_helper.rb +4 -0
- data/app/helpers/lesli_letter/notes_helper.rb +4 -0
- data/app/jobs/lesli_letter/application_job.rb +4 -0
- data/app/mailers/lesli_letter/application_mailer.rb +6 -0
- data/app/models/lesli_letter/account.rb +39 -0
- data/app/models/lesli_letter/application_record.rb +5 -0
- data/app/models/lesli_letter/dashboard.rb +31 -0
- data/app/models/lesli_letter/note.rb +7 -0
- data/app/models/lesli_letter/notebook.rb +7 -0
- data/app/services/lesli_letter/note_service.rb +64 -0
- data/app/services/lesli_letter/notebook_service.rb +52 -0
- data/app/views/lesli_letter/accounts/_account.html.erb +2 -0
- data/app/views/lesli_letter/accounts/_form.html.erb +17 -0
- data/app/views/lesli_letter/accounts/edit.html.erb +10 -0
- data/app/views/lesli_letter/accounts/index.html.erb +14 -0
- data/app/views/lesli_letter/accounts/new.html.erb +9 -0
- data/app/views/lesli_letter/accounts/show.html.erb +10 -0
- data/app/views/lesli_letter/dashboards/show.html.erb +1 -0
- data/app/views/lesli_letter/notebooks/edit.html.erb +10 -0
- data/app/views/lesli_letter/notebooks/index.html.erb +1 -0
- data/app/views/lesli_letter/notebooks/new.html.erb +9 -0
- data/app/views/lesli_letter/notebooks/show.html.erb +10 -0
- data/app/views/lesli_letter/notes/edit.html.erb +10 -0
- data/app/views/lesli_letter/notes/index.html.erb +1 -0
- data/app/views/lesli_letter/notes/new.html.erb +9 -0
- data/app/views/lesli_letter/notes/show.html.erb +10 -0
- data/app/views/lesli_letter/partials/_engine-navigation.html.erb +37 -0
- data/config/locales/translations.en.yml +23 -0
- data/config/locales/translations.es.yml +23 -0
- data/config/routes.rb +57 -0
- data/db/migrate/v1/0305000110_create_lesli_letter_accounts.rb +42 -0
- data/db/migrate/v1/0305050110_create_lesli_letter_dashboards.rb +51 -0
- data/db/migrate/v1/0305050210_create_lesli_letter_dashboard_components.rb +53 -0
- data/db/migrate/v1/0305100110_create_lesli_letter_notebooks.rb +46 -0
- data/db/migrate/v1/0305110110_create_lesli_letter_notes.rb +48 -0
- data/db/seed/development.rb +53 -0
- data/db/seed/production.rb +35 -0
- data/db/seed/test.rb +35 -0
- data/db/seeds.rb +43 -0
- data/lib/lesli_letter/engine.rb +49 -0
- data/lib/lesli_letter/version.rb +4 -0
- data/lib/lesli_letter.rb +6 -0
- data/lib/tasks/lesli_letter_tasks.rake +4 -0
- data/lib/vue/application.js +77 -0
- data/lib/vue/apps/notebooks/index.vue +85 -0
- data/lib/vue/apps/notes/components/note-preview.vue +45 -0
- data/lib/vue/apps/notes/index.vue +102 -0
- data/lib/vue/stores/note.js +90 -0
- data/lib/vue/stores/notebooks.js +61 -0
- data/lib/vue/stores/notes.js +61 -0
- data/lib/vue/stores/translations.json +58 -0
- data/license +674 -0
- data/readme.md +76 -0
- metadata +128 -0
data/readme.md
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
<p align="center">
|
2
|
+
<img width="90" alt="LesliLetter logo" src="./app/assets/images/lesli_letter/letter-logo.svg" />
|
3
|
+
<h3 align="center">Notes & Notebooks for the Lesli Framework.</h3>
|
4
|
+
</p>
|
5
|
+
|
6
|
+
<hr/>
|
7
|
+
<p align="center">
|
8
|
+
<a target="blank" href="https://rubygems.org/gems/lesli_letter">
|
9
|
+
<img src="https://badge.fury.io/rb/lesli_letter.svg" alt="Gem Version" height="24">
|
10
|
+
</a>
|
11
|
+
</p>
|
12
|
+
<hr/>
|
13
|
+
|
14
|
+
<div align="center">
|
15
|
+
<img
|
16
|
+
style="width:100%;max-width:800px;border-radius:6px;"
|
17
|
+
alt="Engine screenshot" src="./docs/screenshot.png" />
|
18
|
+
</div>
|
19
|
+
|
20
|
+
### Quick start
|
21
|
+
|
22
|
+
```shell
|
23
|
+
# Add LesliGuard engine
|
24
|
+
bundle add lesli_letter
|
25
|
+
```
|
26
|
+
|
27
|
+
```shell
|
28
|
+
# Setup database
|
29
|
+
rake lesli:db:start
|
30
|
+
```
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
# Load LesliGuard
|
34
|
+
Rails.application.routes.draw do
|
35
|
+
mount LesliLetter::Engine => "/letter"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
|
40
|
+
### Documentation
|
41
|
+
* [database](./docs/database.md)
|
42
|
+
* [documentation](https://www.lesli.dev/documentation/)
|
43
|
+
|
44
|
+
|
45
|
+
### Get in touch
|
46
|
+
|
47
|
+
* [Website: https://www.lesli.tech](https://www.lesli.tech)
|
48
|
+
* [Email: hello@lesli.tech](hello@lesli.tech)
|
49
|
+
* [Twitter: @LesliTech](https://twitter.com/LesliTech)
|
50
|
+
|
51
|
+
|
52
|
+
### License
|
53
|
+
-------
|
54
|
+
Copyright (c) 2023, Lesli Technologies, S. A.
|
55
|
+
|
56
|
+
This program is free software: you can redistribute it and/or modify
|
57
|
+
it under the terms of the GNU General Public License as published by
|
58
|
+
the Free Software Foundation, either version 3 of the License, or
|
59
|
+
(at your option) any later version.
|
60
|
+
|
61
|
+
This program is distributed in the hope that it will be useful,
|
62
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
63
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
64
|
+
GNU General Public License for more details.
|
65
|
+
|
66
|
+
You should have received a copy of the GNU General Public License
|
67
|
+
along with this program. If not, see http://www.gnu.org/licenses/.
|
68
|
+
|
69
|
+
<hr />
|
70
|
+
<br />
|
71
|
+
|
72
|
+
<p align="center">
|
73
|
+
<img width="200" alt="Lesli logo" src="https://cdn.lesli.tech/lesli/brand/app-logo.svg" />
|
74
|
+
<h4 align="center">Ruby on Rails SaaS Development Framework.</h4>
|
75
|
+
</p>
|
76
|
+
|
metadata
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lesli_letter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- The Lesli Development Team
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-02-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '7'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '7'
|
27
|
+
description: Notes & Notebooks for the Lesli Framework.
|
28
|
+
email:
|
29
|
+
- hello@lesli.tech
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- Rakefile
|
35
|
+
- app/assets/config/lesli_letter_manifest.js
|
36
|
+
- app/assets/images/lesli_letter/letter-logo.svg
|
37
|
+
- app/assets/javascripts/lesli_letter/application.js
|
38
|
+
- app/assets/stylesheets/lesli_letter/application.scss
|
39
|
+
- app/assets/stylesheets/lesli_letter/notebooks.scss
|
40
|
+
- app/assets/stylesheets/lesli_letter/notes.scss
|
41
|
+
- app/controllers/lesli_letter/accounts_controller.rb
|
42
|
+
- app/controllers/lesli_letter/application_controller.rb
|
43
|
+
- app/controllers/lesli_letter/dashboards_controller.rb
|
44
|
+
- app/controllers/lesli_letter/notebooks_controller.rb
|
45
|
+
- app/controllers/lesli_letter/notes_controller.rb
|
46
|
+
- app/helpers/lesli_letter/accounts_helper.rb
|
47
|
+
- app/helpers/lesli_letter/application_helper.rb
|
48
|
+
- app/helpers/lesli_letter/dashboards_helper.rb
|
49
|
+
- app/helpers/lesli_letter/notebooks_helper.rb
|
50
|
+
- app/helpers/lesli_letter/notes_helper.rb
|
51
|
+
- app/jobs/lesli_letter/application_job.rb
|
52
|
+
- app/mailers/lesli_letter/application_mailer.rb
|
53
|
+
- app/models/lesli_letter/account.rb
|
54
|
+
- app/models/lesli_letter/application_record.rb
|
55
|
+
- app/models/lesli_letter/dashboard.rb
|
56
|
+
- app/models/lesli_letter/note.rb
|
57
|
+
- app/models/lesli_letter/notebook.rb
|
58
|
+
- app/services/lesli_letter/note_service.rb
|
59
|
+
- app/services/lesli_letter/notebook_service.rb
|
60
|
+
- app/views/lesli_letter/accounts/_account.html.erb
|
61
|
+
- app/views/lesli_letter/accounts/_form.html.erb
|
62
|
+
- app/views/lesli_letter/accounts/edit.html.erb
|
63
|
+
- app/views/lesli_letter/accounts/index.html.erb
|
64
|
+
- app/views/lesli_letter/accounts/new.html.erb
|
65
|
+
- app/views/lesli_letter/accounts/show.html.erb
|
66
|
+
- app/views/lesli_letter/dashboards/show.html.erb
|
67
|
+
- app/views/lesli_letter/notebooks/edit.html.erb
|
68
|
+
- app/views/lesli_letter/notebooks/index.html.erb
|
69
|
+
- app/views/lesli_letter/notebooks/new.html.erb
|
70
|
+
- app/views/lesli_letter/notebooks/show.html.erb
|
71
|
+
- app/views/lesli_letter/notes/edit.html.erb
|
72
|
+
- app/views/lesli_letter/notes/index.html.erb
|
73
|
+
- app/views/lesli_letter/notes/new.html.erb
|
74
|
+
- app/views/lesli_letter/notes/show.html.erb
|
75
|
+
- app/views/lesli_letter/partials/_engine-navigation.html.erb
|
76
|
+
- config/locales/translations.en.yml
|
77
|
+
- config/locales/translations.es.yml
|
78
|
+
- config/routes.rb
|
79
|
+
- db/migrate/v1/0305000110_create_lesli_letter_accounts.rb
|
80
|
+
- db/migrate/v1/0305050110_create_lesli_letter_dashboards.rb
|
81
|
+
- db/migrate/v1/0305050210_create_lesli_letter_dashboard_components.rb
|
82
|
+
- db/migrate/v1/0305100110_create_lesli_letter_notebooks.rb
|
83
|
+
- db/migrate/v1/0305110110_create_lesli_letter_notes.rb
|
84
|
+
- db/seed/development.rb
|
85
|
+
- db/seed/production.rb
|
86
|
+
- db/seed/test.rb
|
87
|
+
- db/seeds.rb
|
88
|
+
- lib/lesli_letter.rb
|
89
|
+
- lib/lesli_letter/engine.rb
|
90
|
+
- lib/lesli_letter/version.rb
|
91
|
+
- lib/tasks/lesli_letter_tasks.rake
|
92
|
+
- lib/vue/application.js
|
93
|
+
- lib/vue/apps/notebooks/index.vue
|
94
|
+
- lib/vue/apps/notes/components/note-preview.vue
|
95
|
+
- lib/vue/apps/notes/index.vue
|
96
|
+
- lib/vue/stores/note.js
|
97
|
+
- lib/vue/stores/notebooks.js
|
98
|
+
- lib/vue/stores/notes.js
|
99
|
+
- lib/vue/stores/translations.json
|
100
|
+
- license
|
101
|
+
- readme.md
|
102
|
+
homepage: https://www.lesli.dev/
|
103
|
+
licenses:
|
104
|
+
- GPL-3.0
|
105
|
+
metadata:
|
106
|
+
homepage_uri: https://www.lesli.dev/
|
107
|
+
changelog_uri: https://github.com/LesliTech/LesliLetter
|
108
|
+
source_code_uri: https://github.com/LesliTech/LesliLetter
|
109
|
+
post_install_message:
|
110
|
+
rdoc_options: []
|
111
|
+
require_paths:
|
112
|
+
- lib
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.7.2
|
118
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
requirements: []
|
124
|
+
rubygems_version: 3.3.7
|
125
|
+
signing_key:
|
126
|
+
specification_version: 4
|
127
|
+
summary: Notes & Notebooks for the Lesli Framework.
|
128
|
+
test_files: []
|