browsercmsi 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1493) hide show
  1. data/LICENSE.txt +165 -0
  2. data/README.markdown +56 -0
  3. data/app/controllers/application_controller.rb +14 -0
  4. data/app/controllers/cms/application_controller.rb +68 -0
  5. data/app/controllers/cms/attachments_controller.rb +11 -0
  6. data/app/controllers/cms/base_controller.rb +21 -0
  7. data/app/controllers/cms/cache_controller.rb +22 -0
  8. data/app/controllers/cms/categories_controller.rb +5 -0
  9. data/app/controllers/cms/category_types_controller.rb +5 -0
  10. data/app/controllers/cms/connectors_controller.rb +63 -0
  11. data/app/controllers/cms/content_block_controller.rb +289 -0
  12. data/app/controllers/cms/content_controller.rb +176 -0
  13. data/app/controllers/cms/content_types_controller.rb +7 -0
  14. data/app/controllers/cms/dashboard_controller.rb +10 -0
  15. data/app/controllers/cms/dynamic_views_controller.rb +65 -0
  16. data/app/controllers/cms/email_messages_controller.rb +14 -0
  17. data/app/controllers/cms/error_handling.rb +25 -0
  18. data/app/controllers/cms/file_blocks_controller.rb +2 -0
  19. data/app/controllers/cms/groups_controller.rb +26 -0
  20. data/app/controllers/cms/home_controller.rb +5 -0
  21. data/app/controllers/cms/html_blocks_controller.rb +2 -0
  22. data/app/controllers/cms/image_blocks_controller.rb +2 -0
  23. data/app/controllers/cms/links_controller.rb +66 -0
  24. data/app/controllers/cms/locales_controller.rb +12 -0
  25. data/app/controllers/cms/page_route_conditions_controller.rb +2 -0
  26. data/app/controllers/cms/page_route_options_controller.rb +56 -0
  27. data/app/controllers/cms/page_route_requirements_controller.rb +2 -0
  28. data/app/controllers/cms/page_routes_controller.rb +45 -0
  29. data/app/controllers/cms/pages_controller.rb +137 -0
  30. data/app/controllers/cms/portlet_controller.rb +12 -0
  31. data/app/controllers/cms/portlets_controller.rb +40 -0
  32. data/app/controllers/cms/redirects_controller.rb +19 -0
  33. data/app/controllers/cms/resource_controller.rb +108 -0
  34. data/app/controllers/cms/routes_controller.rb +23 -0
  35. data/app/controllers/cms/section_nodes_controller.rb +40 -0
  36. data/app/controllers/cms/sections_controller.rb +130 -0
  37. data/app/controllers/cms/sessions_controller.rb +71 -0
  38. data/app/controllers/cms/tags_controller.rb +12 -0
  39. data/app/controllers/cms/tasks_controller.rb +52 -0
  40. data/app/controllers/cms/toolbar_controller.rb +12 -0
  41. data/app/controllers/cms/users_controller.rb +100 -0
  42. data/app/controllers/tests/pretend_controller.rb +32 -0
  43. data/app/helpers/application_helper.rb +5 -0
  44. data/app/helpers/cms/application_helper.rb +155 -0
  45. data/app/helpers/cms/form_builder.rb +178 -0
  46. data/app/helpers/cms/form_tag_helper.rb +32 -0
  47. data/app/helpers/cms/menu_helper.rb +169 -0
  48. data/app/helpers/cms/page_helper.rb +92 -0
  49. data/app/helpers/cms/path_helper.rb +48 -0
  50. data/app/helpers/cms/rendering_helper.rb +42 -0
  51. data/app/helpers/cms/section_nodes_helper.rb +13 -0
  52. data/app/helpers/cms/template_support.rb +21 -0
  53. data/app/models/abstract_file_block.rb +17 -0
  54. data/app/models/attachment.rb +193 -0
  55. data/app/models/category.rb +49 -0
  56. data/app/models/category_type.rb +42 -0
  57. data/app/models/connector.rb +80 -0
  58. data/app/models/content_type.rb +95 -0
  59. data/app/models/content_type_group.rb +3 -0
  60. data/app/models/dynamic_view.rb +80 -0
  61. data/app/models/email_message.rb +31 -0
  62. data/app/models/email_message_mailer.rb +11 -0
  63. data/app/models/file_block.rb +21 -0
  64. data/app/models/forgot_password_mailer.rb +12 -0
  65. data/app/models/group.rb +41 -0
  66. data/app/models/group_permission.rb +7 -0
  67. data/app/models/group_section.rb +4 -0
  68. data/app/models/group_type.rb +12 -0
  69. data/app/models/group_type_permission.rb +4 -0
  70. data/app/models/guest_user.rb +53 -0
  71. data/app/models/html_block.rb +40 -0
  72. data/app/models/image_block.rb +22 -0
  73. data/app/models/link.rb +35 -0
  74. data/app/models/page.rb +276 -0
  75. data/app/models/page_partial.rb +22 -0
  76. data/app/models/page_route.rb +58 -0
  77. data/app/models/page_route_condition.rb +2 -0
  78. data/app/models/page_route_option.rb +3 -0
  79. data/app/models/page_route_requirement.rb +2 -0
  80. data/app/models/page_template.rb +31 -0
  81. data/app/models/permission.rb +10 -0
  82. data/app/models/portlet.rb +167 -0
  83. data/app/models/redirect.rb +4 -0
  84. data/app/models/section.rb +155 -0
  85. data/app/models/section_node.rb +93 -0
  86. data/app/models/site.rb +41 -0
  87. data/app/models/tag.rb +62 -0
  88. data/app/models/tagging.rb +9 -0
  89. data/app/models/task.rb +76 -0
  90. data/app/models/templates.rb +31 -0
  91. data/app/models/user.rb +169 -0
  92. data/app/models/user_group_membership.rb +4 -0
  93. data/app/portlets/dynamic_portlet.rb +7 -0
  94. data/app/portlets/email_page_portlet.rb +24 -0
  95. data/app/portlets/forgot_password_portlet.rb +29 -0
  96. data/app/portlets/login_portlet.rb +10 -0
  97. data/app/portlets/reset_password_portlet.rb +28 -0
  98. data/app/portlets/tag_cloud_portlet.rb +13 -0
  99. data/app/views/cms/blocks/_hidden_fields.html.erb +10 -0
  100. data/app/views/cms/blocks/_toolbar.html.erb +9 -0
  101. data/app/views/cms/blocks/_toolbar_for_collection.html.erb +26 -0
  102. data/app/views/cms/blocks/_toolbar_for_member.html.erb +38 -0
  103. data/app/views/cms/blocks/edit.html.erb +30 -0
  104. data/app/views/cms/blocks/index.html.erb +128 -0
  105. data/app/views/cms/blocks/new.html.erb +21 -0
  106. data/app/views/cms/blocks/show.html.erb +43 -0
  107. data/app/views/cms/blocks/usages.html.erb +44 -0
  108. data/app/views/cms/blocks/versions.html.erb +90 -0
  109. data/app/views/cms/cache/show.html.erb +12 -0
  110. data/app/views/cms/categories/_form.html.erb +36 -0
  111. data/app/views/cms/category_types/_form.html.erb +1 -0
  112. data/app/views/cms/connectors/new.html.erb +71 -0
  113. data/app/views/cms/content/no_page.html.erb +37 -0
  114. data/app/views/cms/content/show.html.erb +21 -0
  115. data/app/views/cms/content_types/index.html.erb +14 -0
  116. data/app/views/cms/dashboard/_page_drafts.html.erb +49 -0
  117. data/app/views/cms/dashboard/_tasks.html.erb +54 -0
  118. data/app/views/cms/dashboard/index.html.erb +15 -0
  119. data/app/views/cms/dynamic_views/_form.html.erb +11 -0
  120. data/app/views/cms/dynamic_views/edit.html.erb +3 -0
  121. data/app/views/cms/dynamic_views/index.html.erb +53 -0
  122. data/app/views/cms/dynamic_views/new.html.erb +3 -0
  123. data/app/views/cms/email_messages/index.html.erb +39 -0
  124. data/app/views/cms/email_messages/show.html.erb +57 -0
  125. data/app/views/cms/file_blocks/_form.html.erb +30 -0
  126. data/app/views/cms/file_blocks/render.html.erb +5 -0
  127. data/app/views/cms/forgot_password_mailer/reset_password.text.html.erb +3 -0
  128. data/app/views/cms/forgot_password_mailer/reset_password.text.plain.erb +3 -0
  129. data/app/views/cms/form_builder/_cms_check_box.html.erb +7 -0
  130. data/app/views/cms/form_builder/_cms_date_picker.html.erb +12 -0
  131. data/app/views/cms/form_builder/_cms_datetime_select.html.erb +12 -0
  132. data/app/views/cms/form_builder/_cms_drop_down.html.erb +12 -0
  133. data/app/views/cms/form_builder/_cms_fancy_drop_down.html.erb +9 -0
  134. data/app/views/cms/form_builder/_cms_file_field.html.erb +36 -0
  135. data/app/views/cms/form_builder/_cms_instructions.html.erb +4 -0
  136. data/app/views/cms/form_builder/_cms_tag_list.html.erb +15 -0
  137. data/app/views/cms/form_builder/_cms_template_editor.html.erb +8 -0
  138. data/app/views/cms/form_builder/_cms_text_area.html.erb +13 -0
  139. data/app/views/cms/form_builder/_cms_text_editor.html.erb +18 -0
  140. data/app/views/cms/form_builder/_cms_text_field.html.erb +12 -0
  141. data/app/views/cms/groups/_form.html.erb +45 -0
  142. data/app/views/cms/groups/_permissions.html.erb +37 -0
  143. data/app/views/cms/groups/_sections.html.erb +19 -0
  144. data/app/views/cms/groups/edit.html.erb +4 -0
  145. data/app/views/cms/groups/index.html.erb +58 -0
  146. data/app/views/cms/groups/new.html.erb +4 -0
  147. data/app/views/cms/html_blocks/_form.html.erb +3 -0
  148. data/app/views/cms/html_blocks/render.html.erb +1 -0
  149. data/app/views/cms/image_blocks/_form.html.erb +30 -0
  150. data/app/views/cms/image_blocks/render.html.erb +1 -0
  151. data/app/views/cms/links/_form.html.erb +13 -0
  152. data/app/views/cms/links/destroy.js.rjs +2 -0
  153. data/app/views/cms/links/edit.html.erb +14 -0
  154. data/app/views/cms/links/new.html.erb +15 -0
  155. data/app/views/cms/menus/_menu.html.erb +9 -0
  156. data/app/views/cms/menus/_menu_item.html.erb +11 -0
  157. data/app/views/cms/page_routes/_form.html.erb +11 -0
  158. data/app/views/cms/page_routes/edit.html.erb +3 -0
  159. data/app/views/cms/page_routes/index.html.erb +56 -0
  160. data/app/views/cms/page_routes/new.html.erb +3 -0
  161. data/app/views/cms/page_routes/show.html.erb +14 -0
  162. data/app/views/cms/pages/_edit_connector.html.erb +27 -0
  163. data/app/views/cms/pages/_edit_container.html.erb +11 -0
  164. data/app/views/cms/pages/_form.html.erb +46 -0
  165. data/app/views/cms/pages/edit.html.erb +23 -0
  166. data/app/views/cms/pages/new.html.erb +33 -0
  167. data/app/views/cms/pages/versions.html.erb +91 -0
  168. data/app/views/cms/redirects/_form.html.erb +15 -0
  169. data/app/views/cms/redirects/edit.html.erb +3 -0
  170. data/app/views/cms/redirects/index.html.erb +50 -0
  171. data/app/views/cms/redirects/new.html.erb +3 -0
  172. data/app/views/cms/routes/index.html.erb +40 -0
  173. data/app/views/cms/section_nodes/_link.html.erb +11 -0
  174. data/app/views/cms/section_nodes/_node.html.erb +34 -0
  175. data/app/views/cms/section_nodes/_page.html.erb +14 -0
  176. data/app/views/cms/section_nodes/_section.html.erb +12 -0
  177. data/app/views/cms/section_nodes/_section_node.html.erb +10 -0
  178. data/app/views/cms/section_nodes/index.html.erb +31 -0
  179. data/app/views/cms/sections/_form.html.erb +59 -0
  180. data/app/views/cms/sections/_page.html.erb +4 -0
  181. data/app/views/cms/sections/_section.html.erb +8 -0
  182. data/app/views/cms/sections/destroy.js.rjs +2 -0
  183. data/app/views/cms/sections/edit.html.erb +10 -0
  184. data/app/views/cms/sections/file_browser.xml.builder +14 -0
  185. data/app/views/cms/sections/index.html.erb +23 -0
  186. data/app/views/cms/sections/new.html.erb +21 -0
  187. data/app/views/cms/sessions/new.html.erb +32 -0
  188. data/app/views/cms/shared/_admin_sidebar.html.erb +30 -0
  189. data/app/views/cms/shared/_exception.html.erb +6 -0
  190. data/app/views/cms/shared/_pagination.html.erb +31 -0
  191. data/app/views/cms/shared/_version_conflict_diff.html.erb +11 -0
  192. data/app/views/cms/shared/_version_conflict_error.html.erb +8 -0
  193. data/app/views/cms/shared/access_denied.html.erb +3 -0
  194. data/app/views/cms/shared/error.html.erb +40 -0
  195. data/app/views/cms/tags/_form.html.erb +1 -0
  196. data/app/views/cms/tags/render.html.erb +53 -0
  197. data/app/views/cms/tasks/new.html.erb +36 -0
  198. data/app/views/cms/toolbar/index.html.erb +1 -0
  199. data/app/views/cms/users/_form.html.erb +12 -0
  200. data/app/views/cms/users/_groups.html.erb +12 -0
  201. data/app/views/cms/users/_password.html.erb +8 -0
  202. data/app/views/cms/users/_toolbar.html.erb +22 -0
  203. data/app/views/cms/users/_user_fields.html.erb +20 -0
  204. data/app/views/cms/users/change_password.html.erb +21 -0
  205. data/app/views/cms/users/edit.html.erb +16 -0
  206. data/app/views/cms/users/index.html.erb +62 -0
  207. data/app/views/cms/users/new.html.erb +13 -0
  208. data/app/views/cms/users/show.html.erb +50 -0
  209. data/app/views/layouts/_cms_toolbar.html.erb +59 -0
  210. data/app/views/layouts/_page_toolbar.html.erb +118 -0
  211. data/app/views/layouts/application.html.erb +11 -0
  212. data/app/views/layouts/cms/_footer.erb +4 -0
  213. data/app/views/layouts/cms/_head.html.erb +22 -0
  214. data/app/views/layouts/cms/administration.html.erb +51 -0
  215. data/app/views/layouts/cms/application.html.erb +25 -0
  216. data/app/views/layouts/cms/content_library.html.erb +94 -0
  217. data/app/views/layouts/cms/dashboard.html.erb +16 -0
  218. data/app/views/layouts/cms/login.html.erb +30 -0
  219. data/app/views/layouts/cms/section_nodes.html.erb +20 -0
  220. data/app/views/layouts/cms/thickbox.html.erb +24 -0
  221. data/app/views/layouts/cms/toolbar.html.erb +23 -0
  222. data/app/views/portlets/dynamic/_form.html.erb +3 -0
  223. data/app/views/portlets/email_page/_form.html.erb +7 -0
  224. data/app/views/portlets/email_page/render.html.erb +17 -0
  225. data/app/views/portlets/forgot_password/_form.html.erb +7 -0
  226. data/app/views/portlets/forgot_password/render.html.erb +14 -0
  227. data/app/views/portlets/login/_form.html.erb +7 -0
  228. data/app/views/portlets/login/render.html.erb +27 -0
  229. data/app/views/portlets/portlets/_form.html.erb +19 -0
  230. data/app/views/portlets/reset_password/_form.html.erb +5 -0
  231. data/app/views/portlets/reset_password/render.html.erb +24 -0
  232. data/app/views/portlets/tag_cloud/_form.html.erb +4 -0
  233. data/app/views/portlets/tag_cloud/render.html.erb +5 -0
  234. data/app/views/tests/pretend/open_with_layout.html.erb +5 -0
  235. data/bin/bcmsi +6 -0
  236. data/bin/browsercmsi +76 -0
  237. data/browsercmsi.gemspec +1526 -0
  238. data/config/locales/bcms/en/behaviors.yml +22 -0
  239. data/config/locales/bcms/en/bootstrap.yml +30 -0
  240. data/config/locales/bcms/en/controllers.yml +76 -0
  241. data/config/locales/bcms/en/helpers.yml +13 -0
  242. data/config/locales/bcms/en/js.yml +7 -0
  243. data/config/locales/bcms/en/models.yml +146 -0
  244. data/config/locales/bcms/en/portlets.yml +10 -0
  245. data/config/locales/bcms/en/views/cms/blocks.yml +68 -0
  246. data/config/locales/bcms/en/views/cms/cache.yml +7 -0
  247. data/config/locales/bcms/en/views/cms/categories.yml +10 -0
  248. data/config/locales/bcms/en/views/cms/connectors.yml +10 -0
  249. data/config/locales/bcms/en/views/cms/content.yml +5 -0
  250. data/config/locales/bcms/en/views/cms/content_types.yml +4 -0
  251. data/config/locales/bcms/en/views/cms/dashboard.yml +18 -0
  252. data/config/locales/bcms/en/views/cms/dynamic_views.yml +18 -0
  253. data/config/locales/bcms/en/views/cms/email_messages.yml +18 -0
  254. data/config/locales/bcms/en/views/cms/forgot_password_mailer.yml +10 -0
  255. data/config/locales/bcms/en/views/cms/form_builder.yml +6 -0
  256. data/config/locales/bcms/en/views/cms/groups.yml +34 -0
  257. data/config/locales/bcms/en/views/cms/links.yml +14 -0
  258. data/config/locales/bcms/en/views/cms/page_routes.yml +28 -0
  259. data/config/locales/bcms/en/views/cms/pages.yml +39 -0
  260. data/config/locales/bcms/en/views/cms/redirects.yml +19 -0
  261. data/config/locales/bcms/en/views/cms/routes.yml +10 -0
  262. data/config/locales/bcms/en/views/cms/section_nodes.yml +15 -0
  263. data/config/locales/bcms/en/views/cms/sections.yml +23 -0
  264. data/config/locales/bcms/en/views/cms/sessions.yml +7 -0
  265. data/config/locales/bcms/en/views/cms/shared.yml +39 -0
  266. data/config/locales/bcms/en/views/cms/tags.yml +5 -0
  267. data/config/locales/bcms/en/views/cms/tasks.yml +8 -0
  268. data/config/locales/bcms/en/views/cms/users.yml +48 -0
  269. data/config/locales/bcms/en/views/layouts/cms/content_library.yml +8 -0
  270. data/config/locales/bcms/en/views/layouts/cms/footer.yml +5 -0
  271. data/config/locales/bcms/en/views/layouts/cms_toolbar.yml +4 -0
  272. data/config/locales/bcms/en/views/layouts/page_toolbar.yml +23 -0
  273. data/config/locales/bcms/en/views/portlets.yml +57 -0
  274. data/config/locales/bcms/es/behaviors.yml +22 -0
  275. data/config/locales/bcms/es/bootstrap.yml +29 -0
  276. data/config/locales/bcms/es/controllers.yml +77 -0
  277. data/config/locales/bcms/es/helpers.yml +12 -0
  278. data/config/locales/bcms/es/js.yml +7 -0
  279. data/config/locales/bcms/es/models.yml +146 -0
  280. data/config/locales/bcms/es/portlets.yml +10 -0
  281. data/config/locales/bcms/es/views/cms/blocks.yml +68 -0
  282. data/config/locales/bcms/es/views/cms/cache.yml +9 -0
  283. data/config/locales/bcms/es/views/cms/categories.yml +11 -0
  284. data/config/locales/bcms/es/views/cms/connectors.yml +10 -0
  285. data/config/locales/bcms/es/views/cms/content.yml +5 -0
  286. data/config/locales/bcms/es/views/cms/content_types.yml +6 -0
  287. data/config/locales/bcms/es/views/cms/dashboard.yml +18 -0
  288. data/config/locales/bcms/es/views/cms/dynamic_views.yml +19 -0
  289. data/config/locales/bcms/es/views/cms/email_messages.yml +18 -0
  290. data/config/locales/bcms/es/views/cms/forgot_password_mailer.yml +11 -0
  291. data/config/locales/bcms/es/views/cms/form_builder.yml +6 -0
  292. data/config/locales/bcms/es/views/cms/groups.yml +36 -0
  293. data/config/locales/bcms/es/views/cms/links.yml +14 -0
  294. data/config/locales/bcms/es/views/cms/page_routes.yml +30 -0
  295. data/config/locales/bcms/es/views/cms/pages.yml +39 -0
  296. data/config/locales/bcms/es/views/cms/redirects.yml +19 -0
  297. data/config/locales/bcms/es/views/cms/routes.yml +9 -0
  298. data/config/locales/bcms/es/views/cms/section_nodes.yml +15 -0
  299. data/config/locales/bcms/es/views/cms/sections.yml +25 -0
  300. data/config/locales/bcms/es/views/cms/sessions.yml +7 -0
  301. data/config/locales/bcms/es/views/cms/shared.yml +41 -0
  302. data/config/locales/bcms/es/views/cms/tags.yml +7 -0
  303. data/config/locales/bcms/es/views/cms/tasks.yml +8 -0
  304. data/config/locales/bcms/es/views/cms/users.yml +47 -0
  305. data/config/locales/bcms/es/views/layouts/cms/content_library.yml +8 -0
  306. data/config/locales/bcms/es/views/layouts/cms/footer.yml +5 -0
  307. data/config/locales/bcms/es/views/layouts/cms_toolbar.yml +4 -0
  308. data/config/locales/bcms/es/views/layouts/page_toolbar.yml +23 -0
  309. data/config/locales/bcms/es/views/portlets.yml +57 -0
  310. data/db/demo/data.rb +97 -0
  311. data/db/demo/page_partials/_footer.html.erb +6 -0
  312. data/db/demo/page_partials/_header.html.erb +24 -0
  313. data/db/demo/page_templates/home_page.html.erb +49 -0
  314. data/db/demo/page_templates/sub_page.html.erb +37 -0
  315. data/db/migrate/20080815014337_browsercms_3_0_0.rb +274 -0
  316. data/db/migrate/20081114172307_load_seed_data.rb +63 -0
  317. data/db/migrate/20091109175123_browsercms_3_0_5.rb +9 -0
  318. data/doc/app/classes/AbstractFileBlock.html +172 -0
  319. data/doc/app/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html +293 -0
  320. data/doc/app/classes/ActiveRecord.html +105 -0
  321. data/doc/app/classes/ActiveSupport/Cache/FileStore.html +146 -0
  322. data/doc/app/classes/ActiveSupport/Cache.html +111 -0
  323. data/doc/app/classes/ActiveSupport.html +111 -0
  324. data/doc/app/classes/ActsAsList/ClassMethods.html +202 -0
  325. data/doc/app/classes/ActsAsList/InstanceMethods.html +534 -0
  326. data/doc/app/classes/ActsAsList.html +147 -0
  327. data/doc/app/classes/ApplicationController.html +119 -0
  328. data/doc/app/classes/ApplicationHelper.html +116 -0
  329. data/doc/app/classes/Attachment.html +726 -0
  330. data/doc/app/classes/Category.html +230 -0
  331. data/doc/app/classes/CategoryType.html +214 -0
  332. data/doc/app/classes/Cms/Acts/ContentBlock/MacroMethods/InstanceMethods.html +140 -0
  333. data/doc/app/classes/Cms/Acts/ContentBlock/MacroMethods.html +165 -0
  334. data/doc/app/classes/Cms/Acts/ContentBlock.html +146 -0
  335. data/doc/app/classes/Cms/Acts/ContentPage/ClassMethods.html +188 -0
  336. data/doc/app/classes/Cms/Acts/ContentPage.html +187 -0
  337. data/doc/app/classes/Cms/Acts.html +116 -0
  338. data/doc/app/classes/Cms/ApplicationController.html +369 -0
  339. data/doc/app/classes/Cms/ApplicationHelper.html +698 -0
  340. data/doc/app/classes/Cms/AttachmentsController.html +154 -0
  341. data/doc/app/classes/Cms/Authentication/Controller.html +700 -0
  342. data/doc/app/classes/Cms/Authentication/Model/ClassMethods.html +246 -0
  343. data/doc/app/classes/Cms/Authentication/Model/InstanceMethods.html +412 -0
  344. data/doc/app/classes/Cms/Authentication/Model.html +165 -0
  345. data/doc/app/classes/Cms/Authentication.html +116 -0
  346. data/doc/app/classes/Cms/BaseController.html +113 -0
  347. data/doc/app/classes/Cms/Behaviors/Archiving/InstanceMethods.html +220 -0
  348. data/doc/app/classes/Cms/Behaviors/Archiving/MacroMethods.html +175 -0
  349. data/doc/app/classes/Cms/Behaviors/Archiving.html +147 -0
  350. data/doc/app/classes/Cms/Behaviors/Attaching/InstanceMethods.html +670 -0
  351. data/doc/app/classes/Cms/Behaviors/Attaching/MacroMethods.html +188 -0
  352. data/doc/app/classes/Cms/Behaviors/Attaching.html +160 -0
  353. data/doc/app/classes/Cms/Behaviors/Categorizing/ClassMethods.html +105 -0
  354. data/doc/app/classes/Cms/Behaviors/Categorizing/InstanceMethods.html +140 -0
  355. data/doc/app/classes/Cms/Behaviors/Categorizing/MacroMethods.html +178 -0
  356. data/doc/app/classes/Cms/Behaviors/Categorizing.html +148 -0
  357. data/doc/app/classes/Cms/Behaviors/ClassMethods.html +272 -0
  358. data/doc/app/classes/Cms/Behaviors/Connecting/ClassMethods.html +188 -0
  359. data/doc/app/classes/Cms/Behaviors/Connecting/InstanceMethods.html +312 -0
  360. data/doc/app/classes/Cms/Behaviors/Connecting/MacroMethods.html +184 -0
  361. data/doc/app/classes/Cms/Behaviors/Connecting.html +148 -0
  362. data/doc/app/classes/Cms/Behaviors/DynamicAttributes/InstanceMethods.html +181 -0
  363. data/doc/app/classes/Cms/Behaviors/DynamicAttributes/MacroMethods.html +243 -0
  364. data/doc/app/classes/Cms/Behaviors/DynamicAttributes.html +285 -0
  365. data/doc/app/classes/Cms/Behaviors/FlushCacheOnChange/InstanceMethods.html +142 -0
  366. data/doc/app/classes/Cms/Behaviors/FlushCacheOnChange/MacroMethods.html +175 -0
  367. data/doc/app/classes/Cms/Behaviors/FlushCacheOnChange.html +178 -0
  368. data/doc/app/classes/Cms/Behaviors/Hiding/ClassMethods.html +105 -0
  369. data/doc/app/classes/Cms/Behaviors/Hiding/InstanceMethods.html +220 -0
  370. data/doc/app/classes/Cms/Behaviors/Hiding/MacroMethods.html +176 -0
  371. data/doc/app/classes/Cms/Behaviors/Hiding.html +148 -0
  372. data/doc/app/classes/Cms/Behaviors/InstanceMethods.html +287 -0
  373. data/doc/app/classes/Cms/Behaviors/Pagination/ClassMethods.html +252 -0
  374. data/doc/app/classes/Cms/Behaviors/Pagination/Collection.html +437 -0
  375. data/doc/app/classes/Cms/Behaviors/Pagination/InvalidPage.html +146 -0
  376. data/doc/app/classes/Cms/Behaviors/Pagination.html +151 -0
  377. data/doc/app/classes/Cms/Behaviors/Publishing/ClassMethods.html +105 -0
  378. data/doc/app/classes/Cms/Behaviors/Publishing/InstanceMethods.html +333 -0
  379. data/doc/app/classes/Cms/Behaviors/Publishing/MacroMethods.html +191 -0
  380. data/doc/app/classes/Cms/Behaviors/Publishing.html +179 -0
  381. data/doc/app/classes/Cms/Behaviors/Rendering/MacroMethods.html +186 -0
  382. data/doc/app/classes/Cms/Behaviors/Rendering.html +176 -0
  383. data/doc/app/classes/Cms/Behaviors/Searching/ClassMethods.html +164 -0
  384. data/doc/app/classes/Cms/Behaviors/Searching/MacroMethods.html +188 -0
  385. data/doc/app/classes/Cms/Behaviors/Searching.html +147 -0
  386. data/doc/app/classes/Cms/Behaviors/SoftDeleting/ClassMethods.html +217 -0
  387. data/doc/app/classes/Cms/Behaviors/SoftDeleting/InstanceMethods.html +247 -0
  388. data/doc/app/classes/Cms/Behaviors/SoftDeleting/MacroMethods.html +205 -0
  389. data/doc/app/classes/Cms/Behaviors/SoftDeleting.html +148 -0
  390. data/doc/app/classes/Cms/Behaviors/Taggable/ClassMethods.html +164 -0
  391. data/doc/app/classes/Cms/Behaviors/Taggable/InstanceMethods.html +198 -0
  392. data/doc/app/classes/Cms/Behaviors/Taggable/MacroMethods.html +182 -0
  393. data/doc/app/classes/Cms/Behaviors/Taggable.html +148 -0
  394. data/doc/app/classes/Cms/Behaviors/Userstamping/ClassMethods.html +105 -0
  395. data/doc/app/classes/Cms/Behaviors/Userstamping/InstanceMethods.html +143 -0
  396. data/doc/app/classes/Cms/Behaviors/Userstamping/MacroMethods.html +181 -0
  397. data/doc/app/classes/Cms/Behaviors/Userstamping.html +148 -0
  398. data/doc/app/classes/Cms/Behaviors/Versioning/ClassMethods.html +237 -0
  399. data/doc/app/classes/Cms/Behaviors/Versioning/InstanceMethods.html +713 -0
  400. data/doc/app/classes/Cms/Behaviors/Versioning/MacroMethods.html +290 -0
  401. data/doc/app/classes/Cms/Behaviors/Versioning.html +148 -0
  402. data/doc/app/classes/Cms/Behaviors.html +235 -0
  403. data/doc/app/classes/Cms/CacheController.html +174 -0
  404. data/doc/app/classes/Cms/Caching.html +171 -0
  405. data/doc/app/classes/Cms/CategoriesController.html +148 -0
  406. data/doc/app/classes/Cms/CategoryTypesController.html +148 -0
  407. data/doc/app/classes/Cms/ConnectorsController.html +215 -0
  408. data/doc/app/classes/Cms/ContentBlockController.html +1221 -0
  409. data/doc/app/classes/Cms/ContentController.html +240 -0
  410. data/doc/app/classes/Cms/ContentRenderingSupport.html +222 -0
  411. data/doc/app/classes/Cms/ContentTypesController.html +148 -0
  412. data/doc/app/classes/Cms/DashboardController.html +152 -0
  413. data/doc/app/classes/Cms/DataLoader.html +182 -0
  414. data/doc/app/classes/Cms/DomainSupport.html +166 -0
  415. data/doc/app/classes/Cms/DynamicViewsController.html +359 -0
  416. data/doc/app/classes/Cms/EmailMessagesController.html +172 -0
  417. data/doc/app/classes/Cms/ErrorHandling.html +199 -0
  418. data/doc/app/classes/Cms/Errors/AccessDenied.html +146 -0
  419. data/doc/app/classes/Cms/Errors.html +111 -0
  420. data/doc/app/classes/Cms/Extensions/ActionView/Base.html +141 -0
  421. data/doc/app/classes/Cms/Extensions/ActionView.html +111 -0
  422. data/doc/app/classes/Cms/Extensions/ActiveRecord/Base.html +144 -0
  423. data/doc/app/classes/Cms/Extensions/ActiveRecord/Errors.html +140 -0
  424. data/doc/app/classes/Cms/Extensions/ActiveRecord.html +116 -0
  425. data/doc/app/classes/Cms/Extensions/Hash.html +175 -0
  426. data/doc/app/classes/Cms/Extensions/Integer.html +146 -0
  427. data/doc/app/classes/Cms/Extensions/NilClass.html +212 -0
  428. data/doc/app/classes/Cms/Extensions/String.html +212 -0
  429. data/doc/app/classes/Cms/Extensions.html +140 -0
  430. data/doc/app/classes/Cms/FileBlocksController.html +113 -0
  431. data/doc/app/classes/Cms/FormBuilder.html +480 -0
  432. data/doc/app/classes/Cms/FormTagHelper.html +245 -0
  433. data/doc/app/classes/Cms/GroupsController.html +225 -0
  434. data/doc/app/classes/Cms/HomeController.html +148 -0
  435. data/doc/app/classes/Cms/HtmlBlocksController.html +113 -0
  436. data/doc/app/classes/Cms/ImageBlocksController.html +113 -0
  437. data/doc/app/classes/Cms/LinksController.html +343 -0
  438. data/doc/app/classes/Cms/MenuHelper.html +375 -0
  439. data/doc/app/classes/Cms/PageHelper.html +379 -0
  440. data/doc/app/classes/Cms/PageRouteConditionsController.html +113 -0
  441. data/doc/app/classes/Cms/PageRouteOptionsController.html +355 -0
  442. data/doc/app/classes/Cms/PageRouteRequirementsController.html +113 -0
  443. data/doc/app/classes/Cms/PageRoutesController.html +284 -0
  444. data/doc/app/classes/Cms/PagesController.html +333 -0
  445. data/doc/app/classes/Cms/PathHelper.html +268 -0
  446. data/doc/app/classes/Cms/PortletController.html +150 -0
  447. data/doc/app/classes/Cms/PortletsController.html +301 -0
  448. data/doc/app/classes/Cms/RedirectsController.html +172 -0
  449. data/doc/app/classes/Cms/RenderingHelper.html +214 -0
  450. data/doc/app/classes/Cms/ResourceController.html +616 -0
  451. data/doc/app/classes/Cms/Routes.html +311 -0
  452. data/doc/app/classes/Cms/RoutesController.html +164 -0
  453. data/doc/app/classes/Cms/SectionNodesController.html +272 -0
  454. data/doc/app/classes/Cms/SectionNodesHelper.html +145 -0
  455. data/doc/app/classes/Cms/SectionsController.html +566 -0
  456. data/doc/app/classes/Cms/SessionsController.html +299 -0
  457. data/doc/app/classes/Cms/TagsController.html +176 -0
  458. data/doc/app/classes/Cms/TasksController.html +221 -0
  459. data/doc/app/classes/Cms/TemplateSupport.html +185 -0
  460. data/doc/app/classes/Cms/ToolbarController.html +153 -0
  461. data/doc/app/classes/Cms/UsersController.html +381 -0
  462. data/doc/app/classes/Cms.html +771 -0
  463. data/doc/app/classes/CommandLine.html +226 -0
  464. data/doc/app/classes/Connector.html +354 -0
  465. data/doc/app/classes/ContentType.html +448 -0
  466. data/doc/app/classes/ContentTypeGroup.html +111 -0
  467. data/doc/app/classes/DynamicPortlet.html +148 -0
  468. data/doc/app/classes/DynamicView.html +408 -0
  469. data/doc/app/classes/EmailMessage.html +228 -0
  470. data/doc/app/classes/EmailMessageMailer.html +150 -0
  471. data/doc/app/classes/EmailPagePortlet.html +184 -0
  472. data/doc/app/classes/FileBlock.html +202 -0
  473. data/doc/app/classes/ForgotPasswordMailer.html +151 -0
  474. data/doc/app/classes/ForgotPasswordPortlet.html +162 -0
  475. data/doc/app/classes/Group.html +222 -0
  476. data/doc/app/classes/GroupPermission.html +111 -0
  477. data/doc/app/classes/GroupSection.html +111 -0
  478. data/doc/app/classes/GroupType.html +111 -0
  479. data/doc/app/classes/GroupTypePermission.html +111 -0
  480. data/doc/app/classes/GuestUser.html +392 -0
  481. data/doc/app/classes/HtmlBlock.html +170 -0
  482. data/doc/app/classes/ImageBlock.html +202 -0
  483. data/doc/app/classes/InitialData.html +171 -0
  484. data/doc/app/classes/Link.html +249 -0
  485. data/doc/app/classes/LoginPortlet.html +151 -0
  486. data/doc/app/classes/Page.html +954 -0
  487. data/doc/app/classes/PagePartial.html +201 -0
  488. data/doc/app/classes/PageRoute.html +335 -0
  489. data/doc/app/classes/PageRouteCondition.html +113 -0
  490. data/doc/app/classes/PageRouteOption.html +111 -0
  491. data/doc/app/classes/PageRouteRequirement.html +113 -0
  492. data/doc/app/classes/PageTemplate.html +260 -0
  493. data/doc/app/classes/Permission.html +111 -0
  494. data/doc/app/classes/Portlet.html +810 -0
  495. data/doc/app/classes/Redirect.html +111 -0
  496. data/doc/app/classes/ResetPasswordPortlet.html +169 -0
  497. data/doc/app/classes/Section.html +637 -0
  498. data/doc/app/classes/SectionNode.html +410 -0
  499. data/doc/app/classes/Sequence.html +146 -0
  500. data/doc/app/classes/Site.html +253 -0
  501. data/doc/app/classes/Tag.html +292 -0
  502. data/doc/app/classes/TagCloudPortlet.html +176 -0
  503. data/doc/app/classes/Tagging.html +146 -0
  504. data/doc/app/classes/Task.html +288 -0
  505. data/doc/app/classes/Templates.html +151 -0
  506. data/doc/app/classes/Tests/PretendController.html +275 -0
  507. data/doc/app/classes/Tests.html +107 -0
  508. data/doc/app/classes/User.html +757 -0
  509. data/doc/app/classes/UserGroupMembership.html +111 -0
  510. data/doc/app/created.rid +1 -0
  511. data/doc/app/files/app/controllers/application_controller_rb.html +109 -0
  512. data/doc/app/files/app/controllers/cms/application_controller_rb.html +101 -0
  513. data/doc/app/files/app/controllers/cms/attachments_controller_rb.html +101 -0
  514. data/doc/app/files/app/controllers/cms/base_controller_rb.html +101 -0
  515. data/doc/app/files/app/controllers/cms/cache_controller_rb.html +101 -0
  516. data/doc/app/files/app/controllers/cms/categories_controller_rb.html +101 -0
  517. data/doc/app/files/app/controllers/cms/category_types_controller_rb.html +101 -0
  518. data/doc/app/files/app/controllers/cms/connectors_controller_rb.html +101 -0
  519. data/doc/app/files/app/controllers/cms/content_block_controller_rb.html +107 -0
  520. data/doc/app/files/app/controllers/cms/content_controller_rb.html +101 -0
  521. data/doc/app/files/app/controllers/cms/content_types_controller_rb.html +101 -0
  522. data/doc/app/files/app/controllers/cms/dashboard_controller_rb.html +101 -0
  523. data/doc/app/files/app/controllers/cms/dynamic_views_controller_rb.html +101 -0
  524. data/doc/app/files/app/controllers/cms/email_messages_controller_rb.html +101 -0
  525. data/doc/app/files/app/controllers/cms/error_handling_rb.html +101 -0
  526. data/doc/app/files/app/controllers/cms/file_blocks_controller_rb.html +101 -0
  527. data/doc/app/files/app/controllers/cms/groups_controller_rb.html +101 -0
  528. data/doc/app/files/app/controllers/cms/home_controller_rb.html +101 -0
  529. data/doc/app/files/app/controllers/cms/html_blocks_controller_rb.html +101 -0
  530. data/doc/app/files/app/controllers/cms/image_blocks_controller_rb.html +101 -0
  531. data/doc/app/files/app/controllers/cms/links_controller_rb.html +101 -0
  532. data/doc/app/files/app/controllers/cms/page_route_conditions_controller_rb.html +101 -0
  533. data/doc/app/files/app/controllers/cms/page_route_options_controller_rb.html +101 -0
  534. data/doc/app/files/app/controllers/cms/page_route_requirements_controller_rb.html +101 -0
  535. data/doc/app/files/app/controllers/cms/page_routes_controller_rb.html +101 -0
  536. data/doc/app/files/app/controllers/cms/pages_controller_rb.html +101 -0
  537. data/doc/app/files/app/controllers/cms/portlet_controller_rb.html +101 -0
  538. data/doc/app/files/app/controllers/cms/portlets_controller_rb.html +101 -0
  539. data/doc/app/files/app/controllers/cms/redirects_controller_rb.html +101 -0
  540. data/doc/app/files/app/controllers/cms/resource_controller_rb.html +108 -0
  541. data/doc/app/files/app/controllers/cms/routes_controller_rb.html +101 -0
  542. data/doc/app/files/app/controllers/cms/section_nodes_controller_rb.html +101 -0
  543. data/doc/app/files/app/controllers/cms/sections_controller_rb.html +101 -0
  544. data/doc/app/files/app/controllers/cms/sessions_controller_rb.html +107 -0
  545. data/doc/app/files/app/controllers/cms/tags_controller_rb.html +101 -0
  546. data/doc/app/files/app/controllers/cms/tasks_controller_rb.html +101 -0
  547. data/doc/app/files/app/controllers/cms/toolbar_controller_rb.html +101 -0
  548. data/doc/app/files/app/controllers/cms/users_controller_rb.html +101 -0
  549. data/doc/app/files/app/controllers/tests/pretend_controller_rb.html +112 -0
  550. data/doc/app/files/app/helpers/application_helper_rb.html +112 -0
  551. data/doc/app/files/app/helpers/cms/application_helper_rb.html +107 -0
  552. data/doc/app/files/app/helpers/cms/form_builder_rb.html +108 -0
  553. data/doc/app/files/app/helpers/cms/form_tag_helper_rb.html +101 -0
  554. data/doc/app/files/app/helpers/cms/menu_helper_rb.html +101 -0
  555. data/doc/app/files/app/helpers/cms/page_helper_rb.html +101 -0
  556. data/doc/app/files/app/helpers/cms/path_helper_rb.html +101 -0
  557. data/doc/app/files/app/helpers/cms/rendering_helper_rb.html +111 -0
  558. data/doc/app/files/app/helpers/cms/section_nodes_helper_rb.html +101 -0
  559. data/doc/app/files/app/helpers/cms/template_support_rb.html +108 -0
  560. data/doc/app/files/app/models/abstract_file_block_rb.html +101 -0
  561. data/doc/app/files/app/models/attachment_rb.html +109 -0
  562. data/doc/app/files/app/models/category_rb.html +101 -0
  563. data/doc/app/files/app/models/category_type_rb.html +101 -0
  564. data/doc/app/files/app/models/connector_rb.html +101 -0
  565. data/doc/app/files/app/models/content_type_group_rb.html +101 -0
  566. data/doc/app/files/app/models/content_type_rb.html +101 -0
  567. data/doc/app/files/app/models/dynamic_view_rb.html +101 -0
  568. data/doc/app/files/app/models/email_message_mailer_rb.html +101 -0
  569. data/doc/app/files/app/models/email_message_rb.html +101 -0
  570. data/doc/app/files/app/models/file_block_rb.html +101 -0
  571. data/doc/app/files/app/models/forgot_password_mailer_rb.html +101 -0
  572. data/doc/app/files/app/models/group_permission_rb.html +101 -0
  573. data/doc/app/files/app/models/group_rb.html +110 -0
  574. data/doc/app/files/app/models/group_section_rb.html +101 -0
  575. data/doc/app/files/app/models/group_type_permission_rb.html +101 -0
  576. data/doc/app/files/app/models/group_type_rb.html +101 -0
  577. data/doc/app/files/app/models/guest_user_rb.html +114 -0
  578. data/doc/app/files/app/models/html_block_rb.html +101 -0
  579. data/doc/app/files/app/models/image_block_rb.html +101 -0
  580. data/doc/app/files/app/models/link_rb.html +101 -0
  581. data/doc/app/files/app/models/page_partial_rb.html +101 -0
  582. data/doc/app/files/app/models/page_rb.html +101 -0
  583. data/doc/app/files/app/models/page_route_condition_rb.html +101 -0
  584. data/doc/app/files/app/models/page_route_option_rb.html +101 -0
  585. data/doc/app/files/app/models/page_route_rb.html +101 -0
  586. data/doc/app/files/app/models/page_route_requirement_rb.html +101 -0
  587. data/doc/app/files/app/models/page_template_rb.html +101 -0
  588. data/doc/app/files/app/models/permission_rb.html +101 -0
  589. data/doc/app/files/app/models/portlet_rb.html +101 -0
  590. data/doc/app/files/app/models/redirect_rb.html +101 -0
  591. data/doc/app/files/app/models/section_node_rb.html +101 -0
  592. data/doc/app/files/app/models/section_rb.html +101 -0
  593. data/doc/app/files/app/models/site_rb.html +101 -0
  594. data/doc/app/files/app/models/tag_rb.html +101 -0
  595. data/doc/app/files/app/models/tagging_rb.html +101 -0
  596. data/doc/app/files/app/models/task_rb.html +101 -0
  597. data/doc/app/files/app/models/templates_rb.html +108 -0
  598. data/doc/app/files/app/models/user_group_membership_rb.html +101 -0
  599. data/doc/app/files/app/models/user_rb.html +108 -0
  600. data/doc/app/files/app/portlets/dynamic_portlet_rb.html +101 -0
  601. data/doc/app/files/app/portlets/email_page_portlet_rb.html +101 -0
  602. data/doc/app/files/app/portlets/forgot_password_portlet_rb.html +108 -0
  603. data/doc/app/files/app/portlets/login_portlet_rb.html +101 -0
  604. data/doc/app/files/app/portlets/reset_password_portlet_rb.html +101 -0
  605. data/doc/app/files/app/portlets/tag_cloud_portlet_rb.html +101 -0
  606. data/doc/app/files/doc/README_FOR_APP.html +128 -0
  607. data/doc/app/files/lib/acts_as_list_rb.html +101 -0
  608. data/doc/app/files/lib/browsercms_rb.html +113 -0
  609. data/doc/app/files/lib/cms/acts/content_block_rb.html +101 -0
  610. data/doc/app/files/lib/cms/acts/content_page_rb.html +125 -0
  611. data/doc/app/files/lib/cms/authentication/controller_rb.html +161 -0
  612. data/doc/app/files/lib/cms/authentication/model_rb.html +101 -0
  613. data/doc/app/files/lib/cms/behaviors/archiving_rb.html +101 -0
  614. data/doc/app/files/lib/cms/behaviors/attaching_rb.html +101 -0
  615. data/doc/app/files/lib/cms/behaviors/categorizing_rb.html +101 -0
  616. data/doc/app/files/lib/cms/behaviors/connecting_rb.html +101 -0
  617. data/doc/app/files/lib/cms/behaviors/dynamic_attributes_rb.html +101 -0
  618. data/doc/app/files/lib/cms/behaviors/flush_cache_on_change_rb.html +101 -0
  619. data/doc/app/files/lib/cms/behaviors/hiding_rb.html +101 -0
  620. data/doc/app/files/lib/cms/behaviors/pagination_rb.html +107 -0
  621. data/doc/app/files/lib/cms/behaviors/publishing_rb.html +101 -0
  622. data/doc/app/files/lib/cms/behaviors/rendering_rb.html +101 -0
  623. data/doc/app/files/lib/cms/behaviors/searching_rb.html +101 -0
  624. data/doc/app/files/lib/cms/behaviors/soft_deleting_rb.html +101 -0
  625. data/doc/app/files/lib/cms/behaviors/taggable_rb.html +101 -0
  626. data/doc/app/files/lib/cms/behaviors/userstamping_rb.html +101 -0
  627. data/doc/app/files/lib/cms/behaviors/versioning_rb.html +101 -0
  628. data/doc/app/files/lib/cms/behaviors_rb.html +147 -0
  629. data/doc/app/files/lib/cms/caching_rb.html +101 -0
  630. data/doc/app/files/lib/cms/content_rendering_support_rb.html +108 -0
  631. data/doc/app/files/lib/cms/data_loader_rb.html +101 -0
  632. data/doc/app/files/lib/cms/domain_support_rb.html +108 -0
  633. data/doc/app/files/lib/cms/extensions/action_view/base_rb.html +101 -0
  634. data/doc/app/files/lib/cms/extensions/active_record/base_rb.html +101 -0
  635. data/doc/app/files/lib/cms/extensions/active_record/connection_adapters/abstract/schema_statements_rb.html +101 -0
  636. data/doc/app/files/lib/cms/extensions/active_record/errors_rb.html +101 -0
  637. data/doc/app/files/lib/cms/extensions/active_support/cache/file_store_rb.html +101 -0
  638. data/doc/app/files/lib/cms/extensions/hash_rb.html +101 -0
  639. data/doc/app/files/lib/cms/extensions/integer_rb.html +101 -0
  640. data/doc/app/files/lib/cms/extensions/nil_rb.html +101 -0
  641. data/doc/app/files/lib/cms/extensions/string_rb.html +101 -0
  642. data/doc/app/files/lib/cms/extensions_rb.html +101 -0
  643. data/doc/app/files/lib/cms/init_rb.html +108 -0
  644. data/doc/app/files/lib/cms/routes_rb.html +101 -0
  645. data/doc/app/files/lib/cms/version_rb.html +107 -0
  646. data/doc/app/files/lib/command_line_rb.html +101 -0
  647. data/doc/app/files/lib/initial_data_rb.html +101 -0
  648. data/doc/app/files/lib/sequence_rb.html +101 -0
  649. data/doc/app/fr_class_index.html +218 -0
  650. data/doc/app/fr_file_index.html +164 -0
  651. data/doc/app/fr_method_index.html +787 -0
  652. data/doc/app/index.html +24 -0
  653. data/doc/app/rdoc-style.css +208 -0
  654. data/doc/guides/html/authentication.html +201 -0
  655. data/doc/guides/html/build_it_yourself.html +178 -0
  656. data/doc/guides/html/building_modules.html +249 -0
  657. data/doc/guides/html/building_templates.html +507 -0
  658. data/doc/guides/html/content_blocks.html +477 -0
  659. data/doc/guides/html/customizing_browsercms.html +173 -0
  660. data/doc/guides/html/deployment_guide.html +207 -0
  661. data/doc/guides/html/files/javascripts/code_highlighter.js +188 -0
  662. data/doc/guides/html/files/javascripts/guides.js +7 -0
  663. data/doc/guides/html/files/javascripts/highlighters.js +90 -0
  664. data/doc/guides/html/files/stylesheets/main.css +441 -0
  665. data/doc/guides/html/files/stylesheets/reset.css +43 -0
  666. data/doc/guides/html/files/stylesheets/style.css +13 -0
  667. data/doc/guides/html/files/stylesheets/syntax.css +31 -0
  668. data/doc/guides/html/getting_started.html +216 -0
  669. data/doc/guides/html/images/bg.png +0 -0
  670. data/doc/guides/html/images/bottom_cap.png +0 -0
  671. data/doc/guides/html/images/browsercms_logo.png +0 -0
  672. data/doc/guides/html/images/content_blocks/add_field_to_form.png +0 -0
  673. data/doc/guides/html/images/content_blocks/add_second_block.png +0 -0
  674. data/doc/guides/html/images/dot.png +0 -0
  675. data/doc/guides/html/images/icons/README +5 -0
  676. data/doc/guides/html/images/icons/callouts/1.png +0 -0
  677. data/doc/guides/html/images/icons/callouts/10.png +0 -0
  678. data/doc/guides/html/images/icons/callouts/11.png +0 -0
  679. data/doc/guides/html/images/icons/callouts/12.png +0 -0
  680. data/doc/guides/html/images/icons/callouts/13.png +0 -0
  681. data/doc/guides/html/images/icons/callouts/14.png +0 -0
  682. data/doc/guides/html/images/icons/callouts/15.png +0 -0
  683. data/doc/guides/html/images/icons/callouts/2.png +0 -0
  684. data/doc/guides/html/images/icons/callouts/3.png +0 -0
  685. data/doc/guides/html/images/icons/callouts/4.png +0 -0
  686. data/doc/guides/html/images/icons/callouts/5.png +0 -0
  687. data/doc/guides/html/images/icons/callouts/6.png +0 -0
  688. data/doc/guides/html/images/icons/callouts/7.png +0 -0
  689. data/doc/guides/html/images/icons/callouts/8.png +0 -0
  690. data/doc/guides/html/images/icons/callouts/9.png +0 -0
  691. data/doc/guides/html/images/icons/caution.png +0 -0
  692. data/doc/guides/html/images/icons/example.png +0 -0
  693. data/doc/guides/html/images/icons/home.png +0 -0
  694. data/doc/guides/html/images/icons/important.png +0 -0
  695. data/doc/guides/html/images/icons/next.png +0 -0
  696. data/doc/guides/html/images/icons/note.png +0 -0
  697. data/doc/guides/html/images/icons/prev.png +0 -0
  698. data/doc/guides/html/images/icons/tip.png +0 -0
  699. data/doc/guides/html/images/icons/up.png +0 -0
  700. data/doc/guides/html/images/icons/warning.png +0 -0
  701. data/doc/guides/html/images/nfl_sitemap.png +0 -0
  702. data/doc/guides/html/images/top_cap.png +0 -0
  703. data/doc/guides/html/images/top_cap_content.png +0 -0
  704. data/doc/guides/html/index.html +177 -0
  705. data/doc/guides/html/installing_modules.html +189 -0
  706. data/doc/guides/html/portlets.html +238 -0
  707. data/doc/guides/html/user_guide.html +275 -0
  708. data/doc/guides/html/writing_guides.html +164 -0
  709. data/lib/acts_as_list.rb +256 -0
  710. data/lib/browsercms.rb +12 -0
  711. data/lib/cms/acts/content_block.rb +31 -0
  712. data/lib/cms/acts/content_page.rb +69 -0
  713. data/lib/cms/authentication/controller.rb +214 -0
  714. data/lib/cms/authentication/model.rb +116 -0
  715. data/lib/cms/behaviors/archiving.rb +43 -0
  716. data/lib/cms/behaviors/attaching.rb +184 -0
  717. data/lib/cms/behaviors/categorizing.rb +31 -0
  718. data/lib/cms/behaviors/connecting.rb +99 -0
  719. data/lib/cms/behaviors/dynamic_attributes.rb +367 -0
  720. data/lib/cms/behaviors/flush_cache_on_change.rb +33 -0
  721. data/lib/cms/behaviors/hiding.rb +46 -0
  722. data/lib/cms/behaviors/pagination.rb +209 -0
  723. data/lib/cms/behaviors/publishing.rb +123 -0
  724. data/lib/cms/behaviors/rendering.rb +164 -0
  725. data/lib/cms/behaviors/searching.rb +49 -0
  726. data/lib/cms/behaviors/soft_deleting.rb +77 -0
  727. data/lib/cms/behaviors/taggable.rb +57 -0
  728. data/lib/cms/behaviors/userstamping.rb +37 -0
  729. data/lib/cms/behaviors/versioning.rb +273 -0
  730. data/lib/cms/behaviors.rb +33 -0
  731. data/lib/cms/caching.rb +20 -0
  732. data/lib/cms/content_rendering_support.rb +96 -0
  733. data/lib/cms/data_loader.rb +28 -0
  734. data/lib/cms/domain_support.rb +20 -0
  735. data/lib/cms/extensions/action_view/base.rb +13 -0
  736. data/lib/cms/extensions/active_record/base.rb +16 -0
  737. data/lib/cms/extensions/active_record/connection_adapters/abstract/schema_statements.rb +88 -0
  738. data/lib/cms/extensions/active_record/errors.rb +12 -0
  739. data/lib/cms/extensions/active_support/cache/file_store.rb +9 -0
  740. data/lib/cms/extensions/hash.rb +21 -0
  741. data/lib/cms/extensions/integer.rb +16 -0
  742. data/lib/cms/extensions/nil.rb +19 -0
  743. data/lib/cms/extensions/string.rb +19 -0
  744. data/lib/cms/extensions.rb +4 -0
  745. data/lib/cms/init.rb +118 -0
  746. data/lib/cms/routes.rb +140 -0
  747. data/lib/cms/version.rb +6 -0
  748. data/lib/command_line.rb +39 -0
  749. data/lib/initial_data.rb +30 -0
  750. data/lib/sequence.rb +6 -0
  751. data/lib/tasks/cms.rake +41 -0
  752. data/lib/tasks/db.rake +71 -0
  753. data/lib/tasks/dev.rake +20 -0
  754. data/public/bcms/ckeditor/ckeditor.js +108 -0
  755. data/public/bcms/ckeditor/config.js +18 -0
  756. data/public/bcms/ckeditor/core/_bootstrap.js +64 -0
  757. data/public/bcms/ckeditor/core/ajax.js +143 -0
  758. data/public/bcms/ckeditor/core/ckeditor.js +96 -0
  759. data/public/bcms/ckeditor/core/ckeditor_base.js +190 -0
  760. data/public/bcms/ckeditor/core/ckeditor_basic.js +241 -0
  761. data/public/bcms/ckeditor/core/command.js +70 -0
  762. data/public/bcms/ckeditor/core/commanddefinition.js +72 -0
  763. data/public/bcms/ckeditor/core/config.js +287 -0
  764. data/public/bcms/ckeditor/core/dom/document.js +210 -0
  765. data/public/bcms/ckeditor/core/dom/documentfragment.js +49 -0
  766. data/public/bcms/ckeditor/core/dom/domobject.js +204 -0
  767. data/public/bcms/ckeditor/core/dom/element.js +1384 -0
  768. data/public/bcms/ckeditor/core/dom/elementpath.js +104 -0
  769. data/public/bcms/ckeditor/core/dom/event.js +137 -0
  770. data/public/bcms/ckeditor/core/dom/node.js +649 -0
  771. data/public/bcms/ckeditor/core/dom/nodelist.js +23 -0
  772. data/public/bcms/ckeditor/core/dom/range.js +1668 -0
  773. data/public/bcms/ckeditor/core/dom/text.js +123 -0
  774. data/public/bcms/ckeditor/core/dom/walker.js +411 -0
  775. data/public/bcms/ckeditor/core/dom/window.js +96 -0
  776. data/public/bcms/ckeditor/core/dom.js +21 -0
  777. data/public/bcms/ckeditor/core/dtd.js +200 -0
  778. data/public/bcms/ckeditor/core/editor.js +650 -0
  779. data/public/bcms/ckeditor/core/editor_basic.js +178 -0
  780. data/public/bcms/ckeditor/core/env.js +219 -0
  781. data/public/bcms/ckeditor/core/event.js +335 -0
  782. data/public/bcms/ckeditor/core/eventInfo.js +120 -0
  783. data/public/bcms/ckeditor/core/focusmanager.js +123 -0
  784. data/public/bcms/ckeditor/core/htmlparser/basicwriter.js +140 -0
  785. data/public/bcms/ckeditor/core/htmlparser/cdata.js +44 -0
  786. data/public/bcms/ckeditor/core/htmlparser/comment.js +59 -0
  787. data/public/bcms/ckeditor/core/htmlparser/element.js +196 -0
  788. data/public/bcms/ckeditor/core/htmlparser/filter.js +233 -0
  789. data/public/bcms/ckeditor/core/htmlparser/fragment.js +434 -0
  790. data/public/bcms/ckeditor/core/htmlparser/text.js +55 -0
  791. data/public/bcms/ckeditor/core/htmlparser.js +212 -0
  792. data/public/bcms/ckeditor/core/imagecacher.js +58 -0
  793. data/public/bcms/ckeditor/core/lang.js +147 -0
  794. data/public/bcms/ckeditor/core/loader.js +238 -0
  795. data/public/bcms/ckeditor/core/plugindefinition.js +66 -0
  796. data/public/bcms/ckeditor/core/plugins.js +82 -0
  797. data/public/bcms/ckeditor/core/resourcemanager.js +233 -0
  798. data/public/bcms/ckeditor/core/scriptloader.js +194 -0
  799. data/public/bcms/ckeditor/core/skins.js +185 -0
  800. data/public/bcms/ckeditor/core/test.js +184 -0
  801. data/public/bcms/ckeditor/core/themes.js +18 -0
  802. data/public/bcms/ckeditor/core/tools.js +531 -0
  803. data/public/bcms/ckeditor/core/ui.js +106 -0
  804. data/public/bcms/ckeditor/core/xml.js +165 -0
  805. data/public/bcms/ckeditor/editor.js +51 -0
  806. data/public/bcms/ckeditor/lang/_languages.js +82 -0
  807. data/public/bcms/ckeditor/lang/_translationstatus.txt +59 -0
  808. data/public/bcms/ckeditor/lang/af.js +674 -0
  809. data/public/bcms/ckeditor/lang/ar.js +674 -0
  810. data/public/bcms/ckeditor/lang/bg.js +674 -0
  811. data/public/bcms/ckeditor/lang/bn.js +674 -0
  812. data/public/bcms/ckeditor/lang/bs.js +674 -0
  813. data/public/bcms/ckeditor/lang/ca.js +674 -0
  814. data/public/bcms/ckeditor/lang/cs.js +674 -0
  815. data/public/bcms/ckeditor/lang/da.js +674 -0
  816. data/public/bcms/ckeditor/lang/de.js +674 -0
  817. data/public/bcms/ckeditor/lang/el.js +674 -0
  818. data/public/bcms/ckeditor/lang/en-au.js +674 -0
  819. data/public/bcms/ckeditor/lang/en-ca.js +674 -0
  820. data/public/bcms/ckeditor/lang/en-uk.js +674 -0
  821. data/public/bcms/ckeditor/lang/en.js +674 -0
  822. data/public/bcms/ckeditor/lang/eo.js +674 -0
  823. data/public/bcms/ckeditor/lang/es.js +674 -0
  824. data/public/bcms/ckeditor/lang/et.js +674 -0
  825. data/public/bcms/ckeditor/lang/eu.js +674 -0
  826. data/public/bcms/ckeditor/lang/fa.js +674 -0
  827. data/public/bcms/ckeditor/lang/fi.js +674 -0
  828. data/public/bcms/ckeditor/lang/fo.js +674 -0
  829. data/public/bcms/ckeditor/lang/fr-ca.js +674 -0
  830. data/public/bcms/ckeditor/lang/fr.js +674 -0
  831. data/public/bcms/ckeditor/lang/gl.js +674 -0
  832. data/public/bcms/ckeditor/lang/gu.js +674 -0
  833. data/public/bcms/ckeditor/lang/he.js +674 -0
  834. data/public/bcms/ckeditor/lang/hi.js +674 -0
  835. data/public/bcms/ckeditor/lang/hr.js +674 -0
  836. data/public/bcms/ckeditor/lang/hu.js +674 -0
  837. data/public/bcms/ckeditor/lang/is.js +674 -0
  838. data/public/bcms/ckeditor/lang/it.js +674 -0
  839. data/public/bcms/ckeditor/lang/ja.js +674 -0
  840. data/public/bcms/ckeditor/lang/km.js +674 -0
  841. data/public/bcms/ckeditor/lang/ko.js +674 -0
  842. data/public/bcms/ckeditor/lang/lt.js +674 -0
  843. data/public/bcms/ckeditor/lang/lv.js +674 -0
  844. data/public/bcms/ckeditor/lang/mn.js +674 -0
  845. data/public/bcms/ckeditor/lang/ms.js +674 -0
  846. data/public/bcms/ckeditor/lang/nb.js +674 -0
  847. data/public/bcms/ckeditor/lang/nl.js +674 -0
  848. data/public/bcms/ckeditor/lang/no.js +674 -0
  849. data/public/bcms/ckeditor/lang/pl.js +674 -0
  850. data/public/bcms/ckeditor/lang/pt-br.js +674 -0
  851. data/public/bcms/ckeditor/lang/pt.js +674 -0
  852. data/public/bcms/ckeditor/lang/ro.js +674 -0
  853. data/public/bcms/ckeditor/lang/ru.js +674 -0
  854. data/public/bcms/ckeditor/lang/sk.js +674 -0
  855. data/public/bcms/ckeditor/lang/sl.js +674 -0
  856. data/public/bcms/ckeditor/lang/sr-latn.js +674 -0
  857. data/public/bcms/ckeditor/lang/sr.js +674 -0
  858. data/public/bcms/ckeditor/lang/sv.js +674 -0
  859. data/public/bcms/ckeditor/lang/th.js +674 -0
  860. data/public/bcms/ckeditor/lang/tr.js +674 -0
  861. data/public/bcms/ckeditor/lang/uk.js +674 -0
  862. data/public/bcms/ckeditor/lang/vi.js +674 -0
  863. data/public/bcms/ckeditor/lang/zh-cn.js +674 -0
  864. data/public/bcms/ckeditor/lang/zh.js +674 -0
  865. data/public/bcms/ckeditor/plugins/about/dialogs/about.js +73 -0
  866. data/public/bcms/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  867. data/public/bcms/ckeditor/plugins/about/plugin.js +22 -0
  868. data/public/bcms/ckeditor/plugins/basicstyles/plugin.js +50 -0
  869. data/public/bcms/ckeditor/plugins/blockquote/plugin.js +301 -0
  870. data/public/bcms/ckeditor/plugins/button/plugin.js +264 -0
  871. data/public/bcms/ckeditor/plugins/clipboard/dialogs/paste.js +167 -0
  872. data/public/bcms/ckeditor/plugins/clipboard/plugin.js +208 -0
  873. data/public/bcms/ckeditor/plugins/colorbutton/plugin.js +202 -0
  874. data/public/bcms/ckeditor/plugins/contextmenu/plugin.js +178 -0
  875. data/public/bcms/ckeditor/plugins/dialog/dialogDefinition.js +315 -0
  876. data/public/bcms/ckeditor/plugins/dialog/plugin.js +2742 -0
  877. data/public/bcms/ckeditor/plugins/dialogui/plugin.js +1319 -0
  878. data/public/bcms/ckeditor/plugins/domiterator/plugin.js +354 -0
  879. data/public/bcms/ckeditor/plugins/editingblock/plugin.js +236 -0
  880. data/public/bcms/ckeditor/plugins/elementspath/plugin.js +182 -0
  881. data/public/bcms/ckeditor/plugins/enterkey/plugin.js +324 -0
  882. data/public/bcms/ckeditor/plugins/entities/plugin.js +200 -0
  883. data/public/bcms/ckeditor/plugins/fakeobjects/plugin.js +111 -0
  884. data/public/bcms/ckeditor/plugins/filebrowser/plugin.js +383 -0
  885. data/public/bcms/ckeditor/plugins/find/dialogs/find.js +843 -0
  886. data/public/bcms/ckeditor/plugins/find/plugin.js +46 -0
  887. data/public/bcms/ckeditor/plugins/flash/dialogs/flash.js +682 -0
  888. data/public/bcms/ckeditor/plugins/flash/images/placeholder.png +0 -0
  889. data/public/bcms/ckeditor/plugins/flash/plugin.js +165 -0
  890. data/public/bcms/ckeditor/plugins/floatpanel/plugin.js +325 -0
  891. data/public/bcms/ckeditor/plugins/font/plugin.js +227 -0
  892. data/public/bcms/ckeditor/plugins/format/plugin.js +191 -0
  893. data/public/bcms/ckeditor/plugins/forms/dialogs/button.js +135 -0
  894. data/public/bcms/ckeditor/plugins/forms/dialogs/checkbox.js +138 -0
  895. data/public/bcms/ckeditor/plugins/forms/dialogs/form.js +177 -0
  896. data/public/bcms/ckeditor/plugins/forms/dialogs/hiddenfield.js +91 -0
  897. data/public/bcms/ckeditor/plugins/forms/dialogs/radio.js +135 -0
  898. data/public/bcms/ckeditor/plugins/forms/dialogs/select.js +541 -0
  899. data/public/bcms/ckeditor/plugins/forms/dialogs/textarea.js +114 -0
  900. data/public/bcms/ckeditor/plugins/forms/dialogs/textfield.js +193 -0
  901. data/public/bcms/ckeditor/plugins/forms/plugin.js +193 -0
  902. data/public/bcms/ckeditor/plugins/horizontalrule/plugin.js +35 -0
  903. data/public/bcms/ckeditor/plugins/htmldataprocessor/plugin.js +373 -0
  904. data/public/bcms/ckeditor/plugins/htmlwriter/plugin.js +289 -0
  905. data/public/bcms/ckeditor/plugins/iframedialog/plugin.js +136 -0
  906. data/public/bcms/ckeditor/plugins/image/dialogs/image.js +1225 -0
  907. data/public/bcms/ckeditor/plugins/image/plugin.js +64 -0
  908. data/public/bcms/ckeditor/plugins/indent/plugin.js +323 -0
  909. data/public/bcms/ckeditor/plugins/justify/plugin.js +164 -0
  910. data/public/bcms/ckeditor/plugins/keystrokes/plugin.js +217 -0
  911. data/public/bcms/ckeditor/plugins/link/dialogs/anchor.js +98 -0
  912. data/public/bcms/ckeditor/plugins/link/dialogs/link.js +1217 -0
  913. data/public/bcms/ckeditor/plugins/link/images/anchor.gif +0 -0
  914. data/public/bcms/ckeditor/plugins/link/plugin.js +188 -0
  915. data/public/bcms/ckeditor/plugins/list/plugin.js +570 -0
  916. data/public/bcms/ckeditor/plugins/listblock/plugin.js +231 -0
  917. data/public/bcms/ckeditor/plugins/maximize/plugin.js +267 -0
  918. data/public/bcms/ckeditor/plugins/menu/plugin.js +377 -0
  919. data/public/bcms/ckeditor/plugins/menubutton/plugin.js +93 -0
  920. data/public/bcms/ckeditor/plugins/newpage/plugin.js +65 -0
  921. data/public/bcms/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  922. data/public/bcms/ckeditor/plugins/pagebreak/plugin.js +96 -0
  923. data/public/bcms/ckeditor/plugins/panel/plugin.js +330 -0
  924. data/public/bcms/ckeditor/plugins/panelbutton/plugin.js +140 -0
  925. data/public/bcms/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +307 -0
  926. data/public/bcms/ckeditor/plugins/pastefromword/plugin.js +54 -0
  927. data/public/bcms/ckeditor/plugins/pastetext/dialogs/pastetext.js +65 -0
  928. data/public/bcms/ckeditor/plugins/pastetext/plugin.js +142 -0
  929. data/public/bcms/ckeditor/plugins/popup/plugin.js +62 -0
  930. data/public/bcms/ckeditor/plugins/preview/plugin.js +97 -0
  931. data/public/bcms/ckeditor/plugins/print/plugin.js +41 -0
  932. data/public/bcms/ckeditor/plugins/removeformat/plugin.js +132 -0
  933. data/public/bcms/ckeditor/plugins/resize/plugin.js +115 -0
  934. data/public/bcms/ckeditor/plugins/richcombo/plugin.js +357 -0
  935. data/public/bcms/ckeditor/plugins/save/plugin.js +55 -0
  936. data/public/bcms/ckeditor/plugins/scayt/dialogs/options.js +494 -0
  937. data/public/bcms/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
  938. data/public/bcms/ckeditor/plugins/scayt/plugin.js +511 -0
  939. data/public/bcms/ckeditor/plugins/selection/plugin.js +1072 -0
  940. data/public/bcms/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  941. data/public/bcms/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  942. data/public/bcms/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  943. data/public/bcms/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  944. data/public/bcms/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  945. data/public/bcms/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  946. data/public/bcms/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  947. data/public/bcms/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  948. data/public/bcms/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  949. data/public/bcms/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  950. data/public/bcms/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  951. data/public/bcms/ckeditor/plugins/showblocks/plugin.js +153 -0
  952. data/public/bcms/ckeditor/plugins/smiley/dialogs/smiley.js +219 -0
  953. data/public/bcms/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  954. data/public/bcms/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  955. data/public/bcms/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  956. data/public/bcms/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  957. data/public/bcms/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  958. data/public/bcms/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  959. data/public/bcms/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  960. data/public/bcms/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  961. data/public/bcms/ckeditor/plugins/smiley/images/heart.gif +0 -0
  962. data/public/bcms/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  963. data/public/bcms/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  964. data/public/bcms/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  965. data/public/bcms/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  966. data/public/bcms/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  967. data/public/bcms/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  968. data/public/bcms/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  969. data/public/bcms/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  970. data/public/bcms/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  971. data/public/bcms/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  972. data/public/bcms/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  973. data/public/bcms/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  974. data/public/bcms/ckeditor/plugins/smiley/plugin.js +74 -0
  975. data/public/bcms/ckeditor/plugins/sourcearea/plugin.js +185 -0
  976. data/public/bcms/ckeditor/plugins/specialchar/dialogs/specialchar.js +362 -0
  977. data/public/bcms/ckeditor/plugins/specialchar/plugin.js +29 -0
  978. data/public/bcms/ckeditor/plugins/styles/plugin.js +1242 -0
  979. data/public/bcms/ckeditor/plugins/stylescombo/plugin.js +295 -0
  980. data/public/bcms/ckeditor/plugins/stylescombo/styles/default.js +85 -0
  981. data/public/bcms/ckeditor/plugins/tab/plugin.js +266 -0
  982. data/public/bcms/ckeditor/plugins/table/dialogs/table.js +550 -0
  983. data/public/bcms/ckeditor/plugins/table/plugin.js +70 -0
  984. data/public/bcms/ckeditor/plugins/tabletools/dialogs/tableCell.js +328 -0
  985. data/public/bcms/ckeditor/plugins/tabletools/plugin.js +701 -0
  986. data/public/bcms/ckeditor/plugins/templates/dialogs/templates.js +170 -0
  987. data/public/bcms/ckeditor/plugins/templates/plugin.js +99 -0
  988. data/public/bcms/ckeditor/plugins/templates/templates/default.js +94 -0
  989. data/public/bcms/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  990. data/public/bcms/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  991. data/public/bcms/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  992. data/public/bcms/ckeditor/plugins/toolbar/plugin.js +412 -0
  993. data/public/bcms/ckeditor/plugins/uicolor/dialogs/uicolor.js +203 -0
  994. data/public/bcms/ckeditor/plugins/uicolor/lang/en.js +15 -0
  995. data/public/bcms/ckeditor/plugins/uicolor/plugin.js +35 -0
  996. data/public/bcms/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  997. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  998. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  999. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  1000. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  1001. data/public/bcms/ckeditor/plugins/uicolor/yui/assets/yui.css +15 -0
  1002. data/public/bcms/ckeditor/plugins/uicolor/yui/yui.js +71 -0
  1003. data/public/bcms/ckeditor/plugins/undo/plugin.js +490 -0
  1004. data/public/bcms/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  1005. data/public/bcms/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  1006. data/public/bcms/ckeditor/plugins/wsc/dialogs/wsc.css +83 -0
  1007. data/public/bcms/ckeditor/plugins/wsc/dialogs/wsc.js +169 -0
  1008. data/public/bcms/ckeditor/plugins/wsc/plugin.js +32 -0
  1009. data/public/bcms/ckeditor/plugins/wysiwygarea/plugin.js +636 -0
  1010. data/public/bcms/ckeditor/skins/kama/dialog.css +742 -0
  1011. data/public/bcms/ckeditor/skins/kama/editor.css +21 -0
  1012. data/public/bcms/ckeditor/skins/kama/elementspath.css +68 -0
  1013. data/public/bcms/ckeditor/skins/kama/icons.css +309 -0
  1014. data/public/bcms/ckeditor/skins/kama/icons.png +0 -0
  1015. data/public/bcms/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  1016. data/public/bcms/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  1017. data/public/bcms/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  1018. data/public/bcms/ckeditor/skins/kama/images/mini.gif +0 -0
  1019. data/public/bcms/ckeditor/skins/kama/images/noimage.png +0 -0
  1020. data/public/bcms/ckeditor/skins/kama/images/sprites.png +0 -0
  1021. data/public/bcms/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  1022. data/public/bcms/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  1023. data/public/bcms/ckeditor/skins/kama/mainui.css +139 -0
  1024. data/public/bcms/ckeditor/skins/kama/menu.css +179 -0
  1025. data/public/bcms/ckeditor/skins/kama/panel.css +203 -0
  1026. data/public/bcms/ckeditor/skins/kama/presets.css +49 -0
  1027. data/public/bcms/ckeditor/skins/kama/reset.css +78 -0
  1028. data/public/bcms/ckeditor/skins/kama/richcombo.css +260 -0
  1029. data/public/bcms/ckeditor/skins/kama/skin.js +291 -0
  1030. data/public/bcms/ckeditor/skins/kama/templates.css +71 -0
  1031. data/public/bcms/ckeditor/skins/kama/toolbar.css +384 -0
  1032. data/public/bcms/ckeditor/skins/office2003/dialog.css +643 -0
  1033. data/public/bcms/ckeditor/skins/office2003/editor.css +21 -0
  1034. data/public/bcms/ckeditor/skins/office2003/elementspath.css +68 -0
  1035. data/public/bcms/ckeditor/skins/office2003/icons.css +309 -0
  1036. data/public/bcms/ckeditor/skins/office2003/icons.png +0 -0
  1037. data/public/bcms/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  1038. data/public/bcms/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  1039. data/public/bcms/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  1040. data/public/bcms/ckeditor/skins/office2003/images/mini.gif +0 -0
  1041. data/public/bcms/ckeditor/skins/office2003/images/noimage.png +0 -0
  1042. data/public/bcms/ckeditor/skins/office2003/images/sprites.png +0 -0
  1043. data/public/bcms/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  1044. data/public/bcms/ckeditor/skins/office2003/mainui.css +97 -0
  1045. data/public/bcms/ckeditor/skins/office2003/menu.css +175 -0
  1046. data/public/bcms/ckeditor/skins/office2003/panel.css +198 -0
  1047. data/public/bcms/ckeditor/skins/office2003/presets.css +49 -0
  1048. data/public/bcms/ckeditor/skins/office2003/reset.css +78 -0
  1049. data/public/bcms/ckeditor/skins/office2003/richcombo.css +279 -0
  1050. data/public/bcms/ckeditor/skins/office2003/skin.js +77 -0
  1051. data/public/bcms/ckeditor/skins/office2003/templates.css +71 -0
  1052. data/public/bcms/ckeditor/skins/office2003/toolbar.css +442 -0
  1053. data/public/bcms/ckeditor/skins/v2/dialog.css +653 -0
  1054. data/public/bcms/ckeditor/skins/v2/editor.css +21 -0
  1055. data/public/bcms/ckeditor/skins/v2/elementspath.css +68 -0
  1056. data/public/bcms/ckeditor/skins/v2/icons.css +309 -0
  1057. data/public/bcms/ckeditor/skins/v2/icons.png +0 -0
  1058. data/public/bcms/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  1059. data/public/bcms/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  1060. data/public/bcms/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  1061. data/public/bcms/ckeditor/skins/v2/images/mini.gif +0 -0
  1062. data/public/bcms/ckeditor/skins/v2/images/noimage.png +0 -0
  1063. data/public/bcms/ckeditor/skins/v2/images/sprites.png +0 -0
  1064. data/public/bcms/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  1065. data/public/bcms/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  1066. data/public/bcms/ckeditor/skins/v2/mainui.css +112 -0
  1067. data/public/bcms/ckeditor/skins/v2/menu.css +178 -0
  1068. data/public/bcms/ckeditor/skins/v2/panel.css +198 -0
  1069. data/public/bcms/ckeditor/skins/v2/presets.css +50 -0
  1070. data/public/bcms/ckeditor/skins/v2/reset.css +78 -0
  1071. data/public/bcms/ckeditor/skins/v2/richcombo.css +275 -0
  1072. data/public/bcms/ckeditor/skins/v2/skin.js +73 -0
  1073. data/public/bcms/ckeditor/skins/v2/templates.css +71 -0
  1074. data/public/bcms/ckeditor/skins/v2/toolbar.css +399 -0
  1075. data/public/bcms/ckeditor/tests/_assets/sample.css +4 -0
  1076. data/public/bcms/ckeditor/tests/_assets/sample.js +1 -0
  1077. data/public/bcms/ckeditor/tests/_assets/sample.txt +1 -0
  1078. data/public/bcms/ckeditor/tests/_assets/sample.xml +5 -0
  1079. data/public/bcms/ckeditor/tests/_assets/sample_xml.txt +5 -0
  1080. data/public/bcms/ckeditor/tests/core/_editor/custom_config_1.js +10 -0
  1081. data/public/bcms/ckeditor/tests/core/_editor/custom_config_2.js +9 -0
  1082. data/public/bcms/ckeditor/tests/core/ajax.html +163 -0
  1083. data/public/bcms/ckeditor/tests/core/bootstrap.html +66 -0
  1084. data/public/bcms/ckeditor/tests/core/ckeditor.html +160 -0
  1085. data/public/bcms/ckeditor/tests/core/dom/document.html +126 -0
  1086. data/public/bcms/ckeditor/tests/core/dom/documentfragment.html +292 -0
  1087. data/public/bcms/ckeditor/tests/core/dom/element.html +637 -0
  1088. data/public/bcms/ckeditor/tests/core/dom/node.html +164 -0
  1089. data/public/bcms/ckeditor/tests/core/dom/range.html +2411 -0
  1090. data/public/bcms/ckeditor/tests/core/dom/text.html +128 -0
  1091. data/public/bcms/ckeditor/tests/core/dom/walker.html +340 -0
  1092. data/public/bcms/ckeditor/tests/core/dom/window.html +53 -0
  1093. data/public/bcms/ckeditor/tests/core/editor.html +123 -0
  1094. data/public/bcms/ckeditor/tests/core/env.html +52 -0
  1095. data/public/bcms/ckeditor/tests/core/event.html +487 -0
  1096. data/public/bcms/ckeditor/tests/core/htmlparser/fragment.html +188 -0
  1097. data/public/bcms/ckeditor/tests/core/htmlparser/htmlparser.html +91 -0
  1098. data/public/bcms/ckeditor/tests/core/plugins/myplugins/sample/my_plugin.js +3 -0
  1099. data/public/bcms/ckeditor/tests/core/plugins.html +45 -0
  1100. data/public/bcms/ckeditor/tests/core/scriptloader.html +52 -0
  1101. data/public/bcms/ckeditor/tests/core/tools.html +170 -0
  1102. data/public/bcms/ckeditor/tests/core/xml.html +150 -0
  1103. data/public/bcms/ckeditor/tests/plugins/domiterator/domiterator.html +236 -0
  1104. data/public/bcms/ckeditor/tests/plugins/htmldataprocessor/htmldataprocessor.html +386 -0
  1105. data/public/bcms/ckeditor/tests/plugins/link/link.html +123 -0
  1106. data/public/bcms/ckeditor/tests/plugins/list/list.html +217 -0
  1107. data/public/bcms/ckeditor/tests/plugins/selection/selection.html +49 -0
  1108. data/public/bcms/ckeditor/tests/plugins/styles/styles.html +596 -0
  1109. data/public/bcms/ckeditor/tests/test.css +81 -0
  1110. data/public/bcms/ckeditor/tests/test.js +93 -0
  1111. data/public/bcms/ckeditor/tests/testall.html +114 -0
  1112. data/public/bcms/ckeditor/tests/yuitest.js +75 -0
  1113. data/public/bcms/ckeditor/themes/default/theme.js +232 -0
  1114. data/public/images/cms/administration/user_browser_bg.gif +0 -0
  1115. data/public/images/cms/bg.png +0 -0
  1116. data/public/images/cms/bl_curve.png +0 -0
  1117. data/public/images/cms/bottom_cap.png +0 -0
  1118. data/public/images/cms/bottom_cap_content.png +0 -0
  1119. data/public/images/cms/browse.gif +0 -0
  1120. data/public/images/cms/browser_media_logo.png +0 -0
  1121. data/public/images/cms/browsercms_logo.png +0 -0
  1122. data/public/images/cms/buttons/button.png +0 -0
  1123. data/public/images/cms/buttons/button_bg.png +0 -0
  1124. data/public/images/cms/buttons/button_cap.png +0 -0
  1125. data/public/images/cms/buttons/button_cap_h.png +0 -0
  1126. data/public/images/cms/buttons/button_cap_off.gif +0 -0
  1127. data/public/images/cms/buttons/button_cap_off_middle.gif +0 -0
  1128. data/public/images/cms/buttons/button_h.png +0 -0
  1129. data/public/images/cms/buttons/button_left_bg.png +0 -0
  1130. data/public/images/cms/buttons/button_off.png +0 -0
  1131. data/public/images/cms/buttons/button_off_middle.png +0 -0
  1132. data/public/images/cms/buttons/delete_x.png +0 -0
  1133. data/public/images/cms/buttons/delete_x_disabled.png +0 -0
  1134. data/public/images/cms/buttons/delete_x_h.png +0 -0
  1135. data/public/images/cms/buttons/sm_button.gif +0 -0
  1136. data/public/images/cms/buttons/sm_button_2.gif +0 -0
  1137. data/public/images/cms/buttons/sm_button_2_h.gif +0 -0
  1138. data/public/images/cms/buttons/sm_button_h.gif +0 -0
  1139. data/public/images/cms/containers/add.gif +0 -0
  1140. data/public/images/cms/containers/alpha.png +0 -0
  1141. data/public/images/cms/containers/beta.png +0 -0
  1142. data/public/images/cms/containers/delete.gif +0 -0
  1143. data/public/images/cms/containers/down.gif +0 -0
  1144. data/public/images/cms/containers/edit.gif +0 -0
  1145. data/public/images/cms/containers/up.gif +0 -0
  1146. data/public/images/cms/containers/view.gif +0 -0
  1147. data/public/images/cms/content_bg.gif +0 -0
  1148. data/public/images/cms/dashboard/bottom_cap.png +0 -0
  1149. data/public/images/cms/dashboard/bottom_cap_content.png +0 -0
  1150. data/public/images/cms/dashboard/header_bg.gif +0 -0
  1151. data/public/images/cms/dashboard/header_left_bg.gif +0 -0
  1152. data/public/images/cms/dashboard/table_header_bg.gif +0 -0
  1153. data/public/images/cms/dashboard/top_cap.png +0 -0
  1154. data/public/images/cms/dashed.gif +0 -0
  1155. data/public/images/cms/datepicker/clear.gif +0 -0
  1156. data/public/images/cms/datepicker/close.gif +0 -0
  1157. data/public/images/cms/dk_button_l.gif +0 -0
  1158. data/public/images/cms/dk_button_r.gif +0 -0
  1159. data/public/images/cms/dot.png +0 -0
  1160. data/public/images/cms/draft_status.gif +0 -0
  1161. data/public/images/cms/gray_long_bg.gif +0 -0
  1162. data/public/images/cms/icons/actions/add.png +0 -0
  1163. data/public/images/cms/icons/actions/config.png +0 -0
  1164. data/public/images/cms/icons/actions/connect.png +0 -0
  1165. data/public/images/cms/icons/actions/delete.png +0 -0
  1166. data/public/images/cms/icons/actions/down.png +0 -0
  1167. data/public/images/cms/icons/actions/edit.png +0 -0
  1168. data/public/images/cms/icons/actions/folder.png +0 -0
  1169. data/public/images/cms/icons/actions/folder_add.png +0 -0
  1170. data/public/images/cms/icons/actions/folder_delete.png +0 -0
  1171. data/public/images/cms/icons/actions/folder_edit.png +0 -0
  1172. data/public/images/cms/icons/actions/folder_move.png +0 -0
  1173. data/public/images/cms/icons/actions/folder_open.png +0 -0
  1174. data/public/images/cms/icons/actions/history.png +0 -0
  1175. data/public/images/cms/icons/actions/home.png +0 -0
  1176. data/public/images/cms/icons/actions/left.png +0 -0
  1177. data/public/images/cms/icons/actions/link.png +0 -0
  1178. data/public/images/cms/icons/actions/page.png +0 -0
  1179. data/public/images/cms/icons/actions/page_add.png +0 -0
  1180. data/public/images/cms/icons/actions/page_edit.png +0 -0
  1181. data/public/images/cms/icons/actions/page_move.png +0 -0
  1182. data/public/images/cms/icons/actions/redo.png +0 -0
  1183. data/public/images/cms/icons/actions/refresh.png +0 -0
  1184. data/public/images/cms/icons/actions/right.png +0 -0
  1185. data/public/images/cms/icons/actions/root_folder.png +0 -0
  1186. data/public/images/cms/icons/actions/root_link.png +0 -0
  1187. data/public/images/cms/icons/actions/root_page.png +0 -0
  1188. data/public/images/cms/icons/actions/undo.png +0 -0
  1189. data/public/images/cms/icons/actions/up.png +0 -0
  1190. data/public/images/cms/icons/actions/view.png +0 -0
  1191. data/public/images/cms/icons/file_types/doc.png +0 -0
  1192. data/public/images/cms/icons/file_types/file.png +0 -0
  1193. data/public/images/cms/icons/file_types/gif.png +0 -0
  1194. data/public/images/cms/icons/file_types/htm.png +0 -0
  1195. data/public/images/cms/icons/file_types/pdf.png +0 -0
  1196. data/public/images/cms/icons/file_types/ppt.png +0 -0
  1197. data/public/images/cms/icons/file_types/swf.png +0 -0
  1198. data/public/images/cms/icons/file_types/txt.png +0 -0
  1199. data/public/images/cms/icons/file_types/xls.png +0 -0
  1200. data/public/images/cms/icons/file_types/xml.png +0 -0
  1201. data/public/images/cms/icons/file_types/zip.png +0 -0
  1202. data/public/images/cms/icons/status/archived.gif +0 -0
  1203. data/public/images/cms/icons/status/draft.gif +0 -0
  1204. data/public/images/cms/icons/status/hidden.gif +0 -0
  1205. data/public/images/cms/icons/status/locked.gif +0 -0
  1206. data/public/images/cms/icons/status/published.gif +0 -0
  1207. data/public/images/cms/icons/status/unlocked.gif +0 -0
  1208. data/public/images/cms/icons/user.png +0 -0
  1209. data/public/images/cms/locales/en/nav_admin.gif +0 -0
  1210. data/public/images/cms/locales/en/nav_admin_h.gif +0 -0
  1211. data/public/images/cms/locales/en/nav_admin_on.gif +0 -0
  1212. data/public/images/cms/locales/en/nav_content_library.gif +0 -0
  1213. data/public/images/cms/locales/en/nav_content_library_h.gif +0 -0
  1214. data/public/images/cms/locales/en/nav_content_library_on.gif +0 -0
  1215. data/public/images/cms/locales/en/nav_dash.gif +0 -0
  1216. data/public/images/cms/locales/en/nav_dash_h.gif +0 -0
  1217. data/public/images/cms/locales/en/nav_dash_on.gif +0 -0
  1218. data/public/images/cms/locales/en/nav_sitemap.gif +0 -0
  1219. data/public/images/cms/locales/en/nav_sitemap_h.gif +0 -0
  1220. data/public/images/cms/locales/en/nav_sitemap_on.gif +0 -0
  1221. data/public/images/cms/locales/es/nav_admin.gif +0 -0
  1222. data/public/images/cms/locales/es/nav_admin_h.gif +0 -0
  1223. data/public/images/cms/locales/es/nav_admin_on.gif +0 -0
  1224. data/public/images/cms/locales/es/nav_content_library.gif +0 -0
  1225. data/public/images/cms/locales/es/nav_content_library_h.gif +0 -0
  1226. data/public/images/cms/locales/es/nav_content_library_on.gif +0 -0
  1227. data/public/images/cms/locales/es/nav_dash.gif +0 -0
  1228. data/public/images/cms/locales/es/nav_dash_h.gif +0 -0
  1229. data/public/images/cms/locales/es/nav_dash_on.gif +0 -0
  1230. data/public/images/cms/locales/es/nav_sitemap.gif +0 -0
  1231. data/public/images/cms/locales/es/nav_sitemap_h.gif +0 -0
  1232. data/public/images/cms/locales/es/nav_sitemap_on.gif +0 -0
  1233. data/public/images/cms/login_bg.jpg +0 -0
  1234. data/public/images/cms/login_bottom.jpg +0 -0
  1235. data/public/images/cms/login_top.gif +0 -0
  1236. data/public/images/cms/lt_button_bg.gif +0 -0
  1237. data/public/images/cms/lt_button_l.gif +0 -0
  1238. data/public/images/cms/lt_button_r.gif +0 -0
  1239. data/public/images/cms/menu/block_cap_h.gif +0 -0
  1240. data/public/images/cms/menu/bottom_cap.png +0 -0
  1241. data/public/images/cms/menu/bottom_cap_menu.png +0 -0
  1242. data/public/images/cms/menu/bottom_cap_menu_first.png +0 -0
  1243. data/public/images/cms/menu/menu_header_first_bg.gif +0 -0
  1244. data/public/images/cms/menu/selected_block_cap.gif +0 -0
  1245. data/public/images/cms/menu/top_cap.png +0 -0
  1246. data/public/images/cms/menu/top_cap_menu_header.png +0 -0
  1247. data/public/images/cms/menu.png +0 -0
  1248. data/public/images/cms/menu_h.gif +0 -0
  1249. data/public/images/cms/menu_header.png +0 -0
  1250. data/public/images/cms/menu_open.png +0 -0
  1251. data/public/images/cms/menu_open_bg.gif +0 -0
  1252. data/public/images/cms/nav/on_bg.gif +0 -0
  1253. data/public/images/cms/nav.png +0 -0
  1254. data/public/images/cms/nav_admin.gif +0 -0
  1255. data/public/images/cms/nav_admin_h.gif +0 -0
  1256. data/public/images/cms/nav_admin_on.gif +0 -0
  1257. data/public/images/cms/nav_cap.png +0 -0
  1258. data/public/images/cms/nav_cap_h.gif +0 -0
  1259. data/public/images/cms/nav_content_library.gif +0 -0
  1260. data/public/images/cms/nav_content_library_h.gif +0 -0
  1261. data/public/images/cms/nav_content_library_on.gif +0 -0
  1262. data/public/images/cms/nav_dash.gif +0 -0
  1263. data/public/images/cms/nav_dash_h.gif +0 -0
  1264. data/public/images/cms/nav_dash_on.gif +0 -0
  1265. data/public/images/cms/nav_h.gif +0 -0
  1266. data/public/images/cms/nav_sitemap.gif +0 -0
  1267. data/public/images/cms/nav_sitemap_h.gif +0 -0
  1268. data/public/images/cms/nav_sitemap_on.gif +0 -0
  1269. data/public/images/cms/page_toolbar/page_toolbar_bg.gif +0 -0
  1270. data/public/images/cms/page_toolbar/page_toolbar_inset_bg.gif +0 -0
  1271. data/public/images/cms/page_toolbar/page_toolbar_inset_draft_bg.gif +0 -0
  1272. data/public/images/cms/page_toolbar/page_toolbar_inset_draft_l.gif +0 -0
  1273. data/public/images/cms/page_toolbar/page_toolbar_inset_draft_r.gif +0 -0
  1274. data/public/images/cms/page_toolbar/page_toolbar_inset_l.gif +0 -0
  1275. data/public/images/cms/page_toolbar/page_toolbar_inset_published_bg.gif +0 -0
  1276. data/public/images/cms/page_toolbar/page_toolbar_inset_published_l.gif +0 -0
  1277. data/public/images/cms/page_toolbar/page_toolbar_inset_published_r.gif +0 -0
  1278. data/public/images/cms/page_toolbar/page_toolbar_inset_r.gif +0 -0
  1279. data/public/images/cms/page_toolbar/page_toolbar_l.gif +0 -0
  1280. data/public/images/cms/page_toolbar/page_toolbar_r.gif +0 -0
  1281. data/public/images/cms/page_toolbar/status_draft_bg.gif +0 -0
  1282. data/public/images/cms/page_toolbar/status_draft_l.gif +0 -0
  1283. data/public/images/cms/page_toolbar/status_l.gif +0 -0
  1284. data/public/images/cms/page_toolbar/status_published_bg.gif +0 -0
  1285. data/public/images/cms/page_toolbar/status_published_l.gif +0 -0
  1286. data/public/images/cms/page_toolbar/visual_editor_bg.gif +0 -0
  1287. data/public/images/cms/page_toolbar/visual_editor_end.gif +0 -0
  1288. data/public/images/cms/page_toolbar/visual_editor_r.gif +0 -0
  1289. data/public/images/cms/page_toolbar/visual_editor_state_bg.gif +0 -0
  1290. data/public/images/cms/pages/add_connectable.gif +0 -0
  1291. data/public/images/cms/pages/connect_connectable.gif +0 -0
  1292. data/public/images/cms/pages/container_border.gif +0 -0
  1293. data/public/images/cms/pages/container_border_l.gif +0 -0
  1294. data/public/images/cms/pages/container_border_r.gif +0 -0
  1295. data/public/images/cms/pages/delete_connectable.gif +0 -0
  1296. data/public/images/cms/pages/down_connectable.gif +0 -0
  1297. data/public/images/cms/pages/down_connectable_disabled.gif +0 -0
  1298. data/public/images/cms/pages/edit_connectable.gif +0 -0
  1299. data/public/images/cms/pages/edit_connectable_2.gif +0 -0
  1300. data/public/images/cms/pages/show_connectable.gif +0 -0
  1301. data/public/images/cms/pages/up_connectable.gif +0 -0
  1302. data/public/images/cms/pages/up_connectable_disabled.gif +0 -0
  1303. data/public/images/cms/pagination/first.gif +0 -0
  1304. data/public/images/cms/pagination/first_h.gif +0 -0
  1305. data/public/images/cms/pagination/input.gif +0 -0
  1306. data/public/images/cms/pagination/last.gif +0 -0
  1307. data/public/images/cms/pagination/last_h.gif +0 -0
  1308. data/public/images/cms/pagination/next.gif +0 -0
  1309. data/public/images/cms/pagination/next_h.gif +0 -0
  1310. data/public/images/cms/pagination/previous.gif +0 -0
  1311. data/public/images/cms/pagination/previous_h.gif +0 -0
  1312. data/public/images/cms/published_status.gif +0 -0
  1313. data/public/images/cms/search.png +0 -0
  1314. data/public/images/cms/search_submit.gif +0 -0
  1315. data/public/images/cms/search_submit_h.gif +0 -0
  1316. data/public/images/cms/searchbox_gradient.gif +0 -0
  1317. data/public/images/cms/select_bg.gif +0 -0
  1318. data/public/images/cms/select_bg_2.gif +0 -0
  1319. data/public/images/cms/sitemap/bottom_cap.png +0 -0
  1320. data/public/images/cms/sitemap/buffer_caps.png +0 -0
  1321. data/public/images/cms/sitemap/contract.png +0 -0
  1322. data/public/images/cms/sitemap/corners.gif +0 -0
  1323. data/public/images/cms/sitemap/corners_hover.gif +0 -0
  1324. data/public/images/cms/sitemap/divider.gif +0 -0
  1325. data/public/images/cms/sitemap/expand.png +0 -0
  1326. data/public/images/cms/sitemap/gradient.gif +0 -0
  1327. data/public/images/cms/sitemap/gray_contract.png +0 -0
  1328. data/public/images/cms/sitemap/gray_expand.png +0 -0
  1329. data/public/images/cms/sitemap/no_contents.png +0 -0
  1330. data/public/images/cms/sitemap/site_root_cap.png +0 -0
  1331. data/public/images/cms/sitemap/tooltip.gif +0 -0
  1332. data/public/images/cms/sitemap/top_cap_content.png +0 -0
  1333. data/public/images/cms/solid.gif +0 -0
  1334. data/public/images/cms/table/bl.gif +0 -0
  1335. data/public/images/cms/table/br.gif +0 -0
  1336. data/public/images/cms/table/divider.gif +0 -0
  1337. data/public/images/cms/table/td_cap_first_h.gif +0 -0
  1338. data/public/images/cms/table/td_cap_first_s.gif +0 -0
  1339. data/public/images/cms/table/td_cap_last_h.gif +0 -0
  1340. data/public/images/cms/table/td_cap_last_s.gif +0 -0
  1341. data/public/images/cms/table/td_last_bg.gif +0 -0
  1342. data/public/images/cms/table/th_bg.gif +0 -0
  1343. data/public/images/cms/table/th_divider.gif +0 -0
  1344. data/public/images/cms/table/th_last_bg.gif +0 -0
  1345. data/public/images/cms/table/tl.gif +0 -0
  1346. data/public/images/cms/table/tr.gif +0 -0
  1347. data/public/images/cms/table/tr_bg.gif +0 -0
  1348. data/public/images/cms/thickbox/loadingAnimation.gif +0 -0
  1349. data/public/images/cms/thickbox/macFFBgHack.png +0 -0
  1350. data/public/images/cms/toolbar_bg.png +0 -0
  1351. data/public/images/cms/top_cap.png +0 -0
  1352. data/public/images/cms/top_cap_content.png +0 -0
  1353. data/public/images/cms/top_cap_menu_header.png +0 -0
  1354. data/public/images/cms/user_search_submit.gif +0 -0
  1355. data/public/images/cms/usercontrols_bg.png +0 -0
  1356. data/public/images/cms/usercontrols_bg_cap.png +0 -0
  1357. data/public/javascripts/cms/application.js +148 -0
  1358. data/public/javascripts/cms/content_library.js +36 -0
  1359. data/public/javascripts/cms/sitemap.js +438 -0
  1360. data/public/javascripts/jquery-ui.js +591 -0
  1361. data/public/javascripts/jquery.contextMenu.js +211 -0
  1362. data/public/javascripts/jquery.cookie.js +96 -0
  1363. data/public/javascripts/jquery.dimensions.js +119 -0
  1364. data/public/javascripts/jquery.js +11 -0
  1365. data/public/javascripts/jquery.selectbox-0.5.js +209 -0
  1366. data/public/javascripts/jquery.taglist.js +136 -0
  1367. data/public/javascripts/jquery.thickbox.js +10 -0
  1368. data/public/site/customconfig.js +1 -0
  1369. data/public/stylesheets/cms/administration.css +91 -0
  1370. data/public/stylesheets/cms/application.css +166 -0
  1371. data/public/stylesheets/cms/block.css +26 -0
  1372. data/public/stylesheets/cms/buttons.css +120 -0
  1373. data/public/stylesheets/cms/content_library.css +139 -0
  1374. data/public/stylesheets/cms/content_types.css +4 -0
  1375. data/public/stylesheets/cms/dashboard.css +118 -0
  1376. data/public/stylesheets/cms/data_table.css +156 -0
  1377. data/public/stylesheets/cms/date_picker.css +73 -0
  1378. data/public/stylesheets/cms/form_layout.css +279 -0
  1379. data/public/stylesheets/cms/jquery.contextMenu.css +61 -0
  1380. data/public/stylesheets/cms/login.css +78 -0
  1381. data/public/stylesheets/cms/menu.css +116 -0
  1382. data/public/stylesheets/cms/nav.css +99 -0
  1383. data/public/stylesheets/cms/page_toolbar.css +135 -0
  1384. data/public/stylesheets/cms/reset.css +46 -0
  1385. data/public/stylesheets/cms/selectbox.css +56 -0
  1386. data/public/stylesheets/cms/sitemap.css +390 -0
  1387. data/public/stylesheets/cms/taglist.css +18 -0
  1388. data/public/stylesheets/cms/thickbox.css +163 -0
  1389. data/public/themes/blue_steel/images/logo.jpg +0 -0
  1390. data/public/themes/blue_steel/images/splash.jpg +0 -0
  1391. data/public/themes/blue_steel/stylesheets/style.css +257 -0
  1392. data/rails/init.rb +3 -0
  1393. data/rails_generators/browser_cms/USAGE +2 -0
  1394. data/rails_generators/browser_cms/browser_cms_generator.rb +35 -0
  1395. data/rails_generators/browser_cms/templates/README +1 -0
  1396. data/rails_generators/browser_cms_demo_site/USAGE +1 -0
  1397. data/rails_generators/browser_cms_demo_site/browser_cms_demo_site_generator.rb +63 -0
  1398. data/rails_generators/browser_cms_demo_site/templates/migration.rb +21 -0
  1399. data/rails_generators/content_block/USAGE +32 -0
  1400. data/rails_generators/content_block/content_block_generator.rb +69 -0
  1401. data/rails_generators/content_block/templates/_form.html.erb +22 -0
  1402. data/rails_generators/content_block/templates/content_block.rb +27 -0
  1403. data/rails_generators/content_block/templates/controller.rb +2 -0
  1404. data/rails_generators/content_block/templates/functional_test.erb +11 -0
  1405. data/rails_generators/content_block/templates/migration.rb +38 -0
  1406. data/rails_generators/content_block/templates/render.html.erb +14 -0
  1407. data/rails_generators/content_block/templates/unit_test.erb +9 -0
  1408. data/rails_generators/portlet/USAGE +39 -0
  1409. data/rails_generators/portlet/portlet_generator.rb +35 -0
  1410. data/rails_generators/portlet/templates/_form.html.erb +5 -0
  1411. data/rails_generators/portlet/templates/portlet.rb +10 -0
  1412. data/rails_generators/portlet/templates/portlet_helper.rb +5 -0
  1413. data/rails_generators/portlet/templates/render.html.erb +1 -0
  1414. data/rails_generators/portlet/templates/unit_test.erb +9 -0
  1415. data/rails_generators/template/USAGE +10 -0
  1416. data/rails_generators/template/template_generator.rb +18 -0
  1417. data/rails_generators/template/templates/template.erb +3 -0
  1418. data/templates/blank.rb +46 -0
  1419. data/templates/demo.rb +38 -0
  1420. data/templates/module.rb +956 -0
  1421. data/test/custom_assertions.rb +68 -0
  1422. data/test/factories.rb +109 -0
  1423. data/test/functional/cms/cache_controller_test.rb +14 -0
  1424. data/test/functional/cms/categories_controller_test.rb +25 -0
  1425. data/test/functional/cms/connectors_controller_test.rb +60 -0
  1426. data/test/functional/cms/content_block_controller_test.rb +120 -0
  1427. data/test/functional/cms/content_controller_test.rb +434 -0
  1428. data/test/functional/cms/content_types_controller_test.rb +18 -0
  1429. data/test/functional/cms/dashboard_controller_test.rb +16 -0
  1430. data/test/functional/cms/dynamic_views_controller_test.rb +28 -0
  1431. data/test/functional/cms/file_blocks_controller_test.rb +51 -0
  1432. data/test/functional/cms/groups_controller_test.rb +50 -0
  1433. data/test/functional/cms/home_controller_test.rb +156 -0
  1434. data/test/functional/cms/html_blocks_controller_test.rb +163 -0
  1435. data/test/functional/cms/image_blocks_controller_test.rb +75 -0
  1436. data/test/functional/cms/links_controller_test.rb +148 -0
  1437. data/test/functional/cms/pages_controller_test.rb +227 -0
  1438. data/test/functional/cms/portlets_controller_test.rb +67 -0
  1439. data/test/functional/cms/section_nodes_controller_test.rb +84 -0
  1440. data/test/functional/cms/sections_controller_test.rb +225 -0
  1441. data/test/functional/cms/sessions_controller_test.rb +76 -0
  1442. data/test/functional/cms/toolbar_controller_test.rb +64 -0
  1443. data/test/functional/cms/users_controller_test.rb +231 -0
  1444. data/test/functional/tests/pretend_controller_test.rb +54 -0
  1445. data/test/integration/cms/ckeditor_test.rb +27 -0
  1446. data/test/integration/cms/password_management_test.rb +56 -0
  1447. data/test/integration/login_test.rb +14 -0
  1448. data/test/test_helper.rb +175 -0
  1449. data/test/test_logging.rb +67 -0
  1450. data/test/unit/behaviors/attaching_test.rb +359 -0
  1451. data/test/unit/behaviors/dynamic_attributes_test.rb +38 -0
  1452. data/test/unit/behaviors/publishable_test.rb +53 -0
  1453. data/test/unit/behaviors/searching_test.rb +102 -0
  1454. data/test/unit/behaviors/taggable_test.rb +109 -0
  1455. data/test/unit/extensions/active_record/base_test.rb +10 -0
  1456. data/test/unit/extensions/hash_test.rb +17 -0
  1457. data/test/unit/extensions/integer_test.rb +10 -0
  1458. data/test/unit/helpers/application_helper_test.rb +77 -0
  1459. data/test/unit/helpers/form_builder_test.rb +36 -0
  1460. data/test/unit/helpers/menu_helper_test.rb +239 -0
  1461. data/test/unit/helpers/page_helper_test.rb +65 -0
  1462. data/test/unit/helpers/path_helper_test.rb +57 -0
  1463. data/test/unit/lib/acts_as_content_page_test.rb +72 -0
  1464. data/test/unit/lib/cms/authentication/controller_test.rb +20 -0
  1465. data/test/unit/lib/cms_domain_support_test.rb +43 -0
  1466. data/test/unit/lib/command_line_test.rb +70 -0
  1467. data/test/unit/lib/content_block_test.rb +203 -0
  1468. data/test/unit/lib/content_rendering_support_test.rb +40 -0
  1469. data/test/unit/lib/generators_test.rb +40 -0
  1470. data/test/unit/lib/routes_test.rb +57 -0
  1471. data/test/unit/models/attachment_test.rb +96 -0
  1472. data/test/unit/models/category_test.rb +40 -0
  1473. data/test/unit/models/category_type_test.rb +8 -0
  1474. data/test/unit/models/connector_test.rb +152 -0
  1475. data/test/unit/models/content_type_test.rb +56 -0
  1476. data/test/unit/models/email_page_portlet_test.rb +14 -0
  1477. data/test/unit/models/file_block_test.rb +211 -0
  1478. data/test/unit/models/group_test.rb +13 -0
  1479. data/test/unit/models/html_block_test.rb +102 -0
  1480. data/test/unit/models/link_test.rb +8 -0
  1481. data/test/unit/models/page_partial_test.rb +29 -0
  1482. data/test/unit/models/page_route_test.rb +29 -0
  1483. data/test/unit/models/page_template_test.rb +40 -0
  1484. data/test/unit/models/page_test.rb +726 -0
  1485. data/test/unit/models/permission_test.rb +10 -0
  1486. data/test/unit/models/portlet_test.rb +69 -0
  1487. data/test/unit/models/section_node_test.rb +92 -0
  1488. data/test/unit/models/sections_test.rb +164 -0
  1489. data/test/unit/models/site_test.rb +50 -0
  1490. data/test/unit/models/task_test.rb +141 -0
  1491. data/test/unit/models/user_test.rb +342 -0
  1492. data/test/unit/schema_statements_test.rb +41 -0
  1493. metadata +1552 -0
@@ -0,0 +1,956 @@
1
+ run "rm public/index.html"
2
+
3
+ # Loads the version, so we can explicitly set in the generated cms project.
4
+ template_root = File.dirname(File.expand_path(template))
5
+ require File.join(template_root, '..', 'lib', 'cms', 'version.rb')
6
+ gem "browsercmsi", :lib => "browsercms", :version=>Cms::VERSION
7
+
8
+ rake "db:create"
9
+ route "map.routes_for_browser_cms"
10
+ generate :browser_cms
11
+ environment 'SITE_DOMAIN="localhost:3000"', :env => "development"
12
+ environment 'SITE_DOMAIN="localhost:3000"', :env => "test"
13
+ environment 'SITE_DOMAIN="localhost:3000"', :env => "production"
14
+ environment 'config.action_view.cache_template_loading = false', :env => "production"
15
+ environment 'config.action_controller.page_cache_directory = RAILS_ROOT + "/public/cache/"', :env => "production"
16
+ rake "db:migrate"
17
+
18
+ git :init
19
+ file '.gitignore', <<-CODE
20
+ coverage/**/*
21
+ .DS_Store
22
+ log/*.log
23
+ tmp/**/*
24
+ db/*.sqlite3
25
+ db/schema.rb
26
+ *.gem
27
+ .dotest
28
+ tmp/restart.txt
29
+ public/cache
30
+ CODE
31
+
32
+ module_name = File.basename(root).match(/bcms_(.+)/)[1]
33
+ gem_name = "bcms_#{module_name}"
34
+
35
+ file "public/bcms/#{module_name}/README", <<-CODE
36
+ Use this directory to add public files that should copied from the gem into the project.
37
+ CODE
38
+
39
+ file "#{File.basename(root)}.gemspec", <<-CODE
40
+ SPEC = Gem::Specification.new do |spec|
41
+ spec.name = "#{gem_name}"
42
+ spec.rubyforge_project = spec.name
43
+ spec.version = "1.0.0"
44
+ spec.summary = "A #{module_name.titleize} Module for BrowserCMS"
45
+ spec.author = "BrowserMedia"
46
+ spec.email = "github@browsermedia.com"
47
+ spec.homepage = "http://www.browsercms.org"
48
+ spec.files += Dir["app/**/*"]
49
+ spec.files += Dir["db/migrate/*.rb"]
50
+ spec.files -= Dir["db/migrate/*_browsercms_*.rb"]
51
+ spec.files -= Dir["db/migrate/*_load_seed_data.rb"]
52
+ spec.files += Dir["lib/#{gem_name}.rb"]
53
+ spec.files += Dir["lib/#{gem_name}/*"]
54
+ spec.files += Dir["rails/init.rb"]
55
+ spec.files += Dir["public/bcms/#{module_name}/**/*"]
56
+ spec.has_rdoc = true
57
+ spec.extra_rdoc_files = ["README"]
58
+ end
59
+ CODE
60
+
61
+ file "config/initializers/init_module.rb",
62
+ %Q{require File.join(File.dirname(__FILE__), "..", "..", "lib", "#{gem_name}")}
63
+
64
+ file "lib/#{gem_name}.rb", "require '#{gem_name}/routes'\n"
65
+
66
+ file "lib/#{gem_name}/routes.rb", <<-CODE
67
+ module Cms::Routes
68
+ def routes_for_#{gem_name}
69
+ namespace(:cms) do |cms|
70
+ #cms.content_blocks :#{module_name.pluralize}
71
+ end
72
+ end
73
+ end
74
+ CODE
75
+
76
+
77
+ file "rails/init.rb", <<-CODE
78
+ gem_root = File.expand_path(File.join(File.dirname(__FILE__), ".."))
79
+ Cms.add_to_rails_paths gem_root
80
+ Cms.add_generator_paths gem_root, "db/migrate/[0-9]*_*.rb"
81
+ Cms.add_generator_paths gem_root, "public/bcms/#{module_name}/**/*"
82
+ CODE
83
+
84
+ file "LICENSE.txt", <<-CODE
85
+ GNU LESSER GENERAL PUBLIC LICENSE
86
+ Version 3, 29 June 2007
87
+
88
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
89
+ Everyone is permitted to copy and distribute verbatim copies
90
+ of this license document, but changing it is not allowed.
91
+
92
+
93
+ This version of the GNU Lesser General Public License incorporates
94
+ the terms and conditions of version 3 of the GNU General Public
95
+ License, supplemented by the additional permissions listed below.
96
+
97
+ 0. Additional Definitions.
98
+
99
+ As used herein, "this License" refers to version 3 of the GNU Lesser
100
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
101
+ General Public License.
102
+
103
+ "The Library" refers to a covered work governed by this License,
104
+ other than an Application or a Combined Work as defined below.
105
+
106
+ An "Application" is any work that makes use of an interface provided
107
+ by the Library, but which is not otherwise based on the Library.
108
+ Defining a subclass of a class defined by the Library is deemed a mode
109
+ of using an interface provided by the Library.
110
+
111
+ A "Combined Work" is a work produced by combining or linking an
112
+ Application with the Library. The particular version of the Library
113
+ with which the Combined Work was made is also called the "Linked
114
+ Version".
115
+
116
+ The "Minimal Corresponding Source" for a Combined Work means the
117
+ Corresponding Source for the Combined Work, excluding any source code
118
+ for portions of the Combined Work that, considered in isolation, are
119
+ based on the Application, and not on the Linked Version.
120
+
121
+ The "Corresponding Application Code" for a Combined Work means the
122
+ object code and/or source code for the Application, including any data
123
+ and utility programs needed for reproducing the Combined Work from the
124
+ Application, but excluding the System Libraries of the Combined Work.
125
+
126
+ 1. Exception to Section 3 of the GNU GPL.
127
+
128
+ You may convey a covered work under sections 3 and 4 of this License
129
+ without being bound by section 3 of the GNU GPL.
130
+
131
+ 2. Conveying Modified Versions.
132
+
133
+ If you modify a copy of the Library, and, in your modifications, a
134
+ facility refers to a function or data to be supplied by an Application
135
+ that uses the facility (other than as an argument passed when the
136
+ facility is invoked), then you may convey a copy of the modified
137
+ version:
138
+
139
+ a) under this License, provided that you make a good faith effort to
140
+ ensure that, in the event an Application does not supply the
141
+ function or data, the facility still operates, and performs
142
+ whatever part of its purpose remains meaningful, or
143
+
144
+ b) under the GNU GPL, with none of the additional permissions of
145
+ this License applicable to that copy.
146
+
147
+ 3. Object Code Incorporating Material from Library Header Files.
148
+
149
+ The object code form of an Application may incorporate material from
150
+ a header file that is part of the Library. You may convey such object
151
+ code under terms of your choice, provided that, if the incorporated
152
+ material is not limited to numerical parameters, data structure
153
+ layouts and accessors, or small macros, inline functions and templates
154
+ (ten or fewer lines in length), you do both of the following:
155
+
156
+ a) Give prominent notice with each copy of the object code that the
157
+ Library is used in it and that the Library and its use are
158
+ covered by this License.
159
+
160
+ b) Accompany the object code with a copy of the GNU GPL and this license
161
+ document.
162
+
163
+ 4. Combined Works.
164
+
165
+ You may convey a Combined Work under terms of your choice that,
166
+ taken together, effectively do not restrict modification of the
167
+ portions of the Library contained in the Combined Work and reverse
168
+ engineering for debugging such modifications, if you also do each of
169
+ the following:
170
+
171
+ a) Give prominent notice with each copy of the Combined Work that
172
+ the Library is used in it and that the Library and its use are
173
+ covered by this License.
174
+
175
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
176
+ document.
177
+
178
+ c) For a Combined Work that displays copyright notices during
179
+ execution, include the copyright notice for the Library among
180
+ these notices, as well as a reference directing the user to the
181
+ copies of the GNU GPL and this license document.
182
+
183
+ d) Do one of the following:
184
+
185
+ 0) Convey the Minimal Corresponding Source under the terms of this
186
+ License, and the Corresponding Application Code in a form
187
+ suitable for, and under terms that permit, the user to
188
+ recombine or relink the Application with a modified version of
189
+ the Linked Version to produce a modified Combined Work, in the
190
+ manner specified by section 6 of the GNU GPL for conveying
191
+ Corresponding Source.
192
+
193
+ 1) Use a suitable shared library mechanism for linking with the
194
+ Library. A suitable mechanism is one that (a) uses at run time
195
+ a copy of the Library already present on the user's computer
196
+ system, and (b) will operate properly with a modified version
197
+ of the Library that is interface-compatible with the Linked
198
+ Version.
199
+
200
+ e) Provide Installation Information, but only if you would otherwise
201
+ be required to provide such information under section 6 of the
202
+ GNU GPL, and only to the extent that such information is
203
+ necessary to install and execute a modified version of the
204
+ Combined Work produced by recombining or relinking the
205
+ Application with a modified version of the Linked Version. (If
206
+ you use option 4d0, the Installation Information must accompany
207
+ the Minimal Corresponding Source and Corresponding Application
208
+ Code. If you use option 4d1, you must provide the Installation
209
+ Information in the manner specified by section 6 of the GNU GPL
210
+ for conveying Corresponding Source.)
211
+
212
+ 5. Combined Libraries.
213
+
214
+ You may place library facilities that are a work based on the
215
+ Library side by side in a single library together with other library
216
+ facilities that are not Applications and are not covered by this
217
+ License, and convey such a combined library under terms of your
218
+ choice, if you do both of the following:
219
+
220
+ a) Accompany the combined library with a copy of the same work based
221
+ on the Library, uncombined with any other library facilities,
222
+ conveyed under the terms of this License.
223
+
224
+ b) Give prominent notice with the combined library that part of it
225
+ is a work based on the Library, and explaining where to find the
226
+ accompanying uncombined form of the same work.
227
+
228
+ 6. Revised Versions of the GNU Lesser General Public License.
229
+
230
+ The Free Software Foundation may publish revised and/or new versions
231
+ of the GNU Lesser General Public License from time to time. Such new
232
+ versions will be similar in spirit to the present version, but may
233
+ differ in detail to address new problems or concerns.
234
+
235
+ Each version is given a distinguishing version number. If the
236
+ Library as you received it specifies that a certain numbered version
237
+ of the GNU Lesser General Public License "or any later version"
238
+ applies to it, you have the option of following the terms and
239
+ conditions either of that published version or of any later version
240
+ published by the Free Software Foundation. If the Library as you
241
+ received it does not specify a version number of the GNU Lesser
242
+ General Public License, you may choose any version of the GNU Lesser
243
+ General Public License ever published by the Free Software Foundation.
244
+
245
+ If the Library as you received it specifies that a proxy can decide
246
+ whether future versions of the GNU Lesser General Public License shall
247
+ apply, that proxy's public statement of acceptance of any version is
248
+ permanent authorization for you to choose that version for the
249
+ Library.
250
+ CODE
251
+
252
+ file "COPYRIGHT.txt", <<-CODE
253
+ All BrowserCMS code is Copyright (C) 1998-2010 by BrowserMedia, LLC.
254
+
255
+ This program is free software: you can redistribute it and/or modify
256
+ it under the terms of the GNU Lesser General Public License as published by
257
+ the Free Software Foundation, either version 3 of the License, or
258
+ (at your option) any later version.
259
+
260
+ This program is distributed in the hope that it will be useful,
261
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
262
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
263
+ GNU Lesser General Public License for more details.
264
+
265
+ You should have received a copy of the GNU Lesser General Public License
266
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
267
+
268
+ BrowserCMS is a registered trademark of BrowserMedia, LLC.
269
+
270
+ BrowserCMS includes works under other copyright notices and distributed
271
+ according to the terms of the GNU Lesser Public License or a compatible
272
+ license, including:
273
+
274
+ - jQuery - Copyright (C) 2009 John Resig
275
+ - CKEditor - Copyright (C) 2003-2009 Frederico Caldeira Knabben
276
+ CODE
277
+
278
+ file "GPL.txt", <<-CODE
279
+ GNU GENERAL PUBLIC LICENSE
280
+ Version 3, 29 June 2007
281
+
282
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
283
+ Everyone is permitted to copy and distribute verbatim copies
284
+ of this license document, but changing it is not allowed.
285
+
286
+ Preamble
287
+
288
+ The GNU General Public License is a free, copyleft license for
289
+ software and other kinds of works.
290
+
291
+ The licenses for most software and other practical works are designed
292
+ to take away your freedom to share and change the works. By contrast,
293
+ the GNU General Public License is intended to guarantee your freedom to
294
+ share and change all versions of a program--to make sure it remains free
295
+ software for all its users. We, the Free Software Foundation, use the
296
+ GNU General Public License for most of our software; it applies also to
297
+ any other work released this way by its authors. You can apply it to
298
+ your programs, too.
299
+
300
+ When we speak of free software, we are referring to freedom, not
301
+ price. Our General Public Licenses are designed to make sure that you
302
+ have the freedom to distribute copies of free software (and charge for
303
+ them if you wish), that you receive source code or can get it if you
304
+ want it, that you can change the software or use pieces of it in new
305
+ free programs, and that you know you can do these things.
306
+
307
+ To protect your rights, we need to prevent others from denying you
308
+ these rights or asking you to surrender the rights. Therefore, you have
309
+ certain responsibilities if you distribute copies of the software, or if
310
+ you modify it: responsibilities to respect the freedom of others.
311
+
312
+ For example, if you distribute copies of such a program, whether
313
+ gratis or for a fee, you must pass on to the recipients the same
314
+ freedoms that you received. You must make sure that they, too, receive
315
+ or can get the source code. And you must show them these terms so they
316
+ know their rights.
317
+
318
+ Developers that use the GNU GPL protect your rights with two steps:
319
+ (1) assert copyright on the software, and (2) offer you this License
320
+ giving you legal permission to copy, distribute and/or modify it.
321
+
322
+ For the developers' and authors' protection, the GPL clearly explains
323
+ that there is no warranty for this free software. For both users' and
324
+ authors' sake, the GPL requires that modified versions be marked as
325
+ changed, so that their problems will not be attributed erroneously to
326
+ authors of previous versions.
327
+
328
+ Some devices are designed to deny users access to install or run
329
+ modified versions of the software inside them, although the manufacturer
330
+ can do so. This is fundamentally incompatible with the aim of
331
+ protecting users' freedom to change the software. The systematic
332
+ pattern of such abuse occurs in the area of products for individuals to
333
+ use, which is precisely where it is most unacceptable. Therefore, we
334
+ have designed this version of the GPL to prohibit the practice for those
335
+ products. If such problems arise substantially in other domains, we
336
+ stand ready to extend this provision to those domains in future versions
337
+ of the GPL, as needed to protect the freedom of users.
338
+
339
+ Finally, every program is threatened constantly by software patents.
340
+ States should not allow patents to restrict development and use of
341
+ software on general-purpose computers, but in those that do, we wish to
342
+ avoid the special danger that patents applied to a free program could
343
+ make it effectively proprietary. To prevent this, the GPL assures that
344
+ patents cannot be used to render the program non-free.
345
+
346
+ The precise terms and conditions for copying, distribution and
347
+ modification follow.
348
+
349
+ TERMS AND CONDITIONS
350
+
351
+ 0. Definitions.
352
+
353
+ "This License" refers to version 3 of the GNU General Public License.
354
+
355
+ "Copyright" also means copyright-like laws that apply to other kinds of
356
+ works, such as semiconductor masks.
357
+
358
+ "The Program" refers to any copyrightable work licensed under this
359
+ License. Each licensee is addressed as "you". "Licensees" and
360
+ "recipients" may be individuals or organizations.
361
+
362
+ To "modify" a work means to copy from or adapt all or part of the work
363
+ in a fashion requiring copyright permission, other than the making of an
364
+ exact copy. The resulting work is called a "modified version" of the
365
+ earlier work or a work "based on" the earlier work.
366
+
367
+ A "covered work" means either the unmodified Program or a work based
368
+ on the Program.
369
+
370
+ To "propagate" a work means to do anything with it that, without
371
+ permission, would make you directly or secondarily liable for
372
+ infringement under applicable copyright law, except executing it on a
373
+ computer or modifying a private copy. Propagation includes copying,
374
+ distribution (with or without modification), making available to the
375
+ public, and in some countries other activities as well.
376
+
377
+ To "convey" a work means any kind of propagation that enables other
378
+ parties to make or receive copies. Mere interaction with a user through
379
+ a computer network, with no transfer of a copy, is not conveying.
380
+
381
+ An interactive user interface displays "Appropriate Legal Notices"
382
+ to the extent that it includes a convenient and prominently visible
383
+ feature that (1) displays an appropriate copyright notice, and (2)
384
+ tells the user that there is no warranty for the work (except to the
385
+ extent that warranties are provided), that licensees may convey the
386
+ work under this License, and how to view a copy of this License. If
387
+ the interface presents a list of user commands or options, such as a
388
+ menu, a prominent item in the list meets this criterion.
389
+
390
+ 1. Source Code.
391
+
392
+ The "source code" for a work means the preferred form of the work
393
+ for making modifications to it. "Object code" means any non-source
394
+ form of a work.
395
+
396
+ A "Standard Interface" means an interface that either is an official
397
+ standard defined by a recognized standards body, or, in the case of
398
+ interfaces specified for a particular programming language, one that
399
+ is widely used among developers working in that language.
400
+
401
+ The "System Libraries" of an executable work include anything, other
402
+ than the work as a whole, that (a) is included in the normal form of
403
+ packaging a Major Component, but which is not part of that Major
404
+ Component, and (b) serves only to enable use of the work with that
405
+ Major Component, or to implement a Standard Interface for which an
406
+ implementation is available to the public in source code form. A
407
+ "Major Component", in this context, means a major essential component
408
+ (kernel, window system, and so on) of the specific operating system
409
+ (if any) on which the executable work runs, or a compiler used to
410
+ produce the work, or an object code interpreter used to run it.
411
+
412
+ The "Corresponding Source" for a work in object code form means all
413
+ the source code needed to generate, install, and (for an executable
414
+ work) run the object code and to modify the work, including scripts to
415
+ control those activities. However, it does not include the work's
416
+ System Libraries, or general-purpose tools or generally available free
417
+ programs which are used unmodified in performing those activities but
418
+ which are not part of the work. For example, Corresponding Source
419
+ includes interface definition files associated with source files for
420
+ the work, and the source code for shared libraries and dynamically
421
+ linked subprograms that the work is specifically designed to require,
422
+ such as by intimate data communication or control flow between those
423
+ subprograms and other parts of the work.
424
+
425
+ The Corresponding Source need not include anything that users
426
+ can regenerate automatically from other parts of the Corresponding
427
+ Source.
428
+
429
+ The Corresponding Source for a work in source code form is that
430
+ same work.
431
+
432
+ 2. Basic Permissions.
433
+
434
+ All rights granted under this License are granted for the term of
435
+ copyright on the Program, and are irrevocable provided the stated
436
+ conditions are met. This License explicitly affirms your unlimited
437
+ permission to run the unmodified Program. The output from running a
438
+ covered work is covered by this License only if the output, given its
439
+ content, constitutes a covered work. This License acknowledges your
440
+ rights of fair use or other equivalent, as provided by copyright law.
441
+
442
+ You may make, run and propagate covered works that you do not
443
+ convey, without conditions so long as your license otherwise remains
444
+ in force. You may convey covered works to others for the sole purpose
445
+ of having them make modifications exclusively for you, or provide you
446
+ with facilities for running those works, provided that you comply with
447
+ the terms of this License in conveying all material for which you do
448
+ not control copyright. Those thus making or running the covered works
449
+ for you must do so exclusively on your behalf, under your direction
450
+ and control, on terms that prohibit them from making any copies of
451
+ your copyrighted material outside their relationship with you.
452
+
453
+ Conveying under any other circumstances is permitted solely under
454
+ the conditions stated below. Sublicensing is not allowed; section 10
455
+ makes it unnecessary.
456
+
457
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
458
+
459
+ No covered work shall be deemed part of an effective technological
460
+ measure under any applicable law fulfilling obligations under article
461
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
462
+ similar laws prohibiting or restricting circumvention of such
463
+ measures.
464
+
465
+ When you convey a covered work, you waive any legal power to forbid
466
+ circumvention of technological measures to the extent such circumvention
467
+ is effected by exercising rights under this License with respect to
468
+ the covered work, and you disclaim any intention to limit operation or
469
+ modification of the work as a means of enforcing, against the work's
470
+ users, your or third parties' legal rights to forbid circumvention of
471
+ technological measures.
472
+
473
+ 4. Conveying Verbatim Copies.
474
+
475
+ You may convey verbatim copies of the Program's source code as you
476
+ receive it, in any medium, provided that you conspicuously and
477
+ appropriately publish on each copy an appropriate copyright notice;
478
+ keep intact all notices stating that this License and any
479
+ non-permissive terms added in accord with section 7 apply to the code;
480
+ keep intact all notices of the absence of any warranty; and give all
481
+ recipients a copy of this License along with the Program.
482
+
483
+ You may charge any price or no price for each copy that you convey,
484
+ and you may offer support or warranty protection for a fee.
485
+
486
+ 5. Conveying Modified Source Versions.
487
+
488
+ You may convey a work based on the Program, or the modifications to
489
+ produce it from the Program, in the form of source code under the
490
+ terms of section 4, provided that you also meet all of these conditions:
491
+
492
+ a) The work must carry prominent notices stating that you modified
493
+ it, and giving a relevant date.
494
+
495
+ b) The work must carry prominent notices stating that it is
496
+ released under this License and any conditions added under section
497
+ 7. This requirement modifies the requirement in section 4 to
498
+ "keep intact all notices".
499
+
500
+ c) You must license the entire work, as a whole, under this
501
+ License to anyone who comes into possession of a copy. This
502
+ License will therefore apply, along with any applicable section 7
503
+ additional terms, to the whole of the work, and all its parts,
504
+ regardless of how they are packaged. This License gives no
505
+ permission to license the work in any other way, but it does not
506
+ invalidate such permission if you have separately received it.
507
+
508
+ d) If the work has interactive user interfaces, each must display
509
+ Appropriate Legal Notices; however, if the Program has interactive
510
+ interfaces that do not display Appropriate Legal Notices, your
511
+ work need not make them do so.
512
+
513
+ A compilation of a covered work with other separate and independent
514
+ works, which are not by their nature extensions of the covered work,
515
+ and which are not combined with it such as to form a larger program,
516
+ in or on a volume of a storage or distribution medium, is called an
517
+ "aggregate" if the compilation and its resulting copyright are not
518
+ used to limit the access or legal rights of the compilation's users
519
+ beyond what the individual works permit. Inclusion of a covered work
520
+ in an aggregate does not cause this License to apply to the other
521
+ parts of the aggregate.
522
+
523
+ 6. Conveying Non-Source Forms.
524
+
525
+ You may convey a covered work in object code form under the terms
526
+ of sections 4 and 5, provided that you also convey the
527
+ machine-readable Corresponding Source under the terms of this License,
528
+ in one of these ways:
529
+
530
+ a) Convey the object code in, or embodied in, a physical product
531
+ (including a physical distribution medium), accompanied by the
532
+ Corresponding Source fixed on a durable physical medium
533
+ customarily used for software interchange.
534
+
535
+ b) Convey the object code in, or embodied in, a physical product
536
+ (including a physical distribution medium), accompanied by a
537
+ written offer, valid for at least three years and valid for as
538
+ long as you offer spare parts or customer support for that product
539
+ model, to give anyone who possesses the object code either (1) a
540
+ copy of the Corresponding Source for all the software in the
541
+ product that is covered by this License, on a durable physical
542
+ medium customarily used for software interchange, for a price no
543
+ more than your reasonable cost of physically performing this
544
+ conveying of source, or (2) access to copy the
545
+ Corresponding Source from a network server at no charge.
546
+
547
+ c) Convey individual copies of the object code with a copy of the
548
+ written offer to provide the Corresponding Source. This
549
+ alternative is allowed only occasionally and noncommercially, and
550
+ only if you received the object code with such an offer, in accord
551
+ with subsection 6b.
552
+
553
+ d) Convey the object code by offering access from a designated
554
+ place (gratis or for a charge), and offer equivalent access to the
555
+ Corresponding Source in the same way through the same place at no
556
+ further charge. You need not require recipients to copy the
557
+ Corresponding Source along with the object code. If the place to
558
+ copy the object code is a network server, the Corresponding Source
559
+ may be on a different server (operated by you or a third party)
560
+ that supports equivalent copying facilities, provided you maintain
561
+ clear directions next to the object code saying where to find the
562
+ Corresponding Source. Regardless of what server hosts the
563
+ Corresponding Source, you remain obligated to ensure that it is
564
+ available for as long as needed to satisfy these requirements.
565
+
566
+ e) Convey the object code using peer-to-peer transmission, provided
567
+ you inform other peers where the object code and Corresponding
568
+ Source of the work are being offered to the general public at no
569
+ charge under subsection 6d.
570
+
571
+ A separable portion of the object code, whose source code is excluded
572
+ from the Corresponding Source as a System Library, need not be
573
+ included in conveying the object code work.
574
+
575
+ A "User Product" is either (1) a "consumer product", which means any
576
+ tangible personal property which is normally used for personal, family,
577
+ or household purposes, or (2) anything designed or sold for incorporation
578
+ into a dwelling. In determining whether a product is a consumer product,
579
+ doubtful cases shall be resolved in favor of coverage. For a particular
580
+ product received by a particular user, "normally used" refers to a
581
+ typical or common use of that class of product, regardless of the status
582
+ of the particular user or of the way in which the particular user
583
+ actually uses, or expects or is expected to use, the product. A product
584
+ is a consumer product regardless of whether the product has substantial
585
+ commercial, industrial or non-consumer uses, unless such uses represent
586
+ the only significant mode of use of the product.
587
+
588
+ "Installation Information" for a User Product means any methods,
589
+ procedures, authorization keys, or other information required to install
590
+ and execute modified versions of a covered work in that User Product from
591
+ a modified version of its Corresponding Source. The information must
592
+ suffice to ensure that the continued functioning of the modified object
593
+ code is in no case prevented or interfered with solely because
594
+ modification has been made.
595
+
596
+ If you convey an object code work under this section in, or with, or
597
+ specifically for use in, a User Product, and the conveying occurs as
598
+ part of a transaction in which the right of possession and use of the
599
+ User Product is transferred to the recipient in perpetuity or for a
600
+ fixed term (regardless of how the transaction is characterized), the
601
+ Corresponding Source conveyed under this section must be accompanied
602
+ by the Installation Information. But this requirement does not apply
603
+ if neither you nor any third party retains the ability to install
604
+ modified object code on the User Product (for example, the work has
605
+ been installed in ROM).
606
+
607
+ The requirement to provide Installation Information does not include a
608
+ requirement to continue to provide support service, warranty, or updates
609
+ for a work that has been modified or installed by the recipient, or for
610
+ the User Product in which it has been modified or installed. Access to a
611
+ network may be denied when the modification itself materially and
612
+ adversely affects the operation of the network or violates the rules and
613
+ protocols for communication across the network.
614
+
615
+ Corresponding Source conveyed, and Installation Information provided,
616
+ in accord with this section must be in a format that is publicly
617
+ documented (and with an implementation available to the public in
618
+ source code form), and must require no special password or key for
619
+ unpacking, reading or copying.
620
+
621
+ 7. Additional Terms.
622
+
623
+ "Additional permissions" are terms that supplement the terms of this
624
+ License by making exceptions from one or more of its conditions.
625
+ Additional permissions that are applicable to the entire Program shall
626
+ be treated as though they were included in this License, to the extent
627
+ that they are valid under applicable law. If additional permissions
628
+ apply only to part of the Program, that part may be used separately
629
+ under those permissions, but the entire Program remains governed by
630
+ this License without regard to the additional permissions.
631
+
632
+ When you convey a copy of a covered work, you may at your option
633
+ remove any additional permissions from that copy, or from any part of
634
+ it. (Additional permissions may be written to require their own
635
+ removal in certain cases when you modify the work.) You may place
636
+ additional permissions on material, added by you to a covered work,
637
+ for which you have or can give appropriate copyright permission.
638
+
639
+ Notwithstanding any other provision of this License, for material you
640
+ add to a covered work, you may (if authorized by the copyright holders of
641
+ that material) supplement the terms of this License with terms:
642
+
643
+ a) Disclaiming warranty or limiting liability differently from the
644
+ terms of sections 15 and 16 of this License; or
645
+
646
+ b) Requiring preservation of specified reasonable legal notices or
647
+ author attributions in that material or in the Appropriate Legal
648
+ Notices displayed by works containing it; or
649
+
650
+ c) Prohibiting misrepresentation of the origin of that material, or
651
+ requiring that modified versions of such material be marked in
652
+ reasonable ways as different from the original version; or
653
+
654
+ d) Limiting the use for publicity purposes of names of licensors or
655
+ authors of the material; or
656
+
657
+ e) Declining to grant rights under trademark law for use of some
658
+ trade names, trademarks, or service marks; or
659
+
660
+ f) Requiring indemnification of licensors and authors of that
661
+ material by anyone who conveys the material (or modified versions of
662
+ it) with contractual assumptions of liability to the recipient, for
663
+ any liability that these contractual assumptions directly impose on
664
+ those licensors and authors.
665
+
666
+ All other non-permissive additional terms are considered "further
667
+ restrictions" within the meaning of section 10. If the Program as you
668
+ received it, or any part of it, contains a notice stating that it is
669
+ governed by this License along with a term that is a further
670
+ restriction, you may remove that term. If a license document contains
671
+ a further restriction but permits relicensing or conveying under this
672
+ License, you may add to a covered work material governed by the terms
673
+ of that license document, provided that the further restriction does
674
+ not survive such relicensing or conveying.
675
+
676
+ If you add terms to a covered work in accord with this section, you
677
+ must place, in the relevant source files, a statement of the
678
+ additional terms that apply to those files, or a notice indicating
679
+ where to find the applicable terms.
680
+
681
+ Additional terms, permissive or non-permissive, may be stated in the
682
+ form of a separately written license, or stated as exceptions;
683
+ the above requirements apply either way.
684
+
685
+ 8. Termination.
686
+
687
+ You may not propagate or modify a covered work except as expressly
688
+ provided under this License. Any attempt otherwise to propagate or
689
+ modify it is void, and will automatically terminate your rights under
690
+ this License (including any patent licenses granted under the third
691
+ paragraph of section 11).
692
+
693
+ However, if you cease all violation of this License, then your
694
+ license from a particular copyright holder is reinstated (a)
695
+ provisionally, unless and until the copyright holder explicitly and
696
+ finally terminates your license, and (b) permanently, if the copyright
697
+ holder fails to notify you of the violation by some reasonable means
698
+ prior to 60 days after the cessation.
699
+
700
+ Moreover, your license from a particular copyright holder is
701
+ reinstated permanently if the copyright holder notifies you of the
702
+ violation by some reasonable means, this is the first time you have
703
+ received notice of violation of this License (for any work) from that
704
+ copyright holder, and you cure the violation prior to 30 days after
705
+ your receipt of the notice.
706
+
707
+ Termination of your rights under this section does not terminate the
708
+ licenses of parties who have received copies or rights from you under
709
+ this License. If your rights have been terminated and not permanently
710
+ reinstated, you do not qualify to receive new licenses for the same
711
+ material under section 10.
712
+
713
+ 9. Acceptance Not Required for Having Copies.
714
+
715
+ You are not required to accept this License in order to receive or
716
+ run a copy of the Program. Ancillary propagation of a covered work
717
+ occurring solely as a consequence of using peer-to-peer transmission
718
+ to receive a copy likewise does not require acceptance. However,
719
+ nothing other than this License grants you permission to propagate or
720
+ modify any covered work. These actions infringe copyright if you do
721
+ not accept this License. Therefore, by modifying or propagating a
722
+ covered work, you indicate your acceptance of this License to do so.
723
+
724
+ 10. Automatic Licensing of Downstream Recipients.
725
+
726
+ Each time you convey a covered work, the recipient automatically
727
+ receives a license from the original licensors, to run, modify and
728
+ propagate that work, subject to this License. You are not responsible
729
+ for enforcing compliance by third parties with this License.
730
+
731
+ An "entity transaction" is a transaction transferring control of an
732
+ organization, or substantially all assets of one, or subdividing an
733
+ organization, or merging organizations. If propagation of a covered
734
+ work results from an entity transaction, each party to that
735
+ transaction who receives a copy of the work also receives whatever
736
+ licenses to the work the party's predecessor in interest had or could
737
+ give under the previous paragraph, plus a right to possession of the
738
+ Corresponding Source of the work from the predecessor in interest, if
739
+ the predecessor has it or can get it with reasonable efforts.
740
+
741
+ You may not impose any further restrictions on the exercise of the
742
+ rights granted or affirmed under this License. For example, you may
743
+ not impose a license fee, royalty, or other charge for exercise of
744
+ rights granted under this License, and you may not initiate litigation
745
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
746
+ any patent claim is infringed by making, using, selling, offering for
747
+ sale, or importing the Program or any portion of it.
748
+
749
+ 11. Patents.
750
+
751
+ A "contributor" is a copyright holder who authorizes use under this
752
+ License of the Program or a work on which the Program is based. The
753
+ work thus licensed is called the contributor's "contributor version".
754
+
755
+ A contributor's "essential patent claims" are all patent claims
756
+ owned or controlled by the contributor, whether already acquired or
757
+ hereafter acquired, that would be infringed by some manner, permitted
758
+ by this License, of making, using, or selling its contributor version,
759
+ but do not include claims that would be infringed only as a
760
+ consequence of further modification of the contributor version. For
761
+ purposes of this definition, "control" includes the right to grant
762
+ patent sublicenses in a manner consistent with the requirements of
763
+ this License.
764
+
765
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
766
+ patent license under the contributor's essential patent claims, to
767
+ make, use, sell, offer for sale, import and otherwise run, modify and
768
+ propagate the contents of its contributor version.
769
+
770
+ In the following three paragraphs, a "patent license" is any express
771
+ agreement or commitment, however denominated, not to enforce a patent
772
+ (such as an express permission to practice a patent or covenant not to
773
+ sue for patent infringement). To "grant" such a patent license to a
774
+ party means to make such an agreement or commitment not to enforce a
775
+ patent against the party.
776
+
777
+ If you convey a covered work, knowingly relying on a patent license,
778
+ and the Corresponding Source of the work is not available for anyone
779
+ to copy, free of charge and under the terms of this License, through a
780
+ publicly available network server or other readily accessible means,
781
+ then you must either (1) cause the Corresponding Source to be so
782
+ available, or (2) arrange to deprive yourself of the benefit of the
783
+ patent license for this particular work, or (3) arrange, in a manner
784
+ consistent with the requirements of this License, to extend the patent
785
+ license to downstream recipients. "Knowingly relying" means you have
786
+ actual knowledge that, but for the patent license, your conveying the
787
+ covered work in a country, or your recipient's use of the covered work
788
+ in a country, would infringe one or more identifiable patents in that
789
+ country that you have reason to believe are valid.
790
+
791
+ If, pursuant to or in connection with a single transaction or
792
+ arrangement, you convey, or propagate by procuring conveyance of, a
793
+ covered work, and grant a patent license to some of the parties
794
+ receiving the covered work authorizing them to use, propagate, modify
795
+ or convey a specific copy of the covered work, then the patent license
796
+ you grant is automatically extended to all recipients of the covered
797
+ work and works based on it.
798
+
799
+ A patent license is "discriminatory" if it does not include within
800
+ the scope of its coverage, prohibits the exercise of, or is
801
+ conditioned on the non-exercise of one or more of the rights that are
802
+ specifically granted under this License. You may not convey a covered
803
+ work if you are a party to an arrangement with a third party that is
804
+ in the business of distributing software, under which you make payment
805
+ to the third party based on the extent of your activity of conveying
806
+ the work, and under which the third party grants, to any of the
807
+ parties who would receive the covered work from you, a discriminatory
808
+ patent license (a) in connection with copies of the covered work
809
+ conveyed by you (or copies made from those copies), or (b) primarily
810
+ for and in connection with specific products or compilations that
811
+ contain the covered work, unless you entered into that arrangement,
812
+ or that patent license was granted, prior to 28 March 2007.
813
+
814
+ Nothing in this License shall be construed as excluding or limiting
815
+ any implied license or other defenses to infringement that may
816
+ otherwise be available to you under applicable patent law.
817
+
818
+ 12. No Surrender of Others' Freedom.
819
+
820
+ If conditions are imposed on you (whether by court order, agreement or
821
+ otherwise) that contradict the conditions of this License, they do not
822
+ excuse you from the conditions of this License. If you cannot convey a
823
+ covered work so as to satisfy simultaneously your obligations under this
824
+ License and any other pertinent obligations, then as a consequence you may
825
+ not convey it at all. For example, if you agree to terms that obligate you
826
+ to collect a royalty for further conveying from those to whom you convey
827
+ the Program, the only way you could satisfy both those terms and this
828
+ License would be to refrain entirely from conveying the Program.
829
+
830
+ 13. Use with the GNU Affero General Public License.
831
+
832
+ Notwithstanding any other provision of this License, you have
833
+ permission to link or combine any covered work with a work licensed
834
+ under version 3 of the GNU Affero General Public License into a single
835
+ combined work, and to convey the resulting work. The terms of this
836
+ License will continue to apply to the part which is the covered work,
837
+ but the special requirements of the GNU Affero General Public License,
838
+ section 13, concerning interaction through a network will apply to the
839
+ combination as such.
840
+
841
+ 14. Revised Versions of this License.
842
+
843
+ The Free Software Foundation may publish revised and/or new versions of
844
+ the GNU General Public License from time to time. Such new versions will
845
+ be similar in spirit to the present version, but may differ in detail to
846
+ address new problems or concerns.
847
+
848
+ Each version is given a distinguishing version number. If the
849
+ Program specifies that a certain numbered version of the GNU General
850
+ Public License "or any later version" applies to it, you have the
851
+ option of following the terms and conditions either of that numbered
852
+ version or of any later version published by the Free Software
853
+ Foundation. If the Program does not specify a version number of the
854
+ GNU General Public License, you may choose any version ever published
855
+ by the Free Software Foundation.
856
+
857
+ If the Program specifies that a proxy can decide which future
858
+ versions of the GNU General Public License can be used, that proxy's
859
+ public statement of acceptance of a version permanently authorizes you
860
+ to choose that version for the Program.
861
+
862
+ Later license versions may give you additional or different
863
+ permissions. However, no additional obligations are imposed on any
864
+ author or copyright holder as a result of your choosing to follow a
865
+ later version.
866
+
867
+ 15. Disclaimer of Warranty.
868
+
869
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
870
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
871
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
872
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
873
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
874
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
875
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
876
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
877
+
878
+ 16. Limitation of Liability.
879
+
880
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
881
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
882
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
883
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
884
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
885
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
886
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
887
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
888
+ SUCH DAMAGES.
889
+
890
+ 17. Interpretation of Sections 15 and 16.
891
+
892
+ If the disclaimer of warranty and limitation of liability provided
893
+ above cannot be given local legal effect according to their terms,
894
+ reviewing courts shall apply local law that most closely approximates
895
+ an absolute waiver of all civil liability in connection with the
896
+ Program, unless a warranty or assumption of liability accompanies a
897
+ copy of the Program in return for a fee.
898
+
899
+ END OF TERMS AND CONDITIONS
900
+
901
+ How to Apply These Terms to Your New Programs
902
+
903
+ If you develop a new program, and you want it to be of the greatest
904
+ possible use to the public, the best way to achieve this is to make it
905
+ free software which everyone can redistribute and change under these terms.
906
+
907
+ To do so, attach the following notices to the program. It is safest
908
+ to attach them to the start of each source file to most effectively
909
+ state the exclusion of warranty; and each file should have at least
910
+ the "copyright" line and a pointer to where the full notice is found.
911
+
912
+ <one line to give the program's name and a brief idea of what it does.>
913
+ Copyright (C) <year> <name of author>
914
+
915
+ This program is free software: you can redistribute it and/or modify
916
+ it under the terms of the GNU General Public License as published by
917
+ the Free Software Foundation, either version 3 of the License, or
918
+ (at your option) any later version.
919
+
920
+ This program is distributed in the hope that it will be useful,
921
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
922
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
923
+ GNU General Public License for more details.
924
+
925
+ You should have received a copy of the GNU General Public License
926
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
927
+
928
+ Also add information on how to contact you by electronic and paper mail.
929
+
930
+ If the program does terminal interaction, make it output a short
931
+ notice like this when it starts in an interactive mode:
932
+
933
+ <program> Copyright (C) <year> <name of author>
934
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
935
+ This is free software, and you are welcome to redistribute it
936
+ under certain conditions; type `show c' for details.
937
+
938
+ The hypothetical commands `show w' and `show c' should show the appropriate
939
+ parts of the General Public License. Of course, your program's commands
940
+ might be different; for a GUI interface, you would use an "about box".
941
+
942
+ You should also get your employer (if you work as a programmer) or school,
943
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
944
+ For more information on this, and how to apply and follow the GNU GPL, see
945
+ <http://www.gnu.org/licenses/>.
946
+
947
+ The GNU General Public License does not permit incorporating your program
948
+ into proprietary programs. If your program is a subroutine library, you
949
+ may consider it more useful to permit linking proprietary applications with
950
+ the library. If this is what you want to do, use the GNU Lesser General
951
+ Public License instead of this License. But first, please read
952
+ <http://www.gnu.org/philosophy/why-not-lgpl.html>.
953
+ CODE
954
+
955
+ git :add => "."
956
+ git :commit => "-a -m 'New Module'"