715 Commits (a26dca806840759cb645326582fa71be6196fb02)

Author SHA1 Message Date
frisco a26dca8068 Added script and related configuration to browse all of CryptoNAS' Python code in one browser
12 years ago
htgoebel a75f40eac2 Enable running pylint on directories, too 12 years ago
htgoebel c0ee498c5c Minor code cleanup on development helper scripts 12 years ago
htgoebel 0f95357e8b Minor code cleanup 12 years ago
htgoebel 67951dadbf Build requires python-setuptools 12 years ago
htgoebel e37dc50348 No longer require "python-all-dev" for building. CryptoNAS is pure
Python, thus python-dev is not required, esp. not for all available
versions (which python-all-dev installs).
12 years ago
htgoebel 148a452ccb Fixed "Architecture" for Debian: "all" is correct, since CryptoNAS is
pure Python and thus one package works on all archs. (Whereas "any"
means: can be build for any arch, but needs separate builds.)
12 years ago
frisco a433b6e03d tags/v0.3.5: Merged translations from branches/translation-base-v0.4 14 years ago
lars 3953da477b * use caching for "debian_live" check 14 years ago
frisco bf7e8cd156 Added method is_debian_live() to identify Debian Live media and loop devices 14 years ago
lars 2c740c6c6d * fixed typos 14 years ago
lars 7ecf2566a4 * work around the broken python-clearsilver package for ubuntu jaunty (9.04)
* finally fixes #220
 * related to: https://bugs.launchpad.net/ubuntu/+source/clearsilver/+bug/386970
14 years ago
lars a6aaba642e * adapted unittest to new block device object 14 years ago
lars 8e9f5eedc2 * use "hashlib" instead of "sha" (deprecated since python2.6) if available 14 years ago
lars d5dce0887a * adapt block device handling to linux kernel >v2.6.26 (symlinks in /sys/block/)
* turned all attributes of the "Blockdevice" class into properties (postponing evaluation)
* unify cache_links for blockdevice information
* add default location of config file to preferences handling
14 years ago
lars 4f24c813cd * changed definition of storage device: only "valid" devices are available now 14 years ago
lars b5c4eabc26 * excluded ram block devices from the "valid" list of devices (Closes: #196) 14 years ago
lars b7f6afcc67 * fixed one broken indentation
* fixed a problem with sfdisk waiting for input forever (caused by a previous careless change of me)
14 years ago
lars 38843516fa * fixed some coding style issues 14 years ago
lars f389508ed8 * changed importance of some log messages
* use "sfdisk -R" instead of "blockdev --rereadpt" in order to avoid an additinal dependency
* removed obsolete sort function for block devices
14 years ago
lars ffb8f841be * change default indentation (as checked by pylint) from tab to spaces
* changed default behaviour of pylint wrapper script: check _everything_ if no parameters are given
14 years ago
lars fe0a062bf6 * added code to catch some more error conditions
* slightly changed the structure of the block device cache
14 years ago
lars df2a8a0db9 * fixed an issue with the creation of the configuration partition due to an index offset change with the new blockdevice module (Closes: #215)
* increased the size of configuration partitions to pass the "is_valid" test in cryptobox.core.blockdevice (also related to #215)
14 years ago
lars 864d7091f6 * don't refresh the whole device list after each plugin run, but just refresh the current device 14 years ago
lars 94102a3575 * added some triggers for refreshing the cache after partitioning
* added more error checking for unavailable devices
* fixed a wrong template name
14 years ago
lars 7b0de22e3a * fixed some minor problems caused by revision [1162]
* try to refresh the block device cache once if a device was requested, that is currently not in the list (after a minimum cache age passed)
* added an implicit sorting function for block devices (based on major/minor values)
* try all found device nodes, in case the first does not exist anymore (e.g. temporary device nodes)
14 years ago
lars 22021866b4 * added a (non-linked) url to access the list of recognized block devices 14 years ago
lars 6984bc8841 * added more specific information to a log message
* added the name of the current template to the footer
* added the name of the possibly broken themplate causing invalid message handling
14 years ago
lars 6ad1523510 cryptonas blockdevice management:
* significantly reduced the time required for generating the block device list:
 * use a cache for major/minor -> device nodes mapping
 * run 'blkid' only once for LABEL, TYPE and UUID
* added some code for (optional) profiling via python-profiler
14 years ago
frisco 2e8609b0d2 Major updates to scripts for unit tests and pydoc 14 years ago
frisco 9cd3d7dd42 Now calls "/sbin/blockdev --rereadpt" after any changes to partition tables; should fix bug #214 14 years ago
frisco 9add2a7b34 Fixed integration issue with cryptsetup; unit tests now pass 14 years ago
frisco 7032d06020 Fixed inconsistency in logging-related code; fixed size of unit test partitions to equal 50M each 14 years ago
frisco a4b638606a Fixed typo in r1156 that broke some unit tests 14 years ago
frisco 615073e02c Changes to use unit tests in non-User Mode Linux environment; merged cryptobox.conf into
14 years ago
frisco f2d88519b0 Possible fix for one unit test 14 years ago
frisco e2b335f5d0 Added src image for splash screen. Fixed error in r1151. 15 years ago
age dedfd84a2c fonts for the logo (they are in the debian package
15 years ago
lars 7928ddecb7 plugin "encrypted_webinterface":
* fix hang with stunnel newer than v4.20 (Closes: #218)
15 years ago
lars 4301427e26 CryptoNAS config validation:
* adapt to changes in configobj (v4.3.2 -> v4.5.2) - Closes #218
* workaround a misbehaviour of configobj for lists with only one item - Closes: #219
15 years ago
lars 54d69c506e CryptoNAS default configuration:
* fixed broken default values (reported by Stefan)
15 years ago
frisco 7be740e01a Created script to generate pydoc documentation. Works for me, but has some rough edges. 15 years ago
frisco c1a086f3e4 Added `--use-fuzzy' to msgfmt call, fixing undesired German messages in English locale.
Rationale: Some English translation text strings are now marked "fuzzy" despite their 
actually being correct. This is presumably because, during the transition to "gettext" 
or from tabs to spaces, some strings got reformatted in a way "gettext" didn't expect. 
Since several translations are falsely marked "fuzzy" in English, it's likely that the 
same is true for some of the other supported languages as well. The "--use-fuzzy" option 
can optionally be turned off after the *.po files are verified by human translators.
15 years ago
age adbaf2ef0d correct hdf value for umount error 15 years ago
lars fe235df686 remove unittest failures for non-existing tests 15 years ago
lars 0541981452 fix the 'test_allowed_devices' unittest 15 years ago
lars 3e79c98545 fixed two unittests 15 years ago
lars 87289af11a fix remaining issue of cryptsetup v1.0.5 (continues r1102) 15 years ago
age 916b4bebce * fixed typo 15 years ago
age 9fa6376672 * cryptsetup demands running with uid=0 since v1.0.5 15 years ago