Soks 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. data/README.txt +14 -4
  2. data/bin/soks-create-wiki.rb +2 -2
  3. data/contrib/redcloth-3.0.3.rb +0 -1
  4. data/lib/helpers/default-helpers.rb +13 -12
  5. data/lib/helpers/mail2wiki-helper.rb +12 -7
  6. data/lib/helpers/mail2wiki-test.rb +15 -0
  7. data/lib/helpers/wiki2html.rb +60 -0
  8. data/lib/soks-drb.rb +20 -0
  9. data/lib/soks-fcgi.rb +127 -0
  10. data/lib/soks-model.rb +11 -3
  11. data/lib/soks-servlet.rb +68 -45
  12. data/lib/soks-storage.rb +11 -3
  13. data/lib/soks-utils.rb +32 -3
  14. data/lib/soks-view.rb +48 -69
  15. data/lib/soks.rb +6 -3
  16. data/templates/default/attachment/blank.gif +0 -0
  17. data/templates/default/attachment/logo.jpg +0 -0
  18. data/templates/default/attachment/newpage.js +9 -0
  19. data/templates/default/attachment/pngbehavior.htc +86 -0
  20. data/templates/default/attachment/robots.txt +2 -1
  21. data/templates/default/attachment/stylesheet.css +144 -37
  22. data/templates/default/banned_titles.txt +36 -0
  23. data/templates/default/content/Api%20for%20classes%20to%20modify%20the%20wiki.textile +24 -0
  24. data/templates/default/content/Author.textile +3 -3
  25. data/templates/default/content/Automatic%20Summaries.textile +14 -14
  26. data/templates/default/content/Automatic%20linking%20between%20pages.textile +2 -0
  27. data/templates/default/content/Bug%3A%20RSS%20feed%20does%20not%20validate.textile +10 -0
  28. data/templates/default/content/Bug%3A%20Textile%20mishandles%20paragraphs.textile +33 -0
  29. data/templates/default/content/Bug%3A%20Unanticipated%20Rollbacks.textile +21 -0
  30. data/templates/default/content/Home%20Page.textile +3 -2
  31. data/templates/default/content/How%20to%20administrate%20this%20wiki.textile +4 -19
  32. data/templates/default/content/How%20to%20get%20the%20latest%20Soks%20from%20cvs.textile +21 -0
  33. data/templates/default/content/How%20to%20import%20data%20to%20this%20wiki.textile +45 -0
  34. data/templates/default/content/How%20to%20install%20Soks.textile +12 -8
  35. data/templates/default/content/How%20to%20password%20protect%20your%20wiki.textile +43 -0
  36. data/templates/default/content/How%20to%20report%20a%20bug.textile +1 -1
  37. data/templates/default/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +2 -0
  38. data/templates/default/content/How%20to%20use%20this%20wiki.textile +1 -0
  39. data/templates/default/content/Instructions%20and%20Howtos.textile +4 -1
  40. data/templates/default/content/Known%20bugs.textile +5 -2
  41. data/templates/default/content/List%20of%20changes.textile +49 -0
  42. data/templates/default/content/New%20Recent%20Changes%20class.textile +58 -0
  43. data/templates/default/content/New%20page%20templates%20or%20categories%20code.textile +68 -0
  44. data/templates/default/content/Per%20Wiki%20Templates.textile +35 -0
  45. data/templates/default/content/Planned%20Features.textile +29 -8
  46. data/templates/default/content/README.textile +14 -4
  47. data/templates/default/content/RSS%20feed.textile +2 -0
  48. data/templates/default/content/Recent%20Changes%20to%20This%20Site.textile +200 -202
  49. data/templates/default/content/SOKS%20features.textile +2 -1
  50. data/templates/default/content/Sidebar%20Page.textile +3 -0
  51. data/templates/default/content/Type%20a%20title%20here.textile +1 -0
  52. data/templates/default/content/bug%3A%20competing%20edits.textile +13 -0
  53. data/templates/default/content/ctrl%2Dn.textile +1 -0
  54. data/templates/default/content/tamc.textile +1 -0
  55. data/templates/default/start.rb +38 -15
  56. data/templates/default/version.txt +1 -1
  57. data/templates/default/views/Page_edit.rhtml +71 -57
  58. data/templates/default/views/Page_meta.rhtml +6 -2
  59. data/templates/default/views/Page_revisions.rhtml +17 -9
  60. data/templates/default/views/Page_rss.rhtml +3 -1
  61. data/templates/default/views/Page_search_results.rhtml +11 -1
  62. data/templates/default/views/Page_view.rhtml +6 -2
  63. data/templates/default/views/UploadPage_edit.rhtml +58 -33
  64. data/templates/default/views/frame.rhtml +46 -27
  65. data/test/test_soks-utils.rb +37 -0
  66. metadata +27 -229
  67. data/templates/default/content/Bug%3A%20%5BFATAL%5D%20When%20renaming%20upload%20%2F%20picture%2.textile +0 -1
  68. data/templates/default/content/Bug%3A%20Automatic%20link%20links%20to%20stuff%20inside%20%3Chtml.textile +0 -1
  69. data/templates/default/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +0 -1
  70. data/templates/default/content/Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20appear.textile +0 -1
  71. data/templates/default/content/Bug%3A%20External%20links%20incorrectly%20include%20trailing%20pu.textile +0 -1
  72. data/templates/default/content/Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%2.textile +0 -1
  73. data/templates/default/content/Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%20new%20.textile +0 -1
  74. data/templates/default/content/Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +0 -1
  75. data/templates/default/content/Bug%3A%20Page%20titles%20cannot%20have%20html%20tags%20in%20them.textile +0 -1
  76. data/templates/default/content/Bug%3A%20Punctuation%20in%20page%20titles%20still%20problematic.textile +0 -7
  77. data/templates/default/content/Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%28not%20.textile +0 -1
  78. data/templates/default/content/Bug%3A%20Search%20box%20width%20does%20not%20match%20column%20wid.textile +0 -1
  79. data/templates/default/content/Bug%3A%20Search%20includes%20leading%20and%20trailing%20spaces.textile +0 -1
  80. data/templates/default/content/Bug%3A%20Search%20inluced%20leading%20and%20trailing%20spaces.textile +0 -1
  81. data/templates/default/content/Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +0 -1
  82. data/templates/default/content/Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in.textile +0 -1
  83. data/templates/default/content/Bug%3A%20Uploads%20are%20not%20password%20protected.textile +0 -3
  84. data/templates/default/content/Bug%3A%20no%20superclass%20method%20%60%5Fdeprecated%5Fbase64.textile +0 -1
  85. data/templates/default/content/Fixed%20Bug%3A%20%5BFATAL%5D%20When%20renaming%20upload%20%2F%20p.textile +0 -34
  86. data/templates/default/content/Fixed%20Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20.textile +0 -3
  87. data/templates/default/content/Fixed%20Bug%3A%20External%20links%20incorrectly%20include%20trail.textile +0 -3
  88. data/templates/default/content/Fixed%20Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20lin.textile +0 -13
  89. data/templates/default/content/Fixed%20Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%.textile +0 -9
  90. data/templates/default/content/Fixed%20Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +0 -4
  91. data/templates/default/content/Fixed%20Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%.textile +0 -15
  92. data/templates/default/content/Fixed%20Bug%3A%20Search%20box%20width%20does%20not%20match%20colu.textile +0 -3
  93. data/templates/default/content/Fixed%20Bug%3A%20Search%20includes%20leading%20and%20trailing%20s.textile +0 -3
  94. data/templates/default/content/Fixed%20Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +0 -3
  95. data/templates/default/content/Fixed%20Bug%3A%20Symbols%20are%20not%20always%20correctly%20rende.textile +0 -5
  96. data/templates/default/content/Fixed%20Bug%3A%20no%20superclass%20method%20%60%5Fdeprecated%5Fba.textile +0 -3
  97. data/templates/default/content/Site%20Index.textile +0 -60
  98. data/templates/default/content/fixed%20bug%3A%20automatic%20link%20links%20to%20stuff%20inside%2.textile +0 -3
  99. data/templates/default/content/sandbox.textile +0 -2
  100. data/templates/default/content/test%20page.textile +0 -1
  101. data/templates/instiki/attachment/header_backdrop.png +0 -0
  102. data/templates/instiki/attachment/instiki_style_sheet.css +0 -199
  103. data/templates/instiki/attachment/logo.tiff +0 -0
  104. data/templates/instiki/attachment/logotext.png +0 -0
  105. data/templates/instiki/attachment/newpage.js +0 -41
  106. data/templates/instiki/attachment/rss.png +0 -0
  107. data/templates/instiki/banned_titles.txt +0 -31
  108. data/templates/instiki/content/All%20News.textile +0 -9
  109. data/templates/instiki/content/Attached%20ruby%20logo.textile +0 -1
  110. data/templates/instiki/content/Attached%20test%20thing.textile +0 -1
  111. data/templates/instiki/content/Author.textile +0 -12
  112. data/templates/instiki/content/Automatic%20Summaries.textile +0 -77
  113. data/templates/instiki/content/Automatic%20linking%20between%20pages.textile +0 -5
  114. data/templates/instiki/content/Bug%3A%20%5BFATAL%5D%20When%20renaming%20upload%20%2F%20picture%2.textile +0 -1
  115. data/templates/instiki/content/Bug%3A%20Automatic%20link%20links%20to%20stuff%20inside%20%3Chtml.textile +0 -1
  116. data/templates/instiki/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +0 -1
  117. data/templates/instiki/content/Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20appear.textile +0 -1
  118. data/templates/instiki/content/Bug%3A%20External%20links%20incorrectly%20include%20trailing%20pu.textile +0 -1
  119. data/templates/instiki/content/Bug%3A%20GEM%20limits%20title%20lengths.textile +0 -1
  120. data/templates/instiki/content/Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%2.textile +0 -1
  121. data/templates/instiki/content/Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%20new%20.textile +0 -1
  122. data/templates/instiki/content/Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +0 -1
  123. data/templates/instiki/content/Bug%3A%20Page%20titles%20cannot%20have%20html%20tags%20in%20them.textile +0 -1
  124. data/templates/instiki/content/Bug%3A%20Punctuation%20in%20page%20titles%20still%20problematic.textile +0 -7
  125. data/templates/instiki/content/Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%28not%20.textile +0 -1
  126. data/templates/instiki/content/Bug%3A%20Search%20box%20width%20does%20not%20match%20column%20wid.textile +0 -1
  127. data/templates/instiki/content/Bug%3A%20Search%20includes%20leading%20and%20trailing%20spaces.textile +0 -1
  128. data/templates/instiki/content/Bug%3A%20Search%20inluced%20leading%20and%20trailing%20spaces.textile +0 -1
  129. data/templates/instiki/content/Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +0 -1
  130. data/templates/instiki/content/Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in.textile +0 -1
  131. data/templates/instiki/content/Bug%3A%20Uploads%20are%20not%20password%20protected.textile +0 -3
  132. data/templates/instiki/content/Bug%3A%20no%20superclass%20method%20%60%5Fdeprecated%5Fbase64.textile +0 -1
  133. data/templates/instiki/content/Bug%3A%20notextile%20does%20not%20prevent%20page%20inserts.textile +0 -1
  134. data/templates/instiki/content/Fixed%20Bug%3A%20%5BFATAL%5D%20When%20renaming%20upload%20%2F%20p.textile +0 -34
  135. data/templates/instiki/content/Fixed%20Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20.textile +0 -3
  136. data/templates/instiki/content/Fixed%20Bug%3A%20External%20links%20incorrectly%20include%20trail.textile +0 -3
  137. data/templates/instiki/content/Fixed%20Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20lin.textile +0 -13
  138. data/templates/instiki/content/Fixed%20Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%.textile +0 -9
  139. data/templates/instiki/content/Fixed%20Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +0 -4
  140. data/templates/instiki/content/Fixed%20Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%.textile +0 -15
  141. data/templates/instiki/content/Fixed%20Bug%3A%20Search%20box%20width%20does%20not%20match%20colu.textile +0 -3
  142. data/templates/instiki/content/Fixed%20Bug%3A%20Search%20includes%20leading%20and%20trailing%20s.textile +0 -3
  143. data/templates/instiki/content/Fixed%20Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +0 -3
  144. data/templates/instiki/content/Fixed%20Bug%3A%20Symbols%20are%20not%20always%20correctly%20rende.textile +0 -5
  145. data/templates/instiki/content/Fixed%20Bug%3A%20no%20superclass%20method%20%60%5Fdeprecated%5Fba.textile +0 -3
  146. data/templates/instiki/content/Home%20Page.textile +0 -19
  147. data/templates/instiki/content/How%20to%20administrate%20this%20wiki.textile +0 -62
  148. data/templates/instiki/content/How%20to%20change%20the%20way%20this%20wiki%20looks.textile +0 -30
  149. data/templates/instiki/content/How%20to%20export%20a%20site%20from%20this%20wiki.textile +0 -60
  150. data/templates/instiki/content/How%20to%20hack%20soks.textile +0 -61
  151. data/templates/instiki/content/How%20to%20import%20a%20site%20from%20instiki.textile +0 -13
  152. data/templates/instiki/content/How%20to%20install%20Soks.textile +0 -27
  153. data/templates/instiki/content/How%20to%20report%20a%20bug.textile +0 -8
  154. data/templates/instiki/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +0 -13
  155. data/templates/instiki/content/How%20to%20use%20this%20wiki.textile +0 -27
  156. data/templates/instiki/content/Instructions%20and%20Howtos.textile +0 -18
  157. data/templates/instiki/content/Known%20bugs.textile +0 -15
  158. data/templates/instiki/content/Latest%20News.textile +0 -9
  159. data/templates/instiki/content/List%20of%20changes.textile +0 -67
  160. data/templates/instiki/content/Picture%20of%20Type%20a%20title%20here.textile +0 -1
  161. data/templates/instiki/content/Picture%20of%20a%20logo%20for%20the%20ruby%20language.textile +0 -1
  162. data/templates/instiki/content/Picture%20of%20a%20pair%20of%20soks.textile +0 -1
  163. data/templates/instiki/content/Picture%20of%20powered%20by%20ruby%20logo.textile +0 -1
  164. data/templates/instiki/content/Planned%20Features.textile +0 -19
  165. data/templates/instiki/content/README.textile +0 -63
  166. data/templates/instiki/content/RSS%20feed.textile +0 -7
  167. data/templates/instiki/content/Recent%20Blog%20Entries.textile +0 -5
  168. data/templates/instiki/content/Recent%20Changes%20to%20This%20Site.textile +0 -211
  169. data/templates/instiki/content/Recent%20News.textile +0 -9
  170. data/templates/instiki/content/Ruby.textile +0 -9
  171. data/templates/instiki/content/SOKS%20features.textile +0 -16
  172. data/templates/instiki/content/Site%20Index.textile +0 -60
  173. data/templates/instiki/content/Soks%20Licence.textile +0 -64
  174. data/templates/instiki/content/fixed%20bug%3A%20automatic%20link%20links%20to%20stuff%20inside%2.textile +0 -3
  175. data/templates/instiki/content/let%20me%20know.textile +0 -1
  176. data/templates/instiki/content/sandbox.textile +0 -2
  177. data/templates/instiki/content/tamc2.textile +0 -1
  178. data/templates/instiki/content/test%20page.textile +0 -1
  179. data/templates/instiki/start.rb +0 -112
  180. data/templates/instiki/version.txt +0 -1
  181. data/templates/instiki/views/Page_content.rhtml +0 -1
  182. data/templates/instiki/views/Page_edit.rhtml +0 -8
  183. data/templates/instiki/views/Page_meta.rhtml +0 -34
  184. data/templates/instiki/views/Page_print.rhtml +0 -6
  185. data/templates/instiki/views/Page_revisions.rhtml +0 -17
  186. data/templates/instiki/views/Page_rss.rhtml +0 -55
  187. data/templates/instiki/views/Page_search_results.rhtml +0 -18
  188. data/templates/instiki/views/Page_view.rhtml +0 -2
  189. data/templates/instiki/views/UploadPage_edit.rhtml +0 -16
  190. data/templates/instiki/views/frame.rhtml +0 -90
  191. data/templates/instiki/views/messages.yaml +0 -6
  192. data/templates/rails/attachment/2colheader.css +0 -77
  193. data/templates/rails/attachment/basics.css +0 -98
  194. data/templates/rails/attachment/header_backdrop.png +0 -0
  195. data/templates/rails/attachment/logo.tiff +0 -0
  196. data/templates/rails/attachment/logotext.png +0 -0
  197. data/templates/rails/attachment/newpage.js +0 -41
  198. data/templates/rails/attachment/rss.png +0 -0
  199. data/templates/rails/banned_titles.txt +0 -31
  200. data/templates/rails/content/All%20News.textile +0 -9
  201. data/templates/rails/content/Attached%20ruby%20logo.textile +0 -1
  202. data/templates/rails/content/Attached%20test%20thing.textile +0 -1
  203. data/templates/rails/content/Author.textile +0 -12
  204. data/templates/rails/content/Automatic%20Summaries.textile +0 -77
  205. data/templates/rails/content/Automatic%20linking%20between%20pages.textile +0 -5
  206. data/templates/rails/content/Bug%3A%20%5BFATAL%5D%20When%20renaming%20upload%20%2F%20picture%2.textile +0 -1
  207. data/templates/rails/content/Bug%3A%20Automatic%20link%20links%20to%20stuff%20inside%20%3Chtml.textile +0 -1
  208. data/templates/rails/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +0 -1
  209. data/templates/rails/content/Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20appear.textile +0 -1
  210. data/templates/rails/content/Bug%3A%20External%20links%20incorrectly%20include%20trailing%20pu.textile +0 -1
  211. data/templates/rails/content/Bug%3A%20GEM%20limits%20title%20lengths.textile +0 -1
  212. data/templates/rails/content/Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%2.textile +0 -1
  213. data/templates/rails/content/Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%20new%20.textile +0 -1
  214. data/templates/rails/content/Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +0 -1
  215. data/templates/rails/content/Bug%3A%20Page%20titles%20cannot%20have%20html%20tags%20in%20them.textile +0 -1
  216. data/templates/rails/content/Bug%3A%20Punctuation%20in%20page%20titles%20still%20problematic.textile +0 -7
  217. data/templates/rails/content/Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%28not%20.textile +0 -1
  218. data/templates/rails/content/Bug%3A%20Search%20box%20width%20does%20not%20match%20column%20wid.textile +0 -1
  219. data/templates/rails/content/Bug%3A%20Search%20includes%20leading%20and%20trailing%20spaces.textile +0 -1
  220. data/templates/rails/content/Bug%3A%20Search%20inluced%20leading%20and%20trailing%20spaces.textile +0 -1
  221. data/templates/rails/content/Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +0 -1
  222. data/templates/rails/content/Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in.textile +0 -1
  223. data/templates/rails/content/Bug%3A%20Uploads%20are%20not%20password%20protected.textile +0 -3
  224. data/templates/rails/content/Bug%3A%20no%20superclass%20method%20%60%5Fdeprecated%5Fbase64.textile +0 -1
  225. data/templates/rails/content/Bug%3A%20notextile%20does%20not%20prevent%20page%20inserts.textile +0 -1
  226. data/templates/rails/content/Fixed%20Bug%3A%20%5BFATAL%5D%20When%20renaming%20upload%20%2F%20p.textile +0 -34
  227. data/templates/rails/content/Fixed%20Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20.textile +0 -3
  228. data/templates/rails/content/Fixed%20Bug%3A%20External%20links%20incorrectly%20include%20trail.textile +0 -3
  229. data/templates/rails/content/Fixed%20Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20lin.textile +0 -13
  230. data/templates/rails/content/Fixed%20Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%.textile +0 -9
  231. data/templates/rails/content/Fixed%20Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +0 -4
  232. data/templates/rails/content/Fixed%20Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%.textile +0 -15
  233. data/templates/rails/content/Fixed%20Bug%3A%20Search%20box%20width%20does%20not%20match%20colu.textile +0 -3
  234. data/templates/rails/content/Fixed%20Bug%3A%20Search%20includes%20leading%20and%20trailing%20s.textile +0 -3
  235. data/templates/rails/content/Fixed%20Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +0 -3
  236. data/templates/rails/content/Fixed%20Bug%3A%20Symbols%20are%20not%20always%20correctly%20rende.textile +0 -5
  237. data/templates/rails/content/Fixed%20Bug%3A%20no%20superclass%20method%20%60%5Fdeprecated%5Fba.textile +0 -3
  238. data/templates/rails/content/Home%20Page.textile +0 -19
  239. data/templates/rails/content/How%20to%20administrate%20this%20wiki.textile +0 -62
  240. data/templates/rails/content/How%20to%20change%20the%20way%20this%20wiki%20looks.textile +0 -30
  241. data/templates/rails/content/How%20to%20export%20a%20site%20from%20this%20wiki.textile +0 -60
  242. data/templates/rails/content/How%20to%20hack%20soks.textile +0 -61
  243. data/templates/rails/content/How%20to%20import%20a%20site%20from%20instiki.textile +0 -13
  244. data/templates/rails/content/How%20to%20install%20Soks.textile +0 -27
  245. data/templates/rails/content/How%20to%20report%20a%20bug.textile +0 -8
  246. data/templates/rails/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +0 -13
  247. data/templates/rails/content/How%20to%20use%20this%20wiki.textile +0 -27
  248. data/templates/rails/content/Instructions%20and%20Howtos.textile +0 -18
  249. data/templates/rails/content/Known%20bugs.textile +0 -15
  250. data/templates/rails/content/Latest%20News.textile +0 -9
  251. data/templates/rails/content/List%20of%20changes.textile +0 -67
  252. data/templates/rails/content/Picture%20of%20Type%20a%20title%20here.textile +0 -1
  253. data/templates/rails/content/Picture%20of%20a%20logo%20for%20the%20ruby%20language.textile +0 -1
  254. data/templates/rails/content/Picture%20of%20a%20pair%20of%20soks.textile +0 -1
  255. data/templates/rails/content/Picture%20of%20powered%20by%20ruby%20logo.textile +0 -1
  256. data/templates/rails/content/Planned%20Features.textile +0 -19
  257. data/templates/rails/content/README.textile +0 -63
  258. data/templates/rails/content/RSS%20feed.textile +0 -7
  259. data/templates/rails/content/Recent%20Blog%20Entries.textile +0 -5
  260. data/templates/rails/content/Recent%20Changes%20to%20This%20Site.textile +0 -211
  261. data/templates/rails/content/Recent%20News.textile +0 -9
  262. data/templates/rails/content/Ruby.textile +0 -9
  263. data/templates/rails/content/SOKS%20features.textile +0 -16
  264. data/templates/rails/content/Site%20Index.textile +0 -60
  265. data/templates/rails/content/Soks%20Licence.textile +0 -64
  266. data/templates/rails/content/fixed%20bug%3A%20automatic%20link%20links%20to%20stuff%20inside%2.textile +0 -3
  267. data/templates/rails/content/let%20me%20know.textile +0 -1
  268. data/templates/rails/content/sandbox.textile +0 -2
  269. data/templates/rails/content/tamc2.textile +0 -1
  270. data/templates/rails/content/test%20page.textile +0 -1
  271. data/templates/rails/start.rb +0 -113
  272. data/templates/rails/version.txt +0 -1
  273. data/templates/rails/views/Page_content.rhtml +0 -1
  274. data/templates/rails/views/Page_edit.rhtml +0 -61
  275. data/templates/rails/views/Page_meta.rhtml +0 -38
  276. data/templates/rails/views/Page_print.rhtml +0 -6
  277. data/templates/rails/views/Page_revisions.rhtml +0 -19
  278. data/templates/rails/views/Page_rss.rhtml +0 -55
  279. data/templates/rails/views/Page_search_results.rhtml +0 -19
  280. data/templates/rails/views/Page_view.rhtml +0 -3
  281. data/templates/rails/views/UploadPage_edit.rhtml +0 -38
  282. data/templates/rails/views/frame.rhtml +0 -60
  283. data/templates/rails/views/messages.yaml +0 -6
  284. /data/templates/default/attachment/{logo_thumb.bmp → tiny-logo thumb.bmp} +0 -0
@@ -1,199 +0,0 @@
1
- #Container {
2
- float: none;
3
- margin: 0 auto;
4
- text-align: center;
5
- }
6
-
7
- #Content {
8
- margin: 0;
9
- padding: 5px;
10
- text-align: left;
11
- border-top: none;
12
- float: left;
13
- }
14
-
15
- body { background-color: #fff; color: #333; }
16
-
17
- body, p, ol, ul, td {
18
- font-family: verdana, arial, helvetica, sans-serif;
19
- font-size: 13px;
20
- line-height: 18px;
21
- }
22
-
23
- a { color: #000; }
24
-
25
- .newWikiWord { background-color: #eee; }
26
- .newWikiWord a:hover { background-color: white; }
27
-
28
- a:visited { color: #666; }
29
- a:hover { color: #fff; background-color:#000; }
30
-
31
- /* a.edit:link, a.edit:visited { color: #DA0006; } */
32
-
33
-
34
- h1, h2, h3 { color: #333; font-family: georgia, verdana; }
35
- h1 { font-size: 28px }
36
- h2 { font-size: 19px }
37
- h3 { font-size: 16px }
38
-
39
- h1#pageName {
40
- margin: 5px 0px 0px 0px;
41
- padding: 0px 0px 0px 0px;
42
- line-height: 28px;
43
- }
44
-
45
- h1#pageName small {
46
- color: grey;
47
- line-height: 10px;
48
- font-size: 10px;
49
- padding: 0px;
50
- }
51
-
52
- a.nav, a.nav:link, a.nav:visited { color: #000; }
53
- a.nav:hover { color: #fff; background-color:#000; }
54
-
55
- li { margin-bottom: 7px }
56
-
57
- .navigation {
58
- margin-top: 5px;
59
- font-size : 12px;
60
- color: #999;
61
- }
62
-
63
- .navigation a:hover { color: #fff; background-color:#000; }
64
-
65
- .navigation a {
66
- font-size: 11px;
67
- color: black;
68
- font-weight: bold;
69
- }
70
-
71
- .navigation small a {
72
- font-weight: normal;
73
- font-size: 11px;
74
- }
75
-
76
- .navOn{
77
- font-size: 11px;
78
- color: grey;
79
- font-weight: bold;
80
- text-decoration: none;
81
- }
82
-
83
- .help {
84
- font-family: verdana, arial, helvetica, sans-serif;
85
- font-size: 11px;
86
- }
87
-
88
- .inputBox {
89
- font-family: verdana, arial, helvetica, sans-serif;
90
- font-size: 11px;
91
- background-color: #eee;
92
- padding: 5px;
93
- margin-bottom: 20px;
94
- }
95
-
96
- blockquote {
97
- display: block;
98
- margin: 0px 0px 20px 0px;
99
- padding: 0px 30px;
100
- font-size:11px;
101
- line-height:17px;
102
- font-style: italic;
103
- }
104
-
105
- pre {
106
- background-color: #eee;
107
- padding: 10px;
108
- font-size: 11px;
109
- }
110
-
111
- ol.setup {
112
- font-size: 19px;
113
- font-family: georgia, verdana;
114
- padding-left: 25px;
115
- }
116
-
117
- ol.setup li {
118
- margin-bottom: 20px
119
- }
120
-
121
- .byline {
122
- font-size: 10px;
123
- font-style: italic;
124
- margin-bottom: 10px;
125
- color: #999;
126
- }
127
-
128
- .references {
129
- font-size: 10px;
130
- }
131
-
132
- .diffdel {
133
- background: pink;
134
- }
135
-
136
- .diffins {
137
- background: lightgreen;
138
- }
139
-
140
- #TextileHelp table {
141
- margin-bottom: 0;
142
- }
143
-
144
- #TextileHelp table+h3 {
145
- margin-top: 11px;
146
- }
147
-
148
- #TextileHelp table td {
149
- font-size: 11px;
150
- padding: 3px;
151
- vertical-align: top;
152
- border-top: 1px dotted #ccc;
153
- }
154
-
155
- #TextileHelp table td.arrow {
156
- padding-right: 5px;
157
- padding-left: 10px;
158
- color: #999;
159
- }
160
-
161
- #TextileHelp table td.label {
162
- font-weight: bold;
163
- white-space: nowrap;
164
- font-size: 10px;
165
- padding-right: 15px;
166
- color: #000;
167
- }
168
-
169
- #TextileHelp h3 {
170
- font-size: 11px;
171
- font-weight: bold;
172
- font-weight: normal;
173
- margin: 0 0 5px 0;
174
- padding: 5px 0 0 0;
175
- }
176
-
177
- #TextileHelp p {
178
- font-size: 10px;
179
- }
180
-
181
- .rightHandSide {
182
- float: right;
183
- width: 147px;
184
- margin-left: 10px;
185
- padding-left: 20px;
186
- border-left: 1px dotted #ccc;
187
- }
188
-
189
- .rightHandSide p {
190
- font-size: 10px;
191
- }
192
-
193
- .newsList {
194
- margin-top: 20px;
195
- }
196
-
197
- .newsList p {
198
- margin-bottom:30px
199
- }
Binary file
@@ -1,41 +0,0 @@
1
- function trim(str)
2
- {
3
- return str.replace(/^\s+/,'').replace(/\s+$/,'');
4
- }
5
-
6
- function editSelected()
7
- {
8
- if (window.getSelection)
9
- {
10
- txt = window.getSelection();
11
- }
12
- else if (document.getSelection)
13
- {
14
- txt = document.getSelection();
15
- }
16
- else if (document.selection)
17
- {
18
- txt = document.selection.createRange().text;
19
- }
20
- if(!txt){
21
- void(txt=prompt('Please enter the title of the page you wish to create',''))
22
- }
23
- if(txt){
24
- window.location = '/edit/'+escape(trim(txt))
25
- }
26
- }
27
-
28
- function hotkey( event )
29
- {
30
- event = (event) ? event : ((window.event) ? event : null);
31
- if (event)
32
- {
33
- if (event.ctrlKey )
34
- {
35
- var charCode = (event.charCode) ? event.charCode : ((event.which) ? event.which : event.keyCode);
36
- if (charCode == 14 ) {
37
- editSelected();
38
- }
39
- }
40
- }
41
- }
Binary file
@@ -1,31 +0,0 @@
1
- # Each line contains a title that will NOT be automatically linked in the wiki (can still be manually linked)
2
- the
3
- of
4
- and
5
- a
6
- to
7
- in
8
- is
9
- that
10
- it
11
- was
12
- he
13
- for
14
- as
15
- on
16
- with
17
- his
18
- be
19
- at
20
- you
21
- I
22
- are
23
- this
24
- by
25
- from
26
- had
27
- have
28
- they
29
- not
30
- or
31
- one
@@ -1,9 +0,0 @@
1
- h2. All News
2
-
3
- p{font-size: x-small;}. All News was created automatically from pages whose title matches /^News:/i.
4
-
5
- <automaticsummary>
6
-
7
- No pages found to summarise
8
-
9
- </automaticsummary>
@@ -1 +0,0 @@
1
- page deleted
@@ -1 +0,0 @@
1
- content moved to [[Attached ruby logo]]
@@ -1,12 +0,0 @@
1
- h1. The Author
2
-
3
- Soks was written by Tom Counsell. He can be reached at tamc@rubyforge.org.
4
-
5
- Further details can be found at http://tom.counsell.org.
6
-
7
- h2. Thanks to
8
-
9
- * Sebastien Clediere for a patch to fix uploads on windows
10
- * _why for the RedCloth library
11
- * Austin Ziegler for the Diff:LCS library
12
- * Matz and ruby-core for the ruby language
@@ -1,77 +0,0 @@
1
- h1. Automatic Summaries
2
-
3
- Any class can register to be notified of changes to the wiki by:
4
- <code>
5
- @wiki.watch_for( :page_created ) { |event, page, revision| do whatever you want }
6
- @wiki.watch_for( :page_revised ) { |event, page, revision| do whatever you want }
7
- @wiki.watch_for( :page_deleted ) { |event, page, revision| do whatever you want }
8
- </code>
9
-
10
- These notifications are sent by a separate low priority thread from the one that is interacting with the user. Using these notifications a class can make changes to the wiki by calling:
11
- <code>
12
- @wiki.revise( pagename, newcontent, author )
13
- </code>
14
-
15
- In soks-helpers.rb you will find some classes that make use of this api. One particular one is the AutomaticSummary class. This watches for changes to the wiki, and if the page that is changed matches a given regexp, adds it to a summary page.
16
-
17
- It has quite a powerful set of settings, defaults are:
18
- <code>
19
- DEFAULT_SETTINGS = {
20
- :regexp_for_title => /.*/, # These three regexps act as an AND
21
- :regexp_for_author => nil,
22
- :regexp_for_content => nil,
23
- :max_pages_to_show => nil,
24
- :pagename => 'Summary',
25
- :author => 'AutomaticSummary',
26
- :lines_to_include => nil, # If nil then justs puts a link, otherwise includes X number of lines from the page in the summary
27
- :only_new_pages => false, # Otherwise includes changes
28
- :sort_pages_by => :created_on, # Could be :revised_on or :score or :name or :name_for_index, or :author
29
- :reverse_sort => false,
30
- :include_metadata => false, # If true includes author and time in summary
31
- :summarise_revisions => false, # If true, then can contain several revisions for same page
32
- :remove_deleted_pages => true, # If false will keep references to deleted pages
33
- }
34
- </code>
35
-
36
- Two examples of its use, included in the soks-helpers.rb file, are the Site Index and the Recent Changes page:
37
-
38
- <code>
39
- AutomaticSummary.new( wiki, {
40
- :regexp_for_title => /.*/ # Match all pages
41
- :pagename => 'Site Index',
42
- :author => 'Automatic Site Indexer',
43
- :only_new_pages => true,
44
- :sort_pages_by => :name_for_index,
45
- } )
46
- </code>
47
-
48
- <code>
49
- AutomaticSummary.new( wiki, {
50
- :regexp_for_title => /.*/ # Match all pages
51
- :pagename => 'Recent Changes',
52
- :author => 'Automatic Recent Changes',
53
- :only_new_pages => false,
54
- :sort_pages_by => :revised_on,
55
- :include_metadata => true,
56
- :summarise_revisions => true,
57
- :reverse_sort => true,
58
- :remove_deleted_pages => false,
59
- })
60
- </code>
61
-
62
- You might also use it to construct a basic blog class:
63
- <code>
64
- AutomaticSummary.new( wiki, {
65
- :regexp_for_title => /^Blog:.*/ # Match all pages starting with blog
66
- :pagename => 'Recent Blog Entries',
67
- :author => 'Automatic Blog Watcher',
68
- :max_pages_to_show => 10 # Only show the ten most recent blogs
69
- :lines_to_include => 20 # Show the first 20 lines of each blog entry
70
- :only_new_pages =>true,
71
- :sort_pages_by => :created_on,
72
- :include_metadata => true,
73
- :reverse_sort => true,
74
- })
75
- </code>
76
-
77
- If you have any other ideas or examples, please add them here
@@ -1,5 +0,0 @@
1
- h1. Automatic linking between pages
2
-
3
- Any reference to the title of another page in the wiki will be automatically linked. e.g. home page is linked to the home page.
4
-
5
- The links are made left to right, top to bottom, with the longest possible link made at any given time.
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: [FATAL] When renaming upload / picture pages]]
@@ -1 +0,0 @@
1
- content moved to [[Fixed bug: automatic link links to stuff inside <html> tags]]
@@ -1 +0,0 @@
1
- Currently tells the browser to not cache any page. This is wasteful of bandwidth and increases server load. Should handle the if-modified-since request headers to return 'not modified' messages instead.
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: Duplicate links-to a page sometimes appear]]
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: External links incorrectly include trailing punctuation]]
@@ -1 +0,0 @@
1
- It seems that Ruby GEM limits filename lengths, which means there is a limit on title lengths. I am unclear what the limit for filename length is? and how this varies by platform?
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: In a list of links, the last link is sometimes not linked]]
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: Inserted pages are not refreshed when new autolinks are made]]
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: No robots.txt or favicon.ico]]
@@ -1,7 +0,0 @@
1
- Not sure if this is general, but if using apache to proxy forward onto the webrick server (as occurs on http://soks.counsell.org ), punctuation in the title sometimes stops apache from forwarding the request.
2
-
3
- E.g. Bug: [FATAL] When renaming upload / picture pages exists, but apache doesn't even pass the request
4
-
5
- To be specific:
6
-
7
- Slashes, and colons definitely work, quesion marks and square brackets definitely don't. Others sometimes work.
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: RSS feed shows oldest 15 revisions (not newest!)]]
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: Search box width does not match column width]]
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: Search includes leading and trailing spaces]]
@@ -1 +0,0 @@
1
- content moved to [[Bug: Search includes leading and trailing spaces]]
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: Site Index updates on every revision]]
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: Symbols are not always correctly rendered in html]]
@@ -1,3 +0,0 @@
1
- Anything uploaded to the website (e.g. pictures, or attached files) is not protected by any form of authentication.
2
-
3
- If anyone knows how to add authentication to the Webrick FileHandler then please let me know.
@@ -1 +0,0 @@
1
- content moved to [[Fixed Bug: no superclass method `_deprecated_base64]]
@@ -1 +0,0 @@
1
- Page inserts like @[ [insert other page]]@ should not insert another page if they are surrounded by notextile tags (or code, or pre?).
@@ -1,34 +0,0 @@
1
- Fixed in v-0-0-5
2
-
3
- <pre>
4
- ERROR NoMethodError: undefined method `pagename' for #<Wiki:0x2ae7c94c>
5
- /usr/local/lib/ruby/gems/1.8/gems/Soks-0.0.4/lib/soks-view.rb:441:in `send'
6
- /usr/local/lib/ruby/gems/1.8/gems/Soks-0.0.4/lib/soks-view.rb:441:in `method_missing'
7
- /usr/local/lib/ruby/gems/1.8/gems/Soks-0.0.4/lib/soks-view.rb:380:in `move'
8
- /usr/local/lib/ruby/gems/1.8/gems/Soks-0.0.4/lib/soks-servlet.rb:92:in `doUpload'
9
- /usr/local/lib/ruby/gems/1.8/gems/Soks-0.0.4/lib/soks-servlet.rb:34:in `send'
10
- /usr/local/lib/ruby/gems/1.8/gems/Soks-0.0.4/lib/soks-servlet.rb:34:in `service'
11
- /usr/local/lib/ruby/1.8/webrick/httpserver.rb:97:in `service'
12
- /usr/local/lib/ruby/1.8/webrick/httpserver.rb:58:in `run'
13
- /usr/local/lib/ruby/1.8/webrick/server.rb:153:in `start_thread'
14
- /usr/local/lib/ruby/1.8/webrick/server.rb:147:in `start'
15
- /usr/local/lib/ruby/1.8/webrick/server.rb:147:in `start_thread'
16
- /usr/local/lib/ruby/1.8/webrick/server.rb:97:in `start'
17
- /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `each'
18
- /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start'
19
- /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'
20
- /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'
21
- /usr/local/lib/ruby/gems/1.8/gems/Soks-0.0.4/lib/soks-servlet.rb:143:in `start_wiki'
22
- start.rb:26:in `start'
23
- </pre>
24
-
25
- Fix is that line 380 of Soks-view.rb should be changed from:
26
- <code>
27
- @wiki.revise( newpagename, "#{$MESSAGES[:content_moved_from]} [[#{pagename}]]", 'AutomaticPageMover')
28
- <code>
29
- To:
30
- <code>
31
- @wiki.revise( newpagename, "#{$MESSAGES[:content_moved_from]} [[#{oldpagename}]]", 'AutomaticPageMover')
32
- <code>
33
-
34
- Will fix in the next release
@@ -1,3 +0,0 @@
1
- On the right hand side of a page are normally links to other pages that link to this page. In some cases these might have several copies of the same link.
2
-
3
- Not seen this recently. May have been fixed when added the code to make sure two threads couldn't edit the same page at the same time.
@@ -1,3 +0,0 @@
1
- External links, such as www.slashdot.org incorrectly include trailing punctuation like the full stop on the end of this sentence: www.slashdot.org.
2
-
3
- Fixed in v-0-0-5.
@@ -1,13 +0,0 @@
1
- In a list of links, the last link is sometimes not linked.
2
-
3
- e.g: 'How to administrate this wiki' might not be linked in this list:
4
-
5
- * How to export a site from this wiki
6
- * How to hack soks
7
- * How to import a site from instiki
8
- * How to use this wiki
9
- * How to change the way this wiki looks
10
- * How to administrate this wiki
11
-
12
-
13
- Fixed in v0-0-4
@@ -1,9 +0,0 @@
1
- If page one inserts the content of page two using [ [ insert page two ]] then if the content of page two is changed, page one correctly updates. However, if a page three is created, and this is automatically linked from page two, it does not automatically trigger a refresh on page one.
2
-
3
- Solution is probably to modify /lib/soks-view.rb to put:
4
- <code>
5
- page.inserted_into.each { |page| refresh_redcloth( page ) }
6
- </code>
7
- On line 453, or somerwhere nearby in the refresh_redcloth method.
8
-
9
- Fixed in v0-0-4
@@ -1,4 +0,0 @@
1
- By default no robots.txt or favicon.ico (and no way of including favicon.ico at all?)
2
-
3
- Ok, as of v-0-0-5, these now re-direct to a robots.txt and or a favicon.ico file in the attachment directory. This seems ok for some browsers, but not for others.
4
-
@@ -1,15 +0,0 @@
1
- The RSS feed only includes 15 items (in order to meet with the standard as I understand it). Unfortunately when the number of revisions > 15 it only shows the oldest revisions. Dopey.
2
-
3
- Fixed in v0-0-4
4
-
5
- Fix is in templates/default/views/Page_rss.rhtml
6
-
7
- Replace
8
- <code>
9
- for revision in page.revisions
10
- </code>
11
-
12
- with
13
- <code>
14
- page.revisions.reverse_each do |revision|
15
- </code>
@@ -1,3 +0,0 @@
1
- The search box on the right does not match the width of the bar, making it look odd.
2
-
3
- Fixed in v0-0-4
@@ -1,3 +0,0 @@
1
- If there are any leading or trailing spaces in what is entered into the search box, then it assumes you actually wanted to search for them: e.g. Looks for 'soks ' rather than 'soks'.
2
-
3
- Fixed in v-0-0-5
@@ -1,3 +0,0 @@
1
- Recent Changes suggests that the Site Index updates on every revision, not just on page created or deleted.
2
-
3
- Not sure it does anymore? Maybe fixed? Hope so.
@@ -1,5 +0,0 @@
1
- Symbols are often incorrectly encoded in the textile to html conversion.
2
-
3
- Eg. > should be the same as <notextile>></notextile>
4
-
5
- Fixed in v0-0-4
@@ -1,3 +0,0 @@
1
- This occurs in at least ruby-1.8.1-r7 (gentoo), and can be fixed by updating to 1.8.2
2
-
3
- Hopefully this has been fixed in v-0-0-5 although I haven't checked on ruby 1.8.1
@@ -1,19 +0,0 @@
1
- h1. Congratulations, you have installed SOKS
2
-
3
- Welcome to Soks. It is yet another wiki, written in ruby. Please bear in mind that it is alpha, and therefore do not trust your mission critical sites to it. Please feel free to use and adapt, the soks licence is free and liberal (although if you feel like contributing towards a new mac for the author that would be apreciated).
4
-
5
- p{background:yellow;padding:10px;}. A limited selection of help and bug reports are included here. For more information, and to share experiences, please visit http://soks.counsell.org. If you are upgrading, you may wish to look at the list of changes.
6
-
7
- [[insert SOKS features]]
8
-
9
- [[insert Instructions and Howtos]]
10
-
11
- [[insert known bugs]]
12
-
13
- h2. Feedback
14
-
15
- * Please send me your feedback. tamc@rubyforge.com.
16
- * Or add to the list of known bugs.
17
- * To keep track of developments, you may wish to subscribe to the mailing list at http://rubyforge.org/projects/soks.
18
-
19
- [[insert picture of a pair of soks]]