refinerycms 0.9.6.19 → 0.9.6.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. data/.gems +0 -8
  2. data/.gitignore +3 -1
  3. data/Rakefile +1 -5
  4. data/VERSION +1 -1
  5. data/bin/refinery-update-core +11 -2
  6. data/config/application.rb +6 -1
  7. data/config/environments/development.rb +10 -6
  8. data/config/settings.rb +3 -0
  9. data/db/migrate/20100305023036_change_users_columns_for_authlogic.rb +46 -0
  10. data/db/migrate/20100305023037_remove_unused_users_columns.rb +16 -0
  11. data/db/migrate/20100312155331_make_user_perishable_token_nullable.rb +13 -0
  12. data/db/migrate/20100312160327_make_user_persistence_token_nullable.rb +13 -0
  13. data/db/migrate/20100315203301_remove_state_from_users.rb +9 -0
  14. data/db/schema.rb +8 -21
  15. data/db/seeds.rb +5 -19
  16. data/lib/refinery/tasks/refinery.rb +1 -1
  17. data/public/javascripts/admin.js +6 -2
  18. data/public/javascripts/jquery-ui-1.8.min.js +374 -0
  19. data/public/javascripts/jquery.js +606 -444
  20. data/public/javascripts/refinery/admin.js +30 -9
  21. data/public/javascripts/refinery/boot_wym.js +4 -0
  22. data/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +3 -4
  23. data/public/stylesheets/refinery/refinery.css +11 -0
  24. data/public/stylesheets/wymeditor/skins/refinery/skin.css +3 -1
  25. data/public/stylesheets/wymeditor/skins/refinery/wymiframe.css +5 -5
  26. data/readme.md +13 -10
  27. data/test/fixtures/users.yml +5 -5
  28. data/test/functional/dashboard_controller_test.rb +0 -4
  29. data/test/functional/images_controller_test.rb +0 -3
  30. data/test/test_helper.rb +7 -3
  31. data/themes/hemingway/views/layouts/application.html.erb +1 -12
  32. data/vendor/plugins/authentication/app/controllers/admin/users_controller.rb +1 -3
  33. data/vendor/plugins/authentication/app/controllers/sessions_controller.rb +3 -14
  34. data/vendor/plugins/authentication/app/controllers/users_controller.rb +26 -37
  35. data/vendor/plugins/authentication/app/models/user.rb +29 -112
  36. data/vendor/plugins/authentication/app/models/user_mailer.rb +8 -5
  37. data/vendor/plugins/authentication/app/models/user_session.rb +9 -0
  38. data/vendor/plugins/authentication/app/views/admin/users/index.html.erb +1 -1
  39. data/vendor/plugins/authentication/app/views/sessions/new.html.erb +5 -4
  40. data/vendor/plugins/authentication/lib/authenticated_system.rb +40 -30
  41. data/vendor/plugins/authentication/rails/init.rb +9 -0
  42. data/vendor/plugins/authlogic/CHANGELOG.rdoc +345 -0
  43. data/vendor/plugins/authlogic/LICENSE +20 -0
  44. data/vendor/plugins/authlogic/README.rdoc +246 -0
  45. data/vendor/plugins/authlogic/Rakefile +42 -0
  46. data/vendor/plugins/authlogic/VERSION.yml +5 -0
  47. data/vendor/plugins/authlogic/authlogic.gemspec +217 -0
  48. data/vendor/plugins/authlogic/generators/session/session_generator.rb +9 -0
  49. data/vendor/plugins/authlogic/generators/session/templates/session.rb +2 -0
  50. data/vendor/plugins/authlogic/init.rb +1 -0
  51. data/vendor/plugins/authlogic/lib/authlogic.rb +64 -0
  52. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/base.rb +107 -0
  53. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/email.rb +110 -0
  54. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/logged_in_status.rb +60 -0
  55. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/login.rb +141 -0
  56. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/magic_columns.rb +24 -0
  57. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/password.rb +355 -0
  58. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/perishable_token.rb +105 -0
  59. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/persistence_token.rb +68 -0
  60. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/restful_authentication.rb +61 -0
  61. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/session_maintenance.rb +139 -0
  62. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/single_access_token.rb +65 -0
  63. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/validations_scope.rb +32 -0
  64. data/vendor/plugins/authlogic/lib/authlogic/authenticates_many/association.rb +42 -0
  65. data/vendor/plugins/authlogic/lib/authlogic/authenticates_many/base.rb +55 -0
  66. data/vendor/plugins/authlogic/lib/authlogic/controller_adapters/abstract_adapter.rb +67 -0
  67. data/vendor/plugins/authlogic/lib/authlogic/controller_adapters/merb_adapter.rb +30 -0
  68. data/vendor/plugins/authlogic/lib/authlogic/controller_adapters/rails_adapter.rb +48 -0
  69. data/vendor/plugins/authlogic/lib/authlogic/controller_adapters/sinatra_adapter.rb +61 -0
  70. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/aes256.rb +43 -0
  71. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/bcrypt.rb +90 -0
  72. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/md5.rb +34 -0
  73. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/sha1.rb +35 -0
  74. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/sha256.rb +50 -0
  75. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/sha512.rb +50 -0
  76. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/wordpress.rb +43 -0
  77. data/vendor/plugins/authlogic/lib/authlogic/i18n.rb +83 -0
  78. data/vendor/plugins/authlogic/lib/authlogic/i18n/translator.rb +15 -0
  79. data/vendor/plugins/authlogic/lib/authlogic/random.rb +33 -0
  80. data/vendor/plugins/authlogic/lib/authlogic/regex.rb +25 -0
  81. data/vendor/plugins/authlogic/lib/authlogic/session/activation.rb +58 -0
  82. data/vendor/plugins/authlogic/lib/authlogic/session/active_record_trickery.rb +64 -0
  83. data/vendor/plugins/authlogic/lib/authlogic/session/base.rb +37 -0
  84. data/vendor/plugins/authlogic/lib/authlogic/session/brute_force_protection.rb +96 -0
  85. data/vendor/plugins/authlogic/lib/authlogic/session/callbacks.rb +99 -0
  86. data/vendor/plugins/authlogic/lib/authlogic/session/cookies.rb +130 -0
  87. data/vendor/plugins/authlogic/lib/authlogic/session/existence.rb +93 -0
  88. data/vendor/plugins/authlogic/lib/authlogic/session/foundation.rb +63 -0
  89. data/vendor/plugins/authlogic/lib/authlogic/session/http_auth.rb +58 -0
  90. data/vendor/plugins/authlogic/lib/authlogic/session/id.rb +41 -0
  91. data/vendor/plugins/authlogic/lib/authlogic/session/klass.rb +78 -0
  92. data/vendor/plugins/authlogic/lib/authlogic/session/magic_columns.rb +95 -0
  93. data/vendor/plugins/authlogic/lib/authlogic/session/magic_states.rb +59 -0
  94. data/vendor/plugins/authlogic/lib/authlogic/session/params.rb +101 -0
  95. data/vendor/plugins/authlogic/lib/authlogic/session/password.rb +240 -0
  96. data/vendor/plugins/authlogic/lib/authlogic/session/perishable_token.rb +18 -0
  97. data/vendor/plugins/authlogic/lib/authlogic/session/persistence.rb +70 -0
  98. data/vendor/plugins/authlogic/lib/authlogic/session/priority_record.rb +34 -0
  99. data/vendor/plugins/authlogic/lib/authlogic/session/scopes.rb +101 -0
  100. data/vendor/plugins/authlogic/lib/authlogic/session/session.rb +62 -0
  101. data/vendor/plugins/authlogic/lib/authlogic/session/timeout.rb +82 -0
  102. data/vendor/plugins/authlogic/lib/authlogic/session/unauthorized_record.rb +50 -0
  103. data/vendor/plugins/authlogic/lib/authlogic/session/validation.rb +82 -0
  104. data/vendor/plugins/authlogic/lib/authlogic/test_case.rb +120 -0
  105. data/vendor/plugins/authlogic/lib/authlogic/test_case/mock_controller.rb +45 -0
  106. data/vendor/plugins/authlogic/lib/authlogic/test_case/mock_cookie_jar.rb +14 -0
  107. data/vendor/plugins/authlogic/lib/authlogic/test_case/mock_logger.rb +10 -0
  108. data/vendor/plugins/authlogic/lib/authlogic/test_case/mock_request.rb +19 -0
  109. data/vendor/plugins/authlogic/lib/authlogic/test_case/rails_request_adapter.rb +30 -0
  110. data/vendor/plugins/authlogic/rails/init.rb +1 -0
  111. data/vendor/plugins/authlogic/shoulda_macros/authlogic.rb +69 -0
  112. data/vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb +18 -0
  113. data/vendor/plugins/authlogic/test/acts_as_authentic_test/email_test.rb +97 -0
  114. data/vendor/plugins/authlogic/test/acts_as_authentic_test/logged_in_status_test.rb +36 -0
  115. data/vendor/plugins/authlogic/test/acts_as_authentic_test/login_test.rb +109 -0
  116. data/vendor/plugins/authlogic/test/acts_as_authentic_test/magic_columns_test.rb +27 -0
  117. data/vendor/plugins/authlogic/test/acts_as_authentic_test/password_test.rb +236 -0
  118. data/vendor/plugins/authlogic/test/acts_as_authentic_test/perishable_token_test.rb +90 -0
  119. data/vendor/plugins/authlogic/test/acts_as_authentic_test/persistence_token_test.rb +55 -0
  120. data/vendor/plugins/authlogic/test/acts_as_authentic_test/restful_authentication_test.rb +40 -0
  121. data/vendor/plugins/authlogic/test/acts_as_authentic_test/session_maintenance_test.rb +84 -0
  122. data/vendor/plugins/authlogic/test/acts_as_authentic_test/single_access_test.rb +44 -0
  123. data/vendor/plugins/authlogic/test/authenticates_many_test.rb +16 -0
  124. data/vendor/plugins/authlogic/test/crypto_provider_test/aes256_test.rb +14 -0
  125. data/vendor/plugins/authlogic/test/crypto_provider_test/bcrypt_test.rb +14 -0
  126. data/vendor/plugins/authlogic/test/crypto_provider_test/sha1_test.rb +23 -0
  127. data/vendor/plugins/authlogic/test/crypto_provider_test/sha256_test.rb +14 -0
  128. data/vendor/plugins/authlogic/test/crypto_provider_test/sha512_test.rb +14 -0
  129. data/vendor/plugins/authlogic/test/fixtures/companies.yml +5 -0
  130. data/vendor/plugins/authlogic/test/fixtures/employees.yml +17 -0
  131. data/vendor/plugins/authlogic/test/fixtures/projects.yml +3 -0
  132. data/vendor/plugins/authlogic/test/fixtures/users.yml +24 -0
  133. data/vendor/plugins/authlogic/test/i18n_test.rb +33 -0
  134. data/vendor/plugins/authlogic/test/libs/affiliate.rb +7 -0
  135. data/vendor/plugins/authlogic/test/libs/company.rb +6 -0
  136. data/vendor/plugins/authlogic/test/libs/employee.rb +7 -0
  137. data/vendor/plugins/authlogic/test/libs/employee_session.rb +2 -0
  138. data/vendor/plugins/authlogic/test/libs/ldaper.rb +3 -0
  139. data/vendor/plugins/authlogic/test/libs/ordered_hash.rb +9 -0
  140. data/vendor/plugins/authlogic/test/libs/project.rb +3 -0
  141. data/vendor/plugins/authlogic/test/libs/user.rb +5 -0
  142. data/vendor/plugins/authlogic/test/libs/user_session.rb +6 -0
  143. data/vendor/plugins/authlogic/test/random_test.rb +49 -0
  144. data/vendor/plugins/authlogic/test/session_test/activation_test.rb +43 -0
  145. data/vendor/plugins/authlogic/test/session_test/active_record_trickery_test.rb +36 -0
  146. data/vendor/plugins/authlogic/test/session_test/brute_force_protection_test.rb +101 -0
  147. data/vendor/plugins/authlogic/test/session_test/callbacks_test.rb +6 -0
  148. data/vendor/plugins/authlogic/test/session_test/cookies_test.rb +112 -0
  149. data/vendor/plugins/authlogic/test/session_test/credentials_test.rb +0 -0
  150. data/vendor/plugins/authlogic/test/session_test/existence_test.rb +64 -0
  151. data/vendor/plugins/authlogic/test/session_test/http_auth_test.rb +28 -0
  152. data/vendor/plugins/authlogic/test/session_test/id_test.rb +17 -0
  153. data/vendor/plugins/authlogic/test/session_test/klass_test.rb +40 -0
  154. data/vendor/plugins/authlogic/test/session_test/magic_columns_test.rb +62 -0
  155. data/vendor/plugins/authlogic/test/session_test/magic_states_test.rb +60 -0
  156. data/vendor/plugins/authlogic/test/session_test/params_test.rb +53 -0
  157. data/vendor/plugins/authlogic/test/session_test/password_test.rb +106 -0
  158. data/vendor/plugins/authlogic/test/session_test/perishability_test.rb +15 -0
  159. data/vendor/plugins/authlogic/test/session_test/persistence_test.rb +21 -0
  160. data/vendor/plugins/authlogic/test/session_test/scopes_test.rb +60 -0
  161. data/vendor/plugins/authlogic/test/session_test/session_test.rb +59 -0
  162. data/vendor/plugins/authlogic/test/session_test/timeout_test.rb +52 -0
  163. data/vendor/plugins/authlogic/test/session_test/unauthorized_record_test.rb +13 -0
  164. data/vendor/plugins/authlogic/test/session_test/validation_test.rb +23 -0
  165. data/vendor/plugins/authlogic/test/test_helper.rb +182 -0
  166. data/vendor/plugins/dashboard/app/helpers/admin/dashboard_helper.rb +1 -1
  167. data/vendor/plugins/friendly_id/Changelog.md +243 -0
  168. data/vendor/plugins/friendly_id/Contributors.md +30 -0
  169. data/vendor/plugins/friendly_id/Gemfile +2 -0
  170. data/vendor/plugins/friendly_id/Guide.md +509 -0
  171. data/vendor/plugins/friendly_id/LICENSE +19 -0
  172. data/vendor/plugins/friendly_id/README.md +76 -0
  173. data/vendor/plugins/friendly_id/Rakefile +68 -0
  174. data/vendor/plugins/friendly_id/extras/README.txt +3 -0
  175. data/vendor/plugins/friendly_id/extras/bench.rb +59 -0
  176. data/vendor/plugins/friendly_id/extras/extras.rb +31 -0
  177. data/vendor/plugins/friendly_id/extras/prof.rb +14 -0
  178. data/vendor/plugins/friendly_id/extras/template-gem.rb +26 -0
  179. data/vendor/plugins/friendly_id/extras/template-plugin.rb +28 -0
  180. data/vendor/plugins/friendly_id/friendly_id.gemspec +40 -0
  181. data/vendor/plugins/friendly_id/generators/friendly_id/friendly_id_generator.rb +28 -0
  182. data/vendor/plugins/friendly_id/generators/friendly_id/templates/create_slugs.rb +18 -0
  183. data/vendor/plugins/friendly_id/lib/friendly_id.rb +67 -0
  184. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2.rb +47 -0
  185. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/configuration.rb +66 -0
  186. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/finders.rb +140 -0
  187. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/simple_model.rb +162 -0
  188. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/slug.rb +111 -0
  189. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/slugged_model.rb +323 -0
  190. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/tasks.rb +66 -0
  191. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/tasks/friendly_id.rake +19 -0
  192. data/vendor/plugins/friendly_id/lib/friendly_id/configuration.rb +132 -0
  193. data/vendor/plugins/friendly_id/lib/friendly_id/finders.rb +106 -0
  194. data/vendor/plugins/friendly_id/lib/friendly_id/slug_string.rb +292 -0
  195. data/vendor/plugins/friendly_id/lib/friendly_id/slugged.rb +91 -0
  196. data/vendor/plugins/friendly_id/lib/friendly_id/status.rb +35 -0
  197. data/vendor/plugins/friendly_id/lib/friendly_id/test.rb +175 -0
  198. data/vendor/plugins/friendly_id/lib/friendly_id/version.rb +8 -0
  199. data/vendor/plugins/friendly_id/rails/init.rb +2 -0
  200. data/vendor/plugins/friendly_id/test/active_record2/basic_slugged_model_test.rb +14 -0
  201. data/vendor/plugins/friendly_id/test/active_record2/cached_slug_test.rb +61 -0
  202. data/vendor/plugins/friendly_id/test/active_record2/core.rb +93 -0
  203. data/vendor/plugins/friendly_id/test/active_record2/custom_normalizer_test.rb +20 -0
  204. data/vendor/plugins/friendly_id/test/active_record2/custom_table_name_test.rb +22 -0
  205. data/vendor/plugins/friendly_id/test/active_record2/deprecated_test.rb +23 -0
  206. data/vendor/plugins/friendly_id/test/active_record2/scoped_model_test.rb +111 -0
  207. data/vendor/plugins/friendly_id/test/active_record2/simple_test.rb +59 -0
  208. data/vendor/plugins/friendly_id/test/active_record2/slug_test.rb +34 -0
  209. data/vendor/plugins/friendly_id/test/active_record2/slugged.rb +30 -0
  210. data/vendor/plugins/friendly_id/test/active_record2/slugged_status_test.rb +61 -0
  211. data/vendor/plugins/friendly_id/test/active_record2/sti_test.rb +22 -0
  212. data/vendor/plugins/friendly_id/test/active_record2/support/database.mysql.yml +4 -0
  213. data/vendor/plugins/friendly_id/test/active_record2/support/database.postgres.yml +6 -0
  214. data/vendor/plugins/friendly_id/test/active_record2/support/database.sqlite3.yml +2 -0
  215. data/vendor/plugins/friendly_id/test/active_record2/support/models.rb +78 -0
  216. data/vendor/plugins/friendly_id/test/active_record2/tasks_test.rb +82 -0
  217. data/vendor/plugins/friendly_id/test/active_record2/test_helper.rb +114 -0
  218. data/vendor/plugins/friendly_id/test/friendly_id_test.rb +60 -0
  219. data/vendor/plugins/friendly_id/test/slug_string_test.rb +78 -0
  220. data/vendor/plugins/friendly_id/test/test_helper.rb +9 -0
  221. data/vendor/plugins/hpricot/CHANGELOG +88 -0
  222. data/vendor/plugins/hpricot/COPYING +18 -0
  223. data/vendor/plugins/hpricot/README +275 -0
  224. data/vendor/plugins/hpricot/Rakefile +272 -0
  225. data/vendor/plugins/hpricot/ext/fast_xs/FastXsService.java +1030 -0
  226. data/vendor/plugins/hpricot/ext/fast_xs/extconf.rb +4 -0
  227. data/vendor/plugins/hpricot/ext/fast_xs/fast_xs.c +201 -0
  228. data/vendor/plugins/hpricot/ext/hpricot_scan/HpricotCss.java +831 -0
  229. data/vendor/plugins/hpricot/ext/hpricot_scan/HpricotScanService.java +2086 -0
  230. data/vendor/plugins/hpricot/ext/hpricot_scan/MANIFEST +0 -0
  231. data/vendor/plugins/hpricot/ext/hpricot_scan/extconf.rb +6 -0
  232. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_common.rl +76 -0
  233. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_css.c +3503 -0
  234. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_css.java.rl +155 -0
  235. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_css.rl +115 -0
  236. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.c +6927 -0
  237. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.h +79 -0
  238. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.java.rl +1152 -0
  239. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.rl +788 -0
  240. data/vendor/plugins/hpricot/extras/mingw-rbconfig.rb +176 -0
  241. data/vendor/plugins/hpricot/hpricot.gemspec +17 -0
  242. data/vendor/plugins/hpricot/lib/hpricot.rb +26 -0
  243. data/vendor/plugins/hpricot/lib/hpricot/blankslate.rb +63 -0
  244. data/vendor/plugins/hpricot/lib/hpricot/builder.rb +216 -0
  245. data/vendor/plugins/hpricot/lib/hpricot/elements.rb +510 -0
  246. data/vendor/plugins/hpricot/lib/hpricot/htmlinfo.rb +691 -0
  247. data/vendor/plugins/hpricot/lib/hpricot/inspect.rb +103 -0
  248. data/vendor/plugins/hpricot/lib/hpricot/modules.rb +40 -0
  249. data/vendor/plugins/hpricot/lib/hpricot/parse.rb +38 -0
  250. data/vendor/plugins/hpricot/lib/hpricot/tag.rb +219 -0
  251. data/vendor/plugins/hpricot/lib/hpricot/tags.rb +164 -0
  252. data/vendor/plugins/hpricot/lib/hpricot/traverse.rb +839 -0
  253. data/vendor/plugins/hpricot/lib/hpricot/xchar.rb +94 -0
  254. data/vendor/plugins/hpricot/setup.rb +1585 -0
  255. data/vendor/plugins/hpricot/test/files/basic.xhtml +17 -0
  256. data/vendor/plugins/hpricot/test/files/boingboing.html +2266 -0
  257. data/vendor/plugins/hpricot/test/files/cy0.html +3653 -0
  258. data/vendor/plugins/hpricot/test/files/immob.html +400 -0
  259. data/vendor/plugins/hpricot/test/files/pace_application.html +1320 -0
  260. data/vendor/plugins/hpricot/test/files/tenderlove.html +16 -0
  261. data/vendor/plugins/hpricot/test/files/uswebgen.html +220 -0
  262. data/vendor/plugins/hpricot/test/files/utf8.html +1054 -0
  263. data/vendor/plugins/hpricot/test/files/week9.html +1723 -0
  264. data/vendor/plugins/hpricot/test/files/why.xml +19 -0
  265. data/vendor/plugins/hpricot/test/load_files.rb +7 -0
  266. data/vendor/plugins/hpricot/test/nokogiri-bench.rb +64 -0
  267. data/vendor/plugins/hpricot/test/test_alter.rb +96 -0
  268. data/vendor/plugins/hpricot/test/test_builder.rb +37 -0
  269. data/vendor/plugins/hpricot/test/test_parser.rb +428 -0
  270. data/vendor/plugins/hpricot/test/test_paths.rb +25 -0
  271. data/vendor/plugins/hpricot/test/test_preserved.rb +88 -0
  272. data/vendor/plugins/hpricot/test/test_xml.rb +28 -0
  273. data/vendor/plugins/inquiries/app/controllers/admin/inquiries_controller.rb +1 -6
  274. data/vendor/plugins/inquiries/app/helpers/inquiries_helper.rb +0 -11
  275. data/vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb +10 -6
  276. data/vendor/plugins/inquiries/app/views/inquiry_mailer/confirmation.html.erb +1 -1
  277. data/vendor/plugins/inquiries/config/routes.rb +1 -1
  278. data/vendor/plugins/pages/app/controllers/admin/pages_controller.rb +16 -3
  279. data/vendor/plugins/pages/app/models/page_part.rb +9 -0
  280. data/vendor/plugins/rails_indexes/lib/indexer.rb +0 -2
  281. data/vendor/plugins/refinery/app/views/admin/_head.html.erb +2 -1
  282. data/vendor/plugins/refinery/app/views/shared/_head.html.erb +0 -1
  283. data/vendor/plugins/refinery/app/views/shared/_ie6check.html.erb +23 -11
  284. data/vendor/plugins/refinery/app/views/welcome.html.erb +1 -1
  285. data/vendor/plugins/refinery/app/views/wymiframe.html.erb +2 -1
  286. data/vendor/plugins/refinery/lib/generators/refinery/USAGE +1 -1
  287. data/vendor/plugins/refinery/lib/generators/refinery/templates/migration.rb +2 -2
  288. data/vendor/plugins/refinery/lib/generators/refinery/templates/model.rb +4 -0
  289. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb +6 -0
  290. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/show.html.erb +5 -3
  291. data/vendor/plugins/refinery/lib/refinery/application_helper.rb +2 -2
  292. data/vendor/plugins/refinery/lib/refinery/initializer.rb +4 -41
  293. data/vendor/plugins/refinery_settings/app/models/refinery_setting.rb +7 -3
  294. data/vendor/plugins/slim_scrooge/README.textile +112 -0
  295. data/vendor/plugins/slim_scrooge/Rakefile +29 -0
  296. data/vendor/plugins/slim_scrooge/VERSION.yml +5 -0
  297. data/vendor/plugins/slim_scrooge/ext/Rakefile +42 -0
  298. data/vendor/plugins/slim_scrooge/ext/extconf.rb +5 -0
  299. data/vendor/plugins/slim_scrooge/lib/slim_scrooge.rb +16 -0
  300. data/vendor/plugins/slim_scrooge/lib/slim_scrooge/callsite.rb +96 -0
  301. data/vendor/plugins/slim_scrooge/lib/slim_scrooge/callsites.rb +70 -0
  302. data/vendor/plugins/slim_scrooge/lib/slim_scrooge/monitored_hash.rb +103 -0
  303. data/vendor/plugins/slim_scrooge/lib/slim_scrooge/result_set.rb +38 -0
  304. data/vendor/plugins/slim_scrooge/lib/slim_scrooge/simple_set.rb +34 -0
  305. data/vendor/plugins/slim_scrooge/lib/slim_scrooge/slim_scrooge.rb +46 -0
  306. data/vendor/plugins/slim_scrooge/rails/init.rb +8 -0
  307. data/vendor/plugins/slim_scrooge/slim_scrooge.gemspec +62 -0
  308. data/vendor/plugins/slim_scrooge/slim_scrooge_windows.gemspec +59 -0
  309. data/vendor/plugins/slim_scrooge/test/active_record_setup.rb +3 -0
  310. data/vendor/plugins/slim_scrooge/test/helper.rb +91 -0
  311. data/vendor/plugins/slim_scrooge/test/models/course.rb +2 -0
  312. data/vendor/plugins/slim_scrooge/test/schema/schema.rb +5 -0
  313. data/vendor/plugins/slim_scrooge/test/setup.rb +5 -0
  314. data/vendor/plugins/themes/app/models/theme.rb +7 -0
  315. data/vendor/plugins/themes/lib/theme_server.rb +3 -1
  316. data/vendor/plugins/themes/rails/init.rb +16 -13
  317. data/vendor/plugins/will_paginate/.manifest +43 -0
  318. data/vendor/plugins/will_paginate/CHANGELOG.rdoc +139 -0
  319. data/vendor/plugins/will_paginate/LICENSE +18 -0
  320. data/vendor/plugins/will_paginate/README.rdoc +107 -0
  321. data/vendor/plugins/will_paginate/Rakefile +53 -0
  322. data/vendor/plugins/will_paginate/examples/apple-circle.gif +0 -0
  323. data/vendor/plugins/will_paginate/examples/index.haml +69 -0
  324. data/vendor/plugins/will_paginate/examples/index.html +92 -0
  325. data/vendor/plugins/will_paginate/examples/pagination.css +90 -0
  326. data/vendor/plugins/will_paginate/examples/pagination.sass +91 -0
  327. data/vendor/plugins/will_paginate/init.rb +1 -0
  328. data/vendor/plugins/will_paginate/lib/will_paginate.rb +90 -0
  329. data/vendor/plugins/will_paginate/lib/will_paginate/array.rb +16 -0
  330. data/vendor/plugins/will_paginate/lib/will_paginate/collection.rb +146 -0
  331. data/vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb +43 -0
  332. data/vendor/plugins/will_paginate/lib/will_paginate/finder.rb +264 -0
  333. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb +170 -0
  334. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb +37 -0
  335. data/vendor/plugins/will_paginate/lib/will_paginate/version.rb +9 -0
  336. data/vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb +408 -0
  337. data/vendor/plugins/will_paginate/test/boot.rb +21 -0
  338. data/vendor/plugins/will_paginate/test/collection_test.rb +143 -0
  339. data/vendor/plugins/will_paginate/test/console +8 -0
  340. data/vendor/plugins/will_paginate/test/database.yml +22 -0
  341. data/vendor/plugins/will_paginate/test/finder_test.rb +473 -0
  342. data/vendor/plugins/will_paginate/test/fixtures/admin.rb +3 -0
  343. data/vendor/plugins/will_paginate/test/fixtures/developer.rb +14 -0
  344. data/vendor/plugins/will_paginate/test/fixtures/developers_projects.yml +13 -0
  345. data/vendor/plugins/will_paginate/test/fixtures/project.rb +15 -0
  346. data/vendor/plugins/will_paginate/test/fixtures/projects.yml +6 -0
  347. data/vendor/plugins/will_paginate/test/fixtures/replies.yml +29 -0
  348. data/vendor/plugins/will_paginate/test/fixtures/reply.rb +7 -0
  349. data/vendor/plugins/will_paginate/test/fixtures/schema.rb +38 -0
  350. data/vendor/plugins/will_paginate/test/fixtures/topic.rb +10 -0
  351. data/vendor/plugins/will_paginate/test/fixtures/topics.yml +30 -0
  352. data/vendor/plugins/will_paginate/test/fixtures/user.rb +2 -0
  353. data/vendor/plugins/will_paginate/test/fixtures/users.yml +35 -0
  354. data/vendor/plugins/will_paginate/test/helper.rb +37 -0
  355. data/vendor/plugins/will_paginate/test/lib/activerecord_test_case.rb +43 -0
  356. data/vendor/plugins/will_paginate/test/lib/activerecord_test_connector.rb +75 -0
  357. data/vendor/plugins/will_paginate/test/lib/load_fixtures.rb +11 -0
  358. data/vendor/plugins/will_paginate/test/lib/view_test_process.rb +179 -0
  359. data/vendor/plugins/will_paginate/test/tasks.rake +59 -0
  360. data/vendor/plugins/will_paginate/test/view_test.rb +373 -0
  361. data/vendor/plugins/will_paginate/will_paginate.gemspec +19 -0
  362. metadata +308 -27
  363. data/db/migrate/20091029034951_remove_blurb_from_news_items.rb +0 -9
  364. data/public/javascripts/jquery-ui-1.8rc1.min.js +0 -375
  365. data/test/fixtures/news_items.yml +0 -14
  366. data/test/unit/news_items_test.rb +0 -33
  367. data/vendor/plugins/authentication/test/fixtures/users.yml +0 -19
  368. data/vendor/plugins/authentication/test/functional/sessions_controller_test.rb +0 -85
  369. data/vendor/plugins/authentication/test/functional/users_controller_test.rb +0 -99
  370. data/vendor/plugins/authentication/test/unit/user_test.rb +0 -164
  371. data/vendor/plugins/news/app/controllers/admin/news_items_controller.rb +0 -5
  372. data/vendor/plugins/news/app/controllers/news_items_controller.rb +0 -20
  373. data/vendor/plugins/news/app/models/news_item.rb +0 -24
  374. data/vendor/plugins/news/app/views/admin/news_items/_form.html.erb +0 -19
  375. data/vendor/plugins/news/app/views/admin/news_items/_news_item.html.erb +0 -15
  376. data/vendor/plugins/news/app/views/admin/news_items/edit.html.erb +0 -1
  377. data/vendor/plugins/news/app/views/admin/news_items/index.html.erb +0 -31
  378. data/vendor/plugins/news/app/views/admin/news_items/new.html.erb +0 -1
  379. data/vendor/plugins/news/app/views/news_items/_recent_posts.html.erb +0 -8
  380. data/vendor/plugins/news/app/views/news_items/index.html.erb +0 -17
  381. data/vendor/plugins/news/app/views/news_items/index.rss.builder +0 -26
  382. data/vendor/plugins/news/app/views/news_items/show.html.erb +0 -13
  383. data/vendor/plugins/news/config/routes.rb +0 -7
  384. data/vendor/plugins/news/news.md +0 -20
  385. data/vendor/plugins/news/rails/init.rb +0 -11
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 6
9
- - 19
10
- version: 0.9.6.19
9
+ - 21
10
+ version: 0.9.6.21
11
11
  platform: ruby
12
12
  authors:
13
13
  - Resolve Digital
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-03-04 00:00:00 +13:00
20
+ date: 2010-03-23 00:00:00 +13:00
21
21
  default_executable:
22
22
  dependencies: []
23
23
 
@@ -60,8 +60,8 @@ files:
60
60
  - config/preinitializer.rb
61
61
  - config/rackspace_cloudfiles.yml.example
62
62
  - config/routes.rb
63
+ - config/settings.rb
63
64
  - contributors.md
64
- - db/migrate/20091029034951_remove_blurb_from_news_items.rb
65
65
  - db/migrate/20091109012126_add_missing_indexes.rb
66
66
  - db/migrate/20091130040711_add_down_for_maintenance_page.rb
67
67
  - db/migrate/20091207033335_add_superuser_to_users.rb
@@ -70,6 +70,11 @@ files:
70
70
  - db/migrate/20100202034802_remove_custom_title_image_id_and_image_id_from_pages.rb
71
71
  - db/migrate/20100204011654_change_part_titles_to_titleized_version_for_new_format.rb
72
72
  - db/migrate/20100223211536_remove_themes_table.rb
73
+ - db/migrate/20100305023036_change_users_columns_for_authlogic.rb
74
+ - db/migrate/20100305023037_remove_unused_users_columns.rb
75
+ - db/migrate/20100312155331_make_user_perishable_token_nullable.rb
76
+ - db/migrate/20100312160327_make_user_persistence_token_nullable.rb
77
+ - db/migrate/20100315203301_remove_state_from_users.rb
73
78
  - db/schema.rb
74
79
  - db/seeds.rb
75
80
  - doc/.yardoc/checksums
@@ -160,7 +165,7 @@ files:
160
165
  - public/images/wymeditor/skins/wymeditor_icon.png
161
166
  - public/javascripts/admin.js
162
167
  - public/javascripts/application.js
163
- - public/javascripts/jquery-ui-1.8rc1.min.js
168
+ - public/javascripts/jquery-ui-1.8.min.js
164
169
  - public/javascripts/jquery.js
165
170
  - public/javascripts/jquery/GPL-LICENSE.txt
166
171
  - public/javascripts/jquery/MIT-LICENSE.txt
@@ -226,7 +231,6 @@ files:
226
231
  - test/files/teng.pdf
227
232
  - test/fixtures/images.yml
228
233
  - test/fixtures/inquiries.yml
229
- - test/fixtures/news_items.yml
230
234
  - test/fixtures/page_parts.yml
231
235
  - test/fixtures/pages.yml
232
236
  - test/fixtures/refinery_settings.yml
@@ -239,7 +243,6 @@ files:
239
243
  - test/test_helper.rb
240
244
  - test/unit/image_test.rb
241
245
  - test/unit/inquiry_test.rb
242
- - test/unit/news_items_test.rb
243
246
  - test/unit/page_part_test.rb
244
247
  - test/unit/page_test.rb
245
248
  - test/unit/refinery_setting_test.rb
@@ -352,6 +355,7 @@ files:
352
355
  - vendor/plugins/authentication/app/models/user.rb
353
356
  - vendor/plugins/authentication/app/models/user_mailer.rb
354
357
  - vendor/plugins/authentication/app/models/user_plugin.rb
358
+ - vendor/plugins/authentication/app/models/user_session.rb
355
359
  - vendor/plugins/authentication/app/views/admin/users/_form.html.erb
356
360
  - vendor/plugins/authentication/app/views/admin/users/edit.html.erb
357
361
  - vendor/plugins/authentication/app/views/admin/users/index.html.erb
@@ -366,15 +370,135 @@ files:
366
370
  - vendor/plugins/authentication/lib/authenticated_system.rb
367
371
  - vendor/plugins/authentication/lib/authenticated_test_helper.rb
368
372
  - vendor/plugins/authentication/rails/init.rb
369
- - vendor/plugins/authentication/test/fixtures/users.yml
370
373
  - vendor/plugins/authentication/test/functional/admin/base_controller_test.rb
371
374
  - vendor/plugins/authentication/test/functional/admin/dashboard_controller_test.rb
372
375
  - vendor/plugins/authentication/test/functional/admin/pages_controller_test.rb
373
- - vendor/plugins/authentication/test/functional/sessions_controller_test.rb
374
- - vendor/plugins/authentication/test/functional/users_controller_test.rb
375
376
  - vendor/plugins/authentication/test/test_helper.rb
376
377
  - vendor/plugins/authentication/test/unit/user_mailer_test.rb
377
- - vendor/plugins/authentication/test/unit/user_test.rb
378
+ - vendor/plugins/authlogic/CHANGELOG.rdoc
379
+ - vendor/plugins/authlogic/LICENSE
380
+ - vendor/plugins/authlogic/README.rdoc
381
+ - vendor/plugins/authlogic/Rakefile
382
+ - vendor/plugins/authlogic/VERSION.yml
383
+ - vendor/plugins/authlogic/authlogic.gemspec
384
+ - vendor/plugins/authlogic/generators/session/session_generator.rb
385
+ - vendor/plugins/authlogic/generators/session/templates/session.rb
386
+ - vendor/plugins/authlogic/init.rb
387
+ - vendor/plugins/authlogic/lib/authlogic.rb
388
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/base.rb
389
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/email.rb
390
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/logged_in_status.rb
391
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/login.rb
392
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/magic_columns.rb
393
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/password.rb
394
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/perishable_token.rb
395
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/persistence_token.rb
396
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/restful_authentication.rb
397
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/session_maintenance.rb
398
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/single_access_token.rb
399
+ - vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/validations_scope.rb
400
+ - vendor/plugins/authlogic/lib/authlogic/authenticates_many/association.rb
401
+ - vendor/plugins/authlogic/lib/authlogic/authenticates_many/base.rb
402
+ - vendor/plugins/authlogic/lib/authlogic/controller_adapters/abstract_adapter.rb
403
+ - vendor/plugins/authlogic/lib/authlogic/controller_adapters/merb_adapter.rb
404
+ - vendor/plugins/authlogic/lib/authlogic/controller_adapters/rails_adapter.rb
405
+ - vendor/plugins/authlogic/lib/authlogic/controller_adapters/sinatra_adapter.rb
406
+ - vendor/plugins/authlogic/lib/authlogic/crypto_providers/aes256.rb
407
+ - vendor/plugins/authlogic/lib/authlogic/crypto_providers/bcrypt.rb
408
+ - vendor/plugins/authlogic/lib/authlogic/crypto_providers/md5.rb
409
+ - vendor/plugins/authlogic/lib/authlogic/crypto_providers/sha1.rb
410
+ - vendor/plugins/authlogic/lib/authlogic/crypto_providers/sha256.rb
411
+ - vendor/plugins/authlogic/lib/authlogic/crypto_providers/sha512.rb
412
+ - vendor/plugins/authlogic/lib/authlogic/crypto_providers/wordpress.rb
413
+ - vendor/plugins/authlogic/lib/authlogic/i18n.rb
414
+ - vendor/plugins/authlogic/lib/authlogic/i18n/translator.rb
415
+ - vendor/plugins/authlogic/lib/authlogic/random.rb
416
+ - vendor/plugins/authlogic/lib/authlogic/regex.rb
417
+ - vendor/plugins/authlogic/lib/authlogic/session/activation.rb
418
+ - vendor/plugins/authlogic/lib/authlogic/session/active_record_trickery.rb
419
+ - vendor/plugins/authlogic/lib/authlogic/session/base.rb
420
+ - vendor/plugins/authlogic/lib/authlogic/session/brute_force_protection.rb
421
+ - vendor/plugins/authlogic/lib/authlogic/session/callbacks.rb
422
+ - vendor/plugins/authlogic/lib/authlogic/session/cookies.rb
423
+ - vendor/plugins/authlogic/lib/authlogic/session/existence.rb
424
+ - vendor/plugins/authlogic/lib/authlogic/session/foundation.rb
425
+ - vendor/plugins/authlogic/lib/authlogic/session/http_auth.rb
426
+ - vendor/plugins/authlogic/lib/authlogic/session/id.rb
427
+ - vendor/plugins/authlogic/lib/authlogic/session/klass.rb
428
+ - vendor/plugins/authlogic/lib/authlogic/session/magic_columns.rb
429
+ - vendor/plugins/authlogic/lib/authlogic/session/magic_states.rb
430
+ - vendor/plugins/authlogic/lib/authlogic/session/params.rb
431
+ - vendor/plugins/authlogic/lib/authlogic/session/password.rb
432
+ - vendor/plugins/authlogic/lib/authlogic/session/perishable_token.rb
433
+ - vendor/plugins/authlogic/lib/authlogic/session/persistence.rb
434
+ - vendor/plugins/authlogic/lib/authlogic/session/priority_record.rb
435
+ - vendor/plugins/authlogic/lib/authlogic/session/scopes.rb
436
+ - vendor/plugins/authlogic/lib/authlogic/session/session.rb
437
+ - vendor/plugins/authlogic/lib/authlogic/session/timeout.rb
438
+ - vendor/plugins/authlogic/lib/authlogic/session/unauthorized_record.rb
439
+ - vendor/plugins/authlogic/lib/authlogic/session/validation.rb
440
+ - vendor/plugins/authlogic/lib/authlogic/test_case.rb
441
+ - vendor/plugins/authlogic/lib/authlogic/test_case/mock_controller.rb
442
+ - vendor/plugins/authlogic/lib/authlogic/test_case/mock_cookie_jar.rb
443
+ - vendor/plugins/authlogic/lib/authlogic/test_case/mock_logger.rb
444
+ - vendor/plugins/authlogic/lib/authlogic/test_case/mock_request.rb
445
+ - vendor/plugins/authlogic/lib/authlogic/test_case/rails_request_adapter.rb
446
+ - vendor/plugins/authlogic/rails/init.rb
447
+ - vendor/plugins/authlogic/shoulda_macros/authlogic.rb
448
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
449
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/email_test.rb
450
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/logged_in_status_test.rb
451
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/login_test.rb
452
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/magic_columns_test.rb
453
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/password_test.rb
454
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/perishable_token_test.rb
455
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/persistence_token_test.rb
456
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/restful_authentication_test.rb
457
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/session_maintenance_test.rb
458
+ - vendor/plugins/authlogic/test/acts_as_authentic_test/single_access_test.rb
459
+ - vendor/plugins/authlogic/test/authenticates_many_test.rb
460
+ - vendor/plugins/authlogic/test/crypto_provider_test/aes256_test.rb
461
+ - vendor/plugins/authlogic/test/crypto_provider_test/bcrypt_test.rb
462
+ - vendor/plugins/authlogic/test/crypto_provider_test/sha1_test.rb
463
+ - vendor/plugins/authlogic/test/crypto_provider_test/sha256_test.rb
464
+ - vendor/plugins/authlogic/test/crypto_provider_test/sha512_test.rb
465
+ - vendor/plugins/authlogic/test/fixtures/companies.yml
466
+ - vendor/plugins/authlogic/test/fixtures/employees.yml
467
+ - vendor/plugins/authlogic/test/fixtures/projects.yml
468
+ - vendor/plugins/authlogic/test/fixtures/users.yml
469
+ - vendor/plugins/authlogic/test/i18n_test.rb
470
+ - vendor/plugins/authlogic/test/libs/affiliate.rb
471
+ - vendor/plugins/authlogic/test/libs/company.rb
472
+ - vendor/plugins/authlogic/test/libs/employee.rb
473
+ - vendor/plugins/authlogic/test/libs/employee_session.rb
474
+ - vendor/plugins/authlogic/test/libs/ldaper.rb
475
+ - vendor/plugins/authlogic/test/libs/ordered_hash.rb
476
+ - vendor/plugins/authlogic/test/libs/project.rb
477
+ - vendor/plugins/authlogic/test/libs/user.rb
478
+ - vendor/plugins/authlogic/test/libs/user_session.rb
479
+ - vendor/plugins/authlogic/test/random_test.rb
480
+ - vendor/plugins/authlogic/test/session_test/activation_test.rb
481
+ - vendor/plugins/authlogic/test/session_test/active_record_trickery_test.rb
482
+ - vendor/plugins/authlogic/test/session_test/brute_force_protection_test.rb
483
+ - vendor/plugins/authlogic/test/session_test/callbacks_test.rb
484
+ - vendor/plugins/authlogic/test/session_test/cookies_test.rb
485
+ - vendor/plugins/authlogic/test/session_test/credentials_test.rb
486
+ - vendor/plugins/authlogic/test/session_test/existence_test.rb
487
+ - vendor/plugins/authlogic/test/session_test/http_auth_test.rb
488
+ - vendor/plugins/authlogic/test/session_test/id_test.rb
489
+ - vendor/plugins/authlogic/test/session_test/klass_test.rb
490
+ - vendor/plugins/authlogic/test/session_test/magic_columns_test.rb
491
+ - vendor/plugins/authlogic/test/session_test/magic_states_test.rb
492
+ - vendor/plugins/authlogic/test/session_test/params_test.rb
493
+ - vendor/plugins/authlogic/test/session_test/password_test.rb
494
+ - vendor/plugins/authlogic/test/session_test/perishability_test.rb
495
+ - vendor/plugins/authlogic/test/session_test/persistence_test.rb
496
+ - vendor/plugins/authlogic/test/session_test/scopes_test.rb
497
+ - vendor/plugins/authlogic/test/session_test/session_test.rb
498
+ - vendor/plugins/authlogic/test/session_test/timeout_test.rb
499
+ - vendor/plugins/authlogic/test/session_test/unauthorized_record_test.rb
500
+ - vendor/plugins/authlogic/test/session_test/validation_test.rb
501
+ - vendor/plugins/authlogic/test/test_helper.rb
378
502
  - vendor/plugins/dashboard/app/controllers/admin/dashboard_controller.rb
379
503
  - vendor/plugins/dashboard/app/helpers/admin/dashboard_helper.rb
380
504
  - vendor/plugins/dashboard/app/views/admin/dashboard/_recent_activity.html.erb
@@ -382,6 +506,112 @@ files:
382
506
  - vendor/plugins/dashboard/config/routes.rb
383
507
  - vendor/plugins/dashboard/dashboard.md
384
508
  - vendor/plugins/dashboard/rails/init.rb
509
+ - vendor/plugins/friendly_id/Changelog.md
510
+ - vendor/plugins/friendly_id/Contributors.md
511
+ - vendor/plugins/friendly_id/Gemfile
512
+ - vendor/plugins/friendly_id/Guide.md
513
+ - vendor/plugins/friendly_id/LICENSE
514
+ - vendor/plugins/friendly_id/README.md
515
+ - vendor/plugins/friendly_id/Rakefile
516
+ - vendor/plugins/friendly_id/extras/README.txt
517
+ - vendor/plugins/friendly_id/extras/bench.rb
518
+ - vendor/plugins/friendly_id/extras/extras.rb
519
+ - vendor/plugins/friendly_id/extras/prof.rb
520
+ - vendor/plugins/friendly_id/extras/template-gem.rb
521
+ - vendor/plugins/friendly_id/extras/template-plugin.rb
522
+ - vendor/plugins/friendly_id/friendly_id.gemspec
523
+ - vendor/plugins/friendly_id/generators/friendly_id/friendly_id_generator.rb
524
+ - vendor/plugins/friendly_id/generators/friendly_id/templates/create_slugs.rb
525
+ - vendor/plugins/friendly_id/lib/friendly_id.rb
526
+ - vendor/plugins/friendly_id/lib/friendly_id/active_record2.rb
527
+ - vendor/plugins/friendly_id/lib/friendly_id/active_record2/configuration.rb
528
+ - vendor/plugins/friendly_id/lib/friendly_id/active_record2/finders.rb
529
+ - vendor/plugins/friendly_id/lib/friendly_id/active_record2/simple_model.rb
530
+ - vendor/plugins/friendly_id/lib/friendly_id/active_record2/slug.rb
531
+ - vendor/plugins/friendly_id/lib/friendly_id/active_record2/slugged_model.rb
532
+ - vendor/plugins/friendly_id/lib/friendly_id/active_record2/tasks.rb
533
+ - vendor/plugins/friendly_id/lib/friendly_id/active_record2/tasks/friendly_id.rake
534
+ - vendor/plugins/friendly_id/lib/friendly_id/configuration.rb
535
+ - vendor/plugins/friendly_id/lib/friendly_id/finders.rb
536
+ - vendor/plugins/friendly_id/lib/friendly_id/slug_string.rb
537
+ - vendor/plugins/friendly_id/lib/friendly_id/slugged.rb
538
+ - vendor/plugins/friendly_id/lib/friendly_id/status.rb
539
+ - vendor/plugins/friendly_id/lib/friendly_id/test.rb
540
+ - vendor/plugins/friendly_id/lib/friendly_id/version.rb
541
+ - vendor/plugins/friendly_id/rails/init.rb
542
+ - vendor/plugins/friendly_id/test/active_record2/basic_slugged_model_test.rb
543
+ - vendor/plugins/friendly_id/test/active_record2/cached_slug_test.rb
544
+ - vendor/plugins/friendly_id/test/active_record2/core.rb
545
+ - vendor/plugins/friendly_id/test/active_record2/custom_normalizer_test.rb
546
+ - vendor/plugins/friendly_id/test/active_record2/custom_table_name_test.rb
547
+ - vendor/plugins/friendly_id/test/active_record2/deprecated_test.rb
548
+ - vendor/plugins/friendly_id/test/active_record2/scoped_model_test.rb
549
+ - vendor/plugins/friendly_id/test/active_record2/simple_test.rb
550
+ - vendor/plugins/friendly_id/test/active_record2/slug_test.rb
551
+ - vendor/plugins/friendly_id/test/active_record2/slugged.rb
552
+ - vendor/plugins/friendly_id/test/active_record2/slugged_status_test.rb
553
+ - vendor/plugins/friendly_id/test/active_record2/sti_test.rb
554
+ - vendor/plugins/friendly_id/test/active_record2/support/database.mysql.yml
555
+ - vendor/plugins/friendly_id/test/active_record2/support/database.postgres.yml
556
+ - vendor/plugins/friendly_id/test/active_record2/support/database.sqlite3.yml
557
+ - vendor/plugins/friendly_id/test/active_record2/support/models.rb
558
+ - vendor/plugins/friendly_id/test/active_record2/tasks_test.rb
559
+ - vendor/plugins/friendly_id/test/active_record2/test_helper.rb
560
+ - vendor/plugins/friendly_id/test/friendly_id_test.rb
561
+ - vendor/plugins/friendly_id/test/slug_string_test.rb
562
+ - vendor/plugins/friendly_id/test/test_helper.rb
563
+ - vendor/plugins/hpricot/CHANGELOG
564
+ - vendor/plugins/hpricot/COPYING
565
+ - vendor/plugins/hpricot/README
566
+ - vendor/plugins/hpricot/Rakefile
567
+ - vendor/plugins/hpricot/ext/fast_xs/FastXsService.java
568
+ - vendor/plugins/hpricot/ext/fast_xs/extconf.rb
569
+ - vendor/plugins/hpricot/ext/fast_xs/fast_xs.c
570
+ - vendor/plugins/hpricot/ext/hpricot_scan/HpricotCss.java
571
+ - vendor/plugins/hpricot/ext/hpricot_scan/HpricotScanService.java
572
+ - vendor/plugins/hpricot/ext/hpricot_scan/MANIFEST
573
+ - vendor/plugins/hpricot/ext/hpricot_scan/extconf.rb
574
+ - vendor/plugins/hpricot/ext/hpricot_scan/hpricot_common.rl
575
+ - vendor/plugins/hpricot/ext/hpricot_scan/hpricot_css.c
576
+ - vendor/plugins/hpricot/ext/hpricot_scan/hpricot_css.java.rl
577
+ - vendor/plugins/hpricot/ext/hpricot_scan/hpricot_css.rl
578
+ - vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.c
579
+ - vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.h
580
+ - vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.java.rl
581
+ - vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.rl
582
+ - vendor/plugins/hpricot/extras/mingw-rbconfig.rb
583
+ - vendor/plugins/hpricot/hpricot.gemspec
584
+ - vendor/plugins/hpricot/lib/hpricot.rb
585
+ - vendor/plugins/hpricot/lib/hpricot/blankslate.rb
586
+ - vendor/plugins/hpricot/lib/hpricot/builder.rb
587
+ - vendor/plugins/hpricot/lib/hpricot/elements.rb
588
+ - vendor/plugins/hpricot/lib/hpricot/htmlinfo.rb
589
+ - vendor/plugins/hpricot/lib/hpricot/inspect.rb
590
+ - vendor/plugins/hpricot/lib/hpricot/modules.rb
591
+ - vendor/plugins/hpricot/lib/hpricot/parse.rb
592
+ - vendor/plugins/hpricot/lib/hpricot/tag.rb
593
+ - vendor/plugins/hpricot/lib/hpricot/tags.rb
594
+ - vendor/plugins/hpricot/lib/hpricot/traverse.rb
595
+ - vendor/plugins/hpricot/lib/hpricot/xchar.rb
596
+ - vendor/plugins/hpricot/setup.rb
597
+ - vendor/plugins/hpricot/test/files/basic.xhtml
598
+ - vendor/plugins/hpricot/test/files/boingboing.html
599
+ - vendor/plugins/hpricot/test/files/cy0.html
600
+ - vendor/plugins/hpricot/test/files/immob.html
601
+ - vendor/plugins/hpricot/test/files/pace_application.html
602
+ - vendor/plugins/hpricot/test/files/tenderlove.html
603
+ - vendor/plugins/hpricot/test/files/uswebgen.html
604
+ - vendor/plugins/hpricot/test/files/utf8.html
605
+ - vendor/plugins/hpricot/test/files/week9.html
606
+ - vendor/plugins/hpricot/test/files/why.xml
607
+ - vendor/plugins/hpricot/test/load_files.rb
608
+ - vendor/plugins/hpricot/test/nokogiri-bench.rb
609
+ - vendor/plugins/hpricot/test/test_alter.rb
610
+ - vendor/plugins/hpricot/test/test_builder.rb
611
+ - vendor/plugins/hpricot/test/test_parser.rb
612
+ - vendor/plugins/hpricot/test/test_paths.rb
613
+ - vendor/plugins/hpricot/test/test_preserved.rb
614
+ - vendor/plugins/hpricot/test/test_xml.rb
385
615
  - vendor/plugins/images/app/controllers/admin/images_controller.rb
386
616
  - vendor/plugins/images/app/helpers/admin/images_helper.rb
387
617
  - vendor/plugins/images/app/models/image.rb
@@ -418,21 +648,6 @@ files:
418
648
  - vendor/plugins/inquiries/config/routes.rb
419
649
  - vendor/plugins/inquiries/inquiries.md
420
650
  - vendor/plugins/inquiries/rails/init.rb
421
- - vendor/plugins/news/app/controllers/admin/news_items_controller.rb
422
- - vendor/plugins/news/app/controllers/news_items_controller.rb
423
- - vendor/plugins/news/app/models/news_item.rb
424
- - vendor/plugins/news/app/views/admin/news_items/_form.html.erb
425
- - vendor/plugins/news/app/views/admin/news_items/_news_item.html.erb
426
- - vendor/plugins/news/app/views/admin/news_items/edit.html.erb
427
- - vendor/plugins/news/app/views/admin/news_items/index.html.erb
428
- - vendor/plugins/news/app/views/admin/news_items/new.html.erb
429
- - vendor/plugins/news/app/views/news_items/_recent_posts.html.erb
430
- - vendor/plugins/news/app/views/news_items/index.html.erb
431
- - vendor/plugins/news/app/views/news_items/index.rss.builder
432
- - vendor/plugins/news/app/views/news_items/show.html.erb
433
- - vendor/plugins/news/config/routes.rb
434
- - vendor/plugins/news/news.md
435
- - vendor/plugins/news/rails/init.rb
436
651
  - vendor/plugins/pages/app/controllers/admin/page_dialogs_controller.rb
437
652
  - vendor/plugins/pages/app/controllers/admin/page_parts_controller.rb
438
653
  - vendor/plugins/pages/app/controllers/admin/pages_controller.rb
@@ -567,10 +782,77 @@ files:
567
782
  - vendor/plugins/resources/config/routes.rb
568
783
  - vendor/plugins/resources/rails/init.rb
569
784
  - vendor/plugins/resources/resources.md
785
+ - vendor/plugins/slim_scrooge/README.textile
786
+ - vendor/plugins/slim_scrooge/Rakefile
787
+ - vendor/plugins/slim_scrooge/VERSION.yml
788
+ - vendor/plugins/slim_scrooge/ext/Rakefile
789
+ - vendor/plugins/slim_scrooge/ext/callsite_hash.c
790
+ - vendor/plugins/slim_scrooge/ext/extconf.rb
791
+ - vendor/plugins/slim_scrooge/lib/slim_scrooge.rb
792
+ - vendor/plugins/slim_scrooge/lib/slim_scrooge/callsite.rb
793
+ - vendor/plugins/slim_scrooge/lib/slim_scrooge/callsites.rb
794
+ - vendor/plugins/slim_scrooge/lib/slim_scrooge/monitored_hash.rb
795
+ - vendor/plugins/slim_scrooge/lib/slim_scrooge/result_set.rb
796
+ - vendor/plugins/slim_scrooge/lib/slim_scrooge/simple_set.rb
797
+ - vendor/plugins/slim_scrooge/lib/slim_scrooge/slim_scrooge.rb
798
+ - vendor/plugins/slim_scrooge/rails/init.rb
799
+ - vendor/plugins/slim_scrooge/slim_scrooge.gemspec
800
+ - vendor/plugins/slim_scrooge/slim_scrooge_windows.gemspec
801
+ - vendor/plugins/slim_scrooge/test/active_record_setup.rb
802
+ - vendor/plugins/slim_scrooge/test/helper.rb
803
+ - vendor/plugins/slim_scrooge/test/models/course.rb
804
+ - vendor/plugins/slim_scrooge/test/schema/schema.rb
805
+ - vendor/plugins/slim_scrooge/test/setup.rb
570
806
  - vendor/plugins/themes/app/helpers/themes_helper.rb
807
+ - vendor/plugins/themes/app/models/theme.rb
571
808
  - vendor/plugins/themes/lib/theme_server.rb
572
809
  - vendor/plugins/themes/rails/init.rb
573
810
  - vendor/plugins/themes/themes.md
811
+ - vendor/plugins/will_paginate/.manifest
812
+ - vendor/plugins/will_paginate/CHANGELOG.rdoc
813
+ - vendor/plugins/will_paginate/LICENSE
814
+ - vendor/plugins/will_paginate/README.rdoc
815
+ - vendor/plugins/will_paginate/Rakefile
816
+ - vendor/plugins/will_paginate/examples/apple-circle.gif
817
+ - vendor/plugins/will_paginate/examples/index.haml
818
+ - vendor/plugins/will_paginate/examples/index.html
819
+ - vendor/plugins/will_paginate/examples/pagination.css
820
+ - vendor/plugins/will_paginate/examples/pagination.sass
821
+ - vendor/plugins/will_paginate/init.rb
822
+ - vendor/plugins/will_paginate/lib/will_paginate.rb
823
+ - vendor/plugins/will_paginate/lib/will_paginate/array.rb
824
+ - vendor/plugins/will_paginate/lib/will_paginate/collection.rb
825
+ - vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb
826
+ - vendor/plugins/will_paginate/lib/will_paginate/finder.rb
827
+ - vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb
828
+ - vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb
829
+ - vendor/plugins/will_paginate/lib/will_paginate/version.rb
830
+ - vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb
831
+ - vendor/plugins/will_paginate/test/boot.rb
832
+ - vendor/plugins/will_paginate/test/collection_test.rb
833
+ - vendor/plugins/will_paginate/test/console
834
+ - vendor/plugins/will_paginate/test/database.yml
835
+ - vendor/plugins/will_paginate/test/finder_test.rb
836
+ - vendor/plugins/will_paginate/test/fixtures/admin.rb
837
+ - vendor/plugins/will_paginate/test/fixtures/developer.rb
838
+ - vendor/plugins/will_paginate/test/fixtures/developers_projects.yml
839
+ - vendor/plugins/will_paginate/test/fixtures/project.rb
840
+ - vendor/plugins/will_paginate/test/fixtures/projects.yml
841
+ - vendor/plugins/will_paginate/test/fixtures/replies.yml
842
+ - vendor/plugins/will_paginate/test/fixtures/reply.rb
843
+ - vendor/plugins/will_paginate/test/fixtures/schema.rb
844
+ - vendor/plugins/will_paginate/test/fixtures/topic.rb
845
+ - vendor/plugins/will_paginate/test/fixtures/topics.yml
846
+ - vendor/plugins/will_paginate/test/fixtures/user.rb
847
+ - vendor/plugins/will_paginate/test/fixtures/users.yml
848
+ - vendor/plugins/will_paginate/test/helper.rb
849
+ - vendor/plugins/will_paginate/test/lib/activerecord_test_case.rb
850
+ - vendor/plugins/will_paginate/test/lib/activerecord_test_connector.rb
851
+ - vendor/plugins/will_paginate/test/lib/load_fixtures.rb
852
+ - vendor/plugins/will_paginate/test/lib/view_test_process.rb
853
+ - vendor/plugins/will_paginate/test/tasks.rake
854
+ - vendor/plugins/will_paginate/test/view_test.rb
855
+ - vendor/plugins/will_paginate/will_paginate.gemspec
574
856
  has_rdoc: true
575
857
  homepage: http://refinerycms.com
576
858
  licenses: []
@@ -609,7 +891,6 @@ test_files:
609
891
  - test/test_helper.rb
610
892
  - test/unit/image_test.rb
611
893
  - test/unit/inquiry_test.rb
612
- - test/unit/news_items_test.rb
613
894
  - test/unit/page_part_test.rb
614
895
  - test/unit/page_test.rb
615
896
  - test/unit/refinery_setting_test.rb
@@ -1,9 +0,0 @@
1
- class RemoveBlurbFromNewsItems < ActiveRecord::Migration
2
- def self.up
3
- remove_column :news_items, :blurb
4
- end
5
-
6
- def self.down
7
- add_column :news_items, :blurb, :text
8
- end
9
- end
@@ -1,375 +0,0 @@
1
- /*!
2
- * jQuery UI 1.8rc1
3
- *
4
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT (MIT-LICENSE.txt)
6
- * and GPL (GPL-LICENSE.txt) licenses.
7
- *
8
- * http://docs.jquery.com/UI
9
- */
10
- * jQuery UI 1.8rc1
11
- *
12
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
13
- * Dual licensed under the MIT (MIT-LICENSE.txt)
14
- * and GPL (GPL-LICENSE.txt) licenses.
15
- *
16
- * http://docs.jquery.com/UI
17
- */
18
- jQuery.ui||(function(b){var a=b.browser.mozilla&&(parseFloat(b.browser.version)<1.9);b.ui={version:"1.8rc1",plugin:{add:function(d,e,g){var f=b.ui[d].prototype;for(var c in g){f.plugins[c]=f.plugins[c]||[];f.plugins[c].push([e,g[c]])}},call:function(c,e,d){var g=c.plugins[e];if(!g||!c.element[0].parentNode){return}for(var f=0;f<g.length;f++){if(c.options[g[f][0]]){g[f][1].apply(c.element,d)}}}},contains:function(d,c){return document.compareDocumentPosition?d.compareDocumentPosition(c)&16:d!==c&&d.contains(c)},hasScroll:function(f,d){if(b(f).css("overflow")=="hidden"){return false}var c=(d&&d=="left")?"scrollLeft":"scrollTop",e=false;if(f[c]>0){return true}f[c]=1;e=(f[c]>0);f[c]=0;return e},isOverAxis:function(d,c,e){return(d>c)&&(d<(c+e))},isOver:function(h,d,g,f,c,e){return b.ui.isOverAxis(h,g,c)&&b.ui.isOverAxis(d,f,e)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};b.fn.extend({_focus:b.fn.focus,focus:function(c,d){return typeof c==="number"?this.each(function(){var e=this;setTimeout(function(){b(e).focus();(d&&d.call(e))},c)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var c;if((b.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){c=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(b.curCSS(this,"position",1))&&(/(auto|scroll)/).test(b.curCSS(this,"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0)}else{c=this.parents().filter(function(){return(/(auto|scroll)/).test(b.curCSS(this,"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!c.length?b(document):c},zIndex:function(d){if(d!==undefined){return this.css("zIndex",d)}var c=this[0];while(c&&c.style){if(c.style.zIndex!==""&&c.style.zIndex!==0){return +c.style.zIndex}c=c.parentNode}return 0}});b.extend(b.expr[":"],{data:function(e,d,c){return !!b.data(e,c[3])},focusable:function(d){var e=d.nodeName.toLowerCase(),c=b.attr(d,"tabindex");return(/input|select|textarea|button|object/.test(e)?!d.disabled:"a"==e||"area"==e?d.href||!isNaN(c):!isNaN(c))&&!b(d)["area"==e?"parents":"closest"](":hidden").length},tabbable:function(d){var c=b.attr(d,"tabindex");return(isNaN(c)||c>=0)&&b(d).is(":focusable")}})})(jQuery);;/*!
19
- * jQuery UI Widget 1.8rc1
20
- *
21
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
22
- * Dual licensed under the MIT (MIT-LICENSE.txt)
23
- * and GPL (GPL-LICENSE.txt) licenses.
24
- *
25
- * http://docs.jquery.com/UI/Widget
26
- */
27
- * jQuery UI Widget 1.8rc1
28
- *
29
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
30
- * Dual licensed under the MIT (MIT-LICENSE.txt)
31
- * and GPL (GPL-LICENSE.txt) licenses.
32
- *
33
- * http://docs.jquery.com/UI/Widget
34
- */
35
- (function(b){var a=b.fn.remove;b.fn.remove=function(c,d){if(!d){b("*",this).add(this).each(function(){b(this).triggerHandler("remove")})}return a.apply(this,arguments)};b.widget=function(d,f,c){var e=d.split(".")[0],h;d=d.split(".")[1];h=e+"-"+d;if(!c){c=f;f=b.Widget}b.expr[":"][h]=function(i){return !!b.data(i,d)};b[e]=b[e]||{};b[e][d]=function(i,j){if(arguments.length){this._createWidget(i,j)}};var g=new f();g.options=b.extend({},g.options);b[e][d].prototype=b.extend(true,g,{namespace:e,widgetName:d,widgetEventPrefix:b[e][d].prototype.widgetEventPrefix||d,widgetBaseClass:h},c);b.widget.bridge(d,b[e][d])};b.widget.bridge=function(d,c){b.fn[d]=function(g){var e=typeof g==="string",f=Array.prototype.slice.call(arguments,1),h=this;g=!e&&f.length?b.extend.apply(null,[true,g].concat(f)):g;if(e&&g.substring(0,1)==="_"){return h}if(e){this.each(function(){var i=b.data(this,d),j=i&&b.isFunction(i[g])?i[g].apply(i,f):i;if(j!==i&&j!==undefined){h=j;return false}})}else{this.each(function(){var i=b.data(this,d);if(i){if(g){i.option(g)}i._init()}else{b.data(this,d,new c(g,this))}})}return h}};b.Widget=function(c,d){if(arguments.length){this._createWidget(c,d)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(d,e){this.element=b(e).data(this.widgetName,this);this.options=b.extend(true,{},this.options,b.metadata&&b.metadata.get(e)[this.widgetName],d);var c=this;this.element.bind("remove."+this.widgetName,function(){c.destroy()});this._create();this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled")},widget:function(){return this.element},option:function(e,f){var d=e,c=this;if(arguments.length===0){return b.extend({},c.options)}if(typeof e==="string"){if(f===undefined){return this.options[e]}d={};d[e]=f}b.each(d,function(g,h){c._setOption(g,h)});return c},_setOption:function(c,d){this.options[c]=d;if(c==="disabled"){this.widget()[d?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",d)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(d,e,f){var h=this.options[d];e=b.Event(e);e.type=(d===this.widgetEventPrefix?d:this.widgetEventPrefix+d).toLowerCase();f=f||{};if(e.originalEvent){for(var c=b.event.props.length,g;c;){g=b.event.props[--c];e[g]=e.originalEvent[g]}}this.element.trigger(e,f);return !(b.isFunction(h)&&h.call(this.element[0],e,f)===false||e.isDefaultPrevented())}}})(jQuery);;/*!
36
- * jQuery UI Mouse 1.8rc1
37
- *
38
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
39
- * Dual licensed under the MIT (MIT-LICENSE.txt)
40
- * and GPL (GPL-LICENSE.txt) licenses.
41
- *
42
- * http://docs.jquery.com/UI/Mouse
43
- *
44
- * Depends:
45
- * jquery.ui.widget.js
46
- */
47
- * jQuery UI Mouse 1.8rc1
48
- *
49
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
50
- * Dual licensed under the MIT (MIT-LICENSE.txt)
51
- * and GPL (GPL-LICENSE.txt) licenses.
52
- *
53
- * http://docs.jquery.com/UI/Mouse
54
- *
55
- * Depends:
56
- * jquery.ui.widget.js
57
- */
58
- (function(a){a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(c){return b._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(b._preventClickEvent){b._preventClickEvent=false;c.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(d){d.originalEvent=d.originalEvent||{};if(d.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(d));this._mouseDownEvent=d;var c=this,e=(d.which==1),b=(typeof this.options.cancel=="string"?a(d.target).parents().add(d.target).filter(this.options.cancel).length:false);if(!e||b||!this._mouseCapture(d)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(d)!==false);if(!this._mouseStarted){d.preventDefault();return true}}this._mouseMoveDelegate=function(f){return c._mouseMove(f)};this._mouseUpDelegate=function(f){return c._mouseUp(f)};a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(a.browser.safari||d.preventDefault());d.originalEvent.mouseHandled=true;return true},_mouseMove:function(b){if(a.browser.msie&&!b.button){return this._mouseUp(b)}if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,b)!==false);(this._mouseStarted?this._mouseDrag(b):this._mouseUp(b))}return !this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(b.target==this._mouseDownEvent.target);this._mouseStop(b)}return false},_mouseDistanceMet:function(b){return(Math.max(Math.abs(this._mouseDownEvent.pageX-b.pageX),Math.abs(this._mouseDownEvent.pageY-b.pageY))>=this.options.distance)},_mouseDelayMet:function(b){return this.mouseDelayMet},_mouseStart:function(b){},_mouseDrag:function(b){},_mouseStop:function(b){},_mouseCapture:function(b){return true}})})(jQuery);;/*
59
- * jQuery UI Position 1.8rc1
60
- *
61
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
62
- * Dual licensed under the MIT (MIT-LICENSE.txt)
63
- * and GPL (GPL-LICENSE.txt) licenses.
64
- *
65
- * http://docs.jquery.com/UI/Position
66
- */
67
- * jQuery UI Draggable 1.8rc1
68
- *
69
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
70
- * Dual licensed under the MIT (MIT-LICENSE.txt)
71
- * and GPL (GPL-LICENSE.txt) licenses.
72
- *
73
- * http://docs.jquery.com/UI/Draggables
74
- *
75
- * Depends:
76
- * jquery.ui.core.js
77
- * jquery.ui.mouse.js
78
- * jquery.ui.widget.js
79
- */
80
- * jQuery UI Droppable 1.8rc1
81
- *
82
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
83
- * Dual licensed under the MIT (MIT-LICENSE.txt)
84
- * and GPL (GPL-LICENSE.txt) licenses.
85
- *
86
- * http://docs.jquery.com/UI/Droppables
87
- *
88
- * Depends:
89
- * jquery.ui.core.js
90
- * jquery.ui.widget.js
91
- * jquery.ui.draggable.js
92
- * jquery.ui.mouse.js
93
- * jquery.ui.widget.js
94
- */
95
- * jQuery UI Resizable 1.8rc1
96
- *
97
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
98
- * Dual licensed under the MIT (MIT-LICENSE.txt)
99
- * and GPL (GPL-LICENSE.txt) licenses.
100
- *
101
- * http://docs.jquery.com/UI/Resizables
102
- *
103
- * Depends:
104
- * jquery.ui.core.js
105
- * jquery.ui.mouse.js
106
- * jquery.ui.widget.js
107
- */
108
- * jQuery UI Selectable 1.8rc1
109
- *
110
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
111
- * Dual licensed under the MIT (MIT-LICENSE.txt)
112
- * and GPL (GPL-LICENSE.txt) licenses.
113
- *
114
- * http://docs.jquery.com/UI/Selectables
115
- *
116
- * Depends:
117
- * jquery.ui.core.js
118
- * jquery.ui.mouse.js
119
- * jquery.ui.widget.js
120
- */
121
- * jQuery UI Sortable 1.8rc1
122
- *
123
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
124
- * Dual licensed under the MIT (MIT-LICENSE.txt)
125
- * and GPL (GPL-LICENSE.txt) licenses.
126
- *
127
- * http://docs.jquery.com/UI/Sortables
128
- *
129
- * Depends:
130
- * jquery.ui.core.js
131
- * jquery.ui.mouse.js
132
- * jquery.ui.widget.js
133
- */
134
- * jQuery UI Accordion 1.8rc1
135
- *
136
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
137
- * Dual licensed under the MIT (MIT-LICENSE.txt)
138
- * and GPL (GPL-LICENSE.txt) licenses.
139
- *
140
- * http://docs.jquery.com/UI/Accordion
141
- *
142
- * Depends:
143
- * jquery.ui.core.js
144
- * jquery.ui.widget.js
145
- */
146
- * jQuery UI Autocomplete 1.8rc1
147
- *
148
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
149
- * Dual licensed under the MIT (MIT-LICENSE.txt)
150
- * and GPL (GPL-LICENSE.txt) licenses.
151
- *
152
- * http://docs.jquery.com/UI/Autocomplete
153
- *
154
- * Depends:
155
- * jquery.ui.core.js
156
- * jquery.ui.widget.js
157
- */
158
- * jQuery UI Button 1.8rc1
159
- *
160
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
161
- * Dual licensed under the MIT (MIT-LICENSE.txt)
162
- * and GPL (GPL-LICENSE.txt) licenses.
163
- *
164
- * http://docs.jquery.com/UI/Button
165
- *
166
- * Depends:
167
- * jquery.ui.core.js
168
- * jquery.ui.widget.js
169
- */
170
- * jQuery UI Dialog 1.8rc1
171
- *
172
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
173
- * Dual licensed under the MIT (MIT-LICENSE.txt)
174
- * and GPL (GPL-LICENSE.txt) licenses.
175
- *
176
- * http://docs.jquery.com/UI/Dialog
177
- *
178
- * Depends:
179
- * jquery.ui.button.js
180
- * jquery.ui.core.js
181
- * jquery.ui.draggable.js
182
- * jquery.ui.mouse.js
183
- * jquery.ui.position.js
184
- * jquery.ui.resizable.js
185
- * jquery.ui.widget.js
186
- */
187
- * jQuery UI Datepicker 1.8rc1
188
- *
189
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
190
- * Dual licensed under the MIT (MIT-LICENSE.txt)
191
- * and GPL (GPL-LICENSE.txt) licenses.
192
- *
193
- * http://docs.jquery.com/UI/Datepicker
194
- *
195
- * Depends:
196
- * jquery.ui.core.js
197
- * jquery.ui.widget.js
198
- */
199
- * jQuery UI Progressbar 1.8rc1
200
- *
201
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
202
- * Dual licensed under the MIT (MIT-LICENSE.txt)
203
- * and GPL (GPL-LICENSE.txt) licenses.
204
- *
205
- * http://docs.jquery.com/UI/Progressbar
206
- *
207
- * Depends:
208
- * jquery.ui.core.js
209
- * jquery.ui.widget.js
210
- */
211
- * jQuery UI Slider 1.8rc1
212
- *
213
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
214
- * Dual licensed under the MIT (MIT-LICENSE.txt)
215
- * and GPL (GPL-LICENSE.txt) licenses.
216
- *
217
- * http://docs.jquery.com/UI/Slider
218
- *
219
- * Depends:
220
- * jquery.ui.core.js
221
- * jquery.ui.mouse.js
222
- * jquery.ui.widget.js
223
- */
224
- * jQuery UI Tabs 1.8rc1
225
- *
226
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
227
- * Dual licensed under the MIT (MIT-LICENSE.txt)
228
- * and GPL (GPL-LICENSE.txt) licenses.
229
- *
230
- * http://docs.jquery.com/UI/Tabs
231
- *
232
- * Depends:
233
- * jquery.ui.core.js
234
- * jquery.ui.widget.js
235
- */
236
- * jQuery UI Effects 1.8rc1
237
- *
238
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
239
- * Dual licensed under the MIT (MIT-LICENSE.txt)
240
- * and GPL (GPL-LICENSE.txt) licenses.
241
- *
242
- * http://docs.jquery.com/UI/Effects/
243
- */
244
- * jQuery UI Effects Blind 1.8rc1
245
- *
246
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
247
- * Dual licensed under the MIT (MIT-LICENSE.txt)
248
- * and GPL (GPL-LICENSE.txt) licenses.
249
- *
250
- * http://docs.jquery.com/UI/Effects/Blind
251
- *
252
- * Depends:
253
- * jquery.effects.core.js
254
- */
255
- * jQuery UI Effects Bounce 1.8rc1
256
- *
257
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
258
- * Dual licensed under the MIT (MIT-LICENSE.txt)
259
- * and GPL (GPL-LICENSE.txt) licenses.
260
- *
261
- * http://docs.jquery.com/UI/Effects/Bounce
262
- *
263
- * Depends:
264
- * jquery.effects.core.js
265
- */
266
- * jQuery UI Effects Clip 1.8rc1
267
- *
268
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
269
- * Dual licensed under the MIT (MIT-LICENSE.txt)
270
- * and GPL (GPL-LICENSE.txt) licenses.
271
- *
272
- * http://docs.jquery.com/UI/Effects/Clip
273
- *
274
- * Depends:
275
- * jquery.effects.core.js
276
- */
277
- * jQuery UI Effects Drop 1.8rc1
278
- *
279
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
280
- * Dual licensed under the MIT (MIT-LICENSE.txt)
281
- * and GPL (GPL-LICENSE.txt) licenses.
282
- *
283
- * http://docs.jquery.com/UI/Effects/Drop
284
- *
285
- * Depends:
286
- * jquery.effects.core.js
287
- */
288
- * jQuery UI Effects Explode 1.8rc1
289
- *
290
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
291
- * Dual licensed under the MIT (MIT-LICENSE.txt)
292
- * and GPL (GPL-LICENSE.txt) licenses.
293
- *
294
- * http://docs.jquery.com/UI/Effects/Explode
295
- *
296
- * Depends:
297
- * jquery.effects.core.js
298
- */
299
- * jQuery UI Effects Fold 1.8rc1
300
- *
301
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
302
- * Dual licensed under the MIT (MIT-LICENSE.txt)
303
- * and GPL (GPL-LICENSE.txt) licenses.
304
- *
305
- * http://docs.jquery.com/UI/Effects/Fold
306
- *
307
- * Depends:
308
- * jquery.effects.core.js
309
- */
310
- * jQuery UI Effects Highlight 1.8rc1
311
- *
312
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
313
- * Dual licensed under the MIT (MIT-LICENSE.txt)
314
- * and GPL (GPL-LICENSE.txt) licenses.
315
- *
316
- * http://docs.jquery.com/UI/Effects/Highlight
317
- *
318
- * Depends:
319
- * jquery.effects.core.js
320
- */
321
- * jQuery UI Effects Pulsate 1.8rc1
322
- *
323
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
324
- * Dual licensed under the MIT (MIT-LICENSE.txt)
325
- * and GPL (GPL-LICENSE.txt) licenses.
326
- *
327
- * http://docs.jquery.com/UI/Effects/Pulsate
328
- *
329
- * Depends:
330
- * jquery.effects.core.js
331
- */
332
- * jQuery UI Effects Scale 1.8rc1
333
- *
334
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
335
- * Dual licensed under the MIT (MIT-LICENSE.txt)
336
- * and GPL (GPL-LICENSE.txt) licenses.
337
- *
338
- * http://docs.jquery.com/UI/Effects/Scale
339
- *
340
- * Depends:
341
- * jquery.effects.core.js
342
- */
343
- * jQuery UI Effects Shake 1.8rc1
344
- *
345
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
346
- * Dual licensed under the MIT (MIT-LICENSE.txt)
347
- * and GPL (GPL-LICENSE.txt) licenses.
348
- *
349
- * http://docs.jquery.com/UI/Effects/Shake
350
- *
351
- * Depends:
352
- * jquery.effects.core.js
353
- */
354
- * jQuery UI Effects Slide 1.8rc1
355
- *
356
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
357
- * Dual licensed under the MIT (MIT-LICENSE.txt)
358
- * and GPL (GPL-LICENSE.txt) licenses.
359
- *
360
- * http://docs.jquery.com/UI/Effects/Slide
361
- *
362
- * Depends:
363
- * jquery.effects.core.js
364
- */
365
- * jQuery UI Effects Transfer 1.8rc1
366
- *
367
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
368
- * Dual licensed under the MIT (MIT-LICENSE.txt)
369
- * and GPL (GPL-LICENSE.txt) licenses.
370
- *
371
- * http://docs.jquery.com/UI/Effects/Transfer
372
- *
373
- * Depends:
374
- * jquery.effects.core.js
375
- */