a6aaba642e
* adapted unittest to new block device object
2009-06-16 02:19:06 +00:00
8e9f5eedc2
* use "hashlib" instead of "sha" (deprecated since python2.6) if available
2009-06-16 02:16:29 +00:00
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
4f24c813cd
* changed definition of storage device: only "valid" devices are available now
2009-06-13 12:22:53 +00:00
b5c4eabc26
* excluded ram block devices from the "valid" list of devices ( Closes : #196 )
2009-06-13 02:23:35 +00:00
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
38843516fa
* fixed some coding style issues
2009-06-12 01:53:08 +00:00
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
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
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
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
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
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
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
22021866b4
* added a (non-linked) url to access the list of recognized block devices
2009-06-11 09:24:03 +00:00
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
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
dedfd84a2c
fonts for the logo (they are in the debian package
...
"ttf-larabie-straight")
2009-01-15 23:30:01 +00:00
7928ddecb7
plugin "encrypted_webinterface":
...
* fix hang with stunnel newer than v4.20 (Closes : #218 )
2009-01-10 13:04:46 +00:00
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
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
adbaf2ef0d
correct hdf value for umount error
2008-07-21 17:29:30 +00:00
fe235df686
remove unittest failures for non-existing tests
2008-07-17 20:08:27 +00:00
0541981452
fix the 'test_allowed_devices' unittest
2008-07-17 19:54:06 +00:00
3e79c98545
fixed two unittests
2008-07-17 18:10:48 +00:00
87289af11a
fix remaining issue of cryptsetup v1.0.5 (continues r1102)
2008-07-09 23:49:08 +00:00
916b4bebce
* fixed typo
2008-04-19 08:44:53 +00:00
9fa6376672
* cryptsetup demands running with uid=0 since v1.0.5
2008-04-07 10:42:37 +00:00
1f75580b95
the new translate-toolkit does not need "removeblanks" anymore
2008-04-07 02:58:44 +00:00
81e5a2e8fd
for self-test: handle TypeErrors nicely
2008-04-07 02:57:33 +00:00
43a5c83ea8
update translations from Pootle server (translation branch v0.3.x)
2008-04-07 02:54:42 +00:00
28c4d5b843
fix typo
2008-04-07 02:41:51 +00:00
e165d97819
replace "CryptoBox" with "CryptoNAS" in template files
2008-04-07 02:20:29 +00:00
b9a89f4480
* removed bashisms
2008-04-06 16:08:34 +00:00
86a42c6857
* actual languages from translation server
...
* s/box/nas/
2008-04-06 16:05:07 +00:00
4c9b4e5a5b
init of a filesystem checker plugin - not finished, yet
2008-04-06 14:56:56 +00:00
b0d2a2deae
fix call of test function
2008-02-18 19:28:19 +00:00
35bed3b4e6
* fixed network unittests
...
* disabled unfinished blockdevice test
2008-02-18 11:01:44 +00:00
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
42a5e1bcc6
* unittests are using /dev/ubd* in uml
2008-02-17 18:10:36 +00:00