wco_models 3.1.0.151 → 3.1.0.153

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/wco/profiles_controller.rb +21 -0
  3. data/app/controllers/wco/reports_controller.rb +1 -1
  4. data/app/controllers/wco/sites_controller.rb +5 -0
  5. data/app/controllers/wco/tags_controller.rb +1 -0
  6. data/app/models/wco/log.rb +2 -2
  7. data/app/models/wco/profile.rb +2 -0
  8. data/app/models/wco/report.rb +6 -2
  9. data/app/models/wco/site.rb +36 -0
  10. data/app/models/wco/tag.rb +2 -1
  11. data/app/models/wco/utils.rb +9 -0
  12. data/app/models/wco_hosting/appliance.rb +15 -13
  13. data/app/models/wco_hosting/appliance_tmpl.rb +2 -6
  14. data/app/models/wco_hosting/environment.rb +2 -0
  15. data/app/models/wco_hosting/file.rb +16 -0
  16. data/app/models/wco_hosting/runner.rb +1 -0
  17. data/app/models/wco_hosting/serverhost.rb +1 -0
  18. data/app/models/wco_hosting/task.rb +3 -0
  19. data/app/models/wco_hosting/task_tmpl.rb +9 -0
  20. data/app/views/wco/galleries/_header.haml +1 -1
  21. data/app/views/wco/galleries/_index.haml +1 -1
  22. data/app/views/wco/profiles/_form.haml +4 -0
  23. data/app/views/wco/profiles/new.haml +5 -0
  24. data/app/views/wco/reports/{_list.haml → _index.haml} +4 -3
  25. data/app/views/wco/reports/index.haml +1 -1
  26. data/app/views/wco/reports/show.haml +2 -3
  27. data/app/views/wco/sites/index.haml +8 -8
  28. data/app/views/wco/sites/show.haml +8 -0
  29. data/app/views/wco/tags/_form.haml +3 -0
  30. data/app/views/wco/tags/_header.haml +6 -5
  31. data/app/views/wco/tags/_list_chips.haml +1 -0
  32. data/app/views/wco/tags/show.haml +1 -1
  33. data/app/views/wco_email/conversations/_table.haml +1 -1
  34. data/lib/tasks/wp_tasks.rake +10 -0
  35. metadata +9 -4
  36. /data/app/views/wco/tags/{_list_mini.haml → _index_chips.haml} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e824b16145363e5d17b5d92ec49ad8eed54b66493576073881120a6b45da2c3
4
- data.tar.gz: b317c3d100065b7bb886493af60a8ca0588150b896243a6228ad721a0a820c0a
3
+ metadata.gz: d25598a6db9204889720f02b371b8e1d206724f49af7dbbf6122f15973d00a8a
4
+ data.tar.gz: e5b36788322711cbbd54463d38d9dd3e45684c4679002048784a7f3d3768d106
5
5
  SHA512:
6
- metadata.gz: babbbaad0b95c6aa87a58c0e15dadd69e532d258190292c5a532af6ecc7aaeb469e49f672eb62c4e339186a51faa9675d930e6d871e9ac814b282d8f1cdf1fe3
7
- data.tar.gz: 57c2329932c5d2e763732b19f543228f521871443b7b1cbec198f3adea9d10d9df7edb532e919a01cd04d44d16b66cea6097f7f60deb3229b4377c31aea030fb
6
+ metadata.gz: cb1ca289cc7a97e4f423d5c6928e162bd471d00a8c18f2d2061ed8a6fb387a31c23c383a64762cbf007120162c822a8554468dcc2fab2c70dcd17f8f46a693da
7
+ data.tar.gz: be52e2c4133a04e9fb9af78921cf5548b287c0ef917bafeae90fa9948654cddc293f6145a2260add440675bac78ec5864485ab2e3778a0f3d2af0d19058deb98
@@ -1,6 +1,18 @@
1
1
 
2
2
  class Wco::ProfilesController < Wco::ApplicationController
3
3
 
4
+ def create
5
+ @profile = Wco::Profile.new params[:profile].permit!
6
+ authorize! :create, @profile
7
+ if @profile.save
8
+ flash_notice @profile
9
+ redirect_to action: :index
10
+ else
11
+ flash_alert @profile
12
+ render action: 'new'
13
+ end
14
+ end
15
+
4
16
  def edit
5
17
  @profile = Wco::Profile.find params[:id]
6
18
  authorize! :update, @profile
@@ -9,6 +21,15 @@ class Wco::ProfilesController < Wco::ApplicationController
9
21
  def index
10
22
  @profiles = Wco::Profile.all
11
23
  authorize! :index, Wco::Profile
24
+ if params[:q]
25
+ q = URI.decode(params[:q])
26
+ @profiles = @profiles.where({ email: /#{q}/i })
27
+ end
28
+ end
29
+
30
+ def new
31
+ @new_profile = Wco::Profile.new
32
+ authorize! :new, @new_profile
12
33
  end
13
34
 
14
35
  def update
@@ -34,7 +34,7 @@ class Wco::ReportsController < Wco::ApplicationController
34
34
 
35
35
  def index
36
36
  authorize! :index, Wco::Report
37
- @reports = Wco::Report.all
37
+ @reports = Wco::Report.all.page( params[:reports_page] ).per( current_profile.per_page )
38
38
  if params[:deleted]
39
39
  @reports = Wco::Report.unscoped.where( :deleted_at.ne => nil )
40
40
  end
@@ -38,6 +38,11 @@ class Wco::SitesController < Wco::ApplicationController
38
38
  @new_site = Wco::Site.new
39
39
  end
40
40
 
41
+ def show
42
+ @site = Wco::Site.find params[:id]
43
+ authorize! :show, @site
44
+ end
45
+
41
46
  def update
42
47
  @site = Wco::Site.find params[:id]
43
48
  authorize! :update, @site
@@ -91,6 +91,7 @@ class Wco::TagsController < Wco::ApplicationController
91
91
 
92
92
  def set_lists
93
93
  @new_tag = Wco::Tag.new
94
+ @sites_list = Wco::Site.list
94
95
  @tags = Wco::Tag.all.order_by( slug: :asc )
95
96
  @tags_list = Wco::Tag.list
96
97
  end
@@ -6,8 +6,8 @@ class Wco::Log
6
6
  include Mongoid::Paranoia
7
7
  store_in collection: 'wco_logs'
8
8
 
9
- field :label, type: :string
10
- field :message, type: :string
9
+ field :label, type: :string ## can be the stream: 'stdout' or 'stderr'
10
+ field :message, type: :string ## can be json
11
11
 
12
12
  belongs_to :obj, polymorphic: true, optional: true
13
13
 
@@ -12,6 +12,8 @@ class Wco::Profile
12
12
  field :per_page, type: :integer, default: 25
13
13
  field :show_n_thumbs, type: :integer, default: 8
14
14
 
15
+ has_many :reports, class_name: 'Wco::Report'
16
+
15
17
  belongs_to :leadset, class_name: 'Wco::Leadset', inverse_of: :profile, optional: true
16
18
  has_many :newsitems, class_name: 'Wco::Newsitem'
17
19
  has_and_belongs_to_many :shared_galleries, class_name: 'Wco::Gallery', inverse_of: :shared_profiles
@@ -10,11 +10,12 @@ class Wco::Report
10
10
  store_in collection: 'wco_reports'
11
11
 
12
12
  field :title
13
- validates :title, presence: true, uniqueness: true
13
+ validates :title, presence: true # , uniqueness: true
14
14
  index({ title: 1 }, { unique: true })
15
15
  def name ; title ; end
16
16
 
17
17
  field :subtitle
18
+ field :legacy_id, type: String
18
19
 
19
20
  field :slug
20
21
  validates :slug, presence: true, uniqueness: true
@@ -27,7 +28,10 @@ class Wco::Report
27
28
  field :y, :type => Float
28
29
  field :z, :type => Float
29
30
 
30
- # has_one :photo
31
+ belongs_to :author, class_name: 'Wco::Profile'
32
+
33
+ # has_one :image_thumb
34
+ # has_one :image_hero
31
35
 
32
36
  has_and_belongs_to_many :tags
33
37
 
@@ -16,6 +16,7 @@ class Wco::Site
16
16
 
17
17
  has_many :publishers # , class_name: 'Wco::Publisher'
18
18
  has_many :headlines # , class_name: 'Wco::Newstitle'
19
+ has_many :tags, class_name: 'Wco::Tag'
19
20
 
20
21
  field :slug
21
22
  validates :slug, presence: true, uniqueness: true
@@ -65,4 +66,39 @@ class Wco::Site
65
66
  )
66
67
  end
67
68
 
69
+ def wp_import
70
+ site = self
71
+
72
+ root_tag = Wco::Tag.find_or_create_by slug: "#{site.slug}_wp-import", site_id: site.id
73
+ url = "#{site.origin}/wp-json/wp/v2/posts"
74
+ pi_admin = Wco::Profile.find_or_create_by email: 'admin@piousbox.com'
75
+ n_pages = 12
76
+ per_page = 100
77
+
78
+ (1..n_pages).each do |page|
79
+ print "Page #{page}"
80
+
81
+ posts = HTTParty.get url, query: { per_page: per_page, page: page }
82
+ posts.each do |post|
83
+ report = Wco::Report.new({
84
+ legacy_id: post['id'],
85
+ created_at: post['date'],
86
+ slug: post['link'].sub(site.origin, ''),
87
+ title: post['title']['rendered'],
88
+ subtitle: post['excerpt']['rendered'],
89
+ body: post['content']['rendered'],
90
+ author: pi_admin,
91
+ tag_ids: ( [ root_tag ] + site.tags.where( :legacy_id.in => post['categories'] ) ).map(&:id),
92
+ })
93
+
94
+ if report.save
95
+ print '^'
96
+ else
97
+ puts report.errors.messages
98
+ end
99
+ end
100
+ end
101
+ puts "ok"
102
+ end
103
+
68
104
  end
@@ -9,9 +9,10 @@ class Wco::Tag
9
9
  validates :slug, presence: true, uniqueness: true
10
10
  index({ slug: -1 })
11
11
 
12
- belongs_to :parent, class_name: 'Wco::Tag', inverse_of: :sons
12
+ belongs_to :parent, class_name: 'Wco::Tag', inverse_of: :sons, optional: true
13
13
  has_many :sons, class_name: 'Wco::Tag', inverse_of: :parent
14
14
 
15
+ belongs_to :site, class_name: 'Wco::Site', optional: true
15
16
  has_many :email_filters, class_name: 'WcoEmail::EmailFilter', inverse_of: :tag
16
17
 
17
18
  has_and_belongs_to_many :conversations, class_name: 'WcoEmail::Conversation', index: true
@@ -17,6 +17,15 @@ module Wco::Utils
17
17
  out.with_indifferent_access
18
18
  end
19
19
 
20
+ def self.included(base)
21
+ base.extend(ClassMethods)
22
+ end
23
+ module ClassMethods
24
+ def list
25
+ [[nil,nil]] + all.map { |a| [ a, a.id ] }
26
+ end
27
+ end
28
+
20
29
  private
21
30
 
22
31
  def set_slug
@@ -3,21 +3,25 @@ class WcoHosting::Appliance
3
3
  include Mongoid::Document
4
4
  include Mongoid::Timestamps
5
5
  include Mongoid::Paranoia
6
+ include Wco::Utils
6
7
  store_in collection: 'wco_appliances'
7
8
 
8
9
  has_many :logs, as: :obj, class_name: 'Wco::Log'
9
- field :stdout, type: :string, default: ''
10
- field :stderr, type: :string, default: ''
10
+ has_many :files, class_name: 'WcoHosting::File'
11
11
 
12
+ field :rc_json, type: Object, default: '{}'
13
+ def rc
14
+ OpenStruct.new JSON.parse rc_json
15
+ end
12
16
 
13
17
  belongs_to :leadset, class_name: 'Wco::Leadset', inverse_of: :appliances
14
18
  belongs_to :subscription, class_name: 'Wco::Subscription' # , inverse_of: :appliance
15
19
 
16
- field :service_name
17
- before_validation :set_service_name, on: :create, unless: ->{ service_name }
18
- def set_service_name
19
- self[:service_name] = host.gsub(".", "_")
20
- end
20
+ # field :service_name
21
+ # before_validation :set_service_name, on: :create, unless: ->{ service_name }
22
+ # def set_service_name
23
+ # self[:service_name] = host.gsub(".", "_")
24
+ # end
21
25
 
22
26
 
23
27
  belongs_to :environment, class_name: 'WcoHosting::Environment', inverse_of: :appliances, optional: true
@@ -26,9 +30,9 @@ class WcoHosting::Appliance
26
30
  end
27
31
 
28
32
  field :subdomain
29
- field :domain
33
+ belongs_to :domain, class_name: 'WcoHosting::Domain'
30
34
  def host
31
- "#{subdomain}.#{domain}"
35
+ "#{subdomain}.#{domain.name}"
32
36
  end
33
37
 
34
38
  field :n_retries, type: :integer, default: 3
@@ -37,9 +41,7 @@ class WcoHosting::Appliance
37
41
  def tmpl
38
42
  appliance_tmpl
39
43
  end
40
- def kind
41
- tmpl.kind
42
- end
44
+ delegate :kind, to: :appliance_tmpl
43
45
 
44
46
  belongs_to :serverhost, class_name: 'WcoHosting::Serverhost', optional: true
45
47
 
@@ -51,7 +53,7 @@ class WcoHosting::Appliance
51
53
  field :state, default: STATE_PENDING
52
54
 
53
55
  def to_s
54
- service_name
56
+ appliance_tmpl # kind
55
57
  end
56
58
  end
57
59
 
@@ -4,6 +4,7 @@ class WcoHosting::ApplianceTmpl
4
4
  include Mongoid::Document
5
5
  include Mongoid::Timestamps
6
6
  include Mongoid::Paranoia
7
+ include Wco::Utils
7
8
  store_in collection: 'wco_appliance_tmpls'
8
9
 
9
10
  field :kind, type: :string
@@ -75,9 +76,7 @@ class WcoHosting::ApplianceTmpl
75
76
  has_many :appliances, class_name: 'WcoHosting::Appliance'
76
77
  has_many :subscriptions, as: :product, class_name: 'Wco::Subscription'
77
78
  has_many :prices, as: :product, class_name: 'Wco::Price'
78
-
79
- # has_and_belongs_to_many :leadsets, class_name: 'Wco::Leadset'
80
- # has_many :appliance_tmpl_leadsets, class_name: 'WcoHosting::ApplianceTmplLeadset'
79
+ has_and_belongs_to_many :task_tmpls, class_name: 'WcoHosting::TaskTmpl'
81
80
 
82
81
  field :product_id # stripe
83
82
 
@@ -91,9 +90,6 @@ class WcoHosting::ApplianceTmpl
91
90
  self.product_id = stripe_product.id
92
91
  end
93
92
 
94
- def self.list
95
- [[nil,nil]] + all.map { |a| [ a.kind, a.id ] }
96
- end
97
93
  def to_s
98
94
  "#{kind}-#{version}"
99
95
  end
@@ -3,6 +3,7 @@ class WcoHosting::Environment
3
3
  include Mongoid::Document
4
4
  include Mongoid::Timestamps
5
5
  include Mongoid::Paranoia
6
+ include Wco::Utils
6
7
  store_in collection: 'wco_environments'
7
8
 
8
9
  belongs_to :leadset, class_name: 'Wco::Leadset', inverse_of: :environments
@@ -16,6 +17,7 @@ class WcoHosting::Environment
16
17
  ## variable @env in execution environments
17
18
  field :env_json, type: Object, default: '{}'
18
19
 
20
+
19
21
  def to_s
20
22
  name
21
23
  end
@@ -0,0 +1,16 @@
1
+
2
+ class WcoHosting::File
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps
5
+ include Mongoid::Paranoia
6
+ store_in collection: 'wco_hosting_files'
7
+
8
+ belongs_to :serverhost, class_name: 'WcoHosting::Serverhost'
9
+ belongs_to :appliance, class_name: 'WcoHosting::Appliance'
10
+
11
+ field :path, type: :string
12
+ field :template_erb, type: :string
13
+ field :pre_exe, type: :string
14
+ field :post_exe, type: :string
15
+
16
+ end
@@ -10,6 +10,7 @@ class WcoHosting::Runner
10
10
 
11
11
  TASK_REDEPLOY_ECS_TASK_DEFINITION = 'redeploy-ecs-task-definition'
12
12
  TASK_REDEPLOY_ECS_TASK = 'redeploy-ecs-task'
13
+ TASK_SYNC_ECS_TASK = 'sync-ecs-task'
13
14
  TASKS = []
14
15
 
15
16
  def self.do_exec cmd
@@ -28,6 +28,7 @@ class WcoHosting::Serverhost
28
28
  # field :ssh_key
29
29
 
30
30
  has_many :appliances, class_name: 'WcoHosting::Appliance'
31
+ has_many :files, class_name: 'WcoHosting::File'
31
32
 
32
33
  def create_appliance app
33
34
  # puts! app, 'Serverhost#create_appliance'
@@ -5,4 +5,7 @@ class WcoHosting::Task
5
5
  include Mongoid::Paranoia
6
6
  store_in collection: 'wco_tasks'
7
7
 
8
+ belongs_to :task_tmpl, class_name: 'WcoHosting::TaskTmpl'
9
+ belongs_to :appliance_tmpl, class_name: 'WcoHosting::ApplianceTmpl'
10
+
8
11
  end
@@ -8,4 +8,13 @@ class WcoHosting::TaskTmpl
8
8
  field :slug
9
9
  validates :slug, presence: true
10
10
 
11
+ has_many :tasks, class_name: 'WcoHosting::Task'
12
+ has_and_belongs_to_many :appliance_tmpls, class_name: 'WcoHosting::ApplianceTmpl'
13
+
14
+ def to_s
15
+ slug
16
+ end
17
+ def self.list
18
+ [[nil,nil]] + all.map { |t| [t, t.id] }
19
+ end
11
20
  end
@@ -12,7 +12,7 @@
12
12
  %i.material-icons visibility_off
13
13
  = render 'meta', :item => gallery
14
14
 
15
- = render '/wco/tags/list_mini', tags: gallery.tags, resource: gallery
15
+ = render '/wco/tags/list_chips', tags: gallery.tags, resource: gallery
16
16
 
17
17
  %ul
18
18
  %li slug :: #{gallery.slug}
@@ -14,7 +14,7 @@
14
14
  - if galleries.length > 0
15
15
  = form_tag update_galleries_path do
16
16
 
17
- = render '/wco/tags/list_mini', tags: @tags
17
+ = render '/wco/tags/list_chips', tags: @tags
18
18
 
19
19
  = submit_tag 'Add Tags', data: { confirm: 'Are you sure?' }
20
20
  &nbsp;&nbsp;
@@ -1,6 +1,10 @@
1
1
 
2
2
  .profiles--form
3
3
  = form_for profile do |f|
4
+ .field
5
+ %label email
6
+ = f.text_field :email
7
+
4
8
  .field
5
9
  %label role
6
10
  = f.select :role, options_for_select(Wco::Profile.roles_list, selected: profile.role )
@@ -0,0 +1,5 @@
1
+
2
+ .profiles-new.maxwidth
3
+ .header
4
+ %h5.title New Profile
5
+ = render 'form', profile: @new_profile
@@ -1,7 +1,8 @@
1
1
 
2
2
  - config ||= {}
3
3
 
4
- .reports--list
4
+ .reports--index
5
+ = paginate reports, :param_name => :reports_page, :views_prefix => 'wco'
5
6
  %ul
6
7
  - reports.each do |ttt|
7
8
  %li.Card
@@ -15,5 +16,5 @@
15
16
  .gray.mini= ttt.id
16
17
  - if !config[:skip_tags]
17
18
  .flex-row
18
- = render '/wco/tags/index_inline', tags: ttt.tags
19
-
19
+ = render '/wco/tags/list_chips', tags: ttt.tags
20
+ = paginate reports, :param_name => :reports_page, :views_prefix => 'wco'
@@ -3,4 +3,4 @@
3
3
  .header
4
4
  %h5.title
5
5
  = render 'header'
6
- = render 'wco/reports/list', reports: @reports
6
+ = render 'wco/reports/index', reports: @reports
@@ -7,7 +7,6 @@
7
7
  `#{@report.slug}`
8
8
  .gray.mini= @report.id
9
9
 
10
- .descr= raw @report.body
11
- -# %pre.descr= raw @report.body
10
+ = render 'wco/tags/index_chips', tags: @report.tags
12
11
 
13
- = @report.inspect
12
+ .descr= raw @report.body
@@ -11,14 +11,14 @@
11
11
  -# %th kind
12
12
  %th origin
13
13
  -# %th post_path
14
- - @sites.each do |ttt|
14
+ - @sites.each do |site|
15
15
  %tr
16
16
  %td
17
17
  .flex-row
18
- = button_to '[x]', site_path(ttt), method: :delete, data: { confirm: 'Are you sure?' }
19
- = link_to '[~]', edit_site_path(ttt)
20
- .gray.mini= ttt.id
21
- %td= ttt.slug
22
- -# %td= ttt.kind
23
- %td= ttt.origin
24
- -# %td= ttt.post_path
18
+ = button_to '[x]', site_path(site), method: :delete, data: { confirm: 'Are you sure?' }
19
+ = link_to '[~]', edit_site_path(site)
20
+ .gray.mini= site.id
21
+ %td= link_to site.slug, site_path(site)
22
+ -# %td= site.kind
23
+ %td= site.origin
24
+ -# %td= site.post_path
@@ -0,0 +1,8 @@
1
+
2
+ .sites-show.maxwidth
3
+ .header
4
+ %h5.title
5
+ = @site
6
+
7
+ = render '/wco/tags/header'
8
+ = render '/wco/tags/index', tags: @site.tags
@@ -2,6 +2,9 @@
2
2
  .tags--form
3
3
  = form_for tag do |f|
4
4
 
5
+ .d-flex
6
+ %label site
7
+ = f.select :site_id, options_for_select(@sites_list, selected: tag.site_id), {}, class: 'select2'
5
8
  .field
6
9
  %label slug
7
10
  = f.text_field :slug
@@ -1,6 +1,7 @@
1
1
 
2
- = link_to "Tags (#{Wco::Tag.all.length})", wco.tags_path
3
- .inline-search
4
- = form_tag wco.tags_path, method: :get do
5
- = text_field_tag :q
6
- = link_to '[+]', wco.new_tag_path
2
+ .d-flex
3
+ = link_to "Tags (#{Wco::Tag.all.length})", wco.tags_path
4
+ .inline-search
5
+ = form_tag wco.tags_path, method: :get do
6
+ = text_field_tag :q
7
+ = link_to '[+]', wco.new_tag_path
@@ -0,0 +1 @@
1
+ app/views/wco/tags/_index_chips.haml
@@ -22,4 +22,4 @@
22
22
  = render 'wco/galleries/index', galleries: @galleries, config: { skip_tags: true }
23
23
  %li.d-flex
24
24
  <b>Reports (#{@reports.length}):&nbsp;</b>
25
- = render 'wco/reports/list', reports: @reports, config: { skip_tags: true }
25
+ = render 'wco/reports/index', reports: @reports, config: { skip_tags: true }
@@ -40,7 +40,7 @@
40
40
  -# = render '/wco_email/contexts/form_reply_mini', lead_id: msg.lead_id, message: msg, ctx: WcoEmail::Context.new({ from_email: msg.to&.downcase, subject: msg.subject, email_template_id: ET.find_by( slug: 'blank').id })
41
41
 
42
42
  %td.tags.mini
43
- = render '/wco/tags/list_mini', tags: conv.tags, cache_key: conv.cache_key, config: OpenStruct.new( without_checkbox: true )
43
+ = render '/wco/tags/list_chips', tags: conv.tags, cache_key: conv.cache_key, config: OpenStruct.new( without_checkbox: true )
44
44
  %td.latest-at
45
45
  = pp_date conv.latest_at
46
46
  = pp_time conv.latest_at
@@ -0,0 +1,10 @@
1
+
2
+ namespace :wp do
3
+
4
+ desc 'import a whole site into reports'
5
+ task :import_all_reports => :environment do
6
+ site = Wco::Site.find_by slug: 'pi-drup-prod'
7
+ site.wp_import
8
+ end
9
+
10
+ end
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.151
4
+ version: 3.1.0.153
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-05 00:00:00.000000000 Z
11
+ date: 2024-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -475,6 +475,7 @@ files:
475
475
  - app/models/wco_hosting/appliance_tmpl.rb
476
476
  - app/models/wco_hosting/domain.rb
477
477
  - app/models/wco_hosting/environment.rb
478
+ - app/models/wco_hosting/file.rb
478
479
  - app/models/wco_hosting/runner.rb
479
480
  - app/models/wco_hosting/serverhost.rb
480
481
  - app/models/wco_hosting/subdomain.rb
@@ -582,6 +583,7 @@ files:
582
583
  - app/views/wco/profiles/_header.haml
583
584
  - app/views/wco/profiles/edit.haml
584
585
  - app/views/wco/profiles/index.haml
586
+ - app/views/wco/profiles/new.haml
585
587
  - app/views/wco/publishers/_form.haml
586
588
  - app/views/wco/publishers/_header.haml
587
589
  - app/views/wco/publishers/edit.haml
@@ -589,7 +591,7 @@ files:
589
591
  - app/views/wco/publishers/new.haml
590
592
  - app/views/wco/reports/_form.haml
591
593
  - app/views/wco/reports/_header.haml
592
- - app/views/wco/reports/_list.haml
594
+ - app/views/wco/reports/_index.haml
593
595
  - app/views/wco/reports/edit.haml
594
596
  - app/views/wco/reports/index.haml
595
597
  - app/views/wco/reports/index_table.haml
@@ -600,10 +602,12 @@ files:
600
602
  - app/views/wco/sites/edit.haml
601
603
  - app/views/wco/sites/index.haml
602
604
  - app/views/wco/sites/new.haml
605
+ - app/views/wco/sites/show.haml
603
606
  - app/views/wco/tags/_form.haml
604
607
  - app/views/wco/tags/_header.haml
605
608
  - app/views/wco/tags/_index.haml
606
- - app/views/wco/tags/_list_mini.haml
609
+ - app/views/wco/tags/_index_chips.haml
610
+ - app/views/wco/tags/_list_chips.haml
607
611
  - app/views/wco/tags/edit.haml
608
612
  - app/views/wco/tags/index.haml
609
613
  - app/views/wco/tags/new.haml
@@ -660,6 +664,7 @@ files:
660
664
  - config/routes.rb
661
665
  - lib/tasks/db_tasks.rake
662
666
  - lib/tasks/office_tasks.rake
667
+ - lib/tasks/wp_tasks.rake
663
668
  - lib/wco/ai_writer.rb
664
669
  - lib/wco/engine.rb
665
670
  - lib/wco/office_worker.rb