Hi Björn
>>> Another thing that confuses me is how to define SmallWiki users, how
>>> to log in (I found two users in the servers users directory, i.e.
>>> 'anonymous'->a SmallWiki.User('anonymous') 'admin'->a
>>> SmallWiki.User('admin')), and what happens when I log in?
>>
>> If you are not logged in you get the anonymous user assigned, with a
>> restricted set of permission. To login as administrator go the the
>> login-page, make sure you have cookies enabled and enter 'admin' and
>> 'smallwiki' as username and password. You should be able to change
>> templates, to see and modify history and to delete pages, folders,
>> etc.
>
> I get the following error trying to edit the template after login in
> as admin.
That is really strange, I am developing basically on my macintosh, but
now I've also tried on a Windows 2000 machine. It works well on both
machines.
> I am running on a Windows 2000 platform (the error seems to be unix..)
What browser are you using? Have you got cookies enabled in your
browser?
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org
Anfang der weitergeleiteten E-Mail:
> Von: Mark Guzdial <guzdial(a)cc.gatech.edu>
> Datum: Di, 20. Mai 2003 14:39:42 Europe/Berlin
> An: squeakers(a)cc.gatech.edu, pws(a)cc.gatech.edu
> Betreff: [Pws] Piece on Wikis in NY Times
>
> A piece on Wikis in the NY Times, including refs to Ward:
> http://www.nytimes.com/2003/05/19/technology/19NECO.html
>
> (Swikis don't get mentioned :-)
>
> ______
> Mark Guzdial, Associate Professor, College of Computing/GVU
> http://www.cc.gatech.edu/~mark.guzdial/
> Collaborative Software Lab http://coweb.cc.gatech.edu/csl
>
> _______________________________________________
> Pws mailing list
> Pws(a)cc.gatech.edu
> https://mailman.cc.gatech.edu/mailman/listinfo/pws
>
Hi Björn
> Then I get an error while trying to dump:
> server storage snapshot.
> gives the error Unhandled exception: Message not understood:
> #useEnvironment:.
You have to make sure that you are using the latest version of SIXX as
older versions do not support namespaces. I do not suggest to use SIXX
storage in a productive environment, using the image-storage is faster
and more secure.
> Another thing that confuses me is how to define SmallWiki users, how
> to log in (I found two users in the servers users directory, i.e.
> 'anonymous'->a SmallWiki.User('anonymous') 'admin'->a
> SmallWiki.User('admin')), and what happens when I log in?
If you are not logged in you get the anonymous user assigned, with a
restricted set of permission. To login as administrator go the the
login-page, make sure you have cookies enabled and enter 'admin' and
'smallwiki' as username and password. You should be able to change
templates, to see and modify history and to delete pages, folders, etc.
To change the password of the administrator evaluate:
(server userAt: 'admin') password: 'myNewPassword'
Soon there will be an user interface presented to change that kind of
things.
> I also got some minor errors while editing pages using WikiWork's link
> format, i.e. [LINK] or [name to display > LINK]. I got an error like.
The syntax of the links is the same as in SqueakWiki, but not
WikiWorks. The square brackets are used to add smalltalk-code to your
pages, but that is only possible when logged in as administrator. So
you might add:
!My Super Wiki Title
Blabalbalbalbal *My other Page* blablabalbbal
The current time is: [ Time now displayString ] ...
....
> SmallWiki.ErrorUnauthorized(Object)>>doesNotUnderstand:
This is a bug in the latest release: once the login-page appeared in
that case.
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org
Hi Smalltalkers,
I have enhanced and changed a lot of things in SmallWiki over this
weekend. The most exciting thing is the support of callback-blocks,
making the development of web-user-interfaces easier. You don't have to
deal with Request and Response anymore. If you like, you might want to
have a look a the actions, they have all been rewritten to use the new
protocol. There is also a demo-action in the 'SmallWiki Examples'
bundle. Load it, have a look at the source and point your browser to:
http://localhost:8080/?action=CallbackDemo
In rare cases there might be problems, if you have subclassed any
action-classes or if you have created html-forms using the old
framework. If you didn't got too low-level it should still work, but
you might get a lot of warnings in the transcript. Have a look at the
new messages in HtmlWriteStream and use these ones, as the others will
be removed for the final version of SmallWiki.
BTW: The callback-mechanisme is not limited to actions, it might also
be used within the templates, visitors, documents, etc.
The changes related to the session-management took place at a very low
level, so - I think - nobodies code will be touched. There were a lot
of problems with the basic-authentication so far, so i decided to
switch to cookie-based implementation. Another advantage is that one is
now able to logout. I think this will work more reliable, but we will
see.
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org
Hi,
as I side-effect to the actions, I have just implemented cookie-based
login. Of course it only works when you have cookies enabled in your
browser, but we could emit a warning if we detect that. I've also added
a box with some session related actions and information on the left.
The basic-authentication that was used before, was quite useless as
some browser did not support it or do not adapt de standard properly.
The cookie based approach works with all browsers I tested so far.
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org
Hi Bjorn,
> It would be interesting to test your SmallWiki.
I've just published the current version of SmallWiki to Cincom StORE,
so you should be able to download the bundle 'SmallWiki' now.
But remember, it is a beta and there are not many web-interfaces to
manage your wiki yet, but we are working on that. Of course you might
change everything from transcript and using inspectors, there is window
opened with a bunch of expressions when you load the bundle.
You might want to have a look at the slides of a technical presentation:
http://www.iamexwi.unibe.ch/studenten/renggli/smallwiki/
sw_tech_pres.pdf
> What is the main difference/improvements to using WikiWorks?
The main improvements over WikiWorks and SWiki are ...
From the slides:
- Everything is an Object
- Extensibility
- Components
- Web server
- Storage
- Test suites
- Open source (MIT)
- Dialect independent
Some others:
- No Smalltalk code in external files
- Lots of extensions and add-ons are currently developed
- Flexible security-model with users, roles, permissions
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org
> From: Lukas Renggli <renggli(a)student.unibe.ch>
> Date: Die Mai 6, 2003 22:50:00 Europe/Zurich
> To: Mailing List SmallWiki <smallwiki(a)iam.unibe.ch>
> Subject: Future Plans
>
> I've quickly added some new stuff about the future of the project:
>
> http://scgwiki.iam.unibe.ch:8080/SCG/520
>
> If you think I missed some important stuff, please add it.
>
> Cheers
> Lukas
>
> --
> Lukas Renggli
> http://renggli.freezope.org
--
Lukas Renggli
http://renggli.freezope.org