Skip to content
Browse files

reorganizing branch rails3.0.3

  • Loading branch information...
1 parent 74328b1 commit 6c6bdbd6989ec6afae1fa3856d6b1de3a12c8408 @battlehorse committed May 13, 2011
Showing with 0 additions and 13,190 deletions.
  1. 0 {branches/rails3.0.3 → }/Gemfile
  2. 0 {branches/rails3.0.3 → }/Gemfile.lock
  3. 0 {branches/rails3.0.3 → }/README
  4. 0 {branches/rails3.0.3 → }/Rakefile
  5. 0 {branches/rails3.0.3 → }/app/controllers/application_controller.rb
  6. 0 {branches/rails3.0.3 → }/app/controllers/attach_controller.rb
  7. 0 {branches/rails3.0.3 → }/app/controllers/comment_controller.rb
  8. 0 {branches/rails3.0.3 → }/app/controllers/edit_controller.rb
  9. 0 {branches/rails3.0.3 → }/app/controllers/list_controller.rb
  10. 0 {branches/rails3.0.3 → }/app/controllers/login_controller.rb
  11. 0 {branches/rails3.0.3 → }/app/controllers/page_controller.rb
  12. 0 {branches/rails3.0.3 → }/app/controllers/sitemap_controller.rb
  13. 0 {branches/rails3.0.3 → }/app/controllers/social_controller.rb
  14. 0 {tags/borg2.5 → }/app/controllers/tags_controller.rb
  15. 0 {branches/rails3.0.3 → }/app/helpers/application_helper.rb
  16. 0 {branches/rails3.0.3 → }/app/helpers/breadcrumbs_helper.rb
  17. 0 {branches/rails3.0.3 → }/app/helpers/edit_helper.rb
  18. 0 {branches/rails3.0.3 → }/app/helpers/gravatar_helper.rb
  19. 0 {branches/rails3.0.3 → }/app/helpers/red_cloth_helper.rb
  20. 0 {tags/borg2.5 → }/app/helpers/tags_helper.rb
  21. 0 {branches/rails3.0.3 → }/app/models/attachment.rb
  22. 0 {branches/rails3.0.3 → }/app/models/captcha.rb
  23. 0 {branches/rails3.0.3 → }/app/models/comment.rb
  24. 0 {branches/rails3.0.3 → }/app/models/page.rb
  25. 0 {branches/rails3.0.3 → }/app/models/resource.rb
  26. 0 {tags/borg2.5 → }/app/models/user.rb
  27. 0 {branches/rails3.0.3 → }/app/views/attach/show.html.erb
  28. 0 {branches/rails3.0.3 → }/app/views/comment/_form.html.erb
  29. 0 {tags/borg2.5 → }/app/views/comment/new.rjs
  30. 0 {tags/borg2.5 → }/app/views/comment/save.rjs
  31. 0 {branches/rails3.0.3 → }/app/views/edit/livepreview.html.erb
  32. 0 {branches/rails3.0.3 → }/app/views/edit/new.html.erb
  33. 0 {branches/rails3.0.3 → }/app/views/edit/read.html.erb
  34. 0 {branches/rails3.0.3 → }/app/views/errors/404.html.erb
  35. 0 {branches/rails3.0.3 → }/app/views/layouts/application.html.erb
  36. 0 {branches/rails3.0.3 → }/app/views/layouts/mobile.html.erb
  37. 0 {tags/borg2.5 → }/app/views/list/comment.rss.builder
  38. 0 {branches/rails3.0.3 → }/app/views/list/list.html.erb
  39. 0 {branches/rails3.0.3 → }/app/views/list/list.rss.builder
  40. 0 {branches/rails3.0.3 → }/app/views/login/index.html.erb
  41. 0 {branches/rails3.0.3 → }/app/views/login/logout.rjs
  42. 0 {tags/borg2.5 → }/app/views/page/_comments.html.erb
  43. 0 {branches/rails3.0.3 → }/app/views/page/_tags.html.erb
  44. 0 {branches/rails3.0.3 → }/app/views/page/view.html.erb
  45. 0 {branches/rails3.0.3 → }/app/views/shared/_breadcrumbs.html.erb
  46. 0 {tags/borg2.5 → }/app/views/shared/_comment.html.erb
  47. 0 {branches/rails3.0.3 → }/app/views/shared/_content.html.erb
  48. 0 {branches/rails3.0.3 → }/app/views/shared/_login.html.erb
  49. 0 {branches/rails3.0.3 → }/app/views/shared/_meta.html.erb
  50. 0 {branches/rails3.0.3 → }/app/views/shared/_newcomment.html.erb
  51. 0 {branches/rails3.0.3 → }/app/views/shared/_nothing.html.erb
  52. 0 {branches/rails3.0.3 → }/app/views/shared/_onloadjavascript.html.erb
  53. 0 {branches/rails3.0.3 → }/app/views/shared/_summary.html.erb
  54. 0 {branches/rails3.0.3 → }/app/views/shared/_urchin.html.erb
  55. 0 {branches/rails3.0.3 → }/app/views/shared/layout/_footer.html.erb
  56. 0 {branches/rails3.0.3 → }/app/views/shared/layout/_head.html.erb
  57. 0 {branches/rails3.0.3 → }/app/views/shared/layout/_logo.html.erb
  58. 0 {branches/rails3.0.3 → }/app/views/shared/layout/_messagebar.html.erb
  59. 0 {branches/rails3.0.3 → }/app/views/shared/layout/_search.html.erb
  60. 0 {branches/rails3.0.3 → }/app/views/shared/layout/_siteactions.html.erb
  61. 0 {branches/rails3.0.3 → }/app/views/sitemap/robots.erb
  62. 0 {branches/rails3.0.3 → }/app/views/sitemap/sitemap.builder
  63. 0 {branches/rails3.0.3 → }/app/views/sitemap/view.html.erb
  64. 0 {branches/rails3.0.3 → }/app/views/social/_buttons.html.erb
  65. 0 {branches/rails3.0.3 → }/app/views/social/retweet.js.erb
  66. 0 {branches/rails3.0.3 → }/app/views/tags/index.html.erb
  67. 0 {branches/rails3.0.3 → }/app/views/tags/show.html.erb
  68. +0 −256 branches/rails2.1.2/README
  69. +0 −10 branches/rails2.1.2/Rakefile
  70. +0 −34 branches/rails2.1.2/app/controllers/application.rb
  71. +0 −31 branches/rails2.1.2/app/controllers/comment_controller.rb
  72. +0 −57 branches/rails2.1.2/app/controllers/edit_controller.rb
  73. +0 −60 branches/rails2.1.2/app/controllers/list_controller.rb
  74. +0 −50 branches/rails2.1.2/app/controllers/login_controller.rb
  75. +0 −8 branches/rails2.1.2/app/controllers/page_controller.rb
  76. +0 −60 branches/rails2.1.2/app/controllers/sitemap_controller.rb
  77. +0 −29 branches/rails2.1.2/app/controllers/tags_controller.rb
  78. +0 −37 branches/rails2.1.2/app/helpers/application_helper.rb
  79. +0 −54 branches/rails2.1.2/app/helpers/breadcrumbs_helper.rb
  80. +0 −13 branches/rails2.1.2/app/helpers/edit_helper.rb
  81. +0 −12 branches/rails2.1.2/app/helpers/gravatar_helper.rb
  82. +0 −34 branches/rails2.1.2/app/helpers/red_cloth_helper.rb
  83. +0 −27 branches/rails2.1.2/app/helpers/tags_helper.rb
  84. +0 −36 branches/rails2.1.2/app/models/captcha.rb
  85. +0 −72 branches/rails2.1.2/app/models/comment.rb
  86. +0 −26 branches/rails2.1.2/app/models/errors.rb
  87. +0 −155 branches/rails2.1.2/app/models/page.rb
  88. +0 −51 branches/rails2.1.2/app/models/resource.rb
  89. +0 −16 branches/rails2.1.2/app/models/user.rb
  90. +0 −21 branches/rails2.1.2/app/views/comment/_form.html.erb
  91. +0 −1 branches/rails2.1.2/app/views/comment/new.rjs
  92. +0 −7 branches/rails2.1.2/app/views/comment/save.rjs
  93. +0 −83 branches/rails2.1.2/app/views/edit/read.html.erb
  94. +0 −104 branches/rails2.1.2/app/views/layouts/application.html.erb
  95. +0 −18 branches/rails2.1.2/app/views/list/comment.rss.builder
  96. +0 −10 branches/rails2.1.2/app/views/list/list.html.erb
  97. +0 −19 branches/rails2.1.2/app/views/list/list.rss.builder
  98. +0 −17 branches/rails2.1.2/app/views/login/index.html.erb
  99. +0 −10 branches/rails2.1.2/app/views/page/_comments.html.erb
  100. +0 −7 branches/rails2.1.2/app/views/page/_tags.html.erb
  101. +0 −19 branches/rails2.1.2/app/views/page/view.html.erb
  102. +0 −21 branches/rails2.1.2/app/views/shared/_comment.html.erb
  103. +0 −1 branches/rails2.1.2/app/views/shared/_content.html.erb
  104. +0 −2 branches/rails2.1.2/app/views/shared/_entry.html.erb
  105. +0 −10 branches/rails2.1.2/app/views/shared/_login.html.erb
  106. +0 −9 branches/rails2.1.2/app/views/shared/_meta.html.erb
  107. +0 −2 branches/rails2.1.2/app/views/shared/_newcomment.html.erb
  108. +0 −5 branches/rails2.1.2/app/views/shared/_nothing.html.erb
  109. +0 −12 branches/rails2.1.2/app/views/shared/_translate.html.erb
  110. +0 −8 branches/rails2.1.2/app/views/shared/_urchin.html.erb
  111. +0 −5 branches/rails2.1.2/app/views/shared/_youarehere.html.erb
  112. +0 −29 branches/rails2.1.2/app/views/sitemap/view.html.erb
  113. +0 −12 branches/rails2.1.2/app/views/tags/index.html.erb
  114. +0 −19 branches/rails2.1.2/app/views/tags/show.html.erb
  115. +0 −109 branches/rails2.1.2/config/boot.rb
  116. +0 −19 branches/rails2.1.2/config/database.yml
  117. +0 −65 branches/rails2.1.2/config/environment.rb
  118. +0 −35 branches/rails2.1.2/config/environments/borg_development.rb
  119. +0 −17 branches/rails2.1.2/config/environments/development.rb
  120. +0 −22 branches/rails2.1.2/config/environments/production.rb
  121. +0 −22 branches/rails2.1.2/config/environments/test.rb
  122. +0 −10 branches/rails2.1.2/config/initializers/inflections.rb
  123. +0 −5 branches/rails2.1.2/config/initializers/mime_types.rb
  124. +0 −15 branches/rails2.1.2/config/initializers/new_rails_defaults.rb
  125. +0 −76 branches/rails2.1.2/config/routes.rb
  126. +0 −2 branches/rails2.1.2/doc/README_FOR_APP
  127. +0 −59 branches/rails2.1.2/lib/borg/filesystem.rb
  128. +0 −53 branches/rails2.1.2/lib/borg/finder.rb
  129. +0 −32 branches/rails2.1.2/lib/borg/lister.rb
  130. +0 −38 branches/rails2.1.2/lib/borg/util.rb
  131. +0 −30 branches/rails2.1.2/public/404.html
  132. +0 −30 branches/rails2.1.2/public/422.html
  133. +0 −30 branches/rails2.1.2/public/500.html
  134. +0 −10 branches/rails2.1.2/public/dispatch.cgi
  135. +0 −24 branches/rails2.1.2/public/dispatch.fcgi
  136. +0 −10 branches/rails2.1.2/public/dispatch.rb
  137. BIN branches/rails2.1.2/public/favicon.ico
  138. BIN branches/rails2.1.2/public/images/CoolWater/box.jpg
  139. BIN branches/rails2.1.2/public/images/CoolWater/bullet.gif
  140. BIN branches/rails2.1.2/public/images/CoolWater/button-bg.jpg
  141. BIN branches/rails2.1.2/public/images/CoolWater/content.jpg
  142. BIN branches/rails2.1.2/public/images/CoolWater/footer.jpg
  143. BIN branches/rails2.1.2/public/images/CoolWater/header.jpg
  144. BIN branches/rails2.1.2/public/images/CoolWater/menu.jpg
  145. BIN branches/rails2.1.2/public/images/CoolWater/quote.jpg
  146. BIN branches/rails2.1.2/public/images/CoolWater/sep.jpg
  147. BIN branches/rails2.1.2/public/images/borg/arrow.png
  148. BIN branches/rails2.1.2/public/images/borg/arrow_grey.png
  149. BIN branches/rails2.1.2/public/images/borg/bg-diagonals-dark.png
  150. BIN branches/rails2.1.2/public/images/borg/bg-diagonals-light.png
  151. BIN branches/rails2.1.2/public/images/borg/comment.png
  152. BIN branches/rails2.1.2/public/images/borg/edit.png
  153. BIN branches/rails2.1.2/public/images/borg/edit_add.png
  154. BIN branches/rails2.1.2/public/images/borg/edit_remove.png
  155. BIN branches/rails2.1.2/public/images/borg/emptypixel.gif
  156. BIN branches/rails2.1.2/public/images/borg/feed.png
  157. BIN branches/rails2.1.2/public/images/borg/header_background.png
  158. BIN branches/rails2.1.2/public/images/borg/header_background.psd
  159. BIN branches/rails2.1.2/public/images/borg/header_background_dark.png
  160. BIN branches/rails2.1.2/public/images/borg/header_background_nohighlight.png
  161. BIN branches/rails2.1.2/public/images/borg/languages.png
  162. BIN branches/rails2.1.2/public/images/borg/logo.png
  163. BIN branches/rails2.1.2/public/images/borg/openid.png
  164. BIN branches/rails2.1.2/public/images/borg/openid2.png
  165. BIN branches/rails2.1.2/public/images/borg/openidnet_logo.gif
  166. BIN branches/rails2.1.2/public/images/borg/readmore.png
  167. BIN branches/rails2.1.2/public/images/borg/tags.png
  168. BIN branches/rails2.1.2/public/images/borg/warning.png
  169. BIN branches/rails2.1.2/public/images/borg/welcome.png
  170. BIN branches/rails2.1.2/public/images/borg/youarehere.png
  171. +0 −13 branches/rails2.1.2/public/javascripts/application.js
  172. +0 −963 branches/rails2.1.2/public/javascripts/controls.js
  173. +0 −972 branches/rails2.1.2/public/javascripts/dragdrop.js
  174. +0 −1,120 branches/rails2.1.2/public/javascripts/effects.js
  175. +0 −4,225 branches/rails2.1.2/public/javascripts/prototype.js
  176. +0 −5 branches/rails2.1.2/public/robots.txt
  177. +0 −431 branches/rails2.1.2/public/stylesheets/CoolWater.css
  178. +0 −27 branches/rails2.1.2/public/stylesheets/cloud.css
  179. +0 −3 branches/rails2.1.2/script/about
  180. +0 −3 branches/rails2.1.2/script/console
  181. +0 −3 branches/rails2.1.2/script/dbconsole
  182. +0 −3 branches/rails2.1.2/script/destroy
  183. +0 −3 branches/rails2.1.2/script/generate
  184. +0 −3 branches/rails2.1.2/script/performance/benchmarker
  185. +0 −3 branches/rails2.1.2/script/performance/profiler
  186. +0 −3 branches/rails2.1.2/script/performance/request
  187. +0 −3 branches/rails2.1.2/script/plugin
  188. +0 −3 branches/rails2.1.2/script/process/inspector
  189. +0 −3 branches/rails2.1.2/script/process/reaper
  190. +0 −3 branches/rails2.1.2/script/process/spawner
  191. +0 −3 branches/rails2.1.2/script/runner
  192. +0 −3 branches/rails2.1.2/script/server
  193. +0 −38 branches/rails2.1.2/test/test_helper.rb
  194. +0 −25 branches/rails2.1.2/vendor/plugins/open_id_authentication/CHANGELOG
  195. +0 −187 branches/rails2.1.2/vendor/plugins/open_id_authentication/README
  196. +0 −22 branches/rails2.1.2/vendor/plugins/open_id_authentication/Rakefile
  197. +0 −11 ...uthentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb
  198. +0 −20 ...or/plugins/open_id_authentication/generators/open_id_authentication_tables/templates/migration.rb
  199. +0 −26 ...ns/open_id_authentication/generators/upgrade_open_id_authentication_tables/templates/migration.rb
  200. +0 −11 ...nerators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb
  201. +0 −17 branches/rails2.1.2/vendor/plugins/open_id_authentication/init.rb
  202. +0 −170 branches/rails2.1.2/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb
  203. +0 −9 branches/rails2.1.2/vendor/plugins/open_id_authentication/lib/open_id_authentication/association.rb
  204. +0 −55 branches/rails2.1.2/vendor/plugins/open_id_authentication/lib/open_id_authentication/db_store.rb
  205. +0 −5 branches/rails2.1.2/vendor/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb
  206. +0 −30 branches/rails2.1.2/vendor/plugins/open_id_authentication/tasks/open_id_authentication_tasks.rake
  207. +0 −32 branches/rails2.1.2/vendor/plugins/open_id_authentication/test/normalize_test.rb
  208. +0 −38 branches/rails2.1.2/vendor/plugins/open_id_authentication/test/open_id_authentication_test.rb
  209. +0 −19 branches/rails2.1.2/vendor/plugins/open_id_authentication/test/status_test.rb
  210. +0 −14 branches/rails2.1.2/vendor/plugins/open_id_authentication/test/test_helper.rb
  211. +0 −243 branches/rails2.3.2/README
  212. +0 −10 branches/rails2.3.2/Rakefile
  213. +0 −24 branches/rails2.3.2/app/controllers/application_controller.rb
  214. +0 −31 branches/rails2.3.2/app/controllers/comment_controller.rb
  215. +0 −58 branches/rails2.3.2/app/controllers/edit_controller.rb
  216. +0 −60 branches/rails2.3.2/app/controllers/list_controller.rb
  217. +0 −50 branches/rails2.3.2/app/controllers/login_controller.rb
  218. +0 −8 branches/rails2.3.2/app/controllers/page_controller.rb
  219. +0 −60 branches/rails2.3.2/app/controllers/sitemap_controller.rb
  220. +0 −29 branches/rails2.3.2/app/controllers/tags_controller.rb
  221. +0 −51 branches/rails2.3.2/app/helpers/application_helper.rb
  222. +0 −54 branches/rails2.3.2/app/helpers/breadcrumbs_helper.rb
  223. +0 −27 branches/rails2.3.2/app/helpers/edit_helper.rb
  224. +0 −12 branches/rails2.3.2/app/helpers/gravatar_helper.rb
  225. +0 −34 branches/rails2.3.2/app/helpers/red_cloth_helper.rb
  226. +0 −27 branches/rails2.3.2/app/helpers/tags_helper.rb
  227. +0 −36 branches/rails2.3.2/app/models/captcha.rb
  228. +0 −72 branches/rails2.3.2/app/models/comment.rb
  229. +0 −26 branches/rails2.3.2/app/models/errors.rb
  230. +0 −200 branches/rails2.3.2/app/models/page.rb
  231. +0 −51 branches/rails2.3.2/app/models/resource.rb
  232. +0 −16 branches/rails2.3.2/app/models/user.rb
  233. +0 −21 branches/rails2.3.2/app/views/comment/_form.html.erb
  234. +0 −1 branches/rails2.3.2/app/views/comment/new.rjs
  235. +0 −7 branches/rails2.3.2/app/views/comment/save.rjs
  236. +0 −90 branches/rails2.3.2/app/views/edit/read.html.erb
  237. +0 −115 branches/rails2.3.2/app/views/layouts/application.html.erb
  238. +0 −18 branches/rails2.3.2/app/views/list/comment.rss.builder
  239. +0 −10 branches/rails2.3.2/app/views/list/list.html.erb
  240. +0 −19 branches/rails2.3.2/app/views/list/list.rss.builder
  241. +0 −17 branches/rails2.3.2/app/views/login/index.html.erb
  242. +0 −10 branches/rails2.3.2/app/views/page/_comments.html.erb
  243. +0 −10 branches/rails2.3.2/app/views/page/_tags.html.erb
  244. +0 −19 branches/rails2.3.2/app/views/page/view.html.erb
  245. +0 −22 branches/rails2.3.2/app/views/shared/_comment.html.erb
  246. +0 −9 branches/rails2.3.2/app/views/shared/_content.html.erb
  247. +0 −3 branches/rails2.3.2/app/views/shared/_entry.html.erb
  248. +0 −10 branches/rails2.3.2/app/views/shared/_login.html.erb
  249. +0 −9 branches/rails2.3.2/app/views/shared/_meta.html.erb
  250. +0 −2 branches/rails2.3.2/app/views/shared/_newcomment.html.erb
  251. +0 −5 branches/rails2.3.2/app/views/shared/_nothing.html.erb
  252. +0 −12 branches/rails2.3.2/app/views/shared/_translate.html.erb
  253. +0 −8 branches/rails2.3.2/app/views/shared/_urchin.html.erb
  254. +0 −5 branches/rails2.3.2/app/views/shared/_youarehere.html.erb
  255. +0 −29 branches/rails2.3.2/app/views/sitemap/view.html.erb
  256. +0 −12 branches/rails2.3.2/app/views/tags/index.html.erb
  257. +0 −19 branches/rails2.3.2/app/views/tags/show.html.erb
  258. +0 −110 branches/rails2.3.2/config/boot.rb
  259. +0 −20 branches/rails2.3.2/config/database.yml
  260. +0 −51 branches/rails2.3.2/config/environment.rb
  261. +0 −47 branches/rails2.3.2/config/environments/borg_development.rb
  262. +0 −17 branches/rails2.3.2/config/environments/development.rb
  263. +0 −28 branches/rails2.3.2/config/environments/production.rb
  264. +0 −28 branches/rails2.3.2/config/environments/test.rb
  265. +0 −7 branches/rails2.3.2/config/initializers/backtrace_silencers.rb
  266. +0 −10 branches/rails2.3.2/config/initializers/inflections.rb
  267. +0 −5 branches/rails2.3.2/config/initializers/mime_types.rb
  268. +0 −19 branches/rails2.3.2/config/initializers/new_rails_defaults.rb
  269. +0 −15 branches/rails2.3.2/config/initializers/session_store.rb
  270. +0 −5 branches/rails2.3.2/config/locales/en.yml
  271. +0 −74 branches/rails2.3.2/config/routes.rb
  272. +0 −2 branches/rails2.3.2/doc/README_FOR_APP
  273. +0 −59 branches/rails2.3.2/lib/borg/filesystem.rb
  274. +0 −53 branches/rails2.3.2/lib/borg/finder.rb
  275. +0 −32 branches/rails2.3.2/lib/borg/lister.rb
  276. +0 −38 branches/rails2.3.2/lib/borg/util.rb
  277. 0 branches/rails2.3.2/log/production.log
  278. 0 branches/rails2.3.2/log/server.log
  279. 0 branches/rails2.3.2/log/test.log
  280. +0 −30 branches/rails2.3.2/public/404.html
  281. +0 −30 branches/rails2.3.2/public/422.html
  282. +0 −30 branches/rails2.3.2/public/500.html
  283. BIN branches/rails2.3.2/public/favicon.ico
  284. BIN branches/rails2.3.2/public/images/CoolWater/box.jpg
  285. BIN branches/rails2.3.2/public/images/CoolWater/bullet.gif
  286. BIN branches/rails2.3.2/public/images/CoolWater/button-bg.jpg
  287. BIN branches/rails2.3.2/public/images/CoolWater/calendar.gif
  288. BIN branches/rails2.3.2/public/images/CoolWater/content.jpg
  289. BIN branches/rails2.3.2/public/images/CoolWater/footer.jpg
  290. BIN branches/rails2.3.2/public/images/CoolWater/header.jpg
  291. BIN branches/rails2.3.2/public/images/CoolWater/menu.jpg
  292. BIN branches/rails2.3.2/public/images/CoolWater/quote.jpg
  293. BIN branches/rails2.3.2/public/images/CoolWater/sep.jpg
  294. BIN branches/rails2.3.2/public/images/InternetSharing/barbg.gif
  295. BIN branches/rails2.3.2/public/images/InternetSharing/barcurrent.gif
  296. BIN branches/rails2.3.2/public/images/InternetSharing/bigbox.gif
  297. BIN branches/rails2.3.2/public/images/InternetSharing/bluebtn.gif
  298. BIN branches/rails2.3.2/public/images/InternetSharing/box.gif
  299. BIN branches/rails2.3.2/public/images/InternetSharing/boxtop.gif
  300. BIN branches/rails2.3.2/public/images/InternetSharing/calendar.gif
Sorry, we could not display the entire diff because too many files (1,072) changed.
View
0 branches/rails3.0.3/Gemfile → Gemfile
File renamed without changes.
View
0 branches/rails3.0.3/Gemfile.lock → Gemfile.lock
File renamed without changes.
View
0 branches/rails3.0.3/README → README
File renamed without changes.
View
0 branches/rails3.0.3/Rakefile → Rakefile
File renamed without changes.
View
0 ...app/controllers/application_controller.rb → app/controllers/application_controller.rb
File renamed without changes.
View
0 ....0.3/app/controllers/attach_controller.rb → app/controllers/attach_controller.rb
File renamed without changes.
View
0 ...0.3/app/controllers/comment_controller.rb → app/controllers/comment_controller.rb
File renamed without changes.
View
0 ...s3.0.3/app/controllers/edit_controller.rb → app/controllers/edit_controller.rb
File renamed without changes.
View
0 ...s3.0.3/app/controllers/list_controller.rb → app/controllers/list_controller.rb
File renamed without changes.
View
0 ...3.0.3/app/controllers/login_controller.rb → app/controllers/login_controller.rb
File renamed without changes.
View
0 ...s3.0.3/app/controllers/page_controller.rb → app/controllers/page_controller.rb
File renamed without changes.
View
0 ...0.3/app/controllers/sitemap_controller.rb → app/controllers/sitemap_controller.rb
File renamed without changes.
View
0 ....0.3/app/controllers/social_controller.rb → app/controllers/social_controller.rb
File renamed without changes.
View
0 ...org2.5/app/controllers/tags_controller.rb → app/controllers/tags_controller.rb
File renamed without changes.
View
0 ...ls3.0.3/app/helpers/application_helper.rb → app/helpers/application_helper.rb
File renamed without changes.
View
0 ...ls3.0.3/app/helpers/breadcrumbs_helper.rb → app/helpers/breadcrumbs_helper.rb
File renamed without changes.
View
0 ...hes/rails3.0.3/app/helpers/edit_helper.rb → app/helpers/edit_helper.rb
File renamed without changes.
View
0 ...rails3.0.3/app/helpers/gravatar_helper.rb → app/helpers/gravatar_helper.rb
File renamed without changes.
View
0 ...ails3.0.3/app/helpers/red_cloth_helper.rb → app/helpers/red_cloth_helper.rb
File renamed without changes.
View
0 tags/borg2.5/app/helpers/tags_helper.rb → app/helpers/tags_helper.rb
File renamed without changes.
View
0 branches/rails3.0.3/app/models/attachment.rb → app/models/attachment.rb
File renamed without changes.
View
0 branches/rails3.0.3/app/models/captcha.rb → app/models/captcha.rb
File renamed without changes.
View
0 branches/rails3.0.3/app/models/comment.rb → app/models/comment.rb
File renamed without changes.
View
0 branches/rails3.0.3/app/models/page.rb → app/models/page.rb
File renamed without changes.
View
0 branches/rails3.0.3/app/models/resource.rb → app/models/resource.rb
File renamed without changes.
View
0 tags/borg2.5/app/models/user.rb → app/models/user.rb
File renamed without changes.
View
0 ...rails3.0.3/app/views/attach/show.html.erb → app/views/attach/show.html.erb
File renamed without changes.
View
0 ...ils3.0.3/app/views/comment/_form.html.erb → app/views/comment/_form.html.erb
File renamed without changes.
View
0 tags/borg2.5/app/views/comment/new.rjs → app/views/comment/new.rjs
File renamed without changes.
View
0 tags/borg2.5/app/views/comment/save.rjs → app/views/comment/save.rjs
File renamed without changes.
View
0 ...3.0.3/app/views/edit/livepreview.html.erb → app/views/edit/livepreview.html.erb
File renamed without changes.
View
0 ...es/rails3.0.3/app/views/edit/new.html.erb → app/views/edit/new.html.erb
File renamed without changes.
View
0 ...s/rails3.0.3/app/views/edit/read.html.erb → app/views/edit/read.html.erb
File renamed without changes.
View
0 .../rails3.0.3/app/views/errors/404.html.erb → app/views/errors/404.html.erb
File renamed without changes.
View
0 ....3/app/views/layouts/application.html.erb → app/views/layouts/application.html.erb
File renamed without changes.
View
0 ...ls3.0.3/app/views/layouts/mobile.html.erb → app/views/layouts/mobile.html.erb
File renamed without changes.
View
0 ...org2.5/app/views/list/comment.rss.builder → app/views/list/comment.rss.builder
File renamed without changes.
View
0 ...s/rails3.0.3/app/views/list/list.html.erb → app/views/list/list.html.erb
File renamed without changes.
View
0 ...ails3.0.3/app/views/list/list.rss.builder → app/views/list/list.rss.builder
File renamed without changes.
View
0 ...rails3.0.3/app/views/login/index.html.erb → app/views/login/index.html.erb
File renamed without changes.
View
0 ...hes/rails3.0.3/app/views/login/logout.rjs → app/views/login/logout.rjs
File renamed without changes.
View
0 ...borg2.5/app/views/page/_comments.html.erb → app/views/page/_comments.html.erb
File renamed without changes.
View
0 .../rails3.0.3/app/views/page/_tags.html.erb → app/views/page/_tags.html.erb
File renamed without changes.
View
0 ...s/rails3.0.3/app/views/page/view.html.erb → app/views/page/view.html.erb
File renamed without changes.
View
0 ....3/app/views/shared/_breadcrumbs.html.erb → app/views/shared/_breadcrumbs.html.erb
File renamed without changes.
View
0 ...org2.5/app/views/shared/_comment.html.erb → app/views/shared/_comment.html.erb
File renamed without changes.
View
0 ...s3.0.3/app/views/shared/_content.html.erb → app/views/shared/_content.html.erb
File renamed without changes.
View
0 ...ils3.0.3/app/views/shared/_login.html.erb → app/views/shared/_login.html.erb
File renamed without changes.
View
0 ...ails3.0.3/app/views/shared/_meta.html.erb → app/views/shared/_meta.html.erb
File renamed without changes.
View
0 ...0.3/app/views/shared/_newcomment.html.erb → app/views/shared/_newcomment.html.erb
File renamed without changes.
View
0 ...s3.0.3/app/views/shared/_nothing.html.erb → app/views/shared/_nothing.html.erb
File renamed without changes.
View
0 ...p/views/shared/_onloadjavascript.html.erb → app/views/shared/_onloadjavascript.html.erb
File renamed without changes.
View
0 ...s3.0.3/app/views/shared/_summary.html.erb → app/views/shared/_summary.html.erb
File renamed without changes.
View
0 ...ls3.0.3/app/views/shared/_urchin.html.erb → app/views/shared/_urchin.html.erb
File renamed without changes.
View
0 .../app/views/shared/layout/_footer.html.erb → app/views/shared/layout/_footer.html.erb
File renamed without changes.
View
0 ....3/app/views/shared/layout/_head.html.erb → app/views/shared/layout/_head.html.erb
File renamed without changes.
View
0 ....3/app/views/shared/layout/_logo.html.erb → app/views/shared/layout/_logo.html.erb
File renamed without changes.
View
0 .../views/shared/layout/_messagebar.html.erb → app/views/shared/layout/_messagebar.html.erb
File renamed without changes.
View
0 .../app/views/shared/layout/_search.html.erb → app/views/shared/layout/_search.html.erb
File renamed without changes.
View
0 ...views/shared/layout/_siteactions.html.erb → ...views/shared/layout/_siteactions.html.erb
File renamed without changes.
View
0 ...s/rails3.0.3/app/views/sitemap/robots.erb → app/views/sitemap/robots.erb
File renamed without changes.
View
0 ...ls3.0.3/app/views/sitemap/sitemap.builder → app/views/sitemap/sitemap.builder
File renamed without changes.
View
0 ...ails3.0.3/app/views/sitemap/view.html.erb → app/views/sitemap/view.html.erb
File renamed without changes.
View
0 ...s3.0.3/app/views/social/_buttons.html.erb → app/views/social/_buttons.html.erb
File renamed without changes.
View
0 ...ails3.0.3/app/views/social/retweet.js.erb → app/views/social/retweet.js.erb
File renamed without changes.
View
0 .../rails3.0.3/app/views/tags/index.html.erb → app/views/tags/index.html.erb
File renamed without changes.
View
0 ...s/rails3.0.3/app/views/tags/show.html.erb → app/views/tags/show.html.erb
File renamed without changes.
View
256 branches/rails2.1.2/README
@@ -1,256 +0,0 @@
-== Welcome to Rails
-
-Rails is a web-application framework that includes everything needed to create
-database-backed web applications according to the Model-View-Control pattern.
-
-This pattern splits the view (also called the presentation) into "dumb" templates
-that are primarily responsible for inserting pre-built data in between HTML tags.
-The model contains the "smart" domain objects (such as Account, Product, Person,
-Post) that holds all the business logic and knows how to persist themselves to
-a database. The controller handles the incoming requests (such as Save New Account,
-Update Product, Show Post) by manipulating the model and directing data to the view.
-
-In Rails, the model is handled by what's called an object-relational mapping
-layer entitled Active Record. This layer allows you to present the data from
-database rows as objects and embellish these data objects with business logic
-methods. You can read more about Active Record in
-link:files/vendor/rails/activerecord/README.html.
-
-The controller and view are handled by the Action Pack, which handles both
-layers by its two parts: Action View and Action Controller. These two layers
-are bundled in a single package due to their heavy interdependence. This is
-unlike the relationship between the Active Record and Action Pack that is much
-more separate. Each of these packages can be used independently outside of
-Rails. You can read more about Action Pack in
-link:files/vendor/rails/actionpack/README.html.
-
-
-== Getting Started
-
-1. At the command prompt, start a new Rails application using the <tt>rails</tt> command
- and your application name. Ex: rails myapp
-2. Change directory into myapp and start the web server: <tt>script/server</tt> (run with --help for options)
-3. Go to http://localhost:3000/ and get "Welcome aboard: You're riding the Rails!"
-4. Follow the guidelines to start developing your application
-
-
-== Web Servers
-
-By default, Rails will try to use Mongrel and lighttpd if they are installed, otherwise
-Rails will use WEBrick, the webserver that ships with Ruby. When you run script/server,
-Rails will check if Mongrel exists, then lighttpd and finally fall back to WEBrick. This ensures
-that you can always get up and running quickly.
-
-Mongrel is a Ruby-based webserver with a C component (which requires compilation) that is
-suitable for development and deployment of Rails applications. If you have Ruby Gems installed,
-getting up and running with mongrel is as easy as: <tt>gem install mongrel</tt>.
-More info at: http://mongrel.rubyforge.org
-
-If Mongrel is not installed, Rails will look for lighttpd. It's considerably faster than
-Mongrel and WEBrick and also suited for production use, but requires additional
-installation and currently only works well on OS X/Unix (Windows users are encouraged
-to start with Mongrel). We recommend version 1.4.11 and higher. You can download it from
-http://www.lighttpd.net.
-
-And finally, if neither Mongrel or lighttpd are installed, Rails will use the built-in Ruby
-web server, WEBrick. WEBrick is a small Ruby web server suitable for development, but not
-for production.
-
-But of course its also possible to run Rails on any platform that supports FCGI.
-Apache, LiteSpeed, IIS are just a few. For more information on FCGI,
-please visit: http://wiki.rubyonrails.com/rails/pages/FastCGI
-
-
-== Apache .htaccess example
-
-# General Apache options
-AddHandler fastcgi-script .fcgi
-AddHandler cgi-script .cgi
-Options +FollowSymLinks +ExecCGI
-
-# If you don't want Rails to look in certain directories,
-# use the following rewrite rules so that Apache won't rewrite certain requests
-#
-# Example:
-# RewriteCond %{REQUEST_URI} ^/notrails.*
-# RewriteRule .* - [L]
-
-# Redirect all requests not available on the filesystem to Rails
-# By default the cgi dispatcher is used which is very slow
-#
-# For better performance replace the dispatcher with the fastcgi one
-#
-# Example:
-# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
-RewriteEngine On
-
-# If your Rails application is accessed via an Alias directive,
-# then you MUST also set the RewriteBase in this htaccess file.
-#
-# Example:
-# Alias /myrailsapp /path/to/myrailsapp/public
-# RewriteBase /myrailsapp
-
-RewriteRule ^$ index.html [QSA]
-RewriteRule ^([^.]+)$ $1.html [QSA]
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
-
-# In case Rails experiences terminal errors
-# Instead of displaying this message you can supply a file here which will be rendered instead
-#
-# Example:
-# ErrorDocument 500 /500.html
-
-ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
-
-
-== Debugging Rails
-
-Sometimes your application goes wrong. Fortunately there are a lot of tools that
-will help you debug it and get it back on the rails.
-
-First area to check is the application log files. Have "tail -f" commands running
-on the server.log and development.log. Rails will automatically display debugging
-and runtime information to these files. Debugging info will also be shown in the
-browser on requests from 127.0.0.1.
-
-You can also log your own messages directly into the log file from your code using
-the Ruby logger class from inside your controllers. Example:
-
- class WeblogController < ActionController::Base
- def destroy
- @weblog = Weblog.find(params[:id])
- @weblog.destroy
- logger.info("#{Time.now} Destroyed Weblog ID ##{@weblog.id}!")
- end
- end
-
-The result will be a message in your log file along the lines of:
-
- Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1
-
-More information on how to use the logger is at http://www.ruby-doc.org/core/
-
-Also, Ruby documentation can be found at http://www.ruby-lang.org/ including:
-
-* The Learning Ruby (Pickaxe) Book: http://www.ruby-doc.org/docs/ProgrammingRuby/
-* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide)
-
-These two online (and free) books will bring you up to speed on the Ruby language
-and also on programming in general.
-
-
-== Debugger
-
-Debugger support is available through the debugger command when you start your Mongrel or
-Webrick server with --debugger. This means that you can break out of execution at any point
-in the code, investigate and change the model, AND then resume execution!
-You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
-Example:
-
- class WeblogController < ActionController::Base
- def index
- @posts = Post.find(:all)
- debugger
- end
- end
-
-So the controller will accept the action, run the first line, then present you
-with a IRB prompt in the server window. Here you can do things like:
-
- >> @posts.inspect
- => "[#<Post:0x14a6be8 @attributes={\"title\"=>nil, \"body\"=>nil, \"id\"=>\"1\"}>,
- #<Post:0x14a6620 @attributes={\"title\"=>\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]"
- >> @posts.first.title = "hello from a debugger"
- => "hello from a debugger"
-
-...and even better is that you can examine how your runtime objects actually work:
-
- >> f = @posts.first
- => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
- >> f.
- Display all 152 possibilities? (y or n)
-
-Finally, when you're ready to resume execution, you enter "cont"
-
-
-== Console
-
-You can interact with the domain model by starting the console through <tt>script/console</tt>.
-Here you'll have all parts of the application configured, just like it is when the
-application is running. You can inspect domain models, change values, and save to the
-database. Starting the script without arguments will launch it in the development environment.
-Passing an argument will specify a different environment, like <tt>script/console production</tt>.
-
-To reload your controllers and models after launching the console run <tt>reload!</tt>
-
-== dbconsole
-
-You can go to the command line of your database directly through <tt>script/dbconsole</tt>.
-You would be connected to the database with the credentials defined in database.yml.
-Starting the script without arguments will connect you to the development database. Passing an
-argument will connect you to a different database, like <tt>script/dbconsole production</tt>.
-Currently works for mysql, postgresql and sqlite.
-
-== Description of Contents
-
-app
- Holds all the code that's specific to this particular application.
-
-app/controllers
- Holds controllers that should be named like weblogs_controller.rb for
- automated URL mapping. All controllers should descend from ApplicationController
- which itself descends from ActionController::Base.
-
-app/models
- Holds models that should be named like post.rb.
- Most models will descend from ActiveRecord::Base.
-
-app/views
- Holds the template files for the view that should be named like
- weblogs/index.html.erb for the WeblogsController#index action. All views use eRuby
- syntax.
-
-app/views/layouts
- Holds the template files for layouts to be used with views. This models the common
- header/footer method of wrapping views. In your views, define a layout using the
- <tt>layout :default</tt> and create a file named default.html.erb. Inside default.html.erb,
- call <% yield %> to render the view using this layout.
-
-app/helpers
- Holds view helpers that should be named like weblogs_helper.rb. These are generated
- for you automatically when using script/generate for controllers. Helpers can be used to
- wrap functionality for your views into methods.
-
-config
- Configuration files for the Rails environment, the routing map, the database, and other dependencies.
-
-db
- Contains the database schema in schema.rb. db/migrate contains all
- the sequence of Migrations for your schema.
-
-doc
- This directory is where your application documentation will be stored when generated
- using <tt>rake doc:app</tt>
-
-lib
- Application specific libraries. Basically, any kind of custom code that doesn't
- belong under controllers, models, or helpers. This directory is in the load path.
-
-public
- The directory available for the web server. Contains subdirectories for images, stylesheets,
- and javascripts. Also contains the dispatchers and the default HTML files. This should be
- set as the DOCUMENT_ROOT of your web server.
-
-script
- Helper scripts for automation and generation.
-
-test
- Unit and functional tests along with fixtures. When using the script/generate scripts, template
- test files will be generated for you and placed in this directory.
-
-vendor
- External libraries that the application depends on. Also includes the plugins subdirectory.
- If the app has frozen rails, those gems also go here, under vendor/rails/.
- This directory is in the load path.
View
10 branches/rails2.1.2/Rakefile
@@ -1,10 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require(File.join(File.dirname(__FILE__), 'config', 'boot'))
-
-require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-
-require 'tasks/rails'
View
34 branches/rails2.1.2/app/controllers/application.rb
@@ -1,34 +0,0 @@
-require 'borg/util'
-
-# Filters added to this controller apply to all controllers in the application.
-# Likewise, all the methods added will be available for all controllers.
-class ApplicationController < ActionController::Base
- include Borg::Util
-
- helper :all # include all helpers, all the time
-
- # See ActionController::RequestForgeryProtection for details
- # Uncomment the :secret if you're not using the cookie session store
- protect_from_forgery # :secret => '873b45327d0227959765fb769b923d49'
-
- # See ActionController::Base for details
- # Uncomment this to filter the contents of submitted sensitive data parameters
- # from your application log (in this case, all fields with names like "password").
- # filter_parameter_logging :password
-
- before_filter :load_configs, :load_sidebar_and_toolbar
-
- private
-
- def load_configs
- require 'environments/borg_' + RAILS_ENV
- end
-
- def load_sidebar_and_toolbar
- path = params["path"] || []
- path = path[0..(path.length-2)] if is_content?(path)
-
- @sidebar = Page.fromPath(path.clone << "sidebar.html")
- @toolbar = Page.fromPath(path.clone << "toolbar.html")
- end
-end
View
31 branches/rails2.1.2/app/controllers/comment_controller.rb
@@ -1,31 +0,0 @@
-class CommentController < ApplicationController
-
- def new
- @comment = Comment.fromParams(params["path"], session[:user_id] ? session[:user_id].to_author_hash : {} )
- @captcha = session[:captcha] = Captcha.new
- render :layout => false
- end
-
- def save
- @comment = Comment.fromParams(params["path"], params["comment"])
-
- if check_captcha & @comment.validate
- @comment.store
- @numcomments = Comment.allFromPath(params["path"], false).size
- render :layout => false
- else
- render(:layout => false , :action => 'new')
- end
- end
-
- def check_captcha
- valid_captcha = false
- if session[:captcha]
- (@captcha = session[:captcha]).actualValue = params["captcha"]["actualValue"]
- valid_captcha = @captcha.validate
- end
- return valid_captcha
- end
- private :check_captcha
-
-end
View
57 branches/rails2.1.2/app/controllers/edit_controller.rb
@@ -1,57 +0,0 @@
-class EditController < ApplicationController
-
- before_filter :check_permission
-
- # Creates a new borg page
- def create
- @title = "Create Page #{params["path"].join('/')}"
- @cancel_url = root_path
- load_page_if_any
- render :action => "read"
- end
-
- def read
- @title = "Edit Page"
- @cancel_url = page_path :path => params["path"]
- load_page_if_any
- end
-
- def save
- p = Page.fromRawData(params["path"], params["content"])
- if p.nil?
- render :json => { :status => "ERR", :message => "Page not found" }.to_json
- else
- p.store
- render :json => { :status => "OK"}.to_json
- end
- end
-
- def delete
- raise "You tried to delete a folder" unless is_content? params["path"]
- p = Page.fromPath(params["path"])
- if p.nil?
- render :json => { :status => "ERR" , :message => "Page not found"}.to_json
- else
- p.delete
- render :json => { :status => "DELE"}.to_json
- end
- end
-
- def preview
- render :partial => "shared/content" , :object => params["content"]
- end
-
- private
-
- def check_permission
- unless session[:user_id] && session[:user_id].is_editor
- flash[:error] = "You don't have the rights to edit this page. Please login with an authorized user."
- redirect_to :controller => "page", :action => "view"
- end
- end
-
- def load_page_if_any
- raise "You tried editing a list page" unless is_content? params["path"]
- @page = Page.fromPath(params["path"]) || Page.new
- end
-end
View
60 branches/rails2.1.2/app/controllers/list_controller.rb
@@ -1,60 +0,0 @@
-class ListController < ApplicationController
-
- def list
- # non-recursive listing
- @pages = Page.allFromPath(params["path"] || [], false).each { |page| page.summarize }
- end
-
- def blog
- path = [] << params["year"] << params["month"] << params["day"]
- params["path"] = path.compact
-
- # recursive listing
- @pages = get_blog_pages
-
- render :action => "list"
- end
-
- def welcome
- @welcome = Page.fromPath(["index.html"])
- params["path"] = [ Time.now.year.to_s ]
-
- @pages = get_blog_pages[0..9] # only 10 items in the homepage
- render :action => "list"
- end
-
- def comment
- # recursive listing of comments ( but show only the last 20 )
- @comments = Comment.allFromPath(params["path"] || [])[0..19]
- end
-
- def get_blog_pages
- pages = Page.allFromPath(params["path"]).each { |page| page.summarize }
-
- # If a year-like path has been requested (like /2009 ) and not enough
- # pages where returned, fall back to the previous year.
- #
- # This is a dirty trick to avoid having the homepage and blog sections
- # empty at the beginning of every new year.
- if pages.size < 10 && yearly_path?
- pages << Page.allFromPath([ (Time.now.year - 1).to_s ]).each { |page| page.summarize }
- pages.flatten!
- end
- apply_blog_time_ordering(pages)
- return pages
- end
- private :get_blog_pages
-
- # For blog entries, order items by blog folder (aka, blog entry time)
- # rather than modification date
- def apply_blog_time_ordering(pages)
- pages.sort_by { |page| page.path.join('') }.reverse
- end
- private :apply_blog_time_ordering
-
- def yearly_path?
- params["path"].size == 1 && params["path"][0] =~ /(19|20)\d\d/
- end
- private :yearly_path?
-
-end
View
50 branches/rails2.1.2/app/controllers/login_controller.rb
@@ -1,50 +0,0 @@
-class LoginController < ApplicationController
-
- def index
- redirect_to root_path if session[:user_id]
- end
-
- def login
- if using_open_id?
- authenticate
- else
- flash[:error] = "You must provide an OpenID URL"
- redirect_to :action => "index"
- end
- end
-
- def logout
- session[:user_id] = nil
- render :partial => "shared/login"
- end
-
- protected
-
- def authenticate(identity_url = "")
- authenticate_with_open_id(
- params[:openid_url], :required => [:nickname, :email ], :optional => [:fullname]) do
- |result, identity_url, registration|
-
- if result.successful?
- @user = User.new
- @user.identity_url = identity_url
- @user.nickname = registration["nickname"]
- @user.email = registration["email"]
- @user.fullname = registration["fullname"]
- session[:user_id] = @user
-
- jumpto = session[:jumpto] || root_url
- session[:jumpto] = nil
- redirect_to(jumpto)
- else
- flash[:error] = result.message
- redirect_to :action => "index"
- end
- end
- end
-
- def root_url
- openid_url
- end
-
-end
View
8 branches/rails2.1.2/app/controllers/page_controller.rb
@@ -1,8 +0,0 @@
-class PageController < ApplicationController
-
- def view
- @page = Page.fromPath(params["path"])
- render :file => "#{RAILS_ROOT}/public/404.html", :status => 404 and return if @page.nil?
- end
-
-end
View
60 branches/rails2.1.2/app/controllers/sitemap_controller.rb
@@ -1,60 +0,0 @@
-require 'tree'
-
-class SitemapController < ApplicationController
-
- def view
- @pages = Page.allFromPath([]).sort_by { |page| page.path.join('/') }.reverse
-
- build_sitemap
- build_blogmap
- end
-
- private
-
- def build_sitemap
- @sitemap = Tree::TreeNode.new("/" , { :name => "HomePage", :link_url => root_url , :depth => 0})
- @pages.each do |page|
- unless page.is_blog?
-
- # Start with the tree root as the current node
- curnode = @sitemap
- cumulative_path = []
-
- # For each path fragment
- page.path.each do |token|
-
- # Calculate the cumulativa path up to this point and a node key
- cumulative_path << token
- key = cumulative_path.join('/')
-
- # Create the tree node if it doesn't already exist, and add it to the tree
- if curnode[key].nil?
- content = { :name => token,
- :link_url => is_content?(cumulative_path) ?
- page_path(:path => cumulative_path) :
- list_path(:path => cumulative_path),
- :depth => curnode.content[:depth]+1 }
- curnode << Tree::TreeNode.new(key, content)
- end
-
- # Move the current node
- curnode = curnode[key]
- end
- end
- end
- end
-
- def build_blogmap
- @blog_years = {}
- @pages.each do |page|
- if page.is_blog?
- # first token of the path represents the year
- year = @blog_years[page.path[0]] ||= {}
-
- # second token of the path represents the month
- year[page.path[1]] = true
- end
- end
- end
-
-end
View
29 branches/rails2.1.2/app/controllers/tags_controller.rb
@@ -1,29 +0,0 @@
-#TODO: this class needs optimization to avoid complete site scanning to load tags
-# it is ok only for very small sites, just like mine :-)
-class TagsController < ApplicationController
-
- def index
- @tags = {}
-
- # scan all the contents recursively
- Page.allFromPath([]).each do |page|
- if page.h(:tags)
- ([] << page.h(:tags)).flatten.each do |tag|
- @tags[tag] ||= 0
- @tags[tag] += 1
- end
- end
- end
- end
-
- def show
- @tag = params["id"].gsub(/_/," ") # replace underscores with spaces
-
- # scan all the contents recursively
- @pages = Page.
- allFromPath([]).
- reject { |page| !([] << page.h(:tags)).flatten.include?(@tag) }.
- each { |page| page.summarize }
- end
-
-end
View
37 branches/rails2.1.2/app/helpers/application_helper.rb
@@ -1,37 +0,0 @@
-require 'borg/util'
-
-# Methods added to this helper will be available to all templates in the application.
-module ApplicationHelper
- include Borg::Util
-
- def author_link(page)
- author = page.author || page.author_mail || "unknown author"
- author_mail = page.author_mail
-
- if !author_mail.blank?
- link_to author , "mailto: #{author_mail}"
- else
- author
- end
- end
-
- def author_rss(page)
- author = page.author || page.author_mail || "unknown author"
- author_mail = page.author_mail
-
- if !author_mail.blank?
- "#{author_mail} (#{author})"
- else
- author
- end
- end
-
- def last_modified(page)
- File.new(page.rpath).mtime.strftime("%b %e, %Y - %H:%M")
- end
-
- def last_modified_rss(page)
- File.new(page.rpath).mtime.to_s(:rfc822)
- end
-
-end
View
54 branches/rails2.1.2/app/helpers/breadcrumbs_helper.rb
@@ -1,54 +0,0 @@
-module BreadcrumbsHelper
-
- def breadcrumbs
- page = get_page
- path = folder_path(page)
-
- content = ""
- if page.is_blog?
- year, month, day = path
- append(content, link_to_blog(year))
- append(content, link_to_blog(year, month)) unless month.nil?
- append(content, link_to_blog(year, month, day)) unless day.nil?
- else
- cumulative_path = []
- path.each do |path_token|
- cumulative_path << path_token
- append(content, link_to(path_token.capitalize , list_path(:path => cumulative_path)))
- end
- end
-
- append(content, page.path.last) if page.is_content?(page.path)
- return content
- end
-
- private
-
- def append(buffer, breadcrumb)
- buffer << spacer_img << breadcrumb << "&nbsp;"
- end
-
- def spacer_img
- image_tag("borg/arrow.png") << "&nbsp;"
- end
-
- def link_to_blog(year, month = nil, day = nil)
- name = day || month || year
- link_to(name, blog_path(:year => year, :month => month, :day => day))
- end
-
- def get_page
- p = Page.new
- p.path = params["path"] || []
- return p
- end
-
- def folder_path(page)
- path = page.path
- if page.is_content?(page.path)
- path = path[0,path.length-1]
- end
- return path
- end
-
-end
View
13 branches/rails2.1.2/app/helpers/edit_helper.rb
@@ -1,13 +0,0 @@
-module EditHelper
-
- def raw_content(page)
- raw_content = ""
- page.headers.each_pair do |k,v|
- v = ([] << v).flatten.join(',')
- raw_content << '# ' << "#{k} : #{v}\n"
- end
- raw_content << page.content << "\n"
-
- return raw_content
- end
-end
View
12 branches/rails2.1.2/app/helpers/gravatar_helper.rb
@@ -1,12 +0,0 @@
-require 'digest/md5'
-
-module GravatarHelper
-
- def gravatar(email)
- digest = Digest::MD5.new.update(email.gsub(/ at /,"@").gsub(/ dot /,".").downcase)
- grav_url = "http://www.gravatar.com/avatar/#{digest}?s=60&r=g&d=wavatar"
-
- "<img src=\"#{grav_url}\" alt=\"#{email}\" class=\"articleimg float-right\" />"
- end
-
-end
View
34 branches/rails2.1.2/app/helpers/red_cloth_helper.rb
@@ -1,34 +0,0 @@
-require 'redcloth'
-
-module RedClothHelper
-
- def textile(data)
- return nil if data.nil?
-
- data = data.content if data.respond_to?(:content)
- return nil if data.nil?
-
- # Replace 'default' images
- data = data.gsub(/__([A-Z\-]+)__/) { |t| BorgConfig[:default_img_url] + $1.downcase + ".png" }
-
- # Fix internal links
-
- # plain pages use square [] brackets
- data = data.gsub(/"([^"]+)":\[([^\]]*)\]/) { |t| "\"" + $1 + "\":" + page_path({:path => $2.split('/')}) }
-
- # list pages use curly {} brackets
- data = data.gsub(/"([^"]+)":\{([^}]*)\}/) { |t| "\"" + $1 + "\":" + list_path({:path => $2.split('/') }) }
-
- # blog pages use angled <> brackets
- data = data.gsub(/"([^"]+)":<(\d\d\d\d)?\/?([01]\d)?\/?([0-3]\d)?>/) { |t| "\"" + $1 + "\":" + blog_path({ :year => $2,
- :month => $3,
- :day => $4 }) }
-
- # tag pages just use "tags"
- data = data.gsub(/"([^"]+)":tags/) { |t| "\"" + $1 + "\":" + url_for({:controller => "tags"}) }
-
-
- r = RedCloth.new data
- r.to_html
- end
-end
View
27 branches/rails2.1.2/app/helpers/tags_helper.rb
@@ -1,27 +0,0 @@
-module TagsHelper
-
- def cloud(tags)
- step = tags.size / 5.0
- min_occur = 0
- max_occur = 0
-
- # sort by count
- sorted_tags = tags.sort { |a,b| a[1] <=> b[1] }
-
- # partition into 5 sizes
- rendered_tags = {}
- sorted_tags.each_with_index do |kv,i|
- font_size = ((i+1)/step).to_i
- rendered_tags[kv[0]] = link_to kv[0], tag_path(kv[0].gsub(/ /,'_')), :class => "cloud#{font_size}"
- rendered_tags[kv[0]] << " "
- end
-
- res = ""
- # sort tags alphabetically and print
- rendered_tags.sort { |a,b| a[0] <=> b[0] }.each do |kv|
- res += kv[1]
- end
-
- return res
- end
-end
View
36 branches/rails2.1.2/app/models/captcha.rb
@@ -1,36 +0,0 @@
-class Captcha
-
- attr_accessor :value, :actualValue
-
- def initialize
- regenerate
- end
-
- def regenerate
- @value = ""
- @actualValue = ""
- 5.times { @value << (rand(26)+65).chr }
- end
-
- def Captcha.fromParams(params)
- c = Captcha.new
- c.value = params[:value]
-
- return c
- end
-
- def errors
- @errors ||= Errors.new
- end
-
- def validate
- errors.clear
- if @value.upcase != actualValue
- errors.add(:value,"Captcha does not match!")
- regenerate # regenerate captcha if it's not valid, so the user will see a new one afterward
- end
-
- return errors.empty?
- end
-
-end
View
72 branches/rails2.1.2/app/models/comment.rb
@@ -1,72 +0,0 @@
-class Comment < Page
-
- def self.base_folder
- borg(:comment_dir)
- end
-
- def self.fromPage(page)
- allFromPath(toCommentPath(page.path)).reverse # older comments go first
- end
-
- def self.allFromPath(path, recursive=true)
- path = toCommentPath(path)
- rpaths = recursive ?
- @@lister.list(path, base_folder) :
- @@finder.find_and_prune(path, base_folder)
-
- rpaths = [] if rpaths.blank?
- rpaths.map { |rpath| Comment.new(rpath) }
- end
-
- def self.fromParams(path, params)
- c = Comment.new
- c.path = [ toCommentPath(path) , Time.now.to_f.to_s.sub(/\./,"_") + ".html" ].flatten
-
- raw_data = ''
- raw_data << "# AUTHOR: #{params['author']}\n" unless params["author"].blank?
- raw_data << "# AUTHOR_MAIL: #{params['author_mail'].sub(/@/," at ").sub(/\./," dot ")}\n" unless params["author_mail"].blank?
- raw_data << "\n" << params["content"] unless params["content"].blank?
-
- c.raw_data = raw_data
- c.parse
-
- return c
- end
-
- def initialize(rpath=nil)
- super
- end
-
- def self.toCommentPath(path)
- path.map { |token| token.gsub(/\.html/,".comments") }
- end
-
- def page
- Page.fromPath(getPagePath)
- end
-
- def validate
- errors.add(:author, "field cannot be empty") if author.blank? || author =~ /^\s*$/
- errors.add(:author_mail,"field must be a valid e-mail address") if author_mail.blank? || author_mail.sub(/ at /,"@").sub(/ dot /,".") !~ /^[^@]+@[^\.]+\..+$/
-
- non_empty_content = false
- if !@content.blank?
- @content.each_line { |l| non_empty_content ||= l !~ /^\s*$/ }
- end
- unless non_empty_content
- errors.add(:content,"field cannot be empty")
- end
-
- return errors.empty?
- end
-
- def getPagePath
- ppath = path.clone
- ppath.slice!(ppath.length-1)
- ppath.last.gsub!(/\.comments$/, ".html")
-
- return ppath
- end
- private :getPagePath
-
-end
View
26 branches/rails2.1.2/app/models/errors.rb
@@ -1,26 +0,0 @@
-class Errors
-
- def initialize
- @errors = {}
- end
-
- def add(attribute, msg)
- @errors[attribute.to_s] = [] if @errors[attribute.to_s].nil?
- @errors[attribute.to_s] << msg
- end
-
- def on(attribute)
- ers = @errors[attribute.to_s]
- return nil if ers.nil?
- ers.size == 1 ? ers.first : ers
- end
-
- def empty?
- @errors.empty?
- end
-
- def clear
- @errors.clear
- end
-
-end
View
155 branches/rails2.1.2/app/models/page.rb
@@ -1,155 +0,0 @@
-class Page < Resource
-
- def self.base_folder
- borg(:data_dir)
- end
-
- def self.fromRawData(path, raw_data)
- p = Page.new
- p.path = path
-
- if p.is_content?(path)
- p.raw_data = raw_data
- p.parse
- return p
- else
- return nil
- end
- end
-
- def self.fromPath(path)
- rpath = @@finder.find(path, base_folder)
- rpath.blank? ? nil : Page.new(rpath[0])
- end
-
- def self.allFromPath(path, recursive=true)
- rpaths = recursive ?
- @@lister.list(path, base_folder) :
- @@finder.find_and_prune(path, base_folder)
-
- rpaths = [] if rpaths.blank?
- rpaths.map { |rpath| Page.new(rpath) }
- end
-
- def initialize(rpath=nil)
- super()
- @fresh = true
- @content = ""
- @headers = {}
- @rpath = rpath
- end
-
- def is_blog?
- path[0] =~ /(19|20)\d\d/
- end
-
- def fresh?
- @fresh
- end
-
- def headers
- parse if fresh?
- @headers
- end
-
- def h(key,default_value=nil)
- parse if fresh?
- @headers[key] || default_value
- end
-
- def author
- h(:author)
- end
-
- def author_mail
- h(:author_mail)
- end
-
- def title
- parse if fresh?
- @title
- end
-
- # Returns the page content, stripping the first heading
- def titleless_content
- parse if fresh?
- @content.sub(/h\d\..+/, '')
- end
-
- def content
- parse if fresh?
- @content
- end
-
- def summarize
- parse if fresh?
- @content = @summary
- end
-
- def comments
- @comments ||= Comment.fromPage(self)
- end
-
- def parse
- raw_headers = []
-
- headers_finished = false
- raw_data.each_line do |l|
- headers_finished = true if l !~ /^#/
- raw_headers << l.chomp if l =~ /^#/ && !headers_finished
-
- @content << l if headers_finished
- @title = $1.strip if @title.nil? && l.strip =~ /^h\d\.(.+)/
- end
-
- @headers = parse_headers(raw_headers)
- @summary = parse_summary(@content)
- @fresh = false
- end
-
- private
-
- # Parse headers from their raw reading
- def parse_headers(raw_headers)
- headers = {}
- raw_headers.each do |h|
- if h =~ /^# *([a-zA-Z_]+) *:(.*)/
- h_key = $1.downcase.intern
- h_value = $2.split(",").collect { |v| v.strip }
- if h_value.length > 0 # ignore empty headers
- headers[h_key] = h_value.length > 1 ? h_value : h_value[0]
- end
- end
- end
-
- return headers
- end
-
- # Extracts the summary from a given page. The summary is composed of the first header (if any)
- # and the first paragraph.
- def parse_summary(content)
- summary = ""
- status = :pre_header
- content.each_line do |l|
-
- # Verify status change
- case status
- when :pre_header
- if l.strip =~ /^h\d\.(.+)/
- status = :header
- end
- status = :paragraph if status != :header && l.strip.length > 0
- when :header
- status = :post_header
- when :post_header
- status = :paragraph if l.strip.length > 0
- when :paragraph
- break if l.strip =~ /^h\d\./ || l.strip.length == 0
- end
- summary << l
-
- end
- return summary
- end
-
-end
View
51 branches/rails2.1.2/app/models/resource.rb
@@ -1,51 +0,0 @@
-require 'borg/util'
-require 'borg/lister'
-require 'borg/filesystem'
-require 'borg/finder'
-
-class Resource
- include Borg::Util
-
- @@finder = Borg::Finder.new
- @@fs = Borg::FileSystem.new
- @@lister = Borg::Lister.new
-
- def self.base_folder
- "#{RAILS_ROOT}/public"
- end
-
- attr_accessor :rpath
-
- def path
- relative(@rpath, self.class.base_folder)
- end
-
- def path=(path)
- @rpath = root(path, self.class.base_folder)
- end
-
- def raw_data
- @raw_data ||= (@rpath.blank? ? "" : @@fs.load(@rpath))
- end
-
- def raw_data=(data)
- @raw_data = data
- end
-
- def errors
- @errors ||= Errors.new
- end
-
- def store
- @@fs.save(@rpath, @raw_data)
- end
-
- def delete
- @@fs.delete(@rpath)
- end
-
- def to_s
- @rpath
- end
-
-end
View
16 branches/rails2.1.2/app/models/user.rb
@@ -1,16 +0,0 @@
-require 'borg/util'
-
-class User
- include Borg::Util
-
- attr_accessor :identity_url, :nickname, :email, :fullname
-
- def is_editor
- borg(:editors).include?(@identity_url) || borg(:editors).blank?
- end
-
- def to_author_hash
- { "author" => @fullname || @nickname, "author_mail" => @email }
- end
-
-end
View
21 branches/rails2.1.2/app/views/comment/_form.html.erb
@@ -1,21 +0,0 @@
-<% remote_form_for :comment, @comment , :url => saveComment_path( :path => params[:path]) do |f| -%>
- <%= label :comment, :author, "Your name:" %> <%= f.text_field :author %>
- <%= error_message_on :comment, :author %>
-
- <%= label :comment, :author_mail , "Your mail address:" %>
- <%= f.text_field :author_mail %>
- <div class="hint">(you can also use <strong>name at domain dot com</strong>)</div>
- <%= error_message_on :comment, :author_mail %>
-
- <%= label :comment, :content, "Your comment:" %> <%= f.text_area :content %>
- <%= error_message_on :comment, :content %>
-
- <% fields_for @captcha do |captcha_fields| -%>
- <%= captcha_fields.label :actualValue, "Are you human? Please type #{@captcha.value}" %>
- <%= captcha_fields.text_field :actualValue %>
- <%= error_message_on @captcha, :value %>
- <% end -%>
- <br />
- <%= submit_tag "Send comment" , :class => "button" %>
-<% end -%>
-<script>if ($('comment_author').value == '') { $('comment_author').focus() } else { $('comment_content').focus() }</script>
View
1 branches/rails2.1.2/app/views/comment/new.rjs
@@ -1 +0,0 @@
-page.replace_html :newcommentdiv, :partial => 'form'
View
7 branches/rails2.1.2/app/views/comment/save.rjs
@@ -1,7 +0,0 @@
-page.insert_html :bottom, :comments, :partial => 'shared/comment' , :object => @comment
-page.replace_html :newcommentdiv, :partial => 'shared/newcomment'
-if @numcomments == 1
- page.insert_html :top, :comments, "<h2 id='numcomments'>1 Comment to this page</h2>" # first comment
-else
- page.replace_html :numcomments, "#{@numcomments} Comments to this page" # subsequent comments
-end
View
83 branches/rails2.1.2/app/views/edit/read.html.erb
@@ -1,83 +0,0 @@
-<h1><%= @title %></h1>
-
-<p>
- <input type="button" value="Cancel" class="button" id="cancelButton">
- <input type="button" value="Preview" class="button" id="previewButton">
- <input type="button" value="Save" class="button" id="saveButton">
-</p>
-<div id="editmode">
- <% form_tag({}, {:id => "editform" }) do |f| -%>
- <textarea style="font-family: monospace; font-size: 120%; width: 95%; height: 400px;" id="editAreaId" name="content"><%= raw_content(@page) %></textarea>
- <% end -%>
-</div>
-<div id="previewmode" style="display:none"></div>
-<div id="errors"></div>
-<p>
- Use <%= link_to "textile syntax", "http://hobix.com/textile/" , :target => "_blank" %> to edit the contents of the page. <br />
- Additional extensions:
-</p>
-<ul>
- <li><tt># HEADER : Value</tt> on top, for file metadata and headers.</li>
- <li><tt>"Borg":[software/projects/borg.html]</tt> creates an internal link.</li>
- <li><tt>"Projects":{software/projects}</tt> create an internal link to a list page</li>
- <li><tt>"March":&lt;2008/03&gt;</tt> create a link to a blog section</li>
- <li><tt>"Tags":tags</tt> create a link to the tags page</li>
- <li><tt>!(articleimg float-left)http://www/thumb.jpg!:http://www/image.jpg</tt> for a thumbnailed and stiled image link</li>
- <li><tt>!(float-left)__CLIPART__!</tt> for a clip art replacement</li>
-</ul>
-
-<script>
- $('previewButton').observe('click', function() {
- if ($('editmode').visible()) {
- new Ajax.Updater('previewmode', '<%= preview_path %>', {
- parameters: $('editform').serialize(),
- onSuccess: function() {
- $('previewmode').show();
- $('editmode').hide();
- $('previewButton').value = "Edit";
- },
- onFailure: function(transport) {
- $('errors').innerHTML = transport.responseText;
- }
- });
- } else {
- $('previewmode').hide();
- $('editmode').show();
- $('previewButton').value = "Preview";
- }
- });
-
- $('cancelButton').observe('click', function() {
- document.location.href = '<%= @cancel_url %>';
- });
-
- $('saveButton').observe('click', function() {
- var proceed = true;
- var url = '<%= save_path( :path => params[:path]) %>';
- if ($('editAreaId').value.length == 0) {
- proceed = confirm("Do you really want to delete the page?");
- url = '<%= delete_path( :path => params[:path]) %>';
- }
-
- if (proceed) {
- new Ajax.Request(url, {
- parameters: $('editform').serialize(),
- onSuccess: function(transport) {
- var resp = transport.responseJSON;
-
- if (resp.status == 'OK') {
- document.location.href = '<%= page_path( :path => params[:path]) %>';
- } else if (resp.status == 'DELE') {
- alert("The page has been deleted.");
- document.location.href = '<%= root_path %>';
- } else {
- $('errors').innerHTML = "Status: " + transport.status + ", Message: " + transport.message;
- }
- },
- onFailure: function(transport) {
- $('errors').innerHTML = transport.responseText;
- }
- });
- }
- });
-</script>
View
104 branches/rails2.1.2/app/views/layouts/application.html.erb
@@ -1,104 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-
-<meta name="Description" content="Information architecture, Web Design, Web Standards." />
-<meta name="Keywords" content="your, keywords" />
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<meta name="Distribution" content="Global" />
-<meta name="Author" content="Riccardo Govoni - battlehorse@gmail.com" />
-<meta name="Robots" content="index,follow" />
-
-<%= javascript_include_tag "prototype", "application" %>
-<%= stylesheet_link_tag "CoolWater" %>
-
-<link rel="alternate" href="<%= url_for :controller => :list, :action => :blog, :format => :rss %>" type="application/rss+xml" title="Blog RSS" />
-<link rel="alternate" href="<%= root_path + "comments.rss" %>" type="application/rss+xml" title="Comments RSS" />
-<%= yield :head %>
-
-<title><%= borg :title %> :: <%= yield(:title) || "#{borg(:tagline)}" %></title>
-
-</head>
-
-<body>
-<!-- wrap starts here -->
-<div id="wrap">
-
- <!--header -->
- <div id="header">
-
- <h1 id="logo-text"><a href="<%= url_for root_path %>"><%= borg :title %></a></h1>
- <p id="slogan"><%= borg :tagline %></p>
-
- <div id="header-links">
- <p>
- <%= render :partial => "shared/login" %> |
- <%= link_to "Contact", borg(:contact_url) %> |
- <%= link_to "Site Map", :controller => :sitemap, :action => :view %> |
- <%= image_tag "borg/feed.png" , :style => "vertical-align: middle" %>
- <%= link_to "Feed", :controller => :list, :action => :blog, :format => :rss %> |
- <%= link_to "Home" , root_path %>
- </p>
- </div>
-
- </div>
-
- <!-- navigation -->
- <div id="menu">
- <%= render :partial => "shared/content" , :object => @toolbar %>
- </div>
-
- <!-- content-wrap starts here -->
- <div id="content-wrap">
-
- <div id="main">
- <%= render :partial => "shared/translate" %>
- <%= yield :youarehere %>
- <% if flash[:error] %><p id="flash_error"><%= flash[:error] %></p><% end %>
- <%= yield :intro %>
- <%= yield %>
- </div>
-
-
- <div id="sidebar">
-
- <form action="http://www.google.com/search" class="searchform" method="get">
- <p>
- <input name="as_q" class="textbox" type="text" />
- <input type="hidden" name="as_sitesearch" value="<%= borg(:search_domain) %>">
- <input class="button" value="Search" type="submit" />
- </p>
- </form>
-
- <%= yield :tags %>
-
- <h2>Sidebar Menu</h2
-
- <%= render :partial => "shared/content" , :object => @sidebar %>
-
- <%= borg :google_chatback %>
- </div>
-
- <!-- content-wrap ends here -->
- </div>
-
- <!--footer starts here-->
- <div id="footer">
-
- <p>
- &copy; 2008 <strong>Riccardo Govoni</strong> |
- Design by: <a href="http://www.styleshout.com/">styleshout</a> |
- Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> |
- <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
- <%= yield :footer %>
- </p>
-
- </div>
-
-<!-- wrap ends here -->
-</div>
-
-<%= render(:partial => "shared/urchin") %>
-</body>
-</html>
View
18 branches/rails2.1.2/app/views/list/comment.rss.builder
@@ -1,18 +0,0 @@
-xml.instruct! :xml, :version => "1.0"
-xml.rss :version => "2.0" do
- xml.channel do
- xml.title "Comments on " + borg(:title)