wagn 1.12.13 → 1.13.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (545) hide show
  1. checksums.yaml +5 -13
  2. data/.gitignore +7 -8
  3. data/.rspec +1 -1
  4. data/.simplecov +23 -0
  5. data/.tm_properties +1 -0
  6. data/Gemfile +15 -13
  7. data/Guardfile +34 -0
  8. data/README.rdoc +4 -10
  9. data/VERSION +1 -1
  10. data/app/assets/images/smoothness/animated-overlay.gif +0 -0
  11. data/app/assets/images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  12. data/app/assets/images/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  13. data/app/assets/images/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  14. data/app/assets/images/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  15. data/app/assets/images/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  16. data/app/assets/images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  17. data/app/assets/images/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  18. data/app/assets/images/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  19. data/app/assets/images/smoothness/ui-icons_222222_256x240.png +0 -0
  20. data/app/assets/images/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  21. data/app/assets/images/smoothness/ui-icons_454545_256x240.png +0 -0
  22. data/app/assets/images/smoothness/ui-icons_888888_256x240.png +0 -0
  23. data/app/assets/images/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  24. data/app/assets/javascripts/application.js +9 -8
  25. data/app/assets/javascripts/jquery.ui.autocomplete.html.js +1 -1
  26. data/app/controllers/card_controller.rb +190 -23
  27. data/config/environments/development.rb +17 -12
  28. data/config/initializers/01_init_ruby_extensions.rb +1 -70
  29. data/config/routes.rb +21 -8
  30. data/config/version_cards.txt +1 -1
  31. data/db/bootstrap/card_references.yml +520 -352
  32. data/db/bootstrap/card_revisions.yml +1818 -1887
  33. data/db/bootstrap/cards.yml +2279 -1310
  34. data/db/migrate_cards/20130411191151_renaming_for_menu.rb +0 -5
  35. data/db/migrate_cards/20130411211600_delete_old_related_tab_cards.rb +0 -6
  36. data/db/migrate_cards/20130419215612_import_help_text.rb +0 -7
  37. data/db/migrate_cards/20130823192433_add_style_cards.rb +2 -6
  38. data/db/migrate_cards/20130910183318_move_styles_to_content.rb +0 -5
  39. data/db/migrate_cards/20130920214038_jsonize_tinymce.rb +0 -6
  40. data/db/migrate_cards/20130920291703_update_stylesheets.rb +0 -5
  41. data/db/migrate_cards/20130927191728_account_events.rb +1 -6
  42. data/db/migrate_cards/20131016172445_common_css_patch.rb +0 -6
  43. data/db/migrate_cards/20140110193325_reset_account_request_type.rb +1 -6
  44. data/db/migrate_cards/20140307231621_user_data_to_cards.rb +78 -0
  45. data/db/migrate_cards/20140317035504_account_requests_to_signups.rb +45 -0
  46. data/db/migrate_cards/20140512155840_add_script_cards.rb +85 -0
  47. data/db/migrate_cards/data/1.12_stylesheets/common.scss +1 -1
  48. data/features/autonaming.feature +3 -3
  49. data/features/flexmail.feature +2 -2
  50. data/features/layouts.feature +1 -1
  51. data/features/navbox.feature +17 -0
  52. data/features/notifications.feature +4 -4
  53. data/features/pointer_inputs.feature +2 -2
  54. data/features/presetting_content.feature +1 -1
  55. data/features/reset_password.feature +34 -0
  56. data/features/{pattern_settings.feature → rules.feature} +7 -7
  57. data/features/setup.feature +32 -0
  58. data/features/signup.feature +47 -0
  59. data/features/step_definitions/email_steps.rb +24 -1
  60. data/features/step_definitions/wagn_steps.rb +66 -31
  61. data/features/step_definitions/web_steps.rb +1 -0
  62. data/features/{content_settings.feature → structure.feature} +3 -6
  63. data/features/support/env.rb +3 -0
  64. data/features/support/paths.rb +2 -2
  65. data/features/support/{wag_env.rb → wagn_env.rb} +1 -1
  66. data/features/table_of_contents.feature +1 -1
  67. data/features/update_includers.feature +3 -3
  68. data/features/watch.feature +2 -2
  69. data/lib/card.rb +12 -10
  70. data/lib/{active_record/quoting_and_matching.rb → card/active_record_ext.rb} +25 -20
  71. data/lib/card/auth.rb +205 -0
  72. data/lib/card/chunk.rb +70 -69
  73. data/lib/card/content.rb +1 -1
  74. data/lib/card/core_ext.rb +74 -0
  75. data/lib/card/env.rb +66 -0
  76. data/lib/card/flexmail.rb +43 -37
  77. data/lib/card/format.rb +42 -29
  78. data/lib/{generators → card/generators}/card_migration/USAGE +0 -0
  79. data/lib/{generators → card/generators}/card_migration/card_migration_generator.rb +0 -0
  80. data/lib/{generators → card/generators}/card_migration/templates/card_migration.erb +0 -6
  81. data/lib/{generators → card/generators}/format/USAGE +0 -0
  82. data/lib/{generators → card/generators}/format/format_generator.rb +0 -0
  83. data/lib/{generators → card/generators}/format/templates/format_spec_template.erb +1 -2
  84. data/lib/{generators → card/generators}/format/templates/format_template.erb +0 -0
  85. data/lib/{generators → card/generators}/set/USAGE +0 -0
  86. data/lib/{generators → card/generators}/set/set_generator.rb +0 -0
  87. data/lib/{generators → card/generators}/set/templates/set_spec_template.erb +1 -2
  88. data/lib/card/generators/set/templates/set_template.erb +1 -0
  89. data/lib/card/loader.rb +145 -0
  90. data/lib/card/mailer.rb +117 -0
  91. data/{app/views → lib/card}/mailer/change_notice.html.erb +2 -2
  92. data/lib/card/mailer/confirmation_email.html.erb +8 -0
  93. data/{app/views → lib/card}/mailer/flexmail.html.erb +0 -0
  94. data/lib/card/mailer/password_reset.html.erb +9 -0
  95. data/{app/views → lib/card}/mailer/signup_alert.html.erb +0 -0
  96. data/lib/card/name.rb +2 -3
  97. data/lib/card/query.rb +0 -3
  98. data/lib/card/query/card_spec.rb +4 -4
  99. data/lib/card/revision.rb +34 -32
  100. data/lib/card/set.rb +204 -180
  101. data/lib/card/set_pattern.rb +126 -101
  102. data/lib/wagn/all.rb +1 -8
  103. data/lib/wagn/application.rb +14 -7
  104. data/lib/wagn/commands/application.rb +1 -1
  105. data/lib/{generators → wagn/generators}/wagn/USAGE +0 -0
  106. data/lib/{generators → wagn/generators}/wagn/templates/Gemfile +0 -0
  107. data/lib/{generators → wagn/generators}/wagn/templates/Rakefile +0 -0
  108. data/lib/{generators → wagn/generators}/wagn/templates/config.ru +0 -0
  109. data/lib/{generators → wagn/generators}/wagn/templates/config/application.rb +0 -0
  110. data/lib/{generators → wagn/generators}/wagn/templates/config/boot.rb +0 -0
  111. data/lib/{generators → wagn/generators}/wagn/templates/config/database.yml +0 -0
  112. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/frontbase.yml +0 -0
  113. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/ibm_db.yml +0 -0
  114. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/jdbc.yml +0 -0
  115. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/jdbcmysql.yml +0 -0
  116. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/jdbcpostgresql.yml +0 -0
  117. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/jdbcsqlite3.yml +0 -0
  118. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/mysql.yml +0 -0
  119. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/oracle.yml +0 -0
  120. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/postgresql.yml +0 -0
  121. data/lib/{generators → wagn/generators}/wagn/templates/config/databases/sqlite3.yml +0 -0
  122. data/lib/{generators → wagn/generators}/wagn/templates/config/environment.rb +0 -0
  123. data/lib/{generators → wagn/generators}/wagn/templates/gitignore +0 -0
  124. data/lib/wagn/generators/wagn/templates/public/files/htaccess +9 -0
  125. data/{public → lib/wagn/generators/wagn/templates/public}/robots.txt +0 -0
  126. data/lib/{generators → wagn/generators}/wagn/templates/script/wagn +0 -0
  127. data/lib/{generators → wagn/generators}/wagn/wagn_generator.rb +12 -0
  128. data/lib/wagn/location.rb +7 -11
  129. data/lib/wagn/migration_helper.rb +4 -1
  130. data/{app/mailers → lib/wagn/tasks}/.gitkeep +0 -0
  131. data/lib/{tasks → wagn/tasks}/cucumber.rake +0 -0
  132. data/lib/{tasks → wagn/tasks}/db.rake +0 -0
  133. data/lib/{tasks → wagn/tasks}/test.rake +5 -2
  134. data/lib/{tasks → wagn/tasks}/wagn.rake +29 -12
  135. data/mods/{standard → core}/chunks/include.rb +2 -0
  136. data/mods/{standard → core}/chunks/link.rb +3 -0
  137. data/mods/core/formats/html_format.rb +27 -35
  138. data/mods/core/sets/all/active_card.rb +15 -3
  139. data/mods/core/sets/all/attribute_tracking.rb +1 -1
  140. data/mods/core/sets/all/collection.rb +4 -5
  141. data/mods/core/sets/all/fetch.rb +98 -80
  142. data/mods/core/sets/all/initialize.rb +2 -0
  143. data/mods/core/sets/all/name.rb +13 -12
  144. data/mods/core/sets/all/pattern.rb +0 -9
  145. data/mods/core/sets/all/permissions.rb +56 -31
  146. data/mods/core/sets/all/phases.rb +63 -84
  147. data/mods/core/sets/all/references.rb +0 -1
  148. data/mods/core/sets/all/rules.rb +3 -4
  149. data/mods/core/sets/all/templating.rb +2 -3
  150. data/mods/core/sets/all/tracked_attributes.rb +26 -9
  151. data/mods/core/sets/all/trash.rb +1 -2
  152. data/mods/core/sets/all/type.rb +6 -1
  153. data/mods/core/sets/all/utils.rb +2 -3
  154. data/mods/standard/files/103/icon-6566.ico +0 -0
  155. data/mods/standard/files/103/large-6566.ico +0 -0
  156. data/mods/standard/files/103/medium-6566.ico +0 -0
  157. data/{public/favicon.ico → mods/standard/files/103/original-6566.ico} +0 -0
  158. data/mods/standard/files/103/small-6566.ico +0 -0
  159. data/mods/standard/files/79/icon-6556.png +0 -0
  160. data/mods/standard/files/79/large-6556.png +0 -0
  161. data/mods/standard/files/79/medium-6556.png +0 -0
  162. data/mods/standard/files/79/original-6556.png +0 -0
  163. data/mods/standard/files/79/small-6556.png +0 -0
  164. data/mods/standard/files/790/icon-6419.png +0 -0
  165. data/mods/standard/files/790/large-6419.png +0 -0
  166. data/mods/standard/files/790/medium-6419.png +0 -0
  167. data/mods/standard/files/790/original-6419.png +0 -0
  168. data/mods/standard/files/790/small-6419.png +0 -0
  169. data/mods/standard/lib/card/machine.rb +152 -0
  170. data/mods/standard/lib/card/machine_input.rb +40 -0
  171. data/{public/assets → mods/standard/lib/javascript}/html5shiv-printshiv.js +0 -0
  172. data/mods/standard/lib/javascript/jquery-ui.js +14913 -0
  173. data/mods/standard/lib/javascript/jquery.autosize.js +255 -0
  174. data/mods/standard/lib/javascript/jquery.fileupload.js +1112 -0
  175. data/mods/standard/lib/javascript/jquery.iframe-transport.js +157 -0
  176. data/mods/standard/lib/javascript/jquery.js +9473 -0
  177. data/mods/standard/lib/javascript/jquery.ui.autocomplete.html.js +41 -0
  178. data/mods/standard/lib/javascript/jquery_ujs.js +429 -0
  179. data/mods/standard/lib/javascript/jquerymobile.js +8800 -0
  180. data/mods/standard/lib/javascript/tinymce.js +13 -0
  181. data/{app/assets/javascripts → mods/standard/lib/javascript}/wagn.js.coffee +10 -0
  182. data/{app/assets/javascripts → mods/standard/lib/javascript}/wagn_menu.js +3 -12
  183. data/{app/assets/javascripts → mods/standard/lib/javascript}/wagn_mod.js.coffee +18 -11
  184. data/mods/standard/lib/stylesheets/functional.scss +13 -9
  185. data/mods/standard/lib/stylesheets/jquery-ui-smoothness.css +922 -218
  186. data/mods/standard/lib/stylesheets/standard.scss +2 -2
  187. data/mods/standard/sets/all/account.rb +18 -205
  188. data/mods/standard/sets/all/all_css.rb +2 -3
  189. data/mods/standard/sets/all/all_csv.rb +0 -1
  190. data/mods/standard/sets/all/attach.rb +0 -1
  191. data/mods/standard/sets/all/base.rb +9 -7
  192. data/mods/standard/sets/all/comment.rb +5 -5
  193. data/mods/standard/sets/all/email_html.rb +0 -2
  194. data/mods/standard/sets/all/event_viz.rb +62 -0
  195. data/mods/standard/sets/all/file.rb +0 -1
  196. data/mods/standard/sets/all/follow.rb +13 -11
  197. data/mods/standard/sets/all/history.rb +2 -7
  198. data/mods/standard/sets/all/json.rb +6 -11
  199. data/mods/standard/sets/all/rich_html.rb +68 -52
  200. data/mods/standard/sets/all/rss.rb +4 -5
  201. data/mods/standard/sets/all/text.rb +0 -1
  202. data/mods/standard/sets/right/account.rb +100 -1
  203. data/mods/standard/sets/right/create.rb +8 -2
  204. data/mods/standard/sets/right/delete.rb +2 -0
  205. data/mods/standard/sets/right/email.rb +50 -2
  206. data/mods/standard/sets/right/machine_output.rb +12 -0
  207. data/mods/standard/sets/right/password.rb +39 -0
  208. data/mods/standard/sets/right/read.rb +2 -0
  209. data/mods/standard/sets/right/salt.rb +2 -1
  210. data/mods/standard/sets/right/script.rb +10 -0
  211. data/mods/standard/sets/right/stats.rb +35 -0
  212. data/mods/standard/sets/right/status.rb +9 -0
  213. data/mods/standard/sets/right/style.rb +7 -53
  214. data/mods/standard/sets/right/{crypted_password.rb → token.rb} +2 -1
  215. data/mods/standard/sets/right/update.rb +2 -0
  216. data/mods/standard/sets/rstar/rules.rb +7 -3
  217. data/mods/standard/sets/self/account_links.rb +16 -23
  218. data/mods/standard/sets/self/alerts.rb +0 -1
  219. data/mods/standard/sets/self/all.rb +21 -0
  220. data/mods/standard/sets/self/foot.rb +0 -1
  221. data/mods/standard/sets/self/head.rb +21 -24
  222. data/mods/standard/sets/self/navbox.rb +0 -1
  223. data/mods/standard/sets/self/now.rb +0 -1
  224. data/mods/standard/sets/self/recent.rb +38 -35
  225. data/mods/standard/sets/self/script_card_menu.rb +8 -0
  226. data/mods/standard/sets/self/script_html5shiv_printshiv.rb +7 -0
  227. data/mods/standard/sets/self/script_jquery.rb +8 -0
  228. data/mods/standard/sets/self/script_jquery_helper.rb +13 -0
  229. data/mods/standard/sets/self/script_slot.rb +9 -0
  230. data/mods/standard/sets/self/script_tinymce.rb +8 -0
  231. data/mods/standard/sets/self/search.rb +0 -1
  232. data/mods/standard/sets/self/signin.rb +111 -0
  233. data/mods/standard/sets/self/stats.rb +91 -0
  234. data/mods/standard/sets/self/style_functional.rb +1 -1
  235. data/mods/standard/sets/self/style_jquery_ui_smoothness.rb +1 -1
  236. data/mods/standard/sets/self/style_standard.rb +1 -1
  237. data/mods/standard/sets/type/basic.rb +15 -14
  238. data/mods/standard/sets/type/cardtype.rb +2 -3
  239. data/mods/standard/sets/type/coffee_script.rb +46 -0
  240. data/mods/standard/sets/type/css.rb +16 -5
  241. data/mods/standard/sets/type/date.rb +0 -1
  242. data/mods/standard/sets/type/file.rb +0 -2
  243. data/mods/standard/sets/type/html.rb +0 -1
  244. data/mods/standard/sets/type/image.rb +1 -2
  245. data/mods/standard/sets/type/java_script.rb +32 -0
  246. data/mods/standard/sets/type/layout_type.rb +1 -1
  247. data/mods/standard/sets/type/number.rb +0 -1
  248. data/mods/standard/sets/type/pointer.rb +13 -8
  249. data/mods/standard/sets/type/scss.rb +17 -3
  250. data/mods/standard/sets/type/search_type.rb +36 -34
  251. data/mods/standard/sets/type/set.rb +1 -5
  252. data/mods/standard/sets/type/setting.rb +1 -2
  253. data/mods/standard/sets/type/signup.rb +92 -0
  254. data/mods/standard/sets/type/skin.rb +4 -5
  255. data/mods/standard/sets/type/toggle.rb +1 -1
  256. data/mods/standard/sets/type/user.rb +51 -4
  257. data/public/{404.html → assets/jasmine/404.html} +0 -0
  258. data/public/{500.html → assets/jasmine/500.html} +0 -0
  259. data/public/{jasmine → assets/jasmine}/card_form.html +0 -0
  260. data/public/assets/jquery-ui/animated-overlay-602eee4c79a4796b02bb6442948c9e28.gif +0 -0
  261. data/public/assets/jquery-ui/animated-overlay.gif +0 -0
  262. data/public/assets/{images → jquery-ui}/ui-bg_flat_0_aaaaaa_40x100-7d1197a52442bc56fcad60d0390f4b32.png +0 -0
  263. data/{app/assets/images/images → public/assets/jquery-ui}/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  264. data/public/assets/{images → jquery-ui}/ui-bg_flat_75_ffffff_40x100-3c4b974defa5e8bdaf8a603034c4435e.png +0 -0
  265. data/{app/assets/images/images → public/assets/jquery-ui}/ui-bg_flat_75_ffffff_40x100.png +0 -0
  266. data/public/assets/{images → jquery-ui}/ui-bg_glass_55_fbf9ee_1x400-38c2dea4d046fd3f56cc3996e2e6018b.png +0 -0
  267. data/{app/assets/images/images → public/assets/jquery-ui}/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  268. data/public/assets/{images → jquery-ui}/ui-bg_glass_65_ffffff_1x400-ddb7ee7527bff283054406c50e597e1e.png +0 -0
  269. data/{app/assets/images/images → public/assets/jquery-ui}/ui-bg_glass_65_ffffff_1x400.png +0 -0
  270. data/public/assets/{images → jquery-ui}/ui-bg_glass_75_dadada_1x400-d618461418b1ebc6b7996979f4c3dc92.png +0 -0
  271. data/{app/assets/images/images → public/assets/jquery-ui}/ui-bg_glass_75_dadada_1x400.png +0 -0
  272. data/public/assets/{images → jquery-ui}/ui-bg_glass_75_e6e6e6_1x400-48d8d545f708e5870a965ce9df8b0e38.png +0 -0
  273. data/{app/assets/images/images → public/assets/jquery-ui}/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  274. data/public/assets/{images → jquery-ui}/ui-bg_glass_95_fef1ec_1x400-f3526b8f82249928f0a6baf044204b15.png +0 -0
  275. data/{app/assets/images/images → public/assets/jquery-ui}/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  276. data/public/assets/{images → jquery-ui}/ui-bg_highlight-soft_75_cccccc_1x100-cec5c56503b8480f834c3fce35dae8df.png +0 -0
  277. data/{app/assets/images/images → public/assets/jquery-ui}/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  278. data/{app/assets/images/images/ui-icons_2e83ff_256x240.png → public/assets/jquery-ui/ui-icons_222222_256x240-b1eb177a51ea7925448318a26d988842.png} +0 -0
  279. data/{app/assets/images/images → public/assets/jquery-ui}/ui-icons_222222_256x240.png +0 -0
  280. data/{app/assets/images/images/ui-icons_454545_256x240.png → public/assets/jquery-ui/ui-icons_2e83ff_256x240-49c2da9cac2dc565265586f716491298.png} +0 -0
  281. data/public/assets/{images → jquery-ui}/ui-icons_2e83ff_256x240.png +0 -0
  282. data/{app/assets/images/images/ui-icons_888888_256x240.png → public/assets/jquery-ui/ui-icons_454545_256x240-68b2fe3268f7604fb0767a0372e2db85.png} +0 -0
  283. data/public/assets/{images → jquery-ui}/ui-icons_454545_256x240.png +0 -0
  284. data/public/assets/jquery-ui/ui-icons_888888_256x240-8040cfcc88792375b7788feb59189eef.png +0 -0
  285. data/public/assets/{images → jquery-ui}/ui-icons_888888_256x240.png +0 -0
  286. data/public/assets/jquery-ui/ui-icons_cd0a0a_256x240-d4a62216bf6f0cd0071149890763a5ff.png +0 -0
  287. data/{app/assets/images/images → public/assets/jquery-ui}/ui-icons_cd0a0a_256x240.png +0 -0
  288. data/public/assets/jquery.min-388372ef65cc311f6a3df4a6ceac8d22.map +1 -0
  289. data/public/assets/jquery.min.map +1 -1
  290. data/public/assets/manifest.yml +61 -31
  291. data/public/assets/smoothness/animated-overlay-602eee4c79a4796b02bb6442948c9e28.gif +0 -0
  292. data/public/assets/smoothness/animated-overlay.gif +0 -0
  293. data/public/assets/smoothness/ui-bg_flat_0_aaaaaa_40x100-31613497e63975a54520b7065b125dea.png +0 -0
  294. data/public/assets/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  295. data/public/assets/smoothness/ui-bg_flat_75_ffffff_40x100-f4b0e20e6f4c83b9f52cf062ed0f5284.png +0 -0
  296. data/public/assets/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  297. data/public/assets/smoothness/ui-bg_glass_55_fbf9ee_1x400-e3606d6e7ad67486ffdc83edca64d4c5.png +0 -0
  298. data/public/assets/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  299. data/public/assets/smoothness/ui-bg_glass_65_ffffff_1x400-dcec96932b90ff4cd4fea91284a6e9a3.png +0 -0
  300. data/public/assets/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  301. data/public/assets/smoothness/ui-bg_glass_75_dadada_1x400-a2310f533684ede4f1216d7299b5cd58.png +0 -0
  302. data/public/assets/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  303. data/public/assets/smoothness/ui-bg_glass_75_e6e6e6_1x400-d872f3a0a02dea609e4b0321520236d9.png +0 -0
  304. data/public/assets/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  305. data/public/assets/smoothness/ui-bg_glass_95_fef1ec_1x400-9ccaed8a65a3c285c16a73bdf03a69b3.png +0 -0
  306. data/public/assets/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  307. data/public/assets/smoothness/ui-bg_highlight-soft_75_cccccc_1x100-2ef1d227b5c0f33ce3c5e45afa953991.png +0 -0
  308. data/public/assets/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  309. data/public/assets/smoothness/ui-icons_222222_256x240-0675a996f0bdc78890f7b312c543b06a.png +0 -0
  310. data/public/assets/smoothness/ui-icons_222222_256x240.png +0 -0
  311. data/public/assets/smoothness/ui-icons_2e83ff_256x240-6aea736f81a417977efd77f183519a54.png +0 -0
  312. data/public/assets/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  313. data/public/assets/smoothness/ui-icons_454545_256x240-6f4361f45745fb0cd7b0cc2851dc1cc3.png +0 -0
  314. data/public/assets/smoothness/ui-icons_454545_256x240.png +0 -0
  315. data/public/assets/smoothness/ui-icons_888888_256x240-8f6818bd8631ba3489de718e26c7e6cf.png +0 -0
  316. data/public/assets/smoothness/ui-icons_888888_256x240.png +0 -0
  317. data/public/assets/smoothness/ui-icons_cd0a0a_256x240-2969ddba6d0a9c62603a4aa85a363cda.png +0 -0
  318. data/public/assets/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  319. data/spec/controllers/card_controller_spec.rb +77 -61
  320. data/spec/controllers/location_spec.rb +3 -2
  321. data/spec/lib/card/auth_spec.rb +17 -0
  322. data/spec/lib/card/chunk_spec.rb +0 -1
  323. data/spec/lib/card/codename_spec.rb +12 -18
  324. data/spec/lib/card/content_spec.rb +0 -1
  325. data/spec/lib/card/diff_spec.rb +0 -1
  326. data/spec/lib/card/flexmail_spec.rb +19 -20
  327. data/spec/lib/card/format_spec.rb +0 -169
  328. data/spec/lib/{wagn → card}/loader_spec.rb +1 -2
  329. data/spec/lib/card/name_spec.rb +3 -5
  330. data/spec/lib/card/query_spec.rb +5 -8
  331. data/spec/{models → lib}/card/reference_spec.rb +6 -7
  332. data/spec/lib/card/revision_spec.rb +30 -0
  333. data/spec/lib/card/set_pattern_spec.rb +0 -1
  334. data/spec/lib/card/set_spec.rb +9 -9
  335. data/spec/lib/wagn/cache_spec.rb +0 -1
  336. data/spec/mailers/mailer_spec.rb +4 -9
  337. data/spec/models/card/cardtype_spec.rb +12 -14
  338. data/spec/models/card/create_spec.rb +3 -4
  339. data/spec/models/card/trash_spec.rb +24 -23
  340. data/spec/models/card/type_transition_spec.rb +3 -4
  341. data/spec/models/card/validation_spec.rb +0 -1
  342. data/spec/models/card_spec.rb +10 -11
  343. data/spec/mods/core/chunks/literal_spec.rb +0 -1
  344. data/spec/mods/core/chunks/uri_spec.rb +0 -1
  345. data/spec/mods/core/formats/data_format_spec.rb +0 -1
  346. data/spec/mods/core/formats/html_format_spec.rb +17 -18
  347. data/spec/mods/core/formats/text_format_spec.rb +0 -1
  348. data/spec/mods/core/sets/all/active_card_spec.rb +1 -2
  349. data/spec/mods/core/sets/all/attribute_tracking_spec.rb +1 -2
  350. data/spec/mods/core/sets/all/collection_spec.rb +1 -5
  351. data/spec/mods/core/sets/all/content_spec.rb +0 -1
  352. data/spec/mods/core/sets/all/fetch_spec.rb +7 -10
  353. data/spec/mods/core/sets/all/initialize_spec.rb +0 -1
  354. data/spec/mods/core/sets/all/name_spec.rb +34 -3
  355. data/spec/mods/core/sets/all/pattern_spec.rb +6 -9
  356. data/spec/mods/core/sets/all/permissions_spec.rb +61 -62
  357. data/spec/mods/core/sets/all/phases_spec.rb +1 -2
  358. data/spec/mods/core/sets/all/references_spec.rb +0 -1
  359. data/spec/mods/core/sets/all/rules2_spec.rb +31 -31
  360. data/spec/mods/core/sets/all/rules_spec.rb +3 -4
  361. data/spec/mods/core/sets/all/states_spec.rb +1 -2
  362. data/spec/mods/core/sets/all/templating_spec.rb +11 -12
  363. data/spec/mods/core/sets/all/tracked_attributes_spec.rb +18 -8
  364. data/spec/mods/core/sets/all/trash_spec.rb +1 -2
  365. data/spec/mods/core/sets/all/type_spec.rb +6 -5
  366. data/spec/mods/core/sets/all/utils_spec.rb +1 -2
  367. data/spec/mods/standard/chunks/include_spec.rb +14 -15
  368. data/spec/mods/standard/chunks/link_spec.rb +0 -1
  369. data/spec/mods/standard/formats/css_format_spec.rb +1 -2
  370. data/spec/mods/standard/formats/csv_format_spec.rb +0 -1
  371. data/spec/mods/standard/formats/email_html_format_spec.rb +1 -2
  372. data/spec/mods/standard/formats/file_format_spec.rb +0 -1
  373. data/spec/mods/standard/formats/js_format_spec.rb +3 -0
  374. data/spec/mods/standard/formats/json_format_spec.rb +0 -1
  375. data/spec/mods/standard/formats/rss_format_spec.rb +1 -2
  376. data/spec/mods/standard/formats/xml_format_spec.rb +0 -1
  377. data/spec/mods/standard/lib/machine_input_spec.rb +48 -0
  378. data/spec/mods/standard/lib/machine_spec.rb +110 -0
  379. data/spec/mods/standard/sets/all/account_spec.rb +50 -30
  380. data/spec/mods/standard/sets/all/all_css_spec.rb +0 -1
  381. data/spec/mods/standard/sets/all/all_csv_spec.rb +0 -1
  382. data/spec/mods/standard/sets/all/attach_spec.rb +0 -1
  383. data/spec/mods/standard/sets/all/base_spec.rb +5 -6
  384. data/spec/mods/standard/sets/all/comment_spec.rb +5 -0
  385. data/spec/mods/standard/sets/all/email_html_spec.rb +2 -3
  386. data/spec/mods/standard/sets/all/event_viz_spec.rb +7 -0
  387. data/spec/mods/standard/sets/all/file_spec.rb +0 -1
  388. data/spec/mods/standard/sets/all/flexmail_spec.rb +0 -1
  389. data/spec/mods/standard/sets/all/follow_spec.rb +10 -11
  390. data/spec/mods/standard/sets/all/history_spec.rb +10 -0
  391. data/spec/mods/standard/sets/all/json_spec.rb +5 -6
  392. data/spec/mods/standard/sets/all/rich_html_spec.rb +16 -13
  393. data/spec/mods/standard/sets/all/rss_spec.rb +4 -2
  394. data/spec/mods/standard/sets/all/text_spec.rb +1 -2
  395. data/spec/mods/standard/sets/right/account_spec.rb +86 -2
  396. data/spec/mods/standard/sets/right/add_help_spec.rb +0 -1
  397. data/spec/mods/standard/sets/right/comment_spec.rb +37 -2
  398. data/spec/mods/standard/sets/right/create_spec.rb +6 -2
  399. data/spec/mods/standard/sets/right/default_spec.rb +0 -1
  400. data/spec/mods/standard/sets/right/delete_spec.rb +0 -1
  401. data/spec/mods/standard/sets/right/email_spec.rb +43 -15
  402. data/spec/mods/standard/sets/right/help_spec.rb +0 -1
  403. data/spec/mods/standard/sets/right/machine_output_spec.rb +20 -0
  404. data/spec/mods/standard/sets/right/password_spec.rb +45 -0
  405. data/spec/mods/standard/sets/right/read_spec.rb +0 -1
  406. data/spec/mods/standard/sets/right/salt_spec.rb +0 -1
  407. data/spec/mods/standard/sets/right/script_spec.rb +20 -0
  408. data/spec/mods/standard/sets/right/stats_spec.rb +13 -0
  409. data/spec/mods/standard/sets/right/status_spec.rb +5 -0
  410. data/spec/mods/standard/sets/right/structure_spec.rb +2 -3
  411. data/spec/mods/standard/sets/right/style_spec.rb +19 -2
  412. data/spec/mods/standard/sets/right/token_spec.rb +5 -0
  413. data/spec/mods/standard/sets/right/update_spec.rb +0 -1
  414. data/spec/mods/standard/sets/right/when_created_spec.rb +0 -1
  415. data/spec/mods/standard/sets/right/when_last_edited_spec.rb +0 -1
  416. data/spec/mods/standard/sets/rstar/rules_spec.rb +3 -4
  417. data/spec/mods/standard/sets/self/account_links_spec.rb +0 -1
  418. data/spec/mods/standard/sets/self/alerts_spec.rb +0 -1
  419. data/spec/mods/standard/sets/self/all_spec.rb +47 -0
  420. data/spec/mods/standard/sets/self/foot_spec.rb +0 -1
  421. data/spec/mods/standard/sets/self/head_spec.rb +0 -1
  422. data/spec/mods/standard/sets/self/navbox_spec.rb +0 -1
  423. data/spec/mods/standard/sets/self/now_spec.rb +0 -1
  424. data/spec/mods/standard/sets/self/recent_spec.rb +1 -2
  425. data/spec/mods/standard/sets/self/search_spec.rb +1 -2
  426. data/spec/mods/standard/sets/self/signin_spec.rb +73 -0
  427. data/spec/mods/standard/sets/self/stats_spec.rb +12 -0
  428. data/spec/mods/standard/sets/self/style_functional_spec.rb +1 -2
  429. data/spec/mods/standard/sets/self/style_jquery_ui_smoothness_spec.rb +1 -2
  430. data/spec/mods/standard/sets/self/style_standard_spec.rb +1 -2
  431. data/spec/mods/standard/sets/self/version_spec.rb +0 -1
  432. data/spec/mods/standard/sets/type/basic_spec.rb +1 -2
  433. data/spec/mods/standard/sets/type/cardtype_spec.rb +1 -2
  434. data/spec/mods/standard/sets/type/coffeescript_spec.rb +28 -0
  435. data/spec/mods/standard/sets/type/css_spec.rb +31 -4
  436. data/spec/mods/standard/sets/type/date_spec.rb +0 -1
  437. data/spec/mods/standard/sets/type/file_spec.rb +1 -2
  438. data/spec/mods/standard/sets/type/html_spec.rb +3 -4
  439. data/spec/mods/standard/sets/type/image_spec.rb +1 -2
  440. data/spec/mods/standard/sets/type/javascript_spec.rb +28 -0
  441. data/spec/mods/standard/sets/type/layout_type_spec.rb +0 -1
  442. data/spec/mods/standard/sets/type/number_spec.rb +0 -1
  443. data/spec/mods/standard/sets/type/phrase_spec.rb +0 -1
  444. data/spec/mods/standard/sets/type/plain_text_spec.rb +0 -1
  445. data/spec/mods/standard/sets/type/pointer_spec.rb +1 -2
  446. data/spec/mods/standard/sets/type/scss_spec.rb +47 -2
  447. data/spec/mods/standard/sets/type/search_type_spec.rb +14 -3
  448. data/spec/mods/standard/sets/type/set_spec.rb +0 -1
  449. data/spec/mods/standard/sets/type/setting_spec.rb +6 -2
  450. data/spec/mods/standard/sets/type/signup_spec.rb +93 -0
  451. data/spec/mods/standard/sets/type/skin_spec.rb +23 -2
  452. data/spec/mods/standard/sets/type/toggle_spec.rb +0 -1
  453. data/spec/mods/standard/sets/type/user_spec.rb +1 -2
  454. data/{lib/wagn → spec}/spec_helper.rb +59 -14
  455. data/test/1.10.0-data-dump.sql +327 -0
  456. data/test/fixtures/card_references.yml +777 -581
  457. data/test/fixtures/card_revisions.yml +2737 -2488
  458. data/test/fixtures/cards.yml +4037 -2184
  459. data/test/performance/card_create_test.rb +1 -1
  460. data/test/performance/render_test.rb +1 -1
  461. data/test/seed.rb +36 -63
  462. data/test/test_helper.rb +1 -1
  463. data/wagn.gemspec +9 -9
  464. metadata +257 -237
  465. data/app/assets/javascripts/html5shiv-printshiv.js +0 -499
  466. data/app/controllers/account_controller.rb +0 -61
  467. data/app/controllers/admin_controller.rb +0 -124
  468. data/app/controllers/stub_card_controller.rb +0 -9
  469. data/app/controllers/wagn_controller.rb +0 -165
  470. data/app/mailers/mailer.rb +0 -109
  471. data/app/models/.gitkeep +0 -0
  472. data/app/models/account.rb +0 -198
  473. data/app/models/user.rb +0 -123
  474. data/app/views/mailer/account_info.text.erb +0 -17
  475. data/config/initializers/backtrace_silencers.rb +0 -8
  476. data/config/initializers/schema_views.rb +0 -59
  477. data/config/initializers/wrap_parameters.rb +0 -15
  478. data/config/samples/database.yml.erb +0 -34
  479. data/db/bootstrap/users.yml +0 -29
  480. data/features/account_requests.feature +0 -22
  481. data/features/google_maps.feature +0 -31
  482. data/features/hello_wagn.feature +0 -31
  483. data/features/step_definitions/notification_steps.rb +0 -23
  484. data/features/templates.feature +0 -30
  485. data/features/virtual_cards.feature +0 -11
  486. data/lib/active_record/foreign_keys.rb +0 -80
  487. data/lib/card/constant.rb +0 -20
  488. data/lib/generators/set/templates/set_template.erb +0 -1
  489. data/lib/tasks/.gitkeep +0 -0
  490. data/lib/wagn/authenticated_system.rb +0 -38
  491. data/lib/wagn/env.rb +0 -42
  492. data/lib/wagn/loader.rb +0 -135
  493. data/mods/standard/formats/kml_format.rb +0 -6
  494. data/mods/standard/lib/google_maps_addon.rb +0 -30
  495. data/mods/standard/sets/all/admin.rb +0 -53
  496. data/mods/standard/sets/all/geocode.rb +0 -16
  497. data/mods/standard/sets/all/kml.rb +0 -49
  498. data/mods/standard/sets/type/account_request.rb +0 -74
  499. data/mods/standard/sets/type/ruby_and_script.rb +0 -31
  500. data/public/assets/application-058913c45d4f3262667bad443a03eb45.js +0 -144
  501. data/public/assets/application-058913c45d4f3262667bad443a03eb45.js.gz +0 -0
  502. data/public/assets/application.js +0 -144
  503. data/public/assets/application.js.gz +0 -0
  504. data/public/assets/html5shiv-printshiv-ad36fc7219f4aeaa275f9a7fe2383413.js +0 -1
  505. data/public/assets/html5shiv-printshiv-ad36fc7219f4aeaa275f9a7fe2383413.js.gz +0 -0
  506. data/public/assets/html5shiv-printshiv.js.gz +0 -0
  507. data/public/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  508. data/public/assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  509. data/public/assets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  510. data/public/assets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  511. data/public/assets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  512. data/public/assets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  513. data/public/assets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  514. data/public/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  515. data/public/assets/images/ui-icons_222222_256x240-66e635a2f90b9f90675d402617630b24.png +0 -0
  516. data/public/assets/images/ui-icons_222222_256x240.png +0 -0
  517. data/public/assets/images/ui-icons_2e83ff_256x240-2ea4c160a75c1992daa2eeac86255b99.png +0 -0
  518. data/public/assets/images/ui-icons_454545_256x240-5c7f12676bcead9cb2d4cb8f23f16e95.png +0 -0
  519. data/public/assets/images/ui-icons_888888_256x240-95fd3047e1f7325d995a21c729b04125.png +0 -0
  520. data/public/assets/images/ui-icons_cd0a0a_256x240-c0c1ec6a8bcf48fec40303e975a4dfa6.png +0 -0
  521. data/public/assets/images/ui-icons_cd0a0a_256x240.png +0 -0
  522. data/public/assets/jquery.min-8b58c0fbf303b938d8e749262f7e50dd.map +0 -1
  523. data/public/assets/tinymce-22b5a139d9ff7df7643afae9ce205508.js +0 -13
  524. data/public/assets/tinymce-22b5a139d9ff7df7643afae9ce205508.js.gz +0 -0
  525. data/public/assets/tinymce.js +0 -13
  526. data/public/assets/tinymce.js.gz +0 -0
  527. data/spec/controllers/account_controller_spec.rb +0 -42
  528. data/spec/controllers/admin_controller_spec.rb +0 -23
  529. data/spec/controllers/captcha_spec.rb +0 -103
  530. data/spec/controllers/sets_spec.rb +0 -97
  531. data/spec/controllers/wagn_controller_spec.rb +0 -5
  532. data/spec/mailers/account_spec.rb +0 -66
  533. data/spec/models/account_spec.rb +0 -19
  534. data/spec/models/card/comment_spec.rb +0 -38
  535. data/spec/models/card/revision_spec.rb +0 -58
  536. data/spec/models/user_spec.rb +0 -95
  537. data/spec/mods/standard/formats/kml_format_spec.rb +0 -6
  538. data/spec/mods/standard/sets/all/admin_spec.rb +0 -6
  539. data/spec/mods/standard/sets/all/geocode_spec.rb +0 -37
  540. data/spec/mods/standard/sets/all/kml_spec.rb +0 -6
  541. data/spec/mods/standard/sets/right/crypted_password_spec.rb +0 -6
  542. data/spec/mods/standard/sets/type/account_request_spec.rb +0 -160
  543. data/spec/mods/standard/sets/type/ruby_and_script_spec.rb +0 -6
  544. data/spec/spec.opts +0 -6
  545. data/test/fixtures/users.yml +0 -169
@@ -7,7 +7,7 @@ class CardCreateTest < ActionDispatch::PerformanceTest
7
7
  def initialize *args
8
8
  @name = 'CardA'
9
9
  super *args
10
- Account.as Card::WagnBotID
10
+ Card::Auth.as Card::WagnBotID
11
11
  end
12
12
 
13
13
  def test_card_create_simple
@@ -5,6 +5,6 @@ require 'rails/performance_test_help'
5
5
  class RenderTest < ActionDispatch::PerformanceTest
6
6
  Card
7
7
  def render_test
8
- Card::Format.new( Card.new( :name => "hi", :content => "{{+plus1}} {{+plus2}} {{+plus3}}" )).render :core
8
+ Card.new( :name => "hi", :content => "{{+plus1}} {{+plus2}} {{+plus3}}" .format).render :core
9
9
  end
10
10
  end
@@ -4,29 +4,27 @@ require 'timecop'
4
4
  require_dependency 'card'
5
5
 
6
6
  # following looks like legacy code to me - efm
7
- Dir["#{Rails.root}/app/models/card/*.rb"].sort.each do |cardtype|
8
- require_dependency cardtype
9
- end
7
+ #Dir["#{Rails.root}/app/models/card/*.rb"].sort.each do |cardtype|
8
+ # require_dependency cardtype
9
+ #end
10
10
 
11
11
  class SharedData
12
12
 
13
- def self.add_test_data
14
- #Account.current_id = Card::WagnBotID
15
- CodenameTable.load_bootcodes unless !Card::Codename[:wagn_bot].nil?
13
+ def self.account_args hash
14
+ { "+*account" => { "+*password" =>'joe_pass' }.merge( hash ) }
15
+ end
16
16
 
17
+ def self.add_test_data
18
+
17
19
  Wagn::Cache.reset_global
18
- Wagn::Env.reset
19
- Wagn::Env[:no_auto_approval] = true
20
- Account.as(Card::WagnBotID)
21
-
20
+ Card::Env.reset
21
+ Card::Auth.as_bot
22
22
 
23
- account_args = { :status=>'active', :password=>'joe_pass', :password_confirmation=>'joe_pass' }
23
+ Card.create! :name=>"Joe User", :type_code=>'user', :content=>"I'm number two", :subcards=>account_args( '+*email'=>'joe@user.com' )
24
+ Card.create! :name=>"Joe Admin", :type_code=>'user', :content=>"I'm number one", :subcards=>account_args( '+*email'=>'joe@admin.com' )
25
+ Card.create! :name=>"Joe Camel", :type_code=>'user', :content=>"Mr. Buttz", :subcards=>account_args( '+*email'=>'joe@camel.com' )
24
26
 
25
- Card.create! :name=>"Joe User", :type_code=>'user', :content=>"I'm number two", :account_args=>account_args.merge( :login=>"joe_user", :email=>'joe@user.com' )
26
- Card.create! :name=>"Joe Admin", :type_code=>'user', :content=>"I'm number one", :account_args=>account_args.merge( :login=>"joe_admin", :email=>'joe@admin.com' )
27
- Card.create! :name=>"Joe Camel", :type_code=>'user', :content=>"Mr. Buttz", :account_args=>account_args.merge( :login=>"joe_camel", :email=>'joe@camel.com' )
28
-
29
- Card['Joe Admin'].fetch(:trait=>:roles, :new=>{}).items = [ Card::AdminID ]
27
+ Card['Joe Admin'].fetch(:trait=>:roles, :new=>{}).items = [ Card::AdministratorID ]
30
28
 
31
29
  # generic, shared attribute card
32
30
  color = Card.create! :name=>"color"
@@ -34,38 +32,26 @@ class SharedData
34
32
 
35
33
  # data for testing users and account requests
36
34
 
37
- Card.create! :name=>"Ron Request", :type_id=>Card::AccountRequestID, :account_args=>{
38
- :email=>'ron@request.com', :password=>'ron_pass', :password_confirmation=>'ron_pass', :status=>'pending'
39
- }
40
-
41
35
  Card.create! :type_code=>'user', :name=>"No Count", :content=>"I got no account"
42
36
 
43
- # CREATE A CARD OF EACH TYPE
44
37
 
45
- Card.create! :name=>"Sample User", :type_code=>'user', :account_args=>{
46
- :login=>"sample_user", :email=>'sample@user.com', :status=>'active', :password=>'sample_pass', :password_confirmation=>'sample_pass'
47
- }
38
+ Card.create! :name=>"Sample User", :type_code=>'user', :subcards=>account_args('+*email'=>'sample@user.com', '+*password'=>'sample_pass')
39
+
40
+ # CREATE A CARD OF EACH TYPE
48
41
 
49
- request_card = Card.create! :type_code=>'account_request', :name=>"Sample AccountRequest" #, :email=>"invitation@request.com"
42
+ Card.create! :type_id=>Card::SignupID, :name=>"Sample Signup" #, :email=>"invitation@request.com"
43
+ #above still necessary? try commenting out above and 'Sign up' below
50
44
 
51
- Account.createable_types.each do |type|
52
- next if ['User', 'Account Request', 'Set', 'Number'].include? type
45
+ Card::Auth.createable_types.each do |type|
46
+ next if ['User', 'Sign up', 'Set', 'Number'].include? type
53
47
  Card.create! :type=>type, :name=>"Sample #{type}"
54
48
  end
55
49
 
56
50
  # data for role_test.rb
57
51
 
58
- Card.create! :name=>"u1", :type_code=>'user', :account_args=>{
59
- :login=>"u1", :email=>'u1@user.com', :status=>'active', :password=>'u1_pass', :password_confirmation=>'u1_pass'
60
- }
61
-
62
- Card.create! :name=>"u2", :type_code=>'user', :account_args=>{
63
- :login=>"u2", :email=>'u2@user.com', :status=>'active', :password=>'u2_pass', :password_confirmation=>'u2_pass'
64
- }
65
-
66
- Card.create! :name=>"u3", :type_code=>'user', :account_args=>{
67
- :login=>"u3", :email=>'u3@user.com', :status=>'active', :password=>'u3_pass', :password_confirmation=>'u3_pass'
68
- }
52
+ Card.create! :name=>"u1", :type_code=>'user', :subcards=>account_args('+*email'=>'u1@user.com', '+*password'=>'u1_pass')
53
+ Card.create! :name=>"u2", :type_code=>'user', :subcards=>account_args('+*email'=>'u2@user.com', '+*password'=>'u2_pass')
54
+ Card.create! :name=>"u3", :type_code=>'user', :subcards=>account_args('+*email'=>'u3@user.com', '+*password'=>'u3_pass')
69
55
 
70
56
  r1 = Card.create!( :type_code=>'role', :name=>'r1' )
71
57
  r2 = Card.create!( :type_code=>'role', :name=>'r2' )
@@ -74,7 +60,7 @@ class SharedData
74
60
 
75
61
  Card['u1'].fetch( :trait=>:roles, :new=>{} ).items = [ r1, r2, r3 ]
76
62
  Card['u2'].fetch( :trait=>:roles, :new=>{} ).items = [ r1, r2, r4 ]
77
- Card['u3'].fetch( :trait=>:roles, :new=>{} ).items = [ r1, r4, Card::AdminID ]
63
+ Card['u3'].fetch( :trait=>:roles, :new=>{} ).items = [ r1, r4, Card::AdministratorID ]
78
64
 
79
65
  c1 = Card.create! :name=>'c1'
80
66
  c2 = Card.create! :name=>'c2'
@@ -110,7 +96,7 @@ class SharedData
110
96
  Card.create! :type_code=>'cardtype_e', :name=>"type-e-card", :content=>"type_e_content"
111
97
  Card.create! :type_code=>'cardtype_f', :name=>"type-f-card", :content=>"type_f_content"
112
98
 
113
- #warn "current user #{User.session_user.inspect}. always ok? #{Account.always_ok?}"
99
+ #warn "current user #{User.session_user.inspect}. always ok? #{Card::Auth.always_ok?}"
114
100
  c = Card.create! :name=>'revtest', :content=>'first'
115
101
  c.update_attributes! :content=>'second'
116
102
  c.update_attributes! :content=>'third'
@@ -120,11 +106,11 @@ class SharedData
120
106
  Card.create! :type_id=>Card::CardtypeID, :name=> "UserForm"
121
107
  Card.create! :name=>"UserForm+*type+*structure", :content=>"{{+name}} {{+age}} {{+description}}"
122
108
 
123
- Account.current_id = Card['joe_user'].id
109
+ Card::Auth.current_id = Card['joe_user'].id
124
110
  Card.create!( :name=>"JoeLater", :content=>"test")
125
111
  Card.create!( :name=>"JoeNow", :content=>"test")
126
112
 
127
- Account.current_id = Card::WagnBotID
113
+ Card::Auth.current_id = Card::WagnBotID
128
114
  Card.create!(:name=>"AdminNow", :content=>"test")
129
115
 
130
116
  Card.create :name=>'Cardtype B+*type+*create', :type=>'Pointer', :content=>'[[r1]]'
@@ -139,13 +125,8 @@ class SharedData
139
125
  # fwiw Timecop is apparently limited by ruby Time object, which goes only to 2037 and back to 1900 or so.
140
126
  # whereas DateTime can represent all dates.
141
127
 
142
- Card.create! :name=>"John", :type_code=>'user', :account_args=>{
143
- :login=>"john", :email=>'john@user.com', :status=>'active', :password=>'john_pass', :password_confirmation=>'john_pass'
144
- }
145
-
146
- Card.create! :name=>"Sara", :type_code=>'user', :account_args=>{
147
- :login=>"sara",:email=>'sara@user.com', :status => 'active', :password=>'sara_pass', :password_confirmation=>'sara_pass'
148
- }
128
+ Card.create! :name=>"John", :type_code=>'user', :subcards=>account_args('+*email'=>'john@user.com', '+*password'=>'john_pass')
129
+ Card.create! :name=>"Sara", :type_code=>'user', :subcards=>account_args('+*email'=>'sara@user.com', '+*password'=>'sara_pass')
149
130
 
150
131
  Card.create! :name => "Sara Watching+*watchers", :content => "[[Sara]]"
151
132
  Card.create! :name => "All Eyes On Me+*watchers", :content => "[[Sara]]\n[[John]]"
@@ -158,8 +139,6 @@ class SharedData
158
139
  Card.create! :name => "Optic+*watchers", :content => "[[Sara]]"
159
140
  Card.create! :name => "Sunglasses", :type=>"Optic", :content=>"{{+tint}}"
160
141
  Card.create! :name => "Sunglasses+tint"
161
-
162
- # TODO: I would like to setup these card definitions with something like Cucumbers table feature.
163
142
  end
164
143
 
165
144
 
@@ -169,24 +148,18 @@ class SharedData
169
148
 
170
149
  ## --------- Fruit: creatable by anon but not readable ---
171
150
  f = Card.create! :type=>"Cardtype", :name=>"Fruit"
172
- Card.create :name=>'Fruit+*type+*create', :type=>'Pointer', :content=>'[[Anyone]]'
173
- Card.create :name=>'Fruit+*type+*read', :type=>'Pointer', :content=>'[[Administrator]]'
151
+ Card.create! :name=>'Fruit+*type+*create', :type=>'Pointer', :content=>'[[Anyone]]'
152
+ Card.create! :name=>'Fruit+*type+*read', :type=>'Pointer', :content=>'[[Administrator]]'
174
153
 
175
- # codenames for card_attribute tests
176
- Rails.logger.warn "add codenames status and write"
177
- Card.create! :name=>'*status', :codename=>:status
154
+ # codenames for card_accessor tests
178
155
  Card.create! :name=>'*write', :codename=>:write
179
- Rails.logger.warn "added codenames status and write"
180
156
 
181
157
  # -------- For toc testing: ------------
182
158
 
183
- Card.create :name=>"OnneHeading", :content => "<h1>This is one heading</h1>\r\n<p>and some text</p>"
184
- Card.create :name=>'TwwoHeading', :content => "<h1>One Heading</h1>\r\n<p>and some text</p>\r\n<h2>And a Subheading</h2>\r\n<p>and more text</p>"
185
- Card.create :name=>'ThreeHeading', :content =>"<h1>A Heading</h1>\r\n<p>and text</p>\r\n<h2>And Subhead</h2>\r\n<p>text</p>\r\n<h1>And another top Heading</h1>"
159
+ Card.create! :name=>"OnneHeading", :content => "<h1>This is one heading</h1>\r\n<p>and some text</p>"
160
+ Card.create! :name=>'TwwoHeading', :content => "<h1>One Heading</h1>\r\n<p>and some text</p>\r\n<h2>And a Subheading</h2>\r\n<p>and more text</p>"
161
+ Card.create! :name=>'ThreeHeading', :content =>"<h1>A Heading</h1>\r\n<p>and text</p>\r\n<h2>And Subhead</h2>\r\n<p>text</p>\r\n<h1>And another top Heading</h1>"
186
162
 
187
- c=Card.fetch 'Basic+*type+*table_of_contents', :new=>{}
188
- c.content='2'
189
- c.save
190
163
 
191
164
  end
192
165
  end
@@ -101,7 +101,7 @@ unless defined? TEST_ROOT
101
101
  next if cardtype=~ /Cardtype|UserForm|Set|Fruit|Optic|Book/
102
102
 
103
103
  title = url.gsub(/:id/,'').gsub(/\//,'_') + "_#{cardtype}"
104
- login = (current_id==Card::AnonID ? '' : "integration_login_as '#{user}'")
104
+ login = (current_id==Card::AnonymousID ? '' : "integration_login_as '#{user}'")
105
105
  test_def = %{
106
106
  def test_render_#{title}_#{user}_#{status}
107
107
  #{login}
@@ -28,19 +28,19 @@ Gem::Specification.new do |s|
28
28
  [ 'rails', '3.2.16' ],
29
29
  [ 'smartname', '0.2.3' ],
30
30
 
31
- [ 'htmlentities', '~> 4.3' ],
32
31
  [ 'uuid', '~> 2.3' ],
33
- [ 'macaddr', '1.6.1' ], #required by uuid, but 1.6.2 is busted
34
-
35
32
  [ 'paperclip', '~> 2.8' ],
33
+ [ 'htmlentities', '~> 4.3' ],
36
34
  [ 'rmagick', '~> 2.13' ],
37
- [ 'recaptcha', '~> 0.3' ],
38
-
39
- [ 'xmlscan', '~> 0.3' ],
40
- [ 'rubyzip', '~> 1.0' ], # only required in module. should be separated out.
41
- [ 'airbrake', '~> 3.1' ],
35
+ [ 'recaptcha', '~> 0.3' ],
42
36
  [ 'coderay', '~> 1.0' ],
43
- [ 'sass', '~> 3.2' ]
37
+ [ 'sass', '~> 3.2' ],
38
+ [ 'coffee-script','~> 2.2' ],
39
+ [ 'uglifier', '~> 2.5' ],
40
+
41
+ # should not depend!
42
+ [ 'airbrake', '~> 3.1' ]
43
+
44
44
 
45
45
  ].each do |dep|
46
46
  s.add_runtime_dependency *dep
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wagn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.13
4
+ version: 1.13.0.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-03-03 00:00:00.000000000 Z
13
+ date: 2014-06-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -40,20 +40,6 @@ dependencies:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
42
  version: 0.2.3
43
- - !ruby/object:Gem::Dependency
44
- name: htmlentities
45
- requirement: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - ~>
48
- - !ruby/object:Gem::Version
49
- version: '4.3'
50
- type: :runtime
51
- prerelease: false
52
- version_requirements: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: '4.3'
57
43
  - !ruby/object:Gem::Dependency
58
44
  name: uuid
59
45
  requirement: !ruby/object:Gem::Requirement
@@ -69,33 +55,33 @@ dependencies:
69
55
  - !ruby/object:Gem::Version
70
56
  version: '2.3'
71
57
  - !ruby/object:Gem::Dependency
72
- name: macaddr
58
+ name: paperclip
73
59
  requirement: !ruby/object:Gem::Requirement
74
60
  requirements:
75
- - - '='
61
+ - - ~>
76
62
  - !ruby/object:Gem::Version
77
- version: 1.6.1
63
+ version: '2.8'
78
64
  type: :runtime
79
65
  prerelease: false
80
66
  version_requirements: !ruby/object:Gem::Requirement
81
67
  requirements:
82
- - - '='
68
+ - - ~>
83
69
  - !ruby/object:Gem::Version
84
- version: 1.6.1
70
+ version: '2.8'
85
71
  - !ruby/object:Gem::Dependency
86
- name: paperclip
72
+ name: htmlentities
87
73
  requirement: !ruby/object:Gem::Requirement
88
74
  requirements:
89
75
  - - ~>
90
76
  - !ruby/object:Gem::Version
91
- version: '2.8'
77
+ version: '4.3'
92
78
  type: :runtime
93
79
  prerelease: false
94
80
  version_requirements: !ruby/object:Gem::Requirement
95
81
  requirements:
96
82
  - - ~>
97
83
  - !ruby/object:Gem::Version
98
- version: '2.8'
84
+ version: '4.3'
99
85
  - !ruby/object:Gem::Dependency
100
86
  name: rmagick
101
87
  requirement: !ruby/object:Gem::Requirement
@@ -125,75 +111,75 @@ dependencies:
125
111
  - !ruby/object:Gem::Version
126
112
  version: '0.3'
127
113
  - !ruby/object:Gem::Dependency
128
- name: xmlscan
114
+ name: coderay
129
115
  requirement: !ruby/object:Gem::Requirement
130
116
  requirements:
131
117
  - - ~>
132
118
  - !ruby/object:Gem::Version
133
- version: '0.3'
119
+ version: '1.0'
134
120
  type: :runtime
135
121
  prerelease: false
136
122
  version_requirements: !ruby/object:Gem::Requirement
137
123
  requirements:
138
124
  - - ~>
139
125
  - !ruby/object:Gem::Version
140
- version: '0.3'
126
+ version: '1.0'
141
127
  - !ruby/object:Gem::Dependency
142
- name: rubyzip
128
+ name: sass
143
129
  requirement: !ruby/object:Gem::Requirement
144
130
  requirements:
145
131
  - - ~>
146
132
  - !ruby/object:Gem::Version
147
- version: '1.0'
133
+ version: '3.2'
148
134
  type: :runtime
149
135
  prerelease: false
150
136
  version_requirements: !ruby/object:Gem::Requirement
151
137
  requirements:
152
138
  - - ~>
153
139
  - !ruby/object:Gem::Version
154
- version: '1.0'
140
+ version: '3.2'
155
141
  - !ruby/object:Gem::Dependency
156
- name: airbrake
142
+ name: coffee-script
157
143
  requirement: !ruby/object:Gem::Requirement
158
144
  requirements:
159
145
  - - ~>
160
146
  - !ruby/object:Gem::Version
161
- version: '3.1'
147
+ version: '2.2'
162
148
  type: :runtime
163
149
  prerelease: false
164
150
  version_requirements: !ruby/object:Gem::Requirement
165
151
  requirements:
166
152
  - - ~>
167
153
  - !ruby/object:Gem::Version
168
- version: '3.1'
154
+ version: '2.2'
169
155
  - !ruby/object:Gem::Dependency
170
- name: coderay
156
+ name: uglifier
171
157
  requirement: !ruby/object:Gem::Requirement
172
158
  requirements:
173
159
  - - ~>
174
160
  - !ruby/object:Gem::Version
175
- version: '1.0'
161
+ version: '2.5'
176
162
  type: :runtime
177
163
  prerelease: false
178
164
  version_requirements: !ruby/object:Gem::Requirement
179
165
  requirements:
180
166
  - - ~>
181
167
  - !ruby/object:Gem::Version
182
- version: '1.0'
168
+ version: '2.5'
183
169
  - !ruby/object:Gem::Dependency
184
- name: sass
170
+ name: airbrake
185
171
  requirement: !ruby/object:Gem::Requirement
186
172
  requirements:
187
173
  - - ~>
188
174
  - !ruby/object:Gem::Version
189
- version: '3.2'
175
+ version: '3.1'
190
176
  type: :runtime
191
177
  prerelease: false
192
178
  version_requirements: !ruby/object:Gem::Requirement
193
179
  requirements:
194
180
  - - ~>
195
181
  - !ruby/object:Gem::Version
196
- version: '3.2'
182
+ version: '3.1'
197
183
  description: a wiki approach to stuctured data, dynamic interaction, and web design
198
184
  email:
199
185
  - info@wagn.org
@@ -204,9 +190,12 @@ extra_rdoc_files: []
204
190
  files:
205
191
  - .gitignore
206
192
  - .rspec
193
+ - .simplecov
194
+ - .tm_properties
207
195
  - CONTRIBUTING.rdoc
208
196
  - GPL
209
197
  - Gemfile
198
+ - Guardfile
210
199
  - LICENSE
211
200
  - README.rdoc
212
201
  - Rakefile
@@ -214,42 +203,26 @@ files:
214
203
  - app/assets/images/body-bg.bmp
215
204
  - app/assets/images/body-bg.png
216
205
  - app/assets/images/external_link.png
217
- - app/assets/images/images/ui-bg_flat_0_aaaaaa_40x100.png
218
- - app/assets/images/images/ui-bg_flat_75_ffffff_40x100.png
219
- - app/assets/images/images/ui-bg_glass_55_fbf9ee_1x400.png
220
- - app/assets/images/images/ui-bg_glass_65_ffffff_1x400.png
221
- - app/assets/images/images/ui-bg_glass_75_dadada_1x400.png
222
- - app/assets/images/images/ui-bg_glass_75_e6e6e6_1x400.png
223
- - app/assets/images/images/ui-bg_glass_95_fef1ec_1x400.png
224
- - app/assets/images/images/ui-bg_highlight-soft_75_cccccc_1x100.png
225
- - app/assets/images/images/ui-icons_222222_256x240.png
226
- - app/assets/images/images/ui-icons_2e83ff_256x240.png
227
- - app/assets/images/images/ui-icons_454545_256x240.png
228
- - app/assets/images/images/ui-icons_888888_256x240.png
229
- - app/assets/images/images/ui-icons_cd0a0a_256x240.png
206
+ - app/assets/images/smoothness/animated-overlay.gif
207
+ - app/assets/images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png
208
+ - app/assets/images/smoothness/ui-bg_flat_75_ffffff_40x100.png
209
+ - app/assets/images/smoothness/ui-bg_glass_55_fbf9ee_1x400.png
210
+ - app/assets/images/smoothness/ui-bg_glass_65_ffffff_1x400.png
211
+ - app/assets/images/smoothness/ui-bg_glass_75_dadada_1x400.png
212
+ - app/assets/images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png
213
+ - app/assets/images/smoothness/ui-bg_glass_95_fef1ec_1x400.png
214
+ - app/assets/images/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png
215
+ - app/assets/images/smoothness/ui-icons_222222_256x240.png
216
+ - app/assets/images/smoothness/ui-icons_2e83ff_256x240.png
217
+ - app/assets/images/smoothness/ui-icons_454545_256x240.png
218
+ - app/assets/images/smoothness/ui-icons_888888_256x240.png
219
+ - app/assets/images/smoothness/ui-icons_cd0a0a_256x240.png
230
220
  - app/assets/javascripts/application.js
231
- - app/assets/javascripts/html5shiv-printshiv.js
232
221
  - app/assets/javascripts/jquery.autosize.js
233
222
  - app/assets/javascripts/jquery.fileupload.js
234
223
  - app/assets/javascripts/jquery.iframe-transport.js
235
224
  - app/assets/javascripts/jquery.ui.autocomplete.html.js
236
- - app/assets/javascripts/wagn.js.coffee
237
- - app/assets/javascripts/wagn_menu.js
238
- - app/assets/javascripts/wagn_mod.js.coffee
239
- - app/controllers/account_controller.rb
240
- - app/controllers/admin_controller.rb
241
225
  - app/controllers/card_controller.rb
242
- - app/controllers/stub_card_controller.rb
243
- - app/controllers/wagn_controller.rb
244
- - app/mailers/.gitkeep
245
- - app/mailers/mailer.rb
246
- - app/models/.gitkeep
247
- - app/models/account.rb
248
- - app/models/user.rb
249
- - app/views/mailer/account_info.text.erb
250
- - app/views/mailer/change_notice.html.erb
251
- - app/views/mailer/flexmail.html.erb
252
- - app/views/mailer/signup_alert.html.erb
253
226
  - bin/wagn
254
227
  - config.ru
255
228
  - config/application.rb
@@ -262,28 +235,22 @@ files:
262
235
  - config/environments/test.rb
263
236
  - config/initializers/01_init_ruby_extensions.rb
264
237
  - config/initializers/airbrake.rb
265
- - config/initializers/backtrace_silencers.rb
266
238
  - config/initializers/inflections.rb
267
239
  - config/initializers/mime_types.rb
268
240
  - config/initializers/notification.rb
269
241
  - config/initializers/recaptcha.rb
270
- - config/initializers/schema_views.rb
271
242
  - config/initializers/secret_token.rb
272
243
  - config/initializers/session_store.rb
273
244
  - config/initializers/uuid_state_file.rb
274
- - config/initializers/wrap_parameters.rb
275
- - config/locales/en.yml
276
245
  - config/routes.rb
277
246
  - config/samples/asset_htaccess
278
247
  - config/samples/cucumber.yml
279
- - config/samples/database.yml.erb
280
248
  - config/samples/robots.txt
281
249
  - config/version.txt
282
250
  - config/version_cards.txt
283
251
  - db/bootstrap/card_references.yml
284
252
  - db/bootstrap/card_revisions.yml
285
253
  - db/bootstrap/cards.yml
286
- - db/bootstrap/users.yml
287
254
  - db/migrate/20110511221913_require_earlier_migrations.rb
288
255
  - db/migrate/20120105203350_require_1_8_migrations.rb
289
256
  - db/migrate/20121111025347_require_1_10_migrations.rb
@@ -302,6 +269,9 @@ files:
302
269
  - db/migrate_cards/20130927191728_account_events.rb
303
270
  - db/migrate_cards/20131016172445_common_css_patch.rb
304
271
  - db/migrate_cards/20140110193325_reset_account_request_type.rb
272
+ - db/migrate_cards/20140307231621_user_data_to_cards.rb
273
+ - db/migrate_cards/20140317035504_account_requests_to_signups.rb
274
+ - db/migrate_cards/20140512155840_add_script_cards.rb
305
275
  - db/migrate_cards/data/1.11_help_text.json
306
276
  - db/migrate_cards/data/1.12_stylesheets/classic_cards.scss
307
277
  - db/migrate_cards/data/1.12_stylesheets/common.scss
@@ -309,41 +279,58 @@ files:
309
279
  - db/migrate_cards/data/1.12_stylesheets/traditional.scss
310
280
  - db/schema.rb
311
281
  - db/seeds.rb
312
- - features/account_requests.feature
313
282
  - features/autonaming.feature
314
- - features/content_settings.feature
315
283
  - features/flexmail.feature
316
- - features/google_maps.feature
317
- - features/hello_wagn.feature
318
284
  - features/layouts.feature
285
+ - features/navbox.feature
319
286
  - features/notifications.feature
320
- - features/pattern_settings.feature
321
287
  - features/pointer_inputs.feature
322
288
  - features/presetting_content.feature
289
+ - features/reset_password.feature
290
+ - features/rules.feature
291
+ - features/setup.feature
292
+ - features/signup.feature
323
293
  - features/step_definitions/email_steps.rb
324
- - features/step_definitions/notification_steps.rb
325
294
  - features/step_definitions/wagn_steps.rb
326
295
  - features/step_definitions/web_steps.rb
296
+ - features/structure.feature
327
297
  - features/support/env.rb
328
298
  - features/support/paths.rb
329
299
  - features/support/scopes.rb
330
- - features/support/wag_env.rb
300
+ - features/support/wagn_env.rb
331
301
  - features/table_of_contents.feature
332
- - features/templates.feature
333
302
  - features/update_includers.feature
334
- - features/virtual_cards.feature
335
303
  - features/watch.feature
336
- - lib/active_record/foreign_keys.rb
337
- - lib/active_record/quoting_and_matching.rb
338
304
  - lib/card.rb
305
+ - lib/card/active_record_ext.rb
306
+ - lib/card/auth.rb
339
307
  - lib/card/chunk.rb
340
308
  - lib/card/codename.rb
341
- - lib/card/constant.rb
342
309
  - lib/card/content.rb
310
+ - lib/card/core_ext.rb
343
311
  - lib/card/diff.rb
312
+ - lib/card/env.rb
344
313
  - lib/card/exceptions.rb
345
314
  - lib/card/flexmail.rb
346
315
  - lib/card/format.rb
316
+ - lib/card/generators/card_migration/USAGE
317
+ - lib/card/generators/card_migration/card_migration_generator.rb
318
+ - lib/card/generators/card_migration/templates/card_migration.erb
319
+ - lib/card/generators/format/USAGE
320
+ - lib/card/generators/format/format_generator.rb
321
+ - lib/card/generators/format/templates/format_spec_template.erb
322
+ - lib/card/generators/format/templates/format_template.erb
323
+ - lib/card/generators/set/USAGE
324
+ - lib/card/generators/set/set_generator.rb
325
+ - lib/card/generators/set/templates/set_spec_template.erb
326
+ - lib/card/generators/set/templates/set_template.erb
327
+ - lib/card/loader.rb
328
+ - lib/card/mailer.rb
329
+ - lib/card/mailer/change_notice.html.erb
330
+ - lib/card/mailer/confirmation_email.html.erb
331
+ - lib/card/mailer/flexmail.html.erb
332
+ - lib/card/mailer/password_reset.html.erb
333
+ - lib/card/mailer/signup_alert.html.erb
347
334
  - lib/card/name.rb
348
335
  - lib/card/query.rb
349
336
  - lib/card/query/card_spec.rb
@@ -354,59 +341,48 @@ files:
354
341
  - lib/card/revision.rb
355
342
  - lib/card/set.rb
356
343
  - lib/card/set_pattern.rb
357
- - lib/generators/card_migration/USAGE
358
- - lib/generators/card_migration/card_migration_generator.rb
359
- - lib/generators/card_migration/templates/card_migration.erb
360
- - lib/generators/format/USAGE
361
- - lib/generators/format/format_generator.rb
362
- - lib/generators/format/templates/format_spec_template.erb
363
- - lib/generators/format/templates/format_template.erb
364
- - lib/generators/set/USAGE
365
- - lib/generators/set/set_generator.rb
366
- - lib/generators/set/templates/set_spec_template.erb
367
- - lib/generators/set/templates/set_template.erb
368
- - lib/generators/wagn/USAGE
369
- - lib/generators/wagn/templates/Gemfile
370
- - lib/generators/wagn/templates/Rakefile
371
- - lib/generators/wagn/templates/config.ru
372
- - lib/generators/wagn/templates/config/application.rb
373
- - lib/generators/wagn/templates/config/boot.rb
374
- - lib/generators/wagn/templates/config/database.yml
375
- - lib/generators/wagn/templates/config/databases/frontbase.yml
376
- - lib/generators/wagn/templates/config/databases/ibm_db.yml
377
- - lib/generators/wagn/templates/config/databases/jdbc.yml
378
- - lib/generators/wagn/templates/config/databases/jdbcmysql.yml
379
- - lib/generators/wagn/templates/config/databases/jdbcpostgresql.yml
380
- - lib/generators/wagn/templates/config/databases/jdbcsqlite3.yml
381
- - lib/generators/wagn/templates/config/databases/mysql.yml
382
- - lib/generators/wagn/templates/config/databases/oracle.yml
383
- - lib/generators/wagn/templates/config/databases/postgresql.yml
384
- - lib/generators/wagn/templates/config/databases/sqlite3.yml
385
- - lib/generators/wagn/templates/config/environment.rb
386
- - lib/generators/wagn/templates/gitignore
387
- - lib/generators/wagn/templates/script/wagn
388
- - lib/generators/wagn/wagn_generator.rb
389
- - lib/tasks/.gitkeep
390
- - lib/tasks/cucumber.rake
391
- - lib/tasks/db.rake
392
- - lib/tasks/test.rake
393
- - lib/tasks/wagn.rake
394
344
  - lib/wagn.rb
395
345
  - lib/wagn/all.rb
396
346
  - lib/wagn/application.rb
397
- - lib/wagn/authenticated_system.rb
398
347
  - lib/wagn/cache.rb
399
348
  - lib/wagn/cli.rb
400
349
  - lib/wagn/commands.rb
401
350
  - lib/wagn/commands/application.rb
402
- - lib/wagn/env.rb
403
351
  - lib/wagn/exceptions.rb
404
- - lib/wagn/loader.rb
352
+ - lib/wagn/generators/wagn/USAGE
353
+ - lib/wagn/generators/wagn/templates/Gemfile
354
+ - lib/wagn/generators/wagn/templates/Rakefile
355
+ - lib/wagn/generators/wagn/templates/config.ru
356
+ - lib/wagn/generators/wagn/templates/config/application.rb
357
+ - lib/wagn/generators/wagn/templates/config/boot.rb
358
+ - lib/wagn/generators/wagn/templates/config/database.yml
359
+ - lib/wagn/generators/wagn/templates/config/databases/frontbase.yml
360
+ - lib/wagn/generators/wagn/templates/config/databases/ibm_db.yml
361
+ - lib/wagn/generators/wagn/templates/config/databases/jdbc.yml
362
+ - lib/wagn/generators/wagn/templates/config/databases/jdbcmysql.yml
363
+ - lib/wagn/generators/wagn/templates/config/databases/jdbcpostgresql.yml
364
+ - lib/wagn/generators/wagn/templates/config/databases/jdbcsqlite3.yml
365
+ - lib/wagn/generators/wagn/templates/config/databases/mysql.yml
366
+ - lib/wagn/generators/wagn/templates/config/databases/oracle.yml
367
+ - lib/wagn/generators/wagn/templates/config/databases/postgresql.yml
368
+ - lib/wagn/generators/wagn/templates/config/databases/sqlite3.yml
369
+ - lib/wagn/generators/wagn/templates/config/environment.rb
370
+ - lib/wagn/generators/wagn/templates/gitignore
371
+ - lib/wagn/generators/wagn/templates/public/files/htaccess
372
+ - lib/wagn/generators/wagn/templates/public/robots.txt
373
+ - lib/wagn/generators/wagn/templates/script/wagn
374
+ - lib/wagn/generators/wagn/wagn_generator.rb
405
375
  - lib/wagn/location.rb
406
376
  - lib/wagn/migration_helper.rb
407
377
  - lib/wagn/script_wagn_loader.rb
408
- - lib/wagn/spec_helper.rb
378
+ - lib/wagn/tasks/.gitkeep
379
+ - lib/wagn/tasks/cucumber.rake
380
+ - lib/wagn/tasks/db.rake
381
+ - lib/wagn/tasks/test.rake
382
+ - lib/wagn/tasks/wagn.rake
409
383
  - lib/wagn/version.rb
384
+ - mods/core/chunks/include.rb
385
+ - mods/core/chunks/link.rb
410
386
  - mods/core/chunks/literal.rb
411
387
  - mods/core/chunks/reference.rb
412
388
  - mods/core/chunks/uri.rb
@@ -444,8 +420,6 @@ files:
444
420
  - mods/core/sets/all/trash.rb
445
421
  - mods/core/sets/all/type.rb
446
422
  - mods/core/sets/all/utils.rb
447
- - mods/standard/chunks/include.rb
448
- - mods/standard/chunks/link.rb
449
423
  - mods/standard/files/103/icon-6566.ico
450
424
  - mods/standard/files/103/large-6566.ico
451
425
  - mods/standard/files/103/medium-6566.ico
@@ -467,28 +441,39 @@ files:
467
441
  - mods/standard/formats/file_format.rb
468
442
  - mods/standard/formats/js_format.rb
469
443
  - mods/standard/formats/json_format.rb
470
- - mods/standard/formats/kml_format.rb
471
444
  - mods/standard/formats/rss_format.rb
472
445
  - mods/standard/formats/xml_format.rb
473
- - mods/standard/lib/google_maps_addon.rb
446
+ - mods/standard/lib/card/machine.rb
447
+ - mods/standard/lib/card/machine_input.rb
448
+ - mods/standard/lib/javascript/html5shiv-printshiv.js
449
+ - mods/standard/lib/javascript/jquery-ui.js
450
+ - mods/standard/lib/javascript/jquery.autosize.js
451
+ - mods/standard/lib/javascript/jquery.fileupload.js
452
+ - mods/standard/lib/javascript/jquery.iframe-transport.js
453
+ - mods/standard/lib/javascript/jquery.js
454
+ - mods/standard/lib/javascript/jquery.ui.autocomplete.html.js
455
+ - mods/standard/lib/javascript/jquery_ujs.js
456
+ - mods/standard/lib/javascript/jquerymobile.js
457
+ - mods/standard/lib/javascript/tinymce.js
458
+ - mods/standard/lib/javascript/wagn.js.coffee
459
+ - mods/standard/lib/javascript/wagn_menu.js
460
+ - mods/standard/lib/javascript/wagn_mod.js.coffee
474
461
  - mods/standard/lib/stylesheets/functional.scss
475
462
  - mods/standard/lib/stylesheets/jquery-ui-smoothness.css
476
463
  - mods/standard/lib/stylesheets/standard.scss
477
464
  - mods/standard/sets/all/account.rb
478
- - mods/standard/sets/all/admin.rb
479
465
  - mods/standard/sets/all/all_css.rb
480
466
  - mods/standard/sets/all/all_csv.rb
481
467
  - mods/standard/sets/all/attach.rb
482
468
  - mods/standard/sets/all/base.rb
483
469
  - mods/standard/sets/all/comment.rb
484
470
  - mods/standard/sets/all/email_html.rb
471
+ - mods/standard/sets/all/event_viz.rb
485
472
  - mods/standard/sets/all/file.rb
486
473
  - mods/standard/sets/all/flexmail.rb
487
474
  - mods/standard/sets/all/follow.rb
488
- - mods/standard/sets/all/geocode.rb
489
475
  - mods/standard/sets/all/history.rb
490
476
  - mods/standard/sets/all/json.rb
491
- - mods/standard/sets/all/kml.rb
492
477
  - mods/standard/sets/all/rich_html.rb
493
478
  - mods/standard/sets/all/rss.rb
494
479
  - mods/standard/sets/all/text.rb
@@ -496,94 +481,76 @@ files:
496
481
  - mods/standard/sets/right/add_help.rb
497
482
  - mods/standard/sets/right/comment.rb
498
483
  - mods/standard/sets/right/create.rb
499
- - mods/standard/sets/right/crypted_password.rb
500
484
  - mods/standard/sets/right/default.rb
501
485
  - mods/standard/sets/right/delete.rb
502
486
  - mods/standard/sets/right/email.rb
503
487
  - mods/standard/sets/right/help.rb
488
+ - mods/standard/sets/right/machine_output.rb
489
+ - mods/standard/sets/right/password.rb
504
490
  - mods/standard/sets/right/read.rb
505
491
  - mods/standard/sets/right/salt.rb
492
+ - mods/standard/sets/right/script.rb
493
+ - mods/standard/sets/right/stats.rb
494
+ - mods/standard/sets/right/status.rb
506
495
  - mods/standard/sets/right/structure.rb
507
496
  - mods/standard/sets/right/style.rb
497
+ - mods/standard/sets/right/token.rb
508
498
  - mods/standard/sets/right/update.rb
509
499
  - mods/standard/sets/right/when_created.rb
510
500
  - mods/standard/sets/right/when_last_edited.rb
511
501
  - mods/standard/sets/rstar/rules.rb
512
502
  - mods/standard/sets/self/account_links.rb
513
503
  - mods/standard/sets/self/alerts.rb
504
+ - mods/standard/sets/self/all.rb
514
505
  - mods/standard/sets/self/foot.rb
515
506
  - mods/standard/sets/self/head.rb
516
507
  - mods/standard/sets/self/navbox.rb
517
508
  - mods/standard/sets/self/now.rb
518
509
  - mods/standard/sets/self/recent.rb
510
+ - mods/standard/sets/self/script_card_menu.rb
511
+ - mods/standard/sets/self/script_html5shiv_printshiv.rb
512
+ - mods/standard/sets/self/script_jquery.rb
513
+ - mods/standard/sets/self/script_jquery_helper.rb
514
+ - mods/standard/sets/self/script_slot.rb
515
+ - mods/standard/sets/self/script_tinymce.rb
519
516
  - mods/standard/sets/self/search.rb
517
+ - mods/standard/sets/self/signin.rb
518
+ - mods/standard/sets/self/stats.rb
520
519
  - mods/standard/sets/self/style_functional.rb
521
520
  - mods/standard/sets/self/style_jquery_ui_smoothness.rb
522
521
  - mods/standard/sets/self/style_standard.rb
523
522
  - mods/standard/sets/self/version.rb
524
- - mods/standard/sets/type/account_request.rb
525
523
  - mods/standard/sets/type/basic.rb
526
524
  - mods/standard/sets/type/cardtype.rb
525
+ - mods/standard/sets/type/coffee_script.rb
527
526
  - mods/standard/sets/type/css.rb
528
527
  - mods/standard/sets/type/date.rb
529
528
  - mods/standard/sets/type/file.rb
530
529
  - mods/standard/sets/type/html.rb
531
530
  - mods/standard/sets/type/image.rb
531
+ - mods/standard/sets/type/java_script.rb
532
532
  - mods/standard/sets/type/layout_type.rb
533
533
  - mods/standard/sets/type/number.rb
534
534
  - mods/standard/sets/type/phrase.rb
535
535
  - mods/standard/sets/type/plain_text.rb
536
536
  - mods/standard/sets/type/pointer.rb
537
- - mods/standard/sets/type/ruby_and_script.rb
538
537
  - mods/standard/sets/type/scss.rb
539
538
  - mods/standard/sets/type/search_type.rb
540
539
  - mods/standard/sets/type/set.rb
541
540
  - mods/standard/sets/type/setting.rb
541
+ - mods/standard/sets/type/signup.rb
542
542
  - mods/standard/sets/type/skin.rb
543
543
  - mods/standard/sets/type/toggle.rb
544
544
  - mods/standard/sets/type/user.rb
545
- - public/404.html
546
- - public/500.html
547
- - public/assets/application-058913c45d4f3262667bad443a03eb45.js
548
- - public/assets/application-058913c45d4f3262667bad443a03eb45.js.gz
549
- - public/assets/application.js
550
- - public/assets/application.js.gz
551
545
  - public/assets/body-bg-660b752b44b87594071f3d0851ac5360.png
552
546
  - public/assets/body-bg-d031f29b6ba7399a6862382c3552f44c.bmp
553
547
  - public/assets/body-bg.bmp
554
548
  - public/assets/body-bg.png
555
549
  - public/assets/external_link-b15ab5051b4ec6f32892ed80019405b5.png
556
550
  - public/assets/external_link.png
557
- - public/assets/html5shiv-printshiv-ad36fc7219f4aeaa275f9a7fe2383413.js
558
- - public/assets/html5shiv-printshiv-ad36fc7219f4aeaa275f9a7fe2383413.js.gz
559
- - public/assets/html5shiv-printshiv.js
560
- - public/assets/html5shiv-printshiv.js.gz
561
- - public/assets/images/ui-bg_flat_0_aaaaaa_40x100-7d1197a52442bc56fcad60d0390f4b32.png
562
- - public/assets/images/ui-bg_flat_0_aaaaaa_40x100.png
563
- - public/assets/images/ui-bg_flat_75_ffffff_40x100-3c4b974defa5e8bdaf8a603034c4435e.png
564
- - public/assets/images/ui-bg_flat_75_ffffff_40x100.png
565
- - public/assets/images/ui-bg_glass_55_fbf9ee_1x400-38c2dea4d046fd3f56cc3996e2e6018b.png
566
- - public/assets/images/ui-bg_glass_55_fbf9ee_1x400.png
567
- - public/assets/images/ui-bg_glass_65_ffffff_1x400-ddb7ee7527bff283054406c50e597e1e.png
568
- - public/assets/images/ui-bg_glass_65_ffffff_1x400.png
569
- - public/assets/images/ui-bg_glass_75_dadada_1x400-d618461418b1ebc6b7996979f4c3dc92.png
570
- - public/assets/images/ui-bg_glass_75_dadada_1x400.png
571
- - public/assets/images/ui-bg_glass_75_e6e6e6_1x400-48d8d545f708e5870a965ce9df8b0e38.png
572
- - public/assets/images/ui-bg_glass_75_e6e6e6_1x400.png
573
- - public/assets/images/ui-bg_glass_95_fef1ec_1x400-f3526b8f82249928f0a6baf044204b15.png
574
- - public/assets/images/ui-bg_glass_95_fef1ec_1x400.png
575
- - public/assets/images/ui-bg_highlight-soft_75_cccccc_1x100-cec5c56503b8480f834c3fce35dae8df.png
576
- - public/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
577
- - public/assets/images/ui-icons_222222_256x240-66e635a2f90b9f90675d402617630b24.png
578
- - public/assets/images/ui-icons_222222_256x240.png
579
- - public/assets/images/ui-icons_2e83ff_256x240-2ea4c160a75c1992daa2eeac86255b99.png
580
- - public/assets/images/ui-icons_2e83ff_256x240.png
581
- - public/assets/images/ui-icons_454545_256x240-5c7f12676bcead9cb2d4cb8f23f16e95.png
582
- - public/assets/images/ui-icons_454545_256x240.png
583
- - public/assets/images/ui-icons_888888_256x240-95fd3047e1f7325d995a21c729b04125.png
584
- - public/assets/images/ui-icons_888888_256x240.png
585
- - public/assets/images/ui-icons_cd0a0a_256x240-c0c1ec6a8bcf48fec40303e975a4dfa6.png
586
- - public/assets/images/ui-icons_cd0a0a_256x240.png
551
+ - public/assets/jasmine/404.html
552
+ - public/assets/jasmine/500.html
553
+ - public/assets/jasmine/card_form.html
587
554
  - public/assets/jquery-mobile/ajax-loader-d2b731d3e844ea99b7e7cbf7867f11e9.gif
588
555
  - public/assets/jquery-mobile/ajax-loader.gif
589
556
  - public/assets/jquery-mobile/icons-png/action-black-cbdf206f5fcd70925baa44543a4daa00.png
@@ -786,13 +753,65 @@ files:
786
753
  - public/assets/jquery-mobile/icons-png/video-black.png
787
754
  - public/assets/jquery-mobile/icons-png/video-white-80a2ae6a9b790e6ee05680fcdee8905a.png
788
755
  - public/assets/jquery-mobile/icons-png/video-white.png
789
- - public/assets/jquery.min-8b58c0fbf303b938d8e749262f7e50dd.map
756
+ - public/assets/jquery-ui/animated-overlay-602eee4c79a4796b02bb6442948c9e28.gif
757
+ - public/assets/jquery-ui/animated-overlay.gif
758
+ - public/assets/jquery-ui/ui-bg_flat_0_aaaaaa_40x100-7d1197a52442bc56fcad60d0390f4b32.png
759
+ - public/assets/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png
760
+ - public/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100-3c4b974defa5e8bdaf8a603034c4435e.png
761
+ - public/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100.png
762
+ - public/assets/jquery-ui/ui-bg_glass_55_fbf9ee_1x400-38c2dea4d046fd3f56cc3996e2e6018b.png
763
+ - public/assets/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png
764
+ - public/assets/jquery-ui/ui-bg_glass_65_ffffff_1x400-ddb7ee7527bff283054406c50e597e1e.png
765
+ - public/assets/jquery-ui/ui-bg_glass_65_ffffff_1x400.png
766
+ - public/assets/jquery-ui/ui-bg_glass_75_dadada_1x400-d618461418b1ebc6b7996979f4c3dc92.png
767
+ - public/assets/jquery-ui/ui-bg_glass_75_dadada_1x400.png
768
+ - public/assets/jquery-ui/ui-bg_glass_75_e6e6e6_1x400-48d8d545f708e5870a965ce9df8b0e38.png
769
+ - public/assets/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png
770
+ - public/assets/jquery-ui/ui-bg_glass_95_fef1ec_1x400-f3526b8f82249928f0a6baf044204b15.png
771
+ - public/assets/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png
772
+ - public/assets/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100-cec5c56503b8480f834c3fce35dae8df.png
773
+ - public/assets/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png
774
+ - public/assets/jquery-ui/ui-icons_222222_256x240-b1eb177a51ea7925448318a26d988842.png
775
+ - public/assets/jquery-ui/ui-icons_222222_256x240.png
776
+ - public/assets/jquery-ui/ui-icons_2e83ff_256x240-49c2da9cac2dc565265586f716491298.png
777
+ - public/assets/jquery-ui/ui-icons_2e83ff_256x240.png
778
+ - public/assets/jquery-ui/ui-icons_454545_256x240-68b2fe3268f7604fb0767a0372e2db85.png
779
+ - public/assets/jquery-ui/ui-icons_454545_256x240.png
780
+ - public/assets/jquery-ui/ui-icons_888888_256x240-8040cfcc88792375b7788feb59189eef.png
781
+ - public/assets/jquery-ui/ui-icons_888888_256x240.png
782
+ - public/assets/jquery-ui/ui-icons_cd0a0a_256x240-d4a62216bf6f0cd0071149890763a5ff.png
783
+ - public/assets/jquery-ui/ui-icons_cd0a0a_256x240.png
784
+ - public/assets/jquery.min-388372ef65cc311f6a3df4a6ceac8d22.map
790
785
  - public/assets/jquery.min.map
791
786
  - public/assets/manifest.yml
792
- - public/assets/tinymce-22b5a139d9ff7df7643afae9ce205508.js
793
- - public/assets/tinymce-22b5a139d9ff7df7643afae9ce205508.js.gz
794
- - public/assets/tinymce.js
795
- - public/assets/tinymce.js.gz
787
+ - public/assets/smoothness/animated-overlay-602eee4c79a4796b02bb6442948c9e28.gif
788
+ - public/assets/smoothness/animated-overlay.gif
789
+ - public/assets/smoothness/ui-bg_flat_0_aaaaaa_40x100-31613497e63975a54520b7065b125dea.png
790
+ - public/assets/smoothness/ui-bg_flat_0_aaaaaa_40x100.png
791
+ - public/assets/smoothness/ui-bg_flat_75_ffffff_40x100-f4b0e20e6f4c83b9f52cf062ed0f5284.png
792
+ - public/assets/smoothness/ui-bg_flat_75_ffffff_40x100.png
793
+ - public/assets/smoothness/ui-bg_glass_55_fbf9ee_1x400-e3606d6e7ad67486ffdc83edca64d4c5.png
794
+ - public/assets/smoothness/ui-bg_glass_55_fbf9ee_1x400.png
795
+ - public/assets/smoothness/ui-bg_glass_65_ffffff_1x400-dcec96932b90ff4cd4fea91284a6e9a3.png
796
+ - public/assets/smoothness/ui-bg_glass_65_ffffff_1x400.png
797
+ - public/assets/smoothness/ui-bg_glass_75_dadada_1x400-a2310f533684ede4f1216d7299b5cd58.png
798
+ - public/assets/smoothness/ui-bg_glass_75_dadada_1x400.png
799
+ - public/assets/smoothness/ui-bg_glass_75_e6e6e6_1x400-d872f3a0a02dea609e4b0321520236d9.png
800
+ - public/assets/smoothness/ui-bg_glass_75_e6e6e6_1x400.png
801
+ - public/assets/smoothness/ui-bg_glass_95_fef1ec_1x400-9ccaed8a65a3c285c16a73bdf03a69b3.png
802
+ - public/assets/smoothness/ui-bg_glass_95_fef1ec_1x400.png
803
+ - public/assets/smoothness/ui-bg_highlight-soft_75_cccccc_1x100-2ef1d227b5c0f33ce3c5e45afa953991.png
804
+ - public/assets/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png
805
+ - public/assets/smoothness/ui-icons_222222_256x240-0675a996f0bdc78890f7b312c543b06a.png
806
+ - public/assets/smoothness/ui-icons_222222_256x240.png
807
+ - public/assets/smoothness/ui-icons_2e83ff_256x240-6aea736f81a417977efd77f183519a54.png
808
+ - public/assets/smoothness/ui-icons_2e83ff_256x240.png
809
+ - public/assets/smoothness/ui-icons_454545_256x240-6f4361f45745fb0cd7b0cc2851dc1cc3.png
810
+ - public/assets/smoothness/ui-icons_454545_256x240.png
811
+ - public/assets/smoothness/ui-icons_888888_256x240-8f6818bd8631ba3489de718e26c7e6cf.png
812
+ - public/assets/smoothness/ui-icons_888888_256x240.png
813
+ - public/assets/smoothness/ui-icons_cd0a0a_256x240-2969ddba6d0a9c62603a4aa85a363cda.png
814
+ - public/assets/smoothness/ui-icons_cd0a0a_256x240.png
796
815
  - public/assets/tinymce/jquery.tinymce.js
797
816
  - public/assets/tinymce/langs/en.js
798
817
  - public/assets/tinymce/license.txt
@@ -1052,20 +1071,12 @@ files:
1052
1071
  - public/assets/tinymce/utils/form_utils.js
1053
1072
  - public/assets/tinymce/utils/mctabs.js
1054
1073
  - public/assets/tinymce/utils/validate.js
1055
- - public/favicon.ico
1056
- - public/jasmine/card_form.html
1057
- - public/robots.txt
1058
1074
  - script/autospec
1059
1075
  - script/rails
1060
1076
  - script/test_filter
1061
1077
  - script/wagn
1062
- - spec/controllers/account_controller_spec.rb
1063
- - spec/controllers/admin_controller_spec.rb
1064
- - spec/controllers/captcha_spec.rb
1065
1078
  - spec/controllers/card_controller_spec.rb
1066
1079
  - spec/controllers/location_spec.rb
1067
- - spec/controllers/sets_spec.rb
1068
- - spec/controllers/wagn_controller_spec.rb
1069
1080
  - spec/javascripts/helpers/.gitkeep
1070
1081
  - spec/javascripts/helpers/jasmine-config.js
1071
1082
  - spec/javascripts/helpers/jasmine-jquery-1.3.1.js
@@ -1073,31 +1084,28 @@ files:
1073
1084
  - spec/javascripts/support/jasmine_config.rb
1074
1085
  - spec/javascripts/support/jasmine_runner.rb
1075
1086
  - spec/javascripts/wagn_spec.coffee
1087
+ - spec/lib/card/auth_spec.rb
1076
1088
  - spec/lib/card/chunk_spec.rb
1077
1089
  - spec/lib/card/codename_spec.rb
1078
1090
  - spec/lib/card/content_spec.rb
1079
1091
  - spec/lib/card/diff_spec.rb
1080
1092
  - spec/lib/card/flexmail_spec.rb
1081
1093
  - spec/lib/card/format_spec.rb
1094
+ - spec/lib/card/loader_spec.rb
1082
1095
  - spec/lib/card/name_spec.rb
1083
1096
  - spec/lib/card/query_spec.rb
1097
+ - spec/lib/card/reference_spec.rb
1098
+ - spec/lib/card/revision_spec.rb
1084
1099
  - spec/lib/card/set_pattern_spec.rb
1085
1100
  - spec/lib/card/set_spec.rb
1086
1101
  - spec/lib/wagn/cache_spec.rb
1087
- - spec/lib/wagn/loader_spec.rb
1088
- - spec/mailers/account_spec.rb
1089
1102
  - spec/mailers/mailer_spec.rb
1090
- - spec/models/account_spec.rb
1091
1103
  - spec/models/card/cardtype_spec.rb
1092
- - spec/models/card/comment_spec.rb
1093
1104
  - spec/models/card/create_spec.rb
1094
- - spec/models/card/reference_spec.rb
1095
- - spec/models/card/revision_spec.rb
1096
1105
  - spec/models/card/trash_spec.rb
1097
1106
  - spec/models/card/type_transition_spec.rb
1098
1107
  - spec/models/card/validation_spec.rb
1099
1108
  - spec/models/card_spec.rb
1100
- - spec/models/user_spec.rb
1101
1109
  - spec/mods/core/chunks/literal_spec.rb
1102
1110
  - spec/mods/core/chunks/uri_spec.rb
1103
1111
  - spec/mods/core/formats/data_format_spec.rb
@@ -1128,23 +1136,25 @@ files:
1128
1136
  - spec/mods/standard/formats/csv_format_spec.rb
1129
1137
  - spec/mods/standard/formats/email_html_format_spec.rb
1130
1138
  - spec/mods/standard/formats/file_format_spec.rb
1139
+ - spec/mods/standard/formats/js_format_spec.rb
1131
1140
  - spec/mods/standard/formats/json_format_spec.rb
1132
- - spec/mods/standard/formats/kml_format_spec.rb
1133
1141
  - spec/mods/standard/formats/rss_format_spec.rb
1134
1142
  - spec/mods/standard/formats/xml_format_spec.rb
1143
+ - spec/mods/standard/lib/machine_input_spec.rb
1144
+ - spec/mods/standard/lib/machine_spec.rb
1135
1145
  - spec/mods/standard/sets/all/account_spec.rb
1136
- - spec/mods/standard/sets/all/admin_spec.rb
1137
1146
  - spec/mods/standard/sets/all/all_css_spec.rb
1138
1147
  - spec/mods/standard/sets/all/all_csv_spec.rb
1139
1148
  - spec/mods/standard/sets/all/attach_spec.rb
1140
1149
  - spec/mods/standard/sets/all/base_spec.rb
1150
+ - spec/mods/standard/sets/all/comment_spec.rb
1141
1151
  - spec/mods/standard/sets/all/email_html_spec.rb
1152
+ - spec/mods/standard/sets/all/event_viz_spec.rb
1142
1153
  - spec/mods/standard/sets/all/file_spec.rb
1143
1154
  - spec/mods/standard/sets/all/flexmail_spec.rb
1144
1155
  - spec/mods/standard/sets/all/follow_spec.rb
1145
- - spec/mods/standard/sets/all/geocode_spec.rb
1156
+ - spec/mods/standard/sets/all/history_spec.rb
1146
1157
  - spec/mods/standard/sets/all/json_spec.rb
1147
- - spec/mods/standard/sets/all/kml_spec.rb
1148
1158
  - spec/mods/standard/sets/all/rich_html_spec.rb
1149
1159
  - spec/mods/standard/sets/all/rss_spec.rb
1150
1160
  - spec/mods/standard/sets/all/text_spec.rb
@@ -1152,60 +1162,69 @@ files:
1152
1162
  - spec/mods/standard/sets/right/add_help_spec.rb
1153
1163
  - spec/mods/standard/sets/right/comment_spec.rb
1154
1164
  - spec/mods/standard/sets/right/create_spec.rb
1155
- - spec/mods/standard/sets/right/crypted_password_spec.rb
1156
1165
  - spec/mods/standard/sets/right/default_spec.rb
1157
1166
  - spec/mods/standard/sets/right/delete_spec.rb
1158
1167
  - spec/mods/standard/sets/right/email_spec.rb
1159
1168
  - spec/mods/standard/sets/right/help_spec.rb
1169
+ - spec/mods/standard/sets/right/machine_output_spec.rb
1170
+ - spec/mods/standard/sets/right/password_spec.rb
1160
1171
  - spec/mods/standard/sets/right/read_spec.rb
1161
1172
  - spec/mods/standard/sets/right/salt_spec.rb
1173
+ - spec/mods/standard/sets/right/script_spec.rb
1174
+ - spec/mods/standard/sets/right/stats_spec.rb
1175
+ - spec/mods/standard/sets/right/status_spec.rb
1162
1176
  - spec/mods/standard/sets/right/structure_spec.rb
1163
1177
  - spec/mods/standard/sets/right/style_spec.rb
1178
+ - spec/mods/standard/sets/right/token_spec.rb
1164
1179
  - spec/mods/standard/sets/right/update_spec.rb
1165
1180
  - spec/mods/standard/sets/right/when_created_spec.rb
1166
1181
  - spec/mods/standard/sets/right/when_last_edited_spec.rb
1167
1182
  - spec/mods/standard/sets/rstar/rules_spec.rb
1168
1183
  - spec/mods/standard/sets/self/account_links_spec.rb
1169
1184
  - spec/mods/standard/sets/self/alerts_spec.rb
1185
+ - spec/mods/standard/sets/self/all_spec.rb
1170
1186
  - spec/mods/standard/sets/self/foot_spec.rb
1171
1187
  - spec/mods/standard/sets/self/head_spec.rb
1172
1188
  - spec/mods/standard/sets/self/navbox_spec.rb
1173
1189
  - spec/mods/standard/sets/self/now_spec.rb
1174
1190
  - spec/mods/standard/sets/self/recent_spec.rb
1175
1191
  - spec/mods/standard/sets/self/search_spec.rb
1192
+ - spec/mods/standard/sets/self/signin_spec.rb
1193
+ - spec/mods/standard/sets/self/stats_spec.rb
1176
1194
  - spec/mods/standard/sets/self/style_functional_spec.rb
1177
1195
  - spec/mods/standard/sets/self/style_jquery_ui_smoothness_spec.rb
1178
1196
  - spec/mods/standard/sets/self/style_standard_spec.rb
1179
1197
  - spec/mods/standard/sets/self/version_spec.rb
1180
- - spec/mods/standard/sets/type/account_request_spec.rb
1181
1198
  - spec/mods/standard/sets/type/basic_spec.rb
1182
1199
  - spec/mods/standard/sets/type/cardtype_spec.rb
1200
+ - spec/mods/standard/sets/type/coffeescript_spec.rb
1183
1201
  - spec/mods/standard/sets/type/css_spec.rb
1184
1202
  - spec/mods/standard/sets/type/date_spec.rb
1185
1203
  - spec/mods/standard/sets/type/file_spec.rb
1186
1204
  - spec/mods/standard/sets/type/html_spec.rb
1187
1205
  - spec/mods/standard/sets/type/image_spec.rb
1206
+ - spec/mods/standard/sets/type/javascript_spec.rb
1188
1207
  - spec/mods/standard/sets/type/layout_type_spec.rb
1189
1208
  - spec/mods/standard/sets/type/number_spec.rb
1190
1209
  - spec/mods/standard/sets/type/phrase_spec.rb
1191
1210
  - spec/mods/standard/sets/type/plain_text_spec.rb
1192
1211
  - spec/mods/standard/sets/type/pointer_spec.rb
1193
- - spec/mods/standard/sets/type/ruby_and_script_spec.rb
1194
1212
  - spec/mods/standard/sets/type/scss_spec.rb
1195
1213
  - spec/mods/standard/sets/type/search_type_spec.rb
1196
1214
  - spec/mods/standard/sets/type/set_spec.rb
1197
1215
  - spec/mods/standard/sets/type/setting_spec.rb
1216
+ - spec/mods/standard/sets/type/signup_spec.rb
1198
1217
  - spec/mods/standard/sets/type/skin_spec.rb
1199
1218
  - spec/mods/standard/sets/type/toggle_spec.rb
1200
1219
  - spec/mods/standard/sets/type/user_spec.rb
1201
- - spec/spec.opts
1220
+ - spec/spec_helper.rb
1221
+ - test/1.10.0-data-dump.sql
1202
1222
  - test/fixtures/.gitkeep
1203
1223
  - test/fixtures/card_references.yml
1204
1224
  - test/fixtures/card_revisions.yml
1205
1225
  - test/fixtures/cards.yml
1206
1226
  - test/fixtures/mao2.jpg
1207
1227
  - test/fixtures/rails.gif
1208
- - test/fixtures/users.yml
1209
1228
  - test/performance/card_create_test.rb
1210
1229
  - test/performance/fetch_test.rb
1211
1230
  - test/performance/homepage_test.rb
@@ -1223,52 +1242,45 @@ require_paths:
1223
1242
  - lib
1224
1243
  required_ruby_version: !ruby/object:Gem::Requirement
1225
1244
  requirements:
1226
- - - ! '>='
1245
+ - - '>='
1227
1246
  - !ruby/object:Gem::Version
1228
1247
  version: 1.8.7
1229
1248
  required_rubygems_version: !ruby/object:Gem::Requirement
1230
1249
  requirements:
1231
- - - ! '>='
1250
+ - - '>'
1232
1251
  - !ruby/object:Gem::Version
1233
- version: '0'
1252
+ version: 1.3.1
1234
1253
  requirements: []
1235
1254
  rubyforge_project:
1236
- rubygems_version: 2.2.1
1255
+ rubygems_version: 2.0.3
1237
1256
  signing_key:
1238
1257
  specification_version: 4
1239
1258
  summary: structured wiki web platform
1240
1259
  test_files:
1241
- - features/account_requests.feature
1242
1260
  - features/autonaming.feature
1243
- - features/content_settings.feature
1244
1261
  - features/flexmail.feature
1245
- - features/google_maps.feature
1246
- - features/hello_wagn.feature
1247
1262
  - features/layouts.feature
1263
+ - features/navbox.feature
1248
1264
  - features/notifications.feature
1249
- - features/pattern_settings.feature
1250
1265
  - features/pointer_inputs.feature
1251
1266
  - features/presetting_content.feature
1267
+ - features/reset_password.feature
1268
+ - features/rules.feature
1269
+ - features/setup.feature
1270
+ - features/signup.feature
1252
1271
  - features/step_definitions/email_steps.rb
1253
- - features/step_definitions/notification_steps.rb
1254
1272
  - features/step_definitions/wagn_steps.rb
1255
1273
  - features/step_definitions/web_steps.rb
1274
+ - features/structure.feature
1256
1275
  - features/support/env.rb
1257
1276
  - features/support/paths.rb
1258
1277
  - features/support/scopes.rb
1259
- - features/support/wag_env.rb
1278
+ - features/support/wagn_env.rb
1260
1279
  - features/table_of_contents.feature
1261
- - features/templates.feature
1262
1280
  - features/update_includers.feature
1263
- - features/virtual_cards.feature
1264
1281
  - features/watch.feature
1265
- - spec/controllers/account_controller_spec.rb
1266
- - spec/controllers/admin_controller_spec.rb
1267
- - spec/controllers/captcha_spec.rb
1268
1282
  - spec/controllers/card_controller_spec.rb
1269
1283
  - spec/controllers/location_spec.rb
1270
- - spec/controllers/sets_spec.rb
1271
- - spec/controllers/wagn_controller_spec.rb
1272
1284
  - spec/javascripts/helpers/.gitkeep
1273
1285
  - spec/javascripts/helpers/jasmine-config.js
1274
1286
  - spec/javascripts/helpers/jasmine-jquery-1.3.1.js
@@ -1276,31 +1288,28 @@ test_files:
1276
1288
  - spec/javascripts/support/jasmine_config.rb
1277
1289
  - spec/javascripts/support/jasmine_runner.rb
1278
1290
  - spec/javascripts/wagn_spec.coffee
1291
+ - spec/lib/card/auth_spec.rb
1279
1292
  - spec/lib/card/chunk_spec.rb
1280
1293
  - spec/lib/card/codename_spec.rb
1281
1294
  - spec/lib/card/content_spec.rb
1282
1295
  - spec/lib/card/diff_spec.rb
1283
1296
  - spec/lib/card/flexmail_spec.rb
1284
1297
  - spec/lib/card/format_spec.rb
1298
+ - spec/lib/card/loader_spec.rb
1285
1299
  - spec/lib/card/name_spec.rb
1286
1300
  - spec/lib/card/query_spec.rb
1301
+ - spec/lib/card/reference_spec.rb
1302
+ - spec/lib/card/revision_spec.rb
1287
1303
  - spec/lib/card/set_pattern_spec.rb
1288
1304
  - spec/lib/card/set_spec.rb
1289
1305
  - spec/lib/wagn/cache_spec.rb
1290
- - spec/lib/wagn/loader_spec.rb
1291
- - spec/mailers/account_spec.rb
1292
1306
  - spec/mailers/mailer_spec.rb
1293
- - spec/models/account_spec.rb
1294
1307
  - spec/models/card/cardtype_spec.rb
1295
- - spec/models/card/comment_spec.rb
1296
1308
  - spec/models/card/create_spec.rb
1297
- - spec/models/card/reference_spec.rb
1298
- - spec/models/card/revision_spec.rb
1299
1309
  - spec/models/card/trash_spec.rb
1300
1310
  - spec/models/card/type_transition_spec.rb
1301
1311
  - spec/models/card/validation_spec.rb
1302
1312
  - spec/models/card_spec.rb
1303
- - spec/models/user_spec.rb
1304
1313
  - spec/mods/core/chunks/literal_spec.rb
1305
1314
  - spec/mods/core/chunks/uri_spec.rb
1306
1315
  - spec/mods/core/formats/data_format_spec.rb
@@ -1331,23 +1340,25 @@ test_files:
1331
1340
  - spec/mods/standard/formats/csv_format_spec.rb
1332
1341
  - spec/mods/standard/formats/email_html_format_spec.rb
1333
1342
  - spec/mods/standard/formats/file_format_spec.rb
1343
+ - spec/mods/standard/formats/js_format_spec.rb
1334
1344
  - spec/mods/standard/formats/json_format_spec.rb
1335
- - spec/mods/standard/formats/kml_format_spec.rb
1336
1345
  - spec/mods/standard/formats/rss_format_spec.rb
1337
1346
  - spec/mods/standard/formats/xml_format_spec.rb
1347
+ - spec/mods/standard/lib/machine_input_spec.rb
1348
+ - spec/mods/standard/lib/machine_spec.rb
1338
1349
  - spec/mods/standard/sets/all/account_spec.rb
1339
- - spec/mods/standard/sets/all/admin_spec.rb
1340
1350
  - spec/mods/standard/sets/all/all_css_spec.rb
1341
1351
  - spec/mods/standard/sets/all/all_csv_spec.rb
1342
1352
  - spec/mods/standard/sets/all/attach_spec.rb
1343
1353
  - spec/mods/standard/sets/all/base_spec.rb
1354
+ - spec/mods/standard/sets/all/comment_spec.rb
1344
1355
  - spec/mods/standard/sets/all/email_html_spec.rb
1356
+ - spec/mods/standard/sets/all/event_viz_spec.rb
1345
1357
  - spec/mods/standard/sets/all/file_spec.rb
1346
1358
  - spec/mods/standard/sets/all/flexmail_spec.rb
1347
1359
  - spec/mods/standard/sets/all/follow_spec.rb
1348
- - spec/mods/standard/sets/all/geocode_spec.rb
1360
+ - spec/mods/standard/sets/all/history_spec.rb
1349
1361
  - spec/mods/standard/sets/all/json_spec.rb
1350
- - spec/mods/standard/sets/all/kml_spec.rb
1351
1362
  - spec/mods/standard/sets/all/rich_html_spec.rb
1352
1363
  - spec/mods/standard/sets/all/rss_spec.rb
1353
1364
  - spec/mods/standard/sets/all/text_spec.rb
@@ -1355,60 +1366,69 @@ test_files:
1355
1366
  - spec/mods/standard/sets/right/add_help_spec.rb
1356
1367
  - spec/mods/standard/sets/right/comment_spec.rb
1357
1368
  - spec/mods/standard/sets/right/create_spec.rb
1358
- - spec/mods/standard/sets/right/crypted_password_spec.rb
1359
1369
  - spec/mods/standard/sets/right/default_spec.rb
1360
1370
  - spec/mods/standard/sets/right/delete_spec.rb
1361
1371
  - spec/mods/standard/sets/right/email_spec.rb
1362
1372
  - spec/mods/standard/sets/right/help_spec.rb
1373
+ - spec/mods/standard/sets/right/machine_output_spec.rb
1374
+ - spec/mods/standard/sets/right/password_spec.rb
1363
1375
  - spec/mods/standard/sets/right/read_spec.rb
1364
1376
  - spec/mods/standard/sets/right/salt_spec.rb
1377
+ - spec/mods/standard/sets/right/script_spec.rb
1378
+ - spec/mods/standard/sets/right/stats_spec.rb
1379
+ - spec/mods/standard/sets/right/status_spec.rb
1365
1380
  - spec/mods/standard/sets/right/structure_spec.rb
1366
1381
  - spec/mods/standard/sets/right/style_spec.rb
1382
+ - spec/mods/standard/sets/right/token_spec.rb
1367
1383
  - spec/mods/standard/sets/right/update_spec.rb
1368
1384
  - spec/mods/standard/sets/right/when_created_spec.rb
1369
1385
  - spec/mods/standard/sets/right/when_last_edited_spec.rb
1370
1386
  - spec/mods/standard/sets/rstar/rules_spec.rb
1371
1387
  - spec/mods/standard/sets/self/account_links_spec.rb
1372
1388
  - spec/mods/standard/sets/self/alerts_spec.rb
1389
+ - spec/mods/standard/sets/self/all_spec.rb
1373
1390
  - spec/mods/standard/sets/self/foot_spec.rb
1374
1391
  - spec/mods/standard/sets/self/head_spec.rb
1375
1392
  - spec/mods/standard/sets/self/navbox_spec.rb
1376
1393
  - spec/mods/standard/sets/self/now_spec.rb
1377
1394
  - spec/mods/standard/sets/self/recent_spec.rb
1378
1395
  - spec/mods/standard/sets/self/search_spec.rb
1396
+ - spec/mods/standard/sets/self/signin_spec.rb
1397
+ - spec/mods/standard/sets/self/stats_spec.rb
1379
1398
  - spec/mods/standard/sets/self/style_functional_spec.rb
1380
1399
  - spec/mods/standard/sets/self/style_jquery_ui_smoothness_spec.rb
1381
1400
  - spec/mods/standard/sets/self/style_standard_spec.rb
1382
1401
  - spec/mods/standard/sets/self/version_spec.rb
1383
- - spec/mods/standard/sets/type/account_request_spec.rb
1384
1402
  - spec/mods/standard/sets/type/basic_spec.rb
1385
1403
  - spec/mods/standard/sets/type/cardtype_spec.rb
1404
+ - spec/mods/standard/sets/type/coffeescript_spec.rb
1386
1405
  - spec/mods/standard/sets/type/css_spec.rb
1387
1406
  - spec/mods/standard/sets/type/date_spec.rb
1388
1407
  - spec/mods/standard/sets/type/file_spec.rb
1389
1408
  - spec/mods/standard/sets/type/html_spec.rb
1390
1409
  - spec/mods/standard/sets/type/image_spec.rb
1410
+ - spec/mods/standard/sets/type/javascript_spec.rb
1391
1411
  - spec/mods/standard/sets/type/layout_type_spec.rb
1392
1412
  - spec/mods/standard/sets/type/number_spec.rb
1393
1413
  - spec/mods/standard/sets/type/phrase_spec.rb
1394
1414
  - spec/mods/standard/sets/type/plain_text_spec.rb
1395
1415
  - spec/mods/standard/sets/type/pointer_spec.rb
1396
- - spec/mods/standard/sets/type/ruby_and_script_spec.rb
1397
1416
  - spec/mods/standard/sets/type/scss_spec.rb
1398
1417
  - spec/mods/standard/sets/type/search_type_spec.rb
1399
1418
  - spec/mods/standard/sets/type/set_spec.rb
1400
1419
  - spec/mods/standard/sets/type/setting_spec.rb
1420
+ - spec/mods/standard/sets/type/signup_spec.rb
1401
1421
  - spec/mods/standard/sets/type/skin_spec.rb
1402
1422
  - spec/mods/standard/sets/type/toggle_spec.rb
1403
1423
  - spec/mods/standard/sets/type/user_spec.rb
1404
- - spec/spec.opts
1424
+ - spec/spec_helper.rb
1425
+ - test/1.10.0-data-dump.sql
1405
1426
  - test/fixtures/.gitkeep
1406
1427
  - test/fixtures/card_references.yml
1407
1428
  - test/fixtures/card_revisions.yml
1408
1429
  - test/fixtures/cards.yml
1409
1430
  - test/fixtures/mao2.jpg
1410
1431
  - test/fixtures/rails.gif
1411
- - test/fixtures/users.yml
1412
1432
  - test/performance/card_create_test.rb
1413
1433
  - test/performance/fetch_test.rb
1414
1434
  - test/performance/homepage_test.rb