lesli_calendar 0.2.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_calendar_manifest.js +40 -0
- data/app/assets/images/lesli_calendar/calendar-logo.svg +101 -0
- data/app/assets/javascripts/lesli_calendar/application.js +4658 -0
- data/app/assets/stylesheets/lesli_calendar/application.css +604 -0
- data/app/controllers/lesli_calendar/application_controller.rb +4 -0
- data/app/controllers/lesli_calendar/calendars_controller.rb +71 -0
- data/app/controllers/lesli_calendar/dashboards_controller.rb +60 -0
- data/app/controllers/lesli_calendar/events_controller.rb +60 -0
- data/app/helpers/lesli_calendar/application_helper.rb +4 -0
- data/app/helpers/lesli_calendar/calendars_helper.rb +4 -0
- data/app/helpers/lesli_calendar/dashboards_helper.rb +4 -0
- data/app/helpers/lesli_calendar/events_helper.rb +4 -0
- data/app/jobs/lesli_calendar/application_job.rb +4 -0
- data/app/mailers/lesli_calendar/application_mailer.rb +6 -0
- data/app/models/lesli_calendar/account.rb +45 -0
- data/app/models/lesli_calendar/application_record.rb +5 -0
- data/app/models/lesli_calendar/calendar.rb +5 -0
- data/app/models/lesli_calendar/dashboard.rb +4 -0
- data/app/models/lesli_calendar/event.rb +4 -0
- data/app/services/lesli_calendar/calendar_service.rb +56 -0
- data/app/views/lesli_calendar/calendars/_calendar.html.erb +2 -0
- data/app/views/lesli_calendar/calendars/_form.html.erb +17 -0
- data/app/views/lesli_calendar/calendars/edit.html.erb +10 -0
- data/app/views/lesli_calendar/calendars/index.html.erb +14 -0
- data/app/views/lesli_calendar/calendars/new.html.erb +9 -0
- data/app/views/lesli_calendar/calendars/show.html.erb +1 -0
- data/app/views/lesli_calendar/dashboards/_dashboard.html.erb +2 -0
- data/app/views/lesli_calendar/dashboards/_form.html.erb +17 -0
- data/app/views/lesli_calendar/dashboards/edit.html.erb +10 -0
- data/app/views/lesli_calendar/dashboards/index.html.erb +14 -0
- data/app/views/lesli_calendar/dashboards/new.html.erb +9 -0
- data/app/views/lesli_calendar/dashboards/show.html.erb +1 -0
- data/app/views/lesli_calendar/events/_event.html.erb +2 -0
- data/app/views/lesli_calendar/events/_form.html.erb +17 -0
- data/app/views/lesli_calendar/events/edit.html.erb +10 -0
- data/app/views/lesli_calendar/events/index.html.erb +1 -0
- data/app/views/lesli_calendar/events/new.html.erb +9 -0
- data/app/views/lesli_calendar/events/show.html.erb +10 -0
- data/app/views/lesli_calendar/partials/_engine-navigation.html.erb +37 -0
- data/config/locales/translations.en.yml +21 -0
- data/config/locales/translations.es.yml +21 -0
- data/config/locales/translations.fr.yml +21 -0
- data/config/locales/translations.it.yml +21 -0
- data/config/locales/translations.pt.yml +21 -0
- data/config/routes.rb +41 -0
- data/db/migrate/v1.0/0301000110_create_lesli_calendar_accounts.rb +40 -0
- data/db/migrate/v1.0/0301100110_create_lesli_calendar_calendars.rb +46 -0
- data/db/migrate/v1.0/0301110110_create_lesli_calendar_events.rb +57 -0
- data/db/seed/development.rb +17 -0
- data/db/seed/production.rb +17 -0
- data/db/seed/test.rb +17 -0
- data/db/seeds.rb +28 -0
- data/db/tables/0301010210_create_lesli_driver_catalog_event_types.rb +14 -0
- data/db/tables/0301110310_create_lesli_driver_event_actions.rb +16 -0
- data/db/tables/0301110410_create_lesli_driver_event_activities.rb +15 -0
- data/db/tables/0301110510_create_lesli_driver_event_discussions.rb +17 -0
- data/db/tables/0301110610_create_lesli_driver_event_files.rb +16 -0
- data/db/tables/0301110710_create_lesli_driver_event_subscribers.rb +16 -0
- data/db/tables/0301111010_create_lesli_driver_event_attendants.rb +13 -0
- data/lib/lesli_calendar/engine.rb +50 -0
- data/lib/lesli_calendar/version.rb +4 -0
- data/lib/lesli_calendar.rb +6 -0
- data/lib/scss/application.scss +34 -0
- data/lib/scss/calendar.scss +181 -0
- data/lib/tasks/lesli_calendar_tasks.rake +4 -0
- data/lib/vue/application.js +59 -0
- data/lib/vue/apps/calendars/show.vue +87 -0
- data/lib/vue/apps/events/index.vue +48 -0
- data/lib/vue/components/agenda.vue +137 -0
- data/lib/vue/components/calendar.vue +137 -0
- data/lib/vue/components/event.vue +47 -0
- data/lib/vue/components/form.vue +143 -0
- data/lib/vue/components/guests.vue +148 -0
- data/lib/vue/stores/calendar.js +215 -0
- data/lib/vue/stores/events.js +53 -0
- data/lib/vue/stores/guests.js +213 -0
- data/lib/vue/stores/translations.json +152 -0
- data/license +674 -0
- data/readme.md +71 -0
- metadata +154 -0
data/readme.md
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
<p align="center">
|
2
|
+
<img width="90" alt="LesliCloud logo" src="./app/assets/images/lesli_calendar/calendar-logo.svg" />
|
3
|
+
<h3 align="center">Unified calendar app for The Lesli Framework.</h3>
|
4
|
+
</p>
|
5
|
+
|
6
|
+
<hr/>
|
7
|
+
<p align="center">
|
8
|
+
<a target="blank" href="https://rubygems.org/gems/lesli_calendar">
|
9
|
+
<img src="https://badge.fury.io/rb/lesli_calendar.svg" alt="Gem Version" height="18">
|
10
|
+
</a>
|
11
|
+
</p>
|
12
|
+
<hr/>
|
13
|
+
|
14
|
+
### Quick start
|
15
|
+
|
16
|
+
```shell
|
17
|
+
# Add lesli_calendar engine
|
18
|
+
bundle add lesli_calendar
|
19
|
+
```
|
20
|
+
|
21
|
+
```shell
|
22
|
+
# Setup database
|
23
|
+
rake lesli:db:setup
|
24
|
+
```
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
# Load lesli_calendar
|
28
|
+
Rails.application.routes.draw do
|
29
|
+
mount lesli_calendar::Engine => "/calendar"
|
30
|
+
end
|
31
|
+
```
|
32
|
+
|
33
|
+
|
34
|
+
### Documentation
|
35
|
+
* [website](https://www.lesli.dev/engines/calendar/)
|
36
|
+
* [database](./docs/database.md)
|
37
|
+
* [documentation](https://www.lesli.dev/documentation/)
|
38
|
+
|
39
|
+
|
40
|
+
### Get in touch
|
41
|
+
|
42
|
+
* [Website: https://www.lesli.tech](https://www.lesli.tech)
|
43
|
+
* [Email: hello@lesli.tech](hello@lesli.tech)
|
44
|
+
* [Twitter: @LesliTech](https://twitter.com/LesliTech)
|
45
|
+
|
46
|
+
|
47
|
+
### License
|
48
|
+
-------
|
49
|
+
Copyright (c) 2023, Lesli Technologies, S. A.
|
50
|
+
|
51
|
+
This program is free software: you can redistribute it and/or modify
|
52
|
+
it under the terms of the GNU General Public License as published by
|
53
|
+
the Free Software Foundation, either version 3 of the License, or
|
54
|
+
(at your option) any later version.
|
55
|
+
|
56
|
+
This program is distributed in the hope that it will be useful,
|
57
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
58
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
59
|
+
GNU General Public License for more details.
|
60
|
+
|
61
|
+
You should have received a copy of the GNU General Public License
|
62
|
+
along with this program. If not, see http://www.gnu.org/licenses/.
|
63
|
+
|
64
|
+
<hr />
|
65
|
+
<br />
|
66
|
+
|
67
|
+
<p align="center">
|
68
|
+
<img width="200" alt="Lesli logo" src="https://cdn.lesli.tech/lesli/brand/app-logo.svg" />
|
69
|
+
<h4 align="center">Ruby on Rails SaaS Development Framework.</h4>
|
70
|
+
</p>
|
71
|
+
|
metadata
ADDED
@@ -0,0 +1,154 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lesli_calendar
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- The Lesli Development Team
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-05-10 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.0.6
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 7.0.6
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: lesli
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5'
|
41
|
+
description: Unified calendar app for The Lesli Framework.
|
42
|
+
email:
|
43
|
+
- hello@lesli.tech
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- Rakefile
|
49
|
+
- app/assets/config/lesli_calendar_manifest.js
|
50
|
+
- app/assets/images/lesli_calendar/calendar-logo.svg
|
51
|
+
- app/assets/javascripts/lesli_calendar/application.js
|
52
|
+
- app/assets/stylesheets/lesli_calendar/application.css
|
53
|
+
- app/controllers/lesli_calendar/application_controller.rb
|
54
|
+
- app/controllers/lesli_calendar/calendars_controller.rb
|
55
|
+
- app/controllers/lesli_calendar/dashboards_controller.rb
|
56
|
+
- app/controllers/lesli_calendar/events_controller.rb
|
57
|
+
- app/helpers/lesli_calendar/application_helper.rb
|
58
|
+
- app/helpers/lesli_calendar/calendars_helper.rb
|
59
|
+
- app/helpers/lesli_calendar/dashboards_helper.rb
|
60
|
+
- app/helpers/lesli_calendar/events_helper.rb
|
61
|
+
- app/jobs/lesli_calendar/application_job.rb
|
62
|
+
- app/mailers/lesli_calendar/application_mailer.rb
|
63
|
+
- app/models/lesli_calendar/account.rb
|
64
|
+
- app/models/lesli_calendar/application_record.rb
|
65
|
+
- app/models/lesli_calendar/calendar.rb
|
66
|
+
- app/models/lesli_calendar/dashboard.rb
|
67
|
+
- app/models/lesli_calendar/event.rb
|
68
|
+
- app/services/lesli_calendar/calendar_service.rb
|
69
|
+
- app/views/lesli_calendar/calendars/_calendar.html.erb
|
70
|
+
- app/views/lesli_calendar/calendars/_form.html.erb
|
71
|
+
- app/views/lesli_calendar/calendars/edit.html.erb
|
72
|
+
- app/views/lesli_calendar/calendars/index.html.erb
|
73
|
+
- app/views/lesli_calendar/calendars/new.html.erb
|
74
|
+
- app/views/lesli_calendar/calendars/show.html.erb
|
75
|
+
- app/views/lesli_calendar/dashboards/_dashboard.html.erb
|
76
|
+
- app/views/lesli_calendar/dashboards/_form.html.erb
|
77
|
+
- app/views/lesli_calendar/dashboards/edit.html.erb
|
78
|
+
- app/views/lesli_calendar/dashboards/index.html.erb
|
79
|
+
- app/views/lesli_calendar/dashboards/new.html.erb
|
80
|
+
- app/views/lesli_calendar/dashboards/show.html.erb
|
81
|
+
- app/views/lesli_calendar/events/_event.html.erb
|
82
|
+
- app/views/lesli_calendar/events/_form.html.erb
|
83
|
+
- app/views/lesli_calendar/events/edit.html.erb
|
84
|
+
- app/views/lesli_calendar/events/index.html.erb
|
85
|
+
- app/views/lesli_calendar/events/new.html.erb
|
86
|
+
- app/views/lesli_calendar/events/show.html.erb
|
87
|
+
- app/views/lesli_calendar/partials/_engine-navigation.html.erb
|
88
|
+
- config/locales/translations.en.yml
|
89
|
+
- config/locales/translations.es.yml
|
90
|
+
- config/locales/translations.fr.yml
|
91
|
+
- config/locales/translations.it.yml
|
92
|
+
- config/locales/translations.pt.yml
|
93
|
+
- config/routes.rb
|
94
|
+
- db/migrate/v1.0/0301000110_create_lesli_calendar_accounts.rb
|
95
|
+
- db/migrate/v1.0/0301100110_create_lesli_calendar_calendars.rb
|
96
|
+
- db/migrate/v1.0/0301110110_create_lesli_calendar_events.rb
|
97
|
+
- db/seed/development.rb
|
98
|
+
- db/seed/production.rb
|
99
|
+
- db/seed/test.rb
|
100
|
+
- db/seeds.rb
|
101
|
+
- db/tables/0301010210_create_lesli_driver_catalog_event_types.rb
|
102
|
+
- db/tables/0301110310_create_lesli_driver_event_actions.rb
|
103
|
+
- db/tables/0301110410_create_lesli_driver_event_activities.rb
|
104
|
+
- db/tables/0301110510_create_lesli_driver_event_discussions.rb
|
105
|
+
- db/tables/0301110610_create_lesli_driver_event_files.rb
|
106
|
+
- db/tables/0301110710_create_lesli_driver_event_subscribers.rb
|
107
|
+
- db/tables/0301111010_create_lesli_driver_event_attendants.rb
|
108
|
+
- lib/lesli_calendar.rb
|
109
|
+
- lib/lesli_calendar/engine.rb
|
110
|
+
- lib/lesli_calendar/version.rb
|
111
|
+
- lib/scss/application.scss
|
112
|
+
- lib/scss/calendar.scss
|
113
|
+
- lib/tasks/lesli_calendar_tasks.rake
|
114
|
+
- lib/vue/application.js
|
115
|
+
- lib/vue/apps/calendars/show.vue
|
116
|
+
- lib/vue/apps/events/index.vue
|
117
|
+
- lib/vue/components/agenda.vue
|
118
|
+
- lib/vue/components/calendar.vue
|
119
|
+
- lib/vue/components/event.vue
|
120
|
+
- lib/vue/components/form.vue
|
121
|
+
- lib/vue/components/guests.vue
|
122
|
+
- lib/vue/stores/calendar.js
|
123
|
+
- lib/vue/stores/events.js
|
124
|
+
- lib/vue/stores/guests.js
|
125
|
+
- lib/vue/stores/translations.json
|
126
|
+
- license
|
127
|
+
- readme.md
|
128
|
+
homepage: https://www.lesli.dev/
|
129
|
+
licenses:
|
130
|
+
- GPL-3.0
|
131
|
+
metadata:
|
132
|
+
homepage_uri: https://www.lesli.dev/
|
133
|
+
changelog_uri: https://github.com/LesliTech/lesli_calendar
|
134
|
+
source_code_uri: https://github.com/LesliTech/lesli_calendar
|
135
|
+
post_install_message:
|
136
|
+
rdoc_options: []
|
137
|
+
require_paths:
|
138
|
+
- lib
|
139
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: 2.7.0
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
requirements: []
|
150
|
+
rubygems_version: 3.3.7
|
151
|
+
signing_key:
|
152
|
+
specification_version: 4
|
153
|
+
summary: Unified calendar app for The Lesli Framework.
|
154
|
+
test_files: []
|