Commit Graph

1169 Commits

Author SHA1 Message Date
boyska
fddddf9c6b FIX stupid things (test code removed) 2012-01-29 15:54:48 +01:00
boyska
ffbd019c4b QT packaging: seems to do the basic work 2012-01-29 15:54:47 +01:00
boyska
b6105ca5b6 QT: change dir layout, packaging begins 2012-01-29 15:54:47 +01:00
boyska
6aade0ffc8 GUI/PY: change dir layout; setup.py for tomblib
Now pytomb/ contains the python library, which will be available as tomblib
qt/ contains only the qt gui
They all are directly under src/
Also, tomblib has a setup.py to install/package/develop
2012-01-29 15:54:47 +01:00
boyska
13b66a40da Disable option to open the tomb; it's not ready yet 2012-01-29 15:54:47 +01:00
boyska
ab706fc639 Move parsing code from gui/qt to tomblib.parser 2012-01-29 15:54:47 +01:00
boyska
d2120486ca GUI/LIB: support for swap, check at beginning 2012-01-29 15:54:47 +01:00
boyska
1f290078bd Add subcommand 'check' and support in tomblib 2012-01-29 15:54:46 +01:00
boyska
2f4cf42e74 TOMBLIB: Support for --no-color, --ignore-swap 2012-01-29 15:54:46 +01:00
BoySka
bbe25d0f85 GUI: progressbar monitor tomb output
Warning: sudo behave strangely when watching both stdout and stderr
It seems to be solved watching only stderr, which is where 99% of tomb
output goes, but this is quite an hack
2012-01-29 15:54:46 +01:00
BoySka
51b5394bbc GUI handles errors;progresschecked by isComplete 2012-01-29 15:54:46 +01:00
BoySka
c6784c6b64 Tomb in a thread: gui don't freeze anymore 2012-01-29 15:54:46 +01:00
BoySka
559c1d8710 Options other than 'near to tomb' are clearly unsupported 2012-01-29 15:54:46 +01:00
BoySka
4f1bb64010 Working draft (works bad)
Password input is removed: not secure, tomb provides pinentry
key location option is actually ignored. USB support is yet to come
2012-01-29 15:54:45 +01:00
BoySka
2a962d788d Starting to write libtomb 2012-01-29 15:54:45 +01:00
BoySka
afd399efe2 Code reorganization, tomblocation required field 2012-01-29 15:54:45 +01:00
BoySka
92e776c6d6 First draft for a gui 2012-01-29 15:54:45 +01:00
boyska
5ccd6cf96c vim/emacs modeline: help keeping code tidy;see #25 2012-01-20 02:14:39 +01:00
boyska
2065090b84 Cleaning: remove CMD{,2,3} (see #25)
they were deprecated. If you really need, use $PARAM array instead.
But you probably DON'T need to; it's better to make your function directly
accept parameters (btw, mandatory options should probably be parameters, too)
2012-01-20 01:47:07 +01:00
boyska
6f0bc82e07 fix #79: tomb open in debug mode (_msg to stderr) 2012-01-18 00:56:43 +01:00
boyska
40af028d8f Removed QUIET and DEBUG globals
Addressed removal of $CMD2 and $CMD3, too. They were deprecated
since a long time. You should use $PARAM[1], $PARAM[2],... instead
2012-01-18 00:29:45 +01:00
Jaromil
e19c837598 new pic: Day of the Dead
artwork by Cyril (CC SA 2.0)

to be used when we need
2012-01-17 19:13:19 +01:00
Jaromil
be0c9ce718 undertaker cleanups
merging boyska's branch to current master
changes some previous names of options:
--path --batch --poll

work in progress, refers to issues: #71 #70 #69 #58 #42 #27 #5
2012-01-17 19:08:09 +01:00
boyska
c3006f5037 add near:///path/to/grave.tomb
which just rewrites to /path/to/grave.tomb.key
Stupid, but nice to have. Also, could be good if changing the way
we create the key (a move from gpg to pbkdf2 is planned)
2012-01-17 18:48:30 +01:00
boyska
e0db6318fe Undertaker: add udisks:/// 2012-01-17 18:48:30 +01:00
boyska
55a14a95d6 Undertaker: add mounted:///, key_found, fixes
refs #71
2012-01-17 18:48:30 +01:00
boyska
b3ff77c4bd Undertaker calls undertaker-$scheme #69 2012-01-17 18:47:22 +01:00
boyska
97cd969c7b Progress implemented; used in undertaker --poll 2012-01-17 18:47:22 +01:00
boyska
b68d28c13b --machine-parseable added 2012-01-17 18:45:39 +01:00
boyska
a66f9ee269 Undertaker:add --poll, file:/// See #70 2012-01-17 18:40:39 +01:00
Jaromil
29f250d8f2 fix: on -k - , wipe temp file 2012-01-17 18:39:18 +01:00
Jaromil
f7c1c05ad4 Removed old-style globals as suggested in #78 2012-01-17 17:47:42 +01:00
boyska
b07c8ae67c FIX --no-color works again (see #78 )
now _msg complies with zsh way of doing colors
2012-01-17 17:46:07 +01:00
Jaromil
1af4c42749 messaging and debugging enhancements
Now checks for GnuPG and lists available ciphers

Some more information about the tomb opened is retrieved via cryptsetup
Also some duplicate strings were eliminated and year notices were updated
2012-01-17 17:28:40 +01:00
Jaromil
35e1afdceb Merge branch 'fix_debug' 2012-01-17 15:18:27 +01:00
boyska
40ca8b0ee6 FIX: -D and -q work again (see #78 ) 2012-01-17 15:18:06 +01:00
Jaromil
0d2038836a using short form for force option: -f
documentation updated accordingly
2012-01-17 15:17:12 +01:00
Jaromil
f645bc59e1 documentation for the new resize command
along with some small fixes
2012-01-17 15:00:01 +01:00
Anathema
c72acdeaa9 Tomb resize
The new 'resize' command lets a user increase the size of the tomb

The operation is quite lengthy as it requires the creation of a new
tomb file and then copying all contents from the old tomb to the new.
2012-01-17 14:47:22 +01:00
Jaromil
58decda7fe fixes to check_swap and new --force flag
Tenamed --ignore-swap flag to --force which is more generic and used
also by other commands. There are also some minor fixes to CMD
parsing. All changes are documented in manual and help.
2012-01-17 14:46:57 +01:00
Hellekin O. Wolf
28d81f1004 Merge pull request #73 from hellekin/cleanup-square
Merge cleanup refactoring
2011-12-01 13:52:47 -08:00
hellekin
9e32766e07 tomb-open is relative to tomb 2011-12-01 21:43:20 +01:00
hellekin
105a0e14c1 Update undertaker to the new _msg 2011-12-01 21:39:10 +01:00
hellekin
d0e44bb264 Enforce safe SHM and no, or only encrypted swap 2011-12-01 20:41:04 +01:00
hellekin
7aff877fda Shorten check_bin
Squashed commit of the following:

commit 7c393ed0a0c8412203a6ee0ee5455f3008381da4
Author: hellekin <hellekin@cepheide.org>
Date:   Thu Dec 1 20:25:53 2011 +0100

    use string tokenizer for mkfs too

commit f37de5beae6b92af2834cd56b5109076693d3145
Author: hellekin <hellekin@cepheide.org>
Date:   Thu Dec 1 20:20:08 2011 +0100

    use string tokenizer for wipe, not array

commit fa035bfab1d7d1682d4edf2f6430f7da4483a3f3
Author: hellekin <hellekin@cepheide.org>
Date:   Thu Dec 1 20:18:46 2011 +0100

    Shorten check_bin
2011-12-01 20:27:05 +01:00
hellekin
10ea863c0a Refactor messages 2011-12-01 20:04:56 +01:00
hellekin
27c1ca2490 Fix PATH for cryptsetup when user does not have /sbin in it. 2011-12-01 18:54:08 +01:00
hellekin
0de65418da Cosmetic code cleanup: no functionality change.
This adds emacs folding-mode support to make it easier to find your way in the code.
In Emacs, try: M-x folding-mode, then: C-c @ C-q somewhere in the source.
2011-12-01 18:53:12 +01:00
hellekin
dd3d5e6083 Overwrite icon on successive make install 2011-12-01 18:51:33 +01:00
hellekin
e482f753da Rewrite slam_tomb() to use fuser 2011-12-01 18:50:07 +01:00