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,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]]
@@ -1,62 +0,0 @@
1
- h1. Adjusting the settings
2
-
3
- Take a look at the start.rb file in your wiki folder. This can be used to change the settings such as port and url of this site, and to enable more advanced features such as calendars and automatic summaries.
4
-
5
- h2. To restart your wiki
6
-
7
- The soks-create-wiki.rb script will have created a folder in the directory in which you ran it (by default the folder is 'soks-wiki'). In that folder is a script 'start.rb' run it.
8
- <code>
9
- cd soks-wiki
10
- ruby start.rb
11
- </code>
12
-
13
- h2. To make your site accessible beyond localhost
14
-
15
- Open start.rb in your directory. Un-comment the lines
16
- <code>
17
- # :url => 'http://localhost:8000',
18
- # :port => 8000,
19
- </code>
20
- and replace them with the url and port you wish the wiki to run on.
21
-
22
- h2. To password protect your site.
23
-
24
- Open start.rb in your wiki directory. Un-comment and edit the authenticators section and edit the array. The format is [ [ first regexp to match against title, authenticator to use ], [ second regexp to match against title, authenticator to use ] .... ]. For example:
25
-
26
- # This matches against all the standard 'non editing commands' and doesn't ask for any authentication
27
- <code>[ %r{/(view|rss|print|find|meta)/.*}, WEBrick::HTTPAuth::NoAuthenticationRequired.new ]</code>
28
-
29
- # This doesn't permit any file or picture uploads
30
- <code>[ %r{/upload/.*}, WEBrick::HTTPAuth::NotPermitted.new ]</code>
31
-
32
- # This asks for a site wide password to edit or save changes to the home page
33
- <code>[ %r{/(edit|save)/home page}, WEBrick::HTTPAuth::SiteWidePassword.new('password','You need to enter the site wide password to edit the home page') ]</code>
34
-
35
- # This uses the standard WEBrick authentication system on any page whose name starts with private. The standard WEBrick authentication uses a database of usernames and passwords. See [[ Gnome's Guide => http://shogo.homelinux.org/~ysantoso/webrickguide/html/html_webrick.html ]] for details.
36
- <code>[ %r{/(view|edit|save)/private.*},WEBrick::HTTPAuth::BasicAuth.new( :UserDB => htpasswd, :Realm => realm ) ]</code>
37
-
38
- # This is the default. For any page it just asks for a username, but the password can be left blank.
39
- <code>[ %r{.*}, WEBrick::HTTPAuth::AskForUserName.new( 'No password, just enter a name') ]</code>
40
-
41
- Note a big bug is that viewing attached images and files is NOT password protected. If someone knows how to make WEBrick::HTTPServlet::FileHandler use an authenticator, please let me know.
42
-
43
- h2. To edit the default site settings used by soks-create-wiki.rb
44
-
45
- Edit template/start.rb in the directory where soks was installed.
46
-
47
- h2. To change how often the wiki checks the content directory for any changes.
48
-
49
- Open start.rb and add this to your CUSTOM_SETTINGS hash:
50
- <code>:check_files_every => 60, # Seconds</code>
51
-
52
- h2. To add a calendar and upcoming events page:
53
-
54
- Open start.rb and uncomment:
55
- <code>
56
- # calendar = AutomaticCalendar.new( wiki ) # Adds a series of calendar pages to the wiki
57
- # AutomaticUpcomingEvents.new( wiki, calendar ) # Creates a page with the next weeks events drawn from the calendar pages
58
- </code>
59
-
60
- h2. To add a page that summarises other pages:
61
-
62
- See Automatic summaries
@@ -1,30 +0,0 @@
1
- h1. Improving the style of this wiki
2
-
3
- If you develop any improvements to the layout and style of this wiki, and are willing to share, please send copies to me tamc@rubyforge.com (a zip of the view and attachment directory is probably the best method).
4
-
5
- h2. Changing the logo on the right
6
-
7
- The logo can be changed by replacing logo.tif in the in the attachment folder of the wiki you have created ( soks-wiki/attachment/logo.tif by default)
8
-
9
- h2. Changing the color scheme
10
-
11
- The stylesheet is stored in the attachment folder of the wiki you have created (soks-wiki/attachment/stylesheet.css by default).
12
-
13
- h2. Changing the html and layout
14
-
15
- The formatting of the wiki is stored in the views subdirectory of the folder in which the wiki was created (soks-wiki/views by default). These pages are all erb ( www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html ).
16
-
17
- The folder contains:
18
- * frame.rhtml - This is the bulk of the html and is used to wrap all pages except those ending in 'print' or 'rss'
19
- * Page_view.rhtml - This is the 'standard' viewing page
20
- * Page_edit.rhtml - This is the 'standard' editing page
21
- * Page_revisions.rhtml - This is the 'standard' revisions page
22
- * Page_rss.rhtml - This attempts to create a rss feed for changes to the page
23
-
24
- You can add a new type of view by creating a new file here ending in rthml, starting with Page and with _viewname in the middle. E.g. for a new sort of 'doublesize' view you could create Page_doublesize.rhtml. This would then be accessed by typing /doublesize/pagename as the url.
25
-
26
- Note that you must restart soks for changes to the template to take effect.
27
-
28
- h2. Changing the default styles for NEW wikis
29
-
30
- To change the style and layout of new wikis created using the soks-create-wiki.rb command, then edit the 'template' directory of wherever you installed soks.
@@ -1,60 +0,0 @@
1
- h1. How to export a site from this wiki
2
-
3
- The contents of this site are stored in flat files in the 'contents' folder of this wiki (soks-wiki/contents by default). They are the ones with the .textile ending. Should be pretty easy to transfer them to wherever you need.
4
-
5
- The authors, and change history of each page are stored in the same folder with a yaml extension. These are yaml'd files that contain many documents. Each document contains a single revision. Each revision is an array of [ revision number, changes, author, creation time ]. The changes is an array of change groups. Each change group is an array of changed lines. There may be several documents with the same revision number. The last document with a particular revision number is the 'definative' one.
6
-
7
- E.g. The saved copy of a page titled Hello World would be two files:
8
- # Hello%20World.textile
9
- # Hello%20World.yaml
10
-
11
- Hello%20World.textile might contain:
12
- <pre>
13
- h1. Hello world
14
-
15
- What a beautiful world
16
- </pre>
17
-
18
- Hello%20World.yaml might contain
19
- <pre>
20
- --- # Start of document
21
- - 0 # Revision number
22
- - tamc # Revision author
23
- - 2005-01-23 22:53:11.081896 +00:00 # Revision time
24
- - # Array of change groups
25
- - # Array of changes
26
- - # Each change is an array
27
- - "+" # Add or delete
28
- - 0 # Line number
29
- - h1. Hello george # What the line is
30
- ---
31
- - 0 # If a new revision is made by the same author within 30 minutes the revision number is not increased. This is the definitive revision 0, the previous one should be ignored.
32
- - tamc
33
- - 2005-01-23 22:55:11.081896 +00:00
34
- -
35
- -
36
- -
37
- - "-"
38
- - 0
39
- - h1. Hello george
40
- -
41
- - "+"
42
- - 0
43
- - h1. Hello world
44
- -
45
- ---
46
- - 0
47
- - tamc
48
- - 2005-01-23 22:55:11.081896 +00:00
49
- -
50
- -
51
- -
52
- - "+"
53
- - 1
54
- - ""
55
- -
56
- - "+"
57
- - 2
58
- - What a beautiful world
59
- -
60
- </pre>
@@ -1,61 +0,0 @@
1
- h1. How to hack soks
2
-
3
- Here are some pointers to help you figure out where to make whatever changes and improvements you desire. The soks licence is liberal, so please do whatever you want, but I would appreciate if you sent me any improvements you make ( tamc@rubyforge.com ).
4
-
5
- * bin - contains the soks-create-wiki.rb file
6
- * contrib - contains code from other people. Currently Redcloth and Diff:LCS
7
- * lib - contains the soks code
8
- * template - contains the defaults used by soks-create-wiki.rb when creating a new wiki. This folder is copied over, and the show.rb template filled out.
9
-
10
- h2. template
11
-
12
- * show.rb - contains the default ruby file used by soks-create-wiki.rb, this is written using erb
13
- * attachments - contains the stuff that will be statically loaded when running a wiki, such as images and stylesheets. In particular you may want to replace logo.png
14
- * views - contains the default templates see Improving the style of this wiki for a few notes on this
15
- * content - contains the initial content for the wiki. The .textile files are flatfile text files containing the textile for a page. The title of the page is the filename (and has usually been url_encoded). Any .yaml files in here contain arrays containing the change history of the page
16
-
17
- h2. lib
18
-
19
- * soks.rb - Just requires all the other files
20
- * soks-utils.rb - Contains various utility classes, EventQueue, Notify and some extensions to String to url_encode and decode
21
- * soks-storage.rb - Contains a module which is mixed into the Wiki class to allow it to be saved
22
- * soks-model.rb - Contains the model of the wiki: Wiki, Page and Revision
23
- * soks-view.rb - Contains the classes that turn the wiki into html: View, WikiRedCloth, Links, RollingMatch
24
- * soks-servlet.rb - Contains the webrick server that passes commands to and from the View object
25
- * soks-helpers.rb - Contains optional classes that a Wiki can load to provide added functionality. These are called when changes are made to the site. They include: AutomaticUpdateCrossLinks, AutomaticRecentChanges, AutomaticOnePageIndex, AutomaticMultiPageIndex, AutomaticSummary, AutomaticCalendar and AutomaticUpcomingEvents.
26
- * authenticators.rb - Contains some extra authenticators to extend those already provided by Webrick. Namely NotAuthentication and OnePasswordAuthentication
27
-
28
- h3. soks-utils.rb
29
-
30
- * Notify - This is an improvement on the Observable mix-in.
31
- * EventQueue - This is used by Notify to inform observers in sequence of an event taking place, while allowing the original triggering class to continue.
32
-
33
- h3. soks-model.rb
34
-
35
- A Wiki class has many Page classes which have many Revision classes. ImagePage and AttachmentPage are subclasses of Page that return different textile.
36
-
37
- The Wiki class decides what type of page to create based on its name. All AttachmentPage pages have names that start with 'Attached ', all ImagePage pages have names that start with 'Picture of'. This is defined in the @page_classes instance variable of the Wiki class.
38
-
39
- The Wiki loads all the pages from file into a hash. When pages are changed it writes a copy to disk immediately. It has a thread that watches the disk for any changes to the files.
40
-
41
- h3. soks-view.rb
42
-
43
- The View object does the business. It is called by the soks-servlet, and then proceeds to call an appropriate method on the Wiki model. It may then Notify any observing AutomaticHelpers of any changes, before proceeding to render the html. This rendering happens in two places: First the Page.textile is turned into html by WikiRedCloth. then an appropriate ERB file is loaded and called.
44
-
45
- The WikiRedCloth overrides the to_html method of redcloth to add a number of methods that do the automatic page insertion and automatic linking. The automatic linking is actually carried out in the RollingMatch class. A record of the links between pages is kept in the Links class and then written to each page object. Currently Redcloth 3.0.1 seems to have lots of stack overflows, so Redcloth 2.0.11 is used.
46
-
47
- The ERB files are loaded from disk. The appropriate erb file is selected by looking for the pattern ClassName_viewname.rhtml (e.g. Page_edit.rhtml). If that page doesn't exist then the process is repeated with the Page's superclass. The ERB files are cached.
48
-
49
- h3. soks-servlet.rb
50
-
51
- This runs a Webrick server to interact with the user. There is a $SETTINGS global that contains most of the important settings, and a start_wiki method for setting them and triggering the server to start. The server can be stopped by sending an interupt (ctrl-c).
52
-
53
- The server has two handlers, a WEBrick::HTTPServlet::FileHandler for doing the dynamic content (which is attached to any url starting in /attachment/) and a WikiServlet for the dynamic content.
54
-
55
- The WikiServlet service method takes a look at the request url. If it is '/' it redirects to '/view/Home Page'. If it only has one slash in it (e.g. '/Home Page') then it assumes that it is equivalent to '/view/Home Page'. If it has two or more slashes in it (e.g. '/edit/Home Page' ) then it splits the url into a command ('edit') and the rest ('Home Page'). If the WikiServlet responds to doCommand (e.g. doEdit) then control is passed to that method. Otherwise it is assumed the command is the name of a view (e.g. 'print') and is therefore passed as is to the View object.
56
-
57
- The WikiServlet deals with file uploads by separately writing the uploaded file to the 'attachments' directory and also asking the 'View' object to create or revise an ImagePage object whose content is the filename of the uploaded file.
58
-
59
- h4. soks-helpers.rb
60
-
61
- These are a series of classes that may be optionally loaded by a wiki's start.rb script. They receive notifications of page changes from the View object and can use this information to update other pages in the wiki. See automatic summaries for a little more detail.
@@ -1,13 +0,0 @@
1
- h1. How to import a site from instiki
2
-
3
- [[ Instiki => www.instiki.org ]] is great, and was definitely an inspiration for this site. If, however, you wish to import a wiki from instiki to here then you need to:
4
-
5
- # Launch your instiki wiki
6
- # Go to 'export' and click on 'Markup (textile)'
7
- # Unzip the downloaded folder.
8
- # Create a soks wiki: <code>soks-create-wiki.rb</code>
9
- # Stop the wiki <code>ctrl-c</code>
10
- # Copy the contents of the downloaded folder (step 3) into soks-wiki/content
11
- # Start the wiki <code>ruby soks-wiki/start.rb</code>
12
-
13
- Your instiki content should then appear. Note that all the links still work, but that all the pages have their WikiWord names.
@@ -1,27 +0,0 @@
1
- h1. How to install Soks
2
-
3
- h2. Requirements
4
-
5
- Essential: Ruby 1.8.2 from http://www.ruby-lang.org/en/
6
- Preferred: Ruby Gems from http://rubyforge.org/projects/rubygems/
7
-
8
- h2. The easy install
9
-
10
- If you have ruby gems, type:
11
- <code>
12
- gem install Soks
13
- soks-create-wiki.rb
14
- </code>
15
-
16
- ...and then surf to http://localhost:8000
17
-
18
- h2. The harder install
19
-
20
- Download the latest version of Soks from http://rubyforge.org/frs/?group_id=481
21
-
22
- <code>
23
- tar -xvzf Soks-0.0.3.tgz
24
- ruby Soks-0.0.3/bin/soks-create-wiki.rb
25
- </code>
26
-
27
- ...and then surf to http://localhost:8000
@@ -1,8 +0,0 @@
1
- h1. How to report a bug
2
-
3
- I really appreciate bug reports.
4
-
5
- Please go to http://soks.counsell.org and create a new page whose title starts with bug:, e.g. @bug: does not make tea@.
6
-
7
- In that page, please give as much information as you can and leave some contact details.
8
-
@@ -1,13 +0,0 @@
1
- h1. Keyboard Shortcuts
2
-
3
- Soks has a number of keyboard short cuts. Depending on your browser, only some of them will work:
4
-
5
- * ctrl-n : New page. Will use whatever text you had selected as the title of the new page (definitely only works on a few browsers)
6
- * ctrl-e: Edit page, and if you are editing:
7
- ** ctrl-s saves the page
8
- ** ctrl-c cancels the editing
9
- ** ctrl-u undos the previous edit
10
- ** ctrl-a shows all the previous changes
11
- * ctrl-h: Home page
12
- * ctrl-i: Site Index
13
- * ctrl-r: Recent changes to this site
@@ -1,27 +0,0 @@
1
- h1. Pointers on how to use this wiki
2
-
3
- h2. Adding Pages
4
-
5
- There are several ways to add pages to soks:
6
- # Click on the 'add a new page'
7
- # Highlight the text on the page you wish to link from and press crtl-n[1]
8
- # Type the title of the page you wish to create and click search, there will be a link to create the page at the bottom of the search results.
9
- # As you are editing a page, put the title of a new page in square brackets like this: <notextile>[[ title of the new page ]]</notextile>. When you save the page, a link will be created that permits you to create a new page.
10
-
11
- Yes, this means it is very easy to create orphaned pages. No I don't think this is a problem, because there is a site index.
12
-
13
- fn1. This only works on some browsers. It doesn't seem to work on Mac Firefox or Mac OmniWeb. It does on Mac Safari. Please report your successes and failures.
14
-
15
- h2. Editing Pages
16
-
17
- * To edit a page, click edit this page at the bottom of the page.
18
- * The pages are written in textile. A reference is at http://hobix.com/textile/quick.html
19
- * Links to other pages within this wiki, and to web addresses, and to e-mail addresses, happen automatically
20
- * To force a link put it inside double square brackets e.g. <notextile>[[a forced link]]</notextile>
21
- * To alias a link: <notextile> [[ a different name for </notextile>=><notextile> site index ]] </notextile>
22
- * To insert another page: <notextile>[ [ insert site index ]]</notextile>
23
- * This is particularly usefull if you want to insert a picture: <notextile>[ [ insert picture of the soks logo ]]</notextile>
24
-
25
- h2. Searching
26
-
27
- The search box on the right takes a single regexp.
@@ -1,18 +0,0 @@
1
- h2. Instructions and Howtos
2
-
3
- p{font-size: x-small;}. Instructions and Howtos was created automatically from pages whose title matches /^How to /i.
4
-
5
- <automaticsummary>
6
-
7
- * [[ How to administrate this wiki ]]
8
- * [[ How to change the way this wiki looks ]]
9
- * [[ How to export a site from this wiki ]]
10
- * [[ How to hack soks ]]
11
- * [[ How to import a site from instiki ]]
12
- * [[ How to install Soks ]]
13
- * [[ How to use the keyboard shortcuts ]]
14
- * [[ How to use this wiki ]]
15
- * [[ How to report a bug ]]
16
-
17
-
18
- </automaticsummary>
@@ -1,15 +0,0 @@
1
- h2. Known bugs
2
-
3
- p{font-size: x-small;}. Known bugs was created automatically from pages whose title matches /^Bug:/i.
4
-
5
- <automaticsummary>
6
-
7
- * [[ Bug: Does not make use of if-modified-since request headers ]] revised on 2005 Jan 25 18:23 by AutomaticImport
8
- * [[ Bug: Uploads are not password protected ]] revised on 2005 Jan 25 18:23 by AutomaticImport
9
- * [[ Bug: GEM limits title lengths ]] revised on 2005 Jan 26 08:55 by tamc2
10
- * [[ Bug: Punctuation in page titles still problematic ]] revised on 2005 Feb 12 10:08 by tamc2
11
- * [[ Bug: notextile does not prevent page inserts ]] revised on 2005 Feb 12 12:00 by tamc2
12
-
13
- </automaticsummary>
14
-
15
- How to report a bug
@@ -1,9 +0,0 @@
1
- h2. Latest News
2
-
3
- p{font-size: x-small;}. Latest 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,67 +0,0 @@
1
- h1. List of changes
2
-
3
- h2. Between v-0-0-5 and v-0-0-4
4
-
5
- h3. Features
6
-
7
- * Now uses Redcloth v3, and therefore can have some markdown styles as well as textile on the same page
8
- * Roughed up two more automatic helpers: rss2wiki that writes the content of a rss feed to a wiki page, and mail2wiki that watches an imap mailbox and adds any messages in it to the wiki. Both work, but are probably not ready for prime time.
9
- * Note I have removed the feature in v-0-0-4 that would merge any changes by the same author within 5 minutes, as it seemed to cause some confusion with end users.
10
-
11
- h3. Refactoring
12
-
13
- * Helpers have been moved to a separate sub directory
14
- * A module in soks-view that can be used by the erb template. Has functions for creating urls for pages. The default template has been updated to use this, but not the other templates.
15
-
16
- h3. Bug fixes
17
-
18
- * Fatal bug when renaming picture or attachment pages fixed.
19
- * References to urls no longer include trailing punctuation
20
- * Authenticators no longer call depreciated base64 method
21
- * Now has (partial) support for robots.txt and favicon.ico
22
- * Search box no longer treats leading and trailling spaces as significant
23
- * Returns a page not found rather than an exception if an unknown view type is requested
24
-
25
- h3. Bugs remaining
26
-
27
- * No authentication on pictures and attachments
28
- * Punctuation in page titles problematic. ? <> and [] cause problems. : and / are ok.
29
- * Insert page commands are not inhibited by notextile, pre or code tags
30
-
31
- h2. Between v-0-0-4 and v-0-0-3
32
-
33
- This was a bugfix release on v-0-0-3. Principally by adding locking code so two pages can't update the same page at the same time.
34
-
35
- h2. Between v-0-0-3 and v-0-0-2
36
-
37
- h3. Features
38
-
39
- * File format for revisions changed from marshalled array of revisions to a yaml'd array of strings and times. This should allow easier import/export.
40
- * Changes to the files on disk appear in the wiki (by default checks for changes on disk every 60 seconds) to allow external editing of the wiki.
41
- * New way of making new pages: highlight the text you wish to link and press crtl-n. This only works on some browsers.
42
- * RSS feed for changes made to any page (use the RSS feed on Recent Changes to be notified of all changes to the site, use the RSS feed on Site Index to be notified of new pages).
43
- * Added a WikiWord link for those that don't like to give out links with %20's in them. e.g. http://yoursite.com/wiki/HomePage redirects to http://yoursite.com/view/Home%20Page.
44
- * The automatic summary class has been extended to allow summary based on the page title, page author, or page content.
45
- * Different parts of the wiki, and different commands, can be authenticated differently based on regexps.
46
- * Kill list of words that will not be automatically linked (default set is the 30 most common English language words).
47
- * The soks-create-wiki command can now be interactive (or can use command line options including --help and --no-interaction). It also manages upgrades from the previous version of Soks.
48
- * There are some demo templates: default is the standard, rails looks a bit like www.rubyonrails.com and instiki which looks a bit like www.instiki.org.
49
- * A meta data view of a page. Clicking on the page's title on the top left of the screen brings up a list of the links from and too that page, and a list of the people who have contributed to the page.
50
-
51
- h3. Refactorings
52
-
53
- * The recent changes and site index helpers now use the automatic summary class.
54
- * The Wiki class now notifies other classes of changes to the site, including the View class.
55
- * The storage methods are now a module which is mixed into the wiki class.
56
-
57
- h3. Bug Fixes
58
-
59
- * Bug in uploads on windows fixed (thanks to Sebastien Clediere).
60
- * Bugs in accepting titles with punctuation fixed.
61
- * Bug in automatic summary fixed.
62
- * Logo changed from png to tif so that it is transparent on a wider selection of browsers.
63
-
64
- h3. Bugs remaining
65
-
66
- * No authentication on pictures and attachments
67
- * Lots of little faults with the textile to html conversion. Some due to the use of Redcloth v 2.0.11 (looking forward to a stable v3!) and some due to my inept subclassing.
@@ -1 +0,0 @@
1
- /attachment/logo.png
@@ -1 +0,0 @@
1
- content moved to [[Picture of a logo for the ruby language]]
@@ -1,19 +0,0 @@
1
- h1. Planned Features
2
-
3
- As an aside, in the longer term I'm hoping to incorporate some of the features of Soks into instiki, but in the mean time:
4
-
5
- No plan survives, so this has changed:
6
-
7
- h2. v0-0-6: Focus on quality
8
-
9
- # Improving the standard, beauty and quality of the included templates / skins / wiki looks
10
- # Refactoring to make the code easier to understand and hack
11
-
12
- h2. Desired Features
13
-
14
- Let me know if there is anything that you would like to see, or add it here:
15
-
16
- * Fast CGI or the like as an alternative to Webrick
17
- * Give each automaticsummary a unique name so several can update the same page
18
- * Some form of tag to automatically create automatic summaries.
19
- * Make the wiki fork, and give commands to gracefully start and top it.
@@ -1,63 +0,0 @@
1
- h1. SOKS: Another Ruby Wiki
2
-
3
- * This application is a Wiki (a system to allow the easy and collaborative editing of web pages).
4
- * The project has been kindly hosted at http://rubyforge.org/projects/soks/
5
-
6
- Quickstart:
7
- # gem install Soks
8
- # soks-create-wiki.rb
9
- # http://localhost:8000
10
-
11
- h2. REQUIRES
12
-
13
- * Ruby 1.8.2
14
- * A number of additional libraries are contained in contrib.
15
-
16
- h2. AUTHOR
17
-
18
- * This software is copyright (c) Thomas Counsell 2004, 2005. tamc@rubyforge.org
19
- * It is licensed under the Ruby Licence, a liberal open source licence. See LICENCE for more details.
20
-
21
- h2. INSTALL
22
-
23
- Preferably:
24
- # Install rubygems from http://rubyforge.org/projects/rubygems/
25
- # gem install Soks (you may need to be root first)
26
-
27
- Alternatively
28
- # Download the tar or zip file from http://rubyforge.org/projects/soks/
29
- # Unzip or untar it
30
- # Change into the soks directory
31
-
32
- h2. USE
33
-
34
- execute soks-create-wiki.rb (will be in your path if installed by gems, otherwise ./bin/soks-create-wiki.rb from the soks directory)
35
- This will create a folder called soks-wiki in the current directory and launch the wiki. Surfing to http://localhost:8000 to see it (it is initially accessible from localhost only)
36
-
37
- To restart the wiki change into the soks-wiki directory and execute ruby start.rb
38
-
39
- To change the settings (url, port, etc) edit the start.rb file in the soks-wiki directory.
40
-
41
- h2. FEATURES
42
-
43
- # Runs on its own webrick server (no independent web server required)
44
- # Uses textile as its text coding (a proto-standard)
45
- # Uses a combination of flat and yaml files for storage (no database, and page content human readable outside of soks)
46
- # Allows uploads
47
- # Allows authentication
48
- # Automatically links pages within the wiki
49
- # Pages can be deleted and moved easily (and these can be undone)
50
- # Has a mechanism for external classes to manipulate the wiki to provide, for instance, automatic calendar pages, or automatic summaries or blog like pages.
51
-
52
- h2. BUGS
53
-
54
- I suspect there are many, as befits its version number. In particular it has:
55
- * No authentication on pictures and attachments
56
- * Punctuation in page titles problematic. ? <> and [] cause problems. : and / are ok.
57
- * Insert page commands are not inhibited by notextile, pre or code tags
58
-
59
- h2. RELEASES
60
-
61
- # 2005 Feb 12 - soks-0.0.5 - Third public release (alpha)
62
- # 2005 Jan 24 - soks-0.0.4 - Second public release (alpha)
63
- # 2005 Jan 11 - soks-0.0.2 - First public release (alpha)
@@ -1,7 +0,0 @@
1
- h1. RSS Feed
2
-
3
- Each page has an rss feed accesses at the url /rss/pagename. This contains the last 15 revisions to a page.
4
-
5
- The rss currently only shows:
6
- * Changes to the textile (not html)
7
- * Added lines
@@ -1,5 +0,0 @@
1
- h2. Recent Blog Entries
2
-
3
- p{font-size: x-small;}. Recent Blog Entries was created automatically from pages whose title matches /^Blog:/i. Do not edit this page directly.
4
-
5
- No pages found to summarise