Soks 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +4 -0
- data/lib/helpers/default-helpers.rb +94 -56
- data/lib/helpers/mail2wiki-helper.rb +8 -6
- data/lib/soks-servlet.rb +19 -16
- data/lib/soks-storage.rb +6 -7
- data/lib/soks-utils.rb +26 -0
- data/lib/soks-view.rb +4 -4
- data/lib/soks.rb +2 -1
- data/templates/default/attachment/newpage.js +2 -2
- data/templates/default/attachment/stylesheet.css +14 -3
- data/templates/default/content/A%20page%20with%20an%20umlaut%20%F6%20in%20its%20title.textile +1 -0
- data/templates/default/content/All%20News.textile +18 -1
- data/templates/default/content/Bil%20Kleb.textile +1 -0
- data/templates/default/content/Bil.textile +1 -0
- data/templates/default/content/Bill%20Wood.textile +3 -0
- data/templates/default/content/Bug%3A%20Does%20not%20make%20use%20of%20if%2Dmodified%2Dsince%20r.textile +1 -0
- data/templates/default/content/Bug%3A%20Type%20a%20title%20here.textile +31 -0
- data/templates/default/content/How%20to%20use%20the%20keyboard%20shortcuts.textile +4 -2
- data/templates/default/content/Latest%20News.textile +19 -2
- data/templates/default/content/List%20of%20changes.textile +43 -0
- data/templates/default/content/New%20Recent%20Changes%20class.textile +10 -0
- data/templates/default/content/News%3A%20Version%200%2E0%2E6%20Released.textile +13 -0
- data/templates/default/content/Planned%20Features.textile +9 -8
- data/templates/default/content/README.textile +4 -0
- data/templates/default/content/Recent%20Changes%20to%20This%20Site.textile +282 -205
- data/templates/default/content/Skorgu.textile +3 -0
- data/templates/default/content/ctrl%2Dn.textile +1 -1
- data/templates/default/content/sandbox.textile +20 -0
- data/templates/default/start.rb +15 -5
- data/templates/default/version.txt +1 -1
- data/templates/default/views/Page_edit.rhtml +6 -3
- data/templates/default/views/frame.rhtml +3 -2
- data/test/test_soks-storage.rb +69 -0
- data/test/test_soks-utils.rb +84 -0
- data/test/test_soks-view.rb +43 -0
- metadata +14 -11
- data/templates/default/content/Attached%20ruby%20logo.textile +0 -1
- data/templates/default/content/Attached%20test%20thing.textile +0 -1
- data/templates/default/content/Known%20bugs.textile +0 -18
- data/templates/default/content/Picture%20of%20Type%20a%20title%20here.textile +0 -1
- data/templates/default/content/Picture%20of%20a%20logo%20for%20the%20ruby%20language.textile +0 -1
- data/templates/default/content/Picture%20of%20powered%20by%20ruby%20logo.textile +0 -1
- data/templates/default/content/Recent%20News.textile +0 -9
- data/templates/default/content/Type%20a%20title%20here.textile +0 -1
@@ -1,9 +1,26 @@
|
|
1
1
|
h2. Latest News
|
2
2
|
|
3
|
-
p{font-size: x-small;}. Latest News was created automatically from pages whose title matches
|
3
|
+
p{font-size: x-small;}. Latest News was created automatically from pages whose title matches ==/^News:/i==.
|
4
4
|
|
5
5
|
<automaticsummary>
|
6
6
|
|
7
|
-
|
7
|
+
<div class='subpage'>
|
8
|
+
[[ News: Version 0.0.6 Released ]] <br />
|
9
|
+
|
10
|
+
It gives me great pleasure to announce version 0.0.6 of Soks - Yet another ruby wiki. You can get it from http://rubyforge.org/frs/?group_id=481&release_id=1807 or, if you have gems, run @sudo gem install Soks@.
|
11
|
+
|
12
|
+
This release fixes quite a lot of bugs, provides a few more settings that can be tweaked, and the default 'look' has been toned down. See list of changes for details, and please take a note of the known bugs.
|
13
|
+
|
14
|
+
Thanks to all those that helped with bugs, suggestions and code.
|
15
|
+
|
16
|
+
Grateful for feedback at tamc@rubyforge.org
|
17
|
+
|
18
|
+
*WARNING;* This Bug: Internet Exploror 6.0 incompatibilities during page edits is really annoying for users of IE 6. Temporary fixes can be found on that page, and I will make a new release soon to fix.
|
19
|
+
|
20
|
+
|
21
|
+
p(more). [[(more) => News: Version 0.0.6 Released]]
|
22
|
+
|
23
|
+
</div>
|
24
|
+
|
8
25
|
|
9
26
|
</automaticsummary>
|
@@ -1,5 +1,48 @@
|
|
1
1
|
h1. List of changes
|
2
2
|
|
3
|
+
h2. Between v0-0-8 and v0-0-7
|
4
|
+
|
5
|
+
*NOTE*: This has not been released yet, although anything listed here will be in the cvs (see how to get the latest Soks from cvs)
|
6
|
+
|
7
|
+
h3. Features
|
8
|
+
|
9
|
+
* None yet.
|
10
|
+
|
11
|
+
h3. Refactoring
|
12
|
+
|
13
|
+
* None yet.
|
14
|
+
|
15
|
+
h3. Bugfixes
|
16
|
+
|
17
|
+
* None yet.
|
18
|
+
|
19
|
+
h2. Between v0-0-7 and v0-0-6
|
20
|
+
|
21
|
+
h3. Features
|
22
|
+
|
23
|
+
* AutomaticSummary now has new options to allow specified page title, author and page content regexps to be excluded from summary.
|
24
|
+
* RecentChanges by default doesn't show changes by any of the Automatic wiki helpers (e.g. the site index maker, or the page mover, or the summariser). As part of this, users can no longer have a username starting with Automatic or containing troublesome punctuation (&{}[]?).
|
25
|
+
* RecentChanges by default merges any runs of page revisions that have been done by the same author.
|
26
|
+
* There is a new setting @:reload_erb_each_request@ If set to true, Soks will reload the relevant bits of the wiki view directory on each request. This is useful for developing/debugging the look of a wiki. Default if false, which makes the wiki faster.
|
27
|
+
|
28
|
+
h3. Refactoring
|
29
|
+
|
30
|
+
* Little bit of refactoring in the AutomaticSummary class
|
31
|
+
* Uses Logger (placed in $LOG global) instead of writting messages to $STDERR
|
32
|
+
* Moved to_unique_filename from Servlet to File class (added unit test)
|
33
|
+
* Moved to_valid_pagename from Servlet to String class (added unit test)
|
34
|
+
|
35
|
+
h3. Bugfixes
|
36
|
+
|
37
|
+
* Fixed a bug where the import of new pages into a wiki could overwrite old.
|
38
|
+
* Fixed a bug where existing pages could become inaccesible if they had un-permitted punctuation in their title.
|
39
|
+
* Fixed Bug: Matching page titles in middle of words
|
40
|
+
* Fixed bug: Multipage site index S
|
41
|
+
* Fixed bug: trailing spaces in page names
|
42
|
+
* Fixed Bug: Forward slashes in titles problematic
|
43
|
+
* Fixed Bug: Internet Exploror 6.0 incompatibilities during page edits
|
44
|
+
* Fixed Bug: LinuxFirefox1.0 scroll reset after cursor move
|
45
|
+
|
3
46
|
h2. Between v-0-0-6 and v-0-0-5
|
4
47
|
|
5
48
|
h3. Features
|
@@ -56,3 +56,13 @@ Would then need to change:
|
|
56
56
|
lib/soks-servlet.rb/WikiServlet#service to extract the desired revision number from the request (e.g. by looking at request.query['revision']) and then edit the call to view.view to have an extra parameter (e.g. view(pagename, view, person, revision)).
|
57
57
|
|
58
58
|
Then modify lib/soks-view.rb/View#view to accept the extra parameter. It would then be available as a local variable in the Page_diff.rhtml
|
59
|
+
|
60
|
+
----
|
61
|
+
|
62
|
+
Our Soks Wiki went "live" yesterday within a group of about 40 people and the recent changes page has nearly become useless in it's current form. I have it set to only show 100 changes for performance reasons, and these folks generated that many changes per hour(!) figuring this Wiki stuff out. (Note: the number of changes would probably be lower if they were able to preview before saving. However, it was interesting to see some of their intermediate page changes.) They are talking about going live within our entire center (~3,500 people) on Monday... --Bil
|
63
|
+
|
64
|
+
--
|
65
|
+
|
66
|
+
Ok, the cvs version now has a few improvements that are getting toward this: Automatic helpers are exlcuded, runs of changes by the same person are merged, and the changes are arranged under day headings. No direct link to specific diffs yet. -- tamc2
|
67
|
+
|
68
|
+
p(. Updated 19 March via cvs, excellent so far. Thanks. --Bil
|
@@ -0,0 +1,13 @@
|
|
1
|
+
It gives me great pleasure to announce version 0.0.6 of Soks - Yet another ruby wiki. You can get it from http://rubyforge.org/frs/?group_id=481&release_id=1807 or, if you have gems, run @sudo gem install Soks@.
|
2
|
+
|
3
|
+
This release fixes quite a lot of bugs, provides a few more settings that can be tweaked, and the default 'look' has been toned down. See list of changes for details, and please take a note of the known bugs.
|
4
|
+
|
5
|
+
Thanks to all those that helped with bugs, suggestions and code.
|
6
|
+
|
7
|
+
Grateful for feedback at tamc@rubyforge.org
|
8
|
+
|
9
|
+
*WARNING;* This Bug: Internet Exploror 6.0 incompatibilities during page edits is really annoying for users of IE 6. Temporary fixes can be found on that page, and I will make a new release soon to fix.
|
10
|
+
|
11
|
+
Thanks
|
12
|
+
|
13
|
+
Tom
|
@@ -2,11 +2,13 @@ h1. Planned Features
|
|
2
2
|
|
3
3
|
In the long term I'm hoping to spend some time working on the instiki project to incorporate some of the features of Soks into instiki, but not until I've got soks stable and smooth.
|
4
4
|
|
5
|
-
h2. v0-0-
|
5
|
+
h2. v0-0-8:
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
*
|
7
|
+
_I'm about to release v-0-0-7 earlier than I had planned, in order to fix the critical Bug: Internet Exploror 6.0 incompatibilities during page edits. Therefore these features have been pushed back to v-0-0-8._
|
8
|
+
|
9
|
+
* Sort out a decent site wide RSS feed
|
10
|
+
* Take a look at any scale / speed limits and see if they can be reduced
|
11
|
+
** May need a housekeeping routine that could periodically prune large revision files, and perhaps permanently remove deleted pages after a while.
|
10
12
|
|
11
13
|
h1. Desired Features
|
12
14
|
|
@@ -30,10 +32,9 @@ Let me know if there is anything that you would like to see, or add it here:
|
|
30
32
|
** I like the freeform linking, but there is one huge problem: if I'm writing a page and I decide that I want to add a link to a non-existant page, I need to either @[ [Double Bracket] ]@ it or click Add New Page, type the name, remember if I used a space or not, and then write my content. In Instiki, if you just write CamelCase it creates a link to the 'create this page' form with the title filled in and everything. Maybe keep the freeform linking but have an option to enable auto-linking for wiki words? --Skorgu
|
31
33
|
** Ok, I'll look into it. By the way, another way of doing this (if your browser supports this) is to highlight the text you wish to link and press ctrl-n. --Tom
|
32
34
|
* Perhaps a category helper? To index references to particular key words
|
33
|
-
* Perhaps the default layout should have a little table of contents menu like wikipedia pages.
|
34
|
-
|
35
|
-
**
|
36
|
-
** Ah, cool item but it would seem to encourage long pages? --Bil
|
35
|
+
* Perhaps the default layout should have a little table of contents menu like wikipedia pages, e.g., the thing labeled 'contents' at http://en.wikipedia.org/wiki/Wiki. If you create a long page with several headings, it creates a little table of contents at the top so you can leap down the page quickly.
|
36
|
+
* The following came from one our site's users. It would seem contrary to the basic architecture of this wiki engine. However, it would be nice to be notified somehow of how many or which pages were going to have their links deactivated or altered... --Bil
|
37
|
+
** It would be nice if I changed the name of a page that had other pages linked to it, that I could have the option of changing all of the linked pages to it automatically. --Bil
|
37
38
|
|
38
39
|
Also considering these bigger changes (interested in your thoughts):
|
39
40
|
* Making the automatic linking ignore punctuation. Only the words in page titles would be significant, so "Bug: A bug" would be treated the same as "Bug- A bug" -- tamc
|
@@ -44,6 +44,8 @@ h2. UPGRADE
|
|
44
44
|
|
45
45
|
If you already have a previous version of soks then to upgrade, run @soks-create-wiki.rb --destination-dir=path/to/your/wiki@ and it will guide you through the upgrade.
|
46
46
|
|
47
|
+
Note that if you were using the multi page index class before, you will need to manually delete all the old index pages (@rm content/Site%20Index*@). The new pages will be created automatically.
|
48
|
+
|
47
49
|
h2. FEATURES
|
48
50
|
|
49
51
|
# Runs on its own webrick server (no independent web server required)
|
@@ -62,11 +64,13 @@ I suspect there are many, as befits its version number. In particular it has:
|
|
62
64
|
* Does not permit browsers to cache pages
|
63
65
|
* Not user friendly in the way it handles simultaneous edits of a page (last person to save wins)
|
64
66
|
* Some bugs in layout and formatting of text.
|
67
|
+
* RSS feed does not completely validate
|
65
68
|
|
66
69
|
See http://www.soks.org/wiki/KnownBugs for details.
|
67
70
|
|
68
71
|
h2. RELEASES
|
69
72
|
|
73
|
+
# 2005 Mar 21 - soks-0.0.7 - Fifth public release (alpha)
|
70
74
|
# 2005 Mar 15 - soks-0.0.6 - Fourth public release (alpha)
|
71
75
|
# 2005 Feb 12 - soks-0.0.5 - Third public release (alpha)
|
72
76
|
# 2005 Jan 24 - soks-0.0.4 - Second public release (alpha)
|