knitkit 3.0.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{public → app/assets}/images/check.png +0 -0
- data/{public → app/assets}/images/credit_card.png +0 -0
- data/{public → app/assets}/images/inline_edit/close.png +0 -0
- data/{public → app/assets}/images/knitkit/icons/document.png +0 -0
- data/{public → app/assets}/images/knitkit/icons/multi_doc.png +0 -0
- data/{public → app/assets}/images/knitkit/logo.png +0 -0
- data/{public → app/assets}/images/knitkit/splash/images/add-site.png +0 -0
- data/app/assets/images/knitkit/splash/images/add_website_105x105-active.png +0 -0
- data/app/assets/images/knitkit/splash/images/add_website_105x105.png +0 -0
- data/{public → app/assets}/images/knitkit/splash/images/adjust-site.png +0 -0
- data/{public → app/assets}/images/knitkit/splash/images/browse-site.png +0 -0
- data/app/assets/images/knitkit/splash/images/browse_db_105x105-active.png +0 -0
- data/app/assets/images/knitkit/splash/images/browse_db_105x105.png +0 -0
- data/app/assets/images/knitkit/splash/images/console_105x105-active.png +0 -0
- data/app/assets/images/knitkit/splash/images/console_105x105.png +0 -0
- data/{public → app/assets}/images/knitkit/splash/images/find-themes.png +0 -0
- data/app/assets/images/knitkit/splash/images/find_themes_105x105-active.png +0 -0
- data/app/assets/images/knitkit/splash/images/find_themes_105x105.png +0 -0
- data/app/assets/images/knitkit/splash/images/learn_more_105x105-active.png +0 -0
- data/app/assets/images/knitkit/splash/images/learn_more_105x105.png +0 -0
- data/{public → app/assets}/images/knitkit/splash/images/settings.png +0 -0
- data/{public → app/assets}/images/knitkit/splash/images/tutorials.png +0 -0
- data/app/assets/images/knitkit/splash/splash.png +0 -0
- data/app/assets/images/widgets/manage_profile/contact_information.png +0 -0
- data/app/assets/images/widgets/manage_profile/password.png +0 -0
- data/app/assets/images/widgets/manage_profile/user_information.png +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/knitkit/app.js +24 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js +15 -12
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/center_region.js +69 -48
- data/app/assets/javascripts/erp_app/desktop/applications/knitkit/comments_grid_panel.js +214 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/east_region/east_region.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/east_region/file_assets_panel.js +17 -19
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/east_region/image_assets_data_view.js +13 -3
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/east_region/image_assets_panel.js +59 -48
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/east_region/widgets_panel.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js +2 -2
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/module.js +2 -2
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/publish_window.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/published_grid_panel.js +1 -1
- data/app/assets/javascripts/erp_app/desktop/applications/knitkit/splash_screen.js +268 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/top_menu/main_menu.js +85 -33
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/top_menu/websites_combo.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js +5 -28
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/article.js +22 -8
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/document.js +143 -25
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/host.js +5 -1
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/menu.js +2 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/section.js +181 -65
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website_nav_items.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/hosts_tree_panel.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/menu_tree_panel.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/site_contents_tree_panel.js +121 -116
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/themes_tree_panel.js +101 -10
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/knitkit/west_region/west_region.js +9 -5
- data/app/assets/javascripts/knitkit-web.js +22 -0
- data/app/assets/javascripts/knitkit/additional-methods.min.js +4 -0
- data/app/assets/javascripts/knitkit/bootstrap.min.js +7 -0
- data/app/assets/javascripts/knitkit/captcha.js +154 -0
- data/{public → app/assets}/javascripts/knitkit/confirm-bootstrap.js +1 -1
- data/{public → app/assets}/javascripts/knitkit/inline_editing.js +1 -1
- data/{public → app/assets}/javascripts/knitkit/jquery.maskedinput.min.js +0 -0
- data/app/assets/javascripts/knitkit/jquery.validate.min.js +4 -0
- data/app/assets/javascripts/knitkit/js.cookie.js +145 -0
- data/{public → app/assets}/javascripts/knitkit/theme.js +0 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/knitkit/app.css +12 -0
- data/{public → app/assets}/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css +23 -33
- data/app/assets/stylesheets/erp_app/shared/knitkit_shared.css +21 -0
- data/app/assets/stylesheets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/stylesheets/fonts/glyphicons-halflings-regular.svg +288 -0
- data/app/assets/stylesheets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/stylesheets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/stylesheets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/stylesheets/knitkit-web.css +16 -0
- data/app/assets/stylesheets/knitkit/bootstrap.min.css +5 -0
- data/app/assets/stylesheets/knitkit/captcha.css +59 -0
- data/app/assets/stylesheets/knitkit/custom.css +144 -0
- data/{public → app/assets}/stylesheets/knitkit/inline_editing.css +0 -0
- data/app/assets/stylesheets/knitkit/submenu.css +93 -0
- data/app/controllers/api/v1/websites_controller.rb +14 -0
- data/app/controllers/captcha_controller.rb +53 -0
- data/app/controllers/knitkit/base_controller.rb +1 -5
- data/app/controllers/knitkit/erp_app/desktop/app_controller.rb +2 -9
- data/app/controllers/knitkit/erp_app/desktop/articles_controller.rb +20 -7
- data/app/controllers/knitkit/erp_app/desktop/file_assets_controller.rb +38 -28
- data/app/controllers/knitkit/erp_app/desktop/image_assets_controller.rb +16 -9
- data/app/controllers/knitkit/erp_app/desktop/online_document_sections_controller.rb +69 -15
- data/app/controllers/knitkit/erp_app/desktop/position_controller.rb +45 -58
- data/app/controllers/knitkit/erp_app/desktop/theme_controller.rb +64 -29
- data/app/controllers/knitkit/erp_app/desktop/website_controller.rb +36 -13
- data/app/controllers/knitkit/erp_app/desktop/website_host_controller.rb +12 -0
- data/app/controllers/knitkit/erp_app/desktop/website_nav_controller.rb +4 -11
- data/app/controllers/knitkit/erp_app/desktop/website_nav_item_controller.rb +2 -9
- data/app/controllers/knitkit/erp_app/desktop/website_section_controller.rb +56 -20
- data/app/controllers/knitkit/online_document_sections_controller.rb +9 -3
- data/app/mailers/website_inquiry_mailer.rb +11 -3
- data/app/models/content.rb +16 -6
- data/app/models/documented_item.rb +12 -1
- data/app/models/online_document_section.rb +54 -20
- data/app/models/published_website.rb +16 -0
- data/app/models/theme.rb +53 -47
- data/app/models/website.rb +172 -191
- data/app/models/website_section.rb +64 -30
- data/app/views/knitkit/blogs/show.html.erb +5 -2
- data/app/views/layouts/knitkit/base.html.erb +54 -51
- data/app/views/menus/knitkit/_default_menu.html.erb +11 -11
- data/app/views/menus/knitkit/_default_section_menu.html.erb +2 -2
- data/app/views/menus/knitkit/_default_sub_menu.erb +27 -0
- data/app/views/menus/knitkit/_default_sub_section_menu.html.erb +30 -0
- data/app/views/website_inquiry_mailer/inquiry.html.erb +266 -0
- data/app/widgets/contact_us/base.rb +26 -16
- data/app/widgets/contact_us/javascript/contact_us.js +1 -1
- data/app/widgets/contact_us/views/error.html.erb +7 -3
- data/app/widgets/contact_us/views/index.html.erb +36 -28
- data/app/widgets/google_map/javascript/google_map.js +1 -1
- data/app/widgets/google_map/views/index.html.erb +1 -1
- data/app/widgets/login/javascript/login.js +1 -1
- data/app/widgets/login/views/index.html.erb +1 -1
- data/app/widgets/manage_profile/base.rb +141 -112
- data/app/widgets/manage_profile/javascript/manage_profile.js +2 -2
- data/app/widgets/manage_profile/views/_password_form.html.erb +1 -1
- data/app/widgets/manage_profile/views/_user_information_form.html.erb +1 -30
- data/app/widgets/manage_profile/views/index.html.erb +42 -40
- data/app/widgets/reset_password/base.rb +39 -8
- data/app/widgets/reset_password/javascript/reset_password.js +1 -1
- data/app/widgets/reset_password/views/index.html.erb +3 -3
- data/app/widgets/reset_password/views/invalid_reset_token.html.erb +7 -0
- data/app/widgets/reset_password/views/layouts/base.html.erb +1 -1
- data/app/widgets/reset_password/views/reset_password.html.erb +39 -0
- data/app/widgets/reset_password/views/reset_success.html.erb +5 -0
- data/app/widgets/search/base.rb +5 -5
- data/app/widgets/search/javascript/search.js +6 -6
- data/app/widgets/search/views/_inline_search_form.html.erb +23 -12
- data/app/widgets/search/views/_search_form.html.erb +34 -30
- data/app/widgets/search/views/layouts/base.html.erb +6 -1
- data/app/widgets/signup/base.rb +73 -30
- data/app/widgets/signup/javascript/signup.js +1 -1
- data/app/widgets/signup/views/_signup_form.html.erb +2 -1
- data/app/widgets/signup/views/layouts/base.html.erb +1 -1
- data/app/widgets/signup/views/success.html.erb +2 -3
- data/config/routes.rb +25 -4
- data/db/data_migrations/20110509223702_add_publisher_role.rb +0 -2
- data/db/data_migrations/20110816153456_add_knitkit_application.rb +7 -15
- data/db/data_migrations/20120127150505_create_website_default_configuration.rb +63 -3
- data/db/data_migrations/20150118180450_add_website_member_roles.rb +12 -0
- data/db/data_migrations/20150414150359_nest_knitkit_security_roles.rb +35 -0
- data/db/data_migrations/20150414173437_move_website_roles_under_website_builder.rb +19 -0
- data/db/migrate/20110211002317_setup_knitkit.rb +86 -39
- data/lib/knitkit.rb +8 -2
- data/lib/knitkit/config.rb +2 -3
- data/lib/knitkit/engine.rb +35 -4
- data/lib/knitkit/extensions.rb +2 -1
- data/lib/knitkit/extensions/action_controller/theme_support/acts_as_themed_controller.rb +1 -1
- data/lib/knitkit/extensions/action_mailer/theme_support/acts_as_themed_mailer.rb +1 -1
- data/lib/knitkit/extensions/compass_ae/mailers/user_mailer.rb +31 -0
- data/lib/knitkit/extensions/compass_ae/widgets/base.rb +1 -1
- data/lib/knitkit/extensions/railties/action_controller/captcha_helper.rb +43 -0
- data/lib/knitkit/extensions/railties/action_view/helpers/content_helper.rb +1 -1
- data/lib/knitkit/extensions/railties/action_view/helpers/menu_helper.rb +11 -1
- data/lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb +83 -0
- data/lib/knitkit/routing_filter/section_router.rb +24 -14
- data/lib/knitkit/version.rb +1 -1
- data/lib/tasks/knitkit_tasks.rake +89 -4
- data/lib/tasks/theme_parser.rake +85 -0
- data/public/fonts/glyphicons-halflings-regular.eot +0 -0
- data/public/fonts/glyphicons-halflings-regular.svg +288 -0
- data/public/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/public/fonts/glyphicons-halflings-regular.woff +0 -0
- data/public/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/public/paypal-button.min.js +7 -0
- metadata +161 -82
- data/app/assets/javascripts/knitkit/application.js +0 -9
- data/app/assets/stylesheets/knitkit/application.css +0 -7
- data/app/mailers/document_mailer.rb +0 -10
- data/app/views/document_mailer/email_document.html.erb +0 -12
- data/app/views/knitkit/mobile/index.html.erb +0 -162
- data/app/views/knitkit/online_document_sections/index.html.erb +0 -279
- data/app/views/layouts/knitkit/online_document_sections.html.erb +0 -80
- data/app/views/website_inquiry_mailer/inquiry.erb +0 -24
- data/db/data_migrations/20120127150506_add_primary_host_to_website_configuration.rb +0 -33
- data/db/data_migrations/20120316150424_add_is_template_to_default_website_config.rb +0 -16
- data/db/data_migrations/20120809020508_update_website_and_configuration.rb +0 -82
- data/db/data_migrations/20121129185611_upgrade_website_role_iid.rb +0 -20
- data/db/migrate/20130405184234_add_use_markdown_to_section.rb +0 -19
- data/db/migrate/20131112013052_add_knitkit_missing_indexes.rb +0 -33
- data/db/migrate/20140622212723_update_website_inquiries.rb +0 -22
- data/db/migrate/20140911185022_add_publishing_to_website.rb +0 -5
- data/db/migrate/20141013073349_add_custom_fields_to_documents.rb +0 -12
- data/db/migrate/20141016101936_upgrade_remove_dynamic_attributes.rb +0 -13
- data/lib/knitkit/extensions/railties/theme_support/theme_file_resolver.rb +0 -49
- data/public/images/knitkit/close_window.png +0 -0
- data/public/images/knitkit/splash/splash.png +0 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/comments_grid_panel.js +0 -215
- data/public/javascripts/erp_app/desktop/applications/knitkit/select_roles_window.js +0 -108
- data/public/javascripts/erp_app/desktop/applications/knitkit/splash_screen.js +0 -170
- data/public/javascripts/knitkit/bootstrap-datepicker.js +0 -474
- data/public/javascripts/knitkit/bootstrap.min.js +0 -7
- data/public/javascripts/knitkit/mobile/app/view/Main.js +0 -108
- data/public/javascripts/knitkit/mobile/ux/slidenavigation/View.js +0 -734
- data/public/stylesheets/knitkit/bootstrap-responsive.min.css +0 -10
- data/public/stylesheets/knitkit/bootstrap.min.css +0 -7
- data/public/stylesheets/knitkit/custom.css +0 -122
- data/public/stylesheets/knitkit/datepicker.css +0 -182
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*!
|
2
|
+
* paypaljsbuttons
|
3
|
+
* JavaScript integration for PayPal's payment buttons
|
4
|
+
* @version 1.0.3 - 2014-05-20
|
5
|
+
* @author Jeff Harrell <https://github.com/jeffharrell/>
|
6
|
+
*/
|
7
|
+
if("undefined"==typeof PAYPAL||!PAYPAL)var PAYPAL={};PAYPAL.apps=PAYPAL.apps||{},function(a){"use strict";function b(){var b,c,d,e;a.getElementById("paypal-button")||(b="",c=a.createElement("style"),d=".paypal-button",e=d+" button",b+=d+" { white-space: nowrap; }",b+=d+" .field-error { border: 1px solid #FF0000; }",b+=d+" .hide { display: none; }",b+=d+" .error-box { background: #FFFFFF; border: 1px solid #DADADA; border-radius: 5px; padding: 8px; display: inline-block; }",b+=e+' { white-space: nowrap; overflow: hidden; border-radius: 13px; font-family: "Arial", bold, italic; font-weight: bold; font-style: italic; border: 1px solid #ffa823; color: #0E3168; background: #ffa823; position: relative; text-shadow: 0 1px 0 rgba(255,255,255,.5); cursor: pointer; z-index: 0; }',b+=e+':before { content: " "; position: absolute; width: 100%; height: 100%; border-radius: 11px; top: 0; left: 0; background: #ffa823; background: -webkit-linear-gradient(top, #FFAA00 0%,#FFAA00 80%,#FFF8FC 100%); background: -moz-linear-gradient(top, #FFAA00 0%,#FFAA00 80%,#FFF8FC 100%); background: -ms-linear-gradient(top, #FFAA00 0%,#FFAA00 80%,#FFF8FC 100%); background: linear-gradient(top, #FFAA00 0%,#FFAA00 80%,#FFF8FC 100%); z-index: -2; }',b+=e+':after { content: " "; position: absolute; width: 98%; height: 60%; border-radius: 40px 40px 38px 38px; top: 0; left: 0; background: -webkit-linear-gradient(top, #fefefe 0%, #fed994 100%); background: -moz-linear-gradient(top, #fefefe 0%, #fed994 100%); background: -ms-linear-gradient(top, #fefefe 0%, #fed994 100%); background: linear-gradient(top, #fefefe 0%, #fed994 100%); z-index: -1; -webkit-transform: translateX(1%);-moz-transform: translateX(1%); -ms-transform: translateX(1%); transform: translateX(1%); }',b+=e+".small { padding: 3px 15px; font-size: 12px; }",b+=e+".large { padding: 4px 19px; font-size: 14px; }",c.type="text/css",c.id="paypal-button",c.styleSheet?c.styleSheet.cssText=b:c.appendChild(a.createTextNode(b)),a.getElementsByTagName("head")[0].appendChild(c))}function c(b,c){var e,f,g,h,k,l,m,o,p,q,r,s,t,u,v,w=a.createElement("form"),x=a.createElement("button"),y=a.createElement("input"),z=a.createElement("p"),A=a.createElement("label"),B=a.createElement("input"),C=a.createElement("select"),D=a.createElement("option"),E=b.items,F=[],G={};w.method="post",w.action=j.replace("{env}",b.items.env.value),w.className="paypal-button",w.target="_top";var H=a.createElement("div");H.className="hide",H.id="errorBox",w.appendChild(H),B.type="text",B.className="paypal-input",z.className="paypal-group",A.className="paypal-label",C.className="paypal-select",y.type="hidden",l=E.size&&E.size.value||"large",m=E.lc&&E.lc.value||"en_US",o=n[m]||n.en_US,p=o[c],b.items.text&&(p=b.items.text.value,b.remove("text"));for(k in E)e=E[k],e.hasOptions?F.push(e):e.isEditable?(h=B.cloneNode(!0),h.name=e.key,h.value=e.value,g=A.cloneNode(!0),v=i.config.labels[e.key]||o[e.key]||e.key,g.htmlFor=e.key,g.appendChild(a.createTextNode(v)),g.appendChild(h),f=z.cloneNode(!0),f.appendChild(g),w.appendChild(f)):(h=f=y.cloneNode(!0),h.name=e.key,h.value=e.value,w.appendChild(f));F=d(F);for(k in F)if(e=F[k],F[k].hasOptions){if(G=e.value,G.options.length>1){h=y.cloneNode(!0),h.name="on"+e.displayOrder,h.value=G.label,q=C.cloneNode(!0),q.name="os"+e.displayOrder;for(s in G.options)if(t=G.options[s],"string"==typeof t)r=D.cloneNode(!0),r.value=t,r.appendChild(a.createTextNode(t)),q.appendChild(r);else for(u in t)r=D.cloneNode(!0),r.value=u,r.appendChild(a.createTextNode(t[u])),q.appendChild(r);g=A.cloneNode(!0),v=G.label||e.key,g.htmlFor=e.key,g.appendChild(a.createTextNode(v)),g.appendChild(q),g.appendChild(h)}else g=A.cloneNode(!0),v=G.label||e.key,g.htmlFor=e.key,g.appendChild(a.createTextNode(v)),h=y.cloneNode(!0),h.name="on"+e.displayOrder,h.value=G.label,g.appendChild(h),h=B.cloneNode(!0),h.name="os"+e.displayOrder,h.value=G.options[0]||"",h.setAttribute("data-label",G.label),g.appendChild(h);f=z.cloneNode(!0),f.appendChild(g),w.appendChild(f)}try{x.type="submit"}catch(I){x.setAttribute("type","submit")}return x.className="paypal-button "+l,x.appendChild(a.createTextNode(p)),w.appendChild(x),w}function d(a){return a.sort(function(a,b){return a.displayOrder-b.displayOrder}),a}function e(b,c){var d,e,f=j.replace("{env}",b.items.env.value),g=a.createElement("img"),h=f+"?",i=13,l=b.items;c=c&&c.value||250;for(e in l)d=l[e],h+=d.key+"="+encodeURIComponent(d.value)+"&";return h=encodeURIComponent(h),g.src=k.replace("{env}",b.items.env.value).replace("{url}",h).replace("{pattern}",i).replace("{size}",c),g}function f(a){var b,c,d,e,f,h={},i=[];if(b=a.attributes)for(f=0,e=b.length;e>f;f++)c=b[f],(d=c.name.match(/^data-option([0-9])([a-z]+)([0-9])?/i))?i.push({name:"option."+d[1]+"."+d[2]+(d[3]?"."+d[3]:""),value:c.value}):(d=c.name.match(/^data-([a-z0-9_]+)(-editable)?/i))&&(h[d[1]]={value:c.value,isEditable:!!d[2]});return g(i,h),h}function g(a,b){var c,d,e,f,g,h={};for(j=0;j<a.length;j++)for(c=a[j],d=c.name,e=d.split("."),f=e.shift(),g=h;f;)g[f]||(g[f]={}),e.length||(g[f]=c.value),g=g[f],f=e.shift();var i,j,k,l,m={},n={},o=[],p={},q=Object.prototype.hasOwnProperty;for(i in h)if(q.call(h,i)){l=h[i];for(j in l){b["option_"+j]={value:{options:"",label:l[j].name},hasOptions:!0,displayOrder:parseInt(j,10)},m=l[j].select,n=l[j].price,o=[];for(k in m)p={},n?(p[m[k]]=m[k]+" "+n[k],o.push(p)):o.push(m[k]);b["option_"+j].value.options=o}}}function h(){this.items={},this.add=function(a,b,c,d,e){this.items[a]={key:a,value:b,isEditable:c,hasOptions:d,displayOrder:e}},this.remove=function(a){delete this.items[a]}}var i={},j="https://{env}.paypal.com/cgi-bin/webscr",k="https://{env}.paypal.com/webapps/ppint/qrcode?data={url}&pattern={pattern}&height={size}",l="JavaScriptButton_{type}",m={name:"item_name",number:"item_number",locale:"lc",currency:"currency_code",recurrence:"p3",period:"t3",callback:"notify_url",button_id:"hosted_button_id"},n={da_DK:{buynow:"Køb nu",cart:"Læg i indkøbsvogn",donate:"Doner",subscribe:"Abonner",paynow:"Betal nu",item_name:"Vare",number:"Nummer",amount:"Pris",quantity:"Antal"},de_DE:{buynow:"Jetzt kaufen",cart:"In den Warenkorb",donate:"Spenden",subscribe:"Abonnieren",paynow:"Jetzt bezahlen",item_name:"Artikel",number:"Nummer",amount:"Betrag",quantity:"Menge"},en_AU:{buynow:"Buy Now",cart:"Add to Cart",donate:"Donate",subscribe:"Subscribe",paynow:"Pay Now",item_name:"Item",number:"Number",amount:"Amount",quantity:"Quantity"},en_GB:{buynow:"Buy Now",cart:"Add to Cart",donate:"Donate",subscribe:"Subscribe",paynow:"Pay Now",item_name:"Item",number:"Number",amount:"Amount",quantity:"Quantity"},en_US:{buynow:"Buy Now",cart:"Add to Cart",donate:"Donate",subscribe:"Subscribe",paynow:"Pay Now",item_name:"Item",number:"Number",amount:"Amount",quantity:"Quantity"},es_ES:{buynow:"Comprar ahora",cart:"Añadir al carro",donate:"Donar",subscribe:"Suscribirse",paynow:"Pague ahora",item_name:"ArtÃculo",number:"Número",amount:"Importe",quantity:"Cantidad"},es_XC:{buynow:"Comprar ahora",cart:"Añadir al carrito",donate:"Donar",subscribe:"Suscribirse",paynow:"Pague ahora",item_name:"ArtÃculo",number:"Número",amount:"Importe",quantity:"Cantidad"},fr_CA:{buynow:"Acheter",cart:"Ajouter au panier",donate:"Faire un don",subscribe:"Souscrire",paynow:"Payer maintenant",item_name:"Objet",number:"Numéro",amount:"Montant",quantity:"Quantité"},fr_FR:{buynow:"Acheter",cart:"Ajouter au panier",donate:"Faire un don",subscribe:"Souscrire",paynow:"Payer maintenant",item_name:"Objet",number:"Numéro",amount:"Montant",quantity:"Quantité"},fr_XC:{buynow:"Acheter",cart:"Ajouter au panier",donate:"Faire un don",subscribe:"Souscrire",paynow:"Payer maintenant",item_name:"Objet",number:"Numéro",amount:"Montant",quantity:"Quantité"},he_IL:{buynow:"וישכע ×”× ×§",cart:"×ª×•×™× ×§×” לסל ףסוה",donate:"×ורת",subscribe:"×™×•× ×ž×› ףרטצה",paynow:"כשיו ×©×œ× ×¢",item_name:"טירפ",number:"רפסמ",amount:"×וכס",quantity:"מותכ"},id_ID:{buynow:"Beli Sekarang",cart:"Tambah ke Keranjang",donate:"Donasikan",subscribe:"Berlangganan",paynow:"Bayar Sekarang",item_name:"Barang",number:"Nomor",amount:"Harga",quantity:"Kuantitas"},it_IT:{buynow:"Paga adesso",cart:"Aggiungi al carrello",donate:"Donazione",subscribe:"Iscriviti",paynow:"Paga Ora",item_name:"Oggetto",number:"Numero",amount:"Importo",quantity:"Quantità "},ja_JP:{buynow:"今ã™ã購入",cart:"カートã«è¿½åŠ ",donate:"寄付",subscribe:"è³¼èª",paynow:"今ã™ã支払ã†",item_name:"商å“",number:"番å·",amount:"ä¾¡æ ¼",quantity:"æ•°é‡"},nl_NL:{buynow:"Nu kopen",cart:"Aan winkelwagentje toevoegen",donate:"Doneren",subscribe:"Abonneren",paynow:"Nu betalen",item_name:"Item",number:"Nummer",amount:"Bedrag",quantity:"Hoeveelheid"},no_NO:{buynow:"Kjøp nÃ¥",cart:"Legg til i kurv",donate:"Doner",subscribe:"Abonner",paynow:"Betal nÃ¥",item_name:"Vare",number:"Nummer",amount:"Beløp",quantity:"Antall"},pl_PL:{buynow:"Kup teraz",cart:"Dodaj do koszyka",donate:"Przekaż darowiznÄ™",subscribe:"Subskrybuj",paynow:"ZapÅ‚ać teraz",item_name:"Przedmiot",number:"Numer",amount:"Kwota",quantity:"Ilość"},pt_BR:{buynow:"Comprar agora",cart:"Adicionar ao carrinho",donate:"Doar",subscribe:"Assinar",paynow:"Pagar agora",item_name:"Produto",number:"Número",amount:"Valor",quantity:"Quantidade"},ru_RU:{buynow:"Купить ÑейчаÑ",cart:"Добавить в корзину",donate:"Пожертвовать",subscribe:"ПодпиÑатьÑÑ",paynow:"Оплатить ÑейчаÑ",item_name:"Товар",number:"Ðомер",amount:"Сумма",quantity:"КоличеÑтво"},sv_SE:{buynow:"Köp nu",cart:"Lägg till i kundvagn",donate:"Donera",subscribe:"Abonnera",paynow:"Betal nu",item_name:"Objekt",number:"Nummer",amount:"Belopp",quantity:"Antal"},th_TH:{buynow:"ซื้à¸à¸—ันที",cart:"เพิ่มลงตะà¸à¸£à¹‰à¸²",donate:"บริจาค",subscribe:"บà¸à¸à¸£à¸±à¸šà¸ªà¸¡à¸²à¸Šà¸´à¸",paynow:"จ่ายตà¸à¸™à¸™à¸µà¹‰",item_name:"ชื่à¸à¸ªà¸´à¸™à¸„้า",number:"รหัสสินค้า",amount:"ราคา",quantity:"จำนวน"},tr_TR:{buynow:"Hemen Alın",cart:"Sepete Ekleyin",donate:"Bağış Yapın",subscribe:"Abone Olun",paynow:"Åžimdi öde",item_name:"Ãœrün",number:"Numara",amount:"Tutar",quantity:"Miktar"},zh_CN:{buynow:"ç«‹å³è´ä¹°",cart:"æ·»åŠ åˆ°è´ç‰©è½¦",donate:"æèµ ",subscribe:"租用",paynow:"现在支付",item_name:"物å“",number:"ç¼–å·",amount:"金é¢",quantity:"æ•°é‡"},zh_HK:{buynow:"ç«‹å³è²·",cart:"åŠ å…¥è³¼ç‰©è»Š",donate:"æ款",subscribe:"訂用",paynow:"现在支付",item_name:"é …ç›®",number:"號碼",amount:"金é¡",quantity:"數é‡"},zh_TW:{buynow:"ç«‹å³è³¼",cart:"åŠ åˆ°è³¼ç‰©è»Š",donate:"æ款",subscribe:"訂閱",paynow:"现在支付",item_name:"商å“",number:"商å“編號",amount:"單價",quantity:"數é‡"},zh_XC:{buynow:"ç«‹å³è´ä¹°",cart:"æ·»åŠ åˆ°è´ç‰©è½¦",donate:"æèµ ",subscribe:"租用",paynow:"现在支付",item_name:"物å“",number:"ç¼–å·",amount:"金é¢",quantity:"æ•°é‡"}};if(PAYPAL.apps.ButtonFactory||(i.config={labels:{}},i.buttons={buynow:0,cart:0,donate:0,qr:0,subscribe:0},i.create=function(a,d,f,g){var i,j,k,n,o=new h;if(!a)return!1;for(j in d)n=d[j],o.add(m[j]||j,n.value,n.isEditable,n.hasOptions,n.displayOrder);return f=f||"buynow",k="www",o.items.env&&o.items.env.value&&(k+="."+o.items.env.value),o.items.hosted_button_id?o.add("cmd","_s-xclick"):"cart"===f?(o.add("cmd","_cart"),o.add("add",!0)):"donate"===f?o.add("cmd","_donations"):"subscribe"===f?(o.add("cmd","_xclick-subscriptions"),o.items.amount&&!o.items.a3&&o.add("a3",o.items.amount.value)):o.add("cmd","_xclick"),o.add("business",a),o.add("bn",l.replace(/\{type\}/,f)),o.add("env",k),"qr"===f?(i=e(o,o.items.size),o.remove("size")):i=c(o,f),b(),this.buttons[f]+=1,g&&g.appendChild(i),i},PAYPAL.apps.ButtonFactory=i),"undefined"!=typeof a){var o,p,q,r,s,t,u=PAYPAL.apps.ButtonFactory,v=a.getElementsByTagName("script");for(s=0,t=v.length;t>s;s++)o=v[s],o&&o.src&&(p=o&&f(o),q=p&&p.button&&p.button.value,r=o.src.split("?merchant=")[1],r&&(u.create(r,p,q,o.parentNode),o.parentNode.removeChild(o)))}}(document),"object"==typeof module&&"object"==typeof module.exports&&(module.exports=PAYPAL);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knitkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rick Koloski, Russell Holmes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erp_app
|
@@ -16,28 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4.
|
19
|
+
version: '4.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '4.
|
26
|
+
version: '4.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: erp_dev_svcs
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '4.
|
33
|
+
version: '4.2'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '4.
|
40
|
+
version: '4.2'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: momentjs-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.8'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.8'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bootstrap3-datetimepicker-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 4.7.14
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 4.7.14
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: routing-filter
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +136,34 @@ dependencies:
|
|
108
136
|
- - '='
|
109
137
|
- !ruby/object:Gem::Version
|
110
138
|
version: 1.0.1
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: html_truncator
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.2'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.2'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: visual_captcha
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.0.2
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.0.2
|
111
167
|
description: Knitkit is CompassAE's content and digital asset management application.
|
112
168
|
It is based on ideas and code adapted from Mephisto and adva_cms, with significant
|
113
169
|
changes to integrate with the CompassAE object-relational layer and to harmonize
|
@@ -121,8 +177,86 @@ files:
|
|
121
177
|
- GPL-3-LICENSE
|
122
178
|
- README.md
|
123
179
|
- Rakefile
|
124
|
-
- app/assets/
|
125
|
-
- app/assets/
|
180
|
+
- app/assets/images/check.png
|
181
|
+
- app/assets/images/credit_card.png
|
182
|
+
- app/assets/images/inline_edit/close.png
|
183
|
+
- app/assets/images/knitkit/icons/document.png
|
184
|
+
- app/assets/images/knitkit/icons/multi_doc.png
|
185
|
+
- app/assets/images/knitkit/logo.png
|
186
|
+
- app/assets/images/knitkit/splash/images/add-site.png
|
187
|
+
- app/assets/images/knitkit/splash/images/add_website_105x105-active.png
|
188
|
+
- app/assets/images/knitkit/splash/images/add_website_105x105.png
|
189
|
+
- app/assets/images/knitkit/splash/images/adjust-site.png
|
190
|
+
- app/assets/images/knitkit/splash/images/browse-site.png
|
191
|
+
- app/assets/images/knitkit/splash/images/browse_db_105x105-active.png
|
192
|
+
- app/assets/images/knitkit/splash/images/browse_db_105x105.png
|
193
|
+
- app/assets/images/knitkit/splash/images/console_105x105-active.png
|
194
|
+
- app/assets/images/knitkit/splash/images/console_105x105.png
|
195
|
+
- app/assets/images/knitkit/splash/images/find-themes.png
|
196
|
+
- app/assets/images/knitkit/splash/images/find_themes_105x105-active.png
|
197
|
+
- app/assets/images/knitkit/splash/images/find_themes_105x105.png
|
198
|
+
- app/assets/images/knitkit/splash/images/learn_more_105x105-active.png
|
199
|
+
- app/assets/images/knitkit/splash/images/learn_more_105x105.png
|
200
|
+
- app/assets/images/knitkit/splash/images/settings.png
|
201
|
+
- app/assets/images/knitkit/splash/images/tutorials.png
|
202
|
+
- app/assets/images/knitkit/splash/splash.png
|
203
|
+
- app/assets/images/widgets/manage_profile/contact_information.png
|
204
|
+
- app/assets/images/widgets/manage_profile/password.png
|
205
|
+
- app/assets/images/widgets/manage_profile/user_information.png
|
206
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/app.js
|
207
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js
|
208
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/center_region.js
|
209
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/comments_grid_panel.js
|
210
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/east_region/east_region.js
|
211
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/east_region/file_assets_panel.js
|
212
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/east_region/image_assets_data_view.js
|
213
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/east_region/image_assets_panel.js
|
214
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/east_region/widgets_panel.js
|
215
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js
|
216
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/module.js
|
217
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/publish_window.js
|
218
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/published_grid_panel.js
|
219
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/splash_screen.js
|
220
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/top_menu/main_menu.js
|
221
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/top_menu/websites_combo.js
|
222
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js
|
223
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/article.js
|
224
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/document.js
|
225
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/host.js
|
226
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/menu.js
|
227
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/section.js
|
228
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/website_nav_items.js
|
229
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/hosts_tree_panel.js
|
230
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/menu_tree_panel.js
|
231
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/site_contents_tree_panel.js
|
232
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/themes_tree_panel.js
|
233
|
+
- app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/west_region.js
|
234
|
+
- app/assets/javascripts/knitkit-web.js
|
235
|
+
- app/assets/javascripts/knitkit/additional-methods.min.js
|
236
|
+
- app/assets/javascripts/knitkit/bootstrap.min.js
|
237
|
+
- app/assets/javascripts/knitkit/captcha.js
|
238
|
+
- app/assets/javascripts/knitkit/confirm-bootstrap.js
|
239
|
+
- app/assets/javascripts/knitkit/inline_editing.js
|
240
|
+
- app/assets/javascripts/knitkit/jquery.maskedinput.min.js
|
241
|
+
- app/assets/javascripts/knitkit/jquery.validate.min.js
|
242
|
+
- app/assets/javascripts/knitkit/js.cookie.js
|
243
|
+
- app/assets/javascripts/knitkit/theme.js
|
244
|
+
- app/assets/stylesheets/erp_app/desktop/applications/knitkit/app.css
|
245
|
+
- app/assets/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css
|
246
|
+
- app/assets/stylesheets/erp_app/shared/knitkit_shared.css
|
247
|
+
- app/assets/stylesheets/fonts/glyphicons-halflings-regular.eot
|
248
|
+
- app/assets/stylesheets/fonts/glyphicons-halflings-regular.svg
|
249
|
+
- app/assets/stylesheets/fonts/glyphicons-halflings-regular.ttf
|
250
|
+
- app/assets/stylesheets/fonts/glyphicons-halflings-regular.woff
|
251
|
+
- app/assets/stylesheets/fonts/glyphicons-halflings-regular.woff2
|
252
|
+
- app/assets/stylesheets/knitkit-web.css
|
253
|
+
- app/assets/stylesheets/knitkit/bootstrap.min.css
|
254
|
+
- app/assets/stylesheets/knitkit/captcha.css
|
255
|
+
- app/assets/stylesheets/knitkit/custom.css
|
256
|
+
- app/assets/stylesheets/knitkit/inline_editing.css
|
257
|
+
- app/assets/stylesheets/knitkit/submenu.css
|
258
|
+
- app/controllers/api/v1/websites_controller.rb
|
259
|
+
- app/controllers/captcha_controller.rb
|
126
260
|
- app/controllers/knitkit/base_controller.rb
|
127
261
|
- app/controllers/knitkit/blogs_controller.rb
|
128
262
|
- app/controllers/knitkit/comments_controller.rb
|
@@ -146,7 +280,6 @@ files:
|
|
146
280
|
- app/controllers/knitkit/online_document_sections_controller.rb
|
147
281
|
- app/controllers/knitkit/unauthorized_controller.rb
|
148
282
|
- app/controllers/knitkit/website_sections_controller.rb
|
149
|
-
- app/mailers/document_mailer.rb
|
150
283
|
- app/mailers/website_inquiry_mailer.rb
|
151
284
|
- app/models/article.rb
|
152
285
|
- app/models/blog.rb
|
@@ -172,23 +305,21 @@ files:
|
|
172
305
|
- app/models/website_party_role.rb
|
173
306
|
- app/models/website_section.rb
|
174
307
|
- app/models/website_section_content.rb
|
175
|
-
- app/views/document_mailer/email_document.html.erb
|
176
308
|
- app/views/knitkit/blogs/_add_comment.html.erb
|
177
309
|
- app/views/knitkit/blogs/_comment.html.erb
|
178
310
|
- app/views/knitkit/blogs/index.html.erb
|
179
311
|
- app/views/knitkit/blogs/index.rss.builder
|
180
312
|
- app/views/knitkit/blogs/show.html.erb
|
181
|
-
- app/views/knitkit/mobile/index.html.erb
|
182
|
-
- app/views/knitkit/online_document_sections/index.html.erb
|
183
313
|
- app/views/knitkit/unauthorized/index.html.erb
|
184
314
|
- app/views/knitkit/website_sections/index.html.erb
|
185
315
|
- app/views/layouts/knitkit/base.html.erb
|
186
|
-
- app/views/layouts/knitkit/online_document_sections.html.erb
|
187
316
|
- app/views/menus/knitkit/_default_menu.html.erb
|
188
317
|
- app/views/menus/knitkit/_default_section_menu.html.erb
|
318
|
+
- app/views/menus/knitkit/_default_sub_menu.erb
|
319
|
+
- app/views/menus/knitkit/_default_sub_section_menu.html.erb
|
189
320
|
- app/views/shared/knitkit/_bread_crumb.html.erb
|
190
321
|
- app/views/shared/knitkit/_footer.html.erb
|
191
|
-
- app/views/website_inquiry_mailer/inquiry.erb
|
322
|
+
- app/views/website_inquiry_mailer/inquiry.html.erb
|
192
323
|
- app/widgets/contact_us/base.rb
|
193
324
|
- app/widgets/contact_us/javascript/contact_us.js
|
194
325
|
- app/widgets/contact_us/views/error.html.erb
|
@@ -218,7 +349,10 @@ files:
|
|
218
349
|
- app/widgets/reset_password/base.rb
|
219
350
|
- app/widgets/reset_password/javascript/reset_password.js
|
220
351
|
- app/widgets/reset_password/views/index.html.erb
|
352
|
+
- app/widgets/reset_password/views/invalid_reset_token.html.erb
|
221
353
|
- app/widgets/reset_password/views/layouts/base.html.erb
|
354
|
+
- app/widgets/reset_password/views/reset_password.html.erb
|
355
|
+
- app/widgets/reset_password/views/reset_success.html.erb
|
222
356
|
- app/widgets/search/base.rb
|
223
357
|
- app/widgets/search/javascript/search.js
|
224
358
|
- app/widgets/search/views/_inline_search_form.html.erb
|
@@ -240,17 +374,10 @@ files:
|
|
240
374
|
- db/data_migrations/20111118182910_setup_knitkit_capabilities.rb
|
241
375
|
- db/data_migrations/20120127144444_create_website_role_types.rb
|
242
376
|
- db/data_migrations/20120127150505_create_website_default_configuration.rb
|
243
|
-
- db/data_migrations/
|
244
|
-
- db/data_migrations/
|
245
|
-
- db/data_migrations/
|
246
|
-
- db/data_migrations/20121129185611_upgrade_website_role_iid.rb
|
377
|
+
- db/data_migrations/20150118180450_add_website_member_roles.rb
|
378
|
+
- db/data_migrations/20150414150359_nest_knitkit_security_roles.rb
|
379
|
+
- db/data_migrations/20150414173437_move_website_roles_under_website_builder.rb
|
247
380
|
- db/migrate/20110211002317_setup_knitkit.rb
|
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
381
|
- lib/knitkit.rb
|
255
382
|
- lib/knitkit/config.rb
|
256
383
|
- lib/knitkit/engine.rb
|
@@ -261,77 +388,29 @@ files:
|
|
261
388
|
- lib/knitkit/extensions/active_record/acts_as_document.rb
|
262
389
|
- lib/knitkit/extensions/active_record/acts_as_publishable.rb
|
263
390
|
- lib/knitkit/extensions/active_record/theme_support/has_many_themes.rb
|
391
|
+
- lib/knitkit/extensions/compass_ae/mailers/user_mailer.rb
|
264
392
|
- lib/knitkit/extensions/compass_ae/widgets/base.rb
|
265
393
|
- lib/knitkit/extensions/compass_ae/widgets/widget_proxy_controller.rb
|
266
394
|
- lib/knitkit/extensions/core/array.rb
|
395
|
+
- lib/knitkit/extensions/railties/action_controller/captcha_helper.rb
|
267
396
|
- lib/knitkit/extensions/railties/action_view/base.rb
|
268
397
|
- lib/knitkit/extensions/railties/action_view/helpers/blog_helper.rb
|
269
398
|
- lib/knitkit/extensions/railties/action_view/helpers/content_helper.rb
|
270
399
|
- lib/knitkit/extensions/railties/action_view/helpers/knitkit_helper.rb
|
271
400
|
- lib/knitkit/extensions/railties/action_view/helpers/menu_helper.rb
|
272
401
|
- lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb
|
273
|
-
- lib/knitkit/extensions/railties/theme_support/theme_file_resolver.rb
|
274
402
|
- lib/knitkit/extensions/will_paginate/link_renderer.rb
|
275
403
|
- lib/knitkit/routing_filter/section_router.rb
|
276
404
|
- lib/knitkit/syntax_validator.rb
|
277
405
|
- lib/knitkit/version.rb
|
278
406
|
- lib/tasks/knitkit_tasks.rake
|
279
|
-
-
|
280
|
-
- public/
|
281
|
-
- public/
|
282
|
-
- public/
|
283
|
-
- public/
|
284
|
-
- public/
|
285
|
-
- public/
|
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
|
407
|
+
- lib/tasks/theme_parser.rake
|
408
|
+
- public/fonts/glyphicons-halflings-regular.eot
|
409
|
+
- public/fonts/glyphicons-halflings-regular.svg
|
410
|
+
- public/fonts/glyphicons-halflings-regular.ttf
|
411
|
+
- public/fonts/glyphicons-halflings-regular.woff
|
412
|
+
- public/fonts/glyphicons-halflings-regular.woff2
|
413
|
+
- public/paypal-button.min.js
|
335
414
|
- spec/controllers/knitkit/erp_app/desktop/articles_controller_spec.rb
|
336
415
|
- spec/controllers/knitkit/erp_app/desktop/website_controller_spec.rb
|
337
416
|
- spec/controllers/knitkit/erp_app/desktop/website_nav_controller_spec.rb
|
@@ -414,7 +493,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
414
493
|
version: '0'
|
415
494
|
requirements: []
|
416
495
|
rubyforge_project:
|
417
|
-
rubygems_version: 2.
|
496
|
+
rubygems_version: 2.4.8
|
418
497
|
signing_key:
|
419
498
|
specification_version: 4
|
420
499
|
summary: CMS built for the Compass AE framework
|
@@ -1,9 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
-
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
-
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
-
// the compiled file.
|
6
|
-
//
|
7
|
-
//= require jquery
|
8
|
-
//= require jquery_ujs
|
9
|
-
//= require_tree .
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
-
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
-
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
-
*= require_self
|
6
|
-
*= require_tree .
|
7
|
-
*/
|
@@ -1,10 +0,0 @@
|
|
1
|
-
class DocumentMailer < ActionMailer::Base
|
2
|
-
default :from => ErpTechSvcs::Config.email_notifications_from
|
3
|
-
|
4
|
-
def email_document(to_email, document)
|
5
|
-
file = document.files.first
|
6
|
-
attachments[file.data_file_name] = document.files.first.get_contents
|
7
|
-
|
8
|
-
mail(:to => to_email, :subject => 'The Document You Requested')
|
9
|
-
end
|
10
|
-
end
|
@@ -1,162 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<title><%= @website.title %></title>
|
5
|
-
<%= include_sencha_touch :debug => (Rails.env != 'production') %>
|
6
|
-
<%= static_javascript_include_tag('erp_app/utility.js') %>
|
7
|
-
<%= static_javascript_include_tag('erp_app/mobile/mobile_base.js') %>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
Ext.Loader.setPath({
|
11
|
-
'KnitkitMobile': 'javascripts/knitkit/mobile/app',
|
12
|
-
'Ext.ux': 'javascripts/knitkit/mobile/ux'
|
13
|
-
});
|
14
|
-
|
15
|
-
Ext.define("KnitkitMobile.view.Main", {
|
16
|
-
extend: 'Ext.ux.slidenavigation.View',
|
17
|
-
itemId: 'slideContainer',
|
18
|
-
|
19
|
-
requires: [
|
20
|
-
'Ext.Container',
|
21
|
-
'Ext.MessageBox',
|
22
|
-
'Ext.Panel',
|
23
|
-
'Ext.Toolbar',
|
24
|
-
'Ext.event.publisher.Dom'
|
25
|
-
],
|
26
|
-
|
27
|
-
config: {
|
28
|
-
style: 'font-size:14px;',
|
29
|
-
|
30
|
-
fullscreen: true,
|
31
|
-
|
32
|
-
/**
|
33
|
-
* Any component within the container with an 'x-toolbar' class
|
34
|
-
* will be draggable. To disable draggin all together, set this
|
35
|
-
* to false.
|
36
|
-
*/
|
37
|
-
slideSelector: 'x-container',
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Time in milliseconds to animate the closing of the container
|
41
|
-
* after an item has been clicked on in the list.
|
42
|
-
*/
|
43
|
-
selectSlideDuration: 200,
|
44
|
-
|
45
|
-
/**
|
46
|
-
* Enable content masking when container is open.
|
47
|
-
*
|
48
|
-
* @since 0.2.0
|
49
|
-
*/
|
50
|
-
itemMask: true,
|
51
|
-
|
52
|
-
/**
|
53
|
-
* Define the default slide button config. Any item that has
|
54
|
-
* a `slideButton` value that is either `true` or a button config
|
55
|
-
* will use these values at the default.
|
56
|
-
*/
|
57
|
-
slideButtonDefaults: {
|
58
|
-
selector: 'toolbar'
|
59
|
-
},
|
60
|
-
|
61
|
-
/**
|
62
|
-
* This allows us to configure how the actual list container
|
63
|
-
* looks. Here we've added a custom search field and have
|
64
|
-
* modified the width.
|
65
|
-
*/
|
66
|
-
list: {
|
67
|
-
maxDrag: 400,
|
68
|
-
//width: (Ext.os.is.iOS ? 300 : 250),
|
69
|
-
items: [
|
70
|
-
{
|
71
|
-
xtype: 'toolbar',
|
72
|
-
docked: 'top',
|
73
|
-
ui: 'light',
|
74
|
-
title: {
|
75
|
-
title: 'Menu',
|
76
|
-
centered: true,
|
77
|
-
width: 200,
|
78
|
-
left: 0
|
79
|
-
}
|
80
|
-
}
|
81
|
-
]
|
82
|
-
|
83
|
-
},
|
84
|
-
|
85
|
-
/**
|
86
|
-
* Example of how to re-order the groups.
|
87
|
-
*/
|
88
|
-
/*groups: {
|
89
|
-
'Pages': 1,
|
90
|
-
'Account': 2
|
91
|
-
},*/
|
92
|
-
|
93
|
-
/**
|
94
|
-
* These are the default values to apply to the items within the
|
95
|
-
* container.
|
96
|
-
*/
|
97
|
-
defaults: {
|
98
|
-
style: 'background: #fff',
|
99
|
-
xtype: 'container'
|
100
|
-
},
|
101
|
-
|
102
|
-
items: [
|
103
|
-
<% @website.sections.each do |section| %>
|
104
|
-
<% if section.in_menu && section.allow_access?(current_user, :view) %>
|
105
|
-
{
|
106
|
-
title: '<%= section.title %>',
|
107
|
-
slideButton: true,
|
108
|
-
items: [
|
109
|
-
{
|
110
|
-
xtype: 'toolbar',
|
111
|
-
title: '<%= section.title %>',
|
112
|
-
docked: 'top'
|
113
|
-
},
|
114
|
-
{
|
115
|
-
xtype: 'panel',
|
116
|
-
scrollable: true,
|
117
|
-
bodyPadding: '5px',
|
118
|
-
listeners: {
|
119
|
-
painted: function (comp) {
|
120
|
-
var me = this;
|
121
|
-
|
122
|
-
Ext.Ajax.request({
|
123
|
-
method: 'GET',
|
124
|
-
timeout: 60000,
|
125
|
-
params: {
|
126
|
-
is_mobile: true
|
127
|
-
},
|
128
|
-
url: '/<%= section.internal_identifier %>',
|
129
|
-
success: function (response) {
|
130
|
-
me.setHtml(response.responseText);
|
131
|
-
},
|
132
|
-
failure: function (response) {
|
133
|
-
Ext.Msg.alert('Info', 'Could not load page');
|
134
|
-
}
|
135
|
-
});
|
136
|
-
}
|
137
|
-
}
|
138
|
-
}
|
139
|
-
]
|
140
|
-
},
|
141
|
-
<% end %>
|
142
|
-
<% end %>
|
143
|
-
]
|
144
|
-
}
|
145
|
-
});
|
146
|
-
|
147
|
-
Ext.application({
|
148
|
-
name: 'KnitkitMobile',
|
149
|
-
|
150
|
-
views: ['Main'],
|
151
|
-
|
152
|
-
launch: function () {
|
153
|
-
this.main = Ext.create('KnitkitMobile.view.Main');
|
154
|
-
Ext.Viewport.add(this.main);
|
155
|
-
Ext.Viewport.setActiveItem(this.main);
|
156
|
-
}
|
157
|
-
});
|
158
|
-
</script>
|
159
|
-
</head>
|
160
|
-
<body>
|
161
|
-
</body>
|
162
|
-
</html>
|