Commit Graph

715 Commits

Author SHA1 Message Date
frisco a26dca8068 Added script and related configuration to browse all of CryptoNAS' Python code in one browser
window
2011-07-05 07:35:31 +00:00
htgoebel a75f40eac2 Enable running pylint on directories, too 2011-06-12 12:25:39 +00:00
htgoebel c0ee498c5c Minor code cleanup on development helper scripts 2011-06-12 12:01:03 +00:00
htgoebel 0f95357e8b Minor code cleanup 2011-06-12 11:24:51 +00:00
htgoebel 67951dadbf Build requires python-setuptools 2011-05-21 21:26:17 +00:00
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).
2011-05-21 21:23:35 +00:00
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.)
2011-05-21 21:21:28 +00:00
frisco a433b6e03d tags/v0.3.5: Merged translations from branches/translation-base-v0.4 2009-07-19 07:04:56 +00:00
lars 3953da477b * use caching for "debian_live" check 2009-07-15 09:12:11 +00:00
frisco bf7e8cd156 Added method is_debian_live() to identify Debian Live media and loop devices 2009-06-22 03:08:59 +00:00
lars 2c740c6c6d * fixed typos 2009-06-16 10:04:27 +00:00
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
2009-06-16 10:02:43 +00:00
lars a6aaba642e * adapted unittest to new block device object 2009-06-16 02:19:06 +00:00
lars 8e9f5eedc2 * use "hashlib" instead of "sha" (deprecated since python2.6) if available 2009-06-16 02:16:29 +00:00
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
2009-06-16 01:58:29 +00:00
lars 4f24c813cd * changed definition of storage device: only "valid" devices are available now 2009-06-13 12:22:53 +00:00
lars b5c4eabc26 * excluded ram block devices from the "valid" list of devices (Closes: #196) 2009-06-13 02:23:35 +00:00
lars b7f6afcc67 * fixed one broken indentation
* fixed a problem with sfdisk waiting for input forever (caused by a previous careless change of me)
2009-06-13 02:13:26 +00:00
lars 38843516fa * fixed some coding style issues 2009-06-12 01:53:08 +00:00
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
2009-06-12 01:48:22 +00:00
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
2009-06-12 01:40:26 +00:00
lars fe0a062bf6 * added code to catch some more error conditions
* slightly changed the structure of the block device cache
2009-06-11 23:20:23 +00:00
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)
2009-06-11 23:18:32 +00:00
lars 864d7091f6 * don't refresh the whole device list after each plugin run, but just refresh the current device 2009-06-11 23:14:58 +00:00
lars 94102a3575 * added some triggers for refreshing the cache after partitioning
* added more error checking for unavailable devices
* fixed a wrong template name
2009-06-11 09:32:41 +00:00
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)
2009-06-11 09:30:17 +00:00
lars 22021866b4 * added a (non-linked) url to access the list of recognized block devices 2009-06-11 09:24:03 +00:00
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
2009-06-11 09:21:03 +00:00
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
2009-06-10 17:45:58 +00:00
frisco 2e8609b0d2 Major updates to scripts for unit tests and pydoc 2009-06-06 23:24:26 +00:00
frisco 9cd3d7dd42 Now calls "/sbin/blockdev --rereadpt" after any changes to partition tables; should fix bug #214 2009-05-29 05:56:14 +00:00
frisco 9add2a7b34 Fixed integration issue with cryptsetup; unit tests now pass 2009-05-25 02:37:15 +00:00
frisco 7032d06020 Fixed inconsistency in logging-related code; fixed size of unit test partitions to equal 50M each 2009-05-20 05:05:17 +00:00
frisco a4b638606a Fixed typo in r1156 that broke some unit tests 2009-05-14 07:28:45 +00:00
frisco 615073e02c Changes to use unit tests in non-User Mode Linux environment; merged cryptobox.conf into
cryptobox-unittests.conf
2009-05-11 10:02:49 +00:00
frisco f2d88519b0 Possible fix for one unit test 2009-02-28 07:27:02 +00:00
frisco e2b335f5d0 Added src image for splash screen. Fixed error in r1151. 2009-01-21 07:02:26 +00:00
age dedfd84a2c fonts for the logo (they are in the debian package
"ttf-larabie-straight")
2009-01-15 23:30:01 +00:00
lars 7928ddecb7 plugin "encrypted_webinterface":
* fix hang with stunnel newer than v4.20 (Closes: #218)
2009-01-10 13:04:46 +00:00
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
2009-01-07 03:34:48 +00:00
lars 54d69c506e CryptoNAS default configuration:
* fixed broken default values (reported by Stefan)
2009-01-07 00:47:39 +00:00
frisco 7be740e01a Created script to generate pydoc documentation. Works for me, but has some rough edges. 2009-01-03 18:53:36 +00:00
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.
2008-08-21 08:16:37 +00:00
age adbaf2ef0d correct hdf value for umount error 2008-07-21 17:29:30 +00:00
lars fe235df686 remove unittest failures for non-existing tests 2008-07-17 20:08:27 +00:00
lars 0541981452 fix the 'test_allowed_devices' unittest 2008-07-17 19:54:06 +00:00
lars 3e79c98545 fixed two unittests 2008-07-17 18:10:48 +00:00
lars 87289af11a fix remaining issue of cryptsetup v1.0.5 (continues r1102) 2008-07-09 23:49:08 +00:00
age 916b4bebce * fixed typo 2008-04-19 08:44:53 +00:00
age 9fa6376672 * cryptsetup demands running with uid=0 since v1.0.5 2008-04-07 10:42:37 +00:00