camaleon_cms 1.1.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of camaleon_cms might be problematic. Click here for more details.

Files changed (635) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -60
  3. data/app/apps/plugins/attack/admin_controller.rb +1 -1
  4. data/app/apps/plugins/attack/attack_helper.rb +4 -4
  5. data/app/apps/plugins/attack/config/config.json +1 -1
  6. data/app/apps/plugins/attack/config/custom_models.rb +1 -1
  7. data/app/apps/plugins/attack/views/admin/settings.html.erb +2 -2
  8. data/app/apps/plugins/contact_form/admin_forms_controller.rb +8 -7
  9. data/app/apps/plugins/contact_form/config/custom_models.rb +1 -1
  10. data/app/apps/plugins/contact_form/contact_form_helper.rb +4 -5
  11. data/app/apps/plugins/contact_form/contact_form_html_helper.rb +2 -2
  12. data/app/apps/plugins/contact_form/front_controller.rb +1 -1
  13. data/app/apps/plugins/contact_form/views/admin_forms/_form.html.erb +5 -5
  14. data/app/apps/plugins/contact_form/views/admin_forms/edit.html.erb +19 -35
  15. data/app/apps/plugins/contact_form/views/admin_forms/index.html.erb +3 -3
  16. data/app/apps/plugins/contact_form/views/admin_forms/responses.html.erb +6 -13
  17. data/app/apps/plugins/contact_form/views/forms_shorcode.html.erb +1 -1
  18. data/app/apps/plugins/contact_form/views/front/index.html.erb +1 -1
  19. data/app/apps/plugins/front_cache/admin_controller.rb +1 -1
  20. data/app/apps/plugins/front_cache/config/initializer.rb +1 -1
  21. data/app/apps/plugins/front_cache/front_cache_helper.rb +37 -42
  22. data/app/apps/plugins/front_cache/views/admin/settings.html.erb +3 -3
  23. data/app/apps/plugins/visibility_post/config/config.json +1 -1
  24. data/app/apps/plugins/visibility_post/visibility_post_helper.rb +21 -23
  25. data/app/apps/themes/camaleon_first/assets/css/main.css +1 -1
  26. data/app/apps/themes/camaleon_first/assets/js/main.js +1 -1
  27. data/app/apps/themes/camaleon_first/views/admin/settings.html.erb +1 -1
  28. data/app/apps/themes/default/views/admin/settings.html.erb +1 -1
  29. data/app/apps/themes/default/views/category.html.erb +1 -1
  30. data/app/apps/themes/default/views/layouts/index.html.erb +7 -7
  31. data/app/apps/themes/default/views/partials/_comments.html.erb +1 -1
  32. data/app/apps/themes/default/views/partials/_forms.html.erb +2 -2
  33. data/app/apps/themes/default/views/partials/_search_form.html.erb +4 -4
  34. data/app/apps/themes/default/views/post_tag.html.erb +1 -1
  35. data/app/apps/themes/default/views/post_type.html.erb +1 -1
  36. data/app/apps/themes/default/views/search.html.erb +1 -1
  37. data/app/apps/themes/new/assets/js/main.js +0 -1
  38. data/app/apps/themes/new/views/admin/settings.html.erb +1 -1
  39. data/app/apps/themes/new/views/category.html.erb +1 -1
  40. data/app/apps/themes/new/views/layouts/_footer.html.erb +0 -1
  41. data/app/apps/themes/new/views/layouts/_header.html.erb +7 -7
  42. data/app/apps/themes/new/views/layouts/index.html.erb +0 -1
  43. data/app/apps/themes/new/views/partials/_comments.html.erb +1 -1
  44. data/app/apps/themes/new/views/partials/_forms.html.erb +2 -2
  45. data/app/apps/themes/new/views/partials/_search_form.html.erb +2 -3
  46. data/app/apps/themes/new/views/post_tag.html.erb +1 -1
  47. data/app/apps/themes/new/views/post_type.html.erb +1 -1
  48. data/app/apps/themes/new/views/search.html.erb +1 -1
  49. data/app/assets/fonts/{glyphicons-halflings-regular.eot → camaleon_cms/glyphicons-halflings-regular.eot} +0 -0
  50. data/app/assets/fonts/{glyphicons-halflings-regular.svg → camaleon_cms/glyphicons-halflings-regular.svg} +0 -0
  51. data/app/assets/fonts/{glyphicons-halflings-regular.ttf → camaleon_cms/glyphicons-halflings-regular.ttf} +0 -0
  52. data/app/assets/fonts/{glyphicons-halflings-regular.woff → camaleon_cms/glyphicons-halflings-regular.woff} +0 -0
  53. data/app/assets/images/camaleon_cms/admin/admin_spinner.gif +0 -0
  54. data/app/assets/images/{admin → camaleon_cms/admin}/glyphicons-halflings.png +0 -0
  55. data/app/assets/images/{admin → camaleon_cms/admin}/intro/menus.png +0 -0
  56. data/app/assets/images/{admin → camaleon_cms/admin}/no_image.jpg +0 -0
  57. data/app/assets/images/{bg-tree.jpeg → camaleon_cms/bg-tree.jpeg} +0 -0
  58. data/app/assets/images/{camaleon-dark.png → camaleon_cms/camaleon-dark.png} +0 -0
  59. data/app/assets/images/camaleon_cms/camaleon.png +0 -0
  60. data/app/assets/images/{category-icon.png → camaleon_cms/category-icon.png} +0 -0
  61. data/app/assets/images/camaleon_cms/favicon.ico +0 -0
  62. data/app/assets/images/{image-not-found.png → camaleon_cms/image-not-found.png} +0 -0
  63. data/app/assets/images/{language → camaleon_cms/language}/de.png +0 -0
  64. data/app/assets/images/{language → camaleon_cms/language}/en.png +0 -0
  65. data/app/assets/images/{language → camaleon_cms/language}/es.png +0 -0
  66. data/app/assets/images/{language → camaleon_cms/language}/fr.png +0 -0
  67. data/app/assets/images/{language → camaleon_cms/language}/it.png +0 -0
  68. data/app/assets/images/{language → camaleon_cms/language}/pt.png +0 -0
  69. data/app/assets/images/camaleon_cms/language/pt_br.png +0 -0
  70. data/app/assets/images/{language → camaleon_cms/language}/zh.png +0 -0
  71. data/app/assets/images/{loader.gif → camaleon_cms/loader.gif} +0 -0
  72. data/app/assets/images/{users → camaleon_cms/users}/no-image.jpg +0 -0
  73. data/app/assets/javascripts/{admin/actions.js → camaleon_cms/admin/_actions.js} +3 -5
  74. data/app/assets/javascripts/camaleon_cms/admin/_custom_fields.js +178 -0
  75. data/app/assets/javascripts/{admin/data.js → camaleon_cms/admin/_data.js} +4 -9
  76. data/app/assets/javascripts/{admin/i18n.js → camaleon_cms/admin/_i18n.js} +10 -4
  77. data/app/assets/javascripts/{admin/jquery-ui.min.js → camaleon_cms/admin/_jquery-ui.min.js} +0 -0
  78. data/app/assets/javascripts/camaleon_cms/admin/_jquery.slugify.js +67 -0
  79. data/app/assets/javascripts/{admin/jquery.tagsinput.min.js → camaleon_cms/admin/_jquery.tagsinput.min.js} +0 -0
  80. data/app/assets/javascripts/camaleon_cms/admin/_libraries.js +339 -0
  81. data/app/assets/javascripts/{admin/modal.js → camaleon_cms/admin/_modal.js} +42 -25
  82. data/app/assets/javascripts/camaleon_cms/admin/_post.js +303 -0
  83. data/app/assets/javascripts/{admin/translator.js → camaleon_cms/admin/_translator.js} +4 -3
  84. data/app/assets/javascripts/{admin/underscore.js → camaleon_cms/admin/_underscore.js} +0 -0
  85. data/app/assets/javascripts/camaleon_cms/admin/admin-basic-manifest.js +3 -0
  86. data/app/assets/javascripts/{admin → camaleon_cms/admin}/admin-manifest.js +23 -18
  87. data/app/assets/javascripts/{admin → camaleon_cms/admin}/bootstrap-colorpicker.js +0 -0
  88. data/app/assets/javascripts/{admin → camaleon_cms/admin}/bootstrap-datepicker.js +0 -0
  89. data/app/assets/javascripts/{admin → camaleon_cms/admin}/bootstrap-datetimepicker.min.js +0 -0
  90. data/app/assets/javascripts/{admin → camaleon_cms/admin}/bootstrap-select.js +0 -0
  91. data/app/assets/javascripts/camaleon_cms/admin/custom_fields_form.js +69 -0
  92. data/app/assets/javascripts/{admin → camaleon_cms/admin}/form-builder/formbuilder.js +0 -0
  93. data/app/assets/javascripts/{admin → camaleon_cms/admin}/form-builder/vendor.js +0 -0
  94. data/app/assets/javascripts/{admin → camaleon_cms/admin}/form/cropper.min.js +0 -0
  95. data/app/assets/javascripts/{admin → camaleon_cms/admin}/form/jquery.form.js +0 -0
  96. data/app/assets/javascripts/{admin/introjs/intro.min.js → camaleon_cms/admin/introjs/_intro.min.js} +0 -0
  97. data/app/assets/javascripts/{admin → camaleon_cms/admin}/jquery-sieve.js +0 -0
  98. data/app/assets/javascripts/{admin → camaleon_cms/admin}/jquery.nestable.js +0 -0
  99. data/app/assets/javascripts/{admin → camaleon_cms/admin}/jquery.validate.js +0 -0
  100. data/app/assets/javascripts/{admin → camaleon_cms/admin/jquery_validate}/es.js +0 -0
  101. data/app/assets/javascripts/{admin → camaleon_cms/admin/jquery_validate}/it.js +0 -0
  102. data/app/assets/javascripts/camaleon_cms/admin/jquery_validate/pt_br.js +74 -0
  103. data/app/assets/javascripts/{admin → camaleon_cms/admin}/login.js.coffee +0 -0
  104. data/app/assets/javascripts/{admin → camaleon_cms/admin}/login_manifest.js +0 -0
  105. data/app/assets/javascripts/{admin → camaleon_cms/admin}/lte/app.js +0 -0
  106. data/app/assets/javascripts/{admin → camaleon_cms/admin}/nav-menu.js +5 -0
  107. data/app/assets/javascripts/{admin → camaleon_cms/admin}/plugins.js +0 -0
  108. data/app/assets/javascripts/{admin/tageditor/jquery.caret.min.js → camaleon_cms/admin/tageditor/_jquery.caret.min.js} +0 -0
  109. data/app/assets/javascripts/{admin/tageditor/jquery.tag-editor.js → camaleon_cms/admin/tageditor/_jquery.tag-editor.js} +0 -0
  110. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/langs/en.js +0 -0
  111. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/langs/es.js +0 -0
  112. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/langs/it.js +0 -0
  113. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/pt_br.js +219 -0
  114. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/langs/readme.md +0 -0
  115. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-cool.gif +0 -0
  116. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-cry.gif +0 -0
  117. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-embarassed.gif +0 -0
  118. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
  119. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-frown.gif +0 -0
  120. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-innocent.gif +0 -0
  121. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-kiss.gif +0 -0
  122. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-laughing.gif +0 -0
  123. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
  124. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-sealed.gif +0 -0
  125. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-smile.gif +0 -0
  126. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-surprised.gif +0 -0
  127. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
  128. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-undecided.gif +0 -0
  129. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-wink.gif +0 -0
  130. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-yell.gif +0 -0
  131. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/filemanager/plugin.min.js +3 -4
  132. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/visualblocks/css/visualblocks.css +0 -0
  133. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/content.min.css.scss +2 -2
  134. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
  135. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce-small.svg +0 -0
  136. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
  137. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
  138. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  139. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce.svg +0 -0
  140. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  141. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  142. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/img/anchor.gif +0 -0
  143. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/img/loader.gif +0 -0
  144. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/img/object.gif +0 -0
  145. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/img/trans.gif +0 -0
  146. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/themes/modern/theme.min.js +0 -0
  147. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/tinymce.min.js +0 -0
  148. data/app/assets/javascripts/camaleon_cms/admin/uploader/_jquery.uploadfile.min.js +8 -0
  149. data/app/assets/javascripts/camaleon_cms/admin/uploader/_media_manager.js.coffee +161 -0
  150. data/app/assets/javascripts/camaleon_cms/admin/uploader/uploader_manifest.js +2 -0
  151. data/app/assets/javascripts/camaleon_cms/admin/user_profile.js +70 -0
  152. data/app/assets/javascripts/{bootstrap.min.js → camaleon_cms/bootstrap.min.js} +0 -0
  153. data/app/assets/javascripts/{gibberish-aes.js → camaleon_cms/gibberish-aes.js} +0 -0
  154. data/app/assets/stylesheets/camaleon_cms/admin/_custom_admin.css.scss +267 -0
  155. data/app/assets/stylesheets/{admin/jquery.tagsinput.css → camaleon_cms/admin/_jquery.tagsinput.css} +0 -0
  156. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/admin-basic-manifest.css +3 -3
  157. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/admin-manifest.css +16 -8
  158. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/bootstrap-datepicker.css.scss +0 -0
  159. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/bootstrap-datetimepicker.css.scss +1 -1
  160. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/colorpicker.css.scss +4 -4
  161. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/cropper/cropper.min.css +0 -0
  162. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/form-builder/formbuilder.css +0 -0
  163. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/bg.png +0 -0
  164. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/colorpicker/alpha.png +0 -0
  165. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/colorpicker/hue.png +0 -0
  166. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/colorpicker/saturation.png +0 -0
  167. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/girls-1.jpg +0 -0
  168. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/jquery/resize-icon.png +0 -0
  169. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/loading.gif +0 -0
  170. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/logo-small.png +0 -0
  171. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/logo.png +0 -0
  172. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/no_image.jpg +0 -0
  173. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/rormeleon-white.png +0 -0
  174. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/thumb_no_found.jpg +0 -0
  175. data/app/assets/stylesheets/{admin/introjs/introjs.min.css → camaleon_cms/admin/introjs/_introjs.min.css} +0 -0
  176. data/app/assets/stylesheets/{admin/jquery/jquery-ui.scss → camaleon_cms/admin/jquery/_jquery-ui.scss} +16 -16
  177. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  178. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  179. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  180. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  181. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  182. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  183. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  184. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  185. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_222222_256x240.png +0 -0
  186. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
  187. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_454545_256x240.png +0 -0
  188. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_888888_256x240.png +0 -0
  189. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
  190. data/app/assets/stylesheets/{admin/lte/admin.css.scss → camaleon_cms/admin/lte/_admin.css.scss} +4 -0
  191. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-black-light.css +0 -0
  192. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-black.css +0 -0
  193. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-blue-light.css +0 -0
  194. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-blue.css +0 -0
  195. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-green-light.css +0 -0
  196. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-green.css +0 -0
  197. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-purple-light.css +0 -0
  198. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-purple.css +0 -0
  199. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-red-light.css +0 -0
  200. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-red.css +0 -0
  201. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-yellow-light.css +0 -0
  202. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-yellow.css +0 -0
  203. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/nav-menu.css.scss +0 -0
  204. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/nestable/jquery.nestable.css +0 -0
  205. data/app/assets/stylesheets/{admin/tageditor/jquery.tag-editor.css.scss → camaleon_cms/admin/tageditor/_jquery.tag-editor.css.scss} +0 -0
  206. data/app/assets/stylesheets/camaleon_cms/admin/uploader/_uploadfile.css.scss +253 -0
  207. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/widgets.css.scss +0 -0
  208. data/app/assets/stylesheets/camaleon_cms/bootstrap.min.css.scss +5 -0
  209. data/app/controllers/{admin → camaleon_cms/admin}/appearances/nav_menus_controller.rb +14 -11
  210. data/app/controllers/{admin → camaleon_cms/admin}/appearances/themes_controller.rb +4 -2
  211. data/app/controllers/{admin → camaleon_cms/admin}/appearances/widgets/assign_controller.rb +5 -5
  212. data/app/controllers/{admin → camaleon_cms/admin}/appearances/widgets/main_controller.rb +8 -6
  213. data/app/controllers/{admin → camaleon_cms/admin}/appearances/widgets/sidebar_controller.rb +9 -9
  214. data/app/controllers/{admin → camaleon_cms/admin}/categories_controller.rb +18 -10
  215. data/app/controllers/camaleon_cms/admin/comments_controller.rb +97 -0
  216. data/app/controllers/{admin → camaleon_cms/admin}/installers_controller.rb +10 -10
  217. data/app/controllers/camaleon_cms/admin/media_controller.rb +84 -0
  218. data/app/controllers/{admin → camaleon_cms/admin}/plugins_controller.rb +7 -6
  219. data/app/controllers/{admin → camaleon_cms/admin}/post_tags_controller.rb +18 -10
  220. data/app/controllers/{admin → camaleon_cms/admin}/posts/drafts_controller.rb +5 -5
  221. data/app/controllers/{admin → camaleon_cms/admin}/posts_controller.rb +40 -23
  222. data/app/controllers/{admin → camaleon_cms/admin}/sessions_controller.rb +45 -35
  223. data/app/controllers/{admin → camaleon_cms/admin}/settings/custom_fields_controller.rb +13 -12
  224. data/app/controllers/{admin → camaleon_cms/admin}/settings/post_types_controller.rb +14 -13
  225. data/app/controllers/{admin → camaleon_cms/admin}/settings/sites_controller.rb +17 -15
  226. data/app/controllers/{admin → camaleon_cms/admin}/settings_controller.rb +8 -5
  227. data/app/controllers/{admin → camaleon_cms/admin}/user_roles_controller.rb +12 -11
  228. data/app/controllers/{admin → camaleon_cms/admin}/users_controller.rb +42 -48
  229. data/app/controllers/{admin_controller.rb → camaleon_cms/admin_controller.rb} +28 -9
  230. data/app/controllers/{apps → camaleon_cms/apps}/plugins_admin_controller.rb +7 -3
  231. data/app/controllers/camaleon_cms/apps/plugins_front_controller.rb +38 -0
  232. data/app/controllers/{apps → camaleon_cms/apps}/themes_admin_controller.rb +1 -1
  233. data/app/controllers/{apps → camaleon_cms/apps}/themes_front_controller.rb +1 -1
  234. data/app/controllers/camaleon_cms/camaleon_controller.rb +99 -0
  235. data/app/controllers/{frontend_controller.rb → camaleon_cms/frontend_controller.rb} +56 -45
  236. data/app/controllers/concerns/{frontend_concern.rb → camaleon_cms/frontend_concern.rb} +8 -8
  237. data/app/decorators/{application_decorator.rb → camaleon_cms/application_decorator.rb} +5 -17
  238. data/app/decorators/{category_decorator.rb → camaleon_cms/category_decorator.rb} +8 -3
  239. data/app/decorators/{custom_field_decorator.rb → camaleon_cms/custom_field_decorator.rb} +1 -1
  240. data/app/decorators/{custom_fields_concern.rb → camaleon_cms/custom_fields_concern.rb} +4 -3
  241. data/app/decorators/{metas_decorator_methods.rb → camaleon_cms/metas_decorator_methods.rb} +1 -1
  242. data/app/decorators/{nav_menu_item_decorator.rb → camaleon_cms/nav_menu_item_decorator.rb} +2 -2
  243. data/app/decorators/{post_comment_decorator.rb → camaleon_cms/post_comment_decorator.rb} +3 -2
  244. data/app/decorators/{post_decorator.rb → camaleon_cms/post_decorator.rb} +61 -14
  245. data/app/decorators/{post_tag_decorator.rb → camaleon_cms/post_tag_decorator.rb} +8 -3
  246. data/app/decorators/{post_type_decorator.rb → camaleon_cms/post_type_decorator.rb} +29 -6
  247. data/app/decorators/{site_decorator.rb → camaleon_cms/site_decorator.rb} +24 -22
  248. data/app/decorators/{term_taxonomy_decorator.rb → camaleon_cms/term_taxonomy_decorator.rb} +15 -15
  249. data/app/decorators/{theme_decorator.rb → camaleon_cms/theme_decorator.rb} +1 -1
  250. data/app/decorators/{user_decorator.rb → camaleon_cms/user_decorator.rb} +23 -11
  251. data/app/decorators/{widget_decorator.rb → camaleon_cms/widget_decorator.rb} +2 -2
  252. data/app/helpers/{admin → camaleon_cms/admin}/application_helper.rb +17 -9
  253. data/app/helpers/{admin → camaleon_cms/admin}/breadcrumb_helper.rb +6 -20
  254. data/app/helpers/{admin → camaleon_cms/admin}/category_helper.rb +6 -3
  255. data/app/helpers/{admin → camaleon_cms/admin}/custom_fields_helper.rb +21 -20
  256. data/app/helpers/{admin → camaleon_cms/admin}/menus_helper.rb +26 -36
  257. data/app/helpers/{admin → camaleon_cms/admin}/post_type_helper.rb +4 -4
  258. data/app/helpers/{camaleon_helper.rb → camaleon_cms/camaleon_helper.rb} +23 -19
  259. data/app/helpers/{captcha_helper.rb → camaleon_cms/captcha_helper.rb} +21 -17
  260. data/app/helpers/camaleon_cms/comment_helper.rb +48 -0
  261. data/app/helpers/{content_helper.rb → camaleon_cms/content_helper.rb} +12 -10
  262. data/app/helpers/{frontend → camaleon_cms/frontend}/application_helper.rb +7 -7
  263. data/app/helpers/{frontend → camaleon_cms/frontend}/nav_menu_helper.rb +21 -34
  264. data/app/helpers/{frontend → camaleon_cms/frontend}/seo_helper.rb +5 -5
  265. data/app/helpers/{frontend → camaleon_cms/frontend}/site_helper.rb +17 -10
  266. data/app/helpers/{hooks_helper.rb → camaleon_cms/hooks_helper.rb} +1 -1
  267. data/app/helpers/camaleon_cms/html_helper.rb +106 -0
  268. data/app/helpers/{plugins_helper.rb → camaleon_cms/plugins_helper.rb} +49 -64
  269. data/app/helpers/{session_helper.rb → camaleon_cms/session_helper.rb} +29 -26
  270. data/app/helpers/{short_code_helper.rb → camaleon_cms/short_code_helper.rb} +50 -16
  271. data/app/helpers/{site_helper.rb → camaleon_cms/site_helper.rb} +14 -19
  272. data/app/helpers/{theme_helper.rb → camaleon_cms/theme_helper.rb} +37 -43
  273. data/app/helpers/camaleon_cms/uploader_helper.rb +366 -0
  274. data/app/helpers/{user_roles_helper.rb → camaleon_cms/user_roles_helper.rb} +3 -3
  275. data/app/mailers/{html_mailer.rb → camaleon_cms/html_mailer.rb} +7 -7
  276. data/app/models/{ability.rb → camaleon_cms/ability.rb} +3 -3
  277. data/app/models/{category.rb → camaleon_cms/category.rb} +15 -12
  278. data/app/models/{custom_field.rb → camaleon_cms/custom_field.rb} +8 -10
  279. data/app/models/{custom_field_group.rb → camaleon_cms/custom_field_group.rb} +12 -11
  280. data/app/models/{custom_fields_relationship.rb → camaleon_cms/custom_fields_relationship.rb} +4 -4
  281. data/app/models/{meta.rb → camaleon_cms/meta.rb} +2 -5
  282. data/app/models/{nav_menu.rb → camaleon_cms/nav_menu.rb} +14 -13
  283. data/app/models/{nav_menu_item.rb → camaleon_cms/nav_menu_item.rb} +18 -7
  284. data/app/models/{plugin.rb → camaleon_cms/plugin.rb} +3 -3
  285. data/app/models/{post.rb → camaleon_cms/post.rb} +57 -32
  286. data/app/models/{post_comment.rb → camaleon_cms/post_comment.rb} +10 -9
  287. data/app/models/{post_default.rb → camaleon_cms/post_default.rb} +24 -19
  288. data/app/models/{post_relationship.rb → camaleon_cms/post_relationship.rb} +5 -5
  289. data/app/models/{post_tag.rb → camaleon_cms/post_tag.rb} +4 -4
  290. data/app/models/{post_type.rb → camaleon_cms/post_type.rb} +49 -17
  291. data/app/models/{site.rb → camaleon_cms/site.rb} +38 -80
  292. data/app/models/{term_relationship.rb → camaleon_cms/term_relationship.rb} +6 -4
  293. data/app/models/camaleon_cms/term_taxonomy.rb +81 -0
  294. data/app/models/{theme.rb → camaleon_cms/theme.rb} +3 -3
  295. data/app/models/{user.rb → camaleon_cms/user.rb} +23 -37
  296. data/app/models/{user_relationship.rb → camaleon_cms/user_relationship.rb} +4 -4
  297. data/app/models/camaleon_cms/user_role.rb +140 -0
  298. data/app/models/{widget.rb → camaleon_cms/widget.rb} +1 -1
  299. data/app/models/{widget → camaleon_cms/widget}/assigned.rb +4 -4
  300. data/app/models/{widget → camaleon_cms/widget}/main.rb +5 -5
  301. data/app/models/{widget → camaleon_cms/widget}/sidebar.rb +3 -3
  302. data/app/models/concerns/{categories_tags_for_posts.rb → camaleon_cms/categories_tags_for_posts.rb} +3 -3
  303. data/app/models/concerns/{custom_fields_read.rb → camaleon_cms/custom_fields_read.rb} +10 -11
  304. data/app/models/concerns/camaleon_cms/metas.rb +135 -0
  305. data/app/views/camaleon_cms/404.html.erb +4 -0
  306. data/app/views/camaleon_cms/500.html.erb +4 -0
  307. data/app/views/{_flash_messages.html.erb → camaleon_cms/_flash_messages.html.erb} +0 -0
  308. data/app/views/camaleon_cms/admin/appearances/nav_menus/_custom_fields.html.erb +6 -0
  309. data/app/views/{admin → camaleon_cms/admin}/appearances/nav_menus/_custom_menus.html.erb +2 -2
  310. data/app/views/{admin → camaleon_cms/admin}/appearances/nav_menus/_external_menu.html.erb +3 -3
  311. data/app/views/camaleon_cms/admin/appearances/nav_menus/_menu_form.html.erb +36 -0
  312. data/app/views/{admin → camaleon_cms/admin}/appearances/nav_menus/_menu_list.html.erb +5 -5
  313. data/app/views/{admin → camaleon_cms/admin}/appearances/nav_menus/index.html.erb +8 -8
  314. data/app/views/{admin → camaleon_cms/admin}/appearances/themes/index.html.erb +7 -6
  315. data/app/views/{admin → camaleon_cms/admin}/appearances/themes/preview.html.erb +0 -0
  316. data/app/views/{admin → camaleon_cms/admin}/appearances/themes/theme_load_data.html.erb +1 -1
  317. data/app/views/{admin → camaleon_cms/admin}/appearances/widgets/assign/_form.html.erb +5 -5
  318. data/app/views/{admin → camaleon_cms/admin}/appearances/widgets/main/_sidebar.html.erb +4 -4
  319. data/app/views/camaleon_cms/admin/appearances/widgets/main/form.html.erb +27 -0
  320. data/app/views/camaleon_cms/admin/appearances/widgets/main/index.html.erb +41 -0
  321. data/app/views/{admin → camaleon_cms/admin}/appearances/widgets/sidebar/form.html.erb +5 -5
  322. data/app/views/camaleon_cms/admin/categories/_form.html.erb +42 -0
  323. data/app/views/{admin/settings/post_types → camaleon_cms/admin/categories}/edit.html.erb +1 -1
  324. data/app/views/{admin → camaleon_cms/admin}/categories/index.html.erb +16 -26
  325. data/app/views/camaleon_cms/admin/comments/form.html.erb +12 -0
  326. data/app/views/camaleon_cms/admin/comments/form_answer.html.erb +12 -0
  327. data/app/views/camaleon_cms/admin/comments/index.html.erb +21 -0
  328. data/app/views/camaleon_cms/admin/comments/list.html.erb +36 -0
  329. data/app/views/{admin/dashboard/index.html.erb → camaleon_cms/admin/dashboard.html.erb} +2 -2
  330. data/app/views/{admin → camaleon_cms/admin}/installers/form.html.erb +6 -6
  331. data/app/views/camaleon_cms/admin/installers/welcome.html.erb +8 -0
  332. data/app/views/camaleon_cms/admin/media/_files_list.html.erb +7 -0
  333. data/app/views/camaleon_cms/admin/media/_render_file_item.html.erb +27 -0
  334. data/app/views/camaleon_cms/admin/media/_render_folder_item.html.erb +13 -0
  335. data/app/views/camaleon_cms/admin/media/index.html.erb +25 -0
  336. data/app/views/{admin → camaleon_cms/admin}/plugins/_plugins_list.html.erb +10 -10
  337. data/app/views/{admin → camaleon_cms/admin}/plugins/index.html.erb +10 -6
  338. data/app/views/{admin → camaleon_cms/admin}/post_tags/_form.html.erb +8 -14
  339. data/app/views/{admin → camaleon_cms/admin}/post_tags/edit.html.erb +2 -2
  340. data/app/views/camaleon_cms/admin/post_tags/index.html.erb +58 -0
  341. data/app/views/camaleon_cms/admin/posts/_filter_posts.html.erb +5 -0
  342. data/app/views/{admin → camaleon_cms/admin}/posts/_sidebar.html.erb +34 -36
  343. data/app/views/camaleon_cms/admin/posts/form.html.erb +97 -0
  344. data/app/views/{admin → camaleon_cms/admin}/posts/index.html.erb +34 -31
  345. data/app/views/{admin → camaleon_cms/admin}/posts/show.html.erb +1 -1
  346. data/app/views/camaleon_cms/admin/search.html.erb +68 -0
  347. data/app/views/camaleon_cms/admin/sessions/forgot.html.erb +44 -0
  348. data/app/views/camaleon_cms/admin/sessions/login.html.erb +49 -0
  349. data/app/views/camaleon_cms/admin/sessions/register.html.erb +63 -0
  350. data/app/views/camaleon_cms/admin/settings/_configuration_settings.html.erb +35 -0
  351. data/app/views/camaleon_cms/admin/settings/_email_settings.html.erb +33 -0
  352. data/app/views/camaleon_cms/admin/settings/_file_system_settings.html.erb +23 -0
  353. data/app/views/camaleon_cms/admin/settings/_seo_settings.html.erb +22 -0
  354. data/app/views/{admin/settings/custom_fields/get_items.html.erb → camaleon_cms/admin/settings/custom_fields/_get_items.html.erb} +19 -39
  355. data/app/views/{admin → camaleon_cms/admin}/settings/custom_fields/_meta_data.html.erb +2 -2
  356. data/app/views/{admin → camaleon_cms/admin}/settings/custom_fields/_render.html.erb +25 -31
  357. data/app/views/{admin/settings/custom_fields/fields/audio.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_audio.html.erb} +1 -1
  358. data/app/views/{admin/settings/custom_fields/fields/checkbox.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_checkbox.html.erb} +0 -0
  359. data/app/views/{admin/settings/custom_fields/fields/checkboxes.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_checkboxes.html.erb} +0 -0
  360. data/app/views/{admin/settings/custom_fields/fields/colorpicker.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_colorpicker.html.erb} +0 -0
  361. data/app/views/{admin/settings/custom_fields/fields/date.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_date.html.erb} +0 -0
  362. data/app/views/{admin/settings/custom_fields/fields/editor.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_editor.html.erb} +0 -1
  363. data/app/views/{admin/settings/custom_fields/fields/email.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_email.html.erb} +0 -0
  364. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_field_attrs.html.erb +8 -0
  365. data/app/views/{admin/settings/custom_fields/fields/file.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_file.html.erb} +1 -1
  366. data/app/views/{admin/settings/custom_fields/fields/image.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb} +1 -1
  367. data/app/views/{admin/settings/custom_fields/fields/numeric.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_numeric.html.erb} +0 -0
  368. data/app/views/{admin/settings/custom_fields/fields/phone.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_phone.html.erb} +0 -0
  369. data/app/views/{admin/settings/custom_fields/fields/posts.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_posts.html.erb} +0 -0
  370. data/app/views/{admin/settings/custom_fields/fields/radio.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_radio.html.erb} +0 -0
  371. data/app/views/{admin/settings/custom_fields/fields/select.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_select.html.erb} +0 -0
  372. data/app/views/{admin/settings/custom_fields/fields/select_eval.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_select_eval.html.erb} +0 -0
  373. data/app/views/{admin/settings/custom_fields/fields/text_area.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_text_area.html.erb} +0 -0
  374. data/app/views/{admin/settings/custom_fields/fields/text_box.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_text_box.html.erb} +0 -0
  375. data/app/views/{admin/settings/custom_fields/fields/url.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_url.html.erb} +0 -0
  376. data/app/views/{admin/settings/custom_fields/fields/users.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_users.html.erb} +0 -0
  377. data/app/views/{admin/settings/custom_fields/fields/video.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_video.html.erb} +1 -1
  378. data/app/views/camaleon_cms/admin/settings/custom_fields/form.html.erb +137 -0
  379. data/app/views/{admin → camaleon_cms/admin}/settings/custom_fields/index.html.erb +18 -14
  380. data/app/views/{admin → camaleon_cms/admin}/settings/languages.html.erb +7 -7
  381. data/app/views/camaleon_cms/admin/settings/post_types/_form.html.erb +134 -0
  382. data/app/views/{admin/categories → camaleon_cms/admin/settings/post_types}/edit.html.erb +2 -2
  383. data/app/views/camaleon_cms/admin/settings/post_types/index.html.erb +54 -0
  384. data/app/views/camaleon_cms/admin/settings/shortcodes.html.erb +37 -0
  385. data/app/views/camaleon_cms/admin/settings/site.html.erb +112 -0
  386. data/app/views/{admin → camaleon_cms/admin}/settings/sites/form.html.erb +9 -9
  387. data/app/views/camaleon_cms/admin/settings/sites/index.html.erb +58 -0
  388. data/app/views/camaleon_cms/admin/user_roles/form.html.erb +160 -0
  389. data/app/views/camaleon_cms/admin/user_roles/index.html.erb +51 -0
  390. data/app/views/camaleon_cms/admin/users/form.html.erb +233 -0
  391. data/app/views/camaleon_cms/admin/users/index.html.erb +55 -0
  392. data/app/views/camaleon_cms/admin/users/profile.html.erb +1 -0
  393. data/app/views/{admin → camaleon_cms/admin}/users/profile/_activity.html.erb +0 -0
  394. data/app/views/{admin → camaleon_cms/admin}/users/profile/_settings.html.erb +0 -0
  395. data/app/views/camaleon_cms/default_theme/admin/settings.html.erb +1 -0
  396. data/app/views/{default_theme → camaleon_cms/default_theme}/category.html.erb +0 -0
  397. data/app/views/{default_theme → camaleon_cms/default_theme}/category.rss.builder +0 -0
  398. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/audio.html.erb +0 -0
  399. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/checkbox.html.erb +0 -0
  400. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/checkboxes.html.erb +0 -0
  401. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/colorpicker.html.erb +0 -0
  402. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/date.html.erb +0 -0
  403. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/editor.html.erb +0 -0
  404. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/email.html.erb +0 -0
  405. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/field_attrs.html.erb +0 -0
  406. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/file.html.erb +0 -0
  407. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/image.html.erb +0 -0
  408. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/numeric.html.erb +0 -0
  409. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/phone.html.erb +0 -0
  410. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/posts.html.erb +0 -0
  411. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/radio.html.erb +0 -0
  412. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/select.html.erb +0 -0
  413. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/select_eval.html.erb +0 -0
  414. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/text_area.html.erb +0 -0
  415. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/text_box.html.erb +0 -0
  416. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/url.html.erb +0 -0
  417. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/users.html.erb +0 -0
  418. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/video.html.erb +0 -0
  419. data/app/views/{default_theme → camaleon_cms/default_theme}/index.html.erb +0 -0
  420. data/app/views/{default_theme → camaleon_cms/default_theme}/layouts/_footer.html.erb +0 -1
  421. data/app/views/{default_theme → camaleon_cms/default_theme}/layouts/_header.html.erb +7 -7
  422. data/app/views/{default_theme → camaleon_cms/default_theme}/layouts/index.html.erb +0 -0
  423. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_breadcrumb.html.erb +0 -0
  424. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_categories_list.html.erb +0 -0
  425. data/app/views/camaleon_cms/default_theme/partials/_comments.html.erb +33 -0
  426. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_comments_list.html.erb +0 -0
  427. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_flash_messages.html.erb +0 -0
  428. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_forms.html.erb +2 -2
  429. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_post_list_item.html.erb +0 -0
  430. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_render_custom_field.html.erb +0 -0
  431. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_search_form.html.erb +2 -4
  432. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_sidebar.html.erb +0 -0
  433. data/app/views/{default_theme → camaleon_cms/default_theme}/post_tag.html.erb +0 -0
  434. data/app/views/{default_theme → camaleon_cms/default_theme}/post_tag.rss.builder +0 -0
  435. data/app/views/{default_theme → camaleon_cms/default_theme}/post_type.html.erb +0 -0
  436. data/app/views/{default_theme → camaleon_cms/default_theme}/post_type.rss.builder +0 -0
  437. data/app/views/{default_theme → camaleon_cms/default_theme}/profile.html.erb +0 -0
  438. data/app/views/camaleon_cms/default_theme/robots.text.erb +1 -0
  439. data/app/views/{default_theme → camaleon_cms/default_theme}/rss.rss.builder +0 -0
  440. data/app/views/{default_theme → camaleon_cms/default_theme}/search.html.erb +0 -0
  441. data/app/views/{default_theme → camaleon_cms/default_theme}/single.html.erb +0 -0
  442. data/app/views/{default_theme → camaleon_cms/default_theme}/single.rss.builder +0 -0
  443. data/app/views/{default_theme → camaleon_cms/default_theme}/sitemap.html.erb +0 -0
  444. data/app/views/{default_theme → camaleon_cms/default_theme}/sitemap.xml.builder +0 -0
  445. data/app/views/{html_mailer → camaleon_cms/html_mailer}/mailer.html.erb +0 -0
  446. data/app/views/{shortcode_templates → camaleon_cms/shortcode_templates}/widget.html.erb +1 -1
  447. data/app/views/layouts/camaleon_cms/admin.html.erb +49 -0
  448. data/app/views/layouts/camaleon_cms/admin/_ajax.html.erb +6 -0
  449. data/app/views/layouts/{admin → camaleon_cms/admin}/_flash_messages.html.erb +9 -0
  450. data/app/views/layouts/{admin → camaleon_cms/admin}/_footer.html.erb +0 -0
  451. data/app/views/layouts/{admin → camaleon_cms/admin}/_form_error.html.erb +1 -1
  452. data/app/views/layouts/{admin → camaleon_cms/admin}/_header.html.erb +11 -11
  453. data/app/views/layouts/camaleon_cms/admin/_sidebar.html.erb +19 -0
  454. data/app/views/layouts/{admin → camaleon_cms/admin}/installer.html.erb +5 -5
  455. data/app/views/layouts/{application.html.erb → camaleon_cms/application.html.erb} +0 -0
  456. data/app/views/layouts/{login.html.erb → camaleon_cms/login.html.erb} +5 -4
  457. data/app/views/layouts/{mailer.html.erb → camaleon_cms/mailer.html.erb} +0 -0
  458. data/config/initializers/action_view.rb +31 -0
  459. data/config/initializers/active_record_extension.rb +52 -2
  460. data/config/initializers/assets.rb +0 -18
  461. data/config/initializers/custom_initializers.rb +7 -0
  462. data/config/locales/camaleon_cms/admin/en.yml +648 -0
  463. data/config/locales/camaleon_cms/admin/es.yml +597 -0
  464. data/config/locales/camaleon_cms/admin/it.yml +607 -0
  465. data/config/locales/camaleon_cms/admin/js.yml +127 -0
  466. data/config/locales/camaleon_cms/admin/pt_br.yml +610 -0
  467. data/config/locales/camaleon_cms/common.yml +193 -0
  468. data/config/locales/{languages.yml → camaleon_cms/languages.yml} +0 -0
  469. data/config/locales/{routes.yml → camaleon_cms/routes.yml} +8 -0
  470. data/config/locales/{pt.yml → pt-BR.yml} +1 -1
  471. data/config/routes.rb +8 -24
  472. data/config/routes/admin.rb +114 -98
  473. data/config/routes/frontend.rb +39 -27
  474. data/config/system.json +5 -3
  475. data/db/migrate/20150611161134_post_table_into_utf8.rb +15 -15
  476. data/db/migrate/20150926095310_rename_column_posts.rb +4 -4
  477. data/lib/camaleon_cms/engine.rb +6 -9
  478. data/lib/camaleon_cms/version.rb +1 -1
  479. data/lib/ext/string.rb +10 -45
  480. data/lib/ext/translator.rb +3 -2
  481. data/lib/generators/camaleon_cms/gem_plugin_generator.rb +90 -83
  482. data/lib/generators/camaleon_cms/gem_plugin_template/app/controllers/plugins/my_plugin/admin_controller.rb +1 -1
  483. data/lib/generators/camaleon_cms/gem_plugin_template/app/controllers/plugins/my_plugin/front_controller.rb +1 -1
  484. data/lib/generators/camaleon_cms/gem_plugin_template/app/views/plugins/my_plugin/admin/index.html.erb +9 -2
  485. data/lib/generators/camaleon_cms/gem_theme_generator.rb +97 -0
  486. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/assets/images → camaleon_cms/gem_theme_template/app/assets/images/themes/my_plugin}/image.png +0 -0
  487. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/assets/js → camaleon_cms/gem_theme_template/app/assets/javascripts/themes/my_plugin}/main.js +1 -1
  488. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/assets/css → camaleon_cms/gem_theme_template/app/assets/stylesheets/themes/my_plugin}/main.css +1 -1
  489. data/lib/generators/camaleon_cms/gem_theme_template/app/helpers/themes/my_plugin/main_helper.rb +26 -0
  490. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/views → camaleon_cms/gem_theme_template/app/views/themes/my_plugin}/admin/settings.html.erb +1 -1
  491. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/views → camaleon_cms/gem_theme_template/app/views/themes/my_plugin}/index.html.erb +0 -0
  492. data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/layouts/index.html.erb +71 -0
  493. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/views → camaleon_cms/gem_theme_template/app/views/themes/my_plugin}/partials/readme.txt +0 -0
  494. data/lib/generators/camaleon_cms/gem_theme_template/config/camaleon_theme.json +14 -0
  495. data/lib/generators/camaleon_cms/install_template/system.json +4 -2
  496. data/lib/generators/camaleon_cms/theme_generator.rb +71 -0
  497. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/assets/css/main.css +12 -0
  498. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/assets/images/image.png +0 -0
  499. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/assets/js/main.js +14 -0
  500. data/lib/generators/{ctheme_template → camaleon_cms/theme_template}/app/apps/themes/my_theme/config/config.json +0 -0
  501. data/lib/generators/{ctheme_template → camaleon_cms/theme_template}/app/apps/themes/my_theme/main_helper.rb +0 -0
  502. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/admin/settings.html.erb +4 -0
  503. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/index.html.erb +25 -0
  504. data/lib/generators/{ctheme_template → camaleon_cms/theme_template}/app/apps/themes/my_theme/views/layouts/index.html.erb +8 -8
  505. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/partials/readme.txt +1 -0
  506. data/lib/plugin_routes.rb +59 -28
  507. data/lib/tasks/camaleon_cms/rspec_test.rake +16 -0
  508. metadata +458 -548
  509. data/app/apps/plugins/contact_form/views/admin_forms/manual.html.erb +0 -59
  510. data/app/apps/themes/new/assets/js/plugins/modal_elfinder.js +0 -29
  511. data/app/assets/javascripts/admin/admin-basic-manifest.js +0 -3
  512. data/app/assets/javascripts/admin/custom_fields.js +0 -167
  513. data/app/assets/javascripts/admin/elfinder-manifest.js +0 -7
  514. data/app/assets/javascripts/admin/elfinder/elfinder.full.js +0 -12646
  515. data/app/assets/javascripts/admin/elfinder/i18n/elfinder.es.js +0 -294
  516. data/app/assets/javascripts/admin/elfinder/i18n/elfinder.fr.js +0 -298
  517. data/app/assets/javascripts/admin/elfinder/i18n/elfinder.it.js +0 -366
  518. data/app/assets/javascripts/admin/elfinder/proxy/elFinderSupportVer1.js +0 -338
  519. data/app/assets/javascripts/admin/elfinder/upload_elfinder.js +0 -237
  520. data/app/assets/javascripts/admin/jquery.slugify.js +0 -65
  521. data/app/assets/javascripts/admin/libraries.js +0 -266
  522. data/app/assets/javascripts/admin/post.js +0 -273
  523. data/app/assets/javascripts/admin/widgets.js +0 -54
  524. data/app/assets/javascripts/elfinder_front.js +0 -85
  525. data/app/assets/stylesheets/admin/custom_admin.css.scss +0 -193
  526. data/app/assets/stylesheets/admin/elfinder-manifest.css +0 -6
  527. data/app/assets/stylesheets/admin/elfinder/elfinder-theme.scss +0 -191
  528. data/app/assets/stylesheets/admin/elfinder/elfinder.css +0 -1922
  529. data/app/assets/stylesheets/admin/elfinder/images/arrows-active.png +0 -0
  530. data/app/assets/stylesheets/admin/elfinder/images/arrows-normal.png +0 -0
  531. data/app/assets/stylesheets/admin/elfinder/images/crop.gif +0 -0
  532. data/app/assets/stylesheets/admin/elfinder/images/dialogs.png +0 -0
  533. data/app/assets/stylesheets/admin/elfinder/images/icons-big.png +0 -0
  534. data/app/assets/stylesheets/admin/elfinder/images/icons-small.png +0 -0
  535. data/app/assets/stylesheets/admin/elfinder/images/logo.png +0 -0
  536. data/app/assets/stylesheets/admin/elfinder/images/progress.gif +0 -0
  537. data/app/assets/stylesheets/admin/elfinder/images/quicklook-bg.png +0 -0
  538. data/app/assets/stylesheets/admin/elfinder/images/quicklook-icons.png +0 -0
  539. data/app/assets/stylesheets/admin/elfinder/images/resize.png +0 -0
  540. data/app/assets/stylesheets/admin/elfinder/images/spinner-mini.gif +0 -0
  541. data/app/assets/stylesheets/admin/elfinder/images/toolbar.png +0 -0
  542. data/app/assets/stylesheets/admin/elfinder/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  543. data/app/assets/stylesheets/admin/elfinder/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  544. data/app/assets/stylesheets/admin/elfinder/images/ui-icons_222222_256x240.png +0 -0
  545. data/app/assets/stylesheets/bootstrap.min.css.scss +0 -5
  546. data/app/controllers/admin/appearances_controller.rb +0 -13
  547. data/app/controllers/admin/comments_controller.rb +0 -113
  548. data/app/controllers/admin/media_controller.rb +0 -53
  549. data/app/controllers/api/api_controller.rb +0 -31
  550. data/app/controllers/api/v1/category_controller.rb +0 -15
  551. data/app/controllers/api/v1/contact_form_controller.rb +0 -55
  552. data/app/controllers/api/v1/page_controller.rb +0 -8
  553. data/app/controllers/api/v1/post_controller.rb +0 -8
  554. data/app/controllers/apps/plugins_front_controller.rb +0 -20
  555. data/app/controllers/camaleon_controller.rb +0 -116
  556. data/app/helpers/html_helper.rb +0 -118
  557. data/app/helpers/uploader_helper.rb +0 -214
  558. data/app/models/concerns/metas.rb +0 -136
  559. data/app/models/grid_template.rb +0 -15
  560. data/app/models/term_taxonomy.rb +0 -157
  561. data/app/models/user_role.rb +0 -139
  562. data/app/serializers/api/base_serializer.rb +0 -9
  563. data/app/serializers/api/v1/category_serializer.rb +0 -8
  564. data/app/views/admin/appearances/nav_menus/_custom_fields.html.erb +0 -6
  565. data/app/views/admin/appearances/nav_menus/_menu_form.html.erb +0 -32
  566. data/app/views/admin/appearances/widgets/main/form.html.erb +0 -27
  567. data/app/views/admin/appearances/widgets/main/index.html.erb +0 -69
  568. data/app/views/admin/categories/_form.html.erb +0 -42
  569. data/app/views/admin/comments/form.html.erb +0 -52
  570. data/app/views/admin/comments/index.html.erb +0 -41
  571. data/app/views/admin/comments/reply.html.erb +0 -196
  572. data/app/views/admin/installers/welcome.html.erb +0 -8
  573. data/app/views/admin/media/iframe.html.erb +0 -33
  574. data/app/views/admin/media/index.html.erb +0 -19
  575. data/app/views/admin/post_tags/index.html.erb +0 -74
  576. data/app/views/admin/posts/_filter_posts.html.erb +0 -6
  577. data/app/views/admin/posts/form.html.erb +0 -103
  578. data/app/views/admin/sessions/forgot.html.erb +0 -45
  579. data/app/views/admin/sessions/login.html.erb +0 -49
  580. data/app/views/admin/sessions/register.html.erb +0 -62
  581. data/app/views/admin/settings/custom_fields/fields/field_attrs.html.erb +0 -8
  582. data/app/views/admin/settings/custom_fields/form.html.erb +0 -248
  583. data/app/views/admin/settings/post_types/_form.html.erb +0 -93
  584. data/app/views/admin/settings/post_types/index.html.erb +0 -72
  585. data/app/views/admin/settings/site.html.erb +0 -188
  586. data/app/views/admin/settings/sites/index.html.erb +0 -55
  587. data/app/views/admin/taxonomy/_form.html.erb +0 -62
  588. data/app/views/admin/taxonomy/edit.html.erb +0 -18
  589. data/app/views/admin/taxonomy/index.html.erb +0 -79
  590. data/app/views/admin/user_roles/form.html.erb +0 -167
  591. data/app/views/admin/user_roles/index.html.erb +0 -48
  592. data/app/views/admin/users/form.html.erb +0 -306
  593. data/app/views/admin/users/index.html.erb +0 -53
  594. data/app/views/admin/users/profile.html.erb +0 -118
  595. data/app/views/admin/users/profile_edit.html.erb +0 -312
  596. data/app/views/default_theme/admin/settings.html.erb +0 -1
  597. data/app/views/default_theme/partials/_comments.html.erb +0 -33
  598. data/app/views/default_theme/robots.text.erb +0 -1
  599. data/app/views/layouts/admin.html.erb +0 -56
  600. data/app/views/layouts/admin/_ajax.html.erb +0 -2
  601. data/app/views/layouts/admin/_sidebar.html.erb +0 -22
  602. data/app/views/shortcode_templates/form.html.erb +0 -1
  603. data/config/initializers/cache_helper.rb +0 -17
  604. data/config/initializers/doorkeeper.rb +0 -128
  605. data/config/initializers/elfinder.rb +0 -63
  606. data/config/initializers/page_caching.rb +0 -42
  607. data/config/initializers/rufus_cron.rb +0 -33
  608. data/config/initializers/swagger.rb +0 -18
  609. data/config/locales/admin/en.yml +0 -618
  610. data/config/locales/admin/es.yml +0 -584
  611. data/config/locales/admin/it.yml +0 -605
  612. data/config/locales/admin/js.yml +0 -118
  613. data/config/locales/common.yml +0 -189
  614. data/config/locales/doorkeeper.en.yml +0 -123
  615. data/db/migrate/20150930115030_doorkeeper_configuration.rb +0 -45
  616. data/lib/generators/camaleon_cms/install_template/apps/plugins/readme.txt +0 -1
  617. data/lib/generators/camaleon_cms/install_template/apps/themes/readme.txt +0 -1
  618. data/lib/generators/cplugin_generator.rb +0 -82
  619. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/admin_controller.rb +0 -8
  620. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/assets/css/readme.txt +0 -1
  621. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/assets/images/readme.txt +0 -1
  622. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/assets/js/readme.txt +0 -1
  623. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/config/config.json +0 -21
  624. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/config/locales/readme.txt +0 -1
  625. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/config/routes_admin.txt +0 -1
  626. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/config/routes_front.txt +0 -1
  627. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/front_controller.rb +0 -8
  628. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/main_helper.rb +0 -22
  629. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/models/my_plugin.rb +0 -7
  630. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/views/admin/index.html.erb +0 -2
  631. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/views/front/index.html.erb +0 -2
  632. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/views/layouts/readme.txt +0 -2
  633. data/lib/generators/ctheme_generator.rb +0 -65
  634. data/lib/tasks/camaleon_cms_tasks.rake +0 -23
  635. data/lib/tasks/precompile_overrides.rake +0 -6
@@ -1 +0,0 @@
1
- <%= render partial: "admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: current_theme.get_field_groups, fields_name: "theme_fields"} %>
@@ -1,33 +0,0 @@
1
- <section class="comment-list">
2
- <% if post.the_comments.count > 0 %>
3
- <div class="row">
4
- <div class="col-md-12">
5
- <h2 class="page-header"><%= ct('comments')%></h2>
6
- <section class="comment-list">
7
- <%= render partial: "partials/comments_list", locals: { comments: post.the_comments, children: "" } %>
8
- </section>
9
- </div>
10
- </div>
11
- <% end %>
12
-
13
- <div class="row">
14
- <div class="col-md-12 col-sm-12">
15
- <h3><%= ct('comment_new')%></h3>
16
- <div class="panel panel-default">
17
- <div class="panel-body">
18
- <% if signin? %>
19
- <%= form_for post, url:{action: :save_comment, post_id: post.id}, html: {method: "post", class: "form-comment"} do |f|%>
20
- <%= render partial: "flash_messages" %>
21
- <input type="hidden" name="post_comment[post_id]" value="<%= post.id %>">
22
- <input type="hidden" name="slug" value="<%= post.slug %>">
23
- <textarea id="textarea_comments" name="post_comment[content]" class="form-control counted" placeholder="<%= ct('comment')%>"></textarea>
24
- <button type="submit" class="btn btn-info pull-right"><%= ct('comment')%></button>
25
- <% end %>
26
- <% else %>
27
- <div class="panel-login-comment"><%= ct('comment_msg')%> <a class="link-login-comment" href="<%= admin_path %>"><%= ct('login')%></a></div>
28
- <% end %>
29
- </div>
30
- </div>
31
- </div>
32
- </div>
33
- </section>
@@ -1 +0,0 @@
1
- Sitemap: <%= sitemap_url %>
@@ -1,56 +0,0 @@
1
- <% _admin_menu_draw = admin_menu_draw %>
2
- <!DOCTYPE html>
3
- <html lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
- <title><%= raw admin_title_draw %></title>
7
- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
8
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
9
- <%= stylesheet_link_tag "admin/admin-manifest", media: "all" %>
10
- <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
11
- <script>
12
- var root_url = '<%= root_url %>';
13
- var NO_IMAGE_URL = '<%= asset_url("image-not-found.png") %>';
14
- var CURRENT_LOCALE = '<%= current_locale %>';
15
- var ADMIN_TRANSLATIONS = <%= raw current_site.get_languages.to_json %>;
16
- var tinymce_global_settings = {language_url: "<%= asset_path("admin/tinymce/langs/#{current_locale}.js") %>", custom_css: [], custom_toolbar: [], post_render: [], init: [], setups: []};
17
- var I18n_data = <%= I18n.backend.send(:translations)[current_locale.to_sym][:admin][:js].to_json.html_safe %>
18
- </script>
19
- <%= javascript_include_tag "admin/admin-manifest" %>
20
- <%= javascript_include_tag "admin/#{current_locale}.js" if current_locale != "en" %> <!-- validator translations -->
21
- <%= javascript_include_tag "admin/elfinder/i18n/elfinder.#{current_locale}.js" if current_locale != "en" %> <!-- elfinder translations -->
22
- <%= raw the_head({}, false) %>
23
- <!--[if lt IE 9]>
24
- <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
25
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
26
- <![endif]-->
27
- </head>
28
- <body class="hold-transition skin-blue sidebar-mini" data-intro="<%= current_site.get_option("save_intro") %>">
29
- <%= raw content_before_draw %>
30
- <div class="wrapper">
31
-
32
- <%= render partial: "layouts/admin/header" %>
33
- <%= render partial: "layouts/admin/sidebar", locals: {_admin_menu_draw: _admin_menu_draw} %>
34
-
35
- <div class="content-wrapper">
36
- <!-- Content Header (Page header) -->
37
- <section class="content-header">
38
- <ol class="breadcrumb">
39
- <%= raw admin_breadcrumb_draw() %>
40
- </ol>
41
- </section>
42
-
43
- <!-- Main content -->
44
- <!-- box box-info -->
45
- <section class="content" id="admin_content">
46
- <%= render "/layouts/admin/flash_messages" %>
47
- <%= yield %>
48
- </section>
49
- <!-- /.content -->
50
- </div>
51
-
52
- <%= render partial: "layouts/admin/footer" %>
53
- </div>
54
- <%= raw content_after_draw %>
55
- </body>
56
- </html>
@@ -1,2 +0,0 @@
1
- <%= draw_custom_assets %>
2
- <%= yield %>
@@ -1,22 +0,0 @@
1
- <aside class="main-sidebar">
2
- <!-- sidebar: style can be found in sidebar.less -->
3
- <section class="sidebar">
4
- <!-- search form -->
5
- <form action="#" method="get" class="sidebar-form hidden">
6
- <div class="input-group">
7
- <input type="text" name="q" class="form-control" placeholder="Search...">
8
- <span class="input-group-btn">
9
- <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
10
- </button>
11
- </span>
12
- </div>
13
- </form>
14
- <!-- /.search form -->
15
-
16
- <ul class="sidebar-menu">
17
- <li class="header"><%= t("admin.sidebar.main_navigation") %></li>
18
- <%= raw _admin_menu_draw %>
19
- </ul>
20
- </section>
21
- <!-- /.sidebar -->
22
- </aside>
@@ -1 +0,0 @@
1
- <%= render :partial => "forms", locals: { id: attributes['id'], post_id: @post.id } %>
@@ -1,17 +0,0 @@
1
- =begin
2
- Camaleon CMS is a content management system
3
- Copyright (C) 2015 by Owen Peredo Diaz
4
- Email: owenperedo@gmail.com
5
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
- This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7
- See the GNU Affero General Public License (GPLv3) for more details.
8
- =end
9
- # customizable cache path for cache inline
10
- module ActiveSupport
11
- module Cache
12
- class FileStore < Store
13
- attr_reader :cache_path
14
- attr_writer :cache_path
15
- end
16
- end
17
- end
@@ -1,128 +0,0 @@
1
- include SessionHelper
2
- include SiteHelper
3
- include HooksHelper
4
-
5
- Doorkeeper.configure do
6
- # Change the ORM that doorkeeper will use (needs plugins)
7
- orm :active_record
8
- default_scopes :public, :admin, :client
9
-
10
- resource_owner_from_credentials do |routes|
11
- login_user_with_password(params[:username], params[:password])
12
- end
13
-
14
- # This block will be called to check whether the resource owner is authenticated or not.
15
- # resource_owner_authenticator do
16
- # User.find_by_id(session[:current_user_id]) || redirect_to(login_url)
17
- # fail "Please configure doorkeeper resource_owner_authenticator block located in #{__FILE__}"
18
- # Put your resource owner authentication logic here.
19
- # Example implementation:
20
- # User.find_by_id(session[:user_id]) || redirect_to(new_user_session_url)
21
- # end
22
-
23
- # If you want to restrict access to the web interface for adding oauth authorized applications, you need to declare the block below.
24
- admin_authenticator do
25
- begin
26
- authorize! :manager, :comments
27
- rescue CanCan::AccessDenied
28
- redirect_to admin_dashboard_path
29
- end
30
- end
31
-
32
- # Authorization Code expiration time (default 10 minutes).
33
- # authorization_code_expires_in 10.minutes
34
-
35
- # Access token expiration time (default 2 hours).
36
- # If you want to disable expiration, set this to nil.
37
- # access_token_expires_in 2.hours
38
-
39
- # Assign a custom TTL for implicit grants.
40
- # custom_access_token_expires_in do |oauth_client|
41
- # oauth_client.application.additional_settings.implicit_oauth_expiration
42
- # end
43
-
44
- # Use a custom class for generating the access token.
45
- # https://github.com/doorkeeper-gem/doorkeeper#custom-access-token-generator
46
- # access_token_generator "::Doorkeeper::JWT"
47
-
48
- # Reuse access token for the same resource owner within an application (disabled by default)
49
- # Rationale: https://github.com/doorkeeper-gem/doorkeeper/issues/383
50
- # reuse_access_token
51
-
52
- # Issue access tokens with refresh token (disabled by default)
53
- # use_refresh_token
54
-
55
- # Provide support for an owner to be assigned to each registered application (disabled by default)
56
- # Optional parameter :confirmation => true (default false) if you want to enforce ownership of
57
- # a registered application
58
- # Note: you must also run the rails g doorkeeper:application_owner generator to provide the necessary support
59
- # enable_application_owner :confirmation => false
60
-
61
- # Define access token scopes for your provider
62
- # For more information go to
63
- # https://github.com/doorkeeper-gem/doorkeeper/wiki/Using-Scopes
64
- # default_scopes :public
65
- # optional_scopes :write, :update
66
-
67
- # Change the way client credentials are retrieved from the request object.
68
- # By default it retrieves first from the `HTTP_AUTHORIZATION` header, then
69
- # falls back to the `:client_id` and `:client_secret` params from the `params` object.
70
- # Check out the wiki for more information on customization
71
- # client_credentials :from_basic, :from_params
72
-
73
- # Change the way access token is authenticated from the request object.
74
- # By default it retrieves first from the `HTTP_AUTHORIZATION` header, then
75
- # falls back to the `:access_token` or `:bearer_token` params from the `params` object.
76
- # Check out the wiki for more information on customization
77
- # access_token_methods :from_bearer_authorization, :from_access_token_param, :from_bearer_param
78
-
79
- # Change the native redirect uri for client apps
80
- # When clients register with the following redirect uri, they won't be redirected to any server and the authorization code will be displayed within the provider
81
- # The value can be any string. Use nil to disable this feature. When disabled, clients must provide a valid URL
82
- # (Similar behaviour: https://developers.google.com/accounts/docs/OAuth2InstalledApp#choosingredirecturi)
83
- #
84
- # native_redirect_uri 'urn:ietf:wg:oauth:2.0:oob'
85
-
86
- # Forces the usage of the HTTPS protocol in non-native redirect uris (enabled
87
- # by default in non-development environments). OAuth2 delegates security in
88
- # communication to the HTTPS protocol so it is wise to keep this enabled.
89
- #
90
- # force_ssl_in_redirect_uri !Rails.env.development?
91
-
92
- # Specify what grant flows are enabled in array of Strings. The valid
93
- # strings and the flows they enable are:
94
-
95
- #
96
- # "authorization_code" => Authorization Code Grant Flow
97
- # "implicit" => Implicit Grant Flow
98
- # "password" => Resource Owner Password Credentials Grant Flow
99
- # "client_credentials" => Client Credentials Grant Flow
100
- #
101
- # If not specified, Doorkeeper enables authorization_code and
102
- # client_credentials.
103
- #
104
- # implicit and password grant flows have risks that you should understand
105
- # before enabling:
106
- # http://tools.ietf.org/html/rfc6819#section-4.4.2
107
- # http://tools.ietf.org/html/rfc6819#section-4.4.3
108
- #
109
- grant_flows %w(password)
110
-
111
- # Under some circumstances you might want to have applications auto-approved,
112
- # so that the user skips the authorization step.
113
- # For example if dealing with a trusted application.
114
- skip_authorization do |resource_owner, client|
115
- # client.superapp? or resource_owner.admin?
116
- true
117
- end
118
-
119
- # skip_authorization do |resource_owner, client|
120
- # client.superapp? or resource_owner.admin?
121
- # true
122
- # end
123
-
124
- # WWW-Authenticate Realm (default "Doorkeeper").
125
- # realm "Doorkeeper"
126
-
127
- # configuration.token_grant_types << 'password'
128
- end
@@ -1,63 +0,0 @@
1
- #
2
- # http://elrte.org/redmine/projects/elfinder/wiki/Client-Server_Protocol_EN
3
- #
4
-
5
- require 'base64'
6
-
7
- module ElFinder
8
- # Represents ElFinder connector on Rails side.
9
- class Connector
10
- def _resize
11
- if image_handler.nil?
12
- command_not_implemented
13
- else
14
- if @target.file?
15
- perms = perms_for(@target)
16
- if perms[:read] == true && perms[:write] == true
17
- case @params[:mode]
18
- when 'crop'
19
- image_handler.crop(@target, :width => @params[:width].to_i, :height => @params[:height].to_i, :x => @params[:x].to_i, :y => @params[:y].to_i)
20
- when 'rotate'
21
- image_handler.rotate(@target, :degree => @params[:degree].to_i)
22
- else
23
- image_handler.resize(@target, :width => @params[:width].to_i, :height => @params[:height].to_i)
24
- end
25
- if (thumbnail = thumbnail_for(@target)).file?
26
- thumbnail.unlink
27
- end
28
-
29
- # remove_target(@target)
30
- # @target = @target_new
31
-
32
- @response[:select] = [to_hash(@target)]
33
- _open(@current)
34
- else
35
- @response[:error] = 'Access Denied'
36
- end
37
- else
38
- @response[:error] = "Unable to resize file. It does not exist"
39
- end
40
- end
41
- end
42
-
43
- private
44
- def thumbnail_for(pathname)
45
- @thumb_directory + "#{pathname.path.to_s.parameterize}.png"
46
- end
47
- end
48
-
49
- class Image
50
- def self.resize(pathname, options = {})
51
- return nil unless File.exist?(pathname)
52
- system( ::Shellwords.join(['convert', '-resize', "#{options[:width]}x#{options[:height]}", pathname.to_s, pathname.to_s]) )
53
- end
54
- def self.crop(pathname, options = {})
55
- return nil unless File.exist?(pathname)
56
- system( ['convert', '-crop', "#{options[:width]}x#{options[:height]}+#{options[:x]}+#{options[:y]}", pathname.to_s, pathname.to_s].join(' ') )
57
- end
58
- def self.rotate(pathname, options = {})
59
- return nil unless File.exist?(pathname)
60
- system( ['convert', '-rotate', "#{options[:degree]}", pathname.to_s, pathname.to_s].join(' ') )
61
- end
62
- end
63
- end
@@ -1,42 +0,0 @@
1
- =begin
2
- Camaleon CMS is a content management system
3
- Copyright (C) 2015 by Owen Peredo Diaz
4
- Email: owenperedo@gmail.com
5
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
- This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7
- See the GNU Affero General Public License (GPLv3) for more details.
8
- =end
9
- module ActionController
10
- module Caching
11
- module Pages extend ActiveSupport::Concern
12
- module ClassMethods
13
- # get page cache content
14
- def page_cache_get(path, extension = nil)
15
- return "" unless page_cache_exist?(path, extension)
16
- # File.read(path)
17
- path = page_cache_path(path, extension)
18
- end
19
-
20
- # verify if this cache is already saved
21
- def page_cache_exist?(path, extension = nil)
22
- path = page_cache_path(path, extension)
23
- File.exist?(path)
24
- end
25
- end
26
-
27
- def page_cache_exist?(path, extension = nil)
28
- self.class.page_cache_exist?(path, extension || get_cache_extension)
29
- end
30
-
31
- def page_cache_get(path, extension = nil)
32
- self.class.page_cache_get(path, extension || get_cache_extension)
33
- end
34
-
35
- private
36
- def get_cache_extension
37
- # request.accept_encoding.include?("gzip")?".html.gz":""
38
- nil
39
- end
40
- end
41
- end
42
- end
@@ -1,33 +0,0 @@
1
- =begin
2
- Camaleon CMS is a content management system
3
- Copyright (C) 2015 by Owen Peredo Diaz
4
- Email: owenperedo@gmail.com
5
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
- This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7
- See the GNU Affero General Public License (GPLv3) for more details.
8
- =end
9
- begin
10
- require 'rufus-scheduler'
11
- loaded_rufus = true
12
- rescue LoadError
13
- loaded_rufus = false
14
- end
15
-
16
- if loaded_rufus
17
- $scheduler = Rufus::Scheduler.singleton
18
- # $scheduler.cron '00 05 * * *' do
19
- #
20
- # end
21
-
22
- sites = Site.all rescue []
23
- sites.each do |site|
24
- # triggering cron hooks
25
- c = CamaleonController.new
26
- c.instance_eval do
27
- @current_site = site
28
- @_hooks_skip = []
29
- end
30
- r = {site: site, eval: nil}; c.hooks_run("cron", r)
31
- r[:eval].call(r) if r[:eval].present? # evaluate the cron job created by plugin or theme
32
- end
33
- end
@@ -1,18 +0,0 @@
1
- Swagger::Docs::Config.register_apis(
2
- {
3
- '1.0' => {
4
- :api_extension_type => :json,
5
- :api_file_path => "public/",
6
- :clean_directory => false,
7
- :attributes => {
8
- :info => {
9
- 'title' => 'Camaleon CMS API Docs',
10
- 'description' => 'This is the api documentation',
11
- 'contact' => 'owenperedo@gmail.com',
12
- 'license' => 'AGPLv3',
13
- 'licenseUrl' => 'http://camaleon.tuzitio.com/license.html/'
14
- }
15
- }
16
- }
17
- }
18
- )
@@ -1,618 +0,0 @@
1
- en:
2
- camaleon_message: "Welcome to Camaleon CMS"
3
- admin:
4
- header:
5
- member_since: "Member since %{time}"
6
- button:
7
- activity: 'Activity'
8
- add_new_field: 'Add new field'
9
- add_option: 'Add option'
10
- add_menu: 'Add to Menu'
11
- add_widget: 'Add Widget'
12
- accept: 'Accept'
13
- actived: 'Activated'
14
- activate_plugin: 'Activate Plugin'
15
- back: 'Back'
16
- change_photo: 'Change Photo'
17
- change_password: 'Change Password'
18
- create_menu: 'Create Menu'
19
- create: 'Create'
20
- cancel: 'Cancel'
21
- chat: 'Chat'
22
- close: 'Close'
23
- delete: 'Delete'
24
- disable_plugin: 'Disable Plugin'
25
- enter: 'Enter'
26
- edit: 'Edit'
27
- following: 'Following'
28
- log_in: 'Log In'
29
- move_trash: 'Move to trash'
30
- no: 'No'
31
- none: 'None'
32
- not_actived: 'Not Active'
33
- publish: 'Publish'
34
- preview: 'Preview'
35
- proccess: 'Proccess'
36
- recover: 'Recover'
37
- restore: 'Restore'
38
- restore_selections: 'Restore Selections'
39
- select: 'Select'
40
- select_all: 'Select All'
41
- select_file: 'Select File'
42
- select_none: 'Select None'
43
- sign_up: 'Sign Up'
44
- submit: 'Submit'
45
- settings: 'Settings'
46
- sortable: 'Sortable'
47
- update: 'Update'
48
- update_menu: 'Update Menu'
49
- upload_audio: 'Upload Audio'
50
- upload_file: 'Upload File'
51
- upload_image: 'Upload Image'
52
- upload_icon: 'Upload Icon'
53
- upload_video: 'Upload Video'
54
- view_draft: 'View Draft'
55
- view_page: 'View Page'
56
- yes: 'Yes'
57
- out_yes: 'Yes'
58
- out_not: 'No'
59
- domain: "Domain"
60
- comments:
61
- comments_list_post: 'List Comments Post'
62
- responses: 'Responses'
63
- message:
64
- approved: 'Approved'
65
- change_status: 'The response status has been changed to '
66
- created: 'The comment has been created.'
67
- destroy: 'The answers has been removed.'
68
- destroy_comments: 'The comments has been removed.'
69
- deleted: 'The answers has been removed.'
70
- error: 'Not found comment'
71
- pending: 'Pending'
72
- responses: 'The reply has been created.'
73
- spam: 'Spam'
74
- there_no_comments: 'There is no comments.'
75
- updated: 'The comment has been updated.'
76
-
77
- tooltip:
78
- approved_comment: 'Approve Comment'
79
- comment_pending: 'Comment To Pending'
80
- comment_spam: 'Comment To Spam'
81
- reply_comment: 'Reply Comment'
82
- delete_comment: 'Delete Comment'
83
- custom_field:
84
- message:
85
- custom_group_error: 'Error custom field group'
86
- custom_created: 'The custom field group has been created.'
87
- custom_updated: 'The custom field group has been updated.'
88
- fields:
89
- text_box: 'Text Box'
90
- text_area: 'Text Area'
91
- select: 'Select'
92
- colorpicker: 'Colorpicker'
93
- date: 'Date'
94
- email: 'Email'
95
- file: 'File'
96
- image: 'Image'
97
- numeric: 'Numeric'
98
- phone: 'Phone'
99
- users: 'Users'
100
- posts: 'Posts'
101
- select_eval: 'Select Eval'
102
- field_attrs: 'Field Attributes'
103
- website: 'Website'
104
- multiple_choice: 'Radio Button'
105
-
106
-
107
- login:
108
- already_have_account: 'Already have account?'
109
- authentication: 'Authentication'
110
- captcha: 'Captcha'
111
- create_account: 'Create an account'
112
- login: 'Login'
113
- forgot_your_password_int: 'Forgot your password?'
114
- message:
115
- success: 'Welcome!!!'
116
- fail: 'Username or Password incorrect'
117
- forgot_url_incorrect: 'URL incorrect'
118
- forgot_expired: 'Reset expired.'
119
- hello: 'Hello'
120
- reset_password_succes: 'Reset password success!'
121
- reset_password_error: 'Password incorrect'
122
- reset_url: 'Reset URL'
123
- subject_email: 'Reset your access'
124
- send_mail_succes: 'Send email reset success.'
125
- send_mail_error: 'Not found email address.'
126
- invalid_caption: 'Invalid captcha'
127
- personal_info: 'Personal info'
128
- please_login: 'Please login'
129
- reset_password: 'reset password'
130
- reCaptcha: 'reCaptcha'
131
- send_email: 'Send email'
132
- reset_password_html: '<strong>Send email</strong>, reset password'
133
- welcome: 'Welcome'
134
- welcome_login_html: '<strong>Welcome</strong>, Please login'
135
- do_not_have_account_yet: "Do not have an account yet?"
136
- msg_registration_html: '<strong>Registration</strong>, use form below'
137
- username: "Username"
138
- password: "Password"
139
- password_confirm: "Password confirmation"
140
- first_name: "First Name"
141
- last_name: "Last Name"
142
- email: "Email"
143
- remember_me: "Remember Me"
144
- logout:
145
- log: 'Log'
146
- out: 'Out'
147
- logout: 'Logout'
148
- logout_html: 'Log <strong>Out</strong>?'
149
- message:
150
- closed: 'Session Closed'
151
- media:
152
- media_manager: 'Media Manager'
153
- home: "Home"
154
- menus:
155
- link_url: 'Link URL'
156
- message:
157
- created: 'The nav menu has been created.'
158
- deleted: 'The nav menu has been delete.'
159
- error_menu: 'Error Menu'
160
- name_link: 'Name Link'
161
- name_menu: 'Name Menu'
162
- external_link: 'External Link'
163
- or: 'or'
164
- create_new: 'create a new menu'
165
- select: 'Select Menu'
166
- select_edit: 'Select the menu you want to edit:'
167
- message:
168
- are_you_sure_you_want_log_out_int: 'Are you sure you want to log out?'
169
- are_you_sure_to_import: "Are you sure you want to import?"
170
- data_found_list: 'No data found in the list'
171
- delete: 'Are you sure?'
172
- delete_item: 'Really want to delete this item?'
173
- edit_menu: 'Place each item in the order you prefer. Click on the icon of a pencil to edit the item and click the icon in the form of x to delete the item.'
174
- add_menus: 'Add menu items from the left column.'
175
- press_no_continue_work_press_yes_logout: 'Press No if you want to continue work. Press Yes to logout current user.'
176
- updated_success: 'Updated Successfully'
177
- remove_items_submenu: 'Really remove this item and its sub menu items?'
178
- you_must_upload_image: 'You must upload an image'
179
- you_must_upload_video: 'You must upload an video'
180
- so_their_data_has_not_been_saved: 'so their data has not been saved'
181
- no_response_fields: 'No response fields '
182
- quick_info: 'Some quick info about this user'
183
- was_inactivated: 'was inactivated.'
184
- was_activated: 'was activated.'
185
- was_upgraded: 'was updated.'
186
- can_not_be_removed: 'can not be removed.'
187
- was_removed: 'was removed.'
188
- processing: 'Procesando...'
189
- change_photo: 'Use form below to upload file. Only image files.'
190
- change_password: 'To change your password enter your old password first, then enter the new password and repeat the new password.'
191
- you_must_upload_json_file: 'You must upload an json file'
192
- import_process: 'Import in process'
193
- unauthorized: "Access denied"
194
- welcome: 'Welcome to the admin panel of your site.'
195
- no_templates_defined: 'No templates defined'
196
- avatar_updated: 'Updated Avatar'
197
- form_error: 'Form Error'
198
- page_title:
199
- page_title: 'Page Title'
200
- create: 'Create'
201
- details: 'Details'
202
- edit: 'Edit'
203
- add: 'Add'
204
- list: 'List'
205
- list_of: 'List of'
206
- new_site: 'New Site'
207
- edit_site: 'Edit Site'
208
- update: 'Update'
209
- post:
210
- add_tag: 'Add a Tag'
211
- clone: 'Clone'
212
- clone_content: 'Clone content'
213
- label_required: 'Required Label'
214
- placeholder_required: 'Required Placeholder'
215
- message:
216
- created: 'The %{post_type} has been created.'
217
- updated: 'The %{post_type} has been updated.'
218
- deleted: 'The %{post_type} has been removed.'
219
- error: 'Error %{post_type}'
220
- error_post_type: 'Error %{post_type}'
221
- trash: 'The %{post_type} was moved to the trash.'
222
- requires_different_slug: 'Requires different slug'
223
- restore: 'The %{post_type} was restored.'
224
- draft: 'Saved draft success'
225
- recover: 'Recover...'
226
- permalink: 'Permalink'
227
- post_type:
228
- all: 'All Items'
229
- add: 'Add'
230
- add_category: 'Add Category'
231
- add_post_type: 'Add Post Type'
232
- add_new: 'Add New'
233
- add_post_tag: 'Add Post Tag'
234
- categories: 'Categories'
235
- category: 'Category'
236
- configuration: 'Configuration'
237
- other_configuration: 'Custom Configurations'
238
- comments: 'Comments'
239
- draft: 'Draft'
240
- edit_post_type: 'Edit Post Type'
241
- edit_category: 'Edit Category'
242
- enter_password: 'Enter the password'
243
- featured_image: 'Featured Image'
244
- keywords: 'Keywords'
245
- message:
246
- error: 'Error class'
247
- error_term: 'Error term class'
248
- created: 'Saved'
249
- updated: 'Updated'
250
- deleted: 'Deleted'
251
- no_created_html: '<br> No %{taxonomy} found'
252
- pending: 'Pending'
253
- permit_comments: 'Allow Comments?'
254
- post_types: 'Post Types'
255
- posts: 'Posts'
256
- post_tags: 'Post Tags'
257
- published: 'Published'
258
- published_date: 'Published Date'
259
- save_draft: 'Save Draft'
260
- save_pending: 'Save Pending'
261
- summary: 'Summary'
262
- tags: 'Tags'
263
- template: 'Template'
264
- layout: 'Layout'
265
- trash: 'Trash'
266
- tooltip:
267
- permission_asing_categories: 'Permission to assign categories'
268
- permission_add_tags: 'Permission to add Tags'
269
- permission_add_content: 'Permission to add content'
270
- permission_add_content_summary: 'Permission to add a content summary'
271
- permission_reviews: 'Permission for reviews'
272
- permission_add_image_presentation: 'Permission to add an image of presentation'
273
- permission_manage_template: 'Permission Manage Template'
274
- permission_add_keywords: 'Permission to add keywords'
275
- upload_image: 'Upload Image'
276
- view_comments: 'View Comments'
277
- plugins:
278
- active_plugins: 'Active Plugins'
279
- all_plugins: 'All Plugins'
280
- status_false: 'Inactive'
281
- status_true: 'Active'
282
- type_contents: 'Type Contents'
283
- upgrade_to: "Upgrade to"
284
- settings:
285
- activate_create_account: 'Activate Create Account'
286
- activate_login_social_networks: 'Activate Login Social Networks'
287
- add_field_group: 'Add Field Group'
288
- admin_language: 'Admin language'
289
- allow_user_registration: 'Allow user registration'
290
- available_fields: 'Available fields'
291
- available_languages: 'Available languages'
292
- categories_in: 'Categories in'
293
- configuration_site: 'Configuration Site'
294
- current_languages: 'Current Languages'
295
- details_custom_field_group: 'Details Custom Field Group'
296
- details_site: 'Details Site'
297
- edit_custom_field_group: 'Edit Custom Field Group'
298
- field: 'Field'
299
- fields: 'Fields'
300
- information_basic: 'Basic Information'
301
- theme_setting: "Theme settings"
302
- input_only_date: 'Input only the date'
303
- input_date_time: 'Input date and time'
304
- languages_configuration: 'Languages configuration'
305
- list_custom_fields_group: 'List Custom Fields Group'
306
- list_sites: 'List Sites'
307
- login_twitter: 'Twitter'
308
- login_facebook: 'Facebook'
309
- login_google: 'Google+'
310
- email_enabled: "Use this settings to send emails"
311
- email_server: "Email Server"
312
- email_port: "Email Port"
313
- email_domain: "Email Domain"
314
- email_username: "User Name"
315
- email_pass: "User Password"
316
- email_from: "Email From"
317
- email_cc: "Email CC"
318
- twitter_card: "Twitter Card"
319
- author: "Author Name"
320
- seo_setting: "Seo Settings"
321
- email_settings: "Email Settings (SMTP)"
322
- security:
323
- captcha_user_register: "Enable captcha on user registration?"
324
- message:
325
- language_updated: 'Your languages was configured.'
326
- site_updated: 'The site has been updated.'
327
- new_custom_field_group: 'New Custom Field Group'
328
- options_select: 'Options select'
329
- option_title: 'Option Title'
330
- others: 'Others'
331
- please_separated_commas: 'Please separated by commas'
332
- comment_status: 'Register comments as approved?'
333
- list_per_page_front: 'Quantity of items to be listed on frontend'
334
- list_per_page_admin: 'Quantity of items to be listed on backend'
335
- permission_register_users: 'Permission to Register Users'
336
- permission_login_twitter: 'Permission to Login with Twitter'
337
- permission_login_facebook: 'Permission to Login with Facebook'
338
- permission_login_google: 'Permission to Login with Google+'
339
- posts_in: 'Posts in'
340
- settings: 'Settings'
341
- tooltip:
342
- add_custom_field_posts: 'Add Custom Field in Posts of '
343
- add_custom_field_categories: 'Add Custom Field in Categories of '
344
- add_custom_field_users: 'Add Custom Field in Users '
345
- add_custom_field_sites: 'Add Custom Field in Site '
346
- add_custom_field_themes: 'Add Custom Field in Theme '
347
- add_custom_field_widget: 'Add Custom Field in Widget '
348
- untitled: 'Untitled'
349
- where_display_group: 'Where to display this group'
350
- sidebar:
351
- appearance: 'Appearance'
352
- comments: 'Comments'
353
- content: 'Content'
354
- content_groups: 'Content Groups'
355
- custom_fields: 'Custom Fields'
356
- dashboard: 'Dashboard'
357
- general_site: 'General Site'
358
- information: 'Information'
359
- languages: 'Languages'
360
- media: 'Media'
361
- menus: 'Menus'
362
- navigation: 'Navigation'
363
- plugins: 'Plugins'
364
- post_type: 'Post Type'
365
- settings: 'Settings'
366
- site_settings: 'Site settings'
367
- sites: 'Sites'
368
- themes: 'Themes'
369
- users: 'Users'
370
- widget: 'Widget'
371
- widgets: 'Widgets'
372
- main_navigation: "MAIN NAVIGATION"
373
- sidebar_top:
374
- admin_panel: 'Admin. Panel'
375
- visit: 'Visit'
376
- sites:
377
- add_site: 'Add Site'
378
- message:
379
- error: 'Not found site'
380
- created: 'The site has been created.'
381
- updated: 'The site has been updated.'
382
- deleted: 'Correct Deleted'
383
- enter_key_domain: 'Enter a key or a domain'
384
- enter_key_domain_empty: 'Enter a key or a domain'
385
- signin:
386
- message:
387
- enter_username_password: 'You must enter a username and/or password'
388
- combination_username_password_invalid: 'Combination of username/password invalid.'
389
- success_user: 'Success User'
390
- table:
391
- actions: 'Actions'
392
- attribute: 'Attribute'
393
- author: 'Author'
394
- basic: 'Basic'
395
- categories: 'Categories'
396
- updated_at: "Updated at"
397
- comments: 'Comments'
398
- count: 'Count'
399
- date_published: 'Date Published'
400
- default: 'Default'
401
- default_thumbnail: 'Default Thumbnail'
402
- default_value: 'Default Value'
403
- description: 'Description'
404
- dimensions: 'Dimensions'
405
- display_objects: 'Display Objects'
406
- draft: 'Draft'
407
- email: 'Email'
408
- e_mail: 'E-mail'
409
- email_address: 'Email Address'
410
- error: 'Error'
411
- errors: 'Errors'
412
- excerpt: 'Excerpt'
413
- facebook: 'Facebook'
414
- favicon: 'Favicon'
415
- screenshot: "Screenshot"
416
- first_names: 'First Name'
417
- group_name: 'Group Name'
418
- google_plus: 'Google plus'
419
- hide: 'Hide'
420
- home_page: 'Home Page'
421
- has_keywords: 'Has Keywords'
422
- id: 'ID'
423
- images: 'Images'
424
- import: 'Import'
425
- instagram: 'Instagram'
426
- keywords: 'Keywords (enter separated by commas)'
427
- kind: 'Kind'
428
- last_login: 'Last login'
429
- last_names: 'Last Name'
430
- last_visit: 'Last visit'
431
- link: 'Link'
432
- linkedin: 'Linkedin'
433
- login: 'Login'
434
- logo: 'Logo'
435
- manage_category: 'Manage Category'
436
- manage_content: 'Manage Content'
437
- manage_picture: 'Manage Picture'
438
- manage_summary: 'Manage Summary'
439
- manage_tags: 'Manage Tags'
440
- manage_template: 'Manage Template'
441
- modified: 'Modified'
442
- multiple_field_int: 'Multiple field?'
443
- required_field_int: 'Required field?'
444
- translate_field_int: 'Translate field?'
445
- show_in_frontend: 'Show in Frontend (Only post contents)'
446
- name: 'Name'
447
- new_password: 'New Password'
448
- no_default: 'No Default'
449
- old_password: 'Old Password'
450
- options: 'Options'
451
- options_field: 'Options Field'
452
- parent: 'Parent'
453
- password: 'Password'
454
- password_confirmation: 'Password Confirmation'
455
- password_protection: 'Password protection'
456
- permit_comments_default: 'Allow Comments (default)'
457
- post: 'Post'
458
- post_type: 'Post Type'
459
- pending: 'Pending'
460
- private: 'Private'
461
- public: 'Public'
462
- qty: 'Quantity'
463
- quick_info: 'Quick Info'
464
- registration: 'Registration'
465
- repeat_new: 'Repeat New'
466
- role: 'Role'
467
- slogan: 'Slogan'
468
- slug: 'Slug'
469
- short_code: 'Short Code'
470
- site_name: 'Site Name'
471
- size: 'Size'
472
- social: 'Social'
473
- skype: 'Skype'
474
- status: 'Status'
475
- tags: 'Tags'
476
- text: 'Text'
477
- title: 'Title'
478
- total: 'Total'
479
- trash: 'Trash'
480
- twitter: 'Twitter'
481
- username: 'Username'
482
- value: 'Value'
483
- version: 'Version'
484
- visibility: 'Visibility'
485
- page_404: '404 Page'
486
- youtube: 'Youtube'
487
- more_actions: 'More actions'
488
- more_actions_info: 'More actions...'
489
- shorcodes: "Shortcodes"
490
- themes:
491
- footer_copyright: 'Footer Copyright'
492
- theme_select: 'Select Theme'
493
- title: 'Theme %{theme} Settings '
494
- analytics_code: 'Analytics Code'
495
- social_share: 'Social share'
496
-
497
- message:
498
- updated: 'Theme updated'
499
- users:
500
- all_users: 'All Users'
501
- add_user: 'Add User'
502
- add_user_role: 'Add User Role'
503
- avatar: 'Avatar'
504
- create_user: 'Create User'
505
- edit_profile: 'Edit Profile'
506
- list_users: 'List Users'
507
- list_user_roles: 'User Roles'
508
- message:
509
- error: 'Not found user.'
510
- error_captcha: 'Oh! Its error with CAPTCHA!'
511
- created: 'The user has been created.'
512
- updated: 'The user has been updated.'
513
- deleted: 'The user has been deleted.'
514
- incorrect_old_password: 'Incorrect old password'
515
- rol_error: 'Not found group user.'
516
- rol_created: 'The user role has been created.'
517
- rol_updated: 'The user role has been updated.'
518
- rol_deleted: 'The user role has been deleted.'
519
- requires_different_name: 'Requires different name'
520
- requires_different_username: 'Requires different username'
521
- requires_different_email: 'Requires different email'
522
- new_photo: 'New Photo'
523
- others_permissions: 'Others permissions'
524
- profile: 'Profile'
525
- slogan: 'Slogan'
526
- type_contents: 'Type of Contents'
527
- user_roles: 'User Roles'
528
- roles_values:
529
- comments: 'Comments'
530
- forms: 'Forms'
531
- media: 'Media'
532
- publish: 'Publish'
533
- themes: 'Themes'
534
- html_create_or_edit: 'Create<br>or Edit'
535
- html_edit_other: 'Edit <br> Other'
536
- html_edit_publish: 'Edit <br> Publish'
537
- html_delete_other: 'Delete <br> Other'
538
- html_delete_publish: 'Delete <br> Publish'
539
- html_read_private: 'Read <br> Private'
540
- html_manage_categories: 'Manage <br> Categories'
541
- html_manage_tags: 'Manage <br> Tags'
542
- tool_tip:
543
- comments: 'Allowing the comments section'
544
- delete: 'You need permission to Create or Edit to delete posts of your property. '
545
- forms: 'Allowing Forms section'
546
- media: 'Permission to the midsection'
547
- publish: 'You need permits Create or Edit, Edit Other, Edit, Publish, to enable this permission'
548
- themes: 'Themes permission to section'
549
- widgets: 'Widgets permission to section'
550
- menus: 'Permission to the Menu section'
551
- plugins: 'Permission to the Plugins section'
552
- users: 'Permission to create, edit, delete Users'
553
- settings: 'Permission to section Settings'
554
- create_or_edit: 'It lets you create and edit your posts (the post is not published)'
555
- edit_other: 'It allows you to edit the post of other users (the post is not published)'
556
- edit_publish: 'It allows you to edit the post published'
557
- delete_other: 'You need permission to remove edit other posts by other users'
558
- delete_publish: 'You need permits Delete, Delete Other, to enable this permission'
559
- read_private: 'Allows you to view private posts'
560
- manage_categories: 'Permission to create, edit and delete categories'
561
- manage_tags: 'Permission to create, edit and delete post tags'
562
- validate:
563
- required: 'This field is required.'
564
- remote: 'Please fix this field.'
565
- email: 'Please enter a valid email address.'
566
- url: 'Please enter a valid URL.'
567
- date: 'Please enter a valid date.'
568
- dateiso: 'Please enter a valid date ( ISO ).'
569
- number: 'Please enter a valid number.'
570
- digits: 'Please enter only digits.'
571
- creditcard: 'Please enter a valid credit card number.'
572
- equalto: 'Please enter the same value again.'
573
- maxlength: 'Please enter no more than {0} characters.'
574
- minlength: 'Please enter at least {0} characters.'
575
- rangelength: 'Please enter a value between {0} and {1} characters long.'
576
- range: 'Please enter a value between {0} and {1}.'
577
- max: 'Please enter a value less than or equal to {0}.'
578
- min: 'Please enter a value greater than or equal to {0}.'
579
- widgets:
580
- create_widget: 'Create Widget'
581
- create_sidebar: 'Create Sidebar'
582
- complex_widgets: 'Complex Widgets'
583
- simple_widgets: 'Simple Widgets'
584
- message:
585
- created: 'The widget has been created.'
586
- updated: 'The widget has been updated.'
587
- deleted: 'The widget has been delete.'
588
- error_created: 'Not Created Widget.'
589
- error_updated: 'Not Updated Widget.'
590
- not_registered_widgets: 'There are no registered widgets'
591
- assign:
592
- updated: "Widget assign updated"
593
- error_updated: "Widget assign not updated"
594
- sidebar:
595
- created: "Sidebar Create."
596
- updated: "Sidebar Update."
597
- error_created: "No created sidebar."
598
- error_updated: "No Update sidebar."
599
- error_deleted: "Sidebar deleted."
600
- intro:
601
- profile: "In this place you can see your profile options."
602
- content: "This block contains all content groups of your site. Each content can have different structure configured in settings => Content Groups"
603
- #dashboard: "In this section you can see "
604
- media: "This section manage your all your public media files"
605
- comments: "This section manage all the comments of your contents"
606
- appearance: "Manage all the information related to Public Interface"
607
- themes: "In this section you can choose your preferred theme (Public Interface)"
608
- widgets: "This module permit you to manage your widgets and paste the code in any content."
609
- menus: "<img style=\"max-width: 100%;\" src=\"%{image}\" /> This module permit you to control your menus for Public Interface in multiple levels."
610
- plugins: "In this section you can see all plugins (custom applications to extend your site functionality)."
611
- users: "Permit you to manage all users of the site. Also you can manage the roles for the users."
612
- settings: "In this section you can find all site configurations"
613
- gral_site: "This is a section where you can configure all settings of the site and current theme"
614
- sites: "This module permit you to manage your sub sites, i.e. you can create unlimited sites like this (This is visible only for main site). Check /config/system.json to customize settings."
615
- custom_fields: "This section permit you to extend easily your contents, themes,... by custom fields."
616
- post_type: "In this module you can manage your content groups without programing anything."
617
- languages: "This module permit you to manage all languages for your site. Also you can configure the language for your admin panel."
618
- shortcodes: "In this section you can see all available shortcodes to use in your contents."