I'm a bit confused by the ordering per day when viewing Recent Changes.
The order of the days is from recent to less recent, but within a day it's
the other way around. Is this a feature, a configuration issue, just a
problem of an ancient version of SmallWiki, or.. well.. what else could it
be ;)?
Cheers,
Adriaan.
Hi Orla,
> I sometimes have problems stopping the smallwiki server.
>
> I have a testcase with the following:
>
> | aServer |
>
> aServer := SmallWiki.SwazooServer startOn:8080.
>
> .. my code ...
>
> aServer stop.
>
> What do you think the problem could be?
What kind of problem? It doesn't stopp? You get an exception?
The only problem I can think of right now, is that there might be other
instances of the web-server running on port 8080. Especially if your
test fails, the server is never stopped. So I suggest either using
TestResources or the #setUp and #tearDown facilities of TestCase to
start and stop it.
To stop any servers that you lost the references to, the following code
snipped might help:
SmallWiki.Server allInstances
do: [ :each | each stop ]
Cheers,
Luaks
--
Lukas Renggli
http://renggli.freezope.org
Hi lukas
with david R. we are having a look at the test
testRoundTripWiki
self resourcesForWiki do: [ :wiki |
self assert: (self renderWiki: (self parseWiki: wiki)) = wiki ]
this test breask because of the smilies introduction.
I was wondering why the "self renderWiki: (self parseWiki: wiki)" does
not return a
wiki entity and not just a text?
For the other people that may want to follow the discussion:
a resourceForWiki is a text for example
'!Heading 1
!!Heading 2
!!!Heading 3
!!!!Heading 4'
thanks
Hi david
I loaded the admin package:
- the postload action seems broken
Smallwiki.Advanced is needed
- then when I try to log I get: with admin/smallwiki I get an error
aHTTPRequest postData does not understand: postKeysAndValuesDo:
prepareRequestFields: aHTTPRequest
| fields |
fields := Dictionary new.
aHTTPRequest uri queryData keysAndValuesDo: [ :key :value |
fields at: key put: value ].
aHTTPRequest isPost
ifTrue: [ aHTTPRequest postData postKeysAndValuesDo: [ :key :value |
fields at: key put: value value.
value contentType isNil
ifFalse: [ fields at: 'mime-' , key put: value contentType ] ] ].
^fields
So what can I do?
Nothing.
Stef
hi!
I loaded the very last release of Smallwiki with a 7.1nc, and I cannot run the server.
I rather have a: Message not understood: #detect:ifNone
The receiver is nil.
It seems that the variable permissions in 'Page class' is not initialized.
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi everybody,
I finally found some time to work on SmallWiki. This is what I have done:
- fixed a bug in SWImageStorage which caused the storage to never
really store anything. (Be aware when you set a new Storage, which
has a default Delay of 10 minutes or so, and you change this value
after that, you have to wait until the last long delay is over
before you will see the effect of a new [e.g. short] delay)
- published an Installer on Squeakmap -> 'SmallWiki'
- separated the Parser in its own package
we have now three packages:
- the 'SmallWiki-Parser' (loaded by 'SmallWiki')
- the 'SmallWiki-Kernel' (loaded by 'SmallWiki')
- the 'SmallWiki' which is the installer
so you only have to load 'SmallWiki'
To try the new things take a fresh image (3.6 works fine) load the
installer-package 'SmallWiki' (not 'SmallWiki-Parser' or
'SmallWiki-Kernel') and wait :) This will install all needed packages
and finally opens a workspace with more information.
Unfortunatly I did not have the time to upgrade the whole thing to
0.9.47. This has to wait some weeks :-(
@Lukas
I changed the hard coded defaultPriority of the SnapshotStorage to
return '^Processor userBackgroundPriority'. This might also be better
for the official VW-SW ~ VisualWorks SmallWiki :-)
cheers
Chris Burkert
--
http://www.chrisburkert.de/
Hi
Just to let you know that we will start working on a Swiki importer.
Now what is really important is that SmallWiki is open-source. This
means that you can contribute
and help improving it. Please do not hesitate.
Stef
Hi alex and lukas
I discussed with a guy that told me that installing swiki was one click
:) and ask me what was the status
of that for SmallWiki. So I would like to know what we could do to have
a simple distribution with one click
ready to use image.
I'm not talking about producing an exe (even if sander is doing some
experiment for moose and Codecrawler
in this moment).
After the OOPSLA deadline we should really have a look at that.
Stef
I'm wondering if SmallWiki can be used in the following way:
- on server startup, a collection of objects is read in from a
text file and somehow available (possibly through an instance variable
of a subclass of SWKom?)
- a user can gain access to an object by adding a link to a
page (subclass of SWPage?) by the name of the object of interest
(objects are accessible by a string name)
- when a user then selects the object name on the calling page,
a new page will pop up based on the object
- the objects are not changeable, view only
Other questions
- How can multiple Wikis run on the same server?
- Can permissions be changed at the folder level or are
permissions set up for the entire Wiki?
- Once a resource is uploaded to a page, how can it be updated?
Any thoughts or comments would be appreciated.
Regards,
Glenn