knitkit 2.1.15 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/controllers/knitkit/base_controller.rb +1 -1
- data/app/controllers/knitkit/comments_controller.rb +7 -2
- data/app/controllers/knitkit/erp_app/desktop/app_controller.rb +78 -98
- data/app/controllers/knitkit/erp_app/desktop/articles_controller.rb +65 -45
- data/app/controllers/knitkit/erp_app/desktop/content_controller.rb +22 -12
- data/app/controllers/knitkit/erp_app/desktop/file_assets_controller.rb +1 -1
- data/app/controllers/knitkit/erp_app/desktop/image_assets_controller.rb +28 -16
- data/app/controllers/knitkit/erp_app/desktop/inquiries_controller.rb +15 -49
- data/app/controllers/knitkit/erp_app/desktop/online_document_sections_controller.rb +4 -3
- data/app/controllers/knitkit/erp_app/desktop/position_controller.rb +69 -11
- data/app/controllers/knitkit/erp_app/desktop/theme_controller.rb +63 -60
- data/app/controllers/knitkit/erp_app/desktop/website_controller.rb +98 -82
- data/app/controllers/knitkit/erp_app/desktop/website_host_controller.rb +77 -0
- data/app/controllers/knitkit/erp_app/desktop/website_nav_controller.rb +64 -44
- data/app/controllers/knitkit/erp_app/desktop/website_nav_item_controller.rb +147 -0
- data/app/controllers/knitkit/erp_app/desktop/website_section_controller.rb +81 -45
- data/app/controllers/knitkit/mobile_controller.rb +15 -0
- data/app/controllers/knitkit/online_document_sections_controller.rb +2 -1
- data/app/controllers/knitkit/unauthorized_controller.rb +0 -1
- data/app/controllers/knitkit/website_sections_controller.rb +7 -4
- data/app/mailers/website_inquiry_mailer.rb +8 -7
- data/app/models/content.rb +11 -2
- data/app/models/document.rb +2 -17
- data/app/models/published_website.rb +96 -59
- data/app/models/theme.rb +100 -14
- data/app/models/website.rb +260 -28
- data/app/models/website_inquiry.rb +5 -12
- data/app/models/website_section.rb +9 -1
- data/app/views/knitkit/blogs/_add_comment.html.erb +44 -23
- data/app/views/knitkit/blogs/_comment.html.erb +4 -6
- data/app/views/knitkit/blogs/index.html.erb +63 -49
- data/app/views/knitkit/blogs/show.html.erb +17 -12
- data/app/views/knitkit/mobile/index.html.erb +162 -0
- data/app/views/knitkit/online_document_sections/index.html.erb +7 -5
- data/app/views/knitkit/unauthorized/index.html.erb +8 -4
- data/app/views/knitkit/website_sections/index.html.erb +8 -4
- data/app/views/layouts/knitkit/base.html.erb +79 -63
- data/app/views/layouts/knitkit/online_document_sections.html.erb +74 -52
- data/app/views/menus/knitkit/_default_menu.html.erb +4 -4
- data/app/views/menus/knitkit/_default_section_menu.html.erb +22 -23
- data/app/views/shared/knitkit/_bread_crumb.html.erb +10 -7
- data/app/views/shared/knitkit/_footer.html.erb +2 -2
- data/app/views/website_inquiry_mailer/inquiry.erb +23 -2
- data/app/widgets/contact_us/base.rb +25 -50
- data/app/widgets/contact_us/javascript/contact_us.js +7 -7
- data/app/widgets/contact_us/views/error.html.erb +6 -8
- data/app/widgets/contact_us/views/index.html.erb +28 -1
- data/app/widgets/contact_us/views/layouts/base.html.erb +9 -6
- data/app/widgets/contact_us/views/success.html.erb +3 -3
- data/app/widgets/google_map/views/index.html.erb +36 -36
- data/app/widgets/login/base.rb +1 -0
- data/app/widgets/login/javascript/login.js +3 -3
- data/app/widgets/login/views/index.html.erb +46 -26
- data/app/widgets/login/views/layouts/base.html.erb +15 -13
- data/app/widgets/login/views/login_header.html.erb +7 -9
- data/app/widgets/manage_profile/base.rb +116 -164
- data/app/widgets/manage_profile/views/_address.html.erb +184 -0
- data/app/widgets/manage_profile/views/_contact_information_form.html.erb +23 -192
- data/app/widgets/manage_profile/views/_email_address.html.erb +163 -0
- data/app/widgets/manage_profile/views/_password_form.html.erb +23 -20
- data/app/widgets/manage_profile/views/_phone_number.html.erb +165 -0
- data/app/widgets/manage_profile/views/_user_information_form.html.erb +49 -33
- data/app/widgets/manage_profile/views/error.html.erb +6 -0
- data/app/widgets/manage_profile/views/index.html.erb +44 -46
- data/app/widgets/manage_profile/views/layouts/base.html.erb +3 -1
- data/app/widgets/manage_profile/views/success.html.erb +5 -0
- data/app/widgets/reset_password/views/index.html.erb +33 -28
- data/app/widgets/reset_password/views/layouts/base.html.erb +10 -1
- data/app/widgets/search/base.rb +37 -25
- data/app/widgets/search/views/_inline_search_form.html.erb +12 -0
- data/app/widgets/search/views/_search_form.html.erb +41 -0
- data/app/widgets/search/views/index.html.erb +5 -3
- data/app/widgets/search/views/layouts/base.html.erb +13 -23
- data/app/widgets/search/views/show.html.erb +32 -47
- data/app/widgets/signup/base.rb +1 -1
- data/app/widgets/signup/javascript/signup.js +7 -9
- data/app/widgets/signup/views/_signup_form.html.erb +34 -29
- data/app/widgets/signup/views/error.html.erb +11 -11
- data/app/widgets/signup/views/index.html.erb +3 -2
- data/app/widgets/signup/views/layouts/base.html.erb +8 -5
- data/app/widgets/signup/views/success.html.erb +5 -4
- data/config/routes.rb +39 -28
- data/db/data_migrations/20120809020508_update_website_and_configuration.rb +3 -0
- data/db/migrate/20110211002317_setup_knitkit.rb +0 -1
- data/db/migrate/20131112013052_add_knitkit_missing_indexes.rb +33 -0
- data/db/migrate/20140622212723_update_website_inquiries.rb +22 -0
- data/db/migrate/20140911185022_add_publishing_to_website.rb +5 -0
- data/db/migrate/20141013073349_add_custom_fields_to_documents.rb +12 -0
- data/db/migrate/20141016101936_upgrade_remove_dynamic_attributes.rb +13 -0
- data/lib/knitkit.rb +0 -1
- data/lib/knitkit/engine.rb +1 -0
- data/lib/knitkit/extensions.rb +4 -0
- data/lib/knitkit/extensions/active_record/acts_as_commentable.rb +33 -0
- data/lib/knitkit/extensions/active_record/acts_as_document.rb +0 -12
- data/lib/knitkit/extensions/active_record/acts_as_publishable.rb +7 -10
- data/lib/knitkit/extensions/compass_ae/widgets/base.rb +2 -4
- data/lib/knitkit/extensions/compass_ae/widgets/widget_proxy_controller.rb +4 -1
- data/lib/knitkit/extensions/railties/action_view/helpers/blog_helper.rb +16 -13
- data/lib/knitkit/extensions/railties/action_view/helpers/content_helper.rb +10 -8
- data/lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb +123 -108
- data/lib/knitkit/extensions/will_paginate/link_renderer.rb +67 -0
- data/lib/knitkit/routing_filter/section_router.rb +10 -8
- data/lib/knitkit/syntax_validator.rb +2 -2
- data/lib/knitkit/version.rb +7 -3
- data/public/images/inline_edit/close.png +0 -0
- data/public/images/knitkit/close_window.png +0 -0
- data/public/images/knitkit/logo.png +0 -0
- data/public/images/knitkit/splash/images/add-site.png +0 -0
- data/public/images/knitkit/splash/images/adjust-site.png +0 -0
- data/public/images/knitkit/splash/images/browse-site.png +0 -0
- data/public/images/knitkit/splash/images/find-themes.png +0 -0
- data/public/images/knitkit/splash/images/settings.png +0 -0
- data/public/images/knitkit/splash/images/tutorials.png +0 -0
- data/public/images/knitkit/splash/splash.png +0 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js +656 -627
- data/public/javascripts/erp_app/desktop/applications/knitkit/center_region.js +444 -333
- data/public/javascripts/erp_app/desktop/applications/knitkit/{east_region.js → east_region/east_region.js} +33 -33
- data/public/javascripts/erp_app/desktop/applications/knitkit/east_region/file_assets_panel.js +332 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/east_region/image_assets_data_view.js +144 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/east_region/image_assets_panel.js +335 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/{widgets_panel.js → east_region/widgets_panel.js} +55 -55
- data/public/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js +150 -37
- data/public/javascripts/erp_app/desktop/applications/knitkit/module.js +228 -96
- data/public/javascripts/erp_app/desktop/applications/knitkit/publish_window.js +89 -85
- data/public/javascripts/erp_app/desktop/applications/knitkit/published_grid_panel.js +238 -217
- data/public/javascripts/erp_app/desktop/applications/knitkit/select_roles_window.js +59 -54
- data/public/javascripts/erp_app/desktop/applications/knitkit/splash_screen.js +170 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/top_menu/main_menu.js +1168 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/top_menu/websites_combo.js +71 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js +301 -306
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/article.js +216 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/document.js +182 -153
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/host.js +48 -65
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/menu.js +93 -94
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/section.js +523 -197
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website_nav_items.js +20 -34
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/hosts_tree_panel.js +74 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/menu_tree_panel.js +245 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/site_contents_tree_panel.js +360 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/themes_tree_panel.js +348 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/west_region.js +106 -1132
- data/public/javascripts/knitkit/bootstrap-datepicker.js +474 -0
- data/public/javascripts/knitkit/bootstrap.min.js +7 -0
- data/public/javascripts/knitkit/confirm-bootstrap.js +110 -0
- data/public/javascripts/knitkit/inline_editing.js +73 -50
- data/public/javascripts/knitkit/jquery.maskedinput.min.js +7 -0
- data/public/javascripts/knitkit/mobile/app/view/Main.js +108 -0
- data/public/javascripts/knitkit/mobile/ux/slidenavigation/View.js +734 -0
- data/public/javascripts/knitkit/theme.js +76 -0
- data/public/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css +95 -35
- data/public/stylesheets/knitkit/bootstrap-responsive.min.css +10 -0
- data/public/stylesheets/knitkit/bootstrap.min.css +7 -0
- data/public/stylesheets/knitkit/custom.css +122 -0
- data/public/stylesheets/knitkit/datepicker.css +182 -0
- data/public/stylesheets/knitkit/inline_editing.css +58 -58
- data/spec/controllers/knitkit/erp_app/desktop/website_section_controller_spec.rb +1 -1
- data/spec/dummy/config/application.rb +1 -1
- data/spec/models/article_spec.rb +3 -3
- data/spec/models/content_spec.rb +9 -9
- data/spec/models/website_spec.rb +1 -1
- metadata +100 -114
- data/app/helpers/application_helper.rb +0 -134
- data/app/views/knitkit/articles/index.html.erb +0 -3
- data/app/views/knitkit/articles/show.html.erb +0 -4
- data/app/views/menus/knitkit/_default_sub_menu.html.erb +0 -43
- data/app/views/menus/knitkit/_default_sub_section_menu.html.erb +0 -47
- data/app/widgets/contact_us/views/_contact_form.html.erb +0 -36
- data/app/widgets/dynamic_forms/base.rb +0 -139
- data/app/widgets/dynamic_forms/javascript/dynamic_forms.js +0 -110
- data/app/widgets/dynamic_forms/views/error.html.erb +0 -5
- data/app/widgets/dynamic_forms/views/index.html.erb +0 -8
- data/app/widgets/dynamic_forms/views/success.html.erb +0 -4
- data/app/widgets/dynamic_grid/base.rb +0 -130
- data/app/widgets/dynamic_grid/helpers/controller/dynamic_grid_controller_helper.rb +0 -3
- data/app/widgets/dynamic_grid/helpers/view/dynamic_grid_view_helper.rb +0 -3
- data/app/widgets/dynamic_grid/javascript/dynamic_grid.js +0 -177
- data/app/widgets/dynamic_grid/views/index.html.erb +0 -14
- data/app/widgets/login/views/reset_password.html.erb +0 -26
- data/app/widgets/manage_profile/views/default_type_error.html.erb +0 -5
- data/app/widgets/scaffold/base.rb +0 -87
- data/app/widgets/scaffold/helpers/controller/scaffold_controller_helper.rb +0 -3
- data/app/widgets/scaffold/helpers/view/scaffold_view_helper.rb +0 -3
- data/app/widgets/scaffold/javascript/scaffold.js +0 -337
- data/app/widgets/scaffold/views/index.html.erb +0 -15
- data/app/widgets/search/views/_search.html.erb +0 -39
- data/public/images/knitkit/bullet.png +0 -0
- data/public/images/knitkit/close.png +0 -0
- data/public/images/knitkit/content.png +0 -0
- data/public/images/knitkit/footer.png +0 -0
- data/public/images/knitkit/graphic.png +0 -0
- data/public/images/knitkit/greyFadeDown.png +0 -0
- data/public/images/knitkit/link.png +0 -0
- data/public/images/knitkit/menu.png +0 -0
- data/public/images/knitkit/menu_select.png +0 -0
- data/public/images/knitkit/search.png +0 -0
- data/public/images/knitkit/tooltip.gif +0 -0
- data/public/javascripts/ajax_pagination.js +0 -33
- data/public/javascripts/datepicker.js +0 -445
- data/public/javascripts/erp_app/desktop/applications/knitkit/file_assets_panel.js +0 -341
- data/public/javascripts/erp_app/desktop/applications/knitkit/image_assets_data_view.js +0 -31
- data/public/javascripts/erp_app/desktop/applications/knitkit/image_assets_panel.js +0 -263
- data/public/javascripts/erp_app/desktop/applications/knitkit/section_articles_grid_panel.js +0 -722
- data/public/javascripts/erp_app/desktop/applications/knitkit/themes_tree_panel.js +0 -585
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website.js +0 -155
- data/public/javascripts/knitkit/helpers.js +0 -26
- data/public/stylesheets/datepicker.css +0 -121
- data/public/stylesheets/extjs/resources/css/knitkit_extjs_4.css +0 -233
- data/public/stylesheets/knitkit/style.css +0 -426
@@ -1,49 +1,59 @@
|
|
1
|
-
|
1
|
+
div.knitkit-inlineedit-editable {
|
2
|
+
cursor: pointer;
|
3
|
+
border: 2px dotted red;
|
4
|
+
border-radius: 5px;
|
5
|
+
}
|
2
6
|
|
3
|
-
|
4
|
-
|
5
|
-
-moz-box-shadow: 3px 3px 5px 6px #ccc;
|
6
|
-
-webkit-box-shadow: 3px 3px 5px 6px #ccc;
|
7
|
-
box-shadow: 3px 3px 5px 6px #ccc;
|
7
|
+
a.inline-edit-close {
|
8
|
+
float: right;
|
8
9
|
cursor: pointer;
|
9
10
|
}
|
10
11
|
|
11
|
-
a.inline-edit-close{
|
12
|
-
|
13
|
-
|
12
|
+
a.inline-edit-close img {
|
13
|
+
margin-bottom: 7px;
|
14
|
+
}
|
15
|
+
|
16
|
+
#editableContentContainer .header {
|
17
|
+
border: 1px solid white;
|
18
|
+
height: 30px;
|
19
|
+
background-color: black;
|
20
|
+
padding: 3px 7px;
|
21
|
+
border-top-left-radius: 5px;
|
22
|
+
border-top-right-radius: 5px;
|
14
23
|
}
|
15
24
|
|
16
|
-
span.inline-edit-message{
|
17
|
-
float:left;
|
18
|
-
font-weight: bold;
|
25
|
+
span.inline-edit-message {
|
19
26
|
line-height: 1em;
|
20
|
-
color
|
21
|
-
font-size:16px;
|
27
|
+
color: white;
|
28
|
+
font-size: 16px;
|
22
29
|
}
|
23
30
|
|
24
|
-
div.editable-content-actionresult{
|
25
|
-
|
31
|
+
div.editable-content-actionresult {
|
32
|
+
color: white;
|
33
|
+
border: 1px solid white;
|
34
|
+
background-color: black;
|
35
|
+
padding: 3px 7px;
|
36
|
+
border-bottom-left-radius: 5px;
|
37
|
+
border-bottom-right-radius: 5px;
|
26
38
|
}
|
27
39
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
left: 12.5%;
|
40
|
+
div.modal-container {
|
41
|
+
position: fixed;
|
42
|
+
top: 25%;
|
43
|
+
left: 15%;
|
33
44
|
width: 75%;
|
34
|
-
height:
|
45
|
+
height: 100%;
|
35
46
|
z-index: 1002;
|
36
47
|
overflow: auto;
|
37
48
|
}
|
38
49
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
border:solid 5px #025587;
|
50
|
+
#warning-modal {
|
51
|
+
z-index: 1003;
|
52
|
+
background-color: white;
|
53
|
+
border: solid 5px #025587;
|
44
54
|
position: absolute;
|
45
|
-
top:40%;
|
46
|
-
left:35%;
|
55
|
+
top: 40%;
|
56
|
+
left: 35%;
|
47
57
|
width: 455px;
|
48
58
|
height: 55px;
|
49
59
|
overflow: auto;
|
@@ -51,38 +61,28 @@ div.modal-container{
|
|
51
61
|
text-align: center;
|
52
62
|
}
|
53
63
|
|
54
|
-
|
55
|
-
font: 100% arial;
|
56
|
-
}
|
57
|
-
|
58
|
-
.warning-btn{
|
59
|
-
font: 100% arial;
|
60
|
-
border: 1px solid;
|
61
|
-
width: 60px;
|
62
|
-
height: 15px;
|
63
|
-
padding: 2px 0 3px 0;
|
64
|
-
cursor: pointer;
|
65
|
-
background: #263C56;
|
66
|
-
color: white;
|
67
|
-
}
|
68
|
-
|
69
|
-
/*warning modal*/
|
70
|
-
|
71
|
-
div.ckeditor_wrapper{
|
64
|
+
div.ckeditor_wrapper {
|
72
65
|
background-color: #F0EFE2;
|
73
|
-
padding:10px;
|
66
|
+
padding: 10px;
|
74
67
|
}
|
75
68
|
|
76
|
-
.modal-overlay{
|
77
|
-
position:
|
78
|
-
top: 0
|
79
|
-
left: 0
|
80
|
-
|
69
|
+
.modal-overlay {
|
70
|
+
position: fixed;
|
71
|
+
top: 0;
|
72
|
+
left: 0;
|
73
|
+
bottom: 0;
|
74
|
+
right: 0;
|
81
75
|
height: 100%;
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
76
|
+
width: 100%;
|
77
|
+
margin: 0;
|
78
|
+
padding: 0;
|
79
|
+
background: #000000;
|
80
|
+
opacity: .8;
|
86
81
|
filter: alpha(opacity=80);
|
82
|
+
-moz-opacity: .8;
|
83
|
+
z-index: 1001;
|
87
84
|
}
|
88
|
-
|
85
|
+
|
86
|
+
body.inline-editing {
|
87
|
+
overflow: hidden;
|
88
|
+
}
|
@@ -177,7 +177,7 @@ describe Knitkit::ErpApp::Desktop::WebsiteSectionController do
|
|
177
177
|
|
178
178
|
describe "Get available_articles" do
|
179
179
|
it "should return the internal_identifier and id of all articles not attatched to the given section" do
|
180
|
-
if Object.
|
180
|
+
if Object.class_exists?('WorkflowProcess')
|
181
181
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
182
182
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
183
183
|
end
|
data/spec/models/article_spec.rb
CHANGED
@@ -6,7 +6,7 @@ describe Article do
|
|
6
6
|
end
|
7
7
|
|
8
8
|
it "can be saved successfully" do
|
9
|
-
if Object.
|
9
|
+
if Object.class_exists?('WorkflowProcess')
|
10
10
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
11
11
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
12
12
|
end
|
@@ -15,7 +15,7 @@ describe Article do
|
|
15
15
|
|
16
16
|
describe "to_param" do
|
17
17
|
it "should return the permalink of the article" do
|
18
|
-
if Object.
|
18
|
+
if Object.class_exists?('WorkflowProcess')
|
19
19
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
20
20
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
21
21
|
end
|
@@ -25,7 +25,7 @@ describe Article do
|
|
25
25
|
|
26
26
|
describe "check_internal_indentifier" do
|
27
27
|
it "should set the internal_identifier if none is set when article is created" do
|
28
|
-
if Object.
|
28
|
+
if Object.class_exists?('WorkflowProcess')
|
29
29
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
30
30
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
31
31
|
end
|
data/spec/models/content_spec.rb
CHANGED
@@ -11,7 +11,7 @@ describe Content do
|
|
11
11
|
|
12
12
|
describe "self.find_by_section_id" do
|
13
13
|
it "should return all articles belonging to the given section" do
|
14
|
-
if Object.
|
14
|
+
if Object.class_exists?('WorkflowProcess')
|
15
15
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
16
16
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
17
17
|
end
|
@@ -27,7 +27,7 @@ describe Content do
|
|
27
27
|
|
28
28
|
describe "self.find_by_section_id_filtered_by_id" do
|
29
29
|
it "should return all articles conected to the given section that also have ids in the given filter list" do
|
30
|
-
if Object.
|
30
|
+
if Object.class_exists?('WorkflowProcess')
|
31
31
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
32
32
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
33
33
|
end
|
@@ -52,7 +52,7 @@ describe Content do
|
|
52
52
|
@website.website_sections << WebsiteSection.create(:title => "section title")
|
53
53
|
@website.publish("Publish Sections", user)
|
54
54
|
|
55
|
-
if Object.
|
55
|
+
if Object.class_exists?('WorkflowProcess')
|
56
56
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
57
57
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
58
58
|
end
|
@@ -84,7 +84,7 @@ describe Content do
|
|
84
84
|
@website.website_sections << WebsiteSection.create(:title => "section title")
|
85
85
|
@website.publish("Publish Sections", user)
|
86
86
|
|
87
|
-
if Object.
|
87
|
+
if Object.class_exists?('WorkflowProcess')
|
88
88
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
89
89
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
90
90
|
end
|
@@ -116,7 +116,7 @@ describe Content do
|
|
116
116
|
@website.hosts << WebsiteHost.create(:host => "some_host")
|
117
117
|
@website.website_sections << WebsiteSection.create(:title => "section title")
|
118
118
|
@website.website_sections << WebsiteSection.create(:title => "section title 2")
|
119
|
-
if Object.
|
119
|
+
if Object.class_exists?('WorkflowProcess')
|
120
120
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
121
121
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
122
122
|
end
|
@@ -146,7 +146,7 @@ describe Content do
|
|
146
146
|
@website = Website.create(:name => "Some Site")
|
147
147
|
@website.hosts << WebsiteHost.create(:host => "some_host")
|
148
148
|
@website.website_sections << WebsiteSection.create(:title => "section title")
|
149
|
-
if Object.
|
149
|
+
if Object.class_exists?('WorkflowProcess')
|
150
150
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
151
151
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
152
152
|
end
|
@@ -161,7 +161,7 @@ describe Content do
|
|
161
161
|
|
162
162
|
describe "add_comment" do
|
163
163
|
it "should add a comment to the article" do
|
164
|
-
if Object.
|
164
|
+
if Object.class_exists?('WorkflowProcess')
|
165
165
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
166
166
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
167
167
|
end
|
@@ -175,7 +175,7 @@ describe Content do
|
|
175
175
|
|
176
176
|
describe "get_comments" do
|
177
177
|
it "should return all comments for an article limited by the given limit" do
|
178
|
-
if Object.
|
178
|
+
if Object.class_exists?('WorkflowProcess')
|
179
179
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
180
180
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
181
181
|
end
|
@@ -192,7 +192,7 @@ describe Content do
|
|
192
192
|
@website = Website.create(:name => "Some Site")
|
193
193
|
@website.hosts << WebsiteHost.create(:host => "some_host")
|
194
194
|
@website.website_sections << WebsiteSection.create(:title => "section title")
|
195
|
-
if Object.
|
195
|
+
if Object.class_exists?('WorkflowProcess')
|
196
196
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
197
197
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
198
198
|
end
|
data/spec/models/website_spec.rb
CHANGED
@@ -45,7 +45,7 @@ describe Website do
|
|
45
45
|
describe "publish_element" do
|
46
46
|
it "should add record to published_elements for given element" do
|
47
47
|
comment = "some comment"
|
48
|
-
if Object.
|
48
|
+
if Object.class_exists?('WorkflowProcess')
|
49
49
|
WorkflowProcess.create(:internal_identifier => "test_content_mgmt", :process_template => true)
|
50
50
|
WorkflowStep.create(:internal_identifier => "Start", :executable_command_id => 1, :executable_command_type => "ManualWorkflowStep", :workflow_process_id => 1, :initial_step => true)
|
51
51
|
end
|
metadata
CHANGED
@@ -1,52 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knitkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Rick Koloski, Russell Holmes
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
14
|
+
name: erp_app
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
19
|
+
version: '4.0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
26
|
+
version: '4.0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: erp_dev_svcs
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
33
|
+
version: '4.0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
40
|
+
version: '4.0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: routing-filter
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - '='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - '='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,23 +55,20 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: nokogiri
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - '='
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.
|
61
|
+
version: 1.6.1
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - '='
|
76
67
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.
|
68
|
+
version: 1.6.1
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rubyzip
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - '='
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - '='
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: acts-as-taggable-on
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - '='
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - '='
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -110,7 +97,6 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: kramdown
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - '='
|
116
102
|
- !ruby/object:Gem::Version
|
@@ -118,7 +104,6 @@ dependencies:
|
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
108
|
- - '='
|
124
109
|
- !ruby/object:Gem::Version
|
@@ -133,54 +118,9 @@ executables: []
|
|
133
118
|
extensions: []
|
134
119
|
extra_rdoc_files: []
|
135
120
|
files:
|
136
|
-
-
|
137
|
-
-
|
138
|
-
-
|
139
|
-
- public/images/knitkit/close.png
|
140
|
-
- public/images/knitkit/content.png
|
141
|
-
- public/images/knitkit/footer.png
|
142
|
-
- public/images/knitkit/graphic.png
|
143
|
-
- public/images/knitkit/greyFadeDown.png
|
144
|
-
- public/images/knitkit/icons/document.png
|
145
|
-
- public/images/knitkit/icons/multi_doc.png
|
146
|
-
- public/images/knitkit/link.png
|
147
|
-
- public/images/knitkit/logo.png
|
148
|
-
- public/images/knitkit/menu.png
|
149
|
-
- public/images/knitkit/menu_select.png
|
150
|
-
- public/images/knitkit/search.png
|
151
|
-
- public/images/knitkit/tooltip.gif
|
152
|
-
- public/javascripts/ajax_pagination.js
|
153
|
-
- public/javascripts/datepicker.js
|
154
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js
|
155
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/center_region.js
|
156
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/comments_grid_panel.js
|
157
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
|
158
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/file_assets_panel.js
|
159
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/image_assets_data_view.js
|
160
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/image_assets_panel.js
|
161
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js
|
162
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/module.js
|
163
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/publish_window.js
|
164
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/published_grid_panel.js
|
165
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/section_articles_grid_panel.js
|
166
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/select_roles_window.js
|
167
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/themes_tree_panel.js
|
168
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js
|
169
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/document.js
|
170
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/host.js
|
171
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/menu.js
|
172
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/section.js
|
173
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website.js
|
174
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website_nav_items.js
|
175
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/west_region.js
|
176
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/widgets_panel.js
|
177
|
-
- public/javascripts/knitkit/helpers.js
|
178
|
-
- public/javascripts/knitkit/inline_editing.js
|
179
|
-
- public/stylesheets/datepicker.css
|
180
|
-
- public/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css
|
181
|
-
- public/stylesheets/extjs/resources/css/knitkit_extjs_4.css
|
182
|
-
- public/stylesheets/knitkit/inline_editing.css
|
183
|
-
- public/stylesheets/knitkit/style.css
|
121
|
+
- GPL-3-LICENSE
|
122
|
+
- README.md
|
123
|
+
- Rakefile
|
184
124
|
- app/assets/javascripts/knitkit/application.js
|
185
125
|
- app/assets/stylesheets/knitkit/application.css
|
186
126
|
- app/controllers/knitkit/base_controller.rb
|
@@ -198,12 +138,14 @@ files:
|
|
198
138
|
- app/controllers/knitkit/erp_app/desktop/theme_controller.rb
|
199
139
|
- app/controllers/knitkit/erp_app/desktop/versions_controller.rb
|
200
140
|
- app/controllers/knitkit/erp_app/desktop/website_controller.rb
|
141
|
+
- app/controllers/knitkit/erp_app/desktop/website_host_controller.rb
|
201
142
|
- app/controllers/knitkit/erp_app/desktop/website_nav_controller.rb
|
143
|
+
- app/controllers/knitkit/erp_app/desktop/website_nav_item_controller.rb
|
202
144
|
- app/controllers/knitkit/erp_app/desktop/website_section_controller.rb
|
145
|
+
- app/controllers/knitkit/mobile_controller.rb
|
203
146
|
- app/controllers/knitkit/online_document_sections_controller.rb
|
204
147
|
- app/controllers/knitkit/unauthorized_controller.rb
|
205
148
|
- app/controllers/knitkit/website_sections_controller.rb
|
206
|
-
- app/helpers/application_helper.rb
|
207
149
|
- app/mailers/document_mailer.rb
|
208
150
|
- app/mailers/website_inquiry_mailer.rb
|
209
151
|
- app/models/article.rb
|
@@ -231,13 +173,12 @@ files:
|
|
231
173
|
- app/models/website_section.rb
|
232
174
|
- app/models/website_section_content.rb
|
233
175
|
- app/views/document_mailer/email_document.html.erb
|
234
|
-
- app/views/knitkit/articles/index.html.erb
|
235
|
-
- app/views/knitkit/articles/show.html.erb
|
236
176
|
- app/views/knitkit/blogs/_add_comment.html.erb
|
237
177
|
- app/views/knitkit/blogs/_comment.html.erb
|
238
178
|
- app/views/knitkit/blogs/index.html.erb
|
239
179
|
- app/views/knitkit/blogs/index.rss.builder
|
240
180
|
- app/views/knitkit/blogs/show.html.erb
|
181
|
+
- app/views/knitkit/mobile/index.html.erb
|
241
182
|
- app/views/knitkit/online_document_sections/index.html.erb
|
242
183
|
- app/views/knitkit/unauthorized/index.html.erb
|
243
184
|
- app/views/knitkit/website_sections/index.html.erb
|
@@ -245,28 +186,15 @@ files:
|
|
245
186
|
- app/views/layouts/knitkit/online_document_sections.html.erb
|
246
187
|
- app/views/menus/knitkit/_default_menu.html.erb
|
247
188
|
- app/views/menus/knitkit/_default_section_menu.html.erb
|
248
|
-
- app/views/menus/knitkit/_default_sub_menu.html.erb
|
249
|
-
- app/views/menus/knitkit/_default_sub_section_menu.html.erb
|
250
189
|
- app/views/shared/knitkit/_bread_crumb.html.erb
|
251
190
|
- app/views/shared/knitkit/_footer.html.erb
|
252
191
|
- app/views/website_inquiry_mailer/inquiry.erb
|
253
192
|
- app/widgets/contact_us/base.rb
|
254
193
|
- app/widgets/contact_us/javascript/contact_us.js
|
255
|
-
- app/widgets/contact_us/views/_contact_form.html.erb
|
256
194
|
- app/widgets/contact_us/views/error.html.erb
|
257
195
|
- app/widgets/contact_us/views/index.html.erb
|
258
196
|
- app/widgets/contact_us/views/layouts/base.html.erb
|
259
197
|
- app/widgets/contact_us/views/success.html.erb
|
260
|
-
- app/widgets/dynamic_forms/base.rb
|
261
|
-
- app/widgets/dynamic_forms/javascript/dynamic_forms.js
|
262
|
-
- app/widgets/dynamic_forms/views/error.html.erb
|
263
|
-
- app/widgets/dynamic_forms/views/index.html.erb
|
264
|
-
- app/widgets/dynamic_forms/views/success.html.erb
|
265
|
-
- app/widgets/dynamic_grid/base.rb
|
266
|
-
- app/widgets/dynamic_grid/helpers/controller/dynamic_grid_controller_helper.rb
|
267
|
-
- app/widgets/dynamic_grid/helpers/view/dynamic_grid_view_helper.rb
|
268
|
-
- app/widgets/dynamic_grid/javascript/dynamic_grid.js
|
269
|
-
- app/widgets/dynamic_grid/views/index.html.erb
|
270
198
|
- app/widgets/google_map/base.rb
|
271
199
|
- app/widgets/google_map/javascript/google_map.js
|
272
200
|
- app/widgets/google_map/views/index.html.erb
|
@@ -275,27 +203,26 @@ files:
|
|
275
203
|
- app/widgets/login/views/index.html.erb
|
276
204
|
- app/widgets/login/views/layouts/base.html.erb
|
277
205
|
- app/widgets/login/views/login_header.html.erb
|
278
|
-
- app/widgets/login/views/reset_password.html.erb
|
279
206
|
- app/widgets/manage_profile/base.rb
|
280
207
|
- app/widgets/manage_profile/javascript/manage_profile.js
|
208
|
+
- app/widgets/manage_profile/views/_address.html.erb
|
281
209
|
- app/widgets/manage_profile/views/_contact_information_form.html.erb
|
210
|
+
- app/widgets/manage_profile/views/_email_address.html.erb
|
282
211
|
- app/widgets/manage_profile/views/_password_form.html.erb
|
212
|
+
- app/widgets/manage_profile/views/_phone_number.html.erb
|
283
213
|
- app/widgets/manage_profile/views/_user_information_form.html.erb
|
284
|
-
- app/widgets/manage_profile/views/
|
214
|
+
- app/widgets/manage_profile/views/error.html.erb
|
285
215
|
- app/widgets/manage_profile/views/index.html.erb
|
286
216
|
- app/widgets/manage_profile/views/layouts/base.html.erb
|
217
|
+
- app/widgets/manage_profile/views/success.html.erb
|
287
218
|
- app/widgets/reset_password/base.rb
|
288
219
|
- app/widgets/reset_password/javascript/reset_password.js
|
289
220
|
- app/widgets/reset_password/views/index.html.erb
|
290
221
|
- app/widgets/reset_password/views/layouts/base.html.erb
|
291
|
-
- app/widgets/scaffold/base.rb
|
292
|
-
- app/widgets/scaffold/helpers/controller/scaffold_controller_helper.rb
|
293
|
-
- app/widgets/scaffold/helpers/view/scaffold_view_helper.rb
|
294
|
-
- app/widgets/scaffold/javascript/scaffold.js
|
295
|
-
- app/widgets/scaffold/views/index.html.erb
|
296
222
|
- app/widgets/search/base.rb
|
297
223
|
- app/widgets/search/javascript/search.js
|
298
|
-
- app/widgets/search/views/
|
224
|
+
- app/widgets/search/views/_inline_search_form.html.erb
|
225
|
+
- app/widgets/search/views/_search_form.html.erb
|
299
226
|
- app/widgets/search/views/index.html.erb
|
300
227
|
- app/widgets/search/views/layouts/base.html.erb
|
301
228
|
- app/widgets/search/views/show.html.erb
|
@@ -319,10 +246,18 @@ files:
|
|
319
246
|
- db/data_migrations/20121129185611_upgrade_website_role_iid.rb
|
320
247
|
- db/migrate/20110211002317_setup_knitkit.rb
|
321
248
|
- db/migrate/20130405184234_add_use_markdown_to_section.rb
|
249
|
+
- db/migrate/20131112013052_add_knitkit_missing_indexes.rb
|
250
|
+
- db/migrate/20140622212723_update_website_inquiries.rb
|
251
|
+
- db/migrate/20140911185022_add_publishing_to_website.rb
|
252
|
+
- db/migrate/20141013073349_add_custom_fields_to_documents.rb
|
253
|
+
- db/migrate/20141016101936_upgrade_remove_dynamic_attributes.rb
|
254
|
+
- lib/knitkit.rb
|
322
255
|
- lib/knitkit/config.rb
|
323
256
|
- lib/knitkit/engine.rb
|
257
|
+
- lib/knitkit/extensions.rb
|
324
258
|
- lib/knitkit/extensions/action_controller/theme_support/acts_as_themed_controller.rb
|
325
259
|
- lib/knitkit/extensions/action_mailer/theme_support/acts_as_themed_mailer.rb
|
260
|
+
- lib/knitkit/extensions/active_record/acts_as_commentable.rb
|
326
261
|
- lib/knitkit/extensions/active_record/acts_as_document.rb
|
327
262
|
- lib/knitkit/extensions/active_record/acts_as_publishable.rb
|
328
263
|
- lib/knitkit/extensions/active_record/theme_support/has_many_themes.rb
|
@@ -336,24 +271,78 @@ files:
|
|
336
271
|
- lib/knitkit/extensions/railties/action_view/helpers/menu_helper.rb
|
337
272
|
- lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb
|
338
273
|
- lib/knitkit/extensions/railties/theme_support/theme_file_resolver.rb
|
339
|
-
- lib/knitkit/extensions.rb
|
274
|
+
- lib/knitkit/extensions/will_paginate/link_renderer.rb
|
340
275
|
- lib/knitkit/routing_filter/section_router.rb
|
341
276
|
- lib/knitkit/syntax_validator.rb
|
342
277
|
- lib/knitkit/version.rb
|
343
|
-
- lib/knitkit.rb
|
344
278
|
- lib/tasks/knitkit_tasks.rake
|
345
|
-
-
|
346
|
-
-
|
347
|
-
-
|
279
|
+
- public/images/check.png
|
280
|
+
- public/images/credit_card.png
|
281
|
+
- public/images/inline_edit/close.png
|
282
|
+
- public/images/knitkit/close_window.png
|
283
|
+
- public/images/knitkit/icons/document.png
|
284
|
+
- public/images/knitkit/icons/multi_doc.png
|
285
|
+
- public/images/knitkit/logo.png
|
286
|
+
- public/images/knitkit/splash/images/add-site.png
|
287
|
+
- public/images/knitkit/splash/images/adjust-site.png
|
288
|
+
- public/images/knitkit/splash/images/browse-site.png
|
289
|
+
- public/images/knitkit/splash/images/find-themes.png
|
290
|
+
- public/images/knitkit/splash/images/settings.png
|
291
|
+
- public/images/knitkit/splash/images/tutorials.png
|
292
|
+
- public/images/knitkit/splash/splash.png
|
293
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js
|
294
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/center_region.js
|
295
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/comments_grid_panel.js
|
296
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/east_region/east_region.js
|
297
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/east_region/file_assets_panel.js
|
298
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/east_region/image_assets_data_view.js
|
299
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/east_region/image_assets_panel.js
|
300
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/east_region/widgets_panel.js
|
301
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js
|
302
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/module.js
|
303
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/publish_window.js
|
304
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/published_grid_panel.js
|
305
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/select_roles_window.js
|
306
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/splash_screen.js
|
307
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/top_menu/main_menu.js
|
308
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/top_menu/websites_combo.js
|
309
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js
|
310
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/article.js
|
311
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/document.js
|
312
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/host.js
|
313
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/menu.js
|
314
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/section.js
|
315
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website_nav_items.js
|
316
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/hosts_tree_panel.js
|
317
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/menu_tree_panel.js
|
318
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/site_contents_tree_panel.js
|
319
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/themes_tree_panel.js
|
320
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/west_region.js
|
321
|
+
- public/javascripts/knitkit/bootstrap-datepicker.js
|
322
|
+
- public/javascripts/knitkit/bootstrap.min.js
|
323
|
+
- public/javascripts/knitkit/confirm-bootstrap.js
|
324
|
+
- public/javascripts/knitkit/inline_editing.js
|
325
|
+
- public/javascripts/knitkit/jquery.maskedinput.min.js
|
326
|
+
- public/javascripts/knitkit/mobile/app/view/Main.js
|
327
|
+
- public/javascripts/knitkit/mobile/ux/slidenavigation/View.js
|
328
|
+
- public/javascripts/knitkit/theme.js
|
329
|
+
- public/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css
|
330
|
+
- public/stylesheets/knitkit/bootstrap-responsive.min.css
|
331
|
+
- public/stylesheets/knitkit/bootstrap.min.css
|
332
|
+
- public/stylesheets/knitkit/custom.css
|
333
|
+
- public/stylesheets/knitkit/datepicker.css
|
334
|
+
- public/stylesheets/knitkit/inline_editing.css
|
348
335
|
- spec/controllers/knitkit/erp_app/desktop/articles_controller_spec.rb
|
349
336
|
- spec/controllers/knitkit/erp_app/desktop/website_controller_spec.rb
|
350
337
|
- spec/controllers/knitkit/erp_app/desktop/website_nav_controller_spec.rb
|
351
338
|
- spec/controllers/knitkit/erp_app/desktop/website_section_controller_spec.rb
|
339
|
+
- spec/dummy/Rakefile
|
352
340
|
- spec/dummy/app/assets/javascripts/application.js
|
353
341
|
- spec/dummy/app/assets/stylesheets/application.css
|
354
342
|
- spec/dummy/app/controllers/application_controller.rb
|
355
343
|
- spec/dummy/app/helpers/application_helper.rb
|
356
344
|
- spec/dummy/app/views/layouts/application.html.erb
|
345
|
+
- spec/dummy/config.ru
|
357
346
|
- spec/dummy/config/application.rb
|
358
347
|
- spec/dummy/config/boot.rb
|
359
348
|
- spec/dummy/config/database.yml
|
@@ -368,12 +357,10 @@ files:
|
|
368
357
|
- spec/dummy/config/locales/en.yml
|
369
358
|
- spec/dummy/config/routes.rb
|
370
359
|
- spec/dummy/config/workflow.yml
|
371
|
-
- spec/dummy/config.ru
|
372
360
|
- spec/dummy/public/404.html
|
373
361
|
- spec/dummy/public/422.html
|
374
362
|
- spec/dummy/public/500.html
|
375
363
|
- spec/dummy/public/favicon.ico
|
376
|
-
- spec/dummy/Rakefile
|
377
364
|
- spec/dummy/script/rails
|
378
365
|
- spec/factories/article.rb
|
379
366
|
- spec/factories/basic.rb
|
@@ -407,30 +394,29 @@ files:
|
|
407
394
|
- spec/models/website_section_spec.rb
|
408
395
|
- spec/models/website_spec.rb
|
409
396
|
- spec/spec_helper.rb
|
410
|
-
homepage: http://
|
397
|
+
homepage: http://www.truenorthtechnology.com
|
411
398
|
licenses:
|
412
399
|
- GPL-3
|
400
|
+
metadata: {}
|
413
401
|
post_install_message:
|
414
402
|
rdoc_options: []
|
415
403
|
require_paths:
|
416
404
|
- lib
|
417
405
|
required_ruby_version: !ruby/object:Gem::Requirement
|
418
|
-
none: false
|
419
406
|
requirements:
|
420
|
-
- -
|
407
|
+
- - ">="
|
421
408
|
- !ruby/object:Gem::Version
|
422
409
|
version: '0'
|
423
410
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
424
|
-
none: false
|
425
411
|
requirements:
|
426
|
-
- -
|
412
|
+
- - ">="
|
427
413
|
- !ruby/object:Gem::Version
|
428
414
|
version: '0'
|
429
415
|
requirements: []
|
430
416
|
rubyforge_project:
|
431
|
-
rubygems_version:
|
417
|
+
rubygems_version: 2.2.2
|
432
418
|
signing_key:
|
433
|
-
specification_version:
|
419
|
+
specification_version: 4
|
434
420
|
summary: CMS built for the Compass AE framework
|
435
421
|
test_files:
|
436
422
|
- spec/controllers/knitkit/erp_app/desktop/articles_controller_spec.rb
|