wco_models 3.1.0.31 → 3.1.0.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/vendor/bootstrap-4.6.2.min.js +7 -0
- data/app/assets/javascripts/vendor/fontawesome-5.0.13.js +5 -0
- data/app/assets/javascripts/vendor/fontawesome-5.15.4.min.js +5 -0
- data/app/assets/javascripts/vendor/fontawesome-solid-5.0.13.js +5 -0
- data/app/assets/javascripts/vendor/jquery-3.3.1.js +10364 -0
- data/app/assets/javascripts/vendor/jquery-3.3.1.min.js +2 -0
- data/app/assets/javascripts/vendor/jquery-3.3.1.slim.min.js +2 -0
- data/app/assets/javascripts/vendor/jquery-3.4.1.min.js +2 -0
- data/app/assets/javascripts/vendor/popper-1.14.0.min.js +5 -0
- data/app/assets/javascripts/wco/application.js +9 -0
- data/app/assets/javascripts/wco/collapse-expand.js +31 -0
- data/app/assets/stylesheets/vendor/bootstrap-4.6.2.min.css +7 -0
- data/app/assets/stylesheets/{wco_models → wco}/application.css +3 -1
- data/app/assets/stylesheets/{wco_models → wco}/utils.scss +32 -18
- data/app/controllers/wco/application_controller.rb +44 -0
- data/app/controllers/wco/prices_controller.rb +40 -0
- data/app/controllers/wco/products_controller.rb +100 -1
- data/app/controllers/wco/subscriptions_controller.rb +114 -0
- data/app/jobs/wco_hosting/certbot_job.rb +1 -1
- data/app/models/ability.rb +20 -0
- data/app/models/wco/leadset.rb +0 -1
- data/app/models/wco/price.rb +16 -7
- data/app/models/wco/product.rb +2 -0
- data/app/models/wco/subscription.rb +8 -10
- data/app/models/wco_hosting/appliance.rb +2 -1
- data/app/models/wco_hosting/appliance_tmpl.rb +21 -3
- data/app/views/layouts/wco/application.haml +33 -0
- data/app/views/wco/application/_auth_widget.haml +8 -0
- data/app/views/wco/application/home.haml +4 -0
- data/app/views/wco/prices/_form.haml +17 -0
- data/app/views/wco/products/_form.haml +29 -0
- data/app/views/wco/products/_list.haml +10 -0
- data/app/views/wco/products/_table.haml +20 -0
- data/app/views/wco/products/edit.haml +5 -0
- data/app/views/wco/products/index.haml +44 -0
- data/app/views/wco/products/show.haml +5 -0
- data/config/initializers/assets.rb +4 -0
- data/config/routes.rb +7 -0
- data/lib/wco/engine.rb +5 -2
- data/lib/wco_models.rb +8 -2
- metadata +87 -7
- data/app/controllers/ish_models/application_controller.rb +0 -4
- data/app/models/wco_email/tag.rb-trash +0 -15
- data/app/views/layouts/ish_models/application.html.erb +0 -15
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wco_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0.
|
4
|
+
version: 3.1.0.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Pudeyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -24,6 +24,62 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 6.1.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: haml
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 6.3.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 6.3.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sass-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: devise
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 4.9.3
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 4.9.3
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: cancancan
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 3.5.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.5.0
|
27
83
|
- !ruby/object:Gem::Dependency
|
28
84
|
name: mongoid
|
29
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -174,13 +230,28 @@ files:
|
|
174
230
|
- README.txt
|
175
231
|
- Rakefile
|
176
232
|
- app/assets/config/wco_models_manifest.js
|
177
|
-
- app/assets/
|
178
|
-
- app/assets/
|
179
|
-
- app/
|
233
|
+
- app/assets/javascripts/vendor/bootstrap-4.6.2.min.js
|
234
|
+
- app/assets/javascripts/vendor/fontawesome-5.0.13.js
|
235
|
+
- app/assets/javascripts/vendor/fontawesome-5.15.4.min.js
|
236
|
+
- app/assets/javascripts/vendor/fontawesome-solid-5.0.13.js
|
237
|
+
- app/assets/javascripts/vendor/jquery-3.3.1.js
|
238
|
+
- app/assets/javascripts/vendor/jquery-3.3.1.min.js
|
239
|
+
- app/assets/javascripts/vendor/jquery-3.3.1.slim.min.js
|
240
|
+
- app/assets/javascripts/vendor/jquery-3.4.1.min.js
|
241
|
+
- app/assets/javascripts/vendor/popper-1.14.0.min.js
|
242
|
+
- app/assets/javascripts/wco/application.js
|
243
|
+
- app/assets/javascripts/wco/collapse-expand.js
|
244
|
+
- app/assets/stylesheets/vendor/bootstrap-4.6.2.min.css
|
245
|
+
- app/assets/stylesheets/wco/application.css
|
246
|
+
- app/assets/stylesheets/wco/utils.scss
|
247
|
+
- app/controllers/wco/application_controller.rb
|
248
|
+
- app/controllers/wco/prices_controller.rb
|
180
249
|
- app/controllers/wco/products_controller.rb
|
250
|
+
- app/controllers/wco/subscriptions_controller.rb
|
181
251
|
- app/helpers/ish_models/application_helper.rb
|
182
252
|
- app/jobs/wco_hosting/certbot_job.rb
|
183
253
|
- app/mailers/ish_models/application_mailer.rb
|
254
|
+
- app/models/ability.rb
|
184
255
|
- app/models/wco/gallery.rb
|
185
256
|
- app/models/wco/lead.rb
|
186
257
|
- app/models/wco/leadset.rb
|
@@ -203,20 +274,29 @@ files:
|
|
203
274
|
- app/models/wco_email/email_filter.rb
|
204
275
|
- app/models/wco_email/message_template.rb
|
205
276
|
- app/models/wco_email/scheduled_email_action.rb
|
206
|
-
- app/models/wco_email/tag.rb-trash
|
207
277
|
- app/models/wco_hosting/appliance.rb
|
208
278
|
- app/models/wco_hosting/appliance_tmpl.rb
|
209
279
|
- app/models/wco_hosting/domain.rb
|
210
280
|
- app/models/wco_hosting/serverhost.rb
|
211
|
-
- app/views/layouts/
|
281
|
+
- app/views/layouts/wco/application.haml
|
212
282
|
- app/views/wco/application/_alerts_notices.haml
|
283
|
+
- app/views/wco/application/_auth_widget.haml
|
213
284
|
- app/views/wco/application/_meta.haml
|
285
|
+
- app/views/wco/application/home.haml
|
286
|
+
- app/views/wco/prices/_form.haml
|
287
|
+
- app/views/wco/products/_form.haml
|
288
|
+
- app/views/wco/products/_list.haml
|
289
|
+
- app/views/wco/products/_table.haml
|
290
|
+
- app/views/wco/products/edit.haml
|
291
|
+
- app/views/wco/products/index.haml
|
292
|
+
- app/views/wco/products/show.haml
|
214
293
|
- app/views/wco_hosting/docker-compose/dc-any.erb
|
215
294
|
- app/views/wco_hosting/docker-compose/dc-helloworld.erb
|
216
295
|
- app/views/wco_hosting/docker-compose/dc-wordpress.erb
|
217
296
|
- app/views/wco_hosting/scripts/create_subdomain.json.erb-trash
|
218
297
|
- app/views/wco_hosting/scripts/create_volume.erb
|
219
298
|
- app/views/wco_hosting/scripts/nginx_site.conf.erb
|
299
|
+
- config/initializers/assets.rb
|
220
300
|
- config/routes.rb
|
221
301
|
- lib/tasks/ish_models_tasks.rake
|
222
302
|
- lib/wco/engine.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
class WcoEmail::Tag
|
3
|
-
include Mongoid::Document
|
4
|
-
include Mongoid::Timestamps
|
5
|
-
|
6
|
-
field :slug
|
7
|
-
# index
|
8
|
-
# validate presence
|
9
|
-
# validate uniqueness ?
|
10
|
-
|
11
|
-
# parent-child
|
12
|
-
|
13
|
-
has_and_belongs_to_many :email_conversations, class_name: 'Wco::EmailConversation'
|
14
|
-
|
15
|
-
end
|