Squeak Class Documentation category index | class index  
 
PSwikiAction
  category: Network-Pluggable Web Server
  superclass: SwikiAction
  subclasses:

A Swiki with the potential for a password on each page. Requires the special folder 'pswiki' from the swiki web site.

instance methods
  as yet unclassified
  auth
auth:
browse:from:
edit:from:
inputFrom:
mapName:password:to:
process:
restore:

class methods
  initialization
  mapClass
pageClass
setUp:

instance methods
  as yet unclassified top  
 

auth


 

auth:


 

browse:from:

Check authorization


 

edit:from:

Check authorization


 

inputFrom:

Take user's input and respond with a searchresult or store the edit


 

mapName:password:to:

Insert/remove the username:password combination into/from the users Dictionary. *** Use this method to add or delete users! If you ask for the authorizer and talk to it, the change will not be recorded on the disk! *** We use encoding per RFC1421.


 

process:

URLs are of the form:
{swikiname} to browse Front Page
{swikiname}.{coreID} to browse the page
{swikiname}.{coreID}.edit to edit the page
{swikiname}.{coreID}.all displays the page and all its references
{swikiname}.{coreID}.versions displays the last three versions of the page
{swikiname}.searchresult conducts the search and displays the result
{swikiname}.recent to bring up the recent changes list
{swikiname}.{coreID}.searchresult returns a search for references to coreID's key
{swikiname}.{picName}.gif (or jpeg, jpg, jpe, upper or lower case)
return the picture stored in the {swikiname} folder.


 

restore:

Read all files in the directory 'nameOfSwiki'. Reconstruct the url map.


class methods
  initialization top  
 

mapClass

The class of my pages


 

pageClass

The class of my pages


 

setUp:

Set up a named protected Swiki