diff --git a/README b/README index 18db344..f4b0ef3 100644 --- a/README +++ b/README @@ -1,28 +1,35 @@ !Warnung: dieses Pythonscript ist ein ein riesen Haufen Stinkescheisse! +(naja - inzwischen wurde es ein bisschen besser ...) + Ich hab mir damit nur laestige Schreibarbeit fuer die Erstellung einer Webseite gespart. Ich wollte schon immer mal ein eigenes Templatesystem schreiben 8] Die Funktionsweise ist recht einfach und schnell eingaenglich anhand -eines Beispiels: (Das Beispiel laeuft nur, wenn es keine Verzeichnisse ausser den -erwaehnten gibt. Verzeichnisse wie ".svn" wirken z.B. aeusserst stoerend.) +eines Beispiels: -* in "gerippe.tmpl" kommen Platzhalter z.B. "" +* in "template.tmpl" kommen Platzhalter z.B. "%(foo)s" * ins Verz. "placeholder" kommen Dateien mit gleichem Namen "foo", wie der Platzhalter * der Inhalt der Datei "foo" wird spaeter den gleichnamigen Platzhalter ersetzen * diese Ersetzungen finden fuer alle html Dateien statt, eignen sich also nur fuer Inhalte, die in jeder .html gleich sind * ins Verz. "content" kommt jeweils ein Unterverzeichnis z.B. "bar" * daraus wird spaeter "bar.html" - * Grundlage fuer "bar.html" bilden gerippe.tmpl + placeholder - * im Verz. "bar" werden Dateien abgelegt, die nach Nummern benannt werden - * diese Dateien bilden spaeter einen Eintrag, im Content der jeweiligen html Datei - * die Nummerierung legt die Reihenfolge innerhalb der html Datei fest (1 ist der erste Eintrag) + * Grundlage fuer "bar.html" bilden template.tmpl + placeholder + * im Verz. "bar" werden Dateien abgelegt, deren Namen mit Nummern beginnen sollten, um die Reihenfolge festzulegen + * die Inhalte dieser Dateien werden einfach zusammengehaengt und anstelle des besonderen Platzhalters "entries" eingefuegt + +* besondere Platzhalter: + * "entries" -> siehe oben + * "rss_content" -> Eintraege aus einem rss feed - siehe python code :) + +* output: + * die resultierenden html-Dateien werden im Verzeichnis 'html' abgelegt * -|_ gerippe.tmpl +|_ template.tmpl | |_ placeholder + | |_ header diff --git a/content/development/02_top b/content/development/02_top new file mode 100644 index 0000000..ff75516 --- /dev/null +++ b/content/development/02_top @@ -0,0 +1,14 @@ +
+

Contribute

+

You are not just a consumer. At least not in the Open Source world.

+

There are various ways to take part in improving the CryptoBox + for all of us:

+
+ diff --git a/content/development/05_left b/content/development/05_left index 05d178d..56d7aba 100644 --- a/content/development/05_left +++ b/content/development/05_left @@ -1,23 +1,4 @@
-
-

Issues and bugs

-

Open a ticket for feature requests, usability problems or bug reports.

-
- -
-

Leave a note

-

Tell us your thoughts and ideas via gmane.

-
- -
-

Contribute

-

You are not just a consumer. At least not in the Open Source world.

-

You can always help others with your knowledge or go and spend your - money for lousy software. ;)

-
-

Recent changes

%(rss_content)s diff --git a/content/development/10_center b/content/development/10_center index 578700f..deaedaf 100644 --- a/content/development/10_center +++ b/content/development/10_center @@ -5,19 +5,22 @@ The translation center serves this purpose. Just register and use the webinterface for translations. It features a nice, motivating progress bar.

-

For any questions ask us via info(at)cryptobox.org.

+

For any questions send a mail to %(mailaddress)s.

Development

If you are interested in what happens under the hood, visit the development corner. The roadmap shows our goals - for the next release and the estimated release date.

+ href="http://devel.cryptobox.org">development corner. You can also report + bugs there.

+

The roadmap shows our goals + for the next release and the estimated release date.

Join - the development mailing list or participate via gmane.

-

You can also just browse the mailing list archive.

+ the development mailing list or participate via gmane.

+

You can also just browse the mailing list archive.

@@ -32,15 +35,3 @@
-
-

Legal stuff

-
- -
-

Any Questions?

-

Mail to info(at)cryptobox.org!

-
- diff --git a/content/index/05_left b/content/index/05_left index 97287c9..d95c611 100644 --- a/content/index/05_left +++ b/content/index/05_left @@ -8,5 +8,11 @@

Read the development roadmap for more details.

+ +
+

Licenses

+

All code is licensed under the GPL.

+

The documentation and this website are licensed under a Creative Commons License.

+
diff --git a/demo.html b/demo.html deleted file mode 100644 index 68b5934..0000000 --- a/demo.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - CryptoBox - - - - - - - -
- - - -
-
-

Pardon in advance

-

Please do not worry if the demo may be out for lunch right now. It surely will be back soon.

-
-
-
-

Demonstration

-

With the new release, we proudly present an online demonstration - of the webinterface of a CryptoBox. At the moment the server is quite - slow, but at least you will get a feeling of how the CryptoBox works.

-

Try: http://demo.cryptobox.org.

-

The necessary access credentials for restricted parts of the demo are:

- -
- - - - - -
- - - - - - - diff --git a/details.html b/details.html deleted file mode 100644 index 85d7d21..0000000 --- a/details.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - CryptoBox - - - - - - - -
- - - -
-
-

Thank you!

-

The CryptoBox project heavily depends on the following Free Software - projects. Thanks for your hard work!

- -

This list is by far incomplete - so: thanks to everyone involved in - improving Free Software!

-
- -
-

You need more details?

-

Take a look at the README file - for more detailed installation and usage instructions.

-
-
- -
-

Requirements

-

The CryptoBox-Server package can be installed on every system with at least:

- -

The CryptoBox-CD can run on any PC with:

- -

All drives supported by the linux kernel can be used: IDE, SCSI, USB, FireWire, - SATA, ...

-
- -
-

Encryption

-

The encrypted disk partitions are LUKS - volumes. In case of emergency you can access your data directly with every - modern linux system or via FreeOTF (for windows).

-

Select your favourite encryption algorithm from all ciphers supported - by the linux kernel. Currently the default is - aes-cbc-essiv:sha256 (AES in CBC mode with ESSIV based on SHA256).

- -
- -
-

File access

-

The CryptoBox-Server will smoothly integrate into your existing - fileserver.

-

The CryptoBox-CD provides access to your data via:

-

-

Currently there is no user and access management integrated into the - CryptoBox-CD. -

- - - - -
- - - - - - - diff --git a/development.html b/development.html deleted file mode 100644 index ee27e88..0000000 --- a/development.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - CryptoBox - - - - - - - -
- - - -
-
-

Issues and bugs

-

Open a ticket for feature requests, usability problems or bug reports.

-
- -
-

Leave a note

-

Tell us your thoughts and ideas via gmane.

-
- -
-

Contribute

-

You are not just a consumer. At least not in the Open Source world.

-

You can always help others with your knowledge or go and spend your - money for lousy software. ;)

-
- -
-

Recent changes

- - -
-
- -
-

Translation center

-

We want you to translate the CryptoBox!

-

This way you can help others to access the CryptoBox in their native language. - The translation center serves - this purpose. Just register and use the webinterface for translations. - It features a nice, motivating progress bar.

-

For any questions ask us via info(at)cryptobox.org.

-
- -
-

Development

-

If you are interested in what happens under the hood, visit the development corner. The roadmap shows our goals - for the next release and the estimated release date.

-

Join - the development mailing list or participate via gmane.

-

You can also just browse the mailing list archive.

-
- -
-

Acknowledgements

-

The whole is nothing without its parts. We would like to thank - all the people for their help (in order of appearance). So, thank you! - :)

- -
- -
-

Legal stuff

-
- -
-

Any Questions?

-

Mail to info(at)cryptobox.org!

-
- - - - -
- - - - - - - diff --git a/download.html b/download.html deleted file mode 100644 index c8e0abe..0000000 --- a/download.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - CryptoBox - - - - - - - -
- - - -
-
-

Latest releases

-

CryptoBox-Server: 0.3.1

-

CryptoBox-CD: 0.2.1

-
- -
-

Debian package

-

If you are a Debian/Ubuntu/??? user, then we strongly recommend to use - the cryptobox-server package of our (inofficial) debian package repository - to stay up to date.

-

Read more ...

-
- -
-

Bleeding edge

-

The current source code of the CryptoBox-Server package is always - available via our Subversion repository.

-

Read more ...

-
-
- -
-

CryptoBox-Server

-

Install the CryptoBox-Server package in your favourite linux system.

-

Download it now!

- -
-
-

CryptoBox-CD

-

Get the latest CryptoBox-CD image and burn the bootable live-CD.

-

Download it now!

-

We would like to thank codecoop.org for - providing the necessary bandwidth.

-

Alternatively you can buy a live-CD at OpenSoft.nl - for 5.95 european bugs. Note: this is an unpaid advertisement link. - So if you ask us kindly, we might send you a CD for a better price. ;)

-
- -
-

License

-

The code of the CryptoBox-Server and the CryptoBox-CD is licensed under the - GNU General Public License (GPL).

-

In short: you are free to change the code and to distribute it, as long - as you do not change the license. Read the license - in detail.

-
- - - - -
- - - - - - - diff --git a/gfx/activate_volume.png b/html/gfx/activate_volume.png similarity index 100% rename from gfx/activate_volume.png rename to html/gfx/activate_volume.png diff --git a/gfx/antlogo.png b/html/gfx/antlogo.png similarity index 100% rename from gfx/antlogo.png rename to html/gfx/antlogo.png diff --git a/gfx/en_config.png b/html/gfx/en_config.png similarity index 100% rename from gfx/en_config.png rename to html/gfx/en_config.png diff --git a/gfx/en_mount.png b/html/gfx/en_mount.png similarity index 100% rename from gfx/en_mount.png rename to html/gfx/en_mount.png diff --git a/gfx/header.jpg b/html/gfx/header.jpg similarity index 100% rename from gfx/header.jpg rename to html/gfx/header.jpg diff --git a/gfx/logo.png b/html/gfx/logo.png similarity index 100% rename from gfx/logo.png rename to html/gfx/logo.png diff --git a/gfx/main.css b/html/gfx/main.css similarity index 96% rename from gfx/main.css rename to html/gfx/main.css index 6d0ba1b..c87f560 100644 --- a/gfx/main.css +++ b/html/gfx/main.css @@ -56,7 +56,10 @@ div.container { div.container a:link, div.container a:visited { color: #366b30; - /*text-decoration: none;*/ +} + +div.navbar a { + text-decoration: none; } div.container a:hover, div.container a:active { @@ -85,6 +88,7 @@ div.centercontent h2 { ul { margin-top: 0; margin-bottom: 5px; + padding-left: 2em; } div.navbar { @@ -97,11 +101,6 @@ div.navbar { text-align:center; } -div.navbar a:link, div.navbar a:visited, div.navbar a:active { - color: #366b30; - text-decoration: none; -} - div.left { float: left; width: 30%; diff --git a/gfx/screen_mini.png b/html/gfx/screen_mini.png similarity index 100% rename from gfx/screen_mini.png rename to html/gfx/screen_mini.png diff --git a/gfx/system_preferences.png b/html/gfx/system_preferences.png similarity index 100% rename from gfx/system_preferences.png rename to html/gfx/system_preferences.png diff --git a/index.html b/index.html deleted file mode 100644 index 30286e0..0000000 --- a/index.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - CryptoBox - - - - - - - -
- - - -
-

What is it about?

-

The CryptoBox project wants to bring data encryption to the masses.

-

Therefore we develop two free (GPL) software packages:

- -

Get some more details.

-

Any questions left? Send a mail to info@cryptobox.org!

-
- -
-
-

Future release plans

-

CryptoBox-Server:

-
  • v0.4 04/15/02007
-

CryptoBox-CD:

-
  • v0.3.1 02/15/02007
-

Read the development roadmap - for more details.

-
-
- - -
-

NEWS: CryptoBox-Server v0.3.1 released

-

20/12/02006

-

This release contains some usability fixes for users of the Internet Explorer, - as well as some additional translations and more convenient default settings.

-
-
-

NEWS: CryptoBox-Server v0.3.0 released

-

15/12/02006

-

Here it comes - the earliest x-mas present 02006: the - CryptoBox-Server 0.3.0 package. It is not a live-cd, but a software package - that you can just install on your favourite linux system.

-

Take a look at the screenshots.

-

It was a long ride and this is the first milestone we reached. Be prepared - fo another 1000 miles of code.

-

The live-CD based on this new version will be released in February 02007.

-
- -
-

NEWS: Python rewrite progress

-

19/08/02006

-

Finally the cryptobox-python-rewrite-process is in progress. - From now on you can follow discussions and participate at the - development mailinglist via gmane.

-
- -
-

NEWS: Download interception

-

14/04/02006

-

Sorry folks, codecoop.org is temporarly down.

-

UPDATE: It is up and running again. Fetch the latest version here.

-
- -
-

NEWS: CryptoBox code splitting

-

07/03/02006

-

We are currently splitting the CryptoBox into the - CryptoBox-Server and the Cryptobox-CD. This will let you use - the CryptoBox-Server in your favourite Linux installation.

-

Stay tuned ...

-
- -
-

NEWS: CryptoBox-CD v0.2.1 released

-

30/10/02005

-

The new CryptoBox version 0.2.1 is available at - codecoop.org!

-
- - - - -
- - - - - - - diff --git a/screenshots.html b/screenshots.html deleted file mode 100644 index 221c1a6..0000000 --- a/screenshots.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - CryptoBox - - - - - - - -
- - - -
-

Versions 0.3.x

-

-
- activation of encrypted file system
-

-

-
- configuration
-

-
- -
-

Versions 0.2.x

-

-
- activation of encrypted file system
-

-

-
- configuration
-

-
- - - - -
- - - - - - - diff --git a/support.html b/support.html deleted file mode 100644 index 467a2e3..0000000 --- a/support.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - CryptoBox - - - - - - - -
- - - -
-

Any problems?

-
    -
  1. Check if the FAQ below helps you to solve your problem.
  2. -
  3. Check if it is a known issues. Maybe you - could add some information.
  4. -
  5. Submit a bug report.
  6. -
  7. Any questions left? Send a mail to info@cryptobox.org!
  8. -
-
- -
- -
- -
-

Frequently asked questions

-

If you have more questions or if you want better answers, just send a mail - to info@cryptobox.org. Thanks!

-
- -
- -

I successfully opened a volume. How can I access the data now?

-

CryptoBox-Server: you should ask your administrator. In case - you are the administrator, then you should take a look at the configuration - file for the MountDir setting. Publish this directory via your - favourite fileserver (e.g. samba, webdav, nfs, ftp, ...) and tell your - users how to reach it.

-

CryptoBox-CD: browse the network neighborhood for the CryptoBox server - (windows), scan the network (KDE or Gnome) or type something like the - following into your favourite terminal to mount a volume:
- smbmount //IP_OF_CRYPTOBOX/VOLUME_NAME /media/FOO

-
- -
- -

Recently I partitioned my harddisk. Now I can open the volume without a - password. Isn't it encrypted anymore?

-

The partition manager creates non-encrypted volumes by default. If you want - to enable encryption for a volume, then you have to format it. Be aware - that this will erase all data of the volume.

-
- -
- -

How can I restrict access to certain data?

-

The CryptoBox does not support user and access management for now. Everyone - in your local network can access all open volumes for reading and writing. - This behavior is based on the assumption, that there are no evil guys in - your local network. Please take care for this!

-

For the next major release (v0.4) we plan to implement user and access - management.

-
- -
- -

There is a user manager available via preferences. - What is it good for?

-

These administrative users can access restricted parts of the CryptoBox - (e.g. the plugin manager or the network settings).

-

Users who just want to open and close volumes do not need an - administrative account.

-
- - - - -
- - - - - - - diff --git a/gerippe.tmpl b/template.tmpl similarity index 100% rename from gerippe.tmpl rename to template.tmpl diff --git a/templatewriter.py b/templatewriter.py index 7625f59..d856ff4 100755 --- a/templatewriter.py +++ b/templatewriter.py @@ -11,11 +11,12 @@ except ImportError: class TemplateWriter: - templatefile = "./gerippe.tmpl" - tmpldir = "./placeholder" - contentdir = "./content" + templatefile = "template.tmpl" + tmpldir = "placeholder" + contentdir = "content" tmplfileext = ".tmpl" outfileext = ".html" + output_directory = "html" max_rss_items = 5 ## regular expressions of not-wanted file/directory names ## for now: no svn, no vi-swap files, no backup files @@ -69,9 +70,10 @@ class TemplateWriter: return entries - def build_sites_from_gerippe(self): + def build_sites_from_template(self): + print "Building:" for html in self.get_sorted(self.get_filtered(os.listdir(self.contentdir))): - print " building: %s%s" % (html, self.outfileext) + print " %s%s" % (html, self.outfileext) self.placeholder["entries"] = self.get_entries(html) ## start with the content of the template text = self.template @@ -82,7 +84,7 @@ class TemplateWriter: text = text % self.placeholder text = text % self.placeholder ## write the result - outfile = open(html + self.outfileext, "w") + outfile = open(os.path.join(self.output_directory, html + self.outfileext), "w") outfile.write(text) outfile.close() return @@ -101,5 +103,5 @@ class TemplateWriter: if __name__ == "__main__": - TemplateWriter().build_sites_from_gerippe() + TemplateWriter().build_sites_from_template()