spree 0.9.4 → 0.10.0.beta

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

Potentially problematic release.


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

Files changed (1880) hide show
  1. data/CHANGELOG +185 -0
  2. data/CONTRIBUTORS +93 -66
  3. data/LICENSE +1 -1
  4. data/Rakefile +19 -16
  5. data/app/controllers/admin/adjustments_controller.rb +32 -0
  6. data/app/controllers/admin/base_controller.rb +33 -18
  7. data/app/controllers/admin/checkouts_controller.rb +41 -0
  8. data/app/controllers/admin/coupons_controller.rb +2 -1
  9. data/app/controllers/admin/images_controller.rb +28 -19
  10. data/app/controllers/admin/line_items_controller.rb +55 -0
  11. data/app/controllers/admin/option_types_controller.rb +7 -4
  12. data/app/controllers/admin/orders_controller.rb +29 -15
  13. data/app/controllers/admin/payment_methods_controller.rb +31 -0
  14. data/app/controllers/admin/payments_controller.rb +99 -0
  15. data/app/controllers/admin/product_groups_controller.rb +42 -0
  16. data/app/controllers/admin/product_properties_controller.rb +7 -0
  17. data/app/controllers/admin/product_scopes_controller.rb +18 -0
  18. data/app/controllers/admin/products_controller.rb +74 -36
  19. data/app/controllers/admin/properties_controller.rb +2 -0
  20. data/app/controllers/admin/prototypes_controller.rb +3 -1
  21. data/app/controllers/admin/reports_controller.rb +2 -2
  22. data/app/controllers/admin/return_authorizations_controller.rb +36 -0
  23. data/app/controllers/admin/shipments_controller.rb +55 -24
  24. data/app/controllers/admin/shipping_categories_controller.rb +2 -1
  25. data/app/controllers/admin/shipping_methods_controller.rb +9 -7
  26. data/app/controllers/admin/shipping_rates_controller.rb +2 -1
  27. data/app/controllers/admin/states_controller.rb +1 -1
  28. data/app/controllers/admin/tax_categories_controller.rb +3 -1
  29. data/app/controllers/admin/tax_rates_controller.rb +12 -8
  30. data/app/controllers/admin/taxonomies_controller.rb +4 -13
  31. data/app/controllers/admin/taxons_controller.rb +86 -46
  32. data/app/controllers/admin/trackers_controller.rb +7 -0
  33. data/app/controllers/admin/users_controller.rb +29 -19
  34. data/app/controllers/admin/variants_controller.rb +12 -7
  35. data/app/controllers/admin/zones_controller.rb +3 -1
  36. data/app/controllers/application_controller.rb +4 -0
  37. data/app/controllers/checkouts_controller.rb +195 -131
  38. data/app/controllers/line_items_controller.rb +11 -6
  39. data/app/controllers/orders_controller.rb +35 -31
  40. data/app/controllers/password_resets_controller.rb +6 -1
  41. data/app/controllers/products_controller.rb +22 -31
  42. data/app/controllers/spree/base_controller.rb +144 -29
  43. data/app/controllers/taxons_controller.rb +8 -10
  44. data/app/controllers/user_sessions_controller.rb +69 -19
  45. data/app/controllers/users_controller.rb +42 -20
  46. data/app/helpers/admin/adjustments_helper.rb +2 -0
  47. data/app/helpers/admin/base_helper.rb +57 -105
  48. data/app/helpers/admin/checkouts_helper.rb +2 -0
  49. data/app/helpers/admin/line_items_helper.rb +2 -0
  50. data/app/helpers/admin/navigation_helper.rb +127 -0
  51. data/app/helpers/admin/orders_helper.rb +22 -7
  52. data/app/helpers/admin/payments_helper.rb +7 -0
  53. data/app/helpers/admin/return_authorizations_helper.rb +2 -0
  54. data/app/helpers/application_helper.rb +2 -8
  55. data/app/helpers/checkouts_helper.rb +32 -4
  56. data/app/helpers/hook_helper.rb +21 -0
  57. data/app/helpers/products_helper.rb +28 -10
  58. data/app/helpers/spree/base_helper.rb +43 -43
  59. data/app/helpers/taxons_helper.rb +3 -3
  60. data/app/helpers/trackers_helper.rb +2 -0
  61. data/app/helpers/users_helper.rb +13 -0
  62. data/app/metal/create_admin_user.rb +1 -1
  63. data/app/metal/redirect_legacy_product_url.rb +10 -0
  64. data/app/metal/seo_assist.rb +38 -0
  65. data/app/models/address.rb +28 -2
  66. data/app/models/adjustment.rb +57 -18
  67. data/app/models/app_configuration.rb +8 -3
  68. data/app/models/billing_integration.rb +23 -0
  69. data/app/models/calculator.rb +8 -3
  70. data/app/models/calculator/flat_percent_item_total.rb +6 -5
  71. data/app/models/calculator/per_item.rb +2 -2
  72. data/app/models/charge.rb +14 -32
  73. data/app/models/checkout.rb +118 -26
  74. data/app/models/coupon.rb +6 -4
  75. data/app/models/coupon_credit.rb +25 -0
  76. data/app/models/credit.rb +14 -22
  77. data/app/models/creditcard.rb +38 -110
  78. data/app/models/creditcard_txn.rb +7 -4
  79. data/app/models/inventory_unit.rb +50 -33
  80. data/app/models/line_item.rb +11 -5
  81. data/app/models/option_type.rb +2 -1
  82. data/app/models/order.rb +189 -64
  83. data/app/models/order_mailer.rb +5 -1
  84. data/app/models/payment.rb +99 -8
  85. data/app/models/payment_method.rb +45 -0
  86. data/app/models/payment_method/check.rb +2 -0
  87. data/app/models/product.rb +103 -38
  88. data/app/models/product_group.rb +201 -0
  89. data/app/models/product_scope.rb +56 -0
  90. data/app/models/return_authorization.rb +70 -0
  91. data/app/models/return_authorization_credit.rb +3 -0
  92. data/app/models/shipment.rb +79 -20
  93. data/app/models/shipping_charge.rb +23 -0
  94. data/app/models/shipping_method.rb +17 -8
  95. data/app/models/state_event.rb +1 -1
  96. data/app/models/state_monitor.rb +25 -0
  97. data/app/models/tax_charge.rb +23 -0
  98. data/app/models/taxon.rb +24 -16
  99. data/app/models/taxonomy.rb +10 -0
  100. data/app/models/tracker.rb +5 -0
  101. data/app/models/transaction.rb +6 -0
  102. data/app/models/user.rb +32 -6
  103. data/app/models/user_session.rb +1 -1
  104. data/app/models/variant.rb +36 -25
  105. data/app/models/zone.rb +19 -16
  106. data/bin/spree +3 -5
  107. data/config/boot.rb +7 -3
  108. data/config/database.yml +24 -25
  109. data/config/environment.rb +34 -28
  110. data/config/environments/staging.rb +13 -8
  111. data/config/environments/test.rb +2 -6
  112. data/config/initializers/locales.rb +1 -1
  113. data/config/initializers/spree.rb +4 -1
  114. data/config/initializers/touch.rb +9 -0
  115. data/config/initializers/workarounds_for_ruby19.rb +102 -0
  116. data/config/locales/cs-CZ.yml +914 -0
  117. data/config/locales/cs-CZ_rails.yml +202 -0
  118. data/config/locales/da.yml +305 -5
  119. data/config/locales/de-CH.yml +305 -5
  120. data/config/locales/de.yml +479 -179
  121. data/config/locales/en-AU.yml +914 -0
  122. data/config/locales/en-AU_rails.yml +202 -0
  123. data/config/locales/en-GB.yml +306 -6
  124. data/config/locales/en-US.yml +390 -90
  125. data/config/locales/en-US_rails.yml +11 -6
  126. data/config/locales/es.yml +378 -78
  127. data/config/locales/fi.yml +380 -80
  128. data/config/locales/fr-FR.yml +489 -189
  129. data/config/locales/il.yml +306 -6
  130. data/config/locales/it.yml +306 -6
  131. data/config/locales/jp.yml +306 -6
  132. data/config/locales/mx.yml +305 -5
  133. data/config/locales/nb-NO.yml +305 -5
  134. data/config/locales/nl-BE.yml +314 -14
  135. data/config/locales/nl-NL.yml +317 -17
  136. data/config/locales/nl-NL_rails.yml +45 -45
  137. data/config/locales/pl.yml +306 -6
  138. data/config/locales/pt-BR.yml +305 -5
  139. data/config/locales/pt-PT.yml +305 -5
  140. data/config/locales/ru-RU.yml +361 -61
  141. data/config/locales/ru-RU_rails.yml +6 -0
  142. data/config/locales/th.yml +306 -6
  143. data/config/locales/vn.yml +914 -0
  144. data/config/locales/vn_rails.yml +202 -0
  145. data/config/routes.rb +41 -24
  146. data/config/spree_permissions.yml +3 -3
  147. data/db/migrate/20090823005402_spree_zero_nine_zero.rb +452 -0
  148. data/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +12 -0
  149. data/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +30 -0
  150. data/db/migrate/20091007134354_change_taxons_to_nested_set.rb +40 -0
  151. data/db/migrate/20091012120519_product_groups_and_scopes.rb +25 -0
  152. data/db/migrate/20091015110842_add_open_id_authentication_tables.rb +20 -0
  153. data/db/migrate/20091015153048_add_openid_field_to_users.rb +19 -0
  154. data/db/migrate/20091016174634_change_preference_value_type.rb +9 -0
  155. data/db/migrate/20091017175558_create_billing_integrations.rb +16 -0
  156. data/db/migrate/20091021133257_charge_refactoring.rb +32 -0
  157. data/db/migrate/20091104151730_add_some_indexes.rb +21 -0
  158. data/db/migrate/20091126190904_checkout_state_machine.rb +13 -0
  159. data/db/migrate/20091209153045_state_for_shipments.rb +9 -0
  160. data/db/migrate/20091209202200_make_state_events_polymorphic.rb +12 -0
  161. data/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +9 -0
  162. data/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +9 -0
  163. data/db/migrate/20091213222815_creditcard_last_four_digits.rb +19 -0
  164. data/db/migrate/20091214183826_populate_legacy_shipment_state.rb +19 -0
  165. data/db/migrate/20100105090147_add_cost_price.rb +9 -0
  166. data/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +17 -0
  167. data/db/migrate/20100111205525_cim_fields_for_creditcards.rb +11 -0
  168. data/db/migrate/20100112151511_create_return_authorizations.rb +16 -0
  169. data/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +9 -0
  170. data/db/migrate/20100113203104_create_trackers.rb +14 -0
  171. data/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +9 -0
  172. data/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +9 -0
  173. data/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +11 -0
  174. data/db/migrate/20100126103714_create_products_product_groups.rb +12 -0
  175. data/db/migrate/20100209025806_create_payment_methods.rb +20 -0
  176. data/db/migrate/20100209144531_polymorphic_payments.rb +29 -0
  177. data/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +11 -0
  178. data/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +16 -0
  179. data/db/migrate/20100223170312_sti_for_transactions.rb +14 -0
  180. data/db/migrate/20100223183812_drop_billing_integrations.rb +16 -0
  181. data/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +13 -0
  182. data/db/migrate/20100301163454_add_adjustments_index.rb +10 -0
  183. data/db/migrate/20100306153445_fix_by_popularity.rb +8 -0
  184. data/db/sample/addresses.yml +21 -18
  185. data/db/sample/adjustments.yml +8 -10
  186. data/db/sample/checkouts.yml +11 -5
  187. data/db/sample/inventory_units.rb +4 -0
  188. data/db/sample/line_items.yml +26 -11
  189. data/db/sample/orders.yml +15 -6
  190. data/db/sample/payment_methods.yml +23 -0
  191. data/db/sample/payments.rb +25 -0
  192. data/db/sample/product_groups.yml +9 -0
  193. data/db/sample/product_scopes.yml +35 -0
  194. data/db/sample/products.rb +24 -0
  195. data/db/sample/products.yml +8 -0
  196. data/db/sample/shipments.yml +4 -3
  197. data/db/sample/taxons.rb +3 -0
  198. data/db/sample/taxons.yml +22 -2
  199. data/db/sample/users.rb +58 -0
  200. data/db/sample/users.yml +12 -4
  201. data/db/sample/variants.yml +43 -5
  202. data/db/schema.rb +87 -47
  203. data/db/seeds.rb +8 -14
  204. data/lib/commands/extension.rb +4 -4
  205. data/lib/custom_fixtures.rb +1 -1
  206. data/lib/generators/extension/extension_generator.rb +3 -1
  207. data/lib/generators/extension/templates/RSpecRakefile +18 -1
  208. data/lib/generators/extension/templates/Rakefile +16 -0
  209. data/lib/generators/extension/templates/extension.rb +0 -16
  210. data/lib/generators/extension/templates/extension_hooks.rb +43 -0
  211. data/lib/generators/extension/templates/seeds.rb +2 -0
  212. data/lib/generators/extension/templates/tasks.rake +0 -11
  213. data/lib/generators/extension/templates/test_helper.rb +3 -15
  214. data/lib/generators/extension_controller/templates/controller.rb +1 -1
  215. data/lib/generators/extension_controller/templates/functional_test.rb +1 -6
  216. data/lib/generators/instance/instance_generator.rb +1 -1
  217. data/lib/generators/instance/templates/instance_rakefile +1 -0
  218. data/lib/generators/theme/templates/README.markdown +5 -0
  219. data/lib/generators/theme/theme_generator.rb +56 -0
  220. data/lib/scopes.rb +68 -0
  221. data/lib/scopes/dynamic.rb +38 -0
  222. data/lib/scopes/product.rb +246 -0
  223. data/lib/scopes/variant.rb +9 -0
  224. data/lib/spree.rb +5 -3
  225. data/lib/spree/checkout/action_options.rb +18 -0
  226. data/lib/spree/checkout/hooks.rb +27 -0
  227. data/lib/spree/config.rb +13 -2
  228. data/lib/spree/extension.rb +11 -1
  229. data/lib/spree/extension_loader.rb +10 -3
  230. data/lib/spree/extensions.rb +26 -0
  231. data/lib/spree/file_utilz.rb +3 -1
  232. data/lib/spree/initializer.rb +15 -17
  233. data/lib/spree/preferences/mail_settings.rb +1 -1
  234. data/lib/spree/preferences/model_hooks.rb +6 -1
  235. data/lib/spree/search.rb +46 -0
  236. data/lib/spree/search/base.rb +22 -0
  237. data/lib/spree/support/core_extensions/string.rb +1 -1
  238. data/lib/spree/theme_support.rb +4 -0
  239. data/lib/spree/theme_support/hook.rb +51 -0
  240. data/lib/spree/theme_support/hook_listener.rb +68 -0
  241. data/lib/spree/theme_support/hook_modifier.rb +35 -0
  242. data/lib/spree/theme_support/more_patches.rb +117 -0
  243. data/lib/tasks/database.rake +61 -21
  244. data/lib/tasks/extensions.rake +105 -9
  245. data/lib/tasks/rspec.rake +30 -30
  246. data/lib/tasks/themes.rake +32 -0
  247. data/lib/tasks/translation.rake +31 -0
  248. data/lib/tasks/upgrade.rake +1 -1
  249. data/lib/validation_group.rb +145 -0
  250. data/public/images/datepicker/backstripes.gif +0 -0
  251. data/public/images/datepicker/bg_header.jpg +0 -0
  252. data/public/images/datepicker/bullet1.gif +0 -0
  253. data/public/images/datepicker/bullet2.gif +0 -0
  254. data/public/images/datepicker/cal.gif +0 -0
  255. data/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  256. data/public/images/step-progress/completed-completed.gif +0 -0
  257. data/public/images/step-progress/completed-current.gif +0 -0
  258. data/public/images/step-progress/completed-first.gif +0 -0
  259. data/public/images/step-progress/current-first.gif +0 -0
  260. data/public/images/step-progress/current-incomplete.gif +0 -0
  261. data/public/images/step-progress/current-right.gif +0 -0
  262. data/public/images/step-progress/incomplete-incomplete.gif +0 -0
  263. data/public/images/step-progress/incomplete-right.gif +0 -0
  264. data/public/javascripts/additional-methods.js +236 -0
  265. data/public/javascripts/admin/address_states.js +25 -0
  266. data/public/javascripts/admin/checkouts/edit.js +79 -0
  267. data/public/javascripts/admin/orders/edit.js +96 -0
  268. data/public/javascripts/admin/orders/edit_form.js +17 -0
  269. data/public/javascripts/admin/payments/new.js +9 -0
  270. data/public/javascripts/admin/unobtrusive_handlers.js +15 -0
  271. data/public/javascripts/checkout.js +48 -520
  272. data/public/javascripts/dashboard.js +143 -0
  273. data/public/javascripts/datepicker.js +1445 -0
  274. data/public/javascripts/gateway.js +13 -0
  275. data/public/javascripts/jqPlot/excanvas.min.js +1 -0
  276. data/public/javascripts/jqPlot/jquery.jqplot.min.js +14 -0
  277. data/public/javascripts/jqPlot/plugins/jqplot.canvasAxisLabelRenderer.min.js +14 -0
  278. data/public/javascripts/jqPlot/plugins/jqplot.canvasAxisTickRenderer.min.js +14 -0
  279. data/public/javascripts/jqPlot/plugins/jqplot.canvasTextRenderer.min.js +14 -0
  280. data/public/javascripts/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js +14 -0
  281. data/public/javascripts/jqPlot/plugins/jqplot.dateAxisRenderer.min.js +14 -0
  282. data/public/javascripts/jqPlot/plugins/jqplot.highlighter.min.js +14 -0
  283. data/public/javascripts/jqPlot/plugins/jqplot.pieRenderer.min.js +14 -0
  284. data/public/javascripts/jquery-and-plugins.js +36 -0
  285. data/public/javascripts/jquery-ui.js +188 -0
  286. data/public/javascripts/jquery.autocomplete.min.js +13 -0
  287. data/public/javascripts/jquery.js +19 -0
  288. data/public/javascripts/jquery.suggest.js +276 -0
  289. data/public/javascripts/jquery.template.js +255 -0
  290. data/public/javascripts/jquery.validate.min.js +4 -4
  291. data/public/javascripts/jrails.autocomplete.js +274 -0
  292. data/public/javascripts/jrails.js +1 -0
  293. data/public/javascripts/jsTree/jquery.tree.js +2058 -0
  294. data/public/javascripts/jsTree/plugins/jquery.tree.contextmenu.js +129 -0
  295. data/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  296. data/public/javascripts/jsTree/{source/themes/default/dot.gif → themes/apple/dot_for_ie.gif} +0 -0
  297. data/public/javascripts/jsTree/themes/apple/icons.png +0 -0
  298. data/public/javascripts/jsTree/themes/apple/style.css +34 -0
  299. data/public/javascripts/jsTree/{source/themes/default → themes/apple}/throbber.gif +0 -0
  300. data/public/javascripts/lang/af.js +40 -0
  301. data/public/javascripts/lang/ar.js +50 -0
  302. data/public/javascripts/lang/de.js +40 -0
  303. data/public/javascripts/lang/du.js +40 -0
  304. data/public/javascripts/lang/en.js +42 -0
  305. data/public/javascripts/lang/es.js +41 -0
  306. data/public/javascripts/lang/fi.js +40 -0
  307. data/public/javascripts/lang/fr.js +44 -0
  308. data/public/javascripts/lang/gr.js +40 -0
  309. data/public/javascripts/lang/he.js +49 -0
  310. data/public/javascripts/lang/it.js +13 -0
  311. data/public/javascripts/lang/nl.js +40 -0
  312. data/public/javascripts/lang/no.js +40 -0
  313. data/public/javascripts/lang/pt.js +50 -0
  314. data/public/javascripts/lang/ro.js +40 -0
  315. data/public/javascripts/lang/ru.js +40 -0
  316. data/public/javascripts/lang/sp.js +40 -0
  317. data/public/javascripts/lang/sv.js +41 -0
  318. data/public/javascripts/lang/ua.js +40 -0
  319. data/public/javascripts/localization/messages_cn.js +24 -0
  320. data/public/javascripts/localization/messages_cs.js +23 -0
  321. data/public/javascripts/localization/messages_da.js +21 -0
  322. data/public/javascripts/localization/messages_de.js +21 -0
  323. data/public/javascripts/localization/messages_es.js +24 -0
  324. data/public/javascripts/localization/messages_fr.js +23 -0
  325. data/public/javascripts/localization/messages_hu.js +21 -0
  326. data/public/javascripts/localization/messages_it.js +26 -0
  327. data/public/javascripts/localization/messages_kk.js +23 -0
  328. data/public/javascripts/localization/messages_nl.js +23 -0
  329. data/public/javascripts/localization/messages_no.js +23 -0
  330. data/public/javascripts/localization/messages_pl.js +23 -0
  331. data/public/javascripts/localization/messages_ptbr.js +30 -0
  332. data/public/javascripts/localization/messages_ro.js +24 -0
  333. data/public/javascripts/localization/messages_ru.js +23 -0
  334. data/public/javascripts/localization/messages_se.js +23 -0
  335. data/public/javascripts/localization/messages_sk.js +21 -0
  336. data/public/javascripts/localization/messages_tr.js +24 -0
  337. data/public/javascripts/localization/messages_tw.js +24 -0
  338. data/public/javascripts/localization/messages_ua.js +24 -0
  339. data/public/javascripts/open_id.js +15 -0
  340. data/public/javascripts/product.js +49 -0
  341. data/public/javascripts/spree.js +37 -2
  342. data/public/javascripts/taxonomy.js +138 -144
  343. data/public/javascripts/zone.js +0 -8
  344. data/public/robots.txt +10 -1
  345. data/public/stylesheets/admin/admin-tables.css +1 -1
  346. data/public/stylesheets/admin/admin.css +147 -50
  347. data/public/stylesheets/admin/dashboard.css +143 -0
  348. data/public/stylesheets/admin/edit-checkouts.css +57 -0
  349. data/public/stylesheets/admin/edit_checkouts.css +57 -0
  350. data/public/stylesheets/admin/edit_orders.css +65 -0
  351. data/public/stylesheets/bundle_admin.css +484 -0
  352. data/public/stylesheets/bundle_calendar_date_select.css +137 -0
  353. data/public/stylesheets/bundle_compiled.css +459 -0
  354. data/public/stylesheets/compiled/screen.css +1 -19
  355. data/public/stylesheets/datepicker.css +263 -0
  356. data/public/stylesheets/jquery.autocomplete.css +48 -0
  357. data/public/stylesheets/screen.css +1181 -0
  358. data/spec/controllers/products_controller_spec.rb +1 -11
  359. data/spec/fixtures/gateways.yml +8 -3
  360. data/spec/models/property_spec.rb +2 -3
  361. data/spec/models/prototype_spec.rb +1 -1
  362. data/spec/spec_helper.rb +10 -11
  363. data/test/factories/address_factory.rb +3 -3
  364. data/test/factories/adjustments_factory.rb +6 -11
  365. data/test/factories/checkout_factory.rb +4 -4
  366. data/test/factories/creditcard_factory.rb +6 -7
  367. data/test/factories/inventory_unit_factory.rb +1 -0
  368. data/test/factories/line_item_factory.rb +2 -2
  369. data/test/factories/order_factory.rb +4 -2
  370. data/test/factories/payment_factory.rb +26 -0
  371. data/test/factories/product_factory.rb +2 -1
  372. data/test/factories/product_group_factory.rb +10 -0
  373. data/test/factories/role_factory.rb +6 -2
  374. data/test/factories/user_factory.rb +9 -1
  375. data/test/factories/variant_factory.rb +3 -2
  376. data/test/factories/zone_factory.rb +8 -0
  377. data/test/fixtures/payment_methods.yml +18 -0
  378. data/test/functional/admin/adjustments_controller_test.rb +165 -0
  379. data/test/functional/admin/checkouts_controller_test.rb +86 -0
  380. data/test/functional/admin/configurations_controller_test.rb +41 -0
  381. data/test/functional/admin/line_items_controller_test.rb +177 -0
  382. data/test/functional/admin/payments_controller_test.rb +120 -0
  383. data/test/functional/admin/product_groups_controller_test.rb +41 -0
  384. data/test/functional/admin/products_controller_test.rb +166 -0
  385. data/test/functional/admin/reports_controller_test.rb +28 -0
  386. data/test/functional/admin/return_authorizations_controller_test.rb +8 -0
  387. data/test/functional/admin/shipments_controller_test.rb +61 -0
  388. data/test/functional/checkouts_controller_test.rb +110 -62
  389. data/test/functional/line_items_controller_test.rb +26 -0
  390. data/test/functional/products_controller_test.rb +0 -1
  391. data/test/integration/searching_test.rb +175 -0
  392. data/test/shoulda_macros/should_redirect.rb +15 -0
  393. data/test/test_helper.rb +51 -7
  394. data/test/unit/address_test.rb +22 -2
  395. data/test/unit/adjustment_test.rb +96 -0
  396. data/test/unit/charge_test.rb +28 -4
  397. data/test/unit/checkout_test.rb +99 -3
  398. data/test/unit/credit_test.rb +2 -3
  399. data/test/unit/creditcard_payment_test.rb +2 -20
  400. data/test/unit/creditcard_test.rb +104 -16
  401. data/test/unit/factories_test.rb +1 -1
  402. data/test/unit/flat_percent_item_total_test.rb +3 -2
  403. data/test/unit/helpers/admin/adjustments_helper_test.rb +4 -0
  404. data/test/unit/helpers/admin/credits_helper_test.rb +4 -0
  405. data/test/unit/helpers/admin/return_authorizations_helper_test.rb +4 -0
  406. data/test/unit/inventory_unit_test.rb +4 -6
  407. data/test/unit/line_item_test.rb +1 -1
  408. data/test/unit/order_mailer_test.rb +48 -0
  409. data/test/unit/order_state_test.rb +191 -0
  410. data/test/unit/order_test.rb +91 -11
  411. data/test/unit/payment_test.rb +54 -0
  412. data/test/unit/preference_definition_test.rb +192 -0
  413. data/test/unit/product_group_test.rb +260 -0
  414. data/test/unit/product_scope_test.rb +62 -0
  415. data/test/unit/product_test.rb +20 -11
  416. data/test/unit/return_authorization_test.rb +104 -0
  417. data/test/unit/shipment_test.rb +175 -0
  418. data/test/unit/shipping_method_test.rb +4 -4
  419. data/test/unit/state_event_test.rb +17 -6
  420. data/test/unit/tax_rate_test.rb +1 -1
  421. data/test/unit/variant_test.rb +25 -12
  422. data/vendor/extensions/api/README.markdown +5 -0
  423. data/vendor/extensions/api/Rakefile +137 -0
  424. data/vendor/extensions/api/api_extension.rb +75 -0
  425. data/vendor/extensions/api/api_hooks.rb +3 -0
  426. data/vendor/extensions/api/app/controllers/api/base_controller.rb +90 -0
  427. data/vendor/extensions/api/app/controllers/api/inventory_units_controller.rb +12 -0
  428. data/vendor/extensions/api/app/controllers/api/line_items_controller.rb +16 -0
  429. data/vendor/extensions/api/app/controllers/api/orders_controller.rb +17 -0
  430. data/vendor/extensions/api/app/controllers/api/products_controller.rb +10 -0
  431. data/vendor/extensions/api/app/controllers/api/shipments_controller.rb +35 -0
  432. data/vendor/extensions/api/app/helpers/api/shipments_helper.rb +2 -0
  433. data/vendor/extensions/api/app/views/admin/users/_api_fields.html.erb +16 -0
  434. data/vendor/extensions/api/config/locales/en-US.yml +16 -0
  435. data/vendor/extensions/api/config/locales/ru-RU.yml +16 -0
  436. data/vendor/extensions/api/config/routes.rb +15 -0
  437. data/vendor/extensions/api/db/migrate/20100107141738_add_api_key_to_users.rb +9 -0
  438. data/vendor/extensions/api/db/seeds.rb +2 -0
  439. data/vendor/extensions/api/lib/tasks/api_extension_tasks.rake +17 -0
  440. data/vendor/extensions/api/test/functional/admin/users_controller_test.rb +32 -0
  441. data/vendor/extensions/api/test/integration/inventory_units_api_test.rb +36 -0
  442. data/vendor/extensions/api/test/integration/orders_api_test.rb +125 -0
  443. data/vendor/extensions/api/test/integration/shipments_api_test.rb +117 -0
  444. data/vendor/extensions/api/test/test_helper.rb +53 -0
  445. data/vendor/extensions/api/test/unit/user_test.rb +21 -0
  446. data/vendor/extensions/localization/app/controllers/locale_controller.rb +5 -3
  447. data/vendor/extensions/localization/localization_extension.rb +1 -1
  448. data/vendor/extensions/overview_dashboard/README.markdown +3 -0
  449. data/vendor/extensions/overview_dashboard/Rakefile +137 -0
  450. data/vendor/extensions/overview_dashboard/app/controllers/admin/overview_controller.rb +142 -0
  451. data/vendor/extensions/overview_dashboard/app/views/admin/overview/index.html.erb +174 -0
  452. data/vendor/extensions/overview_dashboard/config/routes.rb +5 -0
  453. data/vendor/extensions/overview_dashboard/db/seeds.rb +2 -0
  454. data/vendor/extensions/overview_dashboard/lib/tasks/overview_dashboard_extension_tasks.rake +28 -0
  455. data/vendor/extensions/overview_dashboard/overview_dashboard_extension.rb +9 -0
  456. data/vendor/extensions/overview_dashboard/public/javascripts/dashboard.js +143 -0
  457. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/excanvas.min.js +1 -0
  458. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/jquery.jqplot.min.js +14 -0
  459. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.canvasAxisLabelRenderer.min.js +14 -0
  460. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.canvasAxisTickRenderer.min.js +14 -0
  461. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.canvasTextRenderer.min.js +14 -0
  462. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js +14 -0
  463. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.dateAxisRenderer.min.js +14 -0
  464. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.highlighter.min.js +14 -0
  465. data/vendor/extensions/overview_dashboard/public/javascripts/jqPlot/plugins/jqplot.pieRenderer.min.js +14 -0
  466. data/vendor/extensions/overview_dashboard/public/stylesheets/admin/dashboard.css +143 -0
  467. data/vendor/extensions/overview_dashboard/spec/spec.opts +6 -0
  468. data/vendor/extensions/overview_dashboard/spec/spec_helper.rb +37 -0
  469. data/vendor/extensions/payment_gateway/app/models/gateway.rb +47 -2
  470. data/vendor/extensions/payment_gateway/app/models/gateway/authorize_net.rb +8 -0
  471. data/vendor/extensions/payment_gateway/app/models/gateway/authorize_net_cim.rb +104 -0
  472. data/vendor/extensions/payment_gateway/app/models/gateway/beanstream.rb +164 -0
  473. data/vendor/extensions/payment_gateway/app/models/gateway/bogus.rb +80 -0
  474. data/vendor/extensions/payment_gateway/app/models/gateway/linkpoint.rb +8 -0
  475. data/vendor/extensions/payment_gateway/app/models/gateway/pay_pal.rb +11 -0
  476. data/vendor/extensions/payment_gateway/app/models/gateway/protx.rb +9 -0
  477. data/vendor/extensions/payment_gateway/config/locales/en-US.yml +6 -0
  478. data/vendor/extensions/payment_gateway/config/locales/ru-RU.yml +6 -0
  479. data/vendor/extensions/payment_gateway/config/routes.rb +2 -4
  480. data/vendor/extensions/payment_gateway/db/migrate/20091008091614_move_to_configurable_gateways.rb +55 -0
  481. data/vendor/extensions/payment_gateway/lib/active_merchant/billing/authorize_net_cim.rb +869 -0
  482. data/vendor/extensions/payment_gateway/lib/spree/payment_gateway.rb +161 -57
  483. data/vendor/extensions/payment_gateway/payment_gateway_extension.rb +22 -4
  484. data/vendor/extensions/payment_gateway/public/javascripts/gateway.js +13 -0
  485. data/vendor/extensions/payment_gateway/spec/models/creditcard_spec.rb +1 -10
  486. data/vendor/extensions/payment_gateway/test/mocks/authorize_net_cim_mock.rb +59 -0
  487. data/vendor/extensions/payment_gateway/test/test_helper.rb +14 -0
  488. data/vendor/extensions/payment_gateway/test/unit/authorize_net_cim_test.rb +85 -0
  489. data/vendor/extensions/payment_gateway/test/unit/creditcard_with_authorize_net_cim_test.rb +117 -0
  490. data/vendor/extensions/theme_default/HOOKS.markdown +88 -0
  491. data/vendor/extensions/theme_default/README.markdown +3 -0
  492. data/vendor/extensions/theme_default/Rakefile +120 -0
  493. data/vendor/extensions/theme_default/app/stylesheets/_buttons.less +75 -0
  494. data/vendor/extensions/theme_default/app/stylesheets/_cart.less +24 -0
  495. data/vendor/extensions/theme_default/app/stylesheets/_checkout.less +69 -0
  496. data/vendor/extensions/theme_default/app/stylesheets/_checkout_progress.less +62 -0
  497. data/vendor/extensions/theme_default/app/stylesheets/_colors.less +16 -0
  498. data/vendor/extensions/theme_default/app/stylesheets/_forms.less +50 -0
  499. data/vendor/extensions/theme_default/app/stylesheets/_layout.less +72 -0
  500. data/vendor/extensions/theme_default/app/stylesheets/_messages.less +32 -0
  501. data/vendor/extensions/theme_default/app/stylesheets/_mixins.less +71 -0
  502. data/vendor/extensions/theme_default/app/stylesheets/_navigation.less +130 -0
  503. data/vendor/extensions/theme_default/app/stylesheets/_prices.less +18 -0
  504. data/vendor/extensions/theme_default/app/stylesheets/_product_details.less +56 -0
  505. data/vendor/extensions/theme_default/app/stylesheets/_product_lists.less +66 -0
  506. data/vendor/extensions/theme_default/app/stylesheets/_registration.less +24 -0
  507. data/vendor/extensions/theme_default/app/stylesheets/_reset.less +69 -0
  508. data/vendor/extensions/theme_default/app/stylesheets/_typography.less +158 -0
  509. data/vendor/extensions/theme_default/app/stylesheets/screen.css +11 -0
  510. data/vendor/extensions/theme_default/app/stylesheets/screen.less +13 -0
  511. data/{app → vendor/extensions/theme_default/app}/views/account/login.html.erb +0 -0
  512. data/vendor/extensions/theme_default/app/views/admin/adjustments/_form.html.erb +21 -0
  513. data/vendor/extensions/theme_default/app/views/admin/adjustments/edit.html.erb +13 -0
  514. data/vendor/extensions/theme_default/app/views/admin/adjustments/index.html.erb +36 -0
  515. data/vendor/extensions/theme_default/app/views/admin/adjustments/new.html.erb +13 -0
  516. data/vendor/extensions/theme_default/app/views/admin/checkouts/_form.html.erb +16 -0
  517. data/vendor/extensions/theme_default/app/views/admin/checkouts/edit.html.erb +21 -0
  518. data/vendor/extensions/theme_default/app/views/admin/checkouts/show.html.erb +120 -0
  519. data/vendor/extensions/theme_default/app/views/admin/configurations/index.html.erb +74 -0
  520. data/{app → vendor/extensions/theme_default/app}/views/admin/configurations/new.html.erb +0 -0
  521. data/{app → vendor/extensions/theme_default/app}/views/admin/coupons/_form.html.erb +0 -0
  522. data/vendor/extensions/theme_default/app/views/admin/coupons/edit.html.erb +6 -0
  523. data/vendor/extensions/theme_default/app/views/admin/coupons/index.html.erb +40 -0
  524. data/vendor/extensions/theme_default/app/views/admin/coupons/new.html.erb +7 -0
  525. data/{app → vendor/extensions/theme_default/app}/views/admin/extensions/index.html.erb +0 -0
  526. data/{app → vendor/extensions/theme_default/app}/views/admin/general_settings/edit.html.erb +0 -0
  527. data/{app → vendor/extensions/theme_default/app}/views/admin/general_settings/show.html.erb +0 -0
  528. data/vendor/extensions/theme_default/app/views/admin/images/_form.html.erb +12 -0
  529. data/{app → vendor/extensions/theme_default/app}/views/admin/images/edit.html.erb +0 -0
  530. data/{app → vendor/extensions/theme_default/app}/views/admin/images/index.html.erb +0 -0
  531. data/{app → vendor/extensions/theme_default/app}/views/admin/images/new.html.erb +0 -0
  532. data/{app → vendor/extensions/theme_default/app}/views/admin/inventory_settings/edit.html.erb +0 -0
  533. data/{app → vendor/extensions/theme_default/app}/views/admin/inventory_settings/show.html.erb +0 -0
  534. data/{app → vendor/extensions/theme_default/app}/views/admin/inventory_units/adjust.html.erb +0 -0
  535. data/{app → vendor/extensions/theme_default/app}/views/admin/mail_settings/edit.html.erb +0 -0
  536. data/{app → vendor/extensions/theme_default/app}/views/admin/mail_settings/show.html.erb +0 -0
  537. data/vendor/extensions/theme_default/app/views/admin/option_types/_form.html.erb +33 -0
  538. data/{app → vendor/extensions/theme_default/app}/views/admin/option_types/_option_value.html.erb +0 -0
  539. data/{app → vendor/extensions/theme_default/app}/views/admin/option_types/available.html.erb +0 -0
  540. data/{app → vendor/extensions/theme_default/app}/views/admin/option_types/edit.html.erb +0 -0
  541. data/vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb +37 -0
  542. data/{app → vendor/extensions/theme_default/app}/views/admin/option_types/new.html.erb +0 -0
  543. data/vendor/extensions/theme_default/app/views/admin/option_types/selected.html.erb +38 -0
  544. data/vendor/extensions/theme_default/app/views/admin/orders/_add_product.html.erb +24 -0
  545. data/vendor/extensions/theme_default/app/views/admin/orders/_form.html.erb +70 -0
  546. data/vendor/extensions/theme_default/app/views/admin/orders/_line_item.html.erb +16 -0
  547. data/vendor/extensions/theme_default/app/views/admin/orders/edit.html.erb +25 -0
  548. data/vendor/extensions/theme_default/app/views/admin/orders/history.html.erb +25 -0
  549. data/vendor/extensions/theme_default/app/views/admin/orders/index.html.erb +96 -0
  550. data/vendor/extensions/theme_default/app/views/admin/orders/new.html.erb +19 -0
  551. data/vendor/extensions/theme_default/app/views/admin/orders/show.html.erb +45 -0
  552. data/vendor/extensions/theme_default/app/views/admin/payment_methods/_form.html.erb +45 -0
  553. data/vendor/extensions/theme_default/app/views/admin/payment_methods/edit.html.erb +10 -0
  554. data/vendor/extensions/theme_default/app/views/admin/payment_methods/index.html.erb +36 -0
  555. data/vendor/extensions/theme_default/app/views/admin/payment_methods/new.html.erb +11 -0
  556. data/vendor/extensions/theme_default/app/views/admin/payments/_bill_address_form.html.erb +9 -0
  557. data/vendor/extensions/theme_default/app/views/admin/payments/_card_form.html.erb +49 -0
  558. data/vendor/extensions/theme_default/app/views/admin/payments/_form.html.erb +15 -0
  559. data/vendor/extensions/theme_default/app/views/admin/payments/_list.html.erb +24 -0
  560. data/vendor/extensions/theme_default/app/views/admin/payments/_transaction_list.html.erb +24 -0
  561. data/vendor/extensions/theme_default/app/views/admin/payments/credit.html.erb +14 -0
  562. data/vendor/extensions/theme_default/app/views/admin/payments/index.html.erb +27 -0
  563. data/vendor/extensions/theme_default/app/views/admin/payments/new.html.erb +19 -0
  564. data/vendor/extensions/theme_default/app/views/admin/payments/show.html.erb +10 -0
  565. data/{app/views/admin/shared/_order_sub_menu.html.erb → vendor/extensions/theme_default/app/views/admin/payments/source_forms/_check.html.erb} +0 -0
  566. data/vendor/extensions/theme_default/app/views/admin/payments/source_forms/_gateway.html.erb +43 -0
  567. data/vendor/{plugins/paperclip/test/fixtures/text.txt → extensions/theme_default/app/views/admin/payments/source_views/_check.html.erb} +0 -0
  568. data/vendor/extensions/theme_default/app/views/admin/payments/source_views/_gateway.html.erb +35 -0
  569. data/vendor/extensions/theme_default/app/views/admin/product_groups/_preview.html.erb +34 -0
  570. data/vendor/extensions/theme_default/app/views/admin/product_groups/_product_scope.html.erb +24 -0
  571. data/vendor/extensions/theme_default/app/views/admin/product_groups/edit.html.erb +56 -0
  572. data/vendor/extensions/theme_default/app/views/admin/product_groups/index.html.erb +35 -0
  573. data/vendor/extensions/theme_default/app/views/admin/product_groups/new.html.erb +12 -0
  574. data/vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb +32 -0
  575. data/vendor/extensions/theme_default/app/views/admin/product_groups/update.js.erb +7 -0
  576. data/vendor/extensions/theme_default/app/views/admin/product_properties/_product_property.html.erb +17 -0
  577. data/vendor/extensions/theme_default/app/views/admin/product_properties/index.html.erb +59 -0
  578. data/vendor/extensions/theme_default/app/views/admin/product_scopes/create.js.erb +3 -0
  579. data/vendor/extensions/theme_default/app/views/admin/product_scopes/destroy.js.erb +2 -0
  580. data/vendor/extensions/theme_default/app/views/admin/product_scopes/new.html.erb +1 -0
  581. data/vendor/extensions/theme_default/app/views/admin/products/_form.html.erb +104 -0
  582. data/vendor/extensions/theme_default/app/views/admin/products/_option_types.html.erb +40 -0
  583. data/{app → vendor/extensions/theme_default/app}/views/admin/products/_properties_form.erb +0 -0
  584. data/{app → vendor/extensions/theme_default/app}/views/admin/products/edit.html.erb +0 -0
  585. data/vendor/extensions/theme_default/app/views/admin/products/index.html.erb +85 -0
  586. data/vendor/extensions/theme_default/app/views/admin/products/new.html.erb +53 -0
  587. data/{app → vendor/extensions/theme_default/app}/views/admin/products/show.html.erb +0 -0
  588. data/{app → vendor/extensions/theme_default/app}/views/admin/properties/_form.html.erb +0 -0
  589. data/{app → vendor/extensions/theme_default/app}/views/admin/properties/edit.html.erb +0 -0
  590. data/{app → vendor/extensions/theme_default/app}/views/admin/properties/filtered.html.erb +0 -0
  591. data/vendor/extensions/theme_default/app/views/admin/properties/index.html.erb +43 -0
  592. data/{app → vendor/extensions/theme_default/app}/views/admin/properties/new.html.erb +0 -0
  593. data/{app → vendor/extensions/theme_default/app}/views/admin/prototypes/_form.html.erb +0 -0
  594. data/vendor/extensions/theme_default/app/views/admin/prototypes/available.html.erb +22 -0
  595. data/{app → vendor/extensions/theme_default/app}/views/admin/prototypes/edit.html.erb +0 -0
  596. data/vendor/extensions/theme_default/app/views/admin/prototypes/index.html.erb +40 -0
  597. data/vendor/extensions/theme_default/app/views/admin/prototypes/new.html.erb +11 -0
  598. data/vendor/extensions/theme_default/app/views/admin/prototypes/select.rjs +7 -0
  599. data/vendor/extensions/theme_default/app/views/admin/reports/index.html.erb +19 -0
  600. data/{app → vendor/extensions/theme_default/app}/views/admin/reports/sales_total.html.erb +0 -0
  601. data/vendor/extensions/theme_default/app/views/admin/return_authorizations/_form.html.erb +64 -0
  602. data/vendor/extensions/theme_default/app/views/admin/return_authorizations/edit.html.erb +27 -0
  603. data/vendor/extensions/theme_default/app/views/admin/return_authorizations/index.html.erb +43 -0
  604. data/vendor/extensions/theme_default/app/views/admin/return_authorizations/new.html.erb +13 -0
  605. data/vendor/extensions/theme_default/app/views/admin/shared/_additional_field.html.erb +5 -0
  606. data/vendor/extensions/theme_default/app/views/admin/shared/_address.html.erb +5 -0
  607. data/vendor/extensions/theme_default/app/views/admin/shared/_address_form.html.erb +67 -0
  608. data/vendor/extensions/theme_default/app/views/admin/shared/_calculator_fields.html.erb +16 -0
  609. data/vendor/extensions/theme_default/app/views/admin/shared/_configuration_menu.html.erb +22 -0
  610. data/{app → vendor/extensions/theme_default/app}/views/admin/shared/_edit_resource_links.html.erb +0 -0
  611. data/{app → vendor/extensions/theme_default/app}/views/admin/shared/_new_resource_links.html.erb +0 -0
  612. data/{app → vendor/extensions/theme_default/app}/views/admin/shared/_order_details.html.erb +0 -0
  613. data/vendor/extensions/theme_default/app/views/admin/shared/_order_sub_menu.html.erb +0 -0
  614. data/vendor/extensions/theme_default/app/views/admin/shared/_order_tabs.html.erb +52 -0
  615. data/vendor/extensions/theme_default/app/views/admin/shared/_product_sub_menu.html.erb +11 -0
  616. data/vendor/extensions/theme_default/app/views/admin/shared/_product_tabs.html.erb +44 -0
  617. data/vendor/extensions/theme_default/app/views/admin/shared/_report_criteria.html.erb +15 -0
  618. data/{app → vendor/extensions/theme_default/app}/views/admin/shared/_show_resource_links.html.erb +0 -0
  619. data/vendor/extensions/theme_default/app/views/admin/shared/_tabs.html.erb +6 -0
  620. data/vendor/extensions/theme_default/app/views/admin/shipments/_form.html.erb +76 -0
  621. data/vendor/extensions/theme_default/app/views/admin/shipments/edit.html.erb +40 -0
  622. data/vendor/extensions/theme_default/app/views/admin/shipments/index.html.erb +44 -0
  623. data/vendor/extensions/theme_default/app/views/admin/shipments/new.html.erb +18 -0
  624. data/{app → vendor/extensions/theme_default/app}/views/admin/shipping_categories/_form.html.erb +0 -0
  625. data/vendor/extensions/theme_default/app/views/admin/shipping_categories/edit.html.erb +6 -0
  626. data/vendor/extensions/theme_default/app/views/admin/shipping_categories/index.html.erb +29 -0
  627. data/vendor/extensions/theme_default/app/views/admin/shipping_categories/new.html.erb +8 -0
  628. data/vendor/extensions/theme_default/app/views/admin/shipping_methods/_form.html.erb +19 -0
  629. data/vendor/extensions/theme_default/app/views/admin/shipping_methods/edit.html.erb +16 -0
  630. data/vendor/extensions/theme_default/app/views/admin/shipping_methods/index.html.erb +46 -0
  631. data/vendor/extensions/theme_default/app/views/admin/shipping_methods/new.html.erb +17 -0
  632. data/{app → vendor/extensions/theme_default/app}/views/admin/shipping_rates/_form.html.erb +0 -0
  633. data/vendor/extensions/theme_default/app/views/admin/shipping_rates/edit.html.erb +6 -0
  634. data/vendor/extensions/theme_default/app/views/admin/shipping_rates/index.html.erb +32 -0
  635. data/vendor/extensions/theme_default/app/views/admin/shipping_rates/new.html.erb +8 -0
  636. data/{app → vendor/extensions/theme_default/app}/views/admin/states/_form.html.erb +0 -0
  637. data/{app → vendor/extensions/theme_default/app}/views/admin/states/_state_list.html.erb +0 -0
  638. data/vendor/extensions/theme_default/app/views/admin/states/edit.html.erb +10 -0
  639. data/vendor/extensions/theme_default/app/views/admin/states/index.html.erb +25 -0
  640. data/vendor/extensions/theme_default/app/views/admin/states/new.html.erb +10 -0
  641. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_categories/_form.html.erb +0 -0
  642. data/vendor/extensions/theme_default/app/views/admin/tax_categories/edit.html.erb +10 -0
  643. data/vendor/extensions/theme_default/app/views/admin/tax_categories/index.html.erb +37 -0
  644. data/vendor/extensions/theme_default/app/views/admin/tax_categories/new.html.erb +10 -0
  645. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_categories/show.html.erb +0 -0
  646. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_rates/_form.html.erb +0 -0
  647. data/vendor/extensions/theme_default/app/views/admin/tax_rates/edit.html.erb +6 -0
  648. data/vendor/extensions/theme_default/app/views/admin/tax_rates/index.html.erb +34 -0
  649. data/vendor/extensions/theme_default/app/views/admin/tax_rates/new.html.erb +8 -0
  650. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_settings/edit.html.erb +0 -0
  651. data/{app → vendor/extensions/theme_default/app}/views/admin/tax_settings/show.html.erb +0 -0
  652. data/vendor/extensions/theme_default/app/views/admin/taxonomies/_form.html.erb +7 -0
  653. data/vendor/extensions/theme_default/app/views/admin/taxonomies/_js_head.html.erb +11 -0
  654. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/_list.html.erb +0 -0
  655. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/_manage_products.rhtml +0 -0
  656. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/_success.rhtml +0 -0
  657. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/_taxon.html.erb +0 -0
  658. data/vendor/extensions/theme_default/app/views/admin/taxonomies/edit.html.erb +49 -0
  659. data/vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb +9 -0
  660. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/index.html.erb +0 -0
  661. data/{app → vendor/extensions/theme_default/app}/views/admin/taxonomies/new.html.erb +0 -0
  662. data/vendor/extensions/theme_default/app/views/admin/taxons/_form.html.erb +13 -0
  663. data/vendor/extensions/theme_default/app/views/admin/taxons/_taxon_table.html.erb +28 -0
  664. data/vendor/extensions/theme_default/app/views/admin/taxons/available.js.erb +36 -0
  665. data/vendor/extensions/theme_default/app/views/admin/taxons/edit.html.erb +11 -0
  666. data/{app → vendor/extensions/theme_default/app}/views/admin/taxons/remove.html.erb +0 -0
  667. data/{app → vendor/extensions/theme_default/app}/views/admin/taxons/select.html.erb +0 -0
  668. data/vendor/extensions/theme_default/app/views/admin/taxons/selected.html.erb +42 -0
  669. data/vendor/extensions/theme_default/app/views/admin/trackers/_form.html.erb +26 -0
  670. data/vendor/extensions/theme_default/app/views/admin/trackers/edit.html.erb +8 -0
  671. data/vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb +41 -0
  672. data/vendor/extensions/theme_default/app/views/admin/trackers/new.html.erb +9 -0
  673. data/vendor/extensions/theme_default/app/views/admin/users/_form.html.erb +36 -0
  674. data/vendor/extensions/theme_default/app/views/admin/users/edit.html.erb +16 -0
  675. data/vendor/extensions/theme_default/app/views/admin/users/index.html.erb +62 -0
  676. data/vendor/extensions/theme_default/app/views/admin/users/new.html.erb +16 -0
  677. data/{app → vendor/extensions/theme_default/app}/views/admin/users/show.html.erb +0 -0
  678. data/vendor/extensions/theme_default/app/views/admin/variants/_form.html.erb +38 -0
  679. data/vendor/extensions/theme_default/app/views/admin/variants/edit.html.erb +13 -0
  680. data/vendor/extensions/theme_default/app/views/admin/variants/index.html.erb +54 -0
  681. data/vendor/extensions/theme_default/app/views/admin/variants/new.html.erb +11 -0
  682. data/vendor/extensions/theme_default/app/views/admin/zones/_country_member.html.erb +5 -0
  683. data/vendor/extensions/theme_default/app/views/admin/zones/_form.html.erb +29 -0
  684. data/{app → vendor/extensions/theme_default/app}/views/admin/zones/_member_type.html.erb +0 -0
  685. data/vendor/extensions/theme_default/app/views/admin/zones/_state_member.html.erb +5 -0
  686. data/vendor/extensions/theme_default/app/views/admin/zones/_zone_member.html.erb +5 -0
  687. data/vendor/extensions/theme_default/app/views/admin/zones/edit.html.erb +10 -0
  688. data/vendor/extensions/theme_default/app/views/admin/zones/index.html.erb +40 -0
  689. data/vendor/extensions/theme_default/app/views/admin/zones/new.html.erb +10 -0
  690. data/vendor/extensions/theme_default/app/views/checkouts/_address.html.erb +163 -0
  691. data/vendor/extensions/theme_default/app/views/checkouts/_confirm.html.erb +11 -0
  692. data/vendor/extensions/theme_default/app/views/checkouts/_delivery.html.erb +33 -0
  693. data/vendor/extensions/theme_default/app/views/checkouts/_guest_checkout.html.erb +9 -0
  694. data/vendor/extensions/theme_default/app/views/checkouts/_payment.html.erb +33 -0
  695. data/vendor/extensions/theme_default/app/views/checkouts/_summary.html.erb +36 -0
  696. data/vendor/extensions/theme_default/app/views/checkouts/edit.html.erb +20 -0
  697. data/vendor/extensions/theme_default/app/views/checkouts/payment/_check.html.erb +0 -0
  698. data/vendor/extensions/theme_default/app/views/checkouts/payment/_gateway.html.erb +31 -0
  699. data/vendor/extensions/theme_default/app/views/checkouts/register.html.erb +13 -0
  700. data/{app → vendor/extensions/theme_default/app}/views/content/cvv.html.erb +0 -0
  701. data/{app → vendor/extensions/theme_default/app}/views/countries/index.js.erb +0 -0
  702. data/vendor/extensions/theme_default/app/views/layouts/admin.html.erb +77 -0
  703. data/vendor/extensions/theme_default/app/views/layouts/spree_application.html.erb +48 -0
  704. data/{app → vendor/extensions/theme_default/app}/views/order_mailer/cancel.html.erb +0 -0
  705. data/{app → vendor/extensions/theme_default/app}/views/order_mailer/confirm.html.erb +0 -0
  706. data/vendor/extensions/theme_default/app/views/orders/_form.html.erb +25 -0
  707. data/vendor/extensions/theme_default/app/views/orders/_line_item.html.erb +43 -0
  708. data/vendor/extensions/theme_default/app/views/orders/edit.html.erb +29 -0
  709. data/{app → vendor/extensions/theme_default/app}/views/orders/new.html.erb +0 -0
  710. data/vendor/extensions/theme_default/app/views/orders/show.html.erb +16 -0
  711. data/vendor/extensions/theme_default/app/views/password_resets/edit.html.erb +12 -0
  712. data/vendor/extensions/theme_default/app/views/password_resets/new.html.erb +12 -0
  713. data/vendor/extensions/theme_default/app/views/products/_cart_form.html.erb +54 -0
  714. data/{app → vendor/extensions/theme_default/app}/views/products/_image.html.erb +0 -0
  715. data/vendor/extensions/theme_default/app/views/products/_properties.html.erb +8 -0
  716. data/vendor/extensions/theme_default/app/views/products/_taxons.html.erb +16 -0
  717. data/vendor/extensions/theme_default/app/views/products/_thumbnails.html.erb +40 -0
  718. data/vendor/extensions/theme_default/app/views/products/index.html.erb +31 -0
  719. data/vendor/extensions/theme_default/app/views/products/show.html.erb +29 -0
  720. data/vendor/extensions/theme_default/app/views/shared/_additional_field.html.erb +7 -0
  721. data/vendor/extensions/theme_default/app/views/shared/_admin_head.html.erb +21 -0
  722. data/{app → vendor/extensions/theme_default/app}/views/shared/_edit_resource_links.html.erb +0 -0
  723. data/vendor/extensions/theme_default/app/views/shared/_filters.html.erb +52 -0
  724. data/vendor/extensions/theme_default/app/views/shared/_footer.html.erb +11 -0
  725. data/vendor/extensions/theme_default/app/views/shared/_google_analytics.html.erb +39 -0
  726. data/vendor/extensions/theme_default/app/views/shared/_head.html.erb +9 -0
  727. data/vendor/extensions/theme_default/app/views/shared/_login.html.erb +37 -0
  728. data/{app → vendor/extensions/theme_default/app}/views/shared/_login_bar.html.erb +0 -0
  729. data/vendor/extensions/theme_default/app/views/shared/_nav_bar.html.erb +5 -0
  730. data/{app → vendor/extensions/theme_default/app}/views/shared/_new_resource_links.html.erb +0 -0
  731. data/vendor/extensions/theme_default/app/views/shared/_order_details.html.erb +60 -0
  732. data/vendor/extensions/theme_default/app/views/shared/_products.html.erb +33 -0
  733. data/vendor/extensions/theme_default/app/views/shared/_search.html.erb +9 -0
  734. data/{app → vendor/extensions/theme_default/app}/views/shared/_show_resource_links.html.erb +0 -0
  735. data/{app → vendor/extensions/theme_default/app}/views/shared/_store_menu.html.erb +0 -0
  736. data/vendor/extensions/theme_default/app/views/shared/_taxonomies.html.erb +10 -0
  737. data/vendor/extensions/theme_default/app/views/shared/_test_hook.html.erb +1 -0
  738. data/vendor/extensions/theme_default/app/views/shared/_user_form.html.erb +32 -0
  739. data/{app → vendor/extensions/theme_default/app}/views/states/index.js.erb +0 -0
  740. data/{app → vendor/extensions/theme_default/app}/views/taxons/_taxon.html.erb +0 -0
  741. data/vendor/extensions/theme_default/app/views/taxons/show.html.erb +17 -0
  742. data/{app → vendor/extensions/theme_default/app}/views/user_mailer/password_reset_instructions.erb +0 -0
  743. data/{app → vendor/extensions/theme_default/app}/views/user_sessions/authorization_failure.html.erb +0 -0
  744. data/vendor/extensions/theme_default/app/views/user_sessions/new.html.erb +8 -0
  745. data/vendor/extensions/theme_default/app/views/users/_openid_identifier.html.erb +10 -0
  746. data/vendor/extensions/theme_default/app/views/users/edit.html.erb +9 -0
  747. data/vendor/extensions/theme_default/app/views/users/new.html.erb +22 -0
  748. data/vendor/extensions/theme_default/app/views/users/show.html.erb +46 -0
  749. data/vendor/extensions/theme_default/lib/tasks/theme_default_extension_tasks.rake +28 -0
  750. data/vendor/extensions/theme_default/public/images/add-to-cart.png +0 -0
  751. data/vendor/extensions/theme_default/public/images/admin/bg/active-tab.png +0 -0
  752. data/vendor/extensions/theme_default/public/images/admin/bg/admin_tab_back.png +0 -0
  753. data/vendor/extensions/theme_default/public/images/admin/bg/admin_tab_selected_back.png +0 -0
  754. data/vendor/extensions/theme_default/public/images/admin/bg/content-back-blue.png +0 -0
  755. data/vendor/extensions/theme_default/public/images/admin/bg/content-back-green.png +0 -0
  756. data/vendor/extensions/theme_default/public/images/admin/bg/content-back.png +0 -0
  757. data/vendor/extensions/theme_default/public/images/admin/bg/flash-error.png +0 -0
  758. data/vendor/extensions/theme_default/public/images/admin/bg/flash-notice.png +0 -0
  759. data/vendor/extensions/theme_default/public/images/admin/bg/green-stripes.gif +0 -0
  760. data/vendor/extensions/theme_default/public/images/admin/bg/green-stripes.png +0 -0
  761. data/vendor/extensions/theme_default/public/images/admin/bg/grid_header_back.png +0 -0
  762. data/vendor/extensions/theme_default/public/images/admin/bg/grid_header_back_green.png +0 -0
  763. data/vendor/extensions/theme_default/public/images/admin/bg/header-bg.png +0 -0
  764. data/vendor/extensions/theme_default/public/images/admin/bg/header_bg.jpg +0 -0
  765. data/vendor/extensions/theme_default/public/images/admin/bg/menu-current.png +0 -0
  766. data/vendor/extensions/theme_default/public/images/admin/bg/red-stripes.gif +0 -0
  767. data/vendor/extensions/theme_default/public/images/admin/bg/red-stripes.png +0 -0
  768. data/vendor/extensions/theme_default/public/images/admin/bg/spree_50.png +0 -0
  769. data/vendor/extensions/theme_default/public/images/admin/bg/subnav-divider.png +0 -0
  770. data/vendor/extensions/theme_default/public/images/admin/bg/subnav.png +0 -0
  771. data/vendor/extensions/theme_default/public/images/admin/bg/tab-back.png +0 -0
  772. data/vendor/extensions/theme_default/public/images/admin/buttons/blue/left_01.png +0 -0
  773. data/vendor/extensions/theme_default/public/images/admin/buttons/blue/right_01.png +0 -0
  774. data/vendor/extensions/theme_default/public/images/admin/buttons/drag-handle-green.png +0 -0
  775. data/vendor/extensions/theme_default/public/images/admin/buttons/green/left_01.png +0 -0
  776. data/vendor/extensions/theme_default/public/images/admin/buttons/green/right_01.png +0 -0
  777. data/vendor/extensions/theme_default/public/images/admin/buttons/left_01.png +0 -0
  778. data/vendor/extensions/theme_default/public/images/admin/buttons/left_01_small.png +0 -0
  779. data/vendor/extensions/theme_default/public/images/admin/buttons/orange/left_03.png +0 -0
  780. data/vendor/extensions/theme_default/public/images/admin/buttons/orange/right_03.png +0 -0
  781. data/vendor/extensions/theme_default/public/images/admin/buttons/right_01.png +0 -0
  782. data/vendor/extensions/theme_default/public/images/admin/buttons/right_01_small.png +0 -0
  783. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/1.png +0 -0
  784. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/10.png +0 -0
  785. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/2.png +0 -0
  786. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/3.png +0 -0
  787. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/4.png +0 -0
  788. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/5.png +0 -0
  789. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/6.png +0 -0
  790. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/7.png +0 -0
  791. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/8.png +0 -0
  792. data/vendor/extensions/theme_default/public/images/admin/icons/16x16/9.png +0 -0
  793. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/1.png +0 -0
  794. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/10.png +0 -0
  795. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/11.png +0 -0
  796. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/2.png +0 -0
  797. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/3.png +0 -0
  798. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/4.png +0 -0
  799. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/5.png +0 -0
  800. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/6.png +0 -0
  801. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/7.png +0 -0
  802. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/8.png +0 -0
  803. data/vendor/extensions/theme_default/public/images/admin/icons/32x32/9.png +0 -0
  804. data/vendor/extensions/theme_default/public/images/admin/icons/accept.png +0 -0
  805. data/vendor/extensions/theme_default/public/images/admin/icons/add.gif +0 -0
  806. data/vendor/extensions/theme_default/public/images/admin/icons/add.png +0 -0
  807. data/vendor/extensions/theme_default/public/images/admin/icons/arrow-down.gif +0 -0
  808. data/vendor/extensions/theme_default/public/images/admin/icons/cross.png +0 -0
  809. data/vendor/extensions/theme_default/public/images/admin/icons/delete.gif +0 -0
  810. data/vendor/extensions/theme_default/public/images/admin/icons/delete.png +0 -0
  811. data/vendor/extensions/theme_default/public/images/admin/icons/drag.gif +0 -0
  812. data/vendor/extensions/theme_default/public/images/admin/icons/edit.gif +0 -0
  813. data/vendor/extensions/theme_default/public/images/admin/icons/edit.png +0 -0
  814. data/vendor/extensions/theme_default/public/images/admin/icons/email.png +0 -0
  815. data/vendor/extensions/theme_default/public/images/admin/icons/error.png +0 -0
  816. data/vendor/extensions/theme_default/public/images/admin/icons/exclamation.png +0 -0
  817. data/vendor/extensions/theme_default/public/images/admin/icons/feed.png +0 -0
  818. data/vendor/extensions/theme_default/public/images/admin/icons/pdf.png +0 -0
  819. data/vendor/extensions/theme_default/public/images/admin/icons/reorder.gif +0 -0
  820. data/vendor/extensions/theme_default/public/images/admin/icons/search.gif +0 -0
  821. data/vendor/extensions/theme_default/public/images/admin/icons/send-email.png +0 -0
  822. data/vendor/extensions/theme_default/public/images/admin/icons/stop.png +0 -0
  823. data/vendor/extensions/theme_default/public/images/admin/icons/tick.png +0 -0
  824. data/vendor/extensions/theme_default/public/images/admin/icons/up.gif +0 -0
  825. data/vendor/extensions/theme_default/public/images/admin/icons/xls.png +0 -0
  826. data/vendor/extensions/theme_default/public/images/admin/tabs/off-left.png +0 -0
  827. data/vendor/extensions/theme_default/public/images/admin/tabs/off-right.png +0 -0
  828. data/vendor/extensions/theme_default/public/images/admin/tabs/on-left.png +0 -0
  829. data/vendor/extensions/theme_default/public/images/admin/tabs/on-right.png +0 -0
  830. data/vendor/extensions/theme_default/public/images/ajax_loader.gif +0 -0
  831. data/vendor/extensions/theme_default/public/images/amex_cid.gif +0 -0
  832. data/vendor/extensions/theme_default/public/images/bg-button-hover.png +0 -0
  833. data/vendor/extensions/theme_default/public/images/bg-button-pressed.png +0 -0
  834. data/vendor/extensions/theme_default/public/images/bg-button.gif +0 -0
  835. data/vendor/extensions/theme_default/public/images/bg-button.png +0 -0
  836. data/vendor/extensions/theme_default/public/images/blue/left_01.png +0 -0
  837. data/vendor/extensions/theme_default/public/images/blue/right_01.png +0 -0
  838. data/vendor/extensions/theme_default/public/images/body-back.png +0 -0
  839. data/vendor/extensions/theme_default/public/images/bottom_shine.png +0 -0
  840. data/vendor/extensions/theme_default/public/images/breadcrumb.gif +0 -0
  841. data/vendor/extensions/theme_default/public/images/button-dark-hover.png +0 -0
  842. data/vendor/extensions/theme_default/public/images/button-dark.png +0 -0
  843. data/vendor/extensions/theme_default/public/images/buttons/bg-button-hover.png +0 -0
  844. data/vendor/extensions/theme_default/public/images/buttons/bg-button-pressed.png +0 -0
  845. data/vendor/extensions/theme_default/public/images/buttons/bg-button.gif +0 -0
  846. data/vendor/extensions/theme_default/public/images/buttons/bg-button.png +0 -0
  847. data/vendor/extensions/theme_default/public/images/buttons/blue/left_01.png +0 -0
  848. data/vendor/extensions/theme_default/public/images/buttons/blue/right_01.png +0 -0
  849. data/vendor/extensions/theme_default/public/images/buttons/button-dark-hover.png +0 -0
  850. data/vendor/extensions/theme_default/public/images/buttons/button-dark.png +0 -0
  851. data/vendor/extensions/theme_default/public/images/buttons/drag-handle-green.png +0 -0
  852. data/vendor/extensions/theme_default/public/images/buttons/green/left_01.png +0 -0
  853. data/vendor/extensions/theme_default/public/images/buttons/green/right_01.png +0 -0
  854. data/vendor/extensions/theme_default/public/images/buttons/left_01.png +0 -0
  855. data/vendor/extensions/theme_default/public/images/buttons/left_01_small.png +0 -0
  856. data/vendor/extensions/theme_default/public/images/buttons/orange/left_03.png +0 -0
  857. data/vendor/extensions/theme_default/public/images/buttons/orange/right_03.png +0 -0
  858. data/vendor/extensions/theme_default/public/images/buttons/right_01.png +0 -0
  859. data/vendor/extensions/theme_default/public/images/buttons/right_01_small.png +0 -0
  860. data/vendor/extensions/theme_default/public/images/buttons/sxsw-ribbon-v1.png +0 -0
  861. data/vendor/extensions/theme_default/public/images/buttons/top-shine.png +0 -0
  862. data/vendor/extensions/theme_default/public/images/calendar_date_select/calendar.gif +0 -0
  863. data/vendor/extensions/theme_default/public/images/cart-empty.png +0 -0
  864. data/vendor/extensions/theme_default/public/images/cart-empty_x32.png +0 -0
  865. data/vendor/extensions/theme_default/public/images/cart-full.png +0 -0
  866. data/vendor/extensions/theme_default/public/images/cart-full_x32.png +0 -0
  867. data/vendor/extensions/theme_default/public/images/checkout.png +0 -0
  868. data/vendor/extensions/theme_default/public/images/creditcard.gif +0 -0
  869. data/vendor/extensions/theme_default/public/images/datepicker/backstripes.gif +0 -0
  870. data/vendor/extensions/theme_default/public/images/datepicker/bg_header.jpg +0 -0
  871. data/vendor/extensions/theme_default/public/images/datepicker/bullet1.gif +0 -0
  872. data/vendor/extensions/theme_default/public/images/datepicker/bullet2.gif +0 -0
  873. data/vendor/extensions/theme_default/public/images/datepicker/cal.gif +0 -0
  874. data/vendor/extensions/theme_default/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  875. data/vendor/extensions/theme_default/public/images/discover_cid.gif +0 -0
  876. data/vendor/extensions/theme_default/public/images/drag-handle-green.png +0 -0
  877. data/vendor/extensions/theme_default/public/images/flags/ad.png +0 -0
  878. data/vendor/extensions/theme_default/public/images/flags/ae.png +0 -0
  879. data/vendor/extensions/theme_default/public/images/flags/af.png +0 -0
  880. data/vendor/extensions/theme_default/public/images/flags/ag.png +0 -0
  881. data/vendor/extensions/theme_default/public/images/flags/ai.png +0 -0
  882. data/vendor/extensions/theme_default/public/images/flags/al.png +0 -0
  883. data/vendor/extensions/theme_default/public/images/flags/am.png +0 -0
  884. data/vendor/extensions/theme_default/public/images/flags/an.png +0 -0
  885. data/vendor/extensions/theme_default/public/images/flags/ao.png +0 -0
  886. data/vendor/extensions/theme_default/public/images/flags/ar.png +0 -0
  887. data/vendor/extensions/theme_default/public/images/flags/as.png +0 -0
  888. data/vendor/extensions/theme_default/public/images/flags/at.png +0 -0
  889. data/vendor/extensions/theme_default/public/images/flags/au.png +0 -0
  890. data/vendor/extensions/theme_default/public/images/flags/aw.png +0 -0
  891. data/vendor/extensions/theme_default/public/images/flags/ax.png +0 -0
  892. data/vendor/extensions/theme_default/public/images/flags/az.png +0 -0
  893. data/vendor/extensions/theme_default/public/images/flags/ba.png +0 -0
  894. data/vendor/extensions/theme_default/public/images/flags/bb.png +0 -0
  895. data/vendor/extensions/theme_default/public/images/flags/bd.png +0 -0
  896. data/vendor/extensions/theme_default/public/images/flags/be.png +0 -0
  897. data/vendor/extensions/theme_default/public/images/flags/bf.png +0 -0
  898. data/vendor/extensions/theme_default/public/images/flags/bg.png +0 -0
  899. data/vendor/extensions/theme_default/public/images/flags/bh.png +0 -0
  900. data/vendor/extensions/theme_default/public/images/flags/bi.png +0 -0
  901. data/vendor/extensions/theme_default/public/images/flags/bj.png +0 -0
  902. data/vendor/extensions/theme_default/public/images/flags/bm.png +0 -0
  903. data/vendor/extensions/theme_default/public/images/flags/bn.png +0 -0
  904. data/vendor/extensions/theme_default/public/images/flags/bo.png +0 -0
  905. data/vendor/extensions/theme_default/public/images/flags/br.png +0 -0
  906. data/vendor/extensions/theme_default/public/images/flags/bs.png +0 -0
  907. data/vendor/extensions/theme_default/public/images/flags/bt.png +0 -0
  908. data/vendor/extensions/theme_default/public/images/flags/bv.png +0 -0
  909. data/vendor/extensions/theme_default/public/images/flags/bw.png +0 -0
  910. data/vendor/extensions/theme_default/public/images/flags/by.png +0 -0
  911. data/vendor/extensions/theme_default/public/images/flags/bz.png +0 -0
  912. data/vendor/extensions/theme_default/public/images/flags/ca.png +0 -0
  913. data/vendor/extensions/theme_default/public/images/flags/catalonia.png +0 -0
  914. data/vendor/extensions/theme_default/public/images/flags/cc.png +0 -0
  915. data/vendor/extensions/theme_default/public/images/flags/cd.png +0 -0
  916. data/vendor/extensions/theme_default/public/images/flags/cf.png +0 -0
  917. data/vendor/extensions/theme_default/public/images/flags/cg.png +0 -0
  918. data/vendor/extensions/theme_default/public/images/flags/ch.png +0 -0
  919. data/vendor/extensions/theme_default/public/images/flags/ci.png +0 -0
  920. data/vendor/extensions/theme_default/public/images/flags/ck.png +0 -0
  921. data/vendor/extensions/theme_default/public/images/flags/cl.png +0 -0
  922. data/vendor/extensions/theme_default/public/images/flags/cm.png +0 -0
  923. data/vendor/extensions/theme_default/public/images/flags/cn.png +0 -0
  924. data/vendor/extensions/theme_default/public/images/flags/co.png +0 -0
  925. data/vendor/extensions/theme_default/public/images/flags/cr.png +0 -0
  926. data/vendor/extensions/theme_default/public/images/flags/cs.png +0 -0
  927. data/vendor/extensions/theme_default/public/images/flags/cu.png +0 -0
  928. data/vendor/extensions/theme_default/public/images/flags/cv.png +0 -0
  929. data/vendor/extensions/theme_default/public/images/flags/cx.png +0 -0
  930. data/vendor/extensions/theme_default/public/images/flags/cy.png +0 -0
  931. data/vendor/extensions/theme_default/public/images/flags/cz.png +0 -0
  932. data/vendor/extensions/theme_default/public/images/flags/da.png +0 -0
  933. data/vendor/extensions/theme_default/public/images/flags/de.png +0 -0
  934. data/vendor/extensions/theme_default/public/images/flags/de_CH.png +0 -0
  935. data/vendor/extensions/theme_default/public/images/flags/dj.png +0 -0
  936. data/vendor/extensions/theme_default/public/images/flags/dm.png +0 -0
  937. data/vendor/extensions/theme_default/public/images/flags/do.png +0 -0
  938. data/vendor/extensions/theme_default/public/images/flags/dz.png +0 -0
  939. data/vendor/extensions/theme_default/public/images/flags/ec.png +0 -0
  940. data/vendor/extensions/theme_default/public/images/flags/ee.png +0 -0
  941. data/vendor/extensions/theme_default/public/images/flags/eg.png +0 -0
  942. data/vendor/extensions/theme_default/public/images/flags/eh.png +0 -0
  943. data/vendor/extensions/theme_default/public/images/flags/england.png +0 -0
  944. data/vendor/extensions/theme_default/public/images/flags/er.png +0 -0
  945. data/vendor/extensions/theme_default/public/images/flags/es.png +0 -0
  946. data/vendor/extensions/theme_default/public/images/flags/et.png +0 -0
  947. data/vendor/extensions/theme_default/public/images/flags/europeanunion.png +0 -0
  948. data/vendor/extensions/theme_default/public/images/flags/fam.png +0 -0
  949. data/vendor/extensions/theme_default/public/images/flags/fi.png +0 -0
  950. data/vendor/extensions/theme_default/public/images/flags/fj.png +0 -0
  951. data/vendor/extensions/theme_default/public/images/flags/fk.png +0 -0
  952. data/vendor/extensions/theme_default/public/images/flags/fm.png +0 -0
  953. data/vendor/extensions/theme_default/public/images/flags/fo.png +0 -0
  954. data/vendor/extensions/theme_default/public/images/flags/fr.png +0 -0
  955. data/vendor/extensions/theme_default/public/images/flags/ga.png +0 -0
  956. data/vendor/extensions/theme_default/public/images/flags/gb.png +0 -0
  957. data/vendor/extensions/theme_default/public/images/flags/gd.png +0 -0
  958. data/vendor/extensions/theme_default/public/images/flags/ge.png +0 -0
  959. data/vendor/extensions/theme_default/public/images/flags/gf.png +0 -0
  960. data/vendor/extensions/theme_default/public/images/flags/gh.png +0 -0
  961. data/vendor/extensions/theme_default/public/images/flags/gi.png +0 -0
  962. data/vendor/extensions/theme_default/public/images/flags/gl.png +0 -0
  963. data/vendor/extensions/theme_default/public/images/flags/gm.png +0 -0
  964. data/vendor/extensions/theme_default/public/images/flags/gn.png +0 -0
  965. data/vendor/extensions/theme_default/public/images/flags/gp.png +0 -0
  966. data/vendor/extensions/theme_default/public/images/flags/gq.png +0 -0
  967. data/vendor/extensions/theme_default/public/images/flags/gr.png +0 -0
  968. data/vendor/extensions/theme_default/public/images/flags/gs.png +0 -0
  969. data/vendor/extensions/theme_default/public/images/flags/gt.png +0 -0
  970. data/vendor/extensions/theme_default/public/images/flags/gu.png +0 -0
  971. data/vendor/extensions/theme_default/public/images/flags/gw.png +0 -0
  972. data/vendor/extensions/theme_default/public/images/flags/gy.png +0 -0
  973. data/vendor/extensions/theme_default/public/images/flags/hk.png +0 -0
  974. data/vendor/extensions/theme_default/public/images/flags/hm.png +0 -0
  975. data/vendor/extensions/theme_default/public/images/flags/hn.png +0 -0
  976. data/vendor/extensions/theme_default/public/images/flags/hr.png +0 -0
  977. data/vendor/extensions/theme_default/public/images/flags/ht.png +0 -0
  978. data/vendor/extensions/theme_default/public/images/flags/hu.png +0 -0
  979. data/vendor/extensions/theme_default/public/images/flags/id.png +0 -0
  980. data/vendor/extensions/theme_default/public/images/flags/ie.png +0 -0
  981. data/vendor/extensions/theme_default/public/images/flags/il.png +0 -0
  982. data/vendor/extensions/theme_default/public/images/flags/in.png +0 -0
  983. data/vendor/extensions/theme_default/public/images/flags/io.png +0 -0
  984. data/vendor/extensions/theme_default/public/images/flags/iq.png +0 -0
  985. data/vendor/extensions/theme_default/public/images/flags/ir.png +0 -0
  986. data/vendor/extensions/theme_default/public/images/flags/is.png +0 -0
  987. data/vendor/extensions/theme_default/public/images/flags/it.png +0 -0
  988. data/vendor/extensions/theme_default/public/images/flags/jm.png +0 -0
  989. data/vendor/extensions/theme_default/public/images/flags/jo.png +0 -0
  990. data/vendor/extensions/theme_default/public/images/flags/jp.png +0 -0
  991. data/vendor/extensions/theme_default/public/images/flags/ke.png +0 -0
  992. data/vendor/extensions/theme_default/public/images/flags/kg.png +0 -0
  993. data/vendor/extensions/theme_default/public/images/flags/kh.png +0 -0
  994. data/vendor/extensions/theme_default/public/images/flags/ki.png +0 -0
  995. data/vendor/extensions/theme_default/public/images/flags/km.png +0 -0
  996. data/vendor/extensions/theme_default/public/images/flags/kn.png +0 -0
  997. data/vendor/extensions/theme_default/public/images/flags/kp.png +0 -0
  998. data/vendor/extensions/theme_default/public/images/flags/kr.png +0 -0
  999. data/vendor/extensions/theme_default/public/images/flags/kw.png +0 -0
  1000. data/vendor/extensions/theme_default/public/images/flags/ky.png +0 -0
  1001. data/vendor/extensions/theme_default/public/images/flags/kz.png +0 -0
  1002. data/vendor/extensions/theme_default/public/images/flags/la.png +0 -0
  1003. data/vendor/extensions/theme_default/public/images/flags/lb.png +0 -0
  1004. data/vendor/extensions/theme_default/public/images/flags/lc.png +0 -0
  1005. data/vendor/extensions/theme_default/public/images/flags/li.png +0 -0
  1006. data/vendor/extensions/theme_default/public/images/flags/lk.png +0 -0
  1007. data/vendor/extensions/theme_default/public/images/flags/lr.png +0 -0
  1008. data/vendor/extensions/theme_default/public/images/flags/ls.png +0 -0
  1009. data/vendor/extensions/theme_default/public/images/flags/lt.png +0 -0
  1010. data/vendor/extensions/theme_default/public/images/flags/lu.png +0 -0
  1011. data/vendor/extensions/theme_default/public/images/flags/lv.png +0 -0
  1012. data/vendor/extensions/theme_default/public/images/flags/ly.png +0 -0
  1013. data/vendor/extensions/theme_default/public/images/flags/ma.png +0 -0
  1014. data/vendor/extensions/theme_default/public/images/flags/mc.png +0 -0
  1015. data/vendor/extensions/theme_default/public/images/flags/md.png +0 -0
  1016. data/vendor/extensions/theme_default/public/images/flags/me.png +0 -0
  1017. data/vendor/extensions/theme_default/public/images/flags/mg.png +0 -0
  1018. data/vendor/extensions/theme_default/public/images/flags/mh.png +0 -0
  1019. data/vendor/extensions/theme_default/public/images/flags/mk.png +0 -0
  1020. data/vendor/extensions/theme_default/public/images/flags/ml.png +0 -0
  1021. data/vendor/extensions/theme_default/public/images/flags/mm.png +0 -0
  1022. data/vendor/extensions/theme_default/public/images/flags/mn.png +0 -0
  1023. data/vendor/extensions/theme_default/public/images/flags/mo.png +0 -0
  1024. data/vendor/extensions/theme_default/public/images/flags/mp.png +0 -0
  1025. data/vendor/extensions/theme_default/public/images/flags/mq.png +0 -0
  1026. data/vendor/extensions/theme_default/public/images/flags/mr.png +0 -0
  1027. data/vendor/extensions/theme_default/public/images/flags/ms.png +0 -0
  1028. data/vendor/extensions/theme_default/public/images/flags/mt.png +0 -0
  1029. data/vendor/extensions/theme_default/public/images/flags/mu.png +0 -0
  1030. data/vendor/extensions/theme_default/public/images/flags/mv.png +0 -0
  1031. data/vendor/extensions/theme_default/public/images/flags/mw.png +0 -0
  1032. data/vendor/extensions/theme_default/public/images/flags/mx.png +0 -0
  1033. data/vendor/extensions/theme_default/public/images/flags/my.png +0 -0
  1034. data/vendor/extensions/theme_default/public/images/flags/mz.png +0 -0
  1035. data/vendor/extensions/theme_default/public/images/flags/na.png +0 -0
  1036. data/vendor/extensions/theme_default/public/images/flags/nc.png +0 -0
  1037. data/vendor/extensions/theme_default/public/images/flags/ne.png +0 -0
  1038. data/vendor/extensions/theme_default/public/images/flags/nf.png +0 -0
  1039. data/vendor/extensions/theme_default/public/images/flags/ng.png +0 -0
  1040. data/vendor/extensions/theme_default/public/images/flags/ni.png +0 -0
  1041. data/vendor/extensions/theme_default/public/images/flags/nl.png +0 -0
  1042. data/vendor/extensions/theme_default/public/images/flags/no.png +0 -0
  1043. data/vendor/extensions/theme_default/public/images/flags/np.png +0 -0
  1044. data/vendor/extensions/theme_default/public/images/flags/nr.png +0 -0
  1045. data/vendor/extensions/theme_default/public/images/flags/nu.png +0 -0
  1046. data/vendor/extensions/theme_default/public/images/flags/nz.png +0 -0
  1047. data/vendor/extensions/theme_default/public/images/flags/om.png +0 -0
  1048. data/vendor/extensions/theme_default/public/images/flags/pa.png +0 -0
  1049. data/vendor/extensions/theme_default/public/images/flags/pe.png +0 -0
  1050. data/vendor/extensions/theme_default/public/images/flags/pf.png +0 -0
  1051. data/vendor/extensions/theme_default/public/images/flags/pg.png +0 -0
  1052. data/vendor/extensions/theme_default/public/images/flags/ph.png +0 -0
  1053. data/vendor/extensions/theme_default/public/images/flags/pk.png +0 -0
  1054. data/vendor/extensions/theme_default/public/images/flags/pl.png +0 -0
  1055. data/vendor/extensions/theme_default/public/images/flags/pm.png +0 -0
  1056. data/vendor/extensions/theme_default/public/images/flags/pn.png +0 -0
  1057. data/vendor/extensions/theme_default/public/images/flags/pr.png +0 -0
  1058. data/vendor/extensions/theme_default/public/images/flags/ps.png +0 -0
  1059. data/vendor/extensions/theme_default/public/images/flags/pt.png +0 -0
  1060. data/vendor/extensions/theme_default/public/images/flags/pw.png +0 -0
  1061. data/vendor/extensions/theme_default/public/images/flags/py.png +0 -0
  1062. data/vendor/extensions/theme_default/public/images/flags/qa.png +0 -0
  1063. data/vendor/extensions/theme_default/public/images/flags/re.png +0 -0
  1064. data/vendor/extensions/theme_default/public/images/flags/ro.png +0 -0
  1065. data/vendor/extensions/theme_default/public/images/flags/rs.png +0 -0
  1066. data/vendor/extensions/theme_default/public/images/flags/ru.png +0 -0
  1067. data/vendor/extensions/theme_default/public/images/flags/rw.png +0 -0
  1068. data/vendor/extensions/theme_default/public/images/flags/sa.png +0 -0
  1069. data/vendor/extensions/theme_default/public/images/flags/sb.png +0 -0
  1070. data/vendor/extensions/theme_default/public/images/flags/sc.png +0 -0
  1071. data/vendor/extensions/theme_default/public/images/flags/scotland.png +0 -0
  1072. data/vendor/extensions/theme_default/public/images/flags/sd.png +0 -0
  1073. data/vendor/extensions/theme_default/public/images/flags/se.png +0 -0
  1074. data/vendor/extensions/theme_default/public/images/flags/sg.png +0 -0
  1075. data/vendor/extensions/theme_default/public/images/flags/sh.png +0 -0
  1076. data/vendor/extensions/theme_default/public/images/flags/si.png +0 -0
  1077. data/vendor/extensions/theme_default/public/images/flags/sj.png +0 -0
  1078. data/vendor/extensions/theme_default/public/images/flags/sk.png +0 -0
  1079. data/vendor/extensions/theme_default/public/images/flags/sl.png +0 -0
  1080. data/vendor/extensions/theme_default/public/images/flags/sm.png +0 -0
  1081. data/vendor/extensions/theme_default/public/images/flags/sn.png +0 -0
  1082. data/vendor/extensions/theme_default/public/images/flags/so.png +0 -0
  1083. data/vendor/extensions/theme_default/public/images/flags/sr.png +0 -0
  1084. data/vendor/extensions/theme_default/public/images/flags/st.png +0 -0
  1085. data/vendor/extensions/theme_default/public/images/flags/sv.png +0 -0
  1086. data/vendor/extensions/theme_default/public/images/flags/sy.png +0 -0
  1087. data/vendor/extensions/theme_default/public/images/flags/sz.png +0 -0
  1088. data/vendor/extensions/theme_default/public/images/flags/tc.png +0 -0
  1089. data/vendor/extensions/theme_default/public/images/flags/td.png +0 -0
  1090. data/vendor/extensions/theme_default/public/images/flags/tf.png +0 -0
  1091. data/vendor/extensions/theme_default/public/images/flags/tg.png +0 -0
  1092. data/vendor/extensions/theme_default/public/images/flags/th.png +0 -0
  1093. data/vendor/extensions/theme_default/public/images/flags/tj.png +0 -0
  1094. data/vendor/extensions/theme_default/public/images/flags/tk.png +0 -0
  1095. data/vendor/extensions/theme_default/public/images/flags/tl.png +0 -0
  1096. data/vendor/extensions/theme_default/public/images/flags/tm.png +0 -0
  1097. data/vendor/extensions/theme_default/public/images/flags/tn.png +0 -0
  1098. data/vendor/extensions/theme_default/public/images/flags/to.png +0 -0
  1099. data/vendor/extensions/theme_default/public/images/flags/tr.png +0 -0
  1100. data/vendor/extensions/theme_default/public/images/flags/tt.png +0 -0
  1101. data/vendor/extensions/theme_default/public/images/flags/tv.png +0 -0
  1102. data/vendor/extensions/theme_default/public/images/flags/tw.png +0 -0
  1103. data/vendor/extensions/theme_default/public/images/flags/tz.png +0 -0
  1104. data/vendor/extensions/theme_default/public/images/flags/ua.png +0 -0
  1105. data/vendor/extensions/theme_default/public/images/flags/ug.png +0 -0
  1106. data/vendor/extensions/theme_default/public/images/flags/um.png +0 -0
  1107. data/vendor/extensions/theme_default/public/images/flags/us.png +0 -0
  1108. data/vendor/extensions/theme_default/public/images/flags/uy.png +0 -0
  1109. data/vendor/extensions/theme_default/public/images/flags/uz.png +0 -0
  1110. data/vendor/extensions/theme_default/public/images/flags/va.png +0 -0
  1111. data/vendor/extensions/theme_default/public/images/flags/vc.png +0 -0
  1112. data/vendor/extensions/theme_default/public/images/flags/ve.png +0 -0
  1113. data/vendor/extensions/theme_default/public/images/flags/vg.png +0 -0
  1114. data/vendor/extensions/theme_default/public/images/flags/vi.png +0 -0
  1115. data/vendor/extensions/theme_default/public/images/flags/vn.png +0 -0
  1116. data/vendor/extensions/theme_default/public/images/flags/vu.png +0 -0
  1117. data/vendor/extensions/theme_default/public/images/flags/wales.png +0 -0
  1118. data/vendor/extensions/theme_default/public/images/flags/wf.png +0 -0
  1119. data/vendor/extensions/theme_default/public/images/flags/ws.png +0 -0
  1120. data/vendor/extensions/theme_default/public/images/flags/ye.png +0 -0
  1121. data/vendor/extensions/theme_default/public/images/flags/yt.png +0 -0
  1122. data/vendor/extensions/theme_default/public/images/flags/za.png +0 -0
  1123. data/vendor/extensions/theme_default/public/images/flags/zm.png +0 -0
  1124. data/vendor/extensions/theme_default/public/images/flags/zw.png +0 -0
  1125. data/vendor/extensions/theme_default/public/images/green/left_01.png +0 -0
  1126. data/vendor/extensions/theme_default/public/images/green/right_01.png +0 -0
  1127. data/vendor/extensions/theme_default/public/images/grid.png +0 -0
  1128. data/vendor/extensions/theme_default/public/images/left_01.png +0 -0
  1129. data/vendor/extensions/theme_default/public/images/left_01_small.png +0 -0
  1130. data/vendor/extensions/theme_default/public/images/master_cid.jpg +0 -0
  1131. data/vendor/extensions/theme_default/public/images/menu-current.png +0 -0
  1132. data/vendor/extensions/theme_default/public/images/menu-hover.png +0 -0
  1133. data/vendor/extensions/theme_default/public/images/noimage/mini.jpg +0 -0
  1134. data/vendor/extensions/theme_default/public/images/noimage/product.jpg +0 -0
  1135. data/vendor/extensions/theme_default/public/images/noimage/small.jpg +0 -0
  1136. data/vendor/extensions/theme_default/public/images/openid-inputicon.gif +0 -0
  1137. data/vendor/extensions/theme_default/public/images/orange/left_03.png +0 -0
  1138. data/vendor/extensions/theme_default/public/images/orange/right_03.png +0 -0
  1139. data/vendor/extensions/theme_default/public/images/progress.gif +0 -0
  1140. data/vendor/extensions/theme_default/public/images/rails.png +0 -0
  1141. data/vendor/extensions/theme_default/public/images/right_01.png +0 -0
  1142. data/vendor/extensions/theme_default/public/images/right_01_small.png +0 -0
  1143. data/vendor/extensions/theme_default/public/images/separator.png +0 -0
  1144. data/vendor/extensions/theme_default/public/images/shadow-top.png +0 -0
  1145. data/vendor/extensions/theme_default/public/images/shadow_top.png +0 -0
  1146. data/vendor/extensions/theme_default/public/images/spinner.gif +0 -0
  1147. data/vendor/extensions/theme_default/public/images/spree.jpg +0 -0
  1148. data/vendor/extensions/theme_default/public/images/spree/progress.gif +0 -0
  1149. data/vendor/extensions/theme_default/public/images/spree/spinner.gif +0 -0
  1150. data/vendor/extensions/theme_default/public/images/spree/spree.jpg +0 -0
  1151. data/vendor/extensions/theme_default/public/images/step-progress/completed-completed.gif +0 -0
  1152. data/vendor/extensions/theme_default/public/images/step-progress/completed-current.gif +0 -0
  1153. data/vendor/extensions/theme_default/public/images/step-progress/completed-first.gif +0 -0
  1154. data/vendor/extensions/theme_default/public/images/step-progress/current-first.gif +0 -0
  1155. data/vendor/extensions/theme_default/public/images/step-progress/current-incomplete.gif +0 -0
  1156. data/vendor/extensions/theme_default/public/images/step-progress/current-right.gif +0 -0
  1157. data/vendor/extensions/theme_default/public/images/step-progress/incomplete-incomplete.gif +0 -0
  1158. data/vendor/extensions/theme_default/public/images/step-progress/incomplete-right.gif +0 -0
  1159. data/vendor/extensions/theme_default/public/images/steps/1.png +0 -0
  1160. data/vendor/extensions/theme_default/public/images/steps/1_small.png +0 -0
  1161. data/vendor/extensions/theme_default/public/images/steps/2.png +0 -0
  1162. data/vendor/extensions/theme_default/public/images/steps/2_small.png +0 -0
  1163. data/vendor/extensions/theme_default/public/images/steps/3.png +0 -0
  1164. data/vendor/extensions/theme_default/public/images/steps/3_small.png +0 -0
  1165. data/vendor/extensions/theme_default/public/images/steps/4.png +0 -0
  1166. data/vendor/extensions/theme_default/public/images/steps/4_small.png +0 -0
  1167. data/vendor/extensions/theme_default/public/images/steps/5.png +0 -0
  1168. data/vendor/extensions/theme_default/public/images/steps/5_small.png +0 -0
  1169. data/vendor/extensions/theme_default/public/images/steps/6.png +0 -0
  1170. data/vendor/extensions/theme_default/public/images/steps/6_small.png +0 -0
  1171. data/vendor/extensions/theme_default/public/images/sxsw-ribbon-v1.png +0 -0
  1172. data/vendor/extensions/theme_default/public/images/tab_bottom.gif +0 -0
  1173. data/vendor/extensions/theme_default/public/images/top-shine.png +0 -0
  1174. data/vendor/extensions/theme_default/public/images/tree-nav-icons/bullet.gif +0 -0
  1175. data/vendor/extensions/theme_default/public/images/tree-nav-icons/minus.gif +0 -0
  1176. data/vendor/extensions/theme_default/public/images/tree-nav-icons/plus.gif +0 -0
  1177. data/vendor/extensions/theme_default/public/images/tree-nav-icons/treeview-loading.gif +0 -0
  1178. data/vendor/extensions/theme_default/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
  1179. data/vendor/extensions/theme_default/public/images/update.png +0 -0
  1180. data/vendor/extensions/theme_default/public/images/visa_cid.gif +0 -0
  1181. data/vendor/extensions/theme_default/public/images/wrapper-back-2.png +0 -0
  1182. data/vendor/extensions/theme_default/public/images/wrapper-back.png +0 -0
  1183. data/vendor/extensions/theme_default/public/images/yui-menubaritem_submenuindicator.png +0 -0
  1184. data/vendor/extensions/theme_default/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  1185. data/vendor/extensions/theme_default/public/images/yui-menuitem_checkbox.png +0 -0
  1186. data/vendor/extensions/theme_default/public/images/yui-menuitem_checkbox_disabled.png +0 -0
  1187. data/vendor/extensions/theme_default/public/images/yui-menuitem_submenuindicator.png +0 -0
  1188. data/vendor/extensions/theme_default/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  1189. data/vendor/extensions/theme_default/public/images/yui-sprite.png +0 -0
  1190. data/vendor/extensions/theme_default/public/javascripts/additional-methods.js +236 -0
  1191. data/vendor/extensions/theme_default/public/javascripts/admin/address_states.js +25 -0
  1192. data/vendor/extensions/theme_default/public/javascripts/admin/checkouts/edit.js +79 -0
  1193. data/vendor/extensions/theme_default/public/javascripts/admin/orders/edit.js +96 -0
  1194. data/vendor/extensions/theme_default/public/javascripts/admin/orders/edit_form.js +17 -0
  1195. data/vendor/extensions/theme_default/public/javascripts/admin/payments/new.js +9 -0
  1196. data/vendor/extensions/theme_default/public/javascripts/admin/unobtrusive_handlers.js +15 -0
  1197. data/vendor/extensions/theme_default/public/javascripts/calculator.js +13 -0
  1198. data/vendor/extensions/theme_default/public/javascripts/checkout.js +65 -0
  1199. data/vendor/extensions/theme_default/public/javascripts/datepicker.js +1445 -0
  1200. data/vendor/extensions/theme_default/public/javascripts/gateway.js +13 -0
  1201. data/vendor/extensions/theme_default/public/javascripts/jquery-1.3.2.min.js +19 -0
  1202. data/vendor/extensions/theme_default/public/javascripts/jquery-and-plugins.js +36 -0
  1203. data/vendor/extensions/theme_default/public/javascripts/jquery-ui.js +188 -0
  1204. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/images/help.gif +0 -0
  1205. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/images/important.gif +0 -0
  1206. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/images/info.gif +0 -0
  1207. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/images/title.gif +0 -0
  1208. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/jquery.alerts.css +57 -0
  1209. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/jquery.alerts.js +235 -0
  1210. data/vendor/extensions/theme_default/public/javascripts/jquery.alerts/jquery.alerts.spree.css +30 -0
  1211. data/vendor/extensions/theme_default/public/javascripts/jquery.autocomplete.min.js +13 -0
  1212. data/vendor/extensions/theme_default/public/javascripts/jquery.js +19 -0
  1213. data/vendor/extensions/theme_default/public/javascripts/jquery.suggest.js +276 -0
  1214. data/vendor/extensions/theme_default/public/javascripts/jquery.template.js +255 -0
  1215. data/vendor/extensions/theme_default/public/javascripts/jquery.validate.min.js +16 -0
  1216. data/vendor/extensions/theme_default/public/javascripts/jrails.autocomplete.js +274 -0
  1217. data/vendor/extensions/theme_default/public/javascripts/jrails.js +1 -0
  1218. data/vendor/extensions/theme_default/public/javascripts/jsTree/jquery.tree.js +2058 -0
  1219. data/vendor/extensions/theme_default/public/javascripts/jsTree/plugins/jquery.tree.contextmenu.js +129 -0
  1220. data/vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  1221. data/{public/javascripts/jsTree/source/themes/spree/dot.gif → vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple/dot_for_ie.gif} +0 -0
  1222. data/vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple/icons.png +0 -0
  1223. data/vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple/style.css +34 -0
  1224. data/{public/javascripts/jsTree/source/themes/spree → vendor/extensions/theme_default/public/javascripts/jsTree/themes/apple}/throbber.gif +0 -0
  1225. data/vendor/extensions/theme_default/public/javascripts/lang/af.js +40 -0
  1226. data/vendor/extensions/theme_default/public/javascripts/lang/ar.js +50 -0
  1227. data/vendor/extensions/theme_default/public/javascripts/lang/de.js +40 -0
  1228. data/vendor/extensions/theme_default/public/javascripts/lang/du.js +40 -0
  1229. data/vendor/extensions/theme_default/public/javascripts/lang/en.js +42 -0
  1230. data/vendor/extensions/theme_default/public/javascripts/lang/es.js +41 -0
  1231. data/vendor/extensions/theme_default/public/javascripts/lang/fi.js +40 -0
  1232. data/vendor/extensions/theme_default/public/javascripts/lang/fr.js +44 -0
  1233. data/vendor/extensions/theme_default/public/javascripts/lang/gr.js +40 -0
  1234. data/vendor/extensions/theme_default/public/javascripts/lang/he.js +49 -0
  1235. data/vendor/extensions/theme_default/public/javascripts/lang/it.js +13 -0
  1236. data/vendor/extensions/theme_default/public/javascripts/lang/nl.js +40 -0
  1237. data/vendor/extensions/theme_default/public/javascripts/lang/no.js +40 -0
  1238. data/vendor/extensions/theme_default/public/javascripts/lang/pt.js +50 -0
  1239. data/vendor/extensions/theme_default/public/javascripts/lang/ro.js +40 -0
  1240. data/vendor/extensions/theme_default/public/javascripts/lang/ru.js +40 -0
  1241. data/vendor/extensions/theme_default/public/javascripts/lang/sp.js +40 -0
  1242. data/vendor/extensions/theme_default/public/javascripts/lang/sv.js +41 -0
  1243. data/vendor/extensions/theme_default/public/javascripts/lang/ua.js +40 -0
  1244. data/vendor/extensions/theme_default/public/javascripts/localization/messages_cn.js +24 -0
  1245. data/vendor/extensions/theme_default/public/javascripts/localization/messages_cs.js +23 -0
  1246. data/vendor/extensions/theme_default/public/javascripts/localization/messages_da.js +21 -0
  1247. data/vendor/extensions/theme_default/public/javascripts/localization/messages_de.js +21 -0
  1248. data/vendor/extensions/theme_default/public/javascripts/localization/messages_es.js +24 -0
  1249. data/vendor/extensions/theme_default/public/javascripts/localization/messages_fr.js +23 -0
  1250. data/vendor/extensions/theme_default/public/javascripts/localization/messages_hu.js +21 -0
  1251. data/vendor/extensions/theme_default/public/javascripts/localization/messages_it.js +26 -0
  1252. data/vendor/extensions/theme_default/public/javascripts/localization/messages_kk.js +23 -0
  1253. data/vendor/extensions/theme_default/public/javascripts/localization/messages_nl.js +23 -0
  1254. data/vendor/extensions/theme_default/public/javascripts/localization/messages_no.js +23 -0
  1255. data/vendor/extensions/theme_default/public/javascripts/localization/messages_pl.js +23 -0
  1256. data/vendor/extensions/theme_default/public/javascripts/localization/messages_ptbr.js +30 -0
  1257. data/vendor/extensions/theme_default/public/javascripts/localization/messages_ro.js +24 -0
  1258. data/vendor/extensions/theme_default/public/javascripts/localization/messages_ru.js +23 -0
  1259. data/vendor/extensions/theme_default/public/javascripts/localization/messages_se.js +23 -0
  1260. data/vendor/extensions/theme_default/public/javascripts/localization/messages_sk.js +21 -0
  1261. data/vendor/extensions/theme_default/public/javascripts/localization/messages_tr.js +24 -0
  1262. data/vendor/extensions/theme_default/public/javascripts/localization/messages_tw.js +24 -0
  1263. data/vendor/extensions/theme_default/public/javascripts/localization/messages_ua.js +24 -0
  1264. data/vendor/extensions/theme_default/public/javascripts/nested-attribute.js +25 -0
  1265. data/vendor/extensions/theme_default/public/javascripts/open_id.js +15 -0
  1266. data/vendor/extensions/theme_default/public/javascripts/product.js +49 -0
  1267. data/vendor/extensions/theme_default/public/javascripts/spree.js +53 -0
  1268. data/vendor/extensions/theme_default/public/javascripts/taxonomy.js +196 -0
  1269. data/vendor/extensions/theme_default/public/javascripts/zone.js +40 -0
  1270. data/vendor/extensions/theme_default/public/stylesheets/admin/admin-forms.css +159 -0
  1271. data/vendor/extensions/theme_default/public/stylesheets/admin/admin-reset.css +67 -0
  1272. data/vendor/extensions/theme_default/public/stylesheets/admin/admin-tables.css +31 -0
  1273. data/vendor/extensions/theme_default/public/stylesheets/admin/admin-typography.css +117 -0
  1274. data/vendor/extensions/theme_default/public/stylesheets/admin/admin.css +556 -0
  1275. data/vendor/extensions/theme_default/public/stylesheets/admin/edit_checkouts.css +57 -0
  1276. data/vendor/extensions/theme_default/public/stylesheets/admin/edit_orders.css +65 -0
  1277. data/vendor/extensions/theme_default/public/stylesheets/admin/grids.css +314 -0
  1278. data/vendor/extensions/theme_default/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +7 -0
  1279. data/vendor/extensions/theme_default/public/stylesheets/admin/yui-includes.css +14 -0
  1280. data/vendor/extensions/theme_default/public/stylesheets/datepicker.css +263 -0
  1281. data/vendor/extensions/theme_default/public/stylesheets/jquery.autocomplete.css +48 -0
  1282. data/vendor/extensions/theme_default/public/stylesheets/scaffold.css +54 -0
  1283. data/vendor/extensions/theme_default/public/stylesheets/screen.css +1181 -0
  1284. data/vendor/extensions/theme_default/spec/spec.opts +6 -0
  1285. data/vendor/extensions/theme_default/spec/spec_helper.rb +37 -0
  1286. data/vendor/extensions/theme_default/theme_default_extension.rb +39 -0
  1287. data/vendor/extensions/theme_default/theme_default_hooks.rb +2 -0
  1288. data/vendor/plugins/attribute_fu/init.rb +10 -2
  1289. data/vendor/plugins/attribute_fu/javascripts/jquery.template.js +255 -0
  1290. data/vendor/plugins/attribute_fu/lib/attribute_fu/associated_form_helper.rb +12 -19
  1291. data/vendor/plugins/attribute_fu/test/associated_form_helper_test.rb +48 -50
  1292. data/vendor/plugins/awesome_nested_set/MIT-LICENSE +20 -0
  1293. data/vendor/plugins/awesome_nested_set/README.rdoc +79 -0
  1294. data/vendor/plugins/awesome_nested_set/Rakefile +54 -0
  1295. data/vendor/plugins/awesome_nested_set/VERSION +1 -0
  1296. data/vendor/plugins/awesome_nested_set/awesome_nested_set.gemspec +68 -0
  1297. data/vendor/plugins/awesome_nested_set/init.rb +1 -0
  1298. data/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb +592 -0
  1299. data/vendor/plugins/awesome_nested_set/lib/awesome_nested_set/helper.rb +40 -0
  1300. data/vendor/plugins/awesome_nested_set/rails/init.rb +12 -0
  1301. data/vendor/plugins/awesome_nested_set/test/application.rb +1 -0
  1302. data/vendor/plugins/awesome_nested_set/test/awesome_nested_set/helper_test.rb +41 -0
  1303. data/vendor/plugins/awesome_nested_set/test/awesome_nested_set_test.rb +758 -0
  1304. data/vendor/plugins/awesome_nested_set/test/db/database.yml +18 -0
  1305. data/vendor/plugins/awesome_nested_set/test/db/schema.rb +30 -0
  1306. data/vendor/plugins/awesome_nested_set/test/fixtures/categories.yml +34 -0
  1307. data/vendor/plugins/awesome_nested_set/test/fixtures/category.rb +15 -0
  1308. data/vendor/plugins/awesome_nested_set/test/fixtures/departments.yml +3 -0
  1309. data/vendor/plugins/awesome_nested_set/test/fixtures/notes.yml +38 -0
  1310. data/vendor/plugins/awesome_nested_set/test/test_helper.rb +29 -0
  1311. data/vendor/plugins/has_calculator/lib/has_calculator.rb +2 -2
  1312. data/vendor/plugins/jrails/CHANGELOG +43 -0
  1313. data/vendor/plugins/jrails/LICENSE +18 -0
  1314. data/vendor/plugins/jrails/README.rdoc +21 -0
  1315. data/vendor/plugins/jrails/Rakefile +18 -0
  1316. data/vendor/plugins/jrails/VERSION.yml +4 -0
  1317. data/vendor/plugins/jrails/bin/jrails +30 -0
  1318. data/vendor/plugins/jrails/init.rb +1 -0
  1319. data/vendor/plugins/jrails/install.rb +9 -0
  1320. data/vendor/plugins/jrails/javascripts/jquery-ui.js +188 -0
  1321. data/vendor/plugins/jrails/javascripts/jquery.js +19 -0
  1322. data/vendor/plugins/jrails/javascripts/jrails.js +1 -0
  1323. data/vendor/plugins/jrails/javascripts/sources/jrails.js +197 -0
  1324. data/vendor/plugins/jrails/jrails.gemspec +50 -0
  1325. data/vendor/plugins/jrails/lib/jrails.rb +421 -0
  1326. data/vendor/plugins/jrails/rails/init.rb +15 -0
  1327. data/vendor/plugins/jrails/tasks/jrails.rake +25 -0
  1328. data/vendor/plugins/{acts_as_adjacency_list → jrails_auto_complete}/MIT-LICENSE +0 -0
  1329. data/vendor/plugins/jrails_auto_complete/README +23 -0
  1330. data/vendor/plugins/jrails_auto_complete/Rakefile +22 -0
  1331. data/vendor/plugins/jrails_auto_complete/init.rb +2 -0
  1332. data/vendor/plugins/jrails_auto_complete/install.rb +8 -0
  1333. data/vendor/plugins/jrails_auto_complete/javascripts/jquery.suggest.js +276 -0
  1334. data/vendor/plugins/jrails_auto_complete/javascripts/jrails.autocomplete.js +274 -0
  1335. data/vendor/plugins/jrails_auto_complete/lib/form_helpers.rb +22 -0
  1336. data/vendor/plugins/jrails_auto_complete/lib/jrails_auto_complete.rb +20 -0
  1337. data/vendor/plugins/jrails_auto_complete/lib/jrails_auto_complete_macro_helper.rb +103 -0
  1338. data/vendor/plugins/jrails_auto_complete/tasks/jrails_auto_complete_tasks.rake +4 -0
  1339. data/vendor/plugins/jrails_auto_complete/test/jrails_auto_complete_test.rb +8 -0
  1340. data/vendor/plugins/jrails_auto_complete/uninstall.rb +7 -0
  1341. data/vendor/plugins/open_id_authentication/CHANGELOG +35 -0
  1342. data/vendor/plugins/open_id_authentication/README +231 -0
  1343. data/vendor/plugins/open_id_authentication/Rakefile +22 -0
  1344. data/vendor/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb +11 -0
  1345. data/vendor/plugins/open_id_authentication/generators/open_id_authentication_tables/templates/migration.rb +20 -0
  1346. data/vendor/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/templates/migration.rb +26 -0
  1347. data/vendor/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb +11 -0
  1348. data/vendor/plugins/open_id_authentication/init.rb +18 -0
  1349. data/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb +240 -0
  1350. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/association.rb +9 -0
  1351. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/db_store.rb +55 -0
  1352. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb +5 -0
  1353. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/request.rb +23 -0
  1354. data/vendor/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb +20 -0
  1355. data/vendor/plugins/open_id_authentication/tasks/open_id_authentication_tasks.rake +30 -0
  1356. data/vendor/plugins/open_id_authentication/test/normalize_test.rb +32 -0
  1357. data/vendor/plugins/open_id_authentication/test/open_id_authentication_test.rb +46 -0
  1358. data/vendor/plugins/open_id_authentication/test/status_test.rb +14 -0
  1359. data/vendor/plugins/open_id_authentication/test/test_helper.rb +17 -0
  1360. data/vendor/plugins/resource_controller/lib/resource_controller/actions.rb +4 -4
  1361. data/vendor/plugins/resource_controller/lib/resource_controller/controller.rb +17 -17
  1362. data/vendor/plugins/resource_controller/lib/resource_controller/helpers/current_objects.rb +1 -1
  1363. data/vendor/plugins/stump/License.txt +20 -0
  1364. data/vendor/plugins/stump/README.rdoc +118 -0
  1365. data/vendor/plugins/stump/init.rb +6 -0
  1366. data/vendor/plugins/stump/lib/stump.rb +11 -0
  1367. data/vendor/plugins/stump/lib/stump/core_ext/test_case.rb +21 -0
  1368. data/vendor/plugins/stump/lib/stump/metaid.rb +17 -0
  1369. data/vendor/plugins/stump/lib/stump/mock.rb +51 -0
  1370. data/vendor/plugins/stump/lib/stump/mocks.rb +23 -0
  1371. data/vendor/plugins/stump/lib/stump/proxy.rb +103 -0
  1372. data/vendor/plugins/stump/lib/stump/stub.rb +34 -0
  1373. data/vendor/plugins/stump/lib/stump/version.rb +9 -0
  1374. data/vendor/plugins/unobtrusive_date_picker/MIT-LICENSE +19 -0
  1375. data/vendor/plugins/unobtrusive_date_picker/README.rdoc +165 -0
  1376. data/vendor/plugins/unobtrusive_date_picker/Rakefile +18 -0
  1377. data/vendor/plugins/unobtrusive_date_picker/about.yml +7 -0
  1378. data/vendor/plugins/unobtrusive_date_picker/init.rb +8 -0
  1379. data/vendor/plugins/unobtrusive_date_picker/install.rb +14 -0
  1380. data/vendor/plugins/unobtrusive_date_picker/lib/12_hour_time.rb +102 -0
  1381. data/vendor/plugins/unobtrusive_date_picker/lib/unobtrusive_date_picker.rb +409 -0
  1382. data/vendor/plugins/unobtrusive_date_picker/public/images/backstripes.gif +0 -0
  1383. data/vendor/plugins/unobtrusive_date_picker/public/images/bg_header.jpg +0 -0
  1384. data/vendor/plugins/unobtrusive_date_picker/public/images/bullet1.gif +0 -0
  1385. data/vendor/plugins/unobtrusive_date_picker/public/images/bullet2.gif +0 -0
  1386. data/vendor/plugins/unobtrusive_date_picker/public/images/cal.gif +0 -0
  1387. data/vendor/plugins/unobtrusive_date_picker/public/images/gradient-e5e5e5-ffffff.gif +0 -0
  1388. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/datepicker.js +1445 -0
  1389. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/af.js +40 -0
  1390. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/ar.js +50 -0
  1391. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/de.js +40 -0
  1392. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/du.js +40 -0
  1393. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/en.js +42 -0
  1394. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/es.js +41 -0
  1395. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/fi.js +40 -0
  1396. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/fr.js +44 -0
  1397. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/gr.js +40 -0
  1398. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/he.js +49 -0
  1399. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/it.js +13 -0
  1400. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/nl.js +40 -0
  1401. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/no.js +40 -0
  1402. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/pt.js +50 -0
  1403. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/ro.js +40 -0
  1404. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/ru.js +40 -0
  1405. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/sp.js +40 -0
  1406. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/sv.js +41 -0
  1407. data/vendor/plugins/unobtrusive_date_picker/public/javascripts/lang/ua.js +40 -0
  1408. data/vendor/plugins/unobtrusive_date_picker/public/stylesheets/datepicker.css +263 -0
  1409. data/vendor/plugins/unobtrusive_date_picker/spec/date_picker_tag_spec.rb +122 -0
  1410. data/vendor/plugins/unobtrusive_date_picker/spec/date_picker_text_field_spec.rb +54 -0
  1411. data/vendor/plugins/unobtrusive_date_picker/spec/datepicker_html_class_options_spec.rb +281 -0
  1412. data/vendor/plugins/unobtrusive_date_picker/spec/spec.opts +12 -0
  1413. data/vendor/plugins/unobtrusive_date_picker/spec/spec_helper.rb +52 -0
  1414. data/vendor/plugins/unobtrusive_date_picker/spec/tag_matcher.rb +142 -0
  1415. data/vendor/plugins/unobtrusive_date_picker/spec/unobtrusive_date_picker_spec.rb +129 -0
  1416. data/vendor/plugins/unobtrusive_date_picker/tasks/datepicker_tasks.rake +17 -0
  1417. data/vendor/plugins/unobtrusive_date_picker/uninstall.rb +12 -0
  1418. metadata +1441 -633
  1419. data/app/controllers/admin/creditcard_payments_controller.rb +0 -49
  1420. data/app/controllers/application.rb +0 -94
  1421. data/app/helpers/admin/calculators_helper.rb +0 -2
  1422. data/app/helpers/admin/configurations_helper.rb +0 -2
  1423. data/app/helpers/admin/extensions_helper.rb +0 -2
  1424. data/app/helpers/admin/mail_settings_helper.rb +0 -2
  1425. data/app/helpers/admin/option_values_helper.rb +0 -2
  1426. data/app/helpers/admin/shipping_categories_helper.rb +0 -2
  1427. data/app/helpers/admin/shipping_methods_helper.rb +0 -2
  1428. data/app/helpers/admin/tax_rates_helper.rb +0 -2
  1429. data/app/helpers/admin/taxonomies_helper.rb +0 -3
  1430. data/app/helpers/admin/variants_helper.rb +0 -2
  1431. data/app/models/creditcard_payment.rb +0 -26
  1432. data/app/models/order_observer.rb +0 -15
  1433. data/app/views/admin/configurations/index.html.erb +0 -62
  1434. data/app/views/admin/coupons/edit.html.erb +0 -8
  1435. data/app/views/admin/coupons/index.html.erb +0 -38
  1436. data/app/views/admin/coupons/new.html.erb +0 -9
  1437. data/app/views/admin/creditcard_payments/edit.html.erb +0 -38
  1438. data/app/views/admin/creditcard_payments/new.html.erb +0 -15
  1439. data/app/views/admin/images/_form.html.erb +0 -12
  1440. data/app/views/admin/option_types/_form.html.erb +0 -33
  1441. data/app/views/admin/option_types/index.html.erb +0 -39
  1442. data/app/views/admin/option_types/selected.html.erb +0 -38
  1443. data/app/views/admin/orders/index.html.erb +0 -80
  1444. data/app/views/admin/orders/show.html.erb +0 -70
  1445. data/app/views/admin/overview/index.html.erb +0 -3
  1446. data/app/views/admin/payments/index.html.erb +0 -30
  1447. data/app/views/admin/product_properties/_product_property.html.erb +0 -25
  1448. data/app/views/admin/product_properties/index.html.erb +0 -44
  1449. data/app/views/admin/products/_form.html.erb +0 -92
  1450. data/app/views/admin/products/_option_types.html.erb +0 -42
  1451. data/app/views/admin/products/index.html.erb +0 -74
  1452. data/app/views/admin/products/new.html.erb +0 -53
  1453. data/app/views/admin/properties/index.html.erb +0 -45
  1454. data/app/views/admin/prototypes/available.html.erb +0 -27
  1455. data/app/views/admin/prototypes/index.html.erb +0 -42
  1456. data/app/views/admin/prototypes/new.html.erb +0 -11
  1457. data/app/views/admin/prototypes/select.rjs +0 -7
  1458. data/app/views/admin/reports/index.html.erb +0 -23
  1459. data/app/views/admin/shared/_additional_field.html.erb +0 -5
  1460. data/app/views/admin/shared/_address.html.erb +0 -15
  1461. data/app/views/admin/shared/_calculator_fields.html.erb +0 -15
  1462. data/app/views/admin/shared/_configuration_menu.html.erb +0 -18
  1463. data/app/views/admin/shared/_form_address.html.erb +0 -56
  1464. data/app/views/admin/shared/_order_tabs.html.erb +0 -27
  1465. data/app/views/admin/shared/_product_sub_menu.html.erb +0 -8
  1466. data/app/views/admin/shared/_product_tabs.html.erb +0 -48
  1467. data/app/views/admin/shared/_report_criteria.html.erb +0 -19
  1468. data/app/views/admin/shipments/_details.html.erb +0 -19
  1469. data/app/views/admin/shipments/_form.html.erb +0 -31
  1470. data/app/views/admin/shipments/edit.html.erb +0 -12
  1471. data/app/views/admin/shipments/index.html.erb +0 -22
  1472. data/app/views/admin/shipments/new.html.erb +0 -14
  1473. data/app/views/admin/shipping_categories/edit.html.erb +0 -8
  1474. data/app/views/admin/shipping_categories/index.html.erb +0 -27
  1475. data/app/views/admin/shipping_categories/new.html.erb +0 -10
  1476. data/app/views/admin/shipping_methods/_form.html.erb +0 -12
  1477. data/app/views/admin/shipping_methods/edit.html.erb +0 -8
  1478. data/app/views/admin/shipping_methods/index.html.erb +0 -34
  1479. data/app/views/admin/shipping_methods/new.html.erb +0 -10
  1480. data/app/views/admin/shipping_rates/edit.html.erb +0 -8
  1481. data/app/views/admin/shipping_rates/index.html.erb +0 -30
  1482. data/app/views/admin/shipping_rates/new.html.erb +0 -10
  1483. data/app/views/admin/states/edit.html.erb +0 -12
  1484. data/app/views/admin/states/index.html.erb +0 -25
  1485. data/app/views/admin/states/new.html.erb +0 -12
  1486. data/app/views/admin/tax_categories/edit.html.erb +0 -12
  1487. data/app/views/admin/tax_categories/index.html.erb +0 -37
  1488. data/app/views/admin/tax_categories/new.html.erb +0 -12
  1489. data/app/views/admin/tax_rates/edit.html.erb +0 -8
  1490. data/app/views/admin/tax_rates/index.html.erb +0 -32
  1491. data/app/views/admin/tax_rates/new.html.erb +0 -10
  1492. data/app/views/admin/taxonomies/_form.html.erb +0 -5
  1493. data/app/views/admin/taxonomies/_js_head.html.erb +0 -13
  1494. data/app/views/admin/taxonomies/edit.html.erb +0 -30
  1495. data/app/views/admin/taxons/_taxon_table.html.erb +0 -28
  1496. data/app/views/admin/taxons/available.js.erb +0 -36
  1497. data/app/views/admin/taxons/selected.html.erb +0 -25
  1498. data/app/views/admin/users/_form.html.erb +0 -35
  1499. data/app/views/admin/users/edit.html.erb +0 -9
  1500. data/app/views/admin/users/index.html.erb +0 -48
  1501. data/app/views/admin/users/new.html.erb +0 -11
  1502. data/app/views/admin/variants/_form.html.erb +0 -40
  1503. data/app/views/admin/variants/edit.html.erb +0 -10
  1504. data/app/views/admin/variants/index.html.erb +0 -56
  1505. data/app/views/admin/variants/new.html.erb +0 -8
  1506. data/app/views/admin/zones/_country_member.html.erb +0 -5
  1507. data/app/views/admin/zones/_form.html.erb +0 -29
  1508. data/app/views/admin/zones/_state_member.html.erb +0 -5
  1509. data/app/views/admin/zones/_zone_member.html.erb +0 -5
  1510. data/app/views/admin/zones/edit.html.erb +0 -12
  1511. data/app/views/admin/zones/index.html.erb +0 -40
  1512. data/app/views/admin/zones/new.html.erb +0 -12
  1513. data/app/views/checkouts/_billing.html.erb +0 -66
  1514. data/app/views/checkouts/_confirmation.html.erb +0 -11
  1515. data/app/views/checkouts/_form.html.erb +0 -20
  1516. data/app/views/checkouts/_payment.html.erb +0 -45
  1517. data/app/views/checkouts/_registration.html.erb +0 -60
  1518. data/app/views/checkouts/_shipping.html.erb +0 -68
  1519. data/app/views/checkouts/_shipping_method.html.erb +0 -19
  1520. data/app/views/checkouts/_summary.html.erb +0 -36
  1521. data/app/views/checkouts/edit.html.erb +0 -13
  1522. data/app/views/checkouts/new.html.erb +0 -13
  1523. data/app/views/layouts/admin.html.erb +0 -91
  1524. data/app/views/layouts/application.html.erb +0 -47
  1525. data/app/views/layouts/checkouts.html.erb +0 -17
  1526. data/app/views/line_items/index.html.erb +0 -1
  1527. data/app/views/orders/_form.html.erb +0 -19
  1528. data/app/views/orders/_google_order.html.erb +0 -24
  1529. data/app/views/orders/_line_item.html.erb +0 -23
  1530. data/app/views/orders/edit.html.erb +0 -22
  1531. data/app/views/orders/show.html.erb +0 -19
  1532. data/app/views/password_resets/edit.html.erb +0 -12
  1533. data/app/views/password_resets/new.html.erb +0 -11
  1534. data/app/views/products/_cart_form.html.erb +0 -77
  1535. data/app/views/products/_products.html.erb +0 -14
  1536. data/app/views/products/_properties.html.erb +0 -8
  1537. data/app/views/products/_thumbnails.html.erb +0 -58
  1538. data/app/views/products/index.html.erb +0 -11
  1539. data/app/views/products/show.html.erb +0 -24
  1540. data/app/views/shared/_additional_field.html.erb +0 -7
  1541. data/app/views/shared/_filters.html.erb +0 -52
  1542. data/app/views/shared/_footer.html.erb +0 -21
  1543. data/app/views/shared/_head.html.erb +0 -6
  1544. data/app/views/shared/_login.html.erb +0 -18
  1545. data/app/views/shared/_order_details.html.erb +0 -46
  1546. data/app/views/shared/_order_tabs.html.erb +0 -32
  1547. data/app/views/shared/_product_sub_menu.html.erb +0 -10
  1548. data/app/views/shared/_product_tabs.html.erb +0 -39
  1549. data/app/views/shared/_products.html.erb +0 -22
  1550. data/app/views/shared/_report_criteria.html.erb +0 -33
  1551. data/app/views/shared/_taxonomies.html.erb +0 -10
  1552. data/app/views/taxons/show.html.erb +0 -12
  1553. data/app/views/user_sessions/new.html.erb +0 -6
  1554. data/app/views/users/_form.html.erb +0 -16
  1555. data/app/views/users/edit.html.erb +0 -9
  1556. data/app/views/users/new.html.erb +0 -12
  1557. data/app/views/users/show.html.erb +0 -39
  1558. data/config/environments/demo.rb +0 -22
  1559. data/config/initializers/compass.rb +0 -8
  1560. data/db/migrate/001_create_addresses.rb +0 -20
  1561. data/db/migrate/002_create_cart_items.rb +0 -13
  1562. data/db/migrate/003_create_carts.rb +0 -12
  1563. data/db/migrate/004_create_categories.rb +0 -15
  1564. data/db/migrate/005_create_categories_products.rb +0 -12
  1565. data/db/migrate/006_create_line_items.rb +0 -15
  1566. data/db/migrate/007_create_option_values.rb +0 -15
  1567. data/db/migrate/008_create_orders.rb +0 -23
  1568. data/db/migrate/009_create_products.rb +0 -16
  1569. data/db/migrate/010_create_txns.rb +0 -18
  1570. data/db/migrate/011_create_variants.rb +0 -13
  1571. data/db/migrate/012_create_tax_treatments.rb +0 -24
  1572. data/db/migrate/013_create_countries.rb +0 -11
  1573. data/db/migrate/014_create_states.rb +0 -13
  1574. data/db/migrate/015_create_option_types.rb +0 -13
  1575. data/db/migrate/016_create_product_option_types.rb +0 -14
  1576. data/db/migrate/017_create_option_values_variants.rb +0 -12
  1577. data/db/migrate/018_create_images.rb +0 -20
  1578. data/db/migrate/019_create_credit_cards.rb +0 -20
  1579. data/db/migrate/020_create_order_operations.rb +0 -14
  1580. data/db/migrate/021_create_inventory_units.rb +0 -15
  1581. data/db/migrate/022_create_users.rb +0 -17
  1582. data/db/migrate/023_create_roles.rb +0 -20
  1583. data/db/migrate/024_create_extension_meta.rb +0 -13
  1584. data/db/migrate/025_drop_tax_treatments.rb +0 -11
  1585. data/db/migrate/026_add_user_to_address.rb +0 -9
  1586. data/db/migrate/20080620100001_create_tax_rates.rb +0 -13
  1587. data/db/migrate/20080620113300_create_taxonomies.rb +0 -13
  1588. data/db/migrate/20080620113400_create_taxons.rb +0 -16
  1589. data/db/migrate/20080622173128_drop_extension_meta.rb +0 -13
  1590. data/db/migrate/20080622194800_create_prototypes.rb +0 -13
  1591. data/db/migrate/20080622194830_create_properties.rb +0 -13
  1592. data/db/migrate/20080622195000_create_properties_prototypes.rb +0 -12
  1593. data/db/migrate/20080622195100_create_property_values.rb +0 -14
  1594. data/db/migrate/20080630003326_create_zones.rb +0 -13
  1595. data/db/migrate/20080630150630_create_preferences.rb +0 -19
  1596. data/db/migrate/20080630152702_add_iso_country_information.rb +0 -19
  1597. data/db/migrate/20080630154400_create_countries_zones.rb +0 -12
  1598. data/db/migrate/20080630215310_create_zone_members.rb +0 -13
  1599. data/db/migrate/20080703184654_update_country_rename_name.rb +0 -15
  1600. data/db/migrate/20080704181428_create_app_configurations.rb +0 -12
  1601. data/db/migrate/20080704190355_add_permalink_and_published_to_products.rb +0 -15
  1602. data/db/migrate/20080704192456_update_tax_rates_add_zones_etc.rb +0 -17
  1603. data/db/migrate/20080707002329_create_tax_categories.rb +0 -21
  1604. data/db/migrate/20080708170103_remove_login.rb +0 -9
  1605. data/db/migrate/20080715014028_add_optimistic_locking_to_cart.rb +0 -13
  1606. data/db/migrate/20080716155613_products_taxons.rb +0 -12
  1607. data/db/migrate/20080720190623_rename_txn_table.rb +0 -9
  1608. data/db/migrate/20080729213052_drop_categories.rb +0 -8
  1609. data/db/migrate/20080803010846_remove_prototype_presentation.rb +0 -13
  1610. data/db/migrate/20080807214829_create_product_property.rb +0 -15
  1611. data/db/migrate/20080815173251_remove_cart.rb +0 -10
  1612. data/db/migrate/20080830173354_add_checkout_state_to_order.rb +0 -13
  1613. data/db/migrate/20080901002711_address_refactor.rb +0 -14
  1614. data/db/migrate/20080902001408_create_creditcard_payments.rb +0 -17
  1615. data/db/migrate/20080904150723_refactor_order_state.rb +0 -33
  1616. data/db/migrate/20080904234457_create_state_events.rb +0 -15
  1617. data/db/migrate/20080905012833_add_inventory_state.rb +0 -13
  1618. data/db/migrate/20080906174748_change_inventory_state_type.rb +0 -8
  1619. data/db/migrate/20080909100504_add_state_name_to_address.rb +0 -9
  1620. data/db/migrate/20080915211650_remove_user_address.rb +0 -10
  1621. data/db/migrate/20080918083321_remove_presentation_from_taxonomy.rb +0 -11
  1622. data/db/migrate/20080918140438_rename_app_configuration.rb +0 -16
  1623. data/db/migrate/20081003211336_create_shipping_methods.rb +0 -14
  1624. data/db/migrate/20081003233427_create_shipping_categories.rb +0 -15
  1625. data/db/migrate/20081015001711_create_shipments.rb +0 -14
  1626. data/db/migrate/20081016002224_remove_defunct_order_fields.rb +0 -10
  1627. data/db/migrate/20081016162924_drop_category_id_from_products.rb +0 -9
  1628. data/db/migrate/20081018125019_refactor_images_for_paperclip.rb +0 -40
  1629. data/db/migrate/20081023134446_add_product_dimensions.rb +0 -19
  1630. data/db/migrate/20081120184215_add_permalink_to_taxons.rb +0 -24
  1631. data/db/migrate/20081121192045_additional_paperclip_refactor.rb +0 -37
  1632. data/db/migrate/20081205155619_add_shipped_at_property.rb +0 -17
  1633. data/db/migrate/20081208143817_create_creditcards.rb +0 -20
  1634. data/db/migrate/20081208150007_create_payments_table.rb +0 -42
  1635. data/db/migrate/20081209103127_add_deleted_at_to_products.rb +0 -11
  1636. data/db/migrate/20081212015915_convert_credticard_number_to_text.rb +0 -11
  1637. data/db/migrate/20081219091142_create_indexes.rb +0 -23
  1638. data/db/migrate/20081221201510_create_shipping_addresses.rb +0 -16
  1639. data/db/migrate/20090105152846_add_previous_state_to_events.rb +0 -13
  1640. data/db/migrate/20090204200045_add_order_permalink.rb +0 -13
  1641. data/db/migrate/20090225231119_add_more_needed_keys_items_and_conf.rb +0 -19
  1642. data/db/migrate/20090302221152_give_all_users_user_role.rb +0 -14
  1643. data/db/migrate/20090320113300_authlogic_changes.rb +0 -24
  1644. data/db/migrate/20090324164010_create_option_types_prototypes.rb +0 -12
  1645. data/db/migrate/20090401120636_meta_data_fields_for_products.rb +0 -11
  1646. data/db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb +0 -12
  1647. data/db/migrate/20090401223217_create_eu_vat_zone_again.rb +0 -24
  1648. data/db/migrate/20090402002244_add_user_login.rb +0 -17
  1649. data/db/migrate/20090402161055_add_order_token.rb +0 -13
  1650. data/db/migrate/20090402200317_add_email_to_order.rb +0 -19
  1651. data/db/migrate/20090404192723_add_maestro_fields.rb +0 -12
  1652. data/db/migrate/20090406091357_add_alternative_phone.rb +0 -9
  1653. data/db/migrate/20090406174645_refactor_addresses.rb +0 -53
  1654. data/db/migrate/20090420021303_remove_viewable_id_from_products.rb +0 -10
  1655. data/db/migrate/20090427000000_upgrade_taxons.rb +0 -14
  1656. data/db/migrate/20090525000325_remove_address_orphans.rb +0 -15
  1657. data/db/migrate/20090603153927_create_checkouts.rb +0 -71
  1658. data/db/migrate/20090617181106_change_txn_type_to_int.rb +0 -18
  1659. data/db/migrate/20090618203233_create_charges.rb +0 -61
  1660. data/db/migrate/20090626235303_create_credits.rb +0 -22
  1661. data/db/migrate/20090705101511_add_image_dimensions.rb +0 -12
  1662. data/db/migrate/20090708175306_create_coupons.rb +0 -16
  1663. data/db/migrate/20090708175317_create_discounts.rb +0 -14
  1664. data/db/migrate/20090714094201_add_default_addresses_to_user.rb +0 -11
  1665. data/db/migrate/20090715172345_create_calculators.rb +0 -22
  1666. data/db/migrate/20090731085008_add_charge_source_to_charge.rb +0 -11
  1667. data/db/migrate/20090803072025_create_shipping_rates.rb +0 -12
  1668. data/db/migrate/20090804090559_create_calculators_for_tax_rates.rb +0 -16
  1669. data/db/migrate/20090805131937_drop_credits_and_discounts.rb +0 -9
  1670. data/db/migrate/20090805185015_remove_tax_type.rb +0 -13
  1671. data/db/migrate/20090806063212_rename_charges_to_adjustments.rb +0 -24
  1672. data/db/migrate/20090806160214_rename_base_to_source.rb +0 -11
  1673. data/db/migrate/20090809170304_remove_checkout_shipping_address_and_method.rb +0 -15
  1674. data/db/migrate/20090809193131_add_is_master_to_variants.rb +0 -43
  1675. data/db/migrate/20090809201209_drop_master_price_from_products.rb +0 -13
  1676. data/db/migrate/20090809231957_update_legacy_calculators.rb +0 -9
  1677. data/db/migrate/20090823005402_coupon_starts_at.rb +0 -13
  1678. data/db/migrate/20090828114732_add_queued_mail.rb +0 -12
  1679. data/db/migrate/20090908141056_adjust_percent_calc_settings.rb +0 -9
  1680. data/db/migrate/migrate/20080620100001_create_tax_rates.rb +0 -13
  1681. data/db/migrate/migrate/20080704192456_update_tax_rates_add_zones_etc.rb +0 -17
  1682. data/db/sample/creditcard_txns.yml +0 -7
  1683. data/db/sample/creditcards.yml +0 -10
  1684. data/db/sample/inventory_units.yml +0 -93
  1685. data/db/sample/payments.yml +0 -7
  1686. data/lib/product_scopes.rb +0 -76
  1687. data/lib/spree/setup.rb +0 -148
  1688. data/public/javascripts/application.js +0 -36
  1689. data/public/javascripts/calendar_date_select/calendar_date_select.js +0 -439
  1690. data/public/javascripts/calendar_date_select/format_american.js +0 -34
  1691. data/public/javascripts/calendar_date_select/format_db.js +0 -27
  1692. data/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
  1693. data/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
  1694. data/public/javascripts/calendar_date_select/format_finnish.js +0 -24
  1695. data/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -36
  1696. data/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
  1697. data/public/javascripts/calendar_date_select/format_italian.js +0 -24
  1698. data/public/javascripts/calendar_date_select/locale/de.js +0 -11
  1699. data/public/javascripts/calendar_date_select/locale/fi.js +0 -10
  1700. data/public/javascripts/calendar_date_select/locale/fr.js +0 -10
  1701. data/public/javascripts/calendar_date_select/locale/pl.js +0 -10
  1702. data/public/javascripts/calendar_date_select/locale/pt.js +0 -11
  1703. data/public/javascripts/calendar_date_select/locale/ru.js +0 -10
  1704. data/public/javascripts/controls.js +0 -963
  1705. data/public/javascripts/dragdrop.js +0 -972
  1706. data/public/javascripts/effects.js +0 -1120
  1707. data/public/javascripts/jsTree/source/_lib.js +0 -126
  1708. data/public/javascripts/jsTree/source/themes/default/context.gif +0 -0
  1709. data/public/javascripts/jsTree/source/themes/default/create.png +0 -0
  1710. data/public/javascripts/jsTree/source/themes/default/f.png +0 -0
  1711. data/public/javascripts/jsTree/source/themes/default/fminus.gif +0 -0
  1712. data/public/javascripts/jsTree/source/themes/default/fminus_rtl.gif +0 -0
  1713. data/public/javascripts/jsTree/source/themes/default/fplus.gif +0 -0
  1714. data/public/javascripts/jsTree/source/themes/default/fplus_rtl.gif +0 -0
  1715. data/public/javascripts/jsTree/source/themes/default/lastli.gif +0 -0
  1716. data/public/javascripts/jsTree/source/themes/default/lastli_rtl.gif +0 -0
  1717. data/public/javascripts/jsTree/source/themes/default/li.gif +0 -0
  1718. data/public/javascripts/jsTree/source/themes/default/remove.png +0 -0
  1719. data/public/javascripts/jsTree/source/themes/default/rename.png +0 -0
  1720. data/public/javascripts/jsTree/source/themes/default/style.css +0 -44
  1721. data/public/javascripts/jsTree/source/themes/marker.gif +0 -0
  1722. data/public/javascripts/jsTree/source/themes/marker_rtl.gif +0 -0
  1723. data/public/javascripts/jsTree/source/themes/plus.gif +0 -0
  1724. data/public/javascripts/jsTree/source/themes/remove.png +0 -0
  1725. data/public/javascripts/jsTree/source/themes/spree/context.gif +0 -0
  1726. data/public/javascripts/jsTree/source/themes/spree/create.png +0 -0
  1727. data/public/javascripts/jsTree/source/themes/spree/f.png +0 -0
  1728. data/public/javascripts/jsTree/source/themes/spree/fminus.gif +0 -0
  1729. data/public/javascripts/jsTree/source/themes/spree/fminus_rtl.gif +0 -0
  1730. data/public/javascripts/jsTree/source/themes/spree/fplus.gif +0 -0
  1731. data/public/javascripts/jsTree/source/themes/spree/fplus_rtl.gif +0 -0
  1732. data/public/javascripts/jsTree/source/themes/spree/lastli.gif +0 -0
  1733. data/public/javascripts/jsTree/source/themes/spree/li.gif +0 -0
  1734. data/public/javascripts/jsTree/source/themes/spree/remove.png +0 -0
  1735. data/public/javascripts/jsTree/source/themes/spree/rename.png +0 -0
  1736. data/public/javascripts/jsTree/source/themes/spree/style.css +0 -39
  1737. data/public/javascripts/jsTree/source/tree_component.css +0 -62
  1738. data/public/javascripts/jsTree/source/tree_component.js +0 -2315
  1739. data/public/javascripts/jsTree/source/tree_component.min.js +0 -14
  1740. data/public/javascripts/prototype.js +0 -4225
  1741. data/public/stylesheets/application.css +0 -7
  1742. data/public/stylesheets/calendar_date_select/blue.css +0 -130
  1743. data/public/stylesheets/calendar_date_select/default.css +0 -135
  1744. data/public/stylesheets/calendar_date_select/plain.css +0 -128
  1745. data/public/stylesheets/calendar_date_select/red.css +0 -135
  1746. data/public/stylesheets/calendar_date_select/silver.css +0 -133
  1747. data/public/stylesheets/sass/_buttons.sass +0 -59
  1748. data/public/stylesheets/sass/_cart.sass +0 -21
  1749. data/public/stylesheets/sass/_checkout.sass +0 -173
  1750. data/public/stylesheets/sass/_colors.sass +0 -11
  1751. data/public/stylesheets/sass/_layout.sass +0 -63
  1752. data/public/stylesheets/sass/_messages.sass +0 -28
  1753. data/public/stylesheets/sass/_mixins.sass +0 -17
  1754. data/public/stylesheets/sass/_navigation.sass +0 -97
  1755. data/public/stylesheets/sass/_prices.sass +0 -13
  1756. data/public/stylesheets/sass/_product_detail.sass +0 -27
  1757. data/public/stylesheets/sass/_product_thumbnail.sass +0 -58
  1758. data/public/stylesheets/sass/_registration.sass +0 -18
  1759. data/public/stylesheets/sass/ie.sass +0 -3
  1760. data/public/stylesheets/sass/print.sass +0 -3
  1761. data/public/stylesheets/sass/screen.sass +0 -22
  1762. data/spec/fixtures/gateway_configurations.yml +0 -3
  1763. data/spec/models/preference_definition_spec.rb +0 -184
  1764. data/spec/preference_factory.rb +0 -58
  1765. data/spec/views/admin/configurations/index.html.erb_spec.rb +0 -37
  1766. data/test/factories/creditcard_payment_factory.rb +0 -11
  1767. data/test/fixtures/gateway_configurations.yml +0 -2
  1768. data/test/fixtures/gateways.yml +0 -4
  1769. data/test/unit/helpers/checkouts_helper_test.rb +0 -26
  1770. data/test/unit/incomplete_checkout_test.rb +0 -68
  1771. data/vendor/extensions/payment_gateway/app/controllers/admin/gateway_configurations_controller.rb +0 -26
  1772. data/vendor/extensions/payment_gateway/app/controllers/admin/gateway_option_values_controller.rb +0 -24
  1773. data/vendor/extensions/payment_gateway/app/controllers/admin/gateways_controller.rb +0 -9
  1774. data/vendor/extensions/payment_gateway/app/models/gateway_configuration.rb +0 -4
  1775. data/vendor/extensions/payment_gateway/app/models/gateway_option.rb +0 -4
  1776. data/vendor/extensions/payment_gateway/app/models/gateway_option_value.rb +0 -4
  1777. data/vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb +0 -21
  1778. data/vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/edit.html.erb +0 -10
  1779. data/vendor/extensions/payment_gateway/app/views/admin/gateway_option_values/_options.html.erb +0 -28
  1780. data/vendor/extensions/payment_gateway/db/migrate/20080620120002_create_gateway_configurations.rb +0 -12
  1781. data/vendor/extensions/payment_gateway/db/migrate/20080620120003_create_gateways.rb +0 -15
  1782. data/vendor/extensions/payment_gateway/db/migrate/20080620120004_create_gateway_options.rb +0 -15
  1783. data/vendor/extensions/payment_gateway/db/migrate/20080620120005_create_gateway_option_values.rb +0 -14
  1784. data/vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb +0 -14
  1785. data/vendor/extensions/payment_gateway/db/migrate/20080620120007_create_linkpoint_gateway.rb +0 -18
  1786. data/vendor/extensions/payment_gateway/db/migrate/20080703120008_create_paypal_gateway.rb +0 -19
  1787. data/vendor/extensions/payment_gateway/db/migrate/20081119210419_create_authorizenet_gateway.rb +0 -18
  1788. data/vendor/extensions/payment_gateway/db/migrate/20081120144549_remove_authorizenet_test.rb +0 -10
  1789. data/vendor/extensions/payment_gateway/db/migrate/20090218091936_create_protx_gateway.rb +0 -18
  1790. data/vendor/extensions/payment_gateway/db/migrate/20090517173727_add_currency_code_option_to_paypal_gateway.rb +0 -13
  1791. data/vendor/extensions/payment_gateway/lib/gateway_config.rb +0 -7
  1792. data/vendor/extensions/payment_gateway/lib/spree/bogus_gateway.rb +0 -68
  1793. data/vendor/extensions/payment_gateway/lib/spree/gateway/config.rb +0 -22
  1794. data/vendor/extensions/payment_gateway/spec/models/gateway_configuration_spec.rb +0 -11
  1795. data/vendor/extensions/payment_gateway/spec/models/gateway_option_spec.rb +0 -11
  1796. data/vendor/extensions/payment_gateway/spec/models/gateway_option_value_spec.rb +0 -11
  1797. data/vendor/plugins/acts_as_adjacency_list/README +0 -13
  1798. data/vendor/plugins/acts_as_adjacency_list/Rakefile +0 -22
  1799. data/vendor/plugins/acts_as_adjacency_list/init.rb +0 -9
  1800. data/vendor/plugins/acts_as_adjacency_list/install.rb +0 -1
  1801. data/vendor/plugins/acts_as_adjacency_list/lib/active_record/acts/adjacency_list.rb +0 -230
  1802. data/vendor/plugins/acts_as_adjacency_list/tasks/acts_as_adjacency_list_tasks.rake +0 -4
  1803. data/vendor/plugins/acts_as_adjacency_list/test/acts_as_adjacency_list_test.rb +0 -293
  1804. data/vendor/plugins/acts_as_adjacency_list/uninstall.rb +0 -1
  1805. data/vendor/plugins/paperclip/LICENSE +0 -26
  1806. data/vendor/plugins/paperclip/README.rdoc +0 -174
  1807. data/vendor/plugins/paperclip/Rakefile +0 -99
  1808. data/vendor/plugins/paperclip/generators/paperclip/USAGE +0 -5
  1809. data/vendor/plugins/paperclip/generators/paperclip/paperclip_generator.rb +0 -27
  1810. data/vendor/plugins/paperclip/generators/paperclip/templates/paperclip_migration.rb.erb +0 -19
  1811. data/vendor/plugins/paperclip/init.rb +0 -1
  1812. data/vendor/plugins/paperclip/lib/paperclip.rb +0 -350
  1813. data/vendor/plugins/paperclip/lib/paperclip/attachment.rb +0 -413
  1814. data/vendor/plugins/paperclip/lib/paperclip/callback_compatability.rb +0 -33
  1815. data/vendor/plugins/paperclip/lib/paperclip/geometry.rb +0 -115
  1816. data/vendor/plugins/paperclip/lib/paperclip/interpolations.rb +0 -105
  1817. data/vendor/plugins/paperclip/lib/paperclip/iostream.rb +0 -58
  1818. data/vendor/plugins/paperclip/lib/paperclip/matchers.rb +0 -4
  1819. data/vendor/plugins/paperclip/lib/paperclip/matchers/have_attached_file_matcher.rb +0 -49
  1820. data/vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb +0 -66
  1821. data/vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_presence_matcher.rb +0 -48
  1822. data/vendor/plugins/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb +0 -83
  1823. data/vendor/plugins/paperclip/lib/paperclip/processor.rb +0 -49
  1824. data/vendor/plugins/paperclip/lib/paperclip/storage.rb +0 -236
  1825. data/vendor/plugins/paperclip/lib/paperclip/thumbnail.rb +0 -70
  1826. data/vendor/plugins/paperclip/lib/paperclip/upfile.rb +0 -48
  1827. data/vendor/plugins/paperclip/paperclip.gemspec +0 -37
  1828. data/vendor/plugins/paperclip/shoulda_macros/paperclip.rb +0 -68
  1829. data/vendor/plugins/paperclip/tasks/paperclip_tasks.rake +0 -79
  1830. data/vendor/plugins/paperclip/test/attachment_test.rb +0 -768
  1831. data/vendor/plugins/paperclip/test/database.yml +0 -4
  1832. data/vendor/plugins/paperclip/test/fixtures/12k.png +0 -0
  1833. data/vendor/plugins/paperclip/test/fixtures/50x50.png +0 -0
  1834. data/vendor/plugins/paperclip/test/fixtures/5k.png +0 -0
  1835. data/vendor/plugins/paperclip/test/fixtures/bad.png +0 -1
  1836. data/vendor/plugins/paperclip/test/fixtures/s3.yml +0 -4
  1837. data/vendor/plugins/paperclip/test/fixtures/twopage.pdf +0 -0
  1838. data/vendor/plugins/paperclip/test/geometry_test.rb +0 -177
  1839. data/vendor/plugins/paperclip/test/helper.rb +0 -100
  1840. data/vendor/plugins/paperclip/test/integration_test.rb +0 -481
  1841. data/vendor/plugins/paperclip/test/interpolations_test.rb +0 -120
  1842. data/vendor/plugins/paperclip/test/iostream_test.rb +0 -71
  1843. data/vendor/plugins/paperclip/test/matchers/have_attached_file_matcher_test.rb +0 -21
  1844. data/vendor/plugins/paperclip/test/matchers/validate_attachment_content_type_matcher_test.rb +0 -30
  1845. data/vendor/plugins/paperclip/test/matchers/validate_attachment_presence_matcher_test.rb +0 -21
  1846. data/vendor/plugins/paperclip/test/matchers/validate_attachment_size_matcher_test.rb +0 -50
  1847. data/vendor/plugins/paperclip/test/paperclip_test.rb +0 -291
  1848. data/vendor/plugins/paperclip/test/processor_test.rb +0 -10
  1849. data/vendor/plugins/paperclip/test/storage_test.rb +0 -282
  1850. data/vendor/plugins/paperclip/test/thumbnail_test.rb +0 -177
  1851. data/vendor/plugins/state_machine/CHANGELOG.rdoc +0 -97
  1852. data/vendor/plugins/state_machine/LICENSE +0 -20
  1853. data/vendor/plugins/state_machine/README.rdoc +0 -182
  1854. data/vendor/plugins/state_machine/Rakefile +0 -88
  1855. data/vendor/plugins/state_machine/init.rb +0 -1
  1856. data/vendor/plugins/state_machine/lib/state_machine.rb +0 -129
  1857. data/vendor/plugins/state_machine/lib/state_machine/event.rb +0 -116
  1858. data/vendor/plugins/state_machine/lib/state_machine/machine.rb +0 -412
  1859. data/vendor/plugins/state_machine/lib/state_machine/transition.rb +0 -227
  1860. data/vendor/plugins/state_machine/test/app_root/app/models/auto_shop.rb +0 -34
  1861. data/vendor/plugins/state_machine/test/app_root/app/models/car.rb +0 -19
  1862. data/vendor/plugins/state_machine/test/app_root/app/models/highway.rb +0 -3
  1863. data/vendor/plugins/state_machine/test/app_root/app/models/motorcycle.rb +0 -3
  1864. data/vendor/plugins/state_machine/test/app_root/app/models/switch.rb +0 -23
  1865. data/vendor/plugins/state_machine/test/app_root/app/models/switch_observer.rb +0 -20
  1866. data/vendor/plugins/state_machine/test/app_root/app/models/toggle_switch.rb +0 -2
  1867. data/vendor/plugins/state_machine/test/app_root/app/models/vehicle.rb +0 -78
  1868. data/vendor/plugins/state_machine/test/app_root/config/environment.rb +0 -7
  1869. data/vendor/plugins/state_machine/test/app_root/db/migrate/001_create_switches.rb +0 -12
  1870. data/vendor/plugins/state_machine/test/app_root/db/migrate/002_create_auto_shops.rb +0 -13
  1871. data/vendor/plugins/state_machine/test/app_root/db/migrate/003_create_highways.rb +0 -11
  1872. data/vendor/plugins/state_machine/test/app_root/db/migrate/004_create_vehicles.rb +0 -16
  1873. data/vendor/plugins/state_machine/test/factory.rb +0 -73
  1874. data/vendor/plugins/state_machine/test/functional/state_machine_test.rb +0 -499
  1875. data/vendor/plugins/state_machine/test/test_helper.rb +0 -13
  1876. data/vendor/plugins/state_machine/test/unit/event_test.rb +0 -235
  1877. data/vendor/plugins/state_machine/test/unit/invalid_transition_test.rb +0 -7
  1878. data/vendor/plugins/state_machine/test/unit/machine_test.rb +0 -306
  1879. data/vendor/plugins/state_machine/test/unit/state_machine_test.rb +0 -130
  1880. data/vendor/plugins/state_machine/test/unit/transition_test.rb +0 -633
@@ -0,0 +1,15 @@
1
+ # The following options can be changed by creating an initializer in config/initializers/jrails.rb
2
+
3
+ # jRails uses jQuery.noConflict() by default
4
+ # to use the default jQuery varibale, use:
5
+ # ActionView::Helpers::PrototypeHelper::JQUERY_VAR = '$'
6
+
7
+ # ActionView::Helpers::PrototypeHelper:: DISABLE_JQUERY_FORGERY_PROTECTION
8
+ # Set this to disable forgery protection in ajax calls
9
+ # This is handy if you want to use caching with ajax by injecting the forgery token via another means
10
+ # for an example, see http://henrik.nyh.se/2008/05/rails-authenticity-token-with-jquery
11
+ # ActionView::Helpers::PrototypeHelper::DISABLE_JQUERY_FORGERY_PROTECTION = true
12
+
13
+ ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES = ['jquery','jquery-ui','jrails']
14
+ ActionView::Helpers::AssetTagHelper::reset_javascript_include_default
15
+ require 'jrails'
@@ -0,0 +1,25 @@
1
+ namespace :jrails do
2
+
3
+ namespace :js do
4
+ desc "Copies the jQuery and jRails javascripts to public/javascripts"
5
+ task :install do
6
+ puts "Copying files..."
7
+ project_dir = RAILS_ROOT + '/public/javascripts/'
8
+ scripts = Dir[File.join(File.dirname(__FILE__), '..', '/javascripts/', '*.js')]
9
+ FileUtils.cp(scripts, project_dir)
10
+ puts "files copied successfully."
11
+ end
12
+
13
+ desc 'Remove the prototype / script.aculo.us javascript files'
14
+ task :scrub do
15
+ puts "Removing files..."
16
+ files = %W[controls.js dragdrop.js effects.js prototype.js]
17
+ project_dir = File.join(RAILS_ROOT, 'public', 'javascripts')
18
+ files.each do |fname|
19
+ FileUtils.rm(File.join(project_dir, fname)) if File.exists?(File.join(project_dir, fname))
20
+ end
21
+ puts "files removed successfully."
22
+ end
23
+ end
24
+
25
+ end
@@ -0,0 +1,23 @@
1
+ JrailsAutoComplete
2
+ ==================
3
+
4
+ This plugin adds autocomplete support to jrails. This plugin works similarly to the build in rails auto complete
5
+
6
+
7
+ Example
8
+ =======
9
+ In the controller you can use the macro function as such
10
+
11
+ class ExampleController < ApplicationController
12
+ auto_complete_for :fruit, :name
13
+
14
+ ...
15
+ end
16
+
17
+ In your view:
18
+
19
+ <%= javascript_include_tag 'jquery', 'jrails', 'jquery.suggest' %>
20
+ ...
21
+ <%= text_field_with_auto_complete :fruit, :name %>
22
+
23
+ Copyright (c) 2009 Marty Zalega, released under the MIT license
@@ -0,0 +1,22 @@
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rake/rdoctask'
4
+
5
+ desc 'Default: run unit tests.'
6
+ task :default => :test
7
+
8
+ desc 'Test the jrails_auto_complete plugin.'
9
+ Rake::TestTask.new(:test) do |t|
10
+ t.libs << 'lib'
11
+ t.pattern = 'test/**/*_test.rb'
12
+ t.verbose = true
13
+ end
14
+
15
+ desc 'Generate documentation for the jrails_auto_complete plugin.'
16
+ Rake::RDocTask.new(:rdoc) do |rdoc|
17
+ rdoc.rdoc_dir = 'rdoc'
18
+ rdoc.title = 'JrailsAutoComplete'
19
+ rdoc.options << '--line-numbers' << '--inline-source'
20
+ rdoc.rdoc_files.include('README')
21
+ rdoc.rdoc_files.include('lib/**/*.rb')
22
+ end
@@ -0,0 +1,2 @@
1
+ ActionController::Base.send :include, JrailsAutoComplete
2
+ ActionController::Base.helper JrailsAutoCompleteMacroHelper
@@ -0,0 +1,8 @@
1
+ puts "Copying files..."
2
+ dir = "javascripts"
3
+ ["jrails.autocomplete.js"].each do |js_file|
4
+ dest_file = File.join(RAILS_ROOT, "public", dir, js_file)
5
+ src_file = File.join(File.dirname(__FILE__) , dir, js_file)
6
+ FileUtils.cp_r(src_file, dest_file)
7
+ end
8
+ puts "Files copied - Installation complete!"
@@ -0,0 +1,276 @@
1
+
2
+ /*
3
+ * jquery.suggest 1.1 - 2007-08-06
4
+ *
5
+ * Uses code and techniques from following libraries:
6
+ * 1. http://www.dyve.net/jquery/?autocomplete
7
+ * 2. http://dev.jquery.com/browser/trunk/plugins/interface/iautocompleter.js
8
+ *
9
+ * All the new stuff written by Peter Vulgaris (www.vulgarisoip.com)
10
+ * Feel free to do whatever you want with this file
11
+ *
12
+ */
13
+
14
+ (function($) {
15
+ var defaults = {
16
+ delay: 100,
17
+ resultsClass: 'jquery-suggestion-results',
18
+ selectClass: 'jquery-suggestion-select',
19
+ matchClass: 'jquery-suggestion-match',
20
+ minchars: 2,
21
+ onSelect: function($input, $result) {
22
+ $input.val($result.data('autocomplete:value'));
23
+ },
24
+ maxCacheSize: 65536,
25
+ source: '',
26
+ method: 'get',
27
+ dataType: 'json',
28
+ params: '',
29
+ queryParam: 'q'
30
+ };
31
+
32
+ $.suggest = function(input, options) {
33
+ options = $.extend({}, defaults, options);
34
+
35
+ var $input = $(input).attr("autocomplete", "off");
36
+ var $results = $('<ul></ul>');
37
+
38
+ var timeout = false; // hold timeout ID for suggestion results to appear
39
+ var prevLength = 0; // last recorded length of $input.val()
40
+ var cache = []; // cache MRU list
41
+ var cacheSize = 0; // size of cache in chars (bytes?)
42
+
43
+ $results.addClass(options.resultsClass).appendTo('body').hide();
44
+
45
+ resetPosition();
46
+ $(window)
47
+ .load(resetPosition) // just in case user is changing size of page while loading
48
+ .resize(resetPosition);
49
+
50
+ $input.blur(function() {
51
+ setTimeout(function() { $results.hide() }, 200);
52
+ });
53
+
54
+ // help IE users if possible
55
+ if ($results.bgiframe) $results.bgiframe();
56
+
57
+ // I really hate browser detection, but I don't see any other way
58
+ if ($.browser.mozilla)
59
+ $input.keypress(processKey); // onkeypress repeats arrow keys in Mozilla/Opera
60
+ else
61
+ $input.keydown(processKey); // onkeydown repeats arrow keys in IE/Safari
62
+
63
+ function resetPosition() {
64
+ // requires jquery.dimension plugin
65
+ var offset = $input.offset();
66
+ $results.css({
67
+ top: (offset.top + input.offsetHeight) + 'px',
68
+ left: offset.left + 'px'
69
+ });
70
+ }
71
+
72
+ function processKey(e) {
73
+ // handling up/down/escape requires results to be visible
74
+ // handling enter/tab requires that AND a result to be selected
75
+ if ((/27$|38$|40$/.test(e.keyCode) && $results.is(':visible')) ||
76
+ (/^13$|^9$/.test(e.keyCode) && getCurrentResult())) {
77
+
78
+ if (e.preventDefault)
79
+ e.preventDefault();
80
+ if (e.stopPropagation)
81
+ e.stopPropagation();
82
+
83
+ e.cancelBubble = true;
84
+ e.returnValue = false;
85
+
86
+ switch(e.keyCode) {
87
+ case 38: // up
88
+ prevResult();
89
+ break;
90
+ case 40: // down
91
+ nextResult();
92
+ break;
93
+ case 9: // tab
94
+ case 13: // return
95
+ selectCurrentResult();
96
+ break;
97
+ case 27: // escape
98
+ $results.hide();
99
+ break;
100
+ }
101
+ }
102
+ else if ($input.val().length != prevLength) {
103
+ if (timeout)
104
+ clearTimeout(timeout);
105
+ timeout = setTimeout(suggest, options.delay);
106
+ prevLength = $input.val().length;
107
+ }
108
+ }
109
+
110
+ function suggest() {
111
+ var q = $.trim($input.val());
112
+
113
+ if (q.length >= options.minchars) {
114
+ cached = checkCache(q);
115
+ if (cached) {
116
+ displayItems(cached['items']);
117
+ }
118
+ else {
119
+ var params = options.queryParam + '=' + q + (options.params.length ? '&' + options.params : '');
120
+ $.ajax({
121
+ type: options.method,
122
+ url: options.source,
123
+ dataType: options.dataType,
124
+ data: params,
125
+ success: function(data) {
126
+ $results.hide();
127
+
128
+ displayItems(data);
129
+ addToCache(q, data);
130
+ },
131
+ error: function(xmlhttp, text) {
132
+ $results.hide();
133
+ alert(text);
134
+ }
135
+ });
136
+ }
137
+ }
138
+ else {
139
+ $results.hide();
140
+ }
141
+ }
142
+
143
+ function checkCache(q) {
144
+ for (var i = 0; i < cache.length; i++)
145
+ if (cache[i]['q'] == q) {
146
+ cache.unshift(cache.splice(i, 1)[0]);
147
+ return cache[0];
148
+ }
149
+ return false;
150
+ }
151
+
152
+ function addToCache(q, items) {
153
+ var size = 0;
154
+ $.each(items, function() {
155
+ ++size;
156
+ });
157
+
158
+ while (cache.length && (cacheSize + size > options.maxCacheSize)) {
159
+ var cached = cache.pop();
160
+ cacheSize -= cached['size'];
161
+ }
162
+
163
+ cache.push({
164
+ q: q,
165
+ size: size,
166
+ items: items
167
+ });
168
+ cacheSize += size;
169
+ }
170
+
171
+ function displayItems(items) {
172
+ if (!items)
173
+ return;
174
+ var empty = true;
175
+ $results.empty();
176
+ $.each(items, function(value, display) {
177
+ var $item = $('<li></li>').html(display).data('autocomplete:value', value);
178
+ $results.append($item);
179
+ empty = false;
180
+ });
181
+
182
+ if (empty) {
183
+ $results.hide();
184
+ return;
185
+ }
186
+
187
+ resetPosition();
188
+ $results
189
+ .width($input.width())
190
+ .show()
191
+ .children('li')
192
+ .mouseover(function() {
193
+ $results.children('li').removeClass(options.selectClass);
194
+ $(this).addClass(options.selectClass);
195
+ })
196
+ .click(function(e) {
197
+ e.preventDefault();
198
+ e.stopPropagation();
199
+ selectCurrentResult();
200
+ });
201
+ }
202
+
203
+ function parseTxt(txt, q) {
204
+ var items = [];
205
+ var tokens = txt.split(options.delimiter);
206
+
207
+ // parse returned data for non-empty items
208
+ for (var i = 0; i < tokens.length; i++) {
209
+ var token = $.trim(tokens[i]);
210
+ if (token) {
211
+ token = token.replace(
212
+ new RegExp(q, 'ig'),
213
+ function(q) { return '<span class="' + options.matchClass + '">' + q + '</span>' }
214
+ );
215
+ items[items.length] = token;
216
+ }
217
+ }
218
+ return items;
219
+ }
220
+
221
+ function getCurrentResult() {
222
+ if (!$results.is(':visible'))
223
+ return false;
224
+
225
+ var $currentResult = $results.children('li.' + options.selectClass);
226
+ if (!$currentResult.length)
227
+ $currentResult = false;
228
+
229
+ return $currentResult;
230
+ }
231
+
232
+ function selectCurrentResult() {
233
+ $currentResult = getCurrentResult();
234
+
235
+ if ($currentResult) {
236
+ options.onSelect.call(this, $input, $currentResult);
237
+ $results.hide();
238
+ }
239
+ }
240
+
241
+ function nextResult() {
242
+ $currentResult = getCurrentResult();
243
+
244
+ if ($currentResult)
245
+ $currentResult
246
+ .removeClass(options.selectClass)
247
+ .next()
248
+ .addClass(options.selectClass);
249
+ else
250
+ $results.children('li:first-child').addClass(options.selectClass);
251
+ }
252
+
253
+ function prevResult() {
254
+ $currentResult = getCurrentResult();
255
+
256
+ if ($currentResult)
257
+ $currentResult
258
+ .removeClass(options.selectClass)
259
+ .prev()
260
+ .addClass(options.selectClass);
261
+ else
262
+ $results.children('li:last-child').addClass(options.selectClass);
263
+ }
264
+ }
265
+
266
+ $.fn.suggest = function(source, options) {
267
+ if (!source)
268
+ return;
269
+ options.source = source;
270
+ this.each(function() {
271
+ new $.suggest(this, options);
272
+ });
273
+ return this;
274
+ };
275
+ })(jQuery);
276
+
@@ -0,0 +1,274 @@
1
+ (function($) {
2
+ function stopEvent(e) {
3
+ e.preventDefault();
4
+ e.stopPropagation();
5
+ e.stopped = true;
6
+ }
7
+
8
+ function getFirstDifferencePos(newS, oldS) {
9
+ var boundary = Math.min(newS.length, oldS.length);
10
+ for (var index = 0; index < boundary; ++index)
11
+ if (newS[index] != oldS[index]) return index;
12
+ return boundary;
13
+ }
14
+
15
+ var AutoComplete = function(element, update, url, options) {
16
+ var autocomplete = this;
17
+
18
+ this.element = element;
19
+ this.url = url;
20
+ this.update = update;
21
+ this.hasFocus = false;
22
+ this.changed = false;
23
+ this.active = false;
24
+ this.index = 0;
25
+ this.entryCount = 0;
26
+ this.oldElementValue = this.element.value;
27
+ this.observer = null;
28
+ this.options = $.extend({
29
+ paramName: this.element.name,
30
+ type: 'GET',
31
+ tokens: [],
32
+ frequency: 0.4,
33
+ minChars: 1,
34
+ onShow: function(element, update) {
35
+ if (!update.style.position || update.style.position == 'absolute') {
36
+ var position = $(element).position();
37
+ $(update).css({
38
+ position: 'absolute',
39
+ left: position.left + 'px',
40
+ top: $(element).outerHeight() + position.top + 'px',
41
+ width: $(element).outerWidth() + 'px'
42
+ });
43
+ }
44
+ $(update).fadeIn();
45
+ },
46
+ onHide: function(element, update) {
47
+ $(update).fadeOut();
48
+ }
49
+ }, options);
50
+
51
+ if (typeof(this.options.tokens) == 'string') {
52
+ this.options.tokens = new Array(this.options.tokens);
53
+ }
54
+ if (!$.inArray("\n", this.options.tokens)) {
55
+ this.options.tokens.push("\n");
56
+ }
57
+
58
+ $(this.update).hide();
59
+ $(this.element).attr('autocomplete', 'off')
60
+ .blur(function(e) { autocomplete.onBlur(e); })
61
+ .keypress(function(e) { autocomplete.onKeyPress(e); });
62
+ }
63
+ $.extend(AutoComplete.prototype, {
64
+ show: function() {
65
+ if ($(this.update).not(':visible')) this.options.onShow(this.element, this.update);
66
+ },
67
+ hide: function() {
68
+ this.stopIndicator();
69
+ if ($(this.update).is(':visible')) this.options.onHide(this.element, this.update);
70
+ },
71
+ startIndicator: function() {
72
+ if (this.options.indicator) $('#' + this.options.indicator).show();
73
+ },
74
+ stopIndicator: function() {
75
+ if (this.options.indicator) $('#' + this.options.indicator).hide();
76
+ },
77
+ onKeyPress: function(e) {
78
+ var autocomplete = this;
79
+
80
+ if (this.active) {
81
+ switch (e.keyCode) {
82
+ case 9: // tab
83
+ case 13: // return
84
+ this.selectEntry();
85
+ stopEvent(e);
86
+ case 27: // esc
87
+ this.hide();
88
+ this.active = false;
89
+ stopEvent(e);
90
+ case 37: // left
91
+ case 39: // right
92
+ return;
93
+ case 38: // up
94
+ this.markPrevious();
95
+ this.render();
96
+ stopEvent(e);
97
+ return;
98
+ case 40: // down
99
+ this.markNext();
100
+ this.render();
101
+ stopEvent(e);
102
+ return;
103
+ }
104
+ }
105
+ else if (e.keyCode == 9 || e.keyCode == 13) return;
106
+
107
+ this.changed = this.hasFocus = true;
108
+ if (this.observer) clearTimeout(this.observer);
109
+ this.observer = setTimeout(function() { autocomplete.onObserverEvent(); }, this.options.frequency * 1000);
110
+ },
111
+ activate: function() {
112
+ this.changed = false;
113
+ this.hasFocus = true;
114
+ this.getUpdatedChoices();
115
+ },
116
+ onHover: function(e) {
117
+ if (this.index != e.target.autocompleteIndex) {
118
+ this.index = e.target.autocompleteIndex;
119
+ this.render();
120
+ }
121
+ stopEvent(e);
122
+ },
123
+ onClick: function(e) {
124
+ this.index = e.target.autocompleteIndex;
125
+ this.selectEntry();
126
+ this.hide();
127
+ },
128
+ onBlur: function(e) {
129
+ var autocomplete = this;
130
+ setTimeout(function() { autocomplete.hide(); }, 250);
131
+ this.active = this.hasFocus = false;
132
+ },
133
+ render: function() {
134
+ if (this.entryCount > 0) {
135
+ for (var i = 0; i < this.entryCount; ++i) {
136
+ $(this.getEntry(i))[this.index == i ? 'addClass' : 'removeClass']('selected');
137
+ }
138
+ if (this.hasFocus) {
139
+ this.show();
140
+ this.active = true;
141
+ }
142
+ }
143
+ else {
144
+ this.active = false;
145
+ this.hide();
146
+ }
147
+ },
148
+ markPrevious: function() {
149
+ if (this.index > 0) --this.index;
150
+ else this.index = this.entryCount - 1;
151
+ },
152
+ markNext: function() {
153
+ if (this.index < this.entryCount - 1) ++this.index;
154
+ else this.index = 0;
155
+ },
156
+ getEntry: function(i) {
157
+ return $(this.update.firstChild).children('li').get(i);
158
+ },
159
+ getCurrentEntry: function() {
160
+ return this.getEntry(this.index);
161
+ },
162
+ selectEntry: function() {
163
+ this.active = false;
164
+ this.updateElement(this.getCurrentEntry());
165
+ },
166
+ updateElement: function(element) {
167
+ if (this.options.updateElement) {
168
+ this.options.updateElement(element);
169
+ return;
170
+ }
171
+
172
+ var value = $.trim(this.options.select ?
173
+ $('.' + this.options.select, element).text() :
174
+ $(element).text());
175
+
176
+ var bounds = this.getTokenBounds();
177
+ if (bounds[0] != -1) {
178
+ var newValue = this.element.value.substr(0, bounds[0]);
179
+ var whitespace = this.element.value.substr(bounds[0]).match(/^\s+/);
180
+ if (whitespace) newValue += whitespace[0];
181
+ this.element.value = newValue + value + this.element.value.substr(bounds[1]);
182
+ }
183
+ else {
184
+ this.element.value = value;
185
+ }
186
+
187
+ this.oldElementValue = $(this.element).focus().val();
188
+
189
+ if (this.options.afterUpdateElement) this.options.afterUpdateElement(this.element, element);
190
+ },
191
+ updateChoices: function(choices) {
192
+ if (!this.changed && this.hasFocus) {
193
+ $(this.update).html($.trim(choices));
194
+ var i = 0, autocomplete = this;
195
+ this.entryCount = $(this.update.firstChild).children('li').each(function() {
196
+ this.autocompleteIndex = i++;
197
+ autocomplete.addObservers(this);
198
+ }).length;
199
+ }
200
+
201
+ this.stopIndicator();
202
+ this.index = 0;
203
+
204
+ if (this.entryCount == 1 && this.options.autoSelect) {
205
+ this.selectEntry();
206
+ this.hide();
207
+ }
208
+ else {
209
+ this.render();
210
+ }
211
+ },
212
+ addObservers: function(element) {
213
+ var autocomplete = this;
214
+ $(element)
215
+ .mouseover(function(e) { autocomplete.onHover(e); })
216
+ .click(function(e) { autocomplete.onClick(e); });
217
+ },
218
+ onObserverEvent: function() {
219
+ this.changed = false;
220
+ this.tokenBounds = null;
221
+ if (this.getToken().length >= this.options.minChars) {
222
+ this.getUpdatedChoices();
223
+ }
224
+ else {
225
+ this.active = false;
226
+ this.hide();
227
+ }
228
+ this.oldElementValue = this.element.value;
229
+ },
230
+ getToken: function() {
231
+ var bounds = this.getTokenBounds();
232
+ return $.trim(this.element.value.substring(bounds[0], bounds[1]));
233
+ },
234
+ getTokenBounds: function() {
235
+ if (null != this.tokenBounds) return this.tokenBounds;
236
+ var value = $.trim(this.element.value);
237
+ if (!value.length) return [-1, 0];
238
+ var diff = getFirstDifferencePos(value, this.oldElementValue);
239
+ var offset = (diff == this.oldElementValue.length ? 1 : 0);
240
+ var prevTokenPos = -1, nextTokenPos = value.length;
241
+ for (var tp = null, index = 0, l = this.options.tokens.length; index < l; ++index) {
242
+ tp = value.lastIndexOf(this.options.tokens[index], diff + offset - 1);
243
+ if (tp > prevTokenPos) prevTokenPos = tp;
244
+ tp = value.indexOf(this.options.tokens[index], diff + offset);
245
+ if (-1 != tp && tp < nextTokenPos) nextTokenPos = tp;
246
+ }
247
+ return (this.tokenBounds = [prevTokenPos + 1, nextTokenPos]);
248
+ },
249
+ getUpdatedChoices: function() {
250
+ this.startIndicator();
251
+
252
+ var autocomplete = this, entry = encodeURIComponent(this.options.paramName) + '=' + encodeURIComponent(this.getToken());
253
+ this.options.data = this.options.callback ? this.options.callback(this.element, entry) : entry;
254
+
255
+ if (this.options.defaultParams) this.options.data += '&' + this.options.defaultParams;
256
+ var ajaxOptions = $.extend({}, this.options, {
257
+ url: this.url,
258
+ success: function(data, status) {
259
+ autocomplete.updateChoices(data);
260
+ }
261
+ });
262
+ $.ajax(ajaxOptions);
263
+ }
264
+ });
265
+
266
+ $.fn.autocomplete = function(options) {
267
+ var update = $('#' + options.update).get(0), url = options.url;
268
+ options.update = options.url = undefined;
269
+ this.filter(':text').each(function() {
270
+ new AutoComplete(this, update, url, options);
271
+ });
272
+ return this;
273
+ }
274
+ })(jQuery);