Skip to content
Snippets Groups Projects
  1. Aug 29, 2017
  2. Aug 28, 2017
    • drebs's avatar
      use function to get wordlists path · 07e497e5
      drebs authored
      The path to wordlist files is hardcoded in the generated sphinx
      documentation and because it may differ depending on how the package is
      installed this creates different problems:
      
        - the path hardcoded in the online api documentation may differ from
          the one in each installation, leading to incorrect information
          provided to the user of the api.
      
        - packaging diceware documentation to specific operating systems may
          generate unreproducible packages.
      
      This commit replaces the variable WORDLISTS_DIR by a function called
      get_wordlists_dir() that delays the construction of the path instead of
      doing it during module loading.
      07e497e5
  3. Aug 27, 2017
  4. Aug 26, 2017
  5. Aug 25, 2017
  6. Aug 24, 2017
  7. Aug 09, 2017
    • ulif's avatar
      Fix copyright mention. · a1dcc57d
      ulif authored
      In fact Arnold G. Reinhold copyrighted each of the pages of the
      `diceware.com` website. The idea as such was not copyrighted (and might
      be uncopyrightable).
      
      Mr. Reinhold, however, still owns a "diceware" trademark.
      a1dcc57d
  8. Aug 08, 2017
  9. Aug 07, 2017
  10. Aug 06, 2017
  11. Aug 05, 2017
    • ulif's avatar
      Add man page tempalte. · d447ad8f
      ulif authored
      We should be able to generate a more accurate man page for `diceware`.
      with `docutils` and `rst2man` we can create a nice looking man page with
      proper styles set.
      
      Yet, we onlyy provide first parts of the man page template.
      d447ad8f
  12. Jul 26, 2017
    • ulif's avatar
      Fix ReST markup. · 1a3aec6f
      ulif authored
      Make Sphinx stop complaining and fix indents.
      1a3aec6f
  13. Jul 17, 2017
  14. Jun 07, 2017
  15. Jun 06, 2017
  16. Jun 05, 2017
  17. Jun 04, 2017
  18. Jun 03, 2017
    • ulif's avatar
      Fix more tests. · e2f98db9
      ulif authored
      e2f98db9
    • ulif's avatar
      Fix test. · a5e8dc6b
      ulif authored
      We will not accept filedescriptors as `WordList` arguments anymore.
      a5e8dc6b
    • ulif's avatar
      Fix test. · effcbbd2
      ulif authored
      We will not accept filedescriptors as `WordList` arguments anymore.
      effcbbd2
  19. Jun 02, 2017
  20. May 31, 2017
    • ulif's avatar
      Remove obsolete test. · 59283682
      ulif authored
      We do not need to test `infile` as file descrtiptor, as we expect paths
      (strings) from now on.
      59283682
    • ulif's avatar
      Fix wordlist test. · d2ca804a
      ulif authored
      Do expect file paths instead of already opened filedescriptors.
      d2ca804a
    • ulif's avatar
      Make `infile` arg a string. · ad5c04f2
      ulif authored
      The `argparse.FileType` type is considered bad style. Cf.
      http://bugs.python.org/issue13824. With this FileType we cannot tell
      when to close a file after reading (which should be done for most
      regular wordlists) or not (in case of input from stdin).
      ad5c04f2
  21. May 29, 2017
Loading