Commit graph

363 commits

Author SHA1 Message Date
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
Patrice Peterson
6f5b3f52f3 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
eda50c144b Mark jrnl as 3.4 compatible 2014-05-22 14:18:15 -07:00
Manuel Ebert
2948f6dc69 Catch proper exceptions in python3.4 2014-05-22 13:24:19 -07:00
Manuel Ebert
e592e81f6f Split DayOne into separate file 2014-05-22 12:17:54 -07:00
Manuel Ebert
78eda12287 Official support for python 3.4 2014-05-22 11:56:28 -07:00
Manuel Ebert
05febbf9f6 Changelog & version bump to 1.7.22 2014-05-19 14:43:56 -07:00
Manuel Ebert
7c72a98c00 Export to files using UTF-8
Fixes #162
2014-05-19 14:43:38 -07:00
Craig Moyer
acc1b77d1c Re-fix Issue #56 by changing Regex to discriminate between title and entry.
Added BDD tests to cover this feature.
2014-04-24 21:34:30 -04:00
Manuel Ebert
32f1d35c93 byte2int for PY3 2014-04-16 17:14:57 -04:00
Manuel Ebert
8b7a37a196 Version bump & docs 2014-04-16 17:03:29 -04:00
Manuel Ebert
d38937e672 Use PKCS#7 for encryption
Closes #156
2014-04-16 17:03:24 -04:00
Manuel Ebert
7dfe379982 Ignore unreadably DayOne entries 2014-04-16 14:34:39 -04:00
Manuel Ebert
e887d61699 version bump 2014-04-16 14:28:21 -04:00
Manuel Ebert
414acf2ae6 Assumes no DST in case of ambiguous dates
Fixes #153
2014-04-16 14:25:56 -04:00
Manuel Ebert
6da4e44e39 Warns if using --edit without editor
Closes #151
2014-04-16 13:14:16 -04:00
Manuel Ebert
f9b3e8ef1c Version bump 2014-04-10 15:58:06 -04:00
Manuel Ebert
02a2ecbf97 Create path to journal during installation
Fixes #152
2014-04-10 15:57:24 -04:00
Manuel Ebert
e649711ca4 Small update to parsing regex 2014-04-01 20:14:49 -07:00
Manuel Ebert
6a5a98919e Fixes writing new lines between entries 2014-03-31 12:37:37 -07:00
Manuel Ebert
36ce1fe3a8 Don't decode unicode 2014-03-28 14:40:58 -07:00
Manuel Ebert
14d249c3c9 Even more unicode fixes 2014-03-28 13:43:58 -07:00
Manuel Ebert
3ff1e43e03 More unicode fixes for #119 2014-03-27 16:12:03 -07:00
Manuel Ebert
b9cb740f69 Changelog & version bump 2014-03-24 10:48:57 -07:00
Manuel Ebert
7ab969dcfb Fixes white spaces at the beginning of lines, fixes #134 2014-03-24 10:48:51 -07:00
Manuel Ebert
6783df07d3 Changelog & version bump 2014-03-24 08:46:20 -07:00
Manuel Ebert
879e1adec7 Small fix for unicode in DayOne, fixes #119 2014-03-24 08:45:48 -07:00
Manuel Ebert
e15edf9192 Version bump 2014-03-19 15:21:52 -07:00
Manuel Ebert
c89247ef94 Adds the tag symbol to day one entries on load 2014-03-19 14:44:47 -07:00
Josh Tan
bb3778a099 Simplified syntax for joining journal names with new lines. 2014-02-23 22:46:28 -06:00
Josh Tan
3450967eb3 Added ability to list accessible journals.
Previously, if a user forgot the exact name of a journal, they could check the configuration file to retrieve this information. This patch adds support for performing this task using the jrnl interface.

The newly added '-ls' option retrieves the available journals from the jrnl configuration files and displays each journal name on a separate line.

This patch also updates the jrnl help display and the usage documentation to reflect these changes.
2014-02-23 22:21:54 -06:00
William Minchin
545d2c296a Fix linewrap
If a line was exactly the length of `linewrap`, the extra space was
causing the next line to be blank. But if the line is empty, we need the
space to maintain the `| ` sidebar.
2014-02-07 08:24:30 -07:00
William Minchin
8c461c7f9c Don't replace all double spaces
want to maintain the ability to format with the use of just text.
2014-02-07 08:21:28 -07:00
Manuel Ebert
04aed1001f Changelog and docs 2014-02-05 10:19:01 -08:00
Manuel Ebert
ff3c2ecdc3 Allows -3 as a shortcut for -n 3 2014-02-05 10:16:40 -08:00
William Minchin
623fc076ad Convert from local util.get_local_timezone() to tzlocal.get_localzone()
one side effect is that a `pytz` object is returned rather than a
string, and so conversion to a string must be done explicitly at run
time where needed.
2014-01-29 09:57:15 -07:00