Commit Graph

698 Commits

Author SHA1 Message Date
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
lars 1f75580b95 the new translate-toolkit does not need "removeblanks" anymore 2008-04-07 02:58:44 +00:00
lars 81e5a2e8fd for self-test: handle TypeErrors nicely 2008-04-07 02:57:33 +00:00
lars 43a5c83ea8 update translations from Pootle server (translation branch v0.3.x) 2008-04-07 02:54:42 +00:00
lars 28c4d5b843 fix typo 2008-04-07 02:41:51 +00:00
lars e165d97819 replace "CryptoBox" with "CryptoNAS" in template files 2008-04-07 02:20:29 +00:00
age b9a89f4480 * removed bashisms 2008-04-06 16:08:34 +00:00
age 86a42c6857 * actual languages from translation server
* s/box/nas/
2008-04-06 16:05:07 +00:00
lars 4c9b4e5a5b init of a filesystem checker plugin - not finished, yet 2008-04-06 14:56:56 +00:00
lars b0d2a2deae fix call of test function 2008-02-18 19:28:19 +00:00
age 35bed3b4e6 * fixed network unittests
* disabled unfinished blockdevice test
2008-02-18 11:01:44 +00:00
lars eaf37a872a add "is_parent_of" function to blockdevice module
improve pre-defined exceptions
improve few failure behaviours
2008-02-17 18:10:38 +00:00
age 42a5e1bcc6 * unittests are using /dev/ubd* in uml 2008-02-17 18:10:36 +00:00
lars b1c733cd52 update blockdevice unittests to new blockdevice module
use ramX instead of loopX
2008-02-17 18:08:26 +00:00
age e8a4edee6a * use ram instaed of loop device for unittests 2008-02-17 16:37:44 +00:00
age 22eaddc496 * floppy disks are now unsupported
* ram disks are supported
2008-02-17 16:36:43 +00:00
age 5aba14b469 * device list as explicit list 2008-02-17 16:25:03 +00:00
age 085a0daa95 * reduced size for test partitions 2008-02-17 14:22:33 +00:00