Soks 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. data/LICENSE.txt +7 -3
  2. data/README.txt +16 -21
  3. data/bin/soks-create-wiki.rb +3 -2
  4. data/contrib/redcloth-2.0.11.rb +1 -1
  5. data/lib/soks-helpers.rb +7 -4
  6. data/lib/soks-model.rb +17 -9
  7. data/lib/soks-storage.rb +55 -72
  8. data/lib/soks-view.rb +32 -87
  9. data/templates/default/attachment/stylesheet.css +7 -0
  10. data/templates/default/content/All%20News.textile +9 -0
  11. data/templates/default/content/Author.textile +12 -0
  12. data/templates/default/content/Automatic%20Summaries.textile +77 -0
  13. data/templates/default/content/Automatic%20linking%20between%20pages.textile +5 -0
  14. data/templates/default/content/Bug%3A%20Automatic%20link%20links%20to%20stuff%20inside%20%3Chtml.textile +1 -0
  15. data/templates/default/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +1 -0
  16. data/templates/default/content/Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20appear.textile +1 -0
  17. data/templates/default/content/Bug%3A%20External%20links%20incorrectly%20include%20trailing%20pu.textile +1 -0
  18. data/templates/default/content/Bug%3A%20GEM%20limits%20title%20lengths.textile +1 -0
  19. data/templates/default/content/Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%2.textile +1 -0
  20. data/templates/default/content/Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%20new%20.textile +1 -0
  21. data/templates/default/content/Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +1 -0
  22. data/templates/default/content/Bug%3A%20Page%20titles%20cannot%20have%20html%20tags%20in%20them.textile +1 -0
  23. data/templates/default/content/Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%28not%20.textile +1 -0
  24. data/templates/default/content/Bug%3A%20Search%20box%20width%20does%20not%20match%20column%20wid.textile +1 -0
  25. data/templates/default/content/Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +1 -0
  26. data/templates/default/content/Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in.textile +1 -0
  27. data/templates/default/content/{Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%20sometimes%20not%20linked.textile → Fixed%20Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20lin.textile} +3 -0
  28. data/templates/default/content/Fixed%20Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%.textile +9 -0
  29. data/templates/default/content/Fixed%20Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%.textile +15 -0
  30. data/templates/default/content/Fixed%20Bug%3A%20Search%20box%20width%20does%20not%20match%20colu.textile +3 -0
  31. data/templates/default/content/Fixed%20Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +3 -0
  32. data/templates/default/content/{Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in%20html.textile → Fixed%20Bug%3A%20Symbols%20are%20not%20always%20correctly%20rende.textile} +2 -0
  33. data/templates/default/content/Home%20Page.textile +19 -0
  34. data/templates/default/content/How%20to%20hack%20soks.textile +1 -1
  35. data/templates/default/content/How%20to%20install%20Soks.textile +27 -0
  36. data/templates/default/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +13 -0
  37. data/templates/default/content/How%20to%20use%20this%20wiki.textile +2 -2
  38. data/templates/default/content/Instructions%20and%20Howtos.textile +17 -0
  39. data/templates/default/content/Known%20bugs.textile +16 -0
  40. data/templates/default/content/Latest%20News.textile +9 -0
  41. data/templates/default/content/Picture%20of%20Type%20a%20title%20here.textile +1 -0
  42. data/templates/default/content/README.textile +61 -0
  43. data/templates/default/content/RSS%20feed.textile +7 -0
  44. data/templates/default/content/Recent%20Blog%20Entries.textile +5 -0
  45. data/templates/default/content/Recent%20Changes%20to%20This%20Site.textile +96 -0
  46. data/templates/default/content/Recent%20News.textile +9 -0
  47. data/templates/default/content/Ruby.textile +9 -0
  48. data/templates/default/content/SOKS%20features.textile +12 -0
  49. data/templates/default/content/Site%20Index.textile +55 -0
  50. data/templates/default/content/fixed%20bug%3A%20automatic%20link%20links%20to%20stuff%20inside%2.textile +3 -0
  51. data/templates/default/content/let%20me%20know.textile +1 -0
  52. data/templates/default/content/sandbox.textile +2 -0
  53. data/templates/default/content/tamc2.textile +1 -0
  54. data/templates/default/content/test%20page.textile +1 -0
  55. data/templates/default/start.rb +10 -4
  56. data/templates/default/version.txt +1 -1
  57. data/templates/default/views/Page_rss.rhtml +1 -1
  58. data/templates/default/views/frame.rhtml +3 -2
  59. data/templates/instiki/content/All%20News.textile +9 -0
  60. data/templates/instiki/content/Author.textile +12 -0
  61. data/templates/instiki/content/Automatic%20Summaries.textile +77 -0
  62. data/templates/instiki/content/Automatic%20linking%20between%20pages.textile +5 -0
  63. data/templates/instiki/content/Bug%3A%20Automatic%20link%20links%20to%20stuff%20inside%20%3Chtml.textile +1 -0
  64. data/templates/instiki/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +1 -0
  65. data/templates/instiki/content/Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20appear.textile +1 -0
  66. data/templates/instiki/content/Bug%3A%20External%20links%20incorrectly%20include%20trailing%20pu.textile +1 -0
  67. data/templates/instiki/content/Bug%3A%20GEM%20limits%20title%20lengths.textile +1 -0
  68. data/templates/instiki/content/Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%2.textile +1 -0
  69. data/templates/instiki/content/Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%20new%20.textile +1 -0
  70. data/templates/instiki/content/Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +1 -0
  71. data/templates/instiki/content/Bug%3A%20Page%20titles%20cannot%20have%20html%20tags%20in%20them.textile +1 -0
  72. data/templates/instiki/content/Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%28not%20.textile +1 -0
  73. data/templates/instiki/content/Bug%3A%20Search%20box%20width%20does%20not%20match%20column%20wid.textile +1 -0
  74. data/templates/instiki/content/Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +1 -0
  75. data/templates/instiki/content/Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in.textile +1 -0
  76. data/templates/instiki/content/Bug%3A%20Uploads%20are%20not%20password%20protected.textile +3 -0
  77. data/templates/instiki/content/Fixed%20Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20lin.textile +13 -0
  78. data/templates/instiki/content/Fixed%20Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%.textile +9 -0
  79. data/templates/instiki/content/Fixed%20Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%.textile +15 -0
  80. data/templates/instiki/content/Fixed%20Bug%3A%20Search%20box%20width%20does%20not%20match%20colu.textile +3 -0
  81. data/templates/instiki/content/Fixed%20Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +3 -0
  82. data/templates/instiki/content/Fixed%20Bug%3A%20Symbols%20are%20not%20always%20correctly%20rende.textile +5 -0
  83. data/templates/instiki/content/Home%20Page.textile +19 -0
  84. data/templates/instiki/content/How%20to%20hack%20soks.textile +1 -1
  85. data/templates/instiki/content/How%20to%20install%20Soks.textile +27 -0
  86. data/templates/instiki/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +13 -0
  87. data/templates/instiki/content/{Pointers%20on%20how%20to%20use%20this%20wiki.textile → How%20to%20use%20this%20wiki.textile} +2 -2
  88. data/templates/instiki/content/Instructions%20and%20Howtos.textile +17 -0
  89. data/templates/instiki/content/Known%20bugs.textile +14 -6
  90. data/templates/instiki/content/Latest%20News.textile +9 -0
  91. data/templates/instiki/content/List%20of%20changes.textile +2 -1
  92. data/templates/instiki/content/Picture%20of%20Type%20a%20title%20here.textile +1 -0
  93. data/templates/instiki/content/Picture%20of%20a%20pair%20of%20soks.textile +1 -1
  94. data/templates/instiki/content/README.textile +61 -0
  95. data/templates/instiki/content/RSS%20feed.textile +7 -0
  96. data/templates/instiki/content/Recent%20Blog%20Entries.textile +3 -1
  97. data/templates/instiki/content/Recent%20Changes%20to%20This%20Site.textile +95 -47
  98. data/templates/instiki/content/Recent%20News.textile +9 -0
  99. data/templates/instiki/content/Ruby.textile +9 -0
  100. data/templates/instiki/content/SOKS%20features.textile +12 -0
  101. data/templates/instiki/content/Site%20Index.textile +54 -15
  102. data/templates/instiki/content/fixed%20bug%3A%20automatic%20link%20links%20to%20stuff%20inside%2.textile +3 -0
  103. data/templates/instiki/content/let%20me%20know.textile +1 -0
  104. data/templates/instiki/content/sandbox.textile +2 -0
  105. data/templates/instiki/content/tamc2.textile +1 -0
  106. data/templates/instiki/content/test%20page.textile +1 -0
  107. data/templates/instiki/start.rb +27 -0
  108. data/templates/instiki/version.txt +1 -1
  109. data/templates/rails/content/All%20News.textile +9 -0
  110. data/templates/rails/content/Author.textile +12 -0
  111. data/templates/rails/content/Automatic%20Summaries.textile +77 -0
  112. data/templates/rails/content/Automatic%20linking%20between%20pages.textile +5 -0
  113. data/templates/rails/content/Bug%3A%20Automatic%20link%20links%20to%20stuff%20inside%20%3Chtml.textile +1 -0
  114. data/templates/rails/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +1 -0
  115. data/templates/rails/content/Bug%3A%20Duplicate%20links%2Dto%20a%20page%20sometimes%20appear.textile +1 -0
  116. data/templates/rails/content/Bug%3A%20External%20links%20incorrectly%20include%20trailing%20pu.textile +1 -0
  117. data/templates/rails/content/Bug%3A%20GEM%20limits%20title%20lengths.textile +1 -0
  118. data/templates/rails/content/Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20link%20is%2.textile +1 -0
  119. data/templates/rails/content/Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%20new%20.textile +1 -0
  120. data/templates/rails/content/Bug%3A%20No%20robots%2Etxt%20or%20favicon%2Eico.textile +1 -0
  121. data/templates/rails/content/Bug%3A%20Page%20titles%20cannot%20have%20html%20tags%20in%20them.textile +1 -0
  122. data/templates/rails/content/Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%28not%20.textile +1 -0
  123. data/templates/rails/content/Bug%3A%20Search%20box%20width%20does%20not%20match%20column%20wid.textile +1 -0
  124. data/templates/rails/content/Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +1 -0
  125. data/templates/rails/content/Bug%3A%20Symbols%20are%20not%20always%20correctly%20rendered%20in.textile +1 -0
  126. data/templates/rails/content/Bug%3A%20Uploads%20are%20not%20password%20protected.textile +3 -0
  127. data/templates/rails/content/Fixed%20Bug%3A%20In%20a%20list%20of%20links%2C%20the%20last%20lin.textile +13 -0
  128. data/templates/rails/content/Fixed%20Bug%3A%20Inserted%20pages%20are%20not%20refreshed%20when%.textile +9 -0
  129. data/templates/rails/content/Fixed%20Bug%3A%20RSS%20feed%20shows%20oldest%2015%20revisions%20%.textile +15 -0
  130. data/templates/rails/content/Fixed%20Bug%3A%20Search%20box%20width%20does%20not%20match%20colu.textile +3 -0
  131. data/templates/rails/content/Fixed%20Bug%3A%20Site%20Index%20updates%20on%20every%20revision.textile +3 -0
  132. data/templates/rails/content/Fixed%20Bug%3A%20Symbols%20are%20not%20always%20correctly%20rende.textile +5 -0
  133. data/templates/rails/content/Home%20Page.textile +19 -0
  134. data/templates/rails/content/How%20to%20hack%20soks.textile +1 -1
  135. data/templates/rails/content/How%20to%20install%20Soks.textile +27 -0
  136. data/templates/rails/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +13 -0
  137. data/templates/rails/content/{Pointers%20on%20how%20to%20use%20this%20wiki.textile → How%20to%20use%20this%20wiki.textile} +2 -2
  138. data/templates/rails/content/Instructions%20and%20Howtos.textile +17 -0
  139. data/templates/rails/content/Known%20bugs.textile +14 -6
  140. data/templates/rails/content/Latest%20News.textile +9 -0
  141. data/templates/rails/content/List%20of%20changes.textile +2 -1
  142. data/templates/rails/content/Picture%20of%20Type%20a%20title%20here.textile +1 -0
  143. data/templates/rails/content/Picture%20of%20a%20pair%20of%20soks.textile +1 -1
  144. data/templates/rails/content/README.textile +61 -0
  145. data/templates/rails/content/RSS%20feed.textile +7 -0
  146. data/templates/rails/content/Recent%20Blog%20Entries.textile +3 -1
  147. data/templates/rails/content/Recent%20Changes%20to%20This%20Site.textile +95 -47
  148. data/templates/rails/content/Recent%20News.textile +9 -0
  149. data/templates/rails/content/Ruby.textile +9 -0
  150. data/templates/rails/content/SOKS%20features.textile +12 -0
  151. data/templates/rails/content/Site%20Index.textile +54 -15
  152. data/templates/rails/content/fixed%20bug%3A%20automatic%20link%20links%20to%20stuff%20inside%2.textile +3 -0
  153. data/templates/rails/content/let%20me%20know.textile +1 -0
  154. data/templates/rails/content/sandbox.textile +2 -0
  155. data/templates/rails/content/tamc2.textile +1 -0
  156. data/templates/rails/content/test%20page.textile +1 -0
  157. data/templates/rails/start.rb +28 -0
  158. data/templates/rails/version.txt +1 -1
  159. metadata +132 -15
  160. data/templates/default/content/home%20page.textile +0 -17
  161. data/templates/instiki/content/AutomaticSummary.textile +0 -24
  162. data/templates/instiki/content/home%20page.textile +0 -23
  163. data/templates/rails/content/AutomaticSummary.textile +0 -24
  164. data/templates/rails/content/home%20page.textile +0 -23
  165. /data/templates/instiki/content/{Pointers%20on%20adjusting%20the%20settings.textile → How%20to%20administrate%20this%20wiki.textile} +0 -0
  166. /data/templates/instiki/content/{Improving%20the%20style%20of%20this%20wiki.textile → How%20to%20change%20the%20way%20this%20wiki%20looks.textile} +0 -0
  167. /data/templates/rails/content/{Pointers%20on%20adjusting%20the%20settings.textile → How%20to%20administrate%20this%20wiki.textile} +0 -0
  168. /data/templates/rails/content/{Improving%20the%20style%20of%20this%20wiki.textile → How%20to%20change%20the%20way%20this%20wiki%20looks.textile} +0 -0
@@ -0,0 +1,17 @@
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
+
16
+
17
+ </automaticsummary>
@@ -1,8 +1,16 @@
1
- h1. Known Bugs
1
+ h2. Known bugs
2
2
 
3
- _If you can fix any of the bugs here, please let me know. If you spot any more, please let me know._
3
+ p{font-size: x-small;}. Known bugs was created automatically from pages whose title matches /^Bug:/i.
4
4
 
5
- * Uploads are not password protected
6
- * Sometimes the last item in a list of links is not linked correctly
7
- * Sometimes entities such as > are not encoded correctly
8
-
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: Duplicate links-to a page sometimes appear ]] revised on 2005 Jan 25 18:23 by AutomaticImport
9
+ * [[ Bug: External links incorrectly include trailing punctuation ]] revised on 2005 Jan 25 18:23 by AutomaticImport
10
+ * [[ Bug: Uploads are not password protected ]] revised on 2005 Jan 25 18:23 by AutomaticImport
11
+ * [[ Bug: Page titles cannot have html tags in them ]] revised on 2005 Jan 26 08:11 by tamc2
12
+ * [[ Bug: No robots.txt or favicon.ico ]] revised on 2005 Jan 26 08:12 by tamc2
13
+ * [[ Bug: GEM limits title lengths ]] revised on 2005 Jan 26 08:55 by tamc2
14
+
15
+
16
+ </automaticsummary>
@@ -0,0 +1,9 @@
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,6 +1,6 @@
1
1
  h1. List of changes
2
2
 
3
- h2. Between v-0-1-0 and v-0-0-2
3
+ h2. Between v-0-0-3 and v-0-0-2
4
4
 
5
5
  h3. Features
6
6
 
@@ -14,6 +14,7 @@ h3. Features
14
14
  * Kill list of words that will not be automatically linked (default set is the 30 most common English language words).
15
15
  * 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.
16
16
  * 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.
17
+ * 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.
17
18
 
18
19
  h3. Refactorings
19
20
 
@@ -1 +1 @@
1
- /attachment/logo.tiff
1
+ /attachment/logo.png
@@ -0,0 +1,61 @@
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
+ 1. gem install Soks
8
+ 2. soks-create-wiki.rb
9
+ 3. 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
+ 1. Install rubygems from http://rubyforge.org/projects/rubygems/
25
+ 2. gem install Soks (you may need to be root first)
26
+
27
+ Alternatively
28
+ 1. Download the tar or zip file from http://rubyforge.org/projects/soks/
29
+ 2. Unzip or untar it
30
+ 3. 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
+ 1. Runs on its own webrick server (no independent web server required)
44
+ 2. Uses textile as its text coding (a proto-standard)
45
+ 3, Uses a combination of flat and yaml files for storage (no database, and page content human readable outside of soks)
46
+ 3. Allows uploads
47
+ 4. Allows authentication
48
+ 5. Automatically links pages within the wiki
49
+ 6. Pages can be deleted and moved easily (and these can be undone)
50
+ 7. 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
+ * Not got any way of securing pictures or attachments added to the wiki
56
+ * Uses RedCloth 2.0.11 which has some formatting bugs (and no doubt some extra ones introduced by my clumsy extentions). RedCloth 3.0.1 is included but not enabled because it tends to hit stack overflows frequently for me.
57
+
58
+ h2. RELEASES
59
+
60
+ 2005 Jan 24 - soks-0.0.3 - Second public release (alpha)
61
+ 2005 Jan 11 - soks-0.0.2 - First public release (alpha)
@@ -0,0 +1,7 @@
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,3 +1,5 @@
1
- h1. Recent Blog Entries
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.
2
4
 
3
5
  No pages found to summarise
@@ -1,48 +1,96 @@
1
- h1. Recent Changes to This Site
1
+ h2. Recent Changes to This Site
2
2
 
3
- * home page revised on 2005 Jan 23 23:27 by tamc2
4
- * home page revised on 2005 Jan 23 23:27 by tamc2
5
- * home page revised on 2005 Jan 23 23:26 by tamc2
6
- * home page revised on 2005 Jan 23 23:26 by tamc2
7
- * Picture of a pair of soks revised on 2005 Jan 23 23:25 by AutomaticImport
8
- * Picture of a pair of soks revised on 2005 Jan 23 23:24 by AutomaticImport
9
- * How to hack soks revised on 2005 Jan 23 23:23 by tamc2
10
- * How to export a site from this wiki revised on 2005 Jan 23 23:21 by tamc2
11
- * How to import a site from instiki revised on 2005 Jan 23 23:10 by tamc2
12
- * Site Index revised on 2005 Jan 23 23:10 by AutomaticIndex
13
- * AutomaticSummary revised on 2005 Jan 23 23:10 by tamc2
14
- * Pointers on adjusting the settings revised on 2005 Jan 23 23:04 by tamc2
15
- * Pointers on adjusting the settings revised on 2005 Jan 23 23:04 by tamc2
16
- * Pointers on adjusting the settings revised on 2005 Jan 23 23:03 by tamc2
17
- * Pointers on adjusting the settings revised on 2005 Jan 23 23:01 by tamc2
18
- * Pointers on adjusting the settings revised on 2005 Jan 23 22:59 by tamc2
19
- * Pointers on adjusting the settings revised on 2005 Jan 23 22:58 by tamc2
20
- * List of changes revised on 2005 Jan 23 22:48 by tamc2
21
- * Site Index revised on 2005 Jan 23 22:45 by AutomaticIndex
22
- * List of changes revised on 2005 Jan 23 22:45 by tamc2
23
- * home page revised on 2005 Jan 23 22:31 by tamc2
24
- * Site Index revised on 2005 Jan 23 22:30 by AutomaticIndex
25
- * Known bugs revised on 2005 Jan 23 22:30 by tamc2
26
- * home page revised on 2005 Jan 23 22:29 by tamc2
27
- * Improving the style of this wiki revised on 2005 Jan 23 22:21 by tamc2
28
- * Pointers on how to use this wiki revised on 2005 Jan 23 22:20 by tamc2
29
- * Pointers on how to use this wiki revised on 2005 Jan 23 22:20 by tamc2
30
- * Pointers on how to use this wiki revised on 2005 Jan 23 22:19 by tamc2
31
- * Pointers on how to use this wiki revised on 2005 Jan 23 22:19 by tamc2
32
- * Pointers on how to use this wiki revised on 2005 Jan 23 22:18 by tamc2
33
- * Pointers on how to use this wiki revised on 2005 Jan 23 22:18 by tamc2
34
- * Pointers on how to use this wiki revised on 2005 Jan 23 22:17 by tamc2
35
- * Pointers on how to use this wiki revised on 2005 Jan 23 22:16 by tamc2
36
- * home page revised on 2005 Jan 23 22:09 by tamc2
37
- * Site Index revised on 2005 Jan 23 22:06 by AutomaticIndex
38
- * Recent Blog Entries revised on 2005 Jan 23 22:06 by AutomaticSummary
39
- * Site Index revised on 2005 Jan 23 22:06 by AutomaticIndex
40
- * Soks Licence revised on 2005 Jan 23 22:06 by AutomaticImport
41
- * Pointers on how to use this wiki revised on 2005 Jan 23 22:06 by AutomaticImport
42
- * Pointers on adjusting the settings revised on 2005 Jan 23 22:06 by AutomaticImport
43
- * Picture of a pair of soks revised on 2005 Jan 23 22:06 by AutomaticImport
44
- * Improving the style of this wiki revised on 2005 Jan 23 22:06 by AutomaticImport
45
- * How to import a site from instiki revised on 2005 Jan 23 22:06 by AutomaticImport
46
- * How to hack soks revised on 2005 Jan 23 22:06 by AutomaticImport
47
- * How to export a site from this wiki revised on 2005 Jan 23 22:06 by AutomaticImport
48
- * home page revised on 2005 Jan 23 22:06 by AutomaticImport
3
+ p{font-size: x-small;}. Recent Changes to This Site was created automatically from pages whose title matches /.*/.
4
+
5
+ <automaticsummary>
6
+
7
+ * [[ Site Index ]] revised on 2005 Jan 26 08:55 by AutomaticIndex
8
+ * [[ Known bugs ]] revised on 2005 Jan 26 08:55 by AutomaticSummary
9
+ * [[ Bug: GEM limits title lengths ]] revised on 2005 Jan 26 08:55 by tamc2
10
+ * [[ Site Index ]] revised on 2005 Jan 26 08:12 by AutomaticIndex
11
+ * [[ Known bugs ]] revised on 2005 Jan 26 08:12 by AutomaticSummary
12
+ * [[ Bug: No robots.txt or favicon.ico ]] revised on 2005 Jan 26 08:12 by tamc2
13
+ * [[ Known bugs ]] revised on 2005 Jan 26 08:11 by AutomaticSummary
14
+ * [[ Bug: Page titles cannot have html tags in them ]] revised on 2005 Jan 26 08:11 by tamc2
15
+ * [[ Site Index ]] revised on 2005 Jan 26 08:10 by AutomaticIndex
16
+ * [[ Known bugs ]] revised on 2005 Jan 26 08:10 by AutomaticSummary
17
+ * [[ Bug: Page titles cannot have html tags in them ]] revised on 2005 Jan 26 08:10 by tamc2
18
+ * [[ Site Index ]] revised on 2005 Jan 26 07:59 by AutomaticIndex
19
+ * [[ Known bugs ]] revised on 2005 Jan 26 07:59 by AutomaticSummary
20
+ * [[ Site Index ]] revised on 2005 Jan 26 07:59 by AutomaticIndex
21
+ * [[ Known bugs ]] revised on 2005 Jan 26 07:59 by AutomaticSummary
22
+ * [[ Fixed Bug: Site Index updates on every revision ]] revised on 2005 Jan 26 07:59 by tamc2
23
+ * [[ Fixed Bug: Site Index updates on every revision ]] revised on 2005 Jan 26 07:59 by AutomaticPageMover
24
+ * [[ Bug: Site Index updates on every revision ]] revised on 2005 Jan 26 07:59 by tamc2
25
+ * [[ Known bugs ]] revised on 2005 Jan 26 07:58 by AutomaticSummary
26
+ * [[ Instructions and Howtos ]] revised on 2005 Jan 26 07:58 by AutomaticSummary
27
+ * [[ Site Index ]] revised on 2005 Jan 26 07:58 by AutomaticIndex
28
+ * [[ Known bugs ]] revised on 2005 Jan 25 18:50 by AutomaticSummary
29
+ * [[ Bug: Site Index updates on every revision ]] revised on 2005 Jan 25 18:50 by tamc2
30
+ * [[ Known bugs ]] revised on 2005 Jan 25 18:34 by AutomaticSummary
31
+ * [[ Bug: Site Index updates on every revision ]] revised on 2005 Jan 25 18:34 by tamc2
32
+ * [[ Site Index ]] revised on 2005 Jan 25 18:33 by AutomaticIndex
33
+ * [[ fixed bug: automatic link links to stuff inside html tags ]] revised on 2005 Jan 25 18:33 by tamc2
34
+ * [[ fixed bug: automatic link links to stuff inside html tags ]] revised on 2005 Jan 25 18:33 by AutomaticPageMover
35
+ * [[ Fixed bug: automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:33 by tamc2
36
+ * [[ Fixed Bug: Inserted pages are not refreshed when new autolinks are made ]] revised on 2005 Jan 25 18:31 by tamc2
37
+ * [[ Fixed Bug: Inserted pages are not refreshed when new autolinks are made ]] revised on 2005 Jan 25 18:31 by AutomaticPageMover
38
+ * [[ Bug: Inserted pages are not refreshed when new autolinks are made on them ]] revised on 2005 Jan 25 18:31 by tamc2
39
+ * [[ RSS feed ]] revised on 2005 Jan 25 18:31 by tamc2
40
+ * [[ Fixed bug: automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:28 by tamc2
41
+ * [[ Fixed bug: automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:28 by AutomaticPageMover
42
+ * [[ Bug: Automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:28 by tamc2
43
+ * [[ Fixed Bug: Search box width does not match column width ]] revised on 2005 Jan 25 18:27 by tamc2
44
+ * [[ Fixed Bug: Search box width does not match column width ]] revised on 2005 Jan 25 18:27 by AutomaticPageMover
45
+ * [[ Bug: Search box width does not match column width ]] revised on 2005 Jan 25 18:27 by tamc2
46
+ * [[ Fixed Bug: Symbols are not always correctly rendered in html ]] revised on 2005 Jan 25 18:26 by tamc2
47
+ * [[ Fixed Bug: Symbols are not always correctly rendered in html ]] revised on 2005 Jan 25 18:26 by AutomaticPageMover
48
+ * [[ Bug: Symbols are not always correctly rendered in html ]] revised on 2005 Jan 25 18:26 by tamc2
49
+ * [[ Instructions and Howtos ]] revised on 2005 Jan 25 18:23 by AutomaticSummary
50
+ * [[ Fixed Bug: RSS feed shows oldest 15 revisions (not newest!) ]] revised on 2005 Jan 25 18:23 by AutomaticImport
51
+ * [[ Fixed Bug: In a list of links, the last link is sometimes not linked ]] revised on 2005 Jan 25 18:23 by AutomaticImport
52
+ * [[ All News ]] revised on 2005 Jan 25 18:23 by AutomaticImport
53
+ * [[ Latest News ]] revised on 2005 Jan 25 18:23 by AutomaticImport
54
+ * [[ test page ]] revised on 2005 Jan 25 18:23 by AutomaticImport
55
+ * [[ tamc2 ]] revised on 2005 Jan 25 18:23 by AutomaticImport
56
+ * [[ sandbox ]] revised on 2005 Jan 25 18:23 by AutomaticImport
57
+ * [[ let me know ]] revised on 2005 Jan 25 18:23 by AutomaticImport
58
+ * [[ home page ]] revised on 2005 Jan 25 18:23 by AutomaticImport
59
+ * [[ Soks Licence ]] revised on 2005 Jan 25 18:23 by AutomaticImport
60
+ * [[ Site Index ]] revised on 2005 Jan 25 18:23 by AutomaticImport
61
+ * [[ SOKS features ]] revised on 2005 Jan 25 18:23 by AutomaticImport
62
+ * [[ Ruby ]] revised on 2005 Jan 25 18:23 by AutomaticImport
63
+ * [[ Recent News ]] revised on 2005 Jan 25 18:23 by AutomaticImport
64
+ * [[ Recent Blog Entries ]] revised on 2005 Jan 25 18:23 by AutomaticImport
65
+ * [[ README ]] revised on 2005 Jan 25 18:23 by AutomaticImport
66
+ * [[ Picture of a pair of soks ]] revised on 2005 Jan 25 18:23 by AutomaticImport
67
+ * [[ Picture of Type a title here ]] revised on 2005 Jan 25 18:23 by AutomaticImport
68
+ * [[ List of changes ]] revised on 2005 Jan 25 18:23 by AutomaticImport
69
+ * [[ Known bugs ]] revised on 2005 Jan 25 18:23 by AutomaticImport
70
+ * [[ Instructions and Howtos ]] revised on 2005 Jan 25 18:23 by AutomaticImport
71
+ * [[ How to use this wiki ]] revised on 2005 Jan 25 18:23 by AutomaticImport
72
+ * [[ How to use the keyboard shortcuts ]] revised on 2005 Jan 25 18:23 by AutomaticImport
73
+ * [[ How to install Soks ]] revised on 2005 Jan 25 18:23 by AutomaticImport
74
+ * [[ How to import a site from instiki ]] revised on 2005 Jan 25 18:23 by AutomaticImport
75
+ * [[ How to hack soks ]] revised on 2005 Jan 25 18:23 by AutomaticImport
76
+ * [[ How to export a site from this wiki ]] revised on 2005 Jan 25 18:23 by AutomaticImport
77
+ * [[ How to change the way this wiki looks ]] revised on 2005 Jan 25 18:23 by AutomaticImport
78
+ * [[ How to administrate this wiki ]] revised on 2005 Jan 25 18:23 by AutomaticImport
79
+ * [[ Distribution Home Page ]] revised on 2005 Jan 25 18:23 by AutomaticImport
80
+ * [[ Bug: Uploads are not password protected ]] revised on 2005 Jan 25 18:23 by AutomaticImport
81
+ * [[ Bug: Symbols are not always correctly rendered in html ]] revised on 2005 Jan 25 18:23 by AutomaticImport
82
+ * [[ Bug: Site Index updates on every revision ]] revised on 2005 Jan 25 18:23 by AutomaticImport
83
+ * [[ Bug: Search box width does not match column width ]] revised on 2005 Jan 25 18:23 by AutomaticImport
84
+ * [[ Bug: RSS feed shows oldest 15 revisions (not newest!) ]] revised on 2005 Jan 25 18:23 by AutomaticImport
85
+ * [[ Bug: Inserted pages are not refreshed when new autolinks are made on them ]] revised on 2005 Jan 25 18:23 by AutomaticImport
86
+ * [[ Bug: In a list of links, the last link is sometimes not linked ]] revised on 2005 Jan 25 18:23 by AutomaticImport
87
+ * [[ Bug: External links incorrectly include trailing punctuation ]] revised on 2005 Jan 25 18:23 by AutomaticImport
88
+ * [[ Bug: Duplicate links-to a page sometimes appear ]] revised on 2005 Jan 25 18:23 by AutomaticImport
89
+ * [[ Bug: Does not make use of if-modified-since request headers ]] revised on 2005 Jan 25 18:23 by AutomaticImport
90
+ * [[ Bug: Automatic link links to stuff inside <html> tags ]] revised on 2005 Jan 25 18:23 by AutomaticImport
91
+ * [[ Automatic linking between pages ]] revised on 2005 Jan 25 18:23 by AutomaticImport
92
+ * [[ Automatic Summaries ]] revised on 2005 Jan 25 18:23 by AutomaticImport
93
+ * [[ Author ]] revised on 2005 Jan 25 18:23 by AutomaticImport
94
+
95
+
96
+ </automaticsummary>
@@ -0,0 +1,9 @@
1
+ h2. Recent News
2
+
3
+ p{font-size: x-small;}. Recent News was created automatically from pages whose title matches /^News:/i.
4
+
5
+ <automaticsummary>
6
+
7
+ No pages found to summarise
8
+
9
+ </automaticsummary>
@@ -0,0 +1,9 @@
1
+ h1. Ruby
2
+
3
+ Soks is written in ruby. It relies on version 1.8.2 or greater.
4
+
5
+ Ruby is an enjoyably clear Japanese Perl, Python, Smalltalk, and LISP amalgam. It runs on Mac OS X, Windows and most unix variants.
6
+
7
+ * To download go to: http://www.ruby-lang.org/en/20020102.html
8
+ * To learn try: http://poignantguide.net/ruby/ or http://www.pragmaticprogrammer.com/titles/ruby/index.html
9
+ * To discuss: http://groups-beta.google.com/group/comp.lang.ruby
@@ -0,0 +1,12 @@
1
+ h2. Soks Features
2
+
3
+ * Automatic linking between pages (no need for wiki words or any bracket shenanigans).
4
+ * Easy to add, move and delete pages
5
+ * Calendars, automatic summaries and the like
6
+ * An api for classes to modify the wiki
7
+ * Flat file storage (incidentally, this makes it easy to import from instiki using its export function)
8
+ * Easy to edit the look of the wiki with per wiki templates.
9
+ * Built in web server (No need for Apache)
10
+ * Textile
11
+ * Uploads and Images
12
+ * RSS feed for changes to any page
@@ -1,16 +1,55 @@
1
- h1. Site Index
1
+ h2. Site Index
2
2
 
3
- * Picture of a pair of soks
4
- * AutomaticSummary
5
- * home page
6
- * How to export a site from this wiki
7
- * How to hack soks
8
- * How to import a site from instiki
9
- * Improving the style of this wiki
10
- * Known bugs
11
- * List of changes
12
- * Pointers on adjusting the settings
13
- * Pointers on how to use this wiki
14
- * Recent Blog Entries
15
- * Recent Changes to This Site
16
- * Soks Licence
3
+ p{font-size: x-small;}. Site Index was created automatically from pages whose title matches /.*/.
4
+
5
+ <automaticsummary>
6
+
7
+ * [[ Picture of a pair of soks ]]
8
+ * [[ All News ]]
9
+ * [[ Author ]]
10
+ * [[ Automatic linking between pages ]]
11
+ * [[ Automatic Summaries ]]
12
+ * [[ Bug: Does not make use of if-modified-since request headers ]]
13
+ * [[ Bug: Duplicate links-to a page sometimes appear ]]
14
+ * [[ Bug: External links incorrectly include trailing punctuation ]]
15
+ * [[ Bug: GEM limits title lengths ]]
16
+ * [[ Bug: No robots.txt or favicon.ico ]]
17
+ * [[ Bug: Page titles cannot have html tags in them ]]
18
+ * [[ Bug: Uploads are not password protected ]]
19
+ * [[ Distribution Home Page ]]
20
+ * [[ fixed bug: automatic link links to stuff inside html tags ]]
21
+ * [[ Fixed Bug: In a list of links, the last link is sometimes not linked ]]
22
+ * [[ Fixed Bug: Inserted pages are not refreshed when new autolinks are made ]]
23
+ * [[ Fixed Bug: RSS feed shows oldest 15 revisions (not newest!) ]]
24
+ * [[ Fixed Bug: Search box width does not match column width ]]
25
+ * [[ Fixed Bug: Site Index updates on every revision ]]
26
+ * [[ Fixed Bug: Symbols are not always correctly rendered in html ]]
27
+ * [[ home page ]]
28
+ * [[ How to administrate this wiki ]]
29
+ * [[ How to change the way this wiki looks ]]
30
+ * [[ How to export a site from this wiki ]]
31
+ * [[ How to hack soks ]]
32
+ * [[ How to import a site from instiki ]]
33
+ * [[ How to install Soks ]]
34
+ * [[ How to use the keyboard shortcuts ]]
35
+ * [[ How to use this wiki ]]
36
+ * [[ Instructions and Howtos ]]
37
+ * [[ Known bugs ]]
38
+ * [[ Latest News ]]
39
+ * [[ let me know ]]
40
+ * [[ List of changes ]]
41
+ * [[ README ]]
42
+ * [[ Recent Blog Entries ]]
43
+ * [[ Recent Changes to This Site ]]
44
+ * [[ Recent News ]]
45
+ * [[ RSS feed ]]
46
+ * [[ Ruby ]]
47
+ * [[ sandbox ]]
48
+ * [[ SOKS features ]]
49
+ * [[ Soks Licence ]]
50
+ * [[ tamc2 ]]
51
+ * [[ test page ]]
52
+ * [[ Picture of Type a title here ]]
53
+
54
+
55
+ </automaticsummary>
@@ -0,0 +1,3 @@
1
+ Automatic linking links to things inside tags. This is particularly noticable because v-0-0-3 was released with a page named AutomaticSummary and tags named <automaticsummary>.
2
+
3
+ Fixed in v0-0-4
@@ -0,0 +1 @@
1
+ Please email any comments, suggestions, bug reports and the like to me, Tom Counsell, at tamc@rubyforge.org
@@ -0,0 +1,2 @@
1
+ | one | two | three |
2
+ | a | b | c |
@@ -0,0 +1 @@
1
+ aka. Tom Counsell aka the author.
@@ -0,0 +1 @@
1
+ page deleted
@@ -52,6 +52,34 @@ module StartSoks
52
52
  :lines_to_include => 10,
53
53
  :include_metadata => true
54
54
  )
55
+
56
+ # Examples of automatically generated summary pages:
57
+ AutomaticSummary.new( wiki,
58
+ :regexp_for_title => /^How to /i,
59
+ :pagename => 'Instructions and Howtos'
60
+ )
61
+
62
+ AutomaticSummary.new( wiki,
63
+ :regexp_for_title => /^Bug:/i,
64
+ :pagename => 'Known bugs',
65
+ :include_metadata => true
66
+ )
67
+
68
+ AutomaticSummary.new( wiki,
69
+ :regexp_for_title => /^News:/i,
70
+ :max_pages_to_show => 1,
71
+ :lines_to_include => 10,
72
+ :reverse_sort => true,
73
+ :pagename => 'Latest News'
74
+ )
75
+
76
+ AutomaticSummary.new( wiki,
77
+ :regexp_for_title => /^News:/i,
78
+ :lines_to_include => 10,
79
+ :reverse_sort => true,
80
+ :pagename => 'All News'
81
+ )
82
+
55
83
 
56
84
  # Possible settings for the Automatic Summary (with defaults)
57
85
  # :regexp_for_title => /.*/, # These three regexps act as an AND
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4