- Apr 24, 2017
- Mar 04, 2017
-
-
ulif authored
When using `realdice` randomness source and picking values out of short sequences (sequences shorter than the number of dice sides), we might require additional dice throws (if a value rolled is not in range of sequence length). We now print a hint when this happens.
-
- Mar 03, 2017
- Feb 27, 2017
- Feb 18, 2017
-
- Jan 06, 2017
-
-
ulif authored
-
- Dec 17, 2016
-
-
Jay Mao authored
RealDiceRandomSource and its tests updated to expect argparse.Namespace objects instead of dicts (fix for using the 'realdice' randomness source)
-
- Aug 03, 2016
-
-
ulif authored
Make the tests succeed. In wordlists we now also accept '1-2-3-4 someterm' for numbered entries. We still support '1234 somterm'.
-
- Aug 02, 2016
-
-
ulif authored
The Electronic Frontier Foundation published own wordlists, which were, as it looks, carefully assembled. See https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases for details. We ship now with the long list.
-
- Jun 08, 2016
-
-
ulif authored
-
- May 18, 2016
-
-
ulif authored
As we can only increase verbosity with commandline flags, we should set the least verbose log level by default.
-
- May 17, 2016
- May 12, 2016
-
-
ulif authored
-
ulif authored
-
ulif authored
While it is nice to have a working plugin example, it looks also a bit overcomplicated to me. It is better for contributors, if they can find things (like CLI argument parsing) in one (foreseeable) place and do not have for things scattered over the whole project. For plugin documentation we can use the sphinx docs. Or maybe provide a sample plugin in tests.
-
- May 11, 2016
-
-
ulif authored
This argument makes sense together with ``realdice`` randomsource and tells how many sides the dice we use have. Six by default.
-
ulif authored
The RealDiceRandomSource will support own commandline arguments. This is handled by an own classmethod called `update_argparser` that is called upon initialization of diceware.
-
ulif authored
-
ulif authored
-
ulif authored
If plugins want to work with their own commandline args, we allow this by calling their `update_argparser` methods. This has to be a classmethod, if it exists.
-
- May 09, 2016
-
-
ulif authored
In config files we normally lookup a ``[diceware]`` section. For plugins, however, it might be helpful to be able to parse also other sections. Together with the new `defaults_dict` argument they could implement their own set of options more easily.
-
ulif authored
We can now give a custom dict to use for defaults. This is the first step to make `get_config_dict()` usable also for plugins.
-
- May 08, 2016
- May 07, 2016
-
-
ulif authored
-
- May 05, 2016
-
-
dwcoder authored
This commit fixes #23 Add the `string.strip()` function to the `get_config_dict()`, to remove inverted commas around string values in the diceware.ini file. The strip removes both `"` and `'`. Add unit test to ensure the line: delimiter=" " in the diceware.ini file is being parsed correctly as a space.
-
- Apr 29, 2016
-
-
dwcoder authored
This commit fixes issue #21. Change all occurences of the option `capitalize` to `caps` in __init.py__. Make the same change in the test_diceware.py. Add a unit test that checks the output of main() after setting the `caps = off` in the .diceware.ini.
-
- Apr 28, 2016
-
-
ulif authored
-
- Apr 25, 2016
-
-
ulif authored
Add a common place where components can write messages to. Any userinterface can decide, what messages should be visible (depending on their severity).
-
- Apr 24, 2016