diff --git a/pythonrewrite/bin2/CryptoBoxWebserver.py b/pythonrewrite/bin2/CryptoBoxWebserver.py
new file mode 100644
index 0000000..b5940d8
--- /dev/null
+++ b/pythonrewrite/bin2/CryptoBoxWebserver.py
@@ -0,0 +1,25 @@
+#!/usr/bin/env python
+import cherrypy, neo_cgi, neo_util, neo_cs, os
+
+class RunCmd:
+ def index(self):
+ print "ooooooooooooooooooooooooooooooo"
+ print os.path.abspath("./")
+ hdf = neo_util.HDF()
+ #hdf.setValue("hdf.loadpaths.0","/my/path")
+ hdf.readFile("../lang/de.hdf")
+ hdf.setValue("Settings.TemplateDir","../templates")
+ hdf.setValue("Settings.Stylesheet","cryptobox.css")
+ hdf.setValue("Data.Action","show_status")
+ cs = neo_cs.CS(hdf)
+ cs.parseFile("../templates/main.cs")
+ return cs.render()
+ index.exposed = True
+
+#####
+cherrypy.root = RunCmd()
+#cherrypy.lib.cptools.serve_file("/tmp/cryptobox.css")
+cherrypy.config.configMap.update({ "/cryptobox.css": {
+"staticFilter.on" : True, "staticFilter.file": "/tmp/cryptobox.css" }})
+cherrypy.server.start()
+
diff --git a/pythonrewrite/bin2/doc/dia.dia b/pythonrewrite/bin2/doc/dia.dia
deleted file mode 100644
index 9cd3804..0000000
--- a/pythonrewrite/bin2/doc/dia.dia
+++ /dev/null
@@ -1,377 +0,0 @@
-
-
-
-
-
-
-
-
-
- #A4#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #HappyDoc Generated Documentation#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #Preferences#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #__getitem__#
-
-
-
-
-
-
-
- #__init__#
-
-
-
-
-
-
-
- #__loadConfig#
-
-
-
-
-
-
-
- #__saveConfig#
-
-
-
-
-
-
-
- #__setitem__#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #CryptoBoxLogger#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #__init__#
-
-
-
-
-
-
-
- #message2file#
-
-
-
-
-
-
-
- #printMessage#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #CryptoBoxProps#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #__allAvailablePartitions#
-
-
-
-
-
-
-
- #__csv2list#
-
-
-
-
-
-
-
- #__deviceIsReallyAllowed#
-
-
-
-
-
-
-
- #__init__#
-
-
-
-
-
-
-
- #debugMessage#
-
-
-
-
-
-
-
- #getConfigValue#
-
-
-
-
-
-
-
- #getContainerList#
-
-
-
-
-
-
-
- #setConfigValue#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #CryptoBoxContainer#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #__init__#
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/index.html b/pythonrewrite/bin2/doc/index.html
deleted file mode 100644
index e2c7616..0000000
--- a/pythonrewrite/bin2/doc/index.html
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-
-
-
- HappyDoc Generated Documentation
-
-
-
-
- Table of Contents
-
-
-
- HappyDoc Generated Documentation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 13:00:54 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBox.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBox.html
deleted file mode 100644
index 2c44a8b..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBox.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
- Module: CryptoBox
-
-
-
-
- Table of Contents
-
-
-
- Module: CryptoBox
-
- CryptoBox.py
-
-
-
-
-
-This is a secure fileserver with encrypted filesystem and webinterface.
-It was originally written in bash/perl. Now a complete rewrite is in
-progress. So things might be confusing here. Hopefully not for long.
-:)
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 13:00:54 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBox/CryptoBox.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBox/CryptoBox.html
deleted file mode 100644
index 9e097d9..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBox/CryptoBox.html
+++ /dev/null
@@ -1,317 +0,0 @@
-
-
-
-
-
- Class: CryptoBox
-
-
-
-
- Table of Contents
-
-
-
- Class: CryptoBox
-
- CryptoBox.py
-
-
-
-
-
-Get and set the properties of a CryptoBox
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
-
-
-__allAvailablePartitions
-__csv2list
-__deviceIsReallyAllowed
-__init__
-debugMessage
-getConfigValue
-getContainerList
-setConfigValue
-
-
-
-
-
-
-
-
-
- __allAvailablePartitions
-
-
-
-
-
-__allAvailablePartitions ( self )
-
-
-
-retrieve a list of all available containers
-
-
-
-
-
-
-
-
- __csv2list
-
-
-
-
-
-__csv2list ( self, csvstring )
-
-
-
-transform a csv preferences string into a list
- internal methods
-
-
-
-
-
-
-
-
- __deviceIsReallyAllowed
-
-
-
-
-
-__deviceIsReallyAllowed ( self, device )
-
-
-
-return "true" if the given device is white-listed for being used as cryptobox container
-
-
-
-
-
-
-
-
- __init__
-
-
-
-
-
-__init__ ( self )
-
-
-
-reset all variables to default settings
-
-
-
-
-
-
-
-
- debugMessage
-
-
-
-
-
-debugMessage (
- self,
- level,
- text,
- )
-
-
-
-print a debug message to the previously choosen debugging facility
- public methods
-
-
-
-
-
-
-
-
- getConfigValue
-
-
-
-
-
-getConfigValue ( self, key )
-
-
-
-return a tuple of key+value from the configfile
-
-
-
-
-
-
-
-
- getContainerList
-
-
-
-
-
-getContainerList ( self )
-
-
-
-return a list of all containers of this cryptobox
-
-
-
-
-
-
-
-
- setConfigValue
-
-
-
-
-
-setConfigValue (
- self,
- key,
- value,
- )
-
-
-
-save the strings key+value in configfile
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 11:42:25 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBox/CryptoBoxProps.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBox/CryptoBoxProps.html
deleted file mode 100644
index 402dcd7..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBox/CryptoBoxProps.html
+++ /dev/null
@@ -1,318 +0,0 @@
-
-
-
-
-
- Class: CryptoBoxProps
-
-
-
-
- Table of Contents
-
-
-
- Class: CryptoBoxProps
-
- CryptoBox.py
-
-
-
-
-
-Get and set the properties of a CryptoBox
- This class returns the available and allowed devices, which will
- be used further.
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
-
-
-__allAvailablePartitions
-__csv2list
-__deviceIsReallyAllowed
-__init__
-debugMessage
-getConfigValue
-getContainerList
-setConfigValue
-
-
-
-
-
-
-
-
-
- __allAvailablePartitions
-
-
-
-
-
-__allAvailablePartitions ( self )
-
-
-
-retrieve a list of all available containers
- TODO: if the code is not like a poem, write prosadocumentation ;)
-
-
-
-
-
-
-
-
- __csv2list
-
-
-
-
-
-__csv2list ( self, csvstring )
-
-
-
-transform a csv preferences string into a list
-
-
-
-
-
-
-
-
- __deviceIsReallyAllowed
-
-
-
-
-
-__deviceIsReallyAllowed ( self, device )
-
-
-
-return "true" if the given device is white-listed for being used as cryptobox container
-
-
-
-
-
-
-
-
- __init__
-
-
-
-
-
-__init__ ( self )
-
-
-
-read config and fill class variables
-
-
-
-
-
-
-
-
- debugMessage
-
-
-
-
-
-debugMessage (
- self,
- level,
- text,
- )
-
-
-
-print a debug message to the previously choosen debugging facility
-
-
-
-
-
-
-
-
- getConfigValue
-
-
-
-
-
-getConfigValue ( self, key )
-
-
-
-return a tuple of key+value from the configfile
-
-
-
-
-
-
-
-
- getContainerList
-
-
-
-
-
-getContainerList ( self )
-
-
-
-return a list of all actual available containers of this cryptobox
-
-
-
-
-
-
-
-
- setConfigValue
-
-
-
-
-
-setConfigValue (
- self,
- key,
- value,
- )
-
-
-
-save the strings key+value in configfile
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 13:00:54 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxContainer.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxContainer.html
deleted file mode 100644
index 05113f1..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxContainer.html
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
- Module: CryptoBoxContainer
-
-
-
-
- Table of Contents
-
-
-
- Module: CryptoBoxContainer
-
- CryptoBoxContainer.py
-
-
-
-
-
-
-
-
-
-
- Classes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 13:00:54 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxContainer/CryptoBoxContainer.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxContainer/CryptoBoxContainer.html
deleted file mode 100644
index 4be7f55..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxContainer/CryptoBoxContainer.html
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
- Class: CryptoBoxContainer
-
-
-
-
- Table of Contents
-
-
-
- Class: CryptoBoxContainer
-
- CryptoBoxContainer.py
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
-
-
-__init__
-
-
-
-
-
-
-
-
-
- __init__
-
-
-
-
-
-__init__ ( self, device )
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 13:00:54 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxLogger.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxLogger.html
deleted file mode 100644
index 7e683ec..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxLogger.html
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
- Module: CryptoBoxLogger
-
-
-
-
- Table of Contents
-
-
-
- Module: CryptoBoxLogger
-
- CryptoBoxLogger.py
-
-
-
-
-
-manages logging events of the CryptoBox
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 13:00:54 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxLogger/CryptoBoxLogger.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxLogger/CryptoBoxLogger.html
deleted file mode 100644
index 1215bb6..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxLogger/CryptoBoxLogger.html
+++ /dev/null
@@ -1,168 +0,0 @@
-
-
-
-
-
- Class: CryptoBoxLogger
-
-
-
-
- Table of Contents
-
-
-
- Class: CryptoBoxLogger
-
- CryptoBoxLogger.py
-
-
-
-
-
-handles concrete logging events and prints them e.g. to a logfile
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
-
-
-__init__
-message2file
-printMessage
-
-
-
-
-
-
-
-
-
- __init__
-
-
-
-
-
-__init__ (
- self,
- level,
- facility,
- name=None,
- )
-
-
-
-
-
-
-
-
-
-
-
- message2file
-
-
-
-
-
-message2file ( self, text )
-
-
-
-
-
-
-
-
-
-
-
- printMessage
-
-
-
-
-
-printMessage (
- self,
- text,
- msg_level=None,
- )
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 13:00:54 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxPreferences.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxPreferences.html
deleted file mode 100644
index 2a8488f..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxPreferences.html
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
- Module: CryptoBoxPreferences
-
-
-
-
- Table of Contents
-
-
-
- Module: CryptoBoxPreferences
-
- CryptoBoxPreferences.py
-
-
-
-
-
-read and write configuration
-This Class is derived mainly from gimini
project.
-Thanx to Dutoit! <dutoitc(at)hotmail.com>
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 13:00:54 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxPreferences/Preferences.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxPreferences/Preferences.html
deleted file mode 100644
index 7a764f8..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/CryptoBoxPreferences/Preferences.html
+++ /dev/null
@@ -1,275 +0,0 @@
-
-
-
-
-
- Class: Preferences
-
-
-
-
- Table of Contents
-
-
-
- Class: Preferences
-
- CryptoBoxPreferences.py
-
-
-
-
-
-This class handles preferences and stores them into given configfile
- To use it :
- - instanciate a Preferences object :
- myPP=Preferences()
- - to get a preference :
- mypref=myPP["ma_preference"]
- - to set a preference :
- myPP["ma_preference"]=xxx
- The preferences are automatically loaded on the first instanciation of this
- class and are saved when a value is added or changed automatically, too.
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
-
-
-__getitem__
-__init__
-__loadConfig
-__saveConfig
-__setitem__
-
-
-
-
-
-
-
-
-
- __getitem__
-
-
-
-
-
-__getitem__ ( self, name )
-
-
-
-Return the preferences for the given item
- @param String name : Name of the item for which we return a value
- @return String : value of the pref, or None if inexistant
- @since 1.1.2.7
- @author C.Dutoit <dutoitc@hotmail.com>
-
-
-
-
-
-
-
-
- __init__
-
-
-
-
-
-__init__ ( self, filename )
-
-
-
-Constructor
- @author C.Dutoit <dutoitc@hotmail.com>
-
-
-
-
-
-
-
-
- __loadConfig
-
-
-
-
-
-__loadConfig ( self )
-
-
-
-Load datas from config file
- @since 1.1.2.5
- @author C.Dutoit <dutoitc@hotmail.com>
-
-
-
-
-
-
-
-
- __saveConfig
-
-
-
-
-
-__saveConfig ( self )
-
-
-
-Save datas to config file
- @since 1.1.2.5
- @author C.Dutoit <dutoitc@hotmail.com>
-
-
-
-
-
-
-
-
- __setitem__
-
-
-
-
-
-__setitem__ (
- self,
- name,
- value,
- )
-
-
-
-Return the preferences for the given item
- @param String name : Name of the item WITHOUT SPACES
- @param String Value : Value for the given name
- @raises TypeError : if the name contains spaces
- @since 1.1.2.7
- @author C.Dutoit <dutoitc@hotmail.com>
-
-
-
-
-
- Exceptions
-
-
-
-
-
-
-
-
-
-TypeError, "Name cannot contain a space"
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 13:00:54 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file
diff --git a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/test.html b/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/test.html
deleted file mode 100644
index 9bd8abf..0000000
--- a/pythonrewrite/bin2/doc/mnt/phobos/age/svn/cryptobox/branches/pythonrewrite/bin2/doc/test.html
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
- Module: test
-
-
-
-
- Table of Contents
-
-
-
- Module: test
-
- test.py
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
- This document was automatically generated
- on Wed Aug 16 11:45:34 2006 by
- HappyDoc version
- 2.1
-
-
-
-
\ No newline at end of file