ish_manager 0.1.8.345 → 0.1.8.347
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/ish_manager/email_templates.scss +4 -1
- data/app/controllers/ish_manager/email_contexts_controller.rb +5 -3
- data/app/controllers/ish_manager/email_templates_controller.rb +2 -2
- data/app/mailers/ish_manager/office_mailer.rb +8 -3
- data/app/views/202212 Mailchimp Templates/202212 1col fixed-width.html +863 -0
- data/app/views/202212 Mailchimp Templates/202212 1col full-width.html +906 -0
- data/app/views/202212 Mailchimp Templates/202212 2col fixed-width 2.html +1003 -0
- data/app/views/202212 Mailchimp Templates/202212 2col fixed-width.html +1082 -0
- data/app/views/202212 Mailchimp Templates/202212 2col full-width 2.html +1053 -0
- data/app/views/202212 Mailchimp Templates/202212 2col full-width.html +1147 -0
- data/app/views/202212 Mailchimp Templates/202212 3col fixed-width.html +1087 -0
- data/app/views/202212 Mailchimp Templates/202212 3col full-width.html +1136 -0
- data/app/views/202212 Mailchimp Templates/202212 catalog various-colors-1.html +1223 -0
- data/app/views/202212 Mailchimp Templates/202212 educate.html +1080 -0
- data/app/views/202212 Mailchimp Templates/202212 follow up.html +1001 -0
- data/app/views/202212 Mailchimp Templates/202212 make an announcement.html +1048 -0
- data/app/views/202212 Mailchimp Templates/202212 sell-a-product.html +977 -0
- data/app/views/202212 Mailchimp Templates/202212 tell a story.html +1168 -0
- data/app/views/202212 Mailchimp Templates/202212 theme art-newsletter.html +1612 -0
- data/app/views/202212 Mailchimp Templates/202212 theme caribou-xmas.html +856 -0
- data/app/views/202212 Mailchimp Templates/202212 theme colorbox.html +1027 -0
- data/app/views/202212 Mailchimp Templates/202212 theme competition-invitation.html +918 -0
- data/app/views/202212 Mailchimp Templates/202212 theme event-veerle.html +1132 -0
- data/app/views/202212 Mailchimp Templates/202212 theme fall-colors.html +1407 -0
- data/app/views/202212 Mailchimp Templates/202212 theme gift-giving.html +787 -0
- data/app/views/202212 Mailchimp Templates/202212 theme giftgiving-snowmen.html +731 -0
- data/app/views/202212 Mailchimp Templates/202212 theme heart-of-flowers.html +795 -0
- data/app/views/202212 Mailchimp Templates/202212 theme hero-card.html +915 -0
- data/app/views/202212 Mailchimp Templates/202212 theme hero-image.html +1148 -0
- data/app/views/202212 Mailchimp Templates/202212 theme monthly-contest.html +967 -0
- data/app/views/202212 Mailchimp Templates/202212 theme multiple-event.html +1189 -0
- data/app/views/202212 Mailchimp Templates/202212 theme postcard.html +914 -0
- data/app/views/202212 Mailchimp Templates/202212 theme snowy-fields.html +733 -0
- data/app/views/202212 Mailchimp Templates/202212 theme soft.html +849 -0
- data/app/views/202212 Mailchimp Templates/202212 theme sophisticated.html +1079 -0
- data/app/views/202212 Mailchimp Templates/202212 theme subtle.html +1218 -0
- data/app/views/202212 Mailchimp Templates/202212 theme ticket.html +1015 -0
- data/app/views/202212 Mailchimp Templates/202212 theme whale.html +888 -0
- data/app/views/ish_manager/application/_main_footer.haml +5 -3
- data/app/views/ish_manager/email_contexts/_form.haml +3 -1
- data/app/views/ish_manager/email_contexts/show.haml +3 -3
- data/app/views/ish_manager/email_templates/_m20221222merryxmas.html.erb +764 -0
- data/app/views/layouts/ish_manager/application.haml +10 -6
- data/lib/tasks/office_tasks.rake +27 -0
- metadata +38 -2
@@ -38,14 +38,18 @@
|
|
38
38
|
.col-sm-12
|
39
39
|
- if notice
|
40
40
|
- if notice.class == Array
|
41
|
-
%ul
|
41
|
+
%ul.notice
|
42
42
|
- notice.map do |n|
|
43
|
-
%li
|
44
|
-
|
45
|
-
|
46
|
-
%p.notice= notice
|
43
|
+
%li= n
|
44
|
+
- else
|
45
|
+
%p.notice= notice
|
47
46
|
- if alert
|
48
|
-
|
47
|
+
- if alert.class == Array
|
48
|
+
%ul.alert
|
49
|
+
- alert.map do |n|
|
50
|
+
%li= n
|
51
|
+
- else
|
52
|
+
%p.alert= alert
|
49
53
|
= yield
|
50
54
|
= render 'ish_manager/application/main_footer'
|
51
55
|
= render 'analytics' if Rails.env.production?
|
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
def puts! a, b=''
|
3
|
+
puts "+++ +++ #{b}"
|
4
|
+
puts a.inspect
|
5
|
+
end
|
6
|
+
|
7
|
+
namespace :office do
|
8
|
+
|
9
|
+
desc "send emails"
|
10
|
+
task :email_worker => :environment do
|
11
|
+
while true do
|
12
|
+
|
13
|
+
ctxs = ::Ish::EmailContext.current.unsent
|
14
|
+
puts! ctxs.count, 'ctxs'
|
15
|
+
ctxs.map do |ctx|
|
16
|
+
IshManager::OfficeMailer.send_context_email( ctx[:id].to_s ).deliver_later
|
17
|
+
print '.'
|
18
|
+
end
|
19
|
+
|
20
|
+
# sleep 1.minute
|
21
|
+
sleep 10.seconds
|
22
|
+
print '^'
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ish_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.8.
|
4
|
+
version: 0.1.8.347
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -308,6 +308,40 @@ files:
|
|
308
308
|
- app/mailers/ish_manager/meeting_mailer.rb
|
309
309
|
- app/mailers/ish_manager/office_mailer.rb
|
310
310
|
- app/models/ish_manager/ability.rb
|
311
|
+
- app/views/202212 Mailchimp Templates/202212 1col fixed-width.html
|
312
|
+
- app/views/202212 Mailchimp Templates/202212 1col full-width.html
|
313
|
+
- app/views/202212 Mailchimp Templates/202212 2col fixed-width 2.html
|
314
|
+
- app/views/202212 Mailchimp Templates/202212 2col fixed-width.html
|
315
|
+
- app/views/202212 Mailchimp Templates/202212 2col full-width 2.html
|
316
|
+
- app/views/202212 Mailchimp Templates/202212 2col full-width.html
|
317
|
+
- app/views/202212 Mailchimp Templates/202212 3col fixed-width.html
|
318
|
+
- app/views/202212 Mailchimp Templates/202212 3col full-width.html
|
319
|
+
- app/views/202212 Mailchimp Templates/202212 catalog various-colors-1.html
|
320
|
+
- app/views/202212 Mailchimp Templates/202212 educate.html
|
321
|
+
- app/views/202212 Mailchimp Templates/202212 follow up.html
|
322
|
+
- app/views/202212 Mailchimp Templates/202212 make an announcement.html
|
323
|
+
- app/views/202212 Mailchimp Templates/202212 sell-a-product.html
|
324
|
+
- app/views/202212 Mailchimp Templates/202212 tell a story.html
|
325
|
+
- app/views/202212 Mailchimp Templates/202212 theme art-newsletter.html
|
326
|
+
- app/views/202212 Mailchimp Templates/202212 theme caribou-xmas.html
|
327
|
+
- app/views/202212 Mailchimp Templates/202212 theme colorbox.html
|
328
|
+
- app/views/202212 Mailchimp Templates/202212 theme competition-invitation.html
|
329
|
+
- app/views/202212 Mailchimp Templates/202212 theme event-veerle.html
|
330
|
+
- app/views/202212 Mailchimp Templates/202212 theme fall-colors.html
|
331
|
+
- app/views/202212 Mailchimp Templates/202212 theme gift-giving.html
|
332
|
+
- app/views/202212 Mailchimp Templates/202212 theme giftgiving-snowmen.html
|
333
|
+
- app/views/202212 Mailchimp Templates/202212 theme heart-of-flowers.html
|
334
|
+
- app/views/202212 Mailchimp Templates/202212 theme hero-card.html
|
335
|
+
- app/views/202212 Mailchimp Templates/202212 theme hero-image.html
|
336
|
+
- app/views/202212 Mailchimp Templates/202212 theme monthly-contest.html
|
337
|
+
- app/views/202212 Mailchimp Templates/202212 theme multiple-event.html
|
338
|
+
- app/views/202212 Mailchimp Templates/202212 theme postcard.html
|
339
|
+
- app/views/202212 Mailchimp Templates/202212 theme snowy-fields.html
|
340
|
+
- app/views/202212 Mailchimp Templates/202212 theme soft.html
|
341
|
+
- app/views/202212 Mailchimp Templates/202212 theme sophisticated.html
|
342
|
+
- app/views/202212 Mailchimp Templates/202212 theme subtle.html
|
343
|
+
- app/views/202212 Mailchimp Templates/202212 theme ticket.html
|
344
|
+
- app/views/202212 Mailchimp Templates/202212 theme whale.html
|
311
345
|
- app/views/ish_manager/application/_analytics.html
|
312
346
|
- app/views/ish_manager/application/_debug.haml
|
313
347
|
- app/views/ish_manager/application/_form_errors.haml
|
@@ -332,6 +366,7 @@ files:
|
|
332
366
|
- app/views/ish_manager/email_templates/_form_mini.haml
|
333
367
|
- app/views/ish_manager/email_templates/_index.haml
|
334
368
|
- app/views/ish_manager/email_templates/_m20221201react.html.erb
|
369
|
+
- app/views/ish_manager/email_templates/_m20221222merryxmas.html.erb
|
335
370
|
- app/views/ish_manager/email_templates/_marketing_react_1.html
|
336
371
|
- app/views/ish_manager/email_templates/_marketing_ror_1.html
|
337
372
|
- app/views/ish_manager/email_templates/_marketing_ror_2.html.erb
|
@@ -464,6 +499,7 @@ files:
|
|
464
499
|
- lib/systemd/system/watch_stocks.service
|
465
500
|
- lib/tasks/done/migrate.rake
|
466
501
|
- lib/tasks/ish_manager_tasks.rake
|
502
|
+
- lib/tasks/office_tasks.rake
|
467
503
|
homepage: http://wasya.co
|
468
504
|
licenses:
|
469
505
|
- MIT
|