Commit graph

398 commits

Author SHA1 Message Date
Manuel Ebert
51a6ac2d51 Upgrade scaffolding 2014-09-12 14:28:03 -07:00
Manuel Ebert
4563651b71 Deprecate config.password 2014-09-12 14:28:03 -07:00
Matthias Vogelgesang
ae47c5bb80 Fix failing behave tests 2014-09-12 14:27:34 -07:00
Matthias Vogelgesang
61739dd3b0 Remove circular dependency 2014-09-12 14:26:23 -07:00
Matthias Vogelgesang
5fd53241ab Move and remove imports in utils 2014-09-12 14:26:22 -07:00
Matthias Vogelgesang
9d589f3e64 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
beeda149d4 fix call to entry_to_md() 2014-09-12 14:22:45 -07:00
Manuel Ebert
abeaa28d13 Fix config writing for python 3 2014-09-12 14:22:45 -07:00
Manuel Ebert
63ad45db75 YAML configs
See #184, #230, #197
2014-09-12 14:22:30 -07:00
Manuel Ebert
bf1048729c Cleans up entry 2014-09-12 14:22:15 -07:00
Manuel Ebert
191ccb8217 Fixes unicode errors in XML export 2014-09-12 14:21:48 -07:00
Manuel Ebert
da0e74ff5f Better unicode mock support 2014-09-12 14:21:48 -07:00
B Krishna Chaitanya
6e6462de0c Export to xml 2014-09-12 14:21:48 -07:00
Matthias Vogelgesang
afae3d16a7 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
fca3d131bd Require config arguments 2014-09-12 14:18:52 -07:00
Manuel Ebert
fc1935d64e Version bump 2014-09-02 13:27:16 -07:00
Manuel Ebert
6d12ccc579 Multi-Word tags for DayOne Journals
Closes #274
2014-09-02 13:27:11 -07:00
Manuel Ebert
4301927b72 Use unicode literals
Fixes #273
2014-09-02 13:26:50 -07:00
Kurt Neufeld
2f1894c765 using a common tag regex for searching and highlighting 2014-08-30 10:02:59 -06:00
Manuel Ebert
5bfb82cf90 Version bump 2014-08-12 10:11:18 +02:00
Manuel Ebert
2e75713a91 Sort journal entries after editing
Fixes #269
2014-08-12 10:10:15 +02:00
Manuel Ebert
2024e956bd Version bump 2014-08-07 13:26:10 +02:00
Manuel Ebert
db3de3d1cc Tags at the beginning of lines 2014-08-07 13:25:50 +02:00
Manuel Ebert
6dafc3d939 Manifest update 2014-07-27 12:43:26 +09:00
Matt Hoffman
d5142a0a0a There should be a whitespace character in front of a tag. Fixes issue #237. 2014-07-22 22:14:26 -04:00
Manuel Ebert
28dcb3ab90 Version bump 2014-07-21 17:33:44 +09:00
Manuel Ebert
4dbdc7032d Don't correct future timestamps if year is present in input 2014-07-21 17:33:30 +09:00
Manuel Ebert
316374922b Fix bug when omitting day in parsing 2014-07-21 14:22:07 +09:00
Manuel Ebert
7f7f00e91b Version bump 2014-07-21 13:30:39 +09:00
Manuel Ebert
6a16edb67b Introduces -on option
Fixes #246
2014-07-21 13:30:25 +09:00
Manuel Ebert
6f1dd6077e Improves dateutil parsing
Closes #133
Fixes #183, #185, #228
2014-07-21 13:30:10 +09:00
Manuel Ebert
8ee51a6db0 Version bump to 1.8.7 2014-07-03 09:13:07 +02:00
Ryan Plyler
1c5ff1d5b8 '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
d8e0bab3ab Version bump 2014-07-02 15:36:04 +02:00
Manuel Ebert
e20ae39bf3 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
add0aea46d Unescaped -, + and * in regex 2014-06-30 14:38:00 +05:30
Manuel Ebert
be1a90db3d Version bump & new recipes 2014-06-30 10:26:54 +02:00
Jacobo de Vera
18994f1aa1 Include the year in exported file name 2014-06-30 07:01:33 +02:00
Manuel Ebert
fadbdc27b9 Restrict --export argument
Fixes #187
2014-06-28 17:55:10 +02:00
B Krishna Chaitanya
ef0e192d79 Include [-+/*#] in tag characters 2014-06-27 21:12:42 +05:30
Jonathon Scanes
065f98dda8 Printed message aborted on ctrl+c. 2014-06-27 14:01:16 +02:00
Jonathon Scanes
b0fe7cd330 Prevent printing stack trace in compose mode on ctrl+c. 2014-06-27 14:00:20 +02:00
B Krishna Chaitanya
af222fd526 Changed regex to accept symbols 2014-06-27 11:58:59 +05:30
Manuel Ebert
fa886151f6 Version bump 2014-06-26 15:30:39 +02:00
Manuel Ebert
0a59dc198d Merge pull request #204 from chrissexton/parallel_edits
Allow parallel edits
2014-06-26 15:19:38 +02:00
Manuel Ebert
cb1561481b Fixes error when exporting txt files
Fixes #202
2014-06-26 15:03:27 +02:00
Manuel Ebert
d8ccb928e0 Allow 'text' and 'markdown' aliases in export to dir
Fixes #201
2014-06-26 15:00:38 +02:00
Chris Sexton
7d782261e0 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
65e45701d9 Add export options to help message 2014-06-25 10:24:39 +01:00
Matthias Vogelgesang
4f73660231 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