knitkit 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/knitkit/erp_app/desktop/theme_controller.rb +0 -6
- data/app/controllers/knitkit/erp_app/desktop/website_controller.rb +7 -6
- data/app/models/theme.rb +16 -16
- data/app/models/website.rb +8 -0
- data/app/views/knitkit/blogs/_comment.html.erb +1 -1
- data/lib/knitkit/version.rb +1 -1
- metadata +291 -291
@@ -61,9 +61,6 @@ module Knitkit
|
|
61
61
|
begin
|
62
62
|
current_user.with_capability(model, 'view', 'Theme') do
|
63
63
|
if @theme.destroy
|
64
|
-
#clear resolver cache
|
65
|
-
path = File.join("#{@theme[:url]}","templates")
|
66
|
-
cached_resolver = ThemeSupport::Cache.theme_resolvers.find{|cached_resolver| cached_resolver.to_path == path}
|
67
64
|
render :json => {:success => true}
|
68
65
|
else
|
69
66
|
render :json => {:success => false}
|
@@ -245,9 +242,6 @@ module Knitkit
|
|
245
242
|
if result && !is_folder
|
246
243
|
theme_file = get_theme_file(path)
|
247
244
|
theme_file.destroy
|
248
|
-
#clear resolver cache
|
249
|
-
path = File.join("#{@theme[:url]}","templates")
|
250
|
-
cached_resolver = ThemeSupport::Cache.theme_resolvers.find{|cached_resolver| cached_resolver.to_path == path}
|
251
245
|
end
|
252
246
|
result = {:success => result, :error => message}
|
253
247
|
rescue Exception=>ex
|
@@ -81,8 +81,8 @@ module Knitkit
|
|
81
81
|
|
82
82
|
def new
|
83
83
|
model = DesktopApplication.find_by_internal_identifier('knitkit')
|
84
|
-
begin
|
85
|
-
current_user.with_capability(model, 'create', 'Website') do
|
84
|
+
#begin
|
85
|
+
#current_user.with_capability(model, 'create', 'Website') do
|
86
86
|
result = {}
|
87
87
|
website = Website.new
|
88
88
|
website.subtitle = params[:subtitle]
|
@@ -116,12 +116,13 @@ module Knitkit
|
|
116
116
|
else
|
117
117
|
result[:success] = false
|
118
118
|
end
|
119
|
+
puts website.errors.full_messages
|
119
120
|
|
120
121
|
render :json => result
|
121
|
-
end
|
122
|
-
rescue ErpTechSvcs::Utils::CompassAccessNegotiator::Errors::UserDoesNotHaveCapability=>ex
|
123
|
-
render :json => {:success => false, :message => ex.message}
|
124
|
-
end
|
122
|
+
#end
|
123
|
+
#rescue ErpTechSvcs::Utils::CompassAccessNegotiator::Errors::UserDoesNotHaveCapability=>ex
|
124
|
+
#render :json => {:success => false, :message => ex.message}
|
125
|
+
#end
|
125
126
|
end
|
126
127
|
|
127
128
|
def update
|
data/app/models/theme.rb
CHANGED
@@ -2,10 +2,10 @@ require 'yaml'
|
|
2
2
|
require 'fileutils'
|
3
3
|
|
4
4
|
class Theme < ActiveRecord::Base
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
@@theme_structure = ['stylesheets', 'javascripts', 'images', 'templates']
|
6
|
+
@@base_layouts_views_path = "#{Knitkit::Engine.root.to_s}/app/views"
|
7
|
+
@@knitkit_website_stylesheets_path = "#{Knitkit::Engine.root.to_s}/public/stylesheets/knitkit"
|
8
|
+
@@knitkit_website_images_path = "#{Knitkit::Engine.root.to_s}/public/images/knitkit"
|
9
9
|
|
10
10
|
has_file_assets
|
11
11
|
|
@@ -39,14 +39,14 @@ class Theme < ActiveRecord::Base
|
|
39
39
|
Zip::ZipFile.open(file.path) do |zip|
|
40
40
|
zip.sort.each do |entry|
|
41
41
|
entry.name.split('/').each do |file|
|
42
|
-
valid = true if
|
42
|
+
valid = true if @@theme_structure.include?(file)
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
46
46
|
valid
|
47
47
|
end
|
48
48
|
end
|
49
|
-
|
49
|
+
|
50
50
|
belongs_to :website
|
51
51
|
|
52
52
|
has_permalink :name, :theme_id, :scope => :website_id,
|
@@ -54,9 +54,9 @@ class Theme < ActiveRecord::Base
|
|
54
54
|
|
55
55
|
validates :name, :presence => {:message => 'Name cannot be blank'}
|
56
56
|
validates_uniqueness_of :theme_id, :scope => :website_id
|
57
|
-
|
57
|
+
|
58
58
|
before_destroy :delete_theme_files!
|
59
|
-
|
59
|
+
|
60
60
|
def path
|
61
61
|
"#{self.class.base_dir(website)}/#{theme_id}"
|
62
62
|
end
|
@@ -64,7 +64,7 @@ class Theme < ActiveRecord::Base
|
|
64
64
|
def url
|
65
65
|
"/public/sites/#{website.iid}/themes/#{theme_id}"
|
66
66
|
end
|
67
|
-
|
67
|
+
|
68
68
|
def activate!
|
69
69
|
update_attributes! :active => true
|
70
70
|
end
|
@@ -99,7 +99,7 @@ class Theme < ActiveRecord::Base
|
|
99
99
|
result
|
100
100
|
end
|
101
101
|
end
|
102
|
-
|
102
|
+
|
103
103
|
def import(file)
|
104
104
|
file_support = ErpTechSvcs::FileSupport::Base.new(:storage => Rails.application.config.erp_tech_svcs.file_storage)
|
105
105
|
file = ActionController::UploadedTempfile.new("uploaded-theme").tap do |f|
|
@@ -183,7 +183,7 @@ class Theme < ActiveRecord::Base
|
|
183
183
|
root_found = false
|
184
184
|
theme_root = ''
|
185
185
|
path.split('/').each do |piece|
|
186
|
-
if piece == 'about.yml' ||
|
186
|
+
if piece == 'about.yml' || @@theme_structure.include?(piece)
|
187
187
|
root_found = true
|
188
188
|
else
|
189
189
|
theme_root += piece + '/' if !piece.match('\.') && !root_found
|
@@ -204,9 +204,9 @@ class Theme < ActiveRecord::Base
|
|
204
204
|
|
205
205
|
def create_theme_files!
|
206
206
|
file_support = ErpTechSvcs::FileSupport::Base.new
|
207
|
-
create_theme_files_for_directory_node(file_support.build_tree(
|
208
|
-
create_theme_files_for_directory_node(file_support.build_tree(
|
209
|
-
create_theme_files_for_directory_node(file_support.build_tree(
|
207
|
+
create_theme_files_for_directory_node(file_support.build_tree(@@base_layouts_views_path, :preload => true), :templates, :path_to_replace => @@base_layouts_views_path)
|
208
|
+
create_theme_files_for_directory_node(file_support.build_tree(@@knitkit_website_stylesheets_path, :preload => true), :stylesheets, :path_to_replace => @@knitkit_website_stylesheets_path)
|
209
|
+
create_theme_files_for_directory_node(file_support.build_tree(@@knitkit_website_images_path, :preload => true), :images, :path_to_replace => @@knitkit_website_images_path)
|
210
210
|
end
|
211
211
|
|
212
212
|
private
|
@@ -221,7 +221,7 @@ class Theme < ActiveRecord::Base
|
|
221
221
|
contents = IO.read(path)
|
222
222
|
contents.gsub!("../../images/knitkit","../images") unless path.scan('style.css').empty?
|
223
223
|
contents.gsub!("<%= static_stylesheet_link_tag('knitkit/style.css') %>","<%= theme_stylesheet_link_tag('#{self.theme_id}','style.css') %>") unless path.scan('base.html.erb').empty?
|
224
|
-
|
224
|
+
|
225
225
|
path = case type
|
226
226
|
when :widgets
|
227
227
|
path.gsub(options[:path_to_replace], "#{self.url}/widgets/#{options[:widget_name]}")
|
@@ -231,5 +231,5 @@ class Theme < ActiveRecord::Base
|
|
231
231
|
|
232
232
|
self.add_file(contents, path)
|
233
233
|
end
|
234
|
-
|
234
|
+
|
235
235
|
end
|
data/app/models/website.rb
CHANGED
@@ -101,6 +101,8 @@ class Website < ActiveRecord::Base
|
|
101
101
|
PublishedWebsite.create(:website => self, :version => 0, :active => true, :comment => 'New Site Created')
|
102
102
|
Role.create(:description => "Website #{self.title}", :internal_identifier => website_role_iid)
|
103
103
|
configuration = ::Configuration.find_template('default_website_configuration').clone(true)
|
104
|
+
configuration.description = "Website #{self.name} Configuration"
|
105
|
+
configuration.internal_identifier = configuration.description.underscore
|
104
106
|
configuration.update_configuration_item(ConfigurationItemType.find_by_internal_identifier('contact_us_email_address'), self.email)
|
105
107
|
configuration.update_configuration_item(ConfigurationItemType.find_by_internal_identifier('login_url'), '/login')
|
106
108
|
configuration.update_configuration_item(ConfigurationItemType.find_by_internal_identifier('homepage_url'), '/home')
|
@@ -356,6 +358,12 @@ class Website < ActiveRecord::Base
|
|
356
358
|
website.save
|
357
359
|
end
|
358
360
|
|
361
|
+
if !setup_hash[:hosts].blank? and !setup_hash[:hosts].empty?
|
362
|
+
#set first host as primary host in configuration
|
363
|
+
website.configurations.first.update_configuration_item(ConfigurationItemType.find_by_internal_identifier('primary_host'), setup_hash[:hosts].first)
|
364
|
+
website.save
|
365
|
+
end
|
366
|
+
|
359
367
|
#handle sections
|
360
368
|
setup_hash[:sections].each do |section_hash|
|
361
369
|
build_section(section_hash, entries, website, current_user)
|
data/lib/knitkit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knitkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,33 +9,33 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erp_forms
|
16
|
-
requirement: &
|
16
|
+
requirement: &2161814820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0
|
21
|
+
version: '2.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2161814820
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: erp_dev_svcs
|
27
|
-
requirement: &
|
27
|
+
requirement: &2161814320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.0
|
32
|
+
version: '3.0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2161814320
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: routing-filter
|
38
|
-
requirement: &
|
38
|
+
requirement: &2161836280 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - =
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.2.4
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2161836280
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: nokogiri
|
49
|
-
requirement: &
|
49
|
+
requirement: &2161835700 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - =
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.5.0
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2161835700
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rubyzip
|
60
|
-
requirement: &
|
60
|
+
requirement: &2161834660 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - =
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 0.9.4
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2161834660
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: permalink_fu
|
71
|
-
requirement: &
|
71
|
+
requirement: &2161833840 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - =
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 1.0.0
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2161833840
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: railties
|
82
|
-
requirement: &
|
82
|
+
requirement: &2161833380 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 3.1.0
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2161833380
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: actionmailer
|
93
|
-
requirement: &
|
93
|
+
requirement: &2161832860 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: 3.1.0
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2161832860
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: actionpack
|
104
|
-
requirement: &
|
104
|
+
requirement: &2161832160 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: 3.1.0
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2161832160
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: activerecord
|
115
|
-
requirement: &
|
115
|
+
requirement: &2161831500 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: 3.1.0
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2161831500
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: activeresource
|
126
|
-
requirement: &
|
126
|
+
requirement: &2161830780 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ~>
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: 3.1.0
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2161830780
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: activesupport
|
137
|
-
requirement: &
|
137
|
+
requirement: &2161830320 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ~>
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: 3.1.0
|
143
143
|
type: :runtime
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *2161830320
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: rails
|
148
|
-
requirement: &
|
148
|
+
requirement: &2161829860 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ~>
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: 3.1.0
|
154
154
|
type: :runtime
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2161829860
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: acts-as-taggable-on
|
159
|
-
requirement: &
|
159
|
+
requirement: &2161829400 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - =
|
@@ -164,7 +164,7 @@ dependencies:
|
|
164
164
|
version: 2.1.1
|
165
165
|
type: :runtime
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *2161829400
|
168
168
|
description: Knitkit is CompassAE's content and digital asset management application.
|
169
169
|
It is based on ideas and code adapted from Mephisto and adva_cms, with significant
|
170
170
|
changes to integrate with the CompassAE object-relational layer and to harmonize
|
@@ -175,268 +175,268 @@ executables: []
|
|
175
175
|
extensions: []
|
176
176
|
extra_rdoc_files: []
|
177
177
|
files:
|
178
|
-
- public/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css
|
179
|
-
- public/stylesheets/knitkit/documentation.css
|
180
|
-
- public/stylesheets/knitkit/style.css
|
181
|
-
- public/stylesheets/extjs/resources/css/knitkit_extjs_4.css
|
182
|
-
- public/stylesheets/datepicker.css
|
183
178
|
- public/images/check.png
|
179
|
+
- public/images/credit_card.png
|
180
|
+
- public/images/knitkit/bullet.png
|
181
|
+
- public/images/knitkit/content.png
|
184
182
|
- public/images/knitkit/footer.png
|
185
|
-
- public/images/knitkit/
|
186
|
-
- public/images/knitkit/menu.png
|
187
|
-
- public/images/knitkit/logo.png
|
183
|
+
- public/images/knitkit/graphic.png
|
188
184
|
- public/images/knitkit/greyFadeDown.png
|
189
|
-
- public/images/knitkit/menu_select.png
|
190
|
-
- public/images/knitkit/content.png
|
191
185
|
- public/images/knitkit/link.png
|
186
|
+
- public/images/knitkit/logo.png
|
187
|
+
- public/images/knitkit/menu.png
|
188
|
+
- public/images/knitkit/menu_select.png
|
192
189
|
- public/images/knitkit/search.png
|
193
|
-
- public/images/knitkit/
|
194
|
-
- public/
|
195
|
-
- public/
|
196
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/
|
197
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/
|
198
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js
|
190
|
+
- public/images/knitkit/tooltip.gif
|
191
|
+
- public/javascripts/ajax_pagination.js
|
192
|
+
- public/javascripts/datepicker.js
|
193
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js
|
194
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/center_region.js
|
199
195
|
- public/javascripts/erp_app/desktop/applications/knitkit/comments_grid_panel.js
|
196
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
|
200
197
|
- public/javascripts/erp_app/desktop/applications/knitkit/file_assets_panel.js
|
198
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/image_assets_data_view.js
|
199
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/image_assets_panel.js
|
200
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js
|
201
201
|
- public/javascripts/erp_app/desktop/applications/knitkit/module.js
|
202
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/
|
202
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/publish_window.js
|
203
203
|
- public/javascripts/erp_app/desktop/applications/knitkit/published_grid_panel.js
|
204
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/west_region.js
|
205
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/widgets_panel.js
|
206
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js
|
207
204
|
- public/javascripts/erp_app/desktop/applications/knitkit/section_articles_grid_panel.js
|
205
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/themes_tree_panel.js
|
208
206
|
- public/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js
|
209
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/
|
210
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/
|
211
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/publish_window.js
|
212
|
-
- public/javascripts/ajax_pagination.js
|
207
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region.js
|
208
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/widgets_panel.js
|
213
209
|
- public/javascripts/knitkit/helpers.js
|
214
|
-
- public/
|
215
|
-
-
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
219
|
-
- app/
|
220
|
-
- app/
|
221
|
-
- app/
|
222
|
-
- app/
|
223
|
-
- app/
|
224
|
-
- app/
|
210
|
+
- public/stylesheets/datepicker.css
|
211
|
+
- public/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css
|
212
|
+
- public/stylesheets/extjs/resources/css/knitkit_extjs_4.css
|
213
|
+
- public/stylesheets/knitkit/documentation.css
|
214
|
+
- public/stylesheets/knitkit/style.css
|
215
|
+
- app/assets/javascripts/knitkit/application.js
|
216
|
+
- app/assets/stylesheets/knitkit/application.css
|
217
|
+
- app/controllers/knitkit/base_controller.rb
|
218
|
+
- app/controllers/knitkit/blogs_controller.rb
|
219
|
+
- app/controllers/knitkit/comments_controller.rb
|
220
|
+
- app/controllers/knitkit/erp_app/desktop/app_controller.rb
|
221
|
+
- app/controllers/knitkit/erp_app/desktop/articles_controller.rb
|
222
|
+
- app/controllers/knitkit/erp_app/desktop/comments_controller.rb
|
223
|
+
- app/controllers/knitkit/erp_app/desktop/content_controller.rb
|
224
|
+
- app/controllers/knitkit/erp_app/desktop/file_assets_controller.rb
|
225
|
+
- app/controllers/knitkit/erp_app/desktop/image_assets_controller.rb
|
226
|
+
- app/controllers/knitkit/erp_app/desktop/inquiries_controller.rb
|
227
|
+
- app/controllers/knitkit/erp_app/desktop/online_document_sections_controller.rb
|
228
|
+
- app/controllers/knitkit/erp_app/desktop/position_controller.rb
|
229
|
+
- app/controllers/knitkit/erp_app/desktop/theme_controller.rb
|
230
|
+
- app/controllers/knitkit/erp_app/desktop/versions_controller.rb
|
231
|
+
- app/controllers/knitkit/erp_app/desktop/website_controller.rb
|
232
|
+
- app/controllers/knitkit/erp_app/desktop/website_nav_controller.rb
|
233
|
+
- app/controllers/knitkit/erp_app/desktop/website_section_controller.rb
|
234
|
+
- app/controllers/knitkit/online_document_sections_controller.rb
|
235
|
+
- app/controllers/knitkit/unauthorized_controller.rb
|
236
|
+
- app/controllers/knitkit/website_sections_controller.rb
|
237
|
+
- app/helpers/application_helper.rb
|
238
|
+
- app/mailers/document_mailer.rb
|
239
|
+
- app/models/article.rb
|
240
|
+
- app/models/blog.rb
|
241
|
+
- app/models/comment.rb
|
242
|
+
- app/models/content.rb
|
243
|
+
- app/models/document.rb
|
244
|
+
- app/models/document_type.rb
|
245
|
+
- app/models/documented_content.rb
|
246
|
+
- app/models/documented_item.rb
|
247
|
+
- app/models/extensions/configuration.rb
|
248
|
+
- app/models/extensions/party.rb
|
249
|
+
- app/models/extensions/user.rb
|
250
|
+
- app/models/online_document_section.rb
|
251
|
+
- app/models/published_element.rb
|
252
|
+
- app/models/published_website.rb
|
253
|
+
- app/models/theme.rb
|
254
|
+
- app/models/valid_document.rb
|
255
|
+
- app/models/website.rb
|
256
|
+
- app/models/website_host.rb
|
257
|
+
- app/models/website_inquiry.rb
|
258
|
+
- app/models/website_inquiry_mailer.rb
|
259
|
+
- app/models/website_nav.rb
|
260
|
+
- app/models/website_nav_item.rb
|
261
|
+
- app/models/website_party_role.rb
|
262
|
+
- app/models/website_section.rb
|
263
|
+
- app/models/website_section_content.rb
|
264
|
+
- app/views/document_mailer/email_document.html.erb
|
265
|
+
- app/views/knitkit/articles/index.html.erb
|
266
|
+
- app/views/knitkit/articles/show.html.erb
|
267
|
+
- app/views/knitkit/blogs/_add_comment.html.erb
|
268
|
+
- app/views/knitkit/blogs/_comment.html.erb
|
269
|
+
- app/views/knitkit/blogs/index.html.erb
|
270
|
+
- app/views/knitkit/blogs/index.rss.builder
|
271
|
+
- app/views/knitkit/blogs/show.html.erb
|
272
|
+
- app/views/knitkit/online_document_sections/index.html.erb
|
273
|
+
- app/views/knitkit/unauthorized/index.html.erb
|
274
|
+
- app/views/knitkit/website_sections/index.html.erb
|
275
|
+
- app/views/layouts/knitkit/base.html.erb
|
276
|
+
- app/views/layouts/knitkit/online_document_sections.html.erb
|
277
|
+
- app/views/menus/knitkit/_default_menu.html.erb
|
278
|
+
- app/views/menus/knitkit/_default_section_menu.html.erb
|
279
|
+
- app/views/menus/knitkit/_default_sub_menu.html.erb
|
280
|
+
- app/views/menus/knitkit/_default_sub_section_menu.html.erb
|
281
|
+
- app/views/shared/knitkit/_bread_crumb.html.erb
|
282
|
+
- app/views/shared/knitkit/_footer.html.erb
|
283
|
+
- app/views/website_inquiry_mailer/inquiry.erb
|
284
|
+
- app/widgets/contact_us/base.rb
|
285
|
+
- app/widgets/contact_us/javascript/contact_us.js
|
286
|
+
- app/widgets/contact_us/views/_contact_form.html.erb
|
225
287
|
- app/widgets/contact_us/views/error.html.erb
|
288
|
+
- app/widgets/contact_us/views/index.html.erb
|
226
289
|
- app/widgets/contact_us/views/layouts/base.html.erb
|
227
290
|
- app/widgets/contact_us/views/success.html.erb
|
228
|
-
- app/widgets/
|
229
|
-
- app/widgets/
|
230
|
-
- app/widgets/
|
291
|
+
- app/widgets/google_map/base.rb
|
292
|
+
- app/widgets/google_map/javascript/google_map.js
|
293
|
+
- app/widgets/google_map/views/index.html.erb
|
294
|
+
- app/widgets/login/base.rb
|
295
|
+
- app/widgets/login/javascript/login.js
|
231
296
|
- app/widgets/login/views/index.html.erb
|
232
297
|
- app/widgets/login/views/layouts/base.html.erb
|
233
298
|
- app/widgets/login/views/login_header.html.erb
|
234
299
|
- app/widgets/login/views/reset_password.html.erb
|
235
|
-
- app/widgets/
|
236
|
-
- app/widgets/
|
237
|
-
- app/widgets/
|
238
|
-
- app/widgets/
|
239
|
-
- app/widgets/
|
240
|
-
- app/widgets/
|
241
|
-
- app/widgets/signup/views/_signup_form.html.erb
|
242
|
-
- app/widgets/signup/base.rb
|
243
|
-
- app/widgets/signup/javascript/signup.js
|
244
|
-
- app/widgets/manage_profile/views/index.html.erb
|
245
|
-
- app/widgets/manage_profile/views/error.html.erb
|
300
|
+
- app/widgets/manage_profile/base.rb
|
301
|
+
- app/widgets/manage_profile/javascript/manage_profile.js
|
302
|
+
- app/widgets/manage_profile/views/_contact_information_form.html.erb
|
303
|
+
- app/widgets/manage_profile/views/_password_form.html.erb
|
304
|
+
- app/widgets/manage_profile/views/_user_information_form.html.erb
|
305
|
+
- app/widgets/manage_profile/views/contact_type_in_use.html.erb
|
246
306
|
- app/widgets/manage_profile/views/default_type_error.html.erb
|
307
|
+
- app/widgets/manage_profile/views/error.html.erb
|
308
|
+
- app/widgets/manage_profile/views/index.html.erb
|
247
309
|
- app/widgets/manage_profile/views/layouts/base.html.erb
|
248
|
-
- app/widgets/manage_profile/views/success.html.erb
|
249
|
-
- app/widgets/manage_profile/views/contact_type_in_use.html.erb
|
250
|
-
- app/widgets/manage_profile/views/_password_form.html.erb
|
251
|
-
- app/widgets/manage_profile/views/password_success.html.erb
|
252
310
|
- app/widgets/manage_profile/views/password_blank.html.erb
|
253
|
-
- app/widgets/manage_profile/views/_user_information_form.html.erb
|
254
|
-
- app/widgets/manage_profile/views/_contact_information_form.html.erb
|
255
311
|
- app/widgets/manage_profile/views/password_invalid.html.erb
|
256
|
-
- app/widgets/manage_profile/
|
257
|
-
- app/widgets/manage_profile/
|
258
|
-
- app/widgets/reset_password/views/index.html.erb
|
259
|
-
- app/widgets/reset_password/views/layouts/base.html.erb
|
312
|
+
- app/widgets/manage_profile/views/password_success.html.erb
|
313
|
+
- app/widgets/manage_profile/views/success.html.erb
|
260
314
|
- app/widgets/reset_password/base.rb
|
261
315
|
- app/widgets/reset_password/javascript/reset_password.js
|
262
|
-
- app/
|
263
|
-
- app/
|
264
|
-
- app/
|
265
|
-
- app/
|
266
|
-
- app/
|
267
|
-
- app/
|
268
|
-
- app/views/layouts/
|
269
|
-
- app/
|
270
|
-
- app/
|
271
|
-
- app/
|
272
|
-
- app/
|
273
|
-
- app/
|
274
|
-
- app/
|
275
|
-
- app/views/
|
276
|
-
- app/
|
277
|
-
-
|
278
|
-
-
|
279
|
-
- app/views/knitkit/articles/show.html.erb
|
280
|
-
- app/views/knitkit/online_document_sections/index.html.erb
|
281
|
-
- app/views/shared/knitkit/_bread_crumb.html.erb
|
282
|
-
- app/views/shared/knitkit/_footer.html.erb
|
283
|
-
- app/views/document_mailer/email_document.html.erb
|
284
|
-
- app/models/blog.rb
|
285
|
-
- app/models/documented_content.rb
|
286
|
-
- app/models/document_type.rb
|
287
|
-
- app/models/website_inquiry.rb
|
288
|
-
- app/models/document.rb
|
289
|
-
- app/models/published_element.rb
|
290
|
-
- app/models/documented_item.rb
|
291
|
-
- app/models/article.rb
|
292
|
-
- app/models/online_document_section.rb
|
293
|
-
- app/models/website_host.rb
|
294
|
-
- app/models/valid_document.rb
|
295
|
-
- app/models/website.rb
|
296
|
-
- app/models/theme.rb
|
297
|
-
- app/models/website_section.rb
|
298
|
-
- app/models/website_party_role.rb
|
299
|
-
- app/models/website_nav_item.rb
|
300
|
-
- app/models/published_website.rb
|
301
|
-
- app/models/website_nav.rb
|
302
|
-
- app/models/content.rb
|
303
|
-
- app/models/website_inquiry_mailer.rb
|
304
|
-
- app/models/comment.rb
|
305
|
-
- app/models/website_section_content.rb
|
306
|
-
- app/models/extensions/user.rb
|
307
|
-
- app/models/extensions/party.rb
|
308
|
-
- app/models/extensions/configuration.rb
|
309
|
-
- app/mailers/document_mailer.rb
|
310
|
-
- app/helpers/application_helper.rb
|
311
|
-
- app/controllers/knitkit/website_sections_controller.rb
|
312
|
-
- app/controllers/knitkit/erp_app/desktop/articles_controller.rb
|
313
|
-
- app/controllers/knitkit/erp_app/desktop/app_controller.rb
|
314
|
-
- app/controllers/knitkit/erp_app/desktop/website_controller.rb
|
315
|
-
- app/controllers/knitkit/erp_app/desktop/content_controller.rb
|
316
|
-
- app/controllers/knitkit/erp_app/desktop/file_assets_controller.rb
|
317
|
-
- app/controllers/knitkit/erp_app/desktop/online_document_sections_controller.rb
|
318
|
-
- app/controllers/knitkit/erp_app/desktop/versions_controller.rb
|
319
|
-
- app/controllers/knitkit/erp_app/desktop/website_section_controller.rb
|
320
|
-
- app/controllers/knitkit/erp_app/desktop/theme_controller.rb
|
321
|
-
- app/controllers/knitkit/erp_app/desktop/position_controller.rb
|
322
|
-
- app/controllers/knitkit/erp_app/desktop/image_assets_controller.rb
|
323
|
-
- app/controllers/knitkit/erp_app/desktop/website_nav_controller.rb
|
324
|
-
- app/controllers/knitkit/erp_app/desktop/comments_controller.rb
|
325
|
-
- app/controllers/knitkit/erp_app/desktop/inquiries_controller.rb
|
326
|
-
- app/controllers/knitkit/base_controller.rb
|
327
|
-
- app/controllers/knitkit/online_document_sections_controller.rb
|
328
|
-
- app/controllers/knitkit/blogs_controller.rb
|
329
|
-
- app/controllers/knitkit/unauthorized_controller.rb
|
330
|
-
- app/controllers/knitkit/comments_controller.rb
|
331
|
-
- config/routes.rb
|
332
|
-
- config/environment.rb
|
333
|
-
- db/migrate/20120315163736_add_document.rb
|
334
|
-
- db/migrate/20111208180539_add_document_id_to_documented_item.rb
|
335
|
-
- db/migrate/20111207161928_create_documented_items_table.rb
|
336
|
-
- db/migrate/20120503183431_create_valid_documents.rb
|
337
|
-
- db/migrate/upgrade/20111014201502_add_published_by_to_published_elements.rb
|
338
|
-
- db/migrate/upgrade/20120213184509_add_iid_to_websites.rb
|
339
|
-
- db/migrate/upgrade/20111017133851_add_iid_to_section.rb
|
340
|
-
- db/migrate/upgrade/20120116201510_add_render_base_layout_flag.rb
|
341
|
-
- db/migrate/upgrade/20120127143745_create_website_party_roles.rb
|
342
|
-
- db/migrate/upgrade/20111014190442_update_contents.rb
|
343
|
-
- db/migrate/upgrade/20111027145006_add_in_menu_to_section.rb
|
344
|
-
- db/migrate/20110211002317_setup_knitkit.rb
|
345
|
-
- db/data_migrations/20120316150424_add_is_template_to_default_website_config.rb
|
316
|
+
- app/widgets/reset_password/views/index.html.erb
|
317
|
+
- app/widgets/reset_password/views/layouts/base.html.erb
|
318
|
+
- app/widgets/search/base.rb
|
319
|
+
- app/widgets/search/javascript/search.js
|
320
|
+
- app/widgets/search/views/_search.html.erb
|
321
|
+
- app/widgets/search/views/index.html.erb
|
322
|
+
- app/widgets/search/views/layouts/base.html.erb
|
323
|
+
- app/widgets/search/views/show.html.erb
|
324
|
+
- app/widgets/signup/base.rb
|
325
|
+
- app/widgets/signup/javascript/signup.js
|
326
|
+
- app/widgets/signup/views/_signup_form.html.erb
|
327
|
+
- app/widgets/signup/views/error.html.erb
|
328
|
+
- app/widgets/signup/views/index.html.erb
|
329
|
+
- app/widgets/signup/views/layouts/base.html.erb
|
330
|
+
- app/widgets/signup/views/success.html.erb
|
331
|
+
- config/environment.rb
|
332
|
+
- config/routes.rb
|
346
333
|
- db/data_migrations/20110509223702_add_publisher_role.rb
|
347
|
-
- db/data_migrations/
|
334
|
+
- db/data_migrations/20110816153456_add_knitkit_application.rb
|
348
335
|
- db/data_migrations/20111118182910_setup_knitkit_capabilities.rb
|
336
|
+
- db/data_migrations/20120127144444_create_website_role_types.rb
|
337
|
+
- db/data_migrations/20120127150505_create_website_default_configuration.rb
|
338
|
+
- db/data_migrations/20120127150506_add_primary_host_to_website_configuration.rb
|
339
|
+
- db/data_migrations/20120316150424_add_is_template_to_default_website_config.rb
|
349
340
|
- db/data_migrations/upgrade/20111011203718_create_paths_for_sections.rb
|
350
|
-
- db/data_migrations/upgrade/20120210195616_add_website_configs.rb
|
351
341
|
- db/data_migrations/upgrade/20111216192114_add_secured_models_to_menu_items.rb
|
352
342
|
- db/data_migrations/upgrade/20111216202819_set_contents_iid_to_permalink_where_null.rb
|
343
|
+
- db/data_migrations/upgrade/20120210195616_add_website_configs.rb
|
353
344
|
- db/data_migrations/upgrade/20120213205519_populate_website_iids.rb
|
354
|
-
- db/
|
355
|
-
- db/
|
356
|
-
- db/
|
357
|
-
-
|
358
|
-
-
|
359
|
-
-
|
360
|
-
-
|
345
|
+
- db/migrate/20110211002317_setup_knitkit.rb
|
346
|
+
- db/migrate/20111207161928_create_documented_items_table.rb
|
347
|
+
- db/migrate/20111208180539_add_document_id_to_documented_item.rb
|
348
|
+
- db/migrate/20120315163736_add_document.rb
|
349
|
+
- db/migrate/20120503183431_create_valid_documents.rb
|
350
|
+
- db/migrate/upgrade/20111014190442_update_contents.rb
|
351
|
+
- db/migrate/upgrade/20111014201502_add_published_by_to_published_elements.rb
|
352
|
+
- db/migrate/upgrade/20111017133851_add_iid_to_section.rb
|
353
|
+
- db/migrate/upgrade/20111027145006_add_in_menu_to_section.rb
|
354
|
+
- db/migrate/upgrade/20120116201510_add_render_base_layout_flag.rb
|
355
|
+
- db/migrate/upgrade/20120127143745_create_website_party_roles.rb
|
356
|
+
- db/migrate/upgrade/20120213184509_add_iid_to_websites.rb
|
361
357
|
- lib/knitkit/config.rb
|
362
|
-
- lib/knitkit/
|
363
|
-
- lib/knitkit/extensions/core/array.rb
|
364
|
-
- lib/knitkit/extensions/compass_ae/widgets/base.rb
|
365
|
-
- lib/knitkit/extensions/railties/theme_support/theme_file_resolver.rb
|
366
|
-
- lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb
|
367
|
-
- lib/knitkit/extensions/railties/action_view.rb
|
358
|
+
- lib/knitkit/engine.rb
|
368
359
|
- lib/knitkit/extensions/action_controller/theme_support/acts_as_themed_controller.rb
|
369
|
-
- lib/knitkit/extensions/active_record/acts_as_document.rb
|
370
360
|
- lib/knitkit/extensions/active_record/acts_as_commentable.rb
|
371
|
-
- lib/knitkit/extensions/active_record/
|
361
|
+
- lib/knitkit/extensions/active_record/acts_as_document.rb
|
372
362
|
- lib/knitkit/extensions/active_record/acts_as_publishable.rb
|
363
|
+
- lib/knitkit/extensions/active_record/theme_support/has_many_themes.rb
|
364
|
+
- lib/knitkit/extensions/compass_ae/widgets/base.rb
|
365
|
+
- lib/knitkit/extensions/core/array.rb
|
366
|
+
- lib/knitkit/extensions/railties/action_view.rb
|
367
|
+
- lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb
|
368
|
+
- lib/knitkit/extensions/railties/theme_support/theme_file_resolver.rb
|
369
|
+
- lib/knitkit/extensions.rb
|
370
|
+
- lib/knitkit/routing_filter/section_router.rb
|
371
|
+
- lib/knitkit/syntax_validator.rb
|
373
372
|
- lib/knitkit/version.rb
|
373
|
+
- lib/knitkit.rb
|
374
374
|
- lib/tasks/knitkit_tasks.rake
|
375
375
|
- GPL-3-LICENSE
|
376
376
|
- Rakefile
|
377
377
|
- README.md
|
378
|
+
- spec/controllers/knitkit/erp_app/desktop/articles_controller_spec.rb
|
379
|
+
- spec/controllers/knitkit/erp_app/desktop/website_controller_spec.rb
|
380
|
+
- spec/controllers/knitkit/erp_app/desktop/website_nav_controller_spec.rb
|
381
|
+
- spec/controllers/knitkit/erp_app/desktop/website_section_controller_spec.rb
|
382
|
+
- spec/dummy/app/assets/javascripts/application.js
|
383
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
384
|
+
- spec/dummy/app/controllers/application_controller.rb
|
385
|
+
- spec/dummy/app/helpers/application_helper.rb
|
386
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
387
|
+
- spec/dummy/config/application.rb
|
388
|
+
- spec/dummy/config/boot.rb
|
389
|
+
- spec/dummy/config/database.yml
|
390
|
+
- spec/dummy/config/environment.rb
|
391
|
+
- spec/dummy/config/environments/spec.rb
|
392
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
393
|
+
- spec/dummy/config/initializers/inflections.rb
|
394
|
+
- spec/dummy/config/initializers/mime_types.rb
|
395
|
+
- spec/dummy/config/initializers/secret_token.rb
|
396
|
+
- spec/dummy/config/initializers/session_store.rb
|
397
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
398
|
+
- spec/dummy/config/locales/en.yml
|
399
|
+
- spec/dummy/config/routes.rb
|
400
|
+
- spec/dummy/config/workflow.yml
|
401
|
+
- spec/dummy/config.ru
|
402
|
+
- spec/dummy/public/404.html
|
403
|
+
- spec/dummy/public/422.html
|
404
|
+
- spec/dummy/public/500.html
|
405
|
+
- spec/dummy/public/favicon.ico
|
406
|
+
- spec/dummy/Rakefile
|
407
|
+
- spec/dummy/script/rails
|
408
|
+
- spec/factories/article.rb
|
409
|
+
- spec/factories/basic.rb
|
378
410
|
- spec/factories/blog.rb
|
379
411
|
- spec/factories/documented_content.rb
|
380
412
|
- spec/factories/documented_item.rb
|
381
|
-
- spec/factories/article.rb
|
382
413
|
- spec/factories/online_document_section.rb
|
383
|
-
- spec/factories/basic.rb
|
384
|
-
- spec/factories/website_host.rb
|
385
|
-
- spec/factories/website.rb
|
386
|
-
- spec/factories/theme.rb
|
387
|
-
- spec/factories/website_section.rb
|
388
|
-
- spec/factories/website_nav_item.rb
|
389
414
|
- spec/factories/published_website.rb
|
415
|
+
- spec/factories/theme.rb
|
416
|
+
- spec/factories/website.rb
|
417
|
+
- spec/factories/website_host.rb
|
390
418
|
- spec/factories/website_nav.rb
|
391
|
-
- spec/
|
392
|
-
- spec/
|
419
|
+
- spec/factories/website_nav_item.rb
|
420
|
+
- spec/factories/website_section.rb
|
421
|
+
- spec/models/article_spec.rb
|
422
|
+
- spec/models/attribute_type_spec.rb
|
393
423
|
- spec/models/attribute_value_spec.rb
|
394
|
-
- spec/models/
|
424
|
+
- spec/models/blog_spec.rb
|
425
|
+
- spec/models/comment_spec.rb
|
395
426
|
- spec/models/content_spec.rb
|
427
|
+
- spec/models/documented_item_spec.rb
|
428
|
+
- spec/models/online_document_section_spec.rb
|
396
429
|
- spec/models/published_element_spec.rb
|
397
|
-
- spec/models/
|
398
|
-
- spec/models/website_inquiry_spec.rb
|
430
|
+
- spec/models/published_website_spec.rb
|
399
431
|
- spec/models/theme_spec.rb
|
400
|
-
- spec/models/documented_item_spec.rb
|
401
|
-
- spec/models/website_section_content_spec.rb
|
402
|
-
- spec/models/article_spec.rb
|
403
432
|
- spec/models/website_host_spec.rb
|
433
|
+
- spec/models/website_inquiry_spec.rb
|
404
434
|
- spec/models/website_nav_item_spec.rb
|
405
|
-
- spec/models/blog_spec.rb
|
406
|
-
- spec/models/website_section_spec.rb
|
407
435
|
- spec/models/website_nav_spec.rb
|
408
|
-
- spec/models/
|
436
|
+
- spec/models/website_section_content_spec.rb
|
437
|
+
- spec/models/website_section_spec.rb
|
409
438
|
- spec/models/website_spec.rb
|
410
|
-
- spec/
|
411
|
-
- spec/dummy/public/404.html
|
412
|
-
- spec/dummy/public/500.html
|
413
|
-
- spec/dummy/public/favicon.ico
|
414
|
-
- spec/dummy/config.ru
|
415
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
416
|
-
- spec/dummy/app/assets/javascripts/application.js
|
417
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
418
|
-
- spec/dummy/app/helpers/application_helper.rb
|
419
|
-
- spec/dummy/app/controllers/application_controller.rb
|
420
|
-
- spec/dummy/config/routes.rb
|
421
|
-
- spec/dummy/config/locales/en.yml
|
422
|
-
- spec/dummy/config/workflow.yml
|
423
|
-
- spec/dummy/config/boot.rb
|
424
|
-
- spec/dummy/config/application.rb
|
425
|
-
- spec/dummy/config/environments/spec.rb
|
426
|
-
- spec/dummy/config/initializers/mime_types.rb
|
427
|
-
- spec/dummy/config/initializers/session_store.rb
|
428
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
429
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
430
|
-
- spec/dummy/config/initializers/inflections.rb
|
431
|
-
- spec/dummy/config/initializers/secret_token.rb
|
432
|
-
- spec/dummy/config/environment.rb
|
433
|
-
- spec/dummy/config/database.yml
|
434
|
-
- spec/dummy/Rakefile
|
435
|
-
- spec/dummy/script/rails
|
436
|
-
- spec/controllers/knitkit/erp_app/desktop/articles_controller_spec.rb
|
437
|
-
- spec/controllers/knitkit/erp_app/desktop/website_nav_controller_spec.rb
|
438
|
-
- spec/controllers/knitkit/erp_app/desktop/website_section_controller_spec.rb
|
439
|
-
- spec/controllers/knitkit/erp_app/desktop/website_controller_spec.rb
|
439
|
+
- spec/spec_helper.rb
|
440
440
|
homepage: http://development.compassagile.com
|
441
441
|
licenses: []
|
442
442
|
post_install_message:
|
@@ -457,70 +457,70 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
457
457
|
version: '0'
|
458
458
|
requirements: []
|
459
459
|
rubyforge_project:
|
460
|
-
rubygems_version: 1.8.
|
460
|
+
rubygems_version: 1.8.15
|
461
461
|
signing_key:
|
462
462
|
specification_version: 3
|
463
463
|
summary: CMS built for the Compass AE framework
|
464
464
|
test_files:
|
465
|
+
- spec/controllers/knitkit/erp_app/desktop/articles_controller_spec.rb
|
466
|
+
- spec/controllers/knitkit/erp_app/desktop/website_controller_spec.rb
|
467
|
+
- spec/controllers/knitkit/erp_app/desktop/website_nav_controller_spec.rb
|
468
|
+
- spec/controllers/knitkit/erp_app/desktop/website_section_controller_spec.rb
|
469
|
+
- spec/dummy/app/assets/javascripts/application.js
|
470
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
471
|
+
- spec/dummy/app/controllers/application_controller.rb
|
472
|
+
- spec/dummy/app/helpers/application_helper.rb
|
473
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
474
|
+
- spec/dummy/config/application.rb
|
475
|
+
- spec/dummy/config/boot.rb
|
476
|
+
- spec/dummy/config/database.yml
|
477
|
+
- spec/dummy/config/environment.rb
|
478
|
+
- spec/dummy/config/environments/spec.rb
|
479
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
480
|
+
- spec/dummy/config/initializers/inflections.rb
|
481
|
+
- spec/dummy/config/initializers/mime_types.rb
|
482
|
+
- spec/dummy/config/initializers/secret_token.rb
|
483
|
+
- spec/dummy/config/initializers/session_store.rb
|
484
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
485
|
+
- spec/dummy/config/locales/en.yml
|
486
|
+
- spec/dummy/config/routes.rb
|
487
|
+
- spec/dummy/config/workflow.yml
|
488
|
+
- spec/dummy/config.ru
|
489
|
+
- spec/dummy/public/404.html
|
490
|
+
- spec/dummy/public/422.html
|
491
|
+
- spec/dummy/public/500.html
|
492
|
+
- spec/dummy/public/favicon.ico
|
493
|
+
- spec/dummy/Rakefile
|
494
|
+
- spec/dummy/script/rails
|
495
|
+
- spec/factories/article.rb
|
496
|
+
- spec/factories/basic.rb
|
465
497
|
- spec/factories/blog.rb
|
466
498
|
- spec/factories/documented_content.rb
|
467
499
|
- spec/factories/documented_item.rb
|
468
|
-
- spec/factories/article.rb
|
469
500
|
- spec/factories/online_document_section.rb
|
470
|
-
- spec/factories/basic.rb
|
471
|
-
- spec/factories/website_host.rb
|
472
|
-
- spec/factories/website.rb
|
473
|
-
- spec/factories/theme.rb
|
474
|
-
- spec/factories/website_section.rb
|
475
|
-
- spec/factories/website_nav_item.rb
|
476
501
|
- spec/factories/published_website.rb
|
502
|
+
- spec/factories/theme.rb
|
503
|
+
- spec/factories/website.rb
|
504
|
+
- spec/factories/website_host.rb
|
477
505
|
- spec/factories/website_nav.rb
|
478
|
-
- spec/
|
479
|
-
- spec/
|
506
|
+
- spec/factories/website_nav_item.rb
|
507
|
+
- spec/factories/website_section.rb
|
508
|
+
- spec/models/article_spec.rb
|
509
|
+
- spec/models/attribute_type_spec.rb
|
480
510
|
- spec/models/attribute_value_spec.rb
|
481
|
-
- spec/models/
|
511
|
+
- spec/models/blog_spec.rb
|
512
|
+
- spec/models/comment_spec.rb
|
482
513
|
- spec/models/content_spec.rb
|
514
|
+
- spec/models/documented_item_spec.rb
|
515
|
+
- spec/models/online_document_section_spec.rb
|
483
516
|
- spec/models/published_element_spec.rb
|
484
|
-
- spec/models/
|
485
|
-
- spec/models/website_inquiry_spec.rb
|
517
|
+
- spec/models/published_website_spec.rb
|
486
518
|
- spec/models/theme_spec.rb
|
487
|
-
- spec/models/documented_item_spec.rb
|
488
|
-
- spec/models/website_section_content_spec.rb
|
489
|
-
- spec/models/article_spec.rb
|
490
519
|
- spec/models/website_host_spec.rb
|
520
|
+
- spec/models/website_inquiry_spec.rb
|
491
521
|
- spec/models/website_nav_item_spec.rb
|
492
|
-
- spec/models/blog_spec.rb
|
493
|
-
- spec/models/website_section_spec.rb
|
494
522
|
- spec/models/website_nav_spec.rb
|
495
|
-
- spec/models/
|
523
|
+
- spec/models/website_section_content_spec.rb
|
524
|
+
- spec/models/website_section_spec.rb
|
496
525
|
- spec/models/website_spec.rb
|
497
|
-
- spec/
|
498
|
-
- spec/dummy/public/404.html
|
499
|
-
- spec/dummy/public/500.html
|
500
|
-
- spec/dummy/public/favicon.ico
|
501
|
-
- spec/dummy/config.ru
|
502
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
503
|
-
- spec/dummy/app/assets/javascripts/application.js
|
504
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
505
|
-
- spec/dummy/app/helpers/application_helper.rb
|
506
|
-
- spec/dummy/app/controllers/application_controller.rb
|
507
|
-
- spec/dummy/config/routes.rb
|
508
|
-
- spec/dummy/config/locales/en.yml
|
509
|
-
- spec/dummy/config/workflow.yml
|
510
|
-
- spec/dummy/config/boot.rb
|
511
|
-
- spec/dummy/config/application.rb
|
512
|
-
- spec/dummy/config/environments/spec.rb
|
513
|
-
- spec/dummy/config/initializers/mime_types.rb
|
514
|
-
- spec/dummy/config/initializers/session_store.rb
|
515
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
516
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
517
|
-
- spec/dummy/config/initializers/inflections.rb
|
518
|
-
- spec/dummy/config/initializers/secret_token.rb
|
519
|
-
- spec/dummy/config/environment.rb
|
520
|
-
- spec/dummy/config/database.yml
|
521
|
-
- spec/dummy/Rakefile
|
522
|
-
- spec/dummy/script/rails
|
523
|
-
- spec/controllers/knitkit/erp_app/desktop/articles_controller_spec.rb
|
524
|
-
- spec/controllers/knitkit/erp_app/desktop/website_nav_controller_spec.rb
|
525
|
-
- spec/controllers/knitkit/erp_app/desktop/website_section_controller_spec.rb
|
526
|
-
- spec/controllers/knitkit/erp_app/desktop/website_controller_spec.rb
|
526
|
+
- spec/spec_helper.rb
|