From thf at impara.de Mon Sep 5 11:30:03 2005 From: thf at impara.de (=?ISO-8859-1?Q?Thomas_Fr=F6b?=) Date: Mon, 05 Sep 2005 11:30:03 +0200 Subject: XML Storage for SmallWiki 1 Message-ID: <431C101B.7060801@impara.de> Hi, We as impara have implemented an external storage for the SmallWiki 1. I developed it in Squeak using a 3.8 image and the newest version of SmallWiki 1 (SmallWiki-chbu-0.9.53-sam.20, Monticello Repository: 'http://kilana.unibe.ch:8888/smallwiki1'). I'm new to squeak and the code might not be very clean. I would be glad about comments and suggestions for improvement. I have loaded the package to the monticello repository 'http://kilana.unibe.ch:8888/SmallWikiEnh'. You need the YAXO XML-Parser to run the extension (Monticello Repository 'http://kilana.unibe.ch:8888/XMLSupport'). You can also download a complete image from http://impara.de/drop/squeak/XML-Storage.zip. I already have ported contents from 2 SmallWikis (older versions) from a 3.7 image to a 3.8 image with the newest SmallWiki version. For further information and how to use the Storage I made a readme entry on the wiki for the SmallWikiEnh project on squeaksource.com . Regards, Thomas From ducasse at iam.unibe.ch Mon Sep 5 13:30:22 2005 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Mon, 5 Sep 2005 13:30:22 +0200 Subject: XML Storage for SmallWiki 1 In-Reply-To: <431C101B.7060801@impara.de> References: <431C101B.7060801@impara.de> Message-ID: <90632187-D1A9-4BF7-9ADC-3B4CEC57960B@iam.unibe.ch> Hi thomas Can you explain to use what is the model used. Do you save a page in XML each time an action is done? How do you structure the page folder? How do support embedded resources? Thanks for this work this is something that was missing to SW1. BTW did you write some tests? if not I STRONGLY suggest you to read http://www.iam.unibe.ch/~ducasse/Programmez/OnTheWeb/SUnitEnglish2.pdf By the way in SW2 lukas multiply by three the numbers of tests to increase the ease to spot bugs and port SW to other dialects. About tests think why so many people ported Unit frmeworks to all the languages you can find on xprogramming.com or why lukas would be losing his time to write so much tests.... ;) I say to my students: if you are good and what you develop is important for you if you want to go fast if you do not have time to lose.....write tests Stef On 5 sept. 05, at 11:30, Thomas Fr?b wrote: > Hi, > > We as impara have implemented an external storage for the SmallWiki > 1. I developed it in Squeak using a 3.8 image and the newest > version of SmallWiki 1 (SmallWiki-chbu-0.9.53-sam.20, Monticello > Repository: 'http://kilana.unibe.ch:8888/smallwiki1'). > > I'm new to squeak and the code might not be very clean. I would be > glad about comments and suggestions for improvement. > I have loaded the package to the monticello repository 'http:// > kilana.unibe.ch:8888/SmallWikiEnh'. You need the YAXO XML-Parser to > run the extension (Monticello Repository 'http://kilana.unibe.ch: > 8888/XMLSupport'). > You can also download a complete image from http://impara.de/drop/ > squeak/XML-Storage.zip. > I already have ported contents from 2 SmallWikis (older versions) > from a 3.7 image to a 3.8 image with the newest SmallWiki version. > For further information and how to use the Storage I made a readme > entry on the wiki for the SmallWikiEnh project on squeaksource.com . > > Regards, > Thomas > > From saidani at info.unicaen.fr Tue Sep 6 17:05:19 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Tue, 06 Sep 2005 17:05:19 +0200 Subject: SW1 instability problem Message-ID: <87psrm5j9s.fsf@info.unicaen.fr> Hello, I'm testing the stability of SW1 with Squeak 3.8 and it seems that the latest release crashes after one day, but there is no Debug.log and I'm unable to track down the bugs. After the crash, there is a smallwikiSnapshot.changes and image, and when I manually do a snapshot, the server continue to work. I've tested the same image on two different machines. Has someone experienced the same problem ? Thanks ! Samir From rleon at insario.com Wed Sep 7 19:41:55 2005 From: rleon at insario.com (Ramon Leon) Date: Wed, 7 Sep 2005 10:41:55 -0700 Subject: SW1 instability problem Message-ID: <24C40DFA333DC44882F9FB0115F33D8F32B053@ARGON.insario.local> > Hello, > > I'm testing the stability of SW1 with Squeak 3.8 and it seems > that the latest release crashes after one day, but there is > no Debug.log and I'm unable to track down the bugs. After the > crash, there is a smallwikiSnapshot.changes and image, and > when I manually do a snapshot, the server continue to work. > I've tested the same image on two different machines. Has > someone experienced the same problem ? > > Thanks ! > Samir You wouldn't happen to also have seaside loaded in that image would you? I found them incompatible due to conflicts and had similar issues, smallwiki just crashing or locking up. From saidani at info.unicaen.fr Thu Sep 8 10:24:42 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Thu, 08 Sep 2005 10:24:42 +0200 Subject: SW1 instability problem In-Reply-To: <24C40DFA333DC44882F9FB0115F33D8F32B053@ARGON.insario.local> (Ramon Leon's message of "Wed, 7 Sep 2005 10:41:55 -0700") References: <24C40DFA333DC44882F9FB0115F33D8F32B053@ARGON.insario.local> Message-ID: <87zmqovuet.fsf@info.unicaen.fr> Hi ! "Ramon Leon" writes: > You wouldn't happen to also have seaside loaded in that image would > you? No, I took only a vanilla squeak 3.8 and sw1 ! > I found them incompatible due to conflicts and had similar issues, > smallwiki just crashing or locking up. Cheers, Samir From damien.cassou at laposte.net Sun Sep 11 15:45:53 2005 From: damien.cassou at laposte.net (Damien Cassou) Date: Sun, 11 Sep 2005 15:45:53 +0200 Subject: [SW2] Problem with the parser In-Reply-To: <1126281178.4321afdad8ccc@webmail.msstate.edu> References: <1126281178.4321afdad8ccc@webmail.msstate.edu> Message-ID: <43243511.1060401@laposte.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 blg3 at msstate.edu a ?crit : >I am trying to install and use SmallWiki2 under windows and Squeak. I installed >all the files as described on the website. Unfortunately I am still very >unfamiliar with the SmallTalk language and unable to determine the issue I am >getting. But anytime I insert a Carriage return in the page I am editing I get >a parse error. Do you have any idea what could be causing this? I am using >Internet Explorer the newest version as well. Please let me know if you can >help me at all. Here are the explanations for the pre-installed image found here: http://smallwiki.unibe.ch/smallwiki/smallwiki2/installationofsmallwiki2/. If you installed everything manually, it might change a bit. I will soon (in a day or two) create a new pre-configured image with every packages updated and this bug should disappear. == Install the Refactoring Browser (if you do not have it) == - - Open the world menu (click on the squeak desktop) - - Choose "Open..." and "SqueakMap package loader" - - Type "AST" - - Open the contextual menu of the "AST (->10)" element and select install. - - Do the last two steps with "Refactoring Engine" == Install Smacc == - - Open the world menu (click on the squeak desktop) - - Choose "Open..." and "SqueakMap package loader" - - Type "smacc" in the input box on top of the SqueakMap Package Loader window - - Open the contextual menu of "SmaccDev (->2)" and select install - - Wait == Recreate the parser with Smacc == - - You should now have a window titled "SmaCCParserGenerator: ?/?". (If not, go to the world menu, choose open and "SmaCC generator") - - You have two buttons labeled "...". - - Click on the first button "..." and choose "SW2DocumentScanner". Answer "yes" to the question. - - Click on the second "..." and choose "SW2DocumentParser". Answer "yes" too. - - Click on "Compile LALR(1)" == Delete all seaside processes == - - Open the "Tools" pan (right side of squeak, in orange) - - Drag and drop the "Processes" button. - - Select the elements whose names contains "seaside", "monitor" or "semaphore" and kill each element using the "Terminate" option in the contextual menu. == Restart Seaside == - - Execute the following lines : WAKom stop. WAKom startOn: 8080. WARegistry clearAllHandlers. - - Close and reopen the SmallWiki 2 page on your browser. - - Everything should work now - -- Damien , /| __ / | ,-~ / Y :| // / | jj /( .^ >-"~"-v" / Y jo o | ( ~T~ j >._-' _./ / "~" | Y _, | /| ;-"~ _ l / l/ ,-"~ \ \//\/ .- \ Y / Y l I ! ]\ _\ /"\ (" ~----( ~ Y. ) ~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDJDURyl2oT75/6woRAp5bAKCkQFa6nbfW0QUUaG1EXwC8VWoI4ACgoEuC QUQ9BycgVYr5Dm6hXmr08DQ= =Xahk -----END PGP SIGNATURE----- From ducasse at iam.unibe.ch Sun Sep 11 16:43:18 2005 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Sun, 11 Sep 2005 16:43:18 +0200 Subject: [SW2] Problem with the parser In-Reply-To: <43243511.1060401@laposte.net> References: <1126281178.4321afdad8ccc@webmail.msstate.edu> <43243511.1060401@laposte.net> Message-ID: <2E856A8C-294B-49DA-BD36-3E123C5E22A9@iam.unibe.ch> damien what you are doing is really cool... Stef On 11 sept. 05, at 15:45, Damien Cassou wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > blg3 at msstate.edu a ?crit : > > >> I am trying to install and use SmallWiki2 under windows and Squeak. I >> > installed > >> all the files as described on the website. Unfortunately I am >> still very >> unfamiliar with the SmallTalk language and unable to determine the >> issue >> > I am > >> getting. But anytime I insert a Carriage return in the page I am >> editing >> > I get > >> a parse error. Do you have any idea what could be causing this? I >> am using >> Internet Explorer the newest version as well. Please let me know >> if you can >> help me at all. >> > > Here are the explanations for the pre-installed image found here: > http://smallwiki.unibe.ch/smallwiki/smallwiki2/ > installationofsmallwiki2/. > If you installed everything manually, it might change a bit. I will > soon (in a day or two) create a new pre-configured image with every > packages updated and this bug should disappear. > > == Install the Refactoring Browser (if you do not have it) == > - - Open the world menu (click on the squeak desktop) > - - Choose "Open..." and "SqueakMap package loader" > - - Type "AST" > - - Open the contextual menu of the "AST (->10)" element and select > install. > - - Do the last two steps with "Refactoring Engine" > > == Install Smacc == > - - Open the world menu (click on the squeak desktop) > - - Choose "Open..." and "SqueakMap package loader" > - - Type "smacc" in the input box on top of the SqueakMap Package > Loader > window > - - Open the contextual menu of "SmaccDev (->2)" and select install > - - Wait > > == Recreate the parser with Smacc == > - - You should now have a window titled > "SmaCCParserGenerator: ?/?". (If > not, go to the world menu, choose open and "SmaCC generator") > - - You have two buttons labeled "...". > - - Click on the first button "..." and choose "SW2DocumentScanner". > Answer "yes" to the question. > - - Click on the second "..." and choose "SW2DocumentParser". Answer > "yes" too. > - - Click on "Compile LALR(1)" > > == Delete all seaside processes == > - - Open the "Tools" pan (right side of squeak, in orange) > - - Drag and drop the "Processes" button. > - - Select the elements whose names contains "seaside", "monitor" or > "semaphore" and kill each element using the "Terminate" option in the > contextual menu. > > == Restart Seaside == > - - Execute the following lines : > WAKom stop. > WAKom startOn: 8080. > WARegistry clearAllHandlers. > - - Close and reopen the SmallWiki 2 page on your browser. > - - Everything should work now > > - -- > Damien > , > /| __ > / | ,-~ / > Y :| // / > | jj /( .^ > >> -"~"-v" >> > / Y > jo o | > ( ~T~ j > >> ._-' _./ >> > / "~" | > Y _, | > /| ;-"~ _ l > / l/ ,-"~ \ > \//\/ .- \ > Y / Y > l I ! > ]\ _\ /"\ > (" ~----( ~ Y. ) > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFDJDURyl2oT75/6woRAp5bAKCkQFa6nbfW0QUUaG1EXwC8VWoI4ACgoEuC > QUQ9BycgVYr5Dm6hXmr08DQ= > =Xahk > -----END PGP SIGNATURE----- > > From damien.cassou at laposte.net Sun Sep 11 20:59:45 2005 From: damien.cassou at laposte.net (Damien Cassou) Date: Sun, 11 Sep 2005 20:59:45 +0200 Subject: [SW2] New 3.9 ready to use image Message-ID: <43247EA1.3000304@laposte.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've just posted a new image with everything you need to start playing with SmallWiki 2. It's based on the 3.9a-6690 image and use the last Magritte/Smallwiki2 versions found on the Lukas repository. You can always download the latest version on the following page: http://smallwiki.unibe.ch/smallwiki/smallwiki2/installationofsmallwiki2/ Tell me if you have problems. - -- Damien , /| __ / | ,-~ / Y :| // / | jj /( .^ >-"~"-v" / Y jo o | ( ~T~ j >._-' _./ / "~" | Y _, | /| ;-"~ _ l / l/ ,-"~ \ \//\/ .- \ Y / Y l I ! ]\ _\ /"\ (" ~----( ~ Y. ) ~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDJH6gyl2oT75/6woRAmV8AKC2WbvD5catJ2NXCDjEf8AcX1pTrQCgtjM9 glhYh8QiZiVpVHsxlYg2HHc= =/4Ub -----END PGP SIGNATURE----- From damien.cassou at laposte.net Mon Sep 12 21:10:11 2005 From: damien.cassou at laposte.net (Damien Cassou) Date: Mon, 12 Sep 2005 21:10:11 +0200 Subject: [SW2] New 3.9 ready to use image In-Reply-To: <43247EA1.3000304@laposte.net> References: <43247EA1.3000304@laposte.net> Message-ID: <4325D293.2020706@laposte.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Damien Cassou a ?crit : > I've just posted a new image with everything you need to start playing > with SmallWiki 2. It's based on the 3.9a-6690 image and use the last > Magritte/Smallwiki2 versions found on the Lukas repository. > > You can always download the latest version on the following page: > http://smallwiki.unibe.ch/smallwiki/smallwiki2/installationofsmallwiki2/ > > Tell me if you have problems. I'm sorry, my initials are attached to the image. You should change them using "World menu=>help=>set author initials" - -- Damien , /| __ / | ,-~ / Y :| // / | jj /( .^ >-"~"-v" / Y jo o | ( ~T~ j >._-' _./ / "~" | Y _, | /| ;-"~ _ l / l/ ,-"~ \ \//\/ .- \ Y / Y l I ! ]\ _\ /"\ (" ~----( ~ Y. ) ~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDJdKTyl2oT75/6woRApUXAJ9QezvPWbzMEWhpJnG8xRCiUlYvrQCePkxY W8YwcBhF0EH+8hrHOLOw6Ho= =ZG/c -----END PGP SIGNATURE----- From kustos at gmx.net Tue Sep 13 07:27:25 2005 From: kustos at gmx.net (Philippe Marschall) Date: Tue, 13 Sep 2005 07:27:25 +0200 Subject: [SW2] security model Message-ID: <4326633D.6060909@gmx.net> Hi We have been discussing the security model of SW2 lately and now we're stuck. So this is your chance to say what you need, come up with brilliant ideas or pull the emergency brake ;). We're open for anything, don't hesitate to ask questions or make suggestions. The stock SW2 does not have a security model. Maybe it will get one, maybe not, if it gets one it will likely be very simple. Something like locking of Swiki. But that does not mean there isn't a a security model for SW2, you can load it from the MC repository below. This model is the subject of this message. MCHttpRepository location: 'http://kilana.unibe.ch:8888/adl' user: '' password: '' (contact me if you want write permission) The Present The system is based on access control lists which allow you to define a set of access rules for a structure (page, file, component, ...). It is already working and only has some minor glitches (you don't have to confirm the password, stuff like that). A rule looks like this: Principal: is either a user or a group Allow/Deny: should be clear Action: is either a command or set of commands referred as `Command Set' which can be defined almost like a group. So sample rules might look like this: `students are not allowed to Edit' `everyone is allowed to View' `bob is allowed to Remove' The non-abstract commands currently in my image are generic commands for any structure SW2AddCommand (add anything, file, page, component, ...) SW2CopyCommand SW2MoveCommand SW2RemoveCommand SW2ViewCommand page related commands SW2InplaceEditCommand SW2EditPageCommand file related commands SW2EditFileCommand component related commands SW2SettingsComponentCommand SW2EditComponentCommand user management related commands SVAddUMChildCommand (stupid name, add a user/group/command set) SVEditUMChildCommand (stupid name as well, edit a user/group/command set) access control related commands SVCopyACLCommand SVViewACLCommand SVAddACLItemCommand SVEditACLItemCommand SVMoveACLItemCommand SVRemoveACLItemCommand always allowed SVLoginCommand SVRetryCommand SVLogoutCommand SVChangePasswordCommand (only change your own) special users: root, can do anything, not affected by any access rules guest, aka anonymous, the user who is not logged in special groups everyone, includes every user everyone but guest, any user who is logged in special command sets everything, includes all commands The user management is a special structure named Management which is attached to the root of the wiki like Environment (the meta wiki). A user, a group, everything is a structure embedded into the wiki. Root \+ whatever \+ Environment \+ Management \+ Users \+ User1 \+ User2 \+ Groups \+ Group1 \+ Group2 \+ Command Sets \+ Command Set 1 Limitations Because we just control commands and the add command is generic we can not allow someone to add pages and deny adding of files to him at the same time for the same structure. Is this a problem for anyone? However we can allow someone to add users but deny adding of groups to him. We don't do any form of spam or flood protection/recognition. We have no concept of administrator or owner. Just root. You can create a group administrators and add a rule `administrators are allowed to do anything' to all structures (add it to root and check the box to add it to all children), but if someone has the right to edit, add or remove access rules he can disable this rule. That would require root to fix it. The Future Like you can redefine Environment for structures we are looking for a way to redefine Management too in order to allow locally administrated subwikis (like Zope). We have not started with this because we are still struggling with the semantics (the actual reason for this mail). The problems we have encountered so far are: - Do we have a local root user a subwiki? How do we name it and how do we name it in a subsubwiki? - Are user names globally unique? Can you redefine users in a subwiki? If yes what happens if a user enters a subwiki where he is redefined? What if we leaves? What if a redefined subwiki user enters a superwiki? - What happens if a subwiki user leaves his subwik (does he become guest)? What if there exists a user with the same name? - Who is allowed to add a new Management? This is an issue because the Add command is generic and the Management is just a regular structure so if you can add structures then you can add a Management too (we could actually modify (read hack) the description of the Add command to exclude Management and add a separated command for that). If a also have a local root and initialize it's password with a default value (or even ask the user) then you can get all the rights in this subwiki if you have the add command. - Do you see any case where you need this? (This is probably the most important question of them all) Another option we discussed lately was the possibility to just add users and groups in the wiki instead of adding a Management but this doesn't seem to make any difference or solve any problems. What currently makes the most sense to me is: Prevent adding of a Management with the Add command (#isValidForAddCommand or something like that) and make an own command for that. Which makes sense in the long term because certain kinds of structures can only have or be child of certain kinds of other structures. Make user names globally unique because this solves a lot a problems. If you leave your subwiki you become guest. However I'm still undecided on the subwikiroot. Cheers Philippe From ducasse at iam.unibe.ch Tue Sep 13 10:55:25 2005 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Tue, 13 Sep 2005 10:55:25 +0200 Subject: [SW2] security model In-Reply-To: <4326633D.6060909@gmx.net> References: <4326633D.6060909@gmx.net> Message-ID: <7E2ED33B-2DDC-4DBD-BE91-20548B5B2C7A@iam.unibe.ch> Hi philippe Thanks for your work. I think that this is really important. User of Smallwiki always ask two questions - how does it save - how can I control the edition > Hi > > We have been discussing the security model of SW2 lately and now we're > stuck. So this is your chance to say what you need, come up with > brilliant ideas or pull the emergency brake ;). We're open for > anything, > don't hesitate to ask questions or make suggestions. > > The stock SW2 does not have a security model. Maybe it will get one, > maybe not, if it gets one it will likely be very simple. Something > like > locking of Swiki. But that does not mean there isn't a a security > model > for SW2, you can load it from the MC repository below. This model > is the > subject of this message. > > MCHttpRepository > location: 'http://kilana.unibe.ch:8888/adl' > user: '' > password: '' > (contact me if you want write permission) > > The Present > The system is based on access control lists which allow you to > define a > set of access rules for a structure (page, file, component, ...). > It is > already working and only has some minor glitches (you don't have to > confirm the password, stuff like that). > > A rule looks like this: > > Principal: is either a user or a group > Allow/Deny: should be clear > Action: is either a command or set of commands referred as `Command > Set' > which can be defined almost like a group. > > So sample rules might look like this: > `students are not allowed to Edit' > `everyone is allowed to View' > `bob is allowed to Remove' > > The non-abstract commands currently in my image are > > generic commands for any structure > SW2AddCommand (add anything, file, page, component, ...) > SW2CopyCommand > SW2MoveCommand > SW2RemoveCommand > SW2ViewCommand > > page related commands > SW2InplaceEditCommand > SW2EditPageCommand > > file related commands > SW2EditFileCommand > > component related commands > SW2SettingsComponentCommand > SW2EditComponentCommand > > user management related commands > SVAddUMChildCommand (stupid name, add a user/group/command set) > SVEditUMChildCommand (stupid name as well, edit a user/group/ > command set) > > access control related commands > SVCopyACLCommand > SVViewACLCommand > SVAddACLItemCommand > SVEditACLItemCommand > SVMoveACLItemCommand > SVRemoveACLItemCommand > > always allowed > SVLoginCommand > SVRetryCommand > SVLogoutCommand > SVChangePasswordCommand (only change your own) > > special users: > root, can do anything, not affected by any access rules > guest, aka anonymous, the user who is not logged in > > special groups > everyone, includes every user > everyone but guest, any user who is logged in > > special command sets > everything, includes all commands > > The user management is a special structure named Management which is > attached to the root of the wiki like Environment (the meta wiki). A > user, a group, everything is a structure embedded into the wiki. > > Root > \+ whatever > \+ Environment > \+ Management > \+ Users > \+ User1 > \+ User2 > \+ Groups > \+ Group1 > \+ Group2 > \+ Command Sets > \+ Command Set 1 > > Limitations > Because we just control commands and the add command is generic we can > not allow someone to add pages and deny adding of files to him at the > same time for the same structure. Is this a problem for anyone? This can be a problem since you may want to avoid to have people uploading mp3 or other. > However we can allow someone to add users but deny adding of groups > to him. > We don't do any form of spam or flood protection/recognition. > We have no concept of administrator or owner. Just root. You can > create > a group administrators and add a rule `administrators are allowed > to do > anything' to all structures (add it to root and check the box to > add it > to all children), but if someone has the right to edit, add or remove > access rules he can disable this rule. That would require root to > fix it. This could be a problem but I like the idea that you have a group of admin I think that what is important is that one admin should not be able to go and delete users of other admin since we may have multiple wikis running on the same servers. > > The Future > Like you can redefine Environment for structures we are looking for a > way to redefine Management too in order to allow locally administrated > subwikis (like Zope). We have not started with this because we are > still > struggling with the semantics (the actual reason for this mail). > > The problems we have encountered so far are: > - Do we have a local root user a subwiki? How do we name it and how do > we name it in a subsubwiki? Admin? > - Are user names globally unique? I think that users should be attach to a wiki and you can be member of the crazy hallucino mushrooms groups I should not know it if I'm not allowed > Can you redefine users in a subwiki? I would not > If yes what happens if a user enters a subwiki where he is redefined? > What if we leaves? What if a redefined subwiki user enters a > superwiki? Too complex > - What happens if a subwiki user leaves his subwik (does he become > guest)? Yes > What if there exists a user with the same name? Then he should have another name? > - Who is allowed to add a new Management? This is an issue because the > Add command is generic and the Management is just a regular > structure so > if you can add structures then you can add a Management too (we could > actually modify (read hack) the description of the Add command to > exclude Management and add a separated command for that). If a also > have a local root and initialize it's password with a default value > (or > even ask the user) then you can get all the rights in this subwiki if > you have the add command. I would say only root. > - Do you see any case where you need this? (This is probably the most > important question of them all). > Another option we discussed lately was the possibility to just add > users > and groups in the wiki instead of adding a Management but this doesn't > seem to make any difference or solve any problems. > > What currently makes the most sense to me is: > Prevent adding of a Management with the Add command > (#isValidForAddCommand or something like that) and make an own command > for that. Yes it sounds that this is a first class action to me too. > Which makes sense in the long term because certain kinds of > structures can only have or be child of certain kinds of other > structures. > Make user names globally unique because this solves a lot a problems. > If you leave your subwiki you become guest. > However I'm still undecided on the subwikiroot. > Thanks for all this good energy :) From rleon at insario.com Tue Sep 13 19:21:18 2005 From: rleon at insario.com (Ramon Leon) Date: Tue, 13 Sep 2005 10:21:18 -0700 Subject: [SW2] security model Message-ID: <24C40DFA333DC44882F9FB0115F33D8F32B0DE@ARGON.insario.local> I'd like to suggest that you place a running sample image of this running in Squeak3.8 on the site(http://smallwiki.unibe.ch/advanceddesignlabs/admin/). I tried loading this a few days ago and ran into problems and your setup instructions were for 3.7, and make a few assumptions about some knowledge all of us may not have acquired just yet, like recompiling individual classes and why it's necessary. Currently getting an error about the environment not being initialized because the setup of the Smallwiki2 Kernel failed on content or contents being nil, this is from memory so I can recall exactly. I ask for 3.8 because 3.9 is too new and I want to put something into production that isn't shaky and I'd like to use Smallwiki2, I think stable enough for my needs with the minor exception of missing a security system and a search, but as a host container for my Seaside components I think it's fantastic. > -----Original Message----- > From: owner-smallwiki at iam.unibe.ch > [mailto:owner-smallwiki at iam.unibe.ch] On Behalf Of Philippe Marschall > Sent: Monday, September 12, 2005 10:27 PM > To: smallwiki at iam.unibe.ch > Subject: [SW2] security model > > Hi > > We have been discussing the security model of SW2 lately and > now we're stuck. So this is your chance to say what you need, > come up with brilliant ideas or pull the emergency brake ;). > We're open for anything, don't hesitate to ask questions or > make suggestions. > > The stock SW2 does not have a security model. Maybe it will > get one, maybe not, if it gets one it will likely be very > simple. Something like locking of Swiki. But that does not > mean there isn't a a security model for SW2, you can load it > from the MC repository below. This model is the subject of > this message. > > MCHttpRepository > location: 'http://kilana.unibe.ch:8888/adl' > user: '' > password: '' > (contact me if you want write permission) > > The Present > The system is based on access control lists which allow you > to define a set of access rules for a structure (page, file, > component, ...). It is already working and only has some > minor glitches (you don't have to confirm the password, stuff > like that). > > A rule looks like this: > > Principal: is either a user or a group > Allow/Deny: should be clear > Action: is either a command or set of commands referred as > `Command Set' > which can be defined almost like a group. > > So sample rules might look like this: > `students are not allowed to Edit' > `everyone is allowed to View' > `bob is allowed to Remove' > > The non-abstract commands currently in my image are > > generic commands for any structure > SW2AddCommand (add anything, file, page, component, ...) > SW2CopyCommand SW2MoveCommand SW2RemoveCommand SW2ViewCommand > > page related commands > SW2InplaceEditCommand > SW2EditPageCommand > > file related commands > SW2EditFileCommand > > component related commands > SW2SettingsComponentCommand > SW2EditComponentCommand > > user management related commands > SVAddUMChildCommand (stupid name, add a user/group/command > set) SVEditUMChildCommand (stupid name as well, edit a > user/group/command set) > > access control related commands > SVCopyACLCommand > SVViewACLCommand > SVAddACLItemCommand > SVEditACLItemCommand > SVMoveACLItemCommand > SVRemoveACLItemCommand > > always allowed > SVLoginCommand > SVRetryCommand > SVLogoutCommand > SVChangePasswordCommand (only change your own) > > special users: > root, can do anything, not affected by any access rules > guest, aka anonymous, the user who is not logged in > > special groups > everyone, includes every user > everyone but guest, any user who is logged in > > special command sets > everything, includes all commands > > The user management is a special structure named Management > which is attached to the root of the wiki like Environment > (the meta wiki). A user, a group, everything is a structure > embedded into the wiki. > > Root > \+ whatever > \+ Environment > \+ Management > \+ Users > \+ User1 > \+ User2 > \+ Groups > \+ Group1 > \+ Group2 > \+ Command Sets > \+ Command Set 1 > > Limitations > Because we just control commands and the add command is > generic we can not allow someone to add pages and deny adding > of files to him at the same time for the same structure. Is > this a problem for anyone? > However we can allow someone to add users but deny adding of > groups to him. > We don't do any form of spam or flood protection/recognition. > We have no concept of administrator or owner. Just root. You > can create a group administrators and add a rule > `administrators are allowed to do anything' to all structures > (add it to root and check the box to add it to all children), > but if someone has the right to edit, add or remove access > rules he can disable this rule. That would require root to fix it. > > The Future > Like you can redefine Environment for structures we are > looking for a way to redefine Management too in order to > allow locally administrated subwikis (like Zope). We have not > started with this because we are still struggling with the > semantics (the actual reason for this mail). > > The problems we have encountered so far are: > - Do we have a local root user a subwiki? How do we name it > and how do we name it in a subsubwiki? > - Are user names globally unique? Can you redefine users in a subwiki? > If yes what happens if a user enters a subwiki where he is redefined? > What if we leaves? What if a redefined subwiki user enters a > superwiki? > - What happens if a subwiki user leaves his subwik (does he > become guest)? What if there exists a user with the same name? > - Who is allowed to add a new Management? This is an issue > because the Add command is generic and the Management is just > a regular structure so if you can add structures then you can > add a Management too (we could actually modify (read hack) > the description of the Add command to exclude Management and > add a separated command for that). If a also have a local > root and initialize it's password with a default value (or > even ask the user) then you can get all the rights in this > subwiki if you have the add command. > - Do you see any case where you need this? (This is probably > the most important question of them all) > > Another option we discussed lately was the possibility to > just add users and groups in the wiki instead of adding a > Management but this doesn't seem to make any difference or > solve any problems. > > What currently makes the most sense to me is: > Prevent adding of a Management with the Add command > (#isValidForAddCommand or something like that) and make an > own command for that. Which makes sense in the long term > because certain kinds of structures can only have or be child > of certain kinds of other structures. > Make user names globally unique because this solves a lot a problems. > If you leave your subwiki you become guest. > However I'm still undecided on the subwikiroot. > > Cheers > Philippe > > From philippe.marschall at gmail.com Tue Sep 13 19:51:32 2005 From: philippe.marschall at gmail.com (Philippe Marschall) Date: Tue, 13 Sep 2005 19:51:32 +0200 Subject: [SW2] security model In-Reply-To: <7E2ED33B-2DDC-4DBD-BE91-20548B5B2C7A@iam.unibe.ch> References: <4326633D.6060909@gmx.net> <7E2ED33B-2DDC-4DBD-BE91-20548B5B2C7A@iam.unibe.ch> Message-ID: <66666f210509131051782b4fbd@mail.gmail.com> > This can be a problem since you may want to avoid to have people > uploading mp3 or other. Nope, uploading is done with the EditFileCommand > This could be a problem but I like the idea that you have > a group of admin Well it would just we a group named admin without special semantics. You decide what rights they have the same way to decide what rights any other group has. > I think that what is important is that one admin should not be able to > go and delete users of other admin since we may have multiple wikis > running on the same servers. User/Groups/Command Sets are only per Wiki (SW2Kernel to be exactely) I'm currently setting up a SW2 Image based on 3.8. From damien.cassou at laposte.net Tue Sep 13 20:44:14 2005 From: damien.cassou at laposte.net (Damien Cassou) Date: Tue, 13 Sep 2005 20:44:14 +0200 Subject: [SW2] security model In-Reply-To: <24C40DFA333DC44882F9FB0115F33D8F32B0DE@ARGON.insario.local> References: <24C40DFA333DC44882F9FB0115F33D8F32B0DE@ARGON.insario.local> Message-ID: <43271DFE.4050501@laposte.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I ask for 3.8 > because 3.9 is too new and I want to put something into production that > isn't shaky and I'd like to use Smallwiki2, I think stable enough for my > needs with the minor exception of missing a security system and a > search, but as a host container for my Seaside components I think it's > fantastic. If you need 3.8 maybe others would prefer 3.8 too. I'm currently maintaining a 3.9 ready-to-use image of smallwiki2. Do you want me to use 3.8 instead ? What is best ? - -- Damien , /| __ / | ,-~ / Y :| // / | jj /( .^ >-"~"-v" / Y jo o | ( ~T~ j >._-' _./ / "~" | Y _, | /| ;-"~ _ l / l/ ,-"~ \ \//\/ .- \ Y / Y l I ! ]\ _\ /"\ (" ~----( ~ Y. ) ~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDJx3+yl2oT75/6woRAt14AJ9ZeY9ut5G05TgyFFnmAwPA3RcxHACfbekE mxSSI8vzBU4FMfL1qvKhCw0= =w7+4 -----END PGP SIGNATURE----- From rleon at insario.com Tue Sep 13 22:03:44 2005 From: rleon at insario.com (Ramon Leon) Date: Tue, 13 Sep 2005 13:03:44 -0700 Subject: [SW2] security model Message-ID: <24C40DFA333DC44882F9FB0115F33D8F32B0E6@ARGON.insario.local> Yes, as it's the current stable release. > -----Original Message----- > From: owner-smallwiki at iam.unibe.ch > [mailto:owner-smallwiki at iam.unibe.ch] On Behalf Of Damien Cassou > Sent: Tuesday, September 13, 2005 11:44 AM > To: smallwiki at iam.unibe.ch > Subject: Re: [SW2] security model > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I ask for 3.8 > > because 3.9 is too new and I want to put something into production > > that isn't shaky and I'd like to use Smallwiki2, I think > stable enough > > for my needs with the minor exception of missing a security > system and > > a search, but as a host container for my Seaside components I think > > it's fantastic. > > If you need 3.8 maybe others would prefer 3.8 too. I'm > currently maintaining a 3.9 ready-to-use image of smallwiki2. > Do you want me to use 3.8 instead ? > > What is best ? > > - -- > Damien > , > /| __ > / | ,-~ / > Y :| // / > | jj /( .^ > >-"~"-v" > / Y > jo o | > ( ~T~ j > >._-' _./ > / "~" | > Y _, | > /| ;-"~ _ l > / l/ ,-"~ \ > \//\/ .- \ > Y / Y > l I ! > ]\ _\ /"\ > (" ~----( ~ Y. ) > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFDJx3+yl2oT75/6woRAt14AJ9ZeY9ut5G05TgyFFnmAwPA3RcxHACfbekE > mxSSI8vzBU4FMfL1qvKhCw0= > =w7+4 > -----END PGP SIGNATURE----- > From philippe.marschall at gmail.com Tue Sep 13 22:55:17 2005 From: philippe.marschall at gmail.com (Philippe Marschall) Date: Tue, 13 Sep 2005 22:55:17 +0200 Subject: [SW2] security model In-Reply-To: <24C40DFA333DC44882F9FB0115F33D8F32B0DE@ARGON.insario.local> References: <24C40DFA333DC44882F9FB0115F33D8F32B0DE@ARGON.insario.local> Message-ID: <66666f210509131355582f4d97@mail.gmail.com> 2005/9/13, Ramon Leon : > I'd like to suggest that you place a running sample image of this > running in Squeak3.8 on the > site(http://smallwiki.unibe.ch/advanceddesignlabs/admin/). Try this: http://www.iamexwi.unibe.ch/studenten/marschal/SW2-ACL.zip Sorry it took so long. 12 MB don't work well with SW1, my upload bandwidth sucks and I only have 75 MB of quota. quota -v usage quota limit 74437 75000 80000 > I tried > loading this a few days ago and ran into problems and your setup > instructions were for 3.7, and make a few assumptions about some > knowledge all of us may not have acquired just yet, like recompiling > individual classes and why it's necessary. Sorry about that. This information was thought for CS professors, PhDs, and Seaside/SW2 devs ;) The information however is still valid, just versions have changed. We are aware that setting up a SW2 image right know is no as simple as it should be. Lukas is looking into ways to make this much simpler. Just remember that SW2 is still in development and not `a product' yet. > Currently getting an error about the environment not being initialized > because the setup of the Smallwiki2 Kernel failed on content or contents > being nil, this is from memory so I can recall exactly. Sorry about that, this is my fault. Bootstrapping was broken in the latest versions because of overrides (or more the way Squeak/Monticello don't handle them) and I noticed this today. Thanks for pointing this out to me. > I ask for 3.8 > because 3.9 is too new and I want to put something into production that > isn't shaky and I'd like to use Smallwiki2, I think stable enough for my > needs with the minor exception of missing a security system and a > search, but as a host container for my Seaside components I think it's > fantastic. Put SW2 into production? Right now? Are you aware of the fact that SW2 is still in development, internal datastructures might change and the only persistence right now is `save image' (although putting a kernel into a reference stream should be simple)? From rleon at insario.com Tue Sep 13 23:55:31 2005 From: rleon at insario.com (Ramon Leon) Date: Tue, 13 Sep 2005 14:55:31 -0700 Subject: [SW2] security model Message-ID: <24C40DFA333DC44882F9FB0115F33D8F32B0EA@ARGON.insario.local> > Try this: > http://www.iamexwi.unibe.ch/studenten/marschal/SW2-ACL.zip > > Sorry it took so long. 12 MB don't work well with SW1, my > upload bandwidth sucks and I only have 75 MB of quota. > Excellent, exactly what I was looking for, thanks. > We are aware that setting up a SW2 image right know is no as > simple as it should be. Lukas is looking into ways to make > this much simpler. > Just remember that SW2 is still in development and not `a product' > yet. Very aware of that. > Sorry about that, this is my fault. Bootstrapping was broken > in the latest versions because of overrides (or more the way > Squeak/Monticello don't handle them) and I noticed this > today. Thanks for pointing this out to me. Anytime. > Put SW2 into production? Right now? Are you aware of the fact > that SW2 is still in development, internal datastructures > might change and the only persistence right now is `save > image' (although putting a kernel into a reference stream > should be simple)? I was using the term production very loosely. I mean production for my own little side projects and hobby projects, I just meant that to even put SW2 up on my server at all, I'd need it to have security. I know it's bleeding edge, not quite finished and occasionally buggy, I'm perfectly fine with that because it's going in exactly the direction I like and I enjoy watching it grow. It's helpful in understanding the design decisions that are being made. Ramon Leon From damien.cassou at laposte.net Wed Sep 14 07:02:14 2005 From: damien.cassou at laposte.net (Damien Cassou) Date: Wed, 14 Sep 2005 07:02:14 +0200 Subject: [SW2] Think about a new name Message-ID: <4327AED6.8070703@laposte.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, as probably most of you already know, SmallWiki 2 is very powerfull and much more than a wiki. Here is a discussion between Lukas and me: Lukas: the problem is basically that smallwiki is a very well known name already Lukas: the best name we found so far is "Seashell" Lukas: or just "Shell" Lukas: but you are right, it is not just a wiki anymore Damien: Seashell => Seaside and SmallWiki is not Seaside dependent (it should not in the future at least) Damien: why Shell ? Lukas: because a shell is like can contain cool stuff Lukas: and it is like something that is around your stuff Lukas: well... if you have better ideas, feel free to open a discussion in the mailing-list ;-) Damien: I will try to think about a name. Shell for me is "Bash" or thing like this. Lukas: another idea was "Harbour" Lukas: but i don't like the sound of the word ;-) Lukas: maybe we should just take something totally unrelated and abstract, such as magritte Damien: Harbour is a common name, you won't have the first results in google Damien: we may construct an abstract name based on this ideas We are open to ideas from everybody. Here are some ideas: Swinaw: SmallWiki is not a wiki Sinawa: Smallwiki is not a wiki anymore SmallHarbour STGW: Small talk, great work - -- Damien , /| __ / | ,-~ / Y :| // / | jj /( .^ >-"~"-v" / Y jo o | ( ~T~ j >._-' _./ / "~" | Y _, | /| ;-"~ _ l / l/ ,-"~ \ \//\/ .- \ Y / Y l I ! ]\ _\ /"\ (" ~----( ~ Y. ) ~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDJ67Wyl2oT75/6woRApqqAJ92NVgCczXod9ibqxhIIGWP5lrj8gCfWzQK 935IXgVR8LaHExqDLdtClHc= =5LIM -----END PGP SIGNATURE----- From renggli at iam.unibe.ch Wed Sep 14 07:42:21 2005 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Wed, 14 Sep 2005 07:42:21 +0200 Subject: [SW2] Think about a new name In-Reply-To: <4327AED6.8070703@laposte.net> References: <4327AED6.8070703@laposte.net> Message-ID: <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> > We are open to ideas from everybody. Various ideas that Avi told me in the chat today: Canvas (has nautical meaning) Easel Seaside On Sails / Bicycle / ... Skate (which is interesting because it's also an aquatic creature) Manta (a kind of ray which is like a skate, but kind of a nice name) I like the last one the most ;-) Lukas -- Lukas Renggli http://www.lukas-renggli.ch From ian at inextenso.com Wed Sep 14 07:54:44 2005 From: ian at inextenso.com (Ian Prince) Date: Wed, 14 Sep 2005 07:54:44 +0200 Subject: [SW2] Think about a new name In-Reply-To: <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> Message-ID: <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> Hi Lukas, good idea to think of a new name - SW2 is *so* much more than a wiki! How about using a seaside resort name? Brighton, for example? Pick your favorite! Not that I don't like Manta and Skate (my favorite, fast and hip) I'd steer clear of Seaside On Sails - you're *not* copying the R framework ;-) Have fun choosing, it's your baby! Ian. On 14 Sep 2005, at 07:42, Lukas Renggli wrote: >> We are open to ideas from everybody. >> > > Various ideas that Avi told me in the chat today: > > Canvas (has nautical meaning) > > Easel > > Seaside On Sails / Bicycle / ... > > Skate (which is interesting because it's also an aquatic creature) > > Manta (a kind of ray which is like a skate, but kind of a nice > name) > > I like the last one the most ;-) > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > From avi.bryant at gmail.com Wed Sep 14 07:59:50 2005 From: avi.bryant at gmail.com (Avi Bryant) Date: Tue, 13 Sep 2005 22:59:50 -0700 Subject: [SW2] Think about a new name In-Reply-To: <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> Message-ID: On Sep 13, 2005, at 10:54 PM, Ian Prince wrote: > Hi Lukas, > > good idea to think of a new name - SW2 is *so* much more than a > wiki! > > How about using a seaside resort name? Brighton, for example? Pick > your favorite! I like the idea of using a seaside resort (I've always been fond of using place names for things), but I think you need to pick one that's easier to pronounce. Having recently returned from the Netherlands, there's an obvious candidate: Scheveningen. It's the resort just north of The Hague... ;) Avi From ducasse at iam.unibe.ch Wed Sep 14 08:14:28 2005 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Wed, 14 Sep 2005 08:14:28 +0200 Subject: [SW2] Think about a new name In-Reply-To: References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> Message-ID: > >> Hi Lukas, >> >> good idea to think of a new name - SW2 is *so* much more than >> a wiki! >> >> How about using a seaside resort name? Brighton, for example? Pick >> your favorite! >> > > I like the idea of using a seaside resort (I've always been fond of > using place names for things), but I think you need to pick one > that's easier to pronounce. Having recently returned from the > Netherlands, there's an obvious candidate: Scheveningen. It's the > resort just north of The Hague... Why not Antwerpen this way we are sure that not a single french guy can pronounce it :))) Stef From chris at chrisburkert.de Wed Sep 14 09:15:00 2005 From: chris at chrisburkert.de (Chris Burkert) Date: Wed, 14 Sep 2005 09:15:00 +0200 Subject: [SW2] Think about a new name In-Reply-To: <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> Message-ID: <4327CDF4.4040303@chrisburkert.de> Lukas Renggli wrote: > > Skate (which is interesting because it's also an aquatic creature) My favourite! > Manta (a kind of ray which is like a skate, but kind of a nice name) Manta reminds me on the car Opel Manta and the left extremities of the driver hanging out the window :-) What about ? best regards Chris Burkert -- http://www.chrisburkert.de/ From giovanni at corriga.net Wed Sep 14 09:32:18 2005 From: giovanni at corriga.net (Giovanni Corriga) Date: Wed, 14 Sep 2005 09:32:18 +0200 Subject: [SW2] Think about a new name In-Reply-To: <4327CDF4.4040303@chrisburkert.de> References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <4327CDF4.4040303@chrisburkert.de> Message-ID: <1126683139.2505.3.camel@rincewind.discworld> Il giorno mer, 14/09/2005 alle 09.15 +0200, Chris Burkert ha scritto: > What about ? I like it! Giovanni From Annick_Fron_AFC at compuserve.com Wed Sep 14 14:23:45 2005 From: Annick_Fron_AFC at compuserve.com (Annick Fron) Date: Wed, 14 Sep 2005 14:23:45 +0200 Subject: CSS In-Reply-To: References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> Message-ID: > Bonjour St?phane, Que penses-tu de mon code CSS pour g?n?rer du seaside ?? ================= Annick Fron - 04 93 22 88 18 AFC Europe B.P. 111 977 avenue du Docteur Julien Lefebvre 06271 Villeneuve-Loubet Cedex France http://www.afceurope.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20050914/e3ca922c/attachment.htm From jacaetevha at gmail.com Wed Sep 14 15:34:00 2005 From: jacaetevha at gmail.com (Jason Rogers) Date: Wed, 14 Sep 2005 09:34:00 -0400 Subject: [SW2] Think about a new name In-Reply-To: <1126683139.2505.3.camel@rincewind.discworld> References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <4327CDF4.4040303@chrisburkert.de> <1126683139.2505.3.camel@rincewind.discworld> Message-ID: <72412f1f0509140634204c994@mail.gmail.com> On 9/14/05, Giovanni Corriga wrote: > Il giorno mer, 14/09/2005 alle 09.15 +0200, Chris Burkert ha scritto: > > > What about ? > > I like it! What about something way off topic: Arteria? From Dictionary.com -- "a blood vessel that carries blood from the heart to the body". I could think of all sorts of wonderful metaphors that this name could suggest. -- Jason Rogers "I am crucified with Christ: nevertheless I live; yet not I, but Christ liveth in me: and the life which I now live in the flesh I live by the faith of the Son of God, who loved me, and gave himself for me." Galatians 2:20 From ducasse at iam.unibe.ch Wed Sep 14 18:13:32 2005 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Wed, 14 Sep 2005 18:13:32 +0200 Subject: CSS In-Reply-To: References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> Message-ID: <848B83EC-60D9-4865-A402-FCD7CB5F01FC@iam.unibe.ch> je ne sais pas. Je ne connais rien a css et je ne suis pas expert seaside non plus. Juste je sais que Seaside est bon. Stef >> Bonjour St?phane, >> > > Que penses-tu de mon code CSS pour g?n?rer du seaside ?? > > > ================= > Annick Fron - 04 93 22 88 18 > AFC Europe > B.P. 111 > 977 avenue du Docteur Julien Lefebvre > 06271 Villeneuve-Loubet Cedex France > http://www.afceurope.com > > From renggli at iam.unibe.ch Wed Sep 14 19:01:20 2005 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Wed, 14 Sep 2005 19:01:20 +0200 Subject: CSS In-Reply-To: <848B83EC-60D9-4865-A402-FCD7CB5F01FC@iam.unibe.ch> References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> <848B83EC-60D9-4865-A402-FCD7CB5F01FC@iam.unibe.ch> Message-ID: <1CC260D2-5C94-4632-A9FF-7B7012CE6FE6@iam.unibe.ch> Hi, I think this is a very interesting idea to generate the Seaside code using an XSL transformation. Especially when starting with a new project and getting a template from a web-designer it used to be very nasty to get started. Copying the automatically generated code to Squeak and using the Refactoring-Browser to decompose it into a couple of small methods is really cool. I tried to convert www.netstyle.ch using your XSL and made two observations: - Usually we produce XHTML sites with heavily nested div and span tags, the XSL doesn't seem to handle these properly. I think it is less important to support input-fields, since those require manual work anyway or are even created using Magritte. - I am using the canvas rendering framework for all my new code. Lukas -- Lukas Renggli http://www.lukas-renggli.ch From etanter at dcc.uchile.cl Wed Sep 14 21:44:55 2005 From: etanter at dcc.uchile.cl (Eric Tanter) Date: Wed, 14 Sep 2005 15:44:55 -0400 Subject: [SW2] Think about a new name In-Reply-To: References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> Message-ID: <8425B64B-4DF3-4056-AF67-DAFCCB200858@dcc.uchile.cl> >>> Hi Lukas, >>> >>> good idea to think of a new name - SW2 is *so* much more than >>> a wiki! >>> >>> How about using a seaside resort name? Brighton, for example? >>> Pick your favorite! >>> >>> >> >> I like the idea of using a seaside resort (I've always been fond >> of using place names for things), but I think you need to pick one >> that's easier to pronounce. Having recently returned from the >> Netherlands, there's an obvious candidate: Scheveningen. It's the >> resort just north of The Hague... >> > > Why not Antwerpen > this way we are sure that not a single french guy can pronounce > it :))) If you're thinking of seaside resorts, why not consider "real" ones?? I mean, north of Europe is fine, but not the definite place for beach resorts, I guess :-P Among the nice onces, why not Copacabana? at least everybody starts dreaming when hearing this name (or at least, should!) -- Eric From squeakuser at inglang.com Wed Sep 14 22:54:05 2005 From: squeakuser at inglang.com (Darius) Date: Wed, 14 Sep 2005 13:54:05 -0700 Subject: [SW2] Think about a new name Message-ID: <1126731245.43288ded9f520@webmail.namezero.com> How about an allusion to fractals & nesting. "EndlessShores" (only one ref on Google) or "EndlessCoasts" (only two refs on Google) or "EndlessBeach" (lots of ref on Google :[ ) "Endless" sort of opposite to "Closures" From avi.bryant at gmail.com Wed Sep 14 23:44:40 2005 From: avi.bryant at gmail.com (Avi Bryant) Date: Wed, 14 Sep 2005 14:44:40 -0700 Subject: [SW2] Think about a new name In-Reply-To: <1126731245.43288ded9f520@webmail.namezero.com> References: <1126731245.43288ded9f520@webmail.namezero.com> Message-ID: <0DF3DEA6-E8AF-4F99-ADB4-CCB8753809ED@gmail.com> On Sep 14, 2005, at 1:54 PM, Darius wrote: > > > How about an allusion to fractals & nesting. > "EndlessShores" (only one ref on Google) or > "EndlessCoasts" (only two refs on Google) or > "EndlessBeach" (lots of ref on Google :[ ) > > "Endless" sort of opposite to "Closures" Yeah, I was thinking about this too... "Shoreline", for example. Avi From Annick_Fron_AFC at compuserve.com Thu Sep 15 00:01:49 2005 From: Annick_Fron_AFC at compuserve.com (Annick Fron) Date: Thu, 15 Sep 2005 00:01:49 +0200 Subject: CSS In-Reply-To: <1CC260D2-5C94-4632-A9FF-7B7012CE6FE6@iam.unibe.ch> References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> <848B83EC-60D9-4865-A402-FCD7CB5F01FC@iam.unibe.ch> <1CC260D2-5C94-4632-A9FF-7B7012CE6FE6@iam.unibe.ch> Message-ID: OK thanks, If you find it a good idea, I'll add the spans and divs, only one rewrite rule .. I was lazy in the implementation waiting to know if this echoed .... I'll do that on Friday. Best regards, Annick Le 14 sept. 05 ? 19:01, Lukas Renggli a ?crit : > Hi, > > I think this is a very interesting idea to generate the Seaside > code using an XSL transformation. Especially when starting with a > new project and getting a template from a web-designer it used to > be very nasty to get started. Copying the automatically generated > code to Squeak and using the Refactoring-Browser to decompose it > into a couple of small methods is really cool. > > I tried to convert www.netstyle.ch using your XSL and made two > observations: > > - Usually we produce XHTML sites with heavily nested div and span > tags, the XSL doesn't seem to handle these properly. I think it is > less important to support input-fields, since those require manual > work anyway or are even created using Magritte. > > - I am using the canvas rendering framework for all my new code. > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > From avanos at xs4all.nl Thu Sep 15 00:53:08 2005 From: avanos at xs4all.nl (Adriaan van Os) Date: Thu, 15 Sep 2005 00:53:08 +0200 (CEST) Subject: [SW2] Think about a new name In-Reply-To: <0DF3DEA6-E8AF-4F99-ADB4-CCB8753809ED@gmail.com> References: <1126731245.43288ded9f520@webmail.namezero.com> <0DF3DEA6-E8AF-4F99-ADB4-CCB8753809ED@gmail.com> Message-ID: <22019.213.84.174.51.1126738388.squirrel@213.84.174.51> I was thinking about WikiWeaver or WebWeaver but both generate hits on that well known search engine. What about Entwine (or similar words)? As for Scheveningen, I think Bloemendaal is much more hip ;). Adriaan. -- http://vdg38bis.xs4all.nl From avi.bryant at gmail.com Thu Sep 15 01:08:37 2005 From: avi.bryant at gmail.com (Avi Bryant) Date: Wed, 14 Sep 2005 16:08:37 -0700 Subject: [SW2] Think about a new name In-Reply-To: <22019.213.84.174.51.1126738388.squirrel@213.84.174.51> References: <1126731245.43288ded9f520@webmail.namezero.com> <0DF3DEA6-E8AF-4F99-ADB4-CCB8753809ED@gmail.com> <22019.213.84.174.51.1126738388.squirrel@213.84.174.51> Message-ID: On Sep 14, 2005, at 3:53 PM, Adriaan van Os wrote: > I was thinking about WikiWeaver or WebWeaver but both generate hits on > that well known search engine. > > What about Entwine (or similar words)? Not bad, but I can't help parsing it as Ent-wine... > As for Scheveningen, I think Bloemendaal is much more hip ;). Ja, ik vind Scheveningen niet leuk, maar de uitspreking is meer grappig (grappiger?). If we're going for random coastal place names, how about Tofino? It's where people go to surf around here, and I doubt it's got a software system named after it yet. Avi From ducasse at iam.unibe.ch Thu Sep 15 08:31:03 2005 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Thu, 15 Sep 2005 08:31:03 +0200 Subject: [SW2] Think about a new name In-Reply-To: <8425B64B-4DF3-4056-AF67-DAFCCB200858@dcc.uchile.cl> References: <4327AED6.8070703@laposte.net> <104E877A-A1DC-456F-B8D9-79E572BA5178@iam.unibe.ch> <0337F8C5-42D8-4CA5-BFD0-0C948ABB2F54@inextenso.com> <8425B64B-4DF3-4056-AF67-DAFCCB200858@dcc.uchile.cl> Message-ID: A non-text attachment was scrubbed... Name: Picture 1.png Type: image/png Size: 7424 bytes Desc: not available Url : http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20050915/896cee49/Picture1.png -------------- next part -------------- with this logo that I did thinking about a name for something related to seaside :) to say look how this is easy to do something and cool On 14 sept. 05, at 21:44, Eric Tanter wrote: >>>> Hi Lukas, >>>> >>>> good idea to think of a new name - SW2 is *so* much more >>>> than a wiki! >>>> >>>> How about using a seaside resort name? Brighton, for example? >>>> Pick your favorite! >>>> >>>> >>>> >>> >>> I like the idea of using a seaside resort (I've always been fond >>> of using place names for things), but I think you need to pick >>> one that's easier to pronounce. Having recently returned from >>> the Netherlands, there's an obvious candidate: Scheveningen. >>> It's the resort just north of The Hague... >>> >>> >> >> Why not Antwerpen >> this way we are sure that not a single french guy can pronounce >> it :))) >> > > If you're thinking of seaside resorts, why not consider "real" ones?? > I mean, north of Europe is fine, but not the definite place for > beach resorts, I guess :-P > > Among the nice onces, why not Copacabana? at least everybody starts > dreaming when hearing this name (or at least, should!) > > -- Eric > > From mike at mjr104.co.uk Thu Sep 15 13:43:12 2005 From: mike at mjr104.co.uk (Michael Roberts) Date: Thu, 15 Sep 2005 12:43:12 +0100 (BST) Subject: [SW2] Think about a new name In-Reply-To: References: <1126731245.43288ded9f520@webmail.namezero.com> <0DF3DEA6-E8AF-4F99-ADB4-CCB8753809ED@gmail.com> <22019.213.84.174.51.1126738388.squirrel@213.84.174.51> Message-ID: <28691.170.148.92.21.1126784592.squirrel@webmail.mjr104.co.uk> > If we're going for random coastal place names, how about Tofino? > It's where people go to surf around here, and I doubt it's got a > software system named after it yet. > Or maybe merge Ian's idea with a pinch of irony - Bognor. ;-) Mike From jacaetevha at gmail.com Thu Sep 15 16:20:23 2005 From: jacaetevha at gmail.com (Jason Rogers) Date: Thu, 15 Sep 2005 10:20:23 -0400 Subject: [SW2] Think about a new name In-Reply-To: <28691.170.148.92.21.1126784592.squirrel@webmail.mjr104.co.uk> References: <1126731245.43288ded9f520@webmail.namezero.com> <0DF3DEA6-E8AF-4F99-ADB4-CCB8753809ED@gmail.com> <22019.213.84.174.51.1126738388.squirrel@213.84.174.51> <28691.170.148.92.21.1126784592.squirrel@webmail.mjr104.co.uk> Message-ID: <72412f1f0509150720637e1edf@mail.gmail.com> On 9/15/05, Michael Roberts wrote: > > > If we're going for random coastal place names, how about Tofino? > > It's where people go to surf around here, and I doubt it's got a > > software system named after it yet. > > > Or maybe merge Ian's idea with a pinch of irony - Bognor. I didn't get the irony of Bognor, but I think Tofino is pretty catchy!! -- Jason Rogers "I am crucified with Christ: nevertheless I live; yet not I, but Christ liveth in me: and the life which I now live in the flesh I live by the faith of the Son of God, who loved me, and gave himself for me." Galatians 2:20 From gluca980 at libero.it Thu Sep 15 16:43:01 2005 From: gluca980 at libero.it (gluca980@libero.it) Date: Thu, 15 Sep 2005 16:43:01 +0200 Subject: management session Message-ID: Hi, I use smallwiki1, I'd like to find some information about the management session. I read the document: Management and Security of Collaborative Web Environments written from Prof. Dr. St?ephane Ducasse Prof. Dr. Oscar Nierstrasz There I didn't find for example if I'm login where the server save the username and password, or if I close the window how long the server still see me logged?how long is the timeout? Could someone tell me where can I find a document that talk about this or describe the management session, please. I'll look forward to receive an answer... thanks Gianluca From renggli at iam.unibe.ch Thu Sep 15 17:28:07 2005 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Thu, 15 Sep 2005 17:28:07 +0200 Subject: management session In-Reply-To: References: Message-ID: <8E6484A3-D207-44D7-B7A4-3DA4CBD46684@iam.unibe.ch> > I use smallwiki1, I'd like to find some information about the > management session. SmallWiki 1 is basically state-less, there is nothing such as a session object. The login is stored within a session cookie, a string with username and password that is passed back and forth between the client and the server. The session cookie is created in Login>>executeLogin, transformed back into the user-object in Request>>updateAuthenticationFromCookies and removed in Logout>>executeLogout. Alternatively basic-authentication can be used, but that is the same thing: you get logged out when closing the browser window. However there is (a very limited) possibility to pass objects from one page to the other one without serializing them: as links and form callbacks are defined using blocks that are cached on the server, you can pass data trough those blocks from one request to the other. An example can be seen in EditActin>>renderContent and SessionAction>>renderForm:, where the target structure is remembered using this technique. You should have a look at Seaside if you like to do fancy things with non-stateless web-applications. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From saidani at info.unicaen.fr Fri Sep 16 22:23:02 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Fri, 16 Sep 2005 22:23:02 +0200 Subject: [SW2] Think about a new name In-Reply-To: <4327AED6.8070703@laposte.net> (Damien Cassou's message of "Wed, 14 Sep 2005 07:02:14 +0200") References: <4327AED6.8070703@laposte.net> Message-ID: <87y85w2255.fsf@info.unicaen.fr> Damien Cassou writes: > Swinaw: SmallWiki is not a wiki > Sinawa: Smallwiki is not a wiki anymore > SmallHarbour Hi ! I like the idea like "Smallwiki is not a wiki", because SW2 is related to Magritte, who paints the famous "This is not a pipe", and SW2 is much more than a wiki. Magritte paints also the "pandore box", so to keep the theme, I propose "Pandore". It gives the feeling that wonderful things could pop up from this new tools... My 2 cents ;-) Samir From jacaetevha at gmail.com Mon Sep 19 14:23:33 2005 From: jacaetevha at gmail.com (Jason Rogers) Date: Mon, 19 Sep 2005 08:23:33 -0400 Subject: [SW2] Think about a new name In-Reply-To: <87y85w2255.fsf@info.unicaen.fr> References: <4327AED6.8070703@laposte.net> <87y85w2255.fsf@info.unicaen.fr> Message-ID: <72412f1f05091905233c9e38bf@mail.gmail.com> From damien.cassou at laposte.net Wed Sep 21 18:15:33 2005 From: damien.cassou at laposte.net (Damien Cassou) Date: Wed, 21 Sep 2005 18:15:33 +0200 Subject: [SW2] Think about a new name In-Reply-To: <72412f1f05091905233c9e38bf@mail.gmail.com> References: <4327AED6.8070703@laposte.net> <87y85w2255.fsf@info.unicaen.fr> <72412f1f05091905233c9e38bf@mail.gmail.com> Message-ID: <43318725.1080400@laposte.net> Hey, I just created a wiki page to choose a name: http://smallwiki.unibe.ch/smallwiki/smallwiki2/thinkaboutanewname/ Please move up the name you like and down the name you hate. Bye -- Damien From saidani at info.unicaen.fr Wed Sep 21 19:27:53 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Wed, 21 Sep 2005 19:27:53 +0200 Subject: Internationalization of SW1 from squeakfoundation Message-ID: <87irwuqqjq.fsf@info.unicaen.fr> Hi, I visited the SW1 from http://box2.squeakfoundation.org:7777/, and there is some features I think it should be interesting to include in the Monticello, like the translation ( en | sv ). Is it possible to get the image somewhere ? Or to add this feature to the MC repository ( http://www.squeaksource.com/smallwiki1 ). We can also think how to internationalize such a site ? I don't know if such a feature is planned for SW2... Regards, Samir From Alexander at lazarevic.de Wed Sep 21 20:19:36 2005 From: Alexander at lazarevic.de (=?ISO-8859-2?Q?Alexander_Lazarevi=E6?=) Date: Wed, 21 Sep 2005 20:19:36 +0200 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <87irwuqqjq.fsf@info.unicaen.fr> References: <87irwuqqjq.fsf@info.unicaen.fr> Message-ID: <4331A438.4090108@Lazarevic.de> I added this feature for multiple languages back when I had more spare time to work for the website team. I think I still have the sources somewhere. Alex Samir Saidani schrieb: > Hi, > > I visited the SW1 from http://box2.squeakfoundation.org:7777/, and > there is some features I think it should be interesting to include in > the Monticello, like the translation ( en | sv ). Is it possible to > get the image somewhere ? Or to add this feature to the MC repository > ( http://www.squeaksource.com/smallwiki1 ). > > We can also think how to internationalize such a site ? I don't know > if such a feature is planned for SW2... > > Regards, > Samir > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3192 bytes Desc: S/MIME Cryptographic Signature Url : http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20050921/b0bfac0d/smime.bin From saidani at info.unicaen.fr Wed Sep 21 20:41:09 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Wed, 21 Sep 2005 20:41:09 +0200 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <4331A438.4090108@Lazarevic.de> (Alexander =?iso-8859-2?Q?Laz?= =?iso-8859-2?Q?arevi=E6's?= message of "Wed, 21 Sep 2005 20:19:36 +0200") References: <87irwuqqjq.fsf@info.unicaen.fr> <4331A438.4090108@Lazarevic.de> Message-ID: <87ll1q9sca.fsf@info.unicaen.fr> Ok, if you don't have time, I can added the feature to MC Repository and doing some tests, if you manage to find the sources. Samir "Alexander Lazarevi?" writes: > I added this feature for multiple languages back when I had more spare > time to work for the website team. I think I still have the sources > somewhere. > > Alex > > Samir Saidani schrieb: >> Hi, >> >> I visited the SW1 from http://box2.squeakfoundation.org:7777/, and >> there is some features I think it should be interesting to include in >> the Monticello, like the translation ( en | sv ). Is it possible to >> get the image somewhere ? Or to add this feature to the MC repository >> ( http://www.squeaksource.com/smallwiki1 ). >> >> We can also think how to internationalize such a site ? I don't know >> if such a feature is planned for SW2... >> >> Regards, >> Samir >> From koubo2005 at yengawa.jpn.org Sat Sep 24 15:31:20 2005 From: koubo2005 at yengawa.jpn.org (Koji Yokokawa) Date: Sat, 24 Sep 2005 22:31:20 +0900 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <87irwuqqjq.fsf@info.unicaen.fr> References: <87irwuqqjq.fsf@info.unicaen.fr> Message-ID: <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> Hi, I made a changeset to handle charset correctly on SW1 (SmallWiki-chbu-0.9.53-sam.20 on Squeak3.8). You can set charset ('ISO-8859-1', 'UTF-8', 'Shift-JIS', etc.) through [admin:components] page with this patch. After that, all pages or forms under the wiki item are encoded by the charset. Charset handling is a very important function especially for Asian users. Please merge this patch into the default SW1 package for 'real' internationalization. Here is more details. http://yengawa.homedns.org:8888/YengawaWiki/15 On Wed, 21 Sep 2005 19:27:53 +0200 Samir Saidani wrote: > Hi, > > I visited the SW1 from http://box2.squeakfoundation.org:7777/, and > there is some features I think it should be interesting to include in > the Monticello, like the translation ( en | sv ). Is it possible to > get the image somewhere ? Or to add this feature to the MC repository > ( http://www.squeaksource.com/smallwiki1 ). > > We can also think how to internationalize such a site ? I don't know > if such a feature is planned for SW2... > > Regards, > Samir -- ! Koji Yokokawa self new! -------------- next part -------------- A non-text attachment was scrubbed... Name: SW1-Charset-ky.2.cs Type: application/octet-stream Size: 27652 bytes Desc: not available Url : http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20050924/95ddfa3b/SW1-Charset-ky.2.obj From renggli at iam.unibe.ch Sat Sep 24 17:56:40 2005 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Sat, 24 Sep 2005 17:56:40 +0200 Subject: [SW2] SW2CurrentContextHolder und liveCallback In-Reply-To: <43353FC8.8020308@gmx.net> References: <43353FC8.8020308@gmx.net> Message-ID: <79B25513-DC4F-4097-808C-710F3A7DB359@iam.unibe.ch> On 24 Sep 2005, at 14:00, Philippe Marschall wrote: > Du mir ist gerade etwas aufgefallen und zwar ist bei einem > liveCallback SW2CurrentContextHolder value nil. Ist das ein > bekanntes Problem? Yeah, this is simply because the live-callback isn't evaluated within the context chain where the dynamic variable is defined. As a workaround you can just reference the context-holder from within the live-block when defining the callback. That should be probably fixed in Seaside or maybe SmallWiki 2, I don't recall where exactly this variable is defined. Cheers, Lukas PS: Please ask your questions to the mailing list, so that other people can follow the discussion as well. -- Lukas Renggli http://www.lukas-renggli.ch From renggli at iam.unibe.ch Sat Sep 24 17:56:40 2005 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Sat, 24 Sep 2005 17:56:40 +0200 Subject: [SW2] SW2CurrentContextHolder und liveCallback In-Reply-To: <43353FC8.8020308@gmx.net> References: <43353FC8.8020308@gmx.net> Message-ID: <79B25513-DC4F-4097-808C-710F3A7DB359@iam.unibe.ch> On 24 Sep 2005, at 14:00, Philippe Marschall wrote: > Du mir ist gerade etwas aufgefallen und zwar ist bei einem > liveCallback SW2CurrentContextHolder value nil. Ist das ein > bekanntes Problem? Yeah, this is simply because the live-callback isn't evaluated within the context chain where the dynamic variable is defined. As a workaround you can just reference the context-holder from within the live-block when defining the callback. That should be probably fixed in Seaside or maybe SmallWiki 2, I don't recall where exactly this variable is defined. Cheers, Lukas PS: Please ask your questions to the mailing list, so that other people can follow the discussion as well. -- Lukas Renggli http://www.lukas-renggli.ch From jacaetevha at gmail.com Sat Sep 24 18:36:55 2005 From: jacaetevha at gmail.com (Jason Rogers) Date: Sat, 24 Sep 2005 12:36:55 -0400 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> References: <87irwuqqjq.fsf@info.unicaen.fr> <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> Message-ID: <72412f1f050924093673a58639@mail.gmail.com> Koji, Is this Squeak 3.8 specific? The website is running in a 3.6 image. On 9/24/05, Koji Yokokawa wrote: > Hi, > I made a changeset to handle charset correctly on SW1 (SmallWiki-chbu-0.9.53-sam.20 > on Squeak3.8). > You can set charset ('ISO-8859-1', 'UTF-8', 'Shift-JIS', etc.) through > [admin:components] page with this patch. > After that, all pages or forms under the wiki item are encoded by the > charset. > > Charset handling is a very important function especially for Asian users. > Please merge this patch into the default SW1 package for 'real' > internationalization. > > Here is more details. > http://yengawa.homedns.org:8888/YengawaWiki/15 > > > On Wed, 21 Sep 2005 19:27:53 +0200 > Samir Saidani wrote: > > > Hi, > > > > I visited the SW1 from http://box2.squeakfoundation.org:7777/, and > > there is some features I think it should be interesting to include in > > the Monticello, like the translation ( en | sv ). Is it possible to > > get the image somewhere ? Or to add this feature to the MC repository > > ( http://www.squeaksource.com/smallwiki1 ). > > > > We can also think how to internationalize such a site ? I don't know > > if such a feature is planned for SW2... > > > > Regards, > > Samir > > -- ! > Koji Yokokawa > self new! > > > -- Jason Rogers "I am crucified with Christ: nevertheless I live; yet not I, but Christ liveth in me: and the life which I now live in the flesh I live by the faith of the Son of God, who loved me, and gave himself for me." Galatians 2:20 From saidani at info.unicaen.fr Sat Sep 24 21:57:18 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Sat, 24 Sep 2005 21:57:18 +0200 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> (Koji Yokokawa's message of "Sat, 24 Sep 2005 22:31:20 +0900") References: <87irwuqqjq.fsf@info.unicaen.fr> <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> Message-ID: <877jd6qlwh.fsf@info.unicaen.fr> Koji, on a vanilla squeak 3.8, after installing SW1 (sam.20) and the fix, there is an error : Internal Server Error MessageNotUnderstood: UndefinedObject>>, Koji Yokokawa writes: > Hi, > I made a changeset to handle charset correctly on SW1 (SmallWiki-chbu-0.9.53-sam.20 > on Squeak3.8). > You can set charset ('ISO-8859-1', 'UTF-8', 'Shift-JIS', etc.) through > [admin:components] page with this patch. > After that, all pages or forms under the wiki item are encoded by the > charset. > > Charset handling is a very important function especially for Asian users. > Please merge this patch into the default SW1 package for 'real' > internationalization. > > Here is more details. > http://yengawa.homedns.org:8888/YengawaWiki/15 > > > On Wed, 21 Sep 2005 19:27:53 +0200 > Samir Saidani wrote: > >> Hi, >> >> I visited the SW1 from http://box2.squeakfoundation.org:7777/, and >> there is some features I think it should be interesting to include in >> the Monticello, like the translation ( en | sv ). Is it possible to >> get the image somewhere ? Or to add this feature to the MC repository >> ( http://www.squeaksource.com/smallwiki1 ). >> >> We can also think how to internationalize such a site ? I don't know >> if such a feature is planned for SW2... >> >> Regards, >> Samir > > -- ! > Koji Yokokawa > self new! From saidani at info.unicaen.fr Sun Sep 25 00:12:41 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Sun, 25 Sep 2005 00:12:41 +0200 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> (Koji Yokokawa's message of "Sat, 24 Sep 2005 22:31:20 +0900") References: <87irwuqqjq.fsf@info.unicaen.fr> <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> Message-ID: <87ll1mglnq.fsf@info.unicaen.fr> Oups don't take into account the message error, I forget to restart smallwiki ! Your changeset is now added on the SW repository, as well the DownloadBox and I18n support from Alexander ! So now the SmallWiki-chbu-0.9.53-sam.23 could maybe a good starting point to work on an international squeak.org site ? (modulo unknown bugs ;-) Cheers Samir Koji Yokokawa writes: > Hi, > I made a changeset to handle charset correctly on SW1 (SmallWiki-chbu-0.9.53-sam.20 > on Squeak3.8). > You can set charset ('ISO-8859-1', 'UTF-8', 'Shift-JIS', etc.) through > [admin:components] page with this patch. > After that, all pages or forms under the wiki item are encoded by the > charset. > > Charset handling is a very important function especially for Asian users. > Please merge this patch into the default SW1 package for 'real' > internationalization. > > Here is more details. > http://yengawa.homedns.org:8888/YengawaWiki/15 > > > On Wed, 21 Sep 2005 19:27:53 +0200 > Samir Saidani wrote: > >> Hi, >> >> I visited the SW1 from http://box2.squeakfoundation.org:7777/, and >> there is some features I think it should be interesting to include in >> the Monticello, like the translation ( en | sv ). Is it possible to >> get the image somewhere ? Or to add this feature to the MC repository >> ( http://www.squeaksource.com/smallwiki1 ). >> >> We can also think how to internationalize such a site ? I don't know >> if such a feature is planned for SW2... >> >> Regards, >> Samir > > -- ! > Koji Yokokawa > self new! From koubo2005 at yengawa.jpn.org Sun Sep 25 05:05:23 2005 From: koubo2005 at yengawa.jpn.org (Koji Yokokawa) Date: Sun, 25 Sep 2005 12:05:23 +0900 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <72412f1f050924093673a58639@mail.gmail.com> References: <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> <72412f1f050924093673a58639@mail.gmail.com> Message-ID: <20050925120256.2E20.KOUBO2005@yengawa.jpn.org> > Is this Squeak 3.8 specific? Yes, That patch is only for Squeak3.8 (or later) because it depends on Multilingual and Locale mechanism. These mechanisms is introduced at Squeak3.8. I think it's a good cue for migration to Squeak3.8 :-) On Sat, 24 Sep 2005 12:36:55 -0400 Jason Rogers wrote: > Koji, > > Is this Squeak 3.8 specific? The website is running in a 3.6 image. > > On 9/24/05, Koji Yokokawa wrote: > > Hi, > > I made a changeset to handle charset correctly on SW1 (SmallWiki-chbu-0.9.53-sam.20 > > on Squeak3.8). > > You can set charset ('ISO-8859-1', 'UTF-8', 'Shift-JIS', etc.) through > > [admin:components] page with this patch. > > After that, all pages or forms under the wiki item are encoded by the > > charset. > > > > Charset handling is a very important function especially for Asian users. > > Please merge this patch into the default SW1 package for 'real' > > internationalization. > > > > Here is more details. > > http://yengawa.homedns.org:8888/YengawaWiki/15 > > > > > > On Wed, 21 Sep 2005 19:27:53 +0200 > > Samir Saidani wrote: > > > > > Hi, > > > > > > I visited the SW1 from http://box2.squeakfoundation.org:7777/, and > > > there is some features I think it should be interesting to include in > > > the Monticello, like the translation ( en | sv ). Is it possible to > > > get the image somewhere ? Or to add this feature to the MC repository > > > ( http://www.squeaksource.com/smallwiki1 ). > > > > > > We can also think how to internationalize such a site ? I don't know > > > if such a feature is planned for SW2... > > > > > > Regards, > > > Samir > > > > -- ! > > Koji Yokokawa > > self new! > > > > > > > > > -- > Jason Rogers > > "I am crucified with Christ: nevertheless I live; yet not I, > but Christ liveth in me: and the life which I now live in > the flesh I live by the faith of the Son of God, who loved > me, and gave himself for me." > Galatians 2:20 -- ! Koji Yokokawa self new! From jacaetevha at gmail.com Mon Sep 26 01:54:32 2005 From: jacaetevha at gmail.com (Jason Rogers) Date: Sun, 25 Sep 2005 19:54:32 -0400 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <20050925120256.2E20.KOUBO2005@yengawa.jpn.org> References: <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> <72412f1f050924093673a58639@mail.gmail.com> <20050925120256.2E20.KOUBO2005@yengawa.jpn.org> Message-ID: <72412f1f0509251654529cf2bb@mail.gmail.com> On 9/24/05, Koji Yokokawa wrote: > > > Is this Squeak 3.8 specific? > > Yes, > That patch is only for Squeak3.8 (or later) because it depends on > Multilingual and Locale mechanism. These mechanisms is introduced at > Squeak3.8. > > I think it's a good cue for migration to Squeak3.8 :-) While internationalization of the site is an important goal, I think that I will hold off on migrating to 3.8 for now. We have had so many stability issues up to this point that our primary focus is just to have a stable site, albeit without internationalization. -- Jason Rogers "I am crucified with Christ: nevertheless I live; yet not I, but Christ liveth in me: and the life which I now live in the flesh I live by the faith of the Son of God, who loved me, and gave himself for me." Galatians 2:20 From koubo2005 at yengawa.jpn.org Mon Sep 26 04:40:14 2005 From: koubo2005 at yengawa.jpn.org (Koji Yokokawa) Date: Mon, 26 Sep 2005 11:40:14 +0900 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <72412f1f0509251654529cf2bb@mail.gmail.com> References: <20050925120256.2E20.KOUBO2005@yengawa.jpn.org> <72412f1f0509251654529cf2bb@mail.gmail.com> Message-ID: <20050926111233.2E28.KOUBO2005@yengawa.jpn.org> On Sun, 25 Sep 2005 19:54:32 -0400 Jason Rogers wrote: > On 9/24/05, Koji Yokokawa wrote: > > > > > Is this Squeak 3.8 specific? > > > > Yes, > > That patch is only for Squeak3.8 (or later) because it depends on > > Multilingual and Locale mechanism. These mechanisms is introduced at > > Squeak3.8. > > > > I think it's a good cue for migration to Squeak3.8 :-) > > While internationalization of the site is an important goal, I think > that I will hold off on migrating to 3.8 for now. We have had so many > stability issues up to this point that our primary focus is just to > have a stable site, albeit without internationalization. Sure, I also appreciate the stability. I think it's a good decision for an important public site. -- ! Koji Yokokawa self new! From saidani at info.unicaen.fr Mon Sep 26 16:15:58 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Mon, 26 Sep 2005 16:15:58 +0200 Subject: XML smallwikiEnh Message-ID: <878xxjhq3l.fsf@info.unicaen.fr> Hi Thomas, I'm working to add your XML enhancement to the SW1 repository. Unfortunately I destroyed the SmallWikiEnh, I didn't see that you had contributed to this repository and thought that this repository was of no use. Maybe I was wrong, it could be convenient in fact to have a mainstream and besides separated enhancements to help testing. Anyway could you send me this enhancement ? By the way did you experiment some unstability from the newest SW1 version ? Because I discover that when I launch for the first time this version under the name squeakFr.image, there is unstability, but when I launch for the second time (after crash) the SW1 smallwikiSnaphot.image, it works quite well : maybe related to the name of the image, don't know ! Regards, Samir From koubo2005 at yengawa.jpn.org Tue Sep 27 12:41:21 2005 From: koubo2005 at yengawa.jpn.org (Koji Yokokawa) Date: Tue, 27 Sep 2005 19:41:21 +0900 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> References: <87irwuqqjq.fsf@info.unicaen.fr> <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> Message-ID: <20050927185706.2E30.KOUBO2005@yengawa.jpn.org> I remade the patch considering the images before Multilingalized. Now, it can be read into Squeak3.7(3.6, may be). This version is removed all tests which includes WideString and it uses a dummy charset converter under a non-multilingalized image. This changeset is also on 'SmallWiki-chbu-0.9.53-sam.20' and tested on Squeak3.8 and 3.7(I could not install SmallWiki on Squeak3.6 via SqueakMap). Samir, Please rebuild the Monticello package from -sam.20.mcz. On Sat, 24 Sep 2005 22:31:20 +0900 Koji Yokokawa wrote: > Hi, > I made a changeset to handle charset correctly on SW1 (SmallWiki-chbu-0.9.53-sam.20 > on Squeak3.8). > You can set charset ('ISO-8859-1', 'UTF-8', 'Shift-JIS', etc.) through > [admin:components] page with this patch. > After that, all pages or forms under the wiki item are encoded by the > charset. > > Charset handling is a very important function especially for Asian users. > Please merge this patch into the default SW1 package for 'real' > internationalization. > > Here is more details. > http://yengawa.homedns.org:8888/YengawaWiki/15 > > > On Wed, 21 Sep 2005 19:27:53 +0200 > Samir Saidani wrote: > > > Hi, > > > > I visited the SW1 from http://box2.squeakfoundation.org:7777/, and > > there is some features I think it should be interesting to include in > > the Monticello, like the translation ( en | sv ). Is it possible to > > get the image somewhere ? Or to add this feature to the MC repository > > ( http://www.squeaksource.com/smallwiki1 ). > > > > We can also think how to internationalize such a site ? I don't know > > if such a feature is planned for SW2... > > > > Regards, > > Samir > > -- ! > Koji Yokokawa > self new! -- ! Koji Yokokawa self new! -------------- next part -------------- A non-text attachment was scrubbed... Name: SW1-Charset-ky.4.cs Type: application/octet-stream Size: 15532 bytes Desc: not available Url : http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20050927/4dbb83d0/SW1-Charset-ky.4.obj From saidani at info.unicaen.fr Tue Sep 27 17:46:39 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Tue, 27 Sep 2005 17:46:39 +0200 Subject: Internationalization of SW1 from squeakfoundation In-Reply-To: <20050927185706.2E30.KOUBO2005@yengawa.jpn.org> (Koji Yokokawa's message of "Tue, 27 Sep 2005 19:41:21 +0900") References: <87irwuqqjq.fsf@info.unicaen.fr> <20050924213133.2E1A.KOUBO2005@yengawa.jpn.org> <20050927185706.2E30.KOUBO2005@yengawa.jpn.org> Message-ID: <877jd2bjj4.fsf@info.unicaen.fr> Done Koji, but from sam.22, because there was two new updates since the sam.20. The new package is named SmallWiki-chbu-0.9.53-sam.24, can you check if all it's ok ? because I'm not sure... By the way, smallwiki repository is in global read/write access, so if you want, you can update the repository without login/pass. Regards, Samir Koji Yokokawa writes: > I remade the patch considering the images before Multilingalized. > Now, it can be read into Squeak3.7(3.6, may be). > > This version is removed all tests which includes WideString and it uses > a dummy charset converter under a non-multilingalized image. > > This changeset is also on 'SmallWiki-chbu-0.9.53-sam.20' and tested on > Squeak3.8 and 3.7(I could not install SmallWiki on Squeak3.6 via > SqueakMap). > > Samir, > Please rebuild the Monticello package from -sam.20.mcz. > > > On Sat, 24 Sep 2005 22:31:20 +0900 > Koji Yokokawa wrote: > >> Hi, >> I made a changeset to handle charset correctly on SW1 (SmallWiki-chbu-0.9.53-sam.20 >> on Squeak3.8). >> You can set charset ('ISO-8859-1', 'UTF-8', 'Shift-JIS', etc.) through >> [admin:components] page with this patch. >> After that, all pages or forms under the wiki item are encoded by the >> charset. >> >> Charset handling is a very important function especially for Asian users. >> Please merge this patch into the default SW1 package for 'real' >> internationalization. >> >> Here is more details. >> http://yengawa.homedns.org:8888/YengawaWiki/15 From rleon at insario.com Fri Sep 30 22:24:36 2005 From: rleon at insario.com (Ramon Leon) Date: Fri, 30 Sep 2005 13:24:36 -0700 Subject: Magritte Descriptions References: <43353FC8.8020308@gmx.net> <79B25513-DC4F-4097-808C-710F3A7DB359@iam.unibe.ch> Message-ID: <24C40DFA333DC44882F9FB0115F33D8F1653C3@ARGON.insario.local> Anyone know offhand how to create a description for a field that is another object with it's own descriptions, or a collection of objects with their own descriptions? Say I have Object subclass: #Order instanceVariableNames: 'number status lineItems address' classVariableNames: '' poolDictionaries: '' category: 'Sample' ok, number and status are easy... Order class>>descriptionNumber ^(MAStringDescription selector: #number label: 'Order Number') beRequired; beReadonly; yourself Order class>>descriptionStatus ^(MASingleSelectionDescription selector: #status label: 'Status') options: self allStatuses; beSorted; yourself but how do I describe address and lineItems, which are objects with their own descriptions that I want to be on my forms when I ask anOrder asComponent for a web form? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 2746 bytes Desc: not available Url : http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20050930/c5016a7a/attachment.bin From saidani at info.unicaen.fr Wed Sep 7 15:25:32 2005 From: saidani at info.unicaen.fr (Samir Saidani) Date: Wed, 07 Sep 2005 15:25:32 +0200 Subject: SW2 and SW1 status Message-ID: <87u0gxt3g3.fsf@info.unicaen.fr> Hi all, I'm experiencing for three months instability problems with Squeak 3.8/latest release, and since I'm unable and don't have time to track down the problems, I suggest to downgrade the squeakmap release. It should be wise to offer as the latest release a stable release and to stick to that. But it seems that the automatic script don't care about the stable/unstable squeakmap system, it seems that the script loads the latest release regardless of the stability status. So I will probably delete the latest release on squeakmap, and keep it for record on squeaksource. I would like also to know if it is now possible to use SW2 ? Thanks Samir