knitkit 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/knitkit/erp_app/desktop/app_controller.rb +5 -8
- data/app/controllers/knitkit/erp_app/desktop/articles_controller.rb +11 -8
- data/app/controllers/knitkit/erp_app/desktop/content_controller.rb +26 -4
- data/app/controllers/knitkit/erp_app/desktop/file_assets_controller.rb +49 -35
- data/app/controllers/knitkit/erp_app/desktop/image_assets_controller.rb +30 -21
- data/app/controllers/knitkit/erp_app/desktop/theme_controller.rb +41 -32
- data/app/controllers/knitkit/erp_app/desktop/website_controller.rb +0 -6
- data/app/controllers/knitkit/erp_app/desktop/website_section_controller.rb +42 -6
- data/app/{models → mailers}/website_inquiry_mailer.rb +0 -0
- data/app/models/article.rb +4 -0
- data/app/models/content.rb +0 -4
- data/app/models/theme.rb +3 -3
- data/app/models/website.rb +44 -17
- data/app/views/knitkit/website_sections/index.html.erb +1 -1
- data/app/views/layouts/knitkit/base.html.erb +6 -0
- data/app/views/shared/knitkit/_footer.html.erb +2 -2
- data/app/widgets/signup/base.rb +0 -2
- data/db/data_migrations/20120809020508_update_website_and_configuration.rb +77 -0
- data/lib/knitkit/engine.rb +4 -0
- data/lib/knitkit/extensions.rb +4 -1
- data/lib/knitkit/extensions/action_controller/theme_support/acts_as_themed_controller.rb +36 -33
- data/lib/knitkit/extensions/action_mailer/theme_support/acts_as_themed_mailer.rb +60 -0
- data/lib/knitkit/extensions/active_record/acts_as_commentable.rb +9 -4
- data/lib/knitkit/extensions/active_record/acts_as_document.rb +1 -1
- data/lib/knitkit/extensions/compass_ae/widgets/base.rb +21 -1
- data/lib/knitkit/extensions/compass_ae/widgets/widget_proxy_controller.rb +26 -0
- data/lib/knitkit/extensions/railties/action_view/base.rb +11 -0
- data/lib/knitkit/extensions/railties/action_view/helpers/blog_helper.rb +62 -0
- data/lib/knitkit/extensions/railties/action_view/helpers/content_helper.rb +83 -0
- data/lib/knitkit/extensions/railties/action_view/helpers/knitkit_helper.rb +67 -0
- data/lib/knitkit/extensions/railties/action_view/helpers/menu_helper.rb +71 -0
- data/lib/knitkit/version.rb +1 -1
- data/public/images/knitkit/close.png +0 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js +150 -400
- data/public/javascripts/erp_app/desktop/applications/knitkit/center_region.js +687 -593
- data/public/javascripts/erp_app/desktop/applications/knitkit/east_region.js +1 -2
- data/public/javascripts/erp_app/desktop/applications/knitkit/file_assets_panel.js +39 -15
- data/public/javascripts/erp_app/desktop/applications/knitkit/image_assets_data_view.js +1 -1
- data/public/javascripts/erp_app/desktop/applications/knitkit/image_assets_panel.js +65 -126
- data/public/javascripts/erp_app/desktop/applications/knitkit/module.js +65 -1
- data/public/javascripts/erp_app/desktop/applications/knitkit/section_articles_grid_panel.js +265 -183
- data/public/javascripts/erp_app/desktop/applications/knitkit/themes_tree_panel.js +24 -9
- data/public/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js +631 -595
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/document.js +265 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/host.js +133 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/menu.js +174 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/section.js +399 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website.js +165 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website_nav_items.js +266 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region/west_region.js +1224 -0
- data/public/javascripts/knitkit/inline_editing.js +136 -0
- data/public/stylesheets/extjs/resources/css/knitkit_extjs_4.css +1 -2
- data/public/stylesheets/knitkit/inline_editing.css +88 -0
- data/public/stylesheets/knitkit/style.css +1 -1
- metadata +47 -31
- data/lib/knitkit/extensions/railties/action_view.rb +0 -199
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region.js +0 -2725
@@ -0,0 +1,136 @@
|
|
1
|
+
Knitkit.InlineEditing = {
|
2
|
+
contentDiv:null,
|
3
|
+
websiteId:null,
|
4
|
+
contentId:null,
|
5
|
+
|
6
|
+
closeEditor:function (editor) {
|
7
|
+
editor.destroy();
|
8
|
+
jQuery('#editableContentContainer').remove();
|
9
|
+
jQuery('#editableContentOverlay').remove();
|
10
|
+
},
|
11
|
+
|
12
|
+
saved:function (editor, result, status, xhr) {
|
13
|
+
if (result.success === true) {
|
14
|
+
this.closeEditor(editor);
|
15
|
+
}
|
16
|
+
else {
|
17
|
+
jQuery('#inlineEditSaveResult').html(" Could not update. Please try again.");
|
18
|
+
}
|
19
|
+
},
|
20
|
+
|
21
|
+
error:function (xhr, status, error) {
|
22
|
+
jQuery('#inlineEditSaveResult').html(" Could not update. Please try again.");
|
23
|
+
},
|
24
|
+
|
25
|
+
closeEditorClick:function () {
|
26
|
+
//make sure modal is not already showing
|
27
|
+
if ($("#warning-modal").length === 0) {
|
28
|
+
var editor = CKEDITOR.instances['inlineEditTextarea'];
|
29
|
+
if (editor.checkDirty()) {
|
30
|
+
jQuery('#editableContentOverlay').css('z-index','1003');
|
31
|
+
|
32
|
+
var warningModal = jQuery("<div id='warning-modal'></div>");
|
33
|
+
warningModal.append('<span>You have unsaved changes. Are you sure you want to exit?</span><br/><br/>');
|
34
|
+
|
35
|
+
var noBtn = jQuery('<input class="warning-btn" type="button" value="No" />');
|
36
|
+
noBtn.bind('click', function () {
|
37
|
+
warningModal.remove();
|
38
|
+
jQuery('#editableContentOverlay').css('z-index','1001');
|
39
|
+
});
|
40
|
+
|
41
|
+
var yesBtn = jQuery('<input class="warning-btn" type="button" value="Yes" />');
|
42
|
+
yesBtn.bind('click', function () {
|
43
|
+
Knitkit.InlineEditing.closeEditor(editor);
|
44
|
+
warningModal.remove();
|
45
|
+
});
|
46
|
+
|
47
|
+
warningModal.append(noBtn);
|
48
|
+
warningModal.append(yesBtn);
|
49
|
+
jQuery("body").append(warningModal);
|
50
|
+
}
|
51
|
+
else {
|
52
|
+
Knitkit.InlineEditing.closeEditor(editor);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
return false;
|
56
|
+
},
|
57
|
+
|
58
|
+
setup:function (websiteId) {
|
59
|
+
this.websiteId = websiteId;
|
60
|
+
|
61
|
+
jQuery('div.knitkit_content').bind('mouseenter', function () {
|
62
|
+
var div = jQuery(this);
|
63
|
+
div.addClass('knitkit-inlineedit-editable');
|
64
|
+
});
|
65
|
+
|
66
|
+
jQuery('div.knitkit_content').bind('mouseleave', function () {
|
67
|
+
var div = jQuery(this);
|
68
|
+
div.removeClass('knitkit-inlineedit-editable');
|
69
|
+
});
|
70
|
+
|
71
|
+
jQuery('div.knitkit_content').bind('click', function () {
|
72
|
+
var self = Knitkit.InlineEditing;
|
73
|
+
var div = jQuery(this);
|
74
|
+
self.contentId = div.attr('contentid');
|
75
|
+
self.lastUpdate = div.attr('lastupdate');
|
76
|
+
var data = div.html();
|
77
|
+
|
78
|
+
var textarea = jQuery('<textarea name="inline-edit-textarea" id="inlineEditTextarea" ></textarea>');
|
79
|
+
var closeLink = jQuery("<a class='inline-edit-close'><img src='images/knitkit/close.png' /></a>");
|
80
|
+
var messageSpan = jQuery("<span class='inline-edit-message' id='inlineEditMessage'>Last Update: <span id='inlineEditLastUpdate'>" + self.lastUpdate + "</span><span id='inlineEditSaveResult'></span></span>");
|
81
|
+
|
82
|
+
var editableContentContainer = jQuery("<div id='editableContentContainer' class='modal-container'></div>");
|
83
|
+
var ckeditorWrapper = jQuery("<div class='ckeditor_wrapper'></div>");
|
84
|
+
var actionResultDiv = jQuery("<div class='editable-content-actionresult'></div>");
|
85
|
+
|
86
|
+
editableContentContainer.append(ckeditorWrapper);
|
87
|
+
ckeditorWrapper.append(textarea);
|
88
|
+
editableContentContainer.append(actionResultDiv);
|
89
|
+
actionResultDiv.append(closeLink);
|
90
|
+
actionResultDiv.append(messageSpan);
|
91
|
+
|
92
|
+
var overlay = jQuery("<div id='editableContentOverlay' class='modal-overlay'></div>");
|
93
|
+
|
94
|
+
jQuery("body").append(editableContentContainer);
|
95
|
+
jQuery("body").append(overlay);
|
96
|
+
|
97
|
+
closeLink.bind('click', self.closeEditorClick);
|
98
|
+
|
99
|
+
CKEDITOR.replace('inline-edit-textarea',
|
100
|
+
{
|
101
|
+
height:320,
|
102
|
+
enterMode:CKEDITOR.ENTER_BR,
|
103
|
+
extraPlugins:'inlineeditsave,jwplayer',
|
104
|
+
toolbar:[
|
105
|
+
{ name:'document', items:[ 'Source', '-', 'InlineEditSave', 'NewPage', 'DocProps', 'Preview', 'Print', '-', 'Templates' ] },
|
106
|
+
{ name:'clipboard', items:[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] },
|
107
|
+
{ name:'editing', items:[ 'Find', 'Replace', '-', 'SelectAll', '-', 'SpellChecker', 'Scayt' ] },
|
108
|
+
{ name:'forms', items:[ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton',
|
109
|
+
'HiddenField' ] },
|
110
|
+
'/',
|
111
|
+
{ name:'basicstyles', items:[ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] },
|
112
|
+
{ name:'paragraph', items:[ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv',
|
113
|
+
'-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl' ] },
|
114
|
+
{ name:'links', items:[ 'Link', 'Unlink', 'Anchor' ] },
|
115
|
+
{ name:'insert', items:[ 'Image', 'Flash', 'jwplayer', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] },
|
116
|
+
'/',
|
117
|
+
{ name:'styles', items:[ 'Styles', 'Format', 'Font', 'FontSize' ] },
|
118
|
+
{ name:'colors', items:[ 'TextColor', 'BGColor' ] },
|
119
|
+
{ name:'tools', items:[ 'Maximize', 'ShowBlocks', '-', 'About' ] }
|
120
|
+
],
|
121
|
+
on:{
|
122
|
+
instanceReady:function (ev) {
|
123
|
+
Knitkit.InlineEditing.contentDiv = div;
|
124
|
+
this.setData(data);
|
125
|
+
this.focus();
|
126
|
+
},
|
127
|
+
dataReady:function (ev) {
|
128
|
+
this.resetDirty();
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
});
|
133
|
+
|
134
|
+
});
|
135
|
+
}
|
136
|
+
}
|
@@ -76,9 +76,8 @@
|
|
76
76
|
padding:1px 3px;
|
77
77
|
}
|
78
78
|
|
79
|
-
|
80
79
|
/* this corrects a rendering issue */
|
81
|
-
.x-
|
80
|
+
.x-panel, .x-panel-header, #main, #menu *, #site_content, #footer
|
82
81
|
{
|
83
82
|
-moz-box-sizing:content-box;
|
84
83
|
-ms-box-sizing:content-box;
|
@@ -0,0 +1,88 @@
|
|
1
|
+
/* inline editing */
|
2
|
+
|
3
|
+
/*hightlight editable areas*/
|
4
|
+
div.knitkit-inlineedit-editable{
|
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;
|
8
|
+
cursor: pointer;
|
9
|
+
}
|
10
|
+
|
11
|
+
a.inline-edit-close{
|
12
|
+
float:right;
|
13
|
+
cursor:pointer;
|
14
|
+
}
|
15
|
+
|
16
|
+
span.inline-edit-message{
|
17
|
+
float:left;
|
18
|
+
font-weight: bold;
|
19
|
+
line-height: 1em;
|
20
|
+
color:#CCC;
|
21
|
+
font-size:16px;
|
22
|
+
}
|
23
|
+
|
24
|
+
div.editable-content-actionresult{
|
25
|
+
padding-top:5px;
|
26
|
+
}
|
27
|
+
|
28
|
+
/*simple overlay*/
|
29
|
+
div.modal-container{
|
30
|
+
position: absolute;
|
31
|
+
top: 12.5%;
|
32
|
+
left: 12.5%;
|
33
|
+
width: 75%;
|
34
|
+
height: 600px;
|
35
|
+
z-index: 1002;
|
36
|
+
overflow: auto;
|
37
|
+
}
|
38
|
+
|
39
|
+
/*warning modal*/
|
40
|
+
#warning-modal{
|
41
|
+
z-index:1003;
|
42
|
+
background-color:white;
|
43
|
+
border:solid 5px #025587;
|
44
|
+
position: absolute;
|
45
|
+
top:40%;
|
46
|
+
left:35%;
|
47
|
+
width: 455px;
|
48
|
+
height: 55px;
|
49
|
+
overflow: auto;
|
50
|
+
padding: 10px;
|
51
|
+
text-align: center;
|
52
|
+
}
|
53
|
+
|
54
|
+
#warning-modal span{
|
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{
|
72
|
+
background-color: #F0EFE2;
|
73
|
+
padding:10px;
|
74
|
+
}
|
75
|
+
|
76
|
+
.modal-overlay{
|
77
|
+
position: absolute;
|
78
|
+
top: 0%;
|
79
|
+
left: 0%;
|
80
|
+
width: 100%;
|
81
|
+
height: 100%;
|
82
|
+
background-color: black;
|
83
|
+
z-index:1001;
|
84
|
+
-moz-opacity: 0.8;
|
85
|
+
opacity:.80;
|
86
|
+
filter: alpha(opacity=80);
|
87
|
+
}
|
88
|
+
/* end inline editing */
|
@@ -413,4 +413,4 @@ ul#side_menu li a:hover, ul#side_menu li.selected a, ul#side_menu li.selected a:
|
|
413
413
|
|
414
414
|
a.tooltip {text-decoration:none;}
|
415
415
|
a.tooltip span {display:none; padding:2px 3px; margin-left:8px; width:130px;}
|
416
|
-
a.tooltip:hover span{display:inline; position:absolute; border:1px solid #cccccc; background:#ffffff; color:#6c6c6c;}
|
416
|
+
a.tooltip:hover span{display:inline; position:absolute; border:1px solid #cccccc; background:#ffffff; color:#6c6c6c;}
|
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.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erp_forms
|
16
|
-
requirement: &
|
16
|
+
requirement: &70185626430400 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '2.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70185626430400
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: erp_dev_svcs
|
27
|
-
requirement: &
|
27
|
+
requirement: &70185626429740 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '3.0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70185626429740
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: routing-filter
|
38
|
-
requirement: &
|
38
|
+
requirement: &70185626428880 !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: *70185626428880
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: nokogiri
|
49
|
-
requirement: &
|
49
|
+
requirement: &70185626428320 !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: *70185626428320
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rubyzip
|
60
|
-
requirement: &
|
60
|
+
requirement: &70185626427640 !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: *70185626427640
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: railties
|
71
|
-
requirement: &
|
71
|
+
requirement: &70185626426500 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 3.1.0
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70185626426500
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: actionmailer
|
82
|
-
requirement: &
|
82
|
+
requirement: &70185626425160 !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: *70185626425160
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: actionpack
|
93
|
-
requirement: &
|
93
|
+
requirement: &70185626424540 !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: *70185626424540
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: activerecord
|
104
|
-
requirement: &
|
104
|
+
requirement: &70185626423680 !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: *70185626423680
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: activeresource
|
115
|
-
requirement: &
|
115
|
+
requirement: &70185626422240 !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: *70185626422240
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: activesupport
|
126
|
-
requirement: &
|
126
|
+
requirement: &70185626421500 !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: *70185626421500
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: rails
|
137
|
-
requirement: &
|
137
|
+
requirement: &70185626420720 !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: *70185626420720
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: acts-as-taggable-on
|
148
|
-
requirement: &
|
148
|
+
requirement: &70185626419700 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - =
|
@@ -153,7 +153,7 @@ dependencies:
|
|
153
153
|
version: 2.1.1
|
154
154
|
type: :runtime
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *70185626419700
|
157
157
|
description: Knitkit is CompassAE's content and digital asset management application.
|
158
158
|
It is based on ideas and code adapted from Mephisto and adva_cms, with significant
|
159
159
|
changes to integrate with the CompassAE object-relational layer and to harmonize
|
@@ -167,6 +167,7 @@ files:
|
|
167
167
|
- public/images/check.png
|
168
168
|
- public/images/credit_card.png
|
169
169
|
- public/images/knitkit/bullet.png
|
170
|
+
- public/images/knitkit/close.png
|
170
171
|
- public/images/knitkit/content.png
|
171
172
|
- public/images/knitkit/footer.png
|
172
173
|
- public/images/knitkit/graphic.png
|
@@ -193,13 +194,21 @@ files:
|
|
193
194
|
- public/javascripts/erp_app/desktop/applications/knitkit/section_articles_grid_panel.js
|
194
195
|
- public/javascripts/erp_app/desktop/applications/knitkit/themes_tree_panel.js
|
195
196
|
- public/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js
|
196
|
-
- public/javascripts/erp_app/desktop/applications/knitkit/west_region.js
|
197
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/document.js
|
198
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/host.js
|
199
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/menu.js
|
200
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/section.js
|
201
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website.js
|
202
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website_nav_items.js
|
203
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region/west_region.js
|
197
204
|
- public/javascripts/erp_app/desktop/applications/knitkit/widgets_panel.js
|
198
205
|
- public/javascripts/knitkit/helpers.js
|
206
|
+
- public/javascripts/knitkit/inline_editing.js
|
199
207
|
- public/stylesheets/datepicker.css
|
200
208
|
- public/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css
|
201
209
|
- public/stylesheets/extjs/resources/css/knitkit_extjs_4.css
|
202
210
|
- public/stylesheets/knitkit/documentation.css
|
211
|
+
- public/stylesheets/knitkit/inline_editing.css
|
203
212
|
- public/stylesheets/knitkit/style.css
|
204
213
|
- app/assets/javascripts/knitkit/application.js
|
205
214
|
- app/assets/stylesheets/knitkit/application.css
|
@@ -225,6 +234,7 @@ files:
|
|
225
234
|
- app/controllers/knitkit/website_sections_controller.rb
|
226
235
|
- app/helpers/application_helper.rb
|
227
236
|
- app/mailers/document_mailer.rb
|
237
|
+
- app/mailers/website_inquiry_mailer.rb
|
228
238
|
- app/models/article.rb
|
229
239
|
- app/models/blog.rb
|
230
240
|
- app/models/comment.rb
|
@@ -244,7 +254,6 @@ files:
|
|
244
254
|
- app/models/website.rb
|
245
255
|
- app/models/website_host.rb
|
246
256
|
- app/models/website_inquiry.rb
|
247
|
-
- app/models/website_inquiry_mailer.rb
|
248
257
|
- app/models/website_nav.rb
|
249
258
|
- app/models/website_nav_item.rb
|
250
259
|
- app/models/website_party_role.rb
|
@@ -327,6 +336,7 @@ files:
|
|
327
336
|
- db/data_migrations/20120127150505_create_website_default_configuration.rb
|
328
337
|
- db/data_migrations/20120127150506_add_primary_host_to_website_configuration.rb
|
329
338
|
- db/data_migrations/20120316150424_add_is_template_to_default_website_config.rb
|
339
|
+
- db/data_migrations/20120809020508_update_website_and_configuration.rb
|
330
340
|
- db/data_migrations/upgrade/20111011203718_create_paths_for_sections.rb
|
331
341
|
- db/data_migrations/upgrade/20111216192114_add_secured_models_to_menu_items.rb
|
332
342
|
- db/data_migrations/upgrade/20111216202819_set_contents_iid_to_permalink_where_null.rb
|
@@ -348,13 +358,19 @@ files:
|
|
348
358
|
- lib/knitkit/config.rb
|
349
359
|
- lib/knitkit/engine.rb
|
350
360
|
- lib/knitkit/extensions/action_controller/theme_support/acts_as_themed_controller.rb
|
361
|
+
- lib/knitkit/extensions/action_mailer/theme_support/acts_as_themed_mailer.rb
|
351
362
|
- lib/knitkit/extensions/active_record/acts_as_commentable.rb
|
352
363
|
- lib/knitkit/extensions/active_record/acts_as_document.rb
|
353
364
|
- lib/knitkit/extensions/active_record/acts_as_publishable.rb
|
354
365
|
- lib/knitkit/extensions/active_record/theme_support/has_many_themes.rb
|
355
366
|
- lib/knitkit/extensions/compass_ae/widgets/base.rb
|
367
|
+
- lib/knitkit/extensions/compass_ae/widgets/widget_proxy_controller.rb
|
356
368
|
- lib/knitkit/extensions/core/array.rb
|
357
|
-
- lib/knitkit/extensions/railties/action_view.rb
|
369
|
+
- lib/knitkit/extensions/railties/action_view/base.rb
|
370
|
+
- lib/knitkit/extensions/railties/action_view/helpers/blog_helper.rb
|
371
|
+
- lib/knitkit/extensions/railties/action_view/helpers/content_helper.rb
|
372
|
+
- lib/knitkit/extensions/railties/action_view/helpers/knitkit_helper.rb
|
373
|
+
- lib/knitkit/extensions/railties/action_view/helpers/menu_helper.rb
|
358
374
|
- lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb
|
359
375
|
- lib/knitkit/extensions/railties/theme_support/theme_file_resolver.rb
|
360
376
|
- lib/knitkit/extensions.rb
|