Matthias Vogelgesang
37d3f93b8a
Move and remove imports in utils
2014-09-12 14:26:22 -07:00
Matthias Vogelgesang
953c18dff2
Make Journal a general interface
...
This change moves the loading and saving mechanisms into its own
Plain- and EncryptedJournal subclasses for easier maintenance and lazy loading
of all the crypto modules.
2014-09-12 14:26:22 -07:00
yarko
4f05c2bc07
fix call to entry_to_md()
2014-09-12 14:22:45 -07:00
Manuel Ebert
37ebc473c8
Fix config writing for python 3
2014-09-12 14:22:45 -07:00
Manuel Ebert
9c16ad4577
YAML configs
...
See #184 , #230 , #197
2014-09-12 14:22:30 -07:00
Manuel Ebert
487c902d37
Cleans up entry
2014-09-12 14:22:15 -07:00
Manuel Ebert
99c2884343
Fixes unicode errors in XML export
2014-09-12 14:21:48 -07:00
Manuel Ebert
76710d06f7
Better unicode mock support
2014-09-12 14:21:48 -07:00
B Krishna Chaitanya
dbb3fe40df
Export to xml
2014-09-12 14:21:48 -07:00
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
Manuel Ebert
411b9eb844
Version bump
2014-09-02 13:27:16 -07:00
Manuel Ebert
391269335f
Multi-Word tags for DayOne Journals
...
Closes #274
2014-09-02 13:27:11 -07:00
Manuel Ebert
182e51b92d
Use unicode literals
...
Fixes #273
2014-09-02 13:26:50 -07:00
Kurt Neufeld
6d783a80ac
using a common tag regex for searching and highlighting
2014-08-30 10:02:59 -06:00
Manuel Ebert
a43ebd7b08
Version bump
2014-08-12 10:11:18 +02:00
Manuel Ebert
4390e1f10c
Sort journal entries after editing
...
Fixes #269
2014-08-12 10:10:15 +02:00
Manuel Ebert
b851941574
Version bump
2014-08-07 13:26:10 +02:00
Manuel Ebert
2780a0d9df
Tags at the beginning of lines
2014-08-07 13:25:50 +02:00
Manuel Ebert
bf49f31d22
Manifest update
2014-07-27 12:43:26 +09:00
Matt Hoffman
b8a3b6d9ad
There should be a whitespace character in front of a tag. Fixes issue #237 .
2014-07-22 22:14:26 -04:00
Manuel Ebert
8d1f5fe862
Version bump
2014-07-21 17:33:44 +09:00
Manuel Ebert
929896e53e
Don't correct future timestamps if year is present in input
2014-07-21 17:33:30 +09:00
Manuel Ebert
7f9cd675fe
Fix bug when omitting day in parsing
2014-07-21 14:22:07 +09:00
Manuel Ebert
22b5119cb0
Version bump
2014-07-21 13:30:39 +09:00
Manuel Ebert
2d46b0250b
Introduces -on
option
...
Fixes #246
2014-07-21 13:30:25 +09:00
Manuel Ebert
49f67df064
Improves dateutil parsing
...
Closes #133
Fixes #183 , #185 , #228
2014-07-21 13:30:10 +09:00
Manuel Ebert
fd529a485c
Version bump to 1.8.7
2014-07-03 09:13:07 +02:00
Ryan Plyler
85826ca77b
'jrnl -from' times now match greater/less than or equal to start and end times
2014-07-03 09:11:29 +02:00
Manuel Ebert
53e947ac18
Version bump
2014-07-02 15:36:04 +02:00
Manuel Ebert
919b9ae3e4
Merge pull request #217 from chaitan94/tag-regex
...
Changed Tag regex to accept special characters
2014-07-02 15:29:02 +02:00
B Krishna Chaitanya
a2be5d25fc
Unescaped -, + and * in regex
2014-06-30 14:38:00 +05:30
Manuel Ebert
3a65ce227d
Version bump & new recipes
2014-06-30 10:26:54 +02:00
Jacobo de Vera
b423bfc963
Include the year in exported file name
2014-06-30 07:01:33 +02:00
Manuel Ebert
3f5b5ff3c3
Restrict --export argument
...
Fixes #187
2014-06-28 17:55:10 +02:00
B Krishna Chaitanya
8b45458f90
Include [-+/*#] in tag characters
2014-06-27 21:12:42 +05:30
Jonathon Scanes
3f4b873ec9
Printed message aborted on ctrl+c.
2014-06-27 14:01:16 +02:00
Jonathon Scanes
948d031777
Prevent printing stack trace in compose mode on ctrl+c.
2014-06-27 14:00:20 +02:00
B Krishna Chaitanya
f9af744a29
Changed regex to accept symbols
2014-06-27 11:58:59 +05:30
Manuel Ebert
8eeba1481d
Version bump
2014-06-26 15:30:39 +02:00
Manuel Ebert
fe41e41a6f
Merge pull request #204 from chrissexton/parallel_edits
...
Allow parallel edits
2014-06-26 15:19:38 +02:00
Manuel Ebert
828ea4d427
Fixes error when exporting txt files
...
Fixes #202
2014-06-26 15:03:27 +02:00
Manuel Ebert
872cab6cb4
Allow 'text' and 'markdown' aliases in export to dir
...
Fixes #201
2014-06-26 15:00:38 +02:00
Chris Sexton
9276a92a0b
Allow parallel edits
...
* Wait to open the journal until after getting text
* Use mktemp so that editors like vim get separate files for editing
2014-06-26 08:29:42 -04:00
Phil Tysoe
9878b6e350
Add export options to help message
2014-06-25 10:24:39 +01: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
8a4401b670
Mark jrnl as 3.4 compatible
2014-05-22 14:18:15 -07:00
Manuel Ebert
7b2c47cbbe
Catch proper exceptions in python3.4
2014-05-22 13:24:19 -07:00
Manuel Ebert
db99510720
Split DayOne into separate file
2014-05-22 12:17:54 -07:00