diff --git a/live-cd-v0.3/README b/live-cd-v0.3/README new file mode 100644 index 0000000..32e453f --- /dev/null +++ b/live-cd-v0.3/README @@ -0,0 +1,55 @@ +This README describes the functionality of the templatewriter.py in +German. + +!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: + +* 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 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 + + +* +|_ template.tmpl +| +|_ placeholder + +| |_ header +| |_ footer +| |_ immergleicherkrempel +| +|_ content + + |_ index + + | |_ 1 + | |_ 2 + | + |_ kontakt + + | |_ 1 + | + |_ misc + + |_ 1 + |_ 2 + |_ 3 + + diff --git a/live-cd-v0.3/content/cartoon/02_top b/live-cd-v0.3/content/cartoon/02_top new file mode 100644 index 0000000..aaf8b2e --- /dev/null +++ b/live-cd-v0.3/content/cartoon/02_top @@ -0,0 +1,34 @@ +
+

What does the CryptoBox do?

+

Usually all your files like phone numbers, love letters, bank + account data etc. are stored in plaintext on your computer's + harddisk. + All the data is accessible for everyone who has access to the harddisk. + This is very bad in case someone you don't trust gets your harddisk. + E.g. a thief that steals your notebook, or breaks into your house or company. + If the thief has your disk he/she can also read all the files that + where saved on it, no matter whether you have a login password or not - + the files are always stored in plaintext. +

+ +

The CryptoBox brings easy-to-use data encryption to your + computer. This works out of the box and does not need complicated + configuration steps.

+ +

Here comes a small usage example for the CryptoBox with an obsolete + PC as a fileserver:

+ +

Boot up the old PC with the CryptoBox live-CD. + Now you can access it with your browser via the network. + Then you partition and reformat the harddisk of the old + PC with encryption support. Therefore you provide a passphrase. + This is all done through the user friendly webinterface. + You can also plug in an external harddisk and use this to store + your encrypted data. + Afterwards you copy your sensitive data over the local + network to the CryptoBox. + It is stored on its harddisk in a secure way. + Nobody can access your data without the right passphrase. +

+
+ diff --git a/live-cd-v0.3/content/demo/05_left b/live-cd-v0.3/content/demo/05_left new file mode 100644 index 0000000..c57b3b1 --- /dev/null +++ b/live-cd-v0.3/content/demo/05_left @@ -0,0 +1,6 @@ +
+
+

Pardon in advance

+

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

+
+
diff --git a/live-cd-v0.3/content/demo/10_center b/live-cd-v0.3/content/demo/10_center new file mode 100644 index 0000000..c27935e --- /dev/null +++ b/live-cd-v0.3/content/demo/10_center @@ -0,0 +1,17 @@ +
+

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.

+ +

If you notice any strange behaviour then please do not hesitate to tell + it to us, as we are sometimes blind even for the most obvious problems ...

+

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

+

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

+ +
+ + diff --git a/live-cd-v0.3/content/details/05_left b/live-cd-v0.3/content/details/05_left new file mode 100644 index 0000000..13e7d49 --- /dev/null +++ b/live-cd-v0.3/content/details/05_left @@ -0,0 +1,13 @@ +
+ +
+

You are server admin?

+

Take a look at the README + file. There you find more detailed information about the + installation and configuration of the CryptoBox-Server + package.

+
+ +
+ diff --git a/live-cd-v0.3/content/details/10_content b/live-cd-v0.3/content/details/10_content new file mode 100644 index 0000000..56dce69 --- /dev/null +++ b/live-cd-v0.3/content/details/10_content @@ -0,0 +1,63 @@ +
+

Requirements for the CryptoBox live-CD

+

The CryptoBox live-CD runs on any x86 compatible PC with:

+ +

The harddisk does not need to inside the of CryptoBox computer. You + can also use external devices like USB-drives. + All drives supported by the Linux kernel (2.6.20) can be used: IDE, + SCSI, USB, FireWire, SATA, RAID, ...

+

Because of the high number of different supported storage media + we call an encrypted disk a volume. + This includes (e.g.): USB-sticks, firewire-disks, flash-drives, digital cameras, + MP3-player, MMC/SD-cards.

+
+ +
+

Requirements of the CryptoBox-Server

+

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

+ +

In general a server package should run on any Linux + distribution, but we only provide Debian packages. So you have to + install the necessary files on your own to the right places if + you are using a different linux distribution.

+
+ +
+

File access

+

Once you openend an encrypted volume through the web frontend of + the CryptoBox you can access the volume's data within your local + network via:

+ +

The CryptoBox-Server package will smoothly integrate into your existing + fileserver. It provides mount points which can be shared via your + favourite protocols (e.g.: WebDAV or NFS).

+
+ +
+

Encryption

+

The encrypted disk partitions are LUKS + volumes. This makes it also possible to access your data directly with + every modern linux system or via FreeOTFE + (for Microsoft products).

+

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

+
+ + diff --git a/live-cd-v0.3/content/development/02_top b/live-cd-v0.3/content/development/02_top new file mode 100644 index 0000000..6af3075 --- /dev/null +++ b/live-cd-v0.3/content/development/02_top @@ -0,0 +1,7 @@ +
+

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/live-cd-v0.3/content/development/05_left b/live-cd-v0.3/content/development/05_left new file mode 100644 index 0000000..a39f1f7 --- /dev/null +++ b/live-cd-v0.3/content/development/05_left @@ -0,0 +1,21 @@ +
+
+

Overview

+ +
+ +
+

Recent changes

+ %(rss_content)s +
+ +
+ + diff --git a/live-cd-v0.3/content/development/10_center b/live-cd-v0.3/content/development/10_center new file mode 100644 index 0000000..d55b3a0 --- /dev/null +++ b/live-cd-v0.3/content/development/10_center @@ -0,0 +1,69 @@ +
+

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 send a mail to %(mailaddress)s.

+
+ +
+

Development

+

If you are interested in what happens under the hood, visit the 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.

+
+ +
+

Bleeding edge source code

+

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

+

Read more ...

+
+ +
+

Thank you!

+

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! + :)

+ +
+ +
+

Acknowledgements

+

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!

+
+ + + + diff --git a/live-cd-v0.3/content/download/05_left b/live-cd-v0.3/content/download/05_left new file mode 100644 index 0000000..7ad43e4 --- /dev/null +++ b/live-cd-v0.3/content/download/05_left @@ -0,0 +1,28 @@ +
+ +
+

Latest releases

+

CryptoBox live-CD: %(current-cd-version)s

+

CryptoBox-Server: %(current-server-version)s

+
+ +
+

Planned major releases:

+

CryptoBox-Server:

+ +

CryptoBox live-CD:

+ +

Read the development roadmap + for more details.

+
+ +
+

License

+

All code is licensed under the GPL.

+

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

+
+ +
+ diff --git a/live-cd-v0.3/content/download/10_center b/live-cd-v0.3/content/download/10_center new file mode 100644 index 0000000..f66677c --- /dev/null +++ b/live-cd-v0.3/content/download/10_center @@ -0,0 +1,35 @@ +
+

CryptoBox live-CD

+

Get the latest CryptoBox live-CD image and burn it on a CD.

+

CryptoBox live-CD download

+


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

+ +
+ +
+

CryptoBox-Server Debian package

+

Use the CryptoBox-Server package in your Debian/Ubuntu Linux system.

+

CryptoBox-Server debian package + download

+


Install it with: dpkg -i cryptobox-server.deb

+

We strongly recommend to use the server package of our + (inofficial) debian package repository instead installing manually, + as it is much easier to maintain. Take a look at the FAQ + for details.

+
+ +
+

CryptoBox-Server source files

+

Users of a non-debian-based Linux distributions are a bit + out of luck. You may try to install the source package, but you + have to adapt some paths manually.

+

cryptobox-server source + archive download

+
+ diff --git a/live-cd-v0.3/content/index/02_top b/live-cd-v0.3/content/index/02_top new file mode 100644 index 0000000..1d80c42 --- /dev/null +++ b/live-cd-v0.3/content/index/02_top @@ -0,0 +1,18 @@ +
+

What is it about?

+

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

+

Therefore we develop two Free Software packages:

+ +

Take a look at the CryptoBox usage example!
+ It may give you a better understanding of what the CryptoBox does and how it + works.

+
+ diff --git a/live-cd-v0.3/content/index/05_left b/live-cd-v0.3/content/index/05_left new file mode 100644 index 0000000..db705e8 --- /dev/null +++ b/live-cd-v0.3/content/index/05_left @@ -0,0 +1,37 @@ +
+ +
+

Demo

+

See the CryptoBox in action.

+ +
+ +
+

Documentation

+

Browse through the online user + documentation site.

+
+ +
+

Details

+

Read what's under the hood.

+
+ +
+

Translations

+

The following languages are currently fully supported:

+ +
+ +
+ diff --git a/live-cd-v0.3/content/index/10_center b/live-cd-v0.3/content/index/10_center new file mode 100644 index 0000000..c05d50f --- /dev/null +++ b/live-cd-v0.3/content/index/10_center @@ -0,0 +1,6 @@ +
+

Screenshots

+

Everybody wants some screenshots. + Here we go:

+

+
diff --git a/live-cd-v0.3/content/news/10_center b/live-cd-v0.3/content/news/10_center new file mode 100644 index 0000000..49f4ed1 --- /dev/null +++ b/live-cd-v0.3/content/news/10_center @@ -0,0 +1,127 @@ +
+

NEWS: CryptoBox-Server v0.3.4.2 released

+

21/03/02007

+

This is a translation update release.

+

An Italian translation was added by Fabrizio Tarizzo - thanks a lot!

+
+ +
+

NEWS: CryptoBox-Server v0.3.4.1 released

+

27/02/02007

+

This is a translation update release.

+

A Japanese translation was added by kinneko - thanks a lot!

+
+ +
+

NEWS: CryptoBox live-CD v0.3 released

+

25/02/02007

+

This is a major release.

+

The following list contains only the most important improvements:

+ +

BEWARE: As the CryptoBox live-CD v0.3 uses a standard compliant encryption + header (LUKS), it does not support the old format of the harddisks that you + used with the CryptoBox live-CD v0.2.1 release. Please move all you encrypted + data somewhere else before migrating to the new version of the CryptoBox + live-CD. We are very sorry for any inconvenience!

+
+ +
+

NEWS: CryptoBox-Server v0.3.4 released

+

19/02/02007

+

This is a bugfix release.

+

The following bug was fixed:

+ +
+ +
+

NEWS: CryptoBox-Server v0.3.3 released

+

10/02/02007

+

This release fixes some small bugs:

+ +

Additionally the following features were added:

+ +

The Slovenian and German translations are complete.

+

This release is planned to be the base for the next live-cd, which will be + published within the next week.

+
+ +
+

NEWS: CryptoBox-Server v0.3.2 released

+

08/01/02007

+

This release contains some important bugfixes:

+ +
+ +
+

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 temporarily 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 latest CryptoBox version 0.2.1 is available at + codecoop.org!

+
+ diff --git a/live-cd-v0.3/content/screenshots/10_center b/live-cd-v0.3/content/screenshots/10_center new file mode 100644 index 0000000..287d65c --- /dev/null +++ b/live-cd-v0.3/content/screenshots/10_center @@ -0,0 +1,28 @@ +
+

Versions 0.3.x

+

+ screenshot v0.3: activation of encrypted filesystem
+ activation of encrypted filesystem
+

+

+ screenshot v0.3: configuration
+ configuration
+

+
+ +
+

Versions 0.2.x

+

+ screenshot v0.2: activation of encrypted file system
+ activation of encrypted file system
+

+

+ screenshot v0.2: configuration
+ configuration
+

+
+ diff --git a/live-cd-v0.3/content/support/02_top b/live-cd-v0.3/content/support/02_top new file mode 100644 index 0000000..7628f58 --- /dev/null +++ b/live-cd-v0.3/content/support/02_top @@ -0,0 +1,14 @@ +
+

Any problems?

+
    +
  1. Please read the user + documentation.
  2. +
  3. Check if the FAQ helps you to solve your problem.
  4. +
  5. Check if it is a known + issue. If so, provide some detailed information + there.
  6. +
  7. Submit a new bug report.
  8. +
+
+ diff --git a/live-cd-v0.3/content/support/05_left b/live-cd-v0.3/content/support/05_left new file mode 100644 index 0000000..f910525 --- /dev/null +++ b/live-cd-v0.3/content/support/05_left @@ -0,0 +1,11 @@ +
+ +
+

Missing your language?

+

The CryptoBox is easily extensible via plugins. It also has + support for multiple languages. You can help us with some + translations.

+
+ +
+ diff --git a/live-cd-v0.3/content/support/10_center b/live-cd-v0.3/content/support/10_center new file mode 100644 index 0000000..3b9ff3c --- /dev/null +++ b/live-cd-v0.3/content/support/10_center @@ -0,0 +1,7 @@ +
+

Further questions

+

If you have more questions or if you want better answers, just send a mail + to %(mailaddress)s. Thanks!

+

And no, we don't sit on any irc channel. There's a life to live. :)

+
+ diff --git a/live-cd-v0.3/html/favicon.ico b/live-cd-v0.3/html/favicon.ico new file mode 100644 index 0000000..85660ef Binary files /dev/null and b/live-cd-v0.3/html/favicon.ico differ diff --git a/live-cd-v0.3/html/gfx/activate_volume.png b/live-cd-v0.3/html/gfx/activate_volume.png new file mode 100644 index 0000000..d18fe90 Binary files /dev/null and b/live-cd-v0.3/html/gfx/activate_volume.png differ diff --git a/live-cd-v0.3/html/gfx/antlogo.png b/live-cd-v0.3/html/gfx/antlogo.png new file mode 100644 index 0000000..df7d87d Binary files /dev/null and b/live-cd-v0.3/html/gfx/antlogo.png differ diff --git a/live-cd-v0.3/html/gfx/en_config.png b/live-cd-v0.3/html/gfx/en_config.png new file mode 100644 index 0000000..e74b416 Binary files /dev/null and b/live-cd-v0.3/html/gfx/en_config.png differ diff --git a/live-cd-v0.3/html/gfx/en_mount.png b/live-cd-v0.3/html/gfx/en_mount.png new file mode 100644 index 0000000..eca7049 Binary files /dev/null and b/live-cd-v0.3/html/gfx/en_mount.png differ diff --git a/live-cd-v0.3/html/gfx/header.jpg b/live-cd-v0.3/html/gfx/header.jpg new file mode 100644 index 0000000..0921fe4 Binary files /dev/null and b/live-cd-v0.3/html/gfx/header.jpg differ diff --git a/live-cd-v0.3/html/gfx/logo.png b/live-cd-v0.3/html/gfx/logo.png new file mode 100644 index 0000000..06e6231 Binary files /dev/null and b/live-cd-v0.3/html/gfx/logo.png differ diff --git a/live-cd-v0.3/html/gfx/main.css b/live-cd-v0.3/html/gfx/main.css new file mode 100644 index 0000000..a229917 --- /dev/null +++ b/live-cd-v0.3/html/gfx/main.css @@ -0,0 +1,230 @@ +body { + margin: 0; + padding: 0; + font-family: Verdana, Arial, sans-serif; + font-size: 80%; + color: #545454; + background-color: #fff; +} + +p { + margin: 0.1em 0 0.1em 0; +} + +h1 { + margin: 0; + padding: 0; + font-size: 200%; + font-weight: normal; + color: #4169E1; +} + +h2 { + margin: 0 0 5px 0; + padding: 0; + background-color: #8bbf75; + color: White; + font-size: 100%; + font-weight: normal; + text-align: left; + /* RFC: there is a font-weight above - which is valid? */ + font-weight: 800; +} + +div { + margin: 0; + padding: 0; + display: block; +} + +tt { + padding: 0.1em 0.6em 0.1em 0.6em; + font-size: 120%; + background: #fffad0; +} + +b { + font-size: 95%; +} + +div.container { + background-color: #FFF; + margin: 0 auto 0 auto; + padding: 0; + width: 740px; +} + +div.container a:link, div.container a:visited { + color: #366b30; +} + +div.navbar a { + text-decoration: none; +} + +div.container a:hover, div.container a:active { + color: #ff8a00; +} + +div#header { + padding: 2em; + margin: 0; + background-image: url(header.jpg); + background-repeat: no-repeat; + background-position: center; + height: 78px; +} + +div.centercontent { + padding: 0.3em 1ex 0.3em 1ex; + margin: 5px 5px 9px 5px; + border: 1px solid #e0e0e0; +} + +div.centercontent h2 { + padding: 0.1em 0 0.1em 0.5em; +} +div.centercontent p { + padding: 0.1em 1.8em 0.5em 0.8em; +} +div.centercontent ul { + padding: 0.1em 1.8em 0.1em 2.8em; +} + +ul { + margin-top: 0; + margin-bottom: 5px; + margin-left: 0; + padding-left: 2em; +} + +div.navbar { + display: block; + font-weight: bold; + margin: 5px 0 5px 0; + padding: 10px 0 10px 0; + border-top: 1px solid #C4C4C4; + border-bottom: 1px solid #C4C4C4; + text-align:center; +} + +div.left { + float: left; + width: 30%; + margin: 0 0 0 5px; + padding: 0; + text-align: center; +} + +div.left h2 { + text-align: left; + color: #366b30; + background-color: #eeeeec; + padding: 0 0 0 0.5em; + margin-bottom: 0.3em; +} + +div.leftcontent { + margin: 0.2em 0.4em 0.5em 0; + padding: 0.3em; + text-align: left; + border: 1px solid #e0e0e0; +} + +div.leftcontent p { + padding: 0.1em 0 0.5em 0.5em; +} + +div.content { + margin: 5px 5px 15px 31.5%; +} + +div.onecolumn { + margin: 5px 5px 9px 5px; +} + +div.content, div.onecolumn { + padding: 0.3em 1ex 0.3em 1ex; + border: 1px solid #e0e0e0; +} + +div.content h2, div.onecolumn h2 { + /* these are 2 pixels higher then those on the left side */ + /* RFC: what does that mean? Do we want this difference or not? [l] */ + padding: 0.1em 0 0.1em 0.5em; + margin: 0.1em 0 0.1em 0; +} + +div.content p, div.onecolumn p { + padding: 0.1em 0.8em 0.5em 0.8em; +} + +div.onecolumn p { + margin-top: 10px; + margin-bottom: 25px; + text-align: center; +} + +.date { + text-align: right; + font-style: italic; + font-size: 0.8em; +} + +div#footer { + margin: 20px 0 5px 0; + padding: 5px 0 5px 0; + border-top: 1px solid #C4C4C4; + border-bottom: 1px solid #C4C4C4; + font-size: 80%; + text-align: center; + clear: both; +} + + +/* FAQ headers */ +div.faq h3 { + margin: 0.5em; + font-size: 0.9em; + color: #8bbf75; +} + + +/* table of content for FAQ */ +ol.toc { + padding-left: 2em; +} + +ol.toc li { + margin-top: 0.5em; + margin-bottom: 0.5em; +} + +ol.toc a { + text-decoration: none; +} + +/* recent changes (rss feed) */ +ul.recent_changes { + padding-left: 0; + list-style-type: none; +} + +ul.recent_changes li { +} + +ul.recent_changes li h3 { + font-size: 0.9em; + margin: 2px; + text-decoration: none; +} + +ul.recent_changes li h3 a { + text-decoration: none; +} + +ul.recent_changes li p.date { + padding: 2px 2px 0 2px; + font-size: 0.8em; +} + diff --git a/live-cd-v0.3/html/gfx/mini_screenshot.png b/live-cd-v0.3/html/gfx/mini_screenshot.png new file mode 100644 index 0000000..af0d10f Binary files /dev/null and b/live-cd-v0.3/html/gfx/mini_screenshot.png differ diff --git a/live-cd-v0.3/html/gfx/screen_mini.png b/live-cd-v0.3/html/gfx/screen_mini.png new file mode 100644 index 0000000..bf1615a Binary files /dev/null and b/live-cd-v0.3/html/gfx/screen_mini.png differ diff --git a/live-cd-v0.3/html/gfx/system_preferences.png b/live-cd-v0.3/html/gfx/system_preferences.png new file mode 100644 index 0000000..60fbbb9 Binary files /dev/null and b/live-cd-v0.3/html/gfx/system_preferences.png differ diff --git a/live-cd-v0.3/placeholder/current-cd-url b/live-cd-v0.3/placeholder/current-cd-url new file mode 100644 index 0000000..e87277e --- /dev/null +++ b/live-cd-v0.3/placeholder/current-cd-url @@ -0,0 +1 @@ +http://codecoop.org/frs/?group_id=60&release_id=64 diff --git a/live-cd-v0.3/placeholder/current-cd-version b/live-cd-v0.3/placeholder/current-cd-version new file mode 100644 index 0000000..be58634 --- /dev/null +++ b/live-cd-v0.3/placeholder/current-cd-version @@ -0,0 +1 @@ +0.3 diff --git a/live-cd-v0.3/placeholder/current-server-url b/live-cd-v0.3/placeholder/current-server-url new file mode 100644 index 0000000..68e673a --- /dev/null +++ b/live-cd-v0.3/placeholder/current-server-url @@ -0,0 +1 @@ +http://codecoop.org/frs/?group_id=60&release_id=66 diff --git a/live-cd-v0.3/placeholder/current-server-version b/live-cd-v0.3/placeholder/current-server-version new file mode 100644 index 0000000..58f3bbb --- /dev/null +++ b/live-cd-v0.3/placeholder/current-server-version @@ -0,0 +1 @@ +0.3.4.2 diff --git a/live-cd-v0.3/placeholder/footer b/live-cd-v0.3/placeholder/footer new file mode 100644 index 0000000..3dc0268 --- /dev/null +++ b/live-cd-v0.3/placeholder/footer @@ -0,0 +1,34 @@ + + + + + + + + + + + diff --git a/live-cd-v0.3/placeholder/header b/live-cd-v0.3/placeholder/header new file mode 100644 index 0000000..780bad3 --- /dev/null +++ b/live-cd-v0.3/placeholder/header @@ -0,0 +1,16 @@ + + + + + CryptoBox + + + + + + + +
+ + + diff --git a/live-cd-v0.3/placeholder/mailaddress b/live-cd-v0.3/placeholder/mailaddress new file mode 100644 index 0000000..fec8f13 --- /dev/null +++ b/live-cd-v0.3/placeholder/mailaddress @@ -0,0 +1 @@ +info@cryptobox.org diff --git a/live-cd-v0.3/placeholder/nav b/live-cd-v0.3/placeholder/nav new file mode 100644 index 0000000..f69d708 --- /dev/null +++ b/live-cd-v0.3/placeholder/nav @@ -0,0 +1,10 @@ + + diff --git a/live-cd-v0.3/screenshots/doc-0.3.x/disks_overview.jpg b/live-cd-v0.3/screenshots/doc-0.3.x/disks_overview.jpg new file mode 100644 index 0000000..d6061ee Binary files /dev/null and b/live-cd-v0.3/screenshots/doc-0.3.x/disks_overview.jpg differ diff --git a/live-cd-v0.3/screenshots/doc-0.3.x/help_disabled.jpg b/live-cd-v0.3/screenshots/doc-0.3.x/help_disabled.jpg new file mode 100644 index 0000000..cb6152d Binary files /dev/null and b/live-cd-v0.3/screenshots/doc-0.3.x/help_disabled.jpg differ diff --git a/live-cd-v0.3/screenshots/doc-0.3.x/help_enabled.jpg b/live-cd-v0.3/screenshots/doc-0.3.x/help_enabled.jpg new file mode 100644 index 0000000..6226852 Binary files /dev/null and b/live-cd-v0.3/screenshots/doc-0.3.x/help_enabled.jpg differ diff --git a/live-cd-v0.3/screenshots/doc-0.3.x/preferences.jpg b/live-cd-v0.3/screenshots/doc-0.3.x/preferences.jpg new file mode 100644 index 0000000..588c651 Binary files /dev/null and b/live-cd-v0.3/screenshots/doc-0.3.x/preferences.jpg differ diff --git a/live-cd-v0.3/screenshots/doc-0.3.x/preparing_volumes.jpg b/live-cd-v0.3/screenshots/doc-0.3.x/preparing_volumes.jpg new file mode 100644 index 0000000..33c8a04 Binary files /dev/null and b/live-cd-v0.3/screenshots/doc-0.3.x/preparing_volumes.jpg differ diff --git a/live-cd-v0.3/screenshots/doc-0.3.x/search_samba_gnome.png b/live-cd-v0.3/screenshots/doc-0.3.x/search_samba_gnome.png new file mode 100644 index 0000000..36b2b7f Binary files /dev/null and b/live-cd-v0.3/screenshots/doc-0.3.x/search_samba_gnome.png differ diff --git a/live-cd-v0.3/screenshots/doc-0.3.x/search_samba_kde.png b/live-cd-v0.3/screenshots/doc-0.3.x/search_samba_kde.png new file mode 100644 index 0000000..8dd8c99 Binary files /dev/null and b/live-cd-v0.3/screenshots/doc-0.3.x/search_samba_kde.png differ diff --git a/live-cd-v0.3/screenshots/doc-0.3.x/search_samba_windows.png b/live-cd-v0.3/screenshots/doc-0.3.x/search_samba_windows.png new file mode 100644 index 0000000..256fb80 Binary files /dev/null and b/live-cd-v0.3/screenshots/doc-0.3.x/search_samba_windows.png differ diff --git a/live-cd-v0.3/template.tmpl b/live-cd-v0.3/template.tmpl new file mode 100644 index 0000000..6c99709 --- /dev/null +++ b/live-cd-v0.3/template.tmpl @@ -0,0 +1,7 @@ +%(header)s + %(nav)s + + %(entries)s + +%(footer)s + diff --git a/live-cd-v0.3/templatewriter.py b/live-cd-v0.3/templatewriter.py new file mode 100755 index 0000000..d137661 --- /dev/null +++ b/live-cd-v0.3/templatewriter.py @@ -0,0 +1,107 @@ +#!/usr/bin/env python + +import os, re, sys +try: + import feedparser +except ImportError: + sys.stderr.write("Could not load python module 'feedparser'!\n") + sys.stderr.write("Maybe you should run 'apt-get install python-feedparser.\n") + sys.exit(1) + + + +class TemplateWriter: + 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 + ignore_items = [ r'\.svn', r'\.swp$', r'~$' ] + + def __init__(self): + self.placeholder = self.__get_placeholder_dict() + self.template = open(self.templatefile).read() + + + def get_sorted(self, flist): + result = flist[:] + result.sort() + return result + + + def get_filtered(self, flist): + result = [] + for item in flist: + found = False + for expression in self.ignore_items: + if re.search(expression, item): + found = True + continue + if not found: + result.append(item) + return result + + + def __get_placeholder_dict(self): + """returns the common dictionary for all files - except for the 'entries' + """ + placeholder = {} + for tmpl in self.get_sorted(self.get_filtered(os.listdir(self.tmpldir))): + tmplfile = os.path.join(self.tmpldir, tmpl) + if not os.path.isfile(tmplfile): + print " str.repl: cancelling %s - not a file" % tmplfile + else: + placeholder[tmpl] = file(tmplfile).read().strip() + placeholder["rss_content"] = self.get_rss_info() + return placeholder + + + def get_entries(self, html_name): + """reads all files in the given directory sorted into a string + """ + entries = "" + for entry in self.get_sorted(self.get_filtered(os.listdir( + os.path.join(self.contentdir, html_name)))): + entries += file(os.path.join(self.contentdir, html_name, entry)).read() + return entries + + + def build_sites_from_template(self): + print "Building:" + for html in self.get_sorted(self.get_filtered(os.listdir(self.contentdir))): + print " %s%s" % (html, self.outfileext) + self.placeholder["entries"] = self.get_entries(html) + ## start with the content of the template + text = self.template + ## repeat substitution for five times - for recursive stuff + text = text % self.placeholder + text = text % self.placeholder + text = text % self.placeholder + text = text % self.placeholder + text = text % self.placeholder + ## write the result + outfile = open(os.path.join(self.output_directory, html + self.outfileext), "w") + outfile.write(text) + outfile.close() + return + + + def get_rss_info(self): + """retrieve rss feed from http://devel.cryptobox.org/timeline""" + timeline_url = r'http://devel.cryptobox.org/timeline?max=%d&wiki=off&ticket=on&changeset=on&milestone=off&format=rss' % self.max_rss_items + entry_html = r'
  • %(updated)s

    %(title)s%(summary)s
  • ' + feed = feedparser.parse(timeline_url) + if feed["entries"]: + html_items = [ entry_html % e for e in feed["entries"] ] + return '\n' + else: + return '

    The latest development changes are temporarily unavailable. Sorry!

    ' + + +if __name__ == "__main__": + TemplateWriter().build_sites_from_template() +