Matthias Vogelgesang
b77a579ab5
Use PyXDG to save config and journal in XDG dirs
...
This change also hides the CONFIG_PATH state information entirely within
the install module. Therefore, the cli module does not have to care about
checking existence of files and paths.
2014-09-12 14:20:05 -07:00
Matthias Vogelgesang
f5a44487c1
Require config arguments
2014-09-12 14:18:52 -07:00
Matthias Vogelgesang
562f700615
Try $VISUAL and $EDITOR for config['editor']
...
On UNIX derivates they expand to the default or preferred editor and avoid
unnecessary first time edits of the config file.
2014-06-24 22:52:04 +02:00
Patrice Peterson
3639e00183
Allow use of environment variables in config paths
...
This patch simply adds several calls to `os.expandvars` to functions
that parse paths in the config file.
2014-06-23 16:12:41 +02:00
Manuel Ebert
052f571e0b
Create path to journal during installation
...
Fixes #152
2014-04-10 15:57:24 -04:00
Manuel Ebert
ab9a3b5192
Cleaned up imports to work with Python2.6 and Python 3.3
2014-01-23 14:33:14 +01:00
Manuel Ebert
fcd8c4d214
Gets rid of colorama
2014-01-02 23:41:53 +01:00
William Minchin
b49e868f93
Set default linewrap to 79 globally
2013-11-27 12:52:56 -07:00
William Minchin
fd1fc05bd0
Windows: wraps lines at 79 chars by default
...
trying to wrap lines at 80 char in Windows' CMD results in blank lines
following lines that are exactly 80 char long
2013-11-27 10:25:17 -07:00
Manuel Ebert
37fad66942
ixed a bug that caused creating encrypted journals to fail
2013-11-20 16:55:41 -08:00
Manuel Ebert
7e3faeef45
Disambiguates jrnl.update_config and install.update_config
2013-10-17 16:00:27 -07:00
Manuel Ebert
be2c511ea4
Saves password to keyring
...
Closes #96 and deprecates password field in config
2013-10-17 14:55:59 -07:00
Aniket Pant
bce370174b
Update installation after removal of default folder config
...
Signed-off-by: Aniket Pant <me@aniketpant.com>
2013-06-26 13:09:22 +05:30
Aniket Pant
a959ed49fd
Add default export folder config
...
Signed-off-by: Aniket Pant <me@aniketpant.com>
2013-06-21 19:20:57 +05:30
Manuel Ebert
9f33c9c9c4
Fixes for Python 3 Support
2013-04-19 15:19:21 +02:00
Manuel Ebert
8200ebb6fe
Python 3 compatibility
2013-04-19 14:46:05 +02:00
Manuel Ebert
41706c3cb5
Fixes install routine
2013-04-17 12:02:26 +02:00
Manuel Ebert
fe521147c0
Uses colorama instead of clint
2013-04-17 10:19:02 +02:00
Manuel Ebert
cb6ee5889e
Better support for individual configs
2012-07-23 13:09:45 +02:00
Manuel Ebert
c1bfd8b451
Refactored install.py
2012-07-23 13:09:45 +02:00
Manuel Ebert
9439c294da
Installation modifies journals.default, not journal
2012-06-11 16:08:38 +02:00
Manuel Ebert
482e579242
Adds support for multiple journals
2012-06-11 15:58:25 +02:00
Manuel Ebert
f7eee0fa76
Adds word wrap support.
2012-05-30 17:43:55 +02:00
Manuel Ebert
19ed9a6cf8
Experimental new directory structure
2012-05-24 13:23:46 +02:00