Commit graph

1945 commits

Author SHA1 Message Date
Stephan Gabler
366c6ca248 fix date parsing when text body contains colon.
The problem was appeared when no date was specified and the text body contained a colon. All the text before the colon was discarded and lost.

This commit changes the code to first extract the first line as a title and then only look whether this title contains a valid date.
2012-05-22 09:02:17 +02:00
Manuel Ebert
94f0a9b7ab License, readme and changelog renamed 2012-05-21 12:25:54 +02:00
Manuel Ebert
dd66314b3d License, readme and changelog renamed 2012-05-21 12:25:02 +02:00
Manuel Ebert
041549a5fe Makes pycrypto optional, closes #23 2012-05-21 12:20:24 +02:00
Manuel Ebert
132b08ccc7 Makes encryption optional. 2012-05-21 12:14:36 +02:00
Manuel Ebert
67e958f4b6 Adds version string and more 2012-05-21 11:50:49 +02:00
Manuel Ebert
ed0be6772c Print-statement Python 3-compatible 2012-05-21 11:42:52 +02:00
Manuel Ebert
e1e652b2d4 Decrypt and Encrypt into new files, closes #23 2012-05-21 11:41:28 +02:00
Manuel Ebert
f02f6d0033 Version bump to 0.2.4 2012-05-21 11:25:28 +02:00
Manuel Ebert
ba58d73ff0 Uses \n instead of os.linesep (http://stackoverflow.com/questions/454725/python-get-proper-line-ending), closes #27 #26 2012-05-21 11:21:42 +02:00
Manuel Ebert
6bf5c6e935 Merge pull request #26 from dedan/fix_parsing
Fix parsing of newlines, closes #15
2012-05-15 02:58:03 -07:00
Stephan Gabler
f09fdd0e22 don't ignore the blank lines #15 2012-05-14 21:57:58 +02:00
Stephan Gabler
b877822883 simplify date parsing
and remove some whitespace
2012-05-14 21:44:30 +02:00
Manuel Ebert
8404dcc928 Updated .gitignore 2012-05-10 14:26:43 +02:00
Manuel Ebert
9057656365 Formatted tag count line 2012-05-10 11:27:02 +02:00
Manuel Ebert
8daa1ef427 Commented on a nested list comprehension, following 244ae416 2012-05-09 21:49:55 +03:00
Manuel Ebert
244ae416bb Modernised tag count syntax, Python 3 idioms galore! 2012-05-08 13:04:35 +02:00
Manuel Ebert
48575d1dac Bump to 2.3 2012-05-04 16:39:19 +02:00
Manuel Ebert
62d4b10cc4 Added readme on -short option 2012-05-03 14:27:24 +03:00
Manuel Ebert
cb74fdbdfe Update CHANGELOG.md 2012-05-03 14:26:04 +03:00
Manuel Ebert
850de07638 Merge pull request #24 from dedan/short_option
add short option like discussed in #20, closes #20
2012-05-03 04:24:16 -07:00
Stephan Gabler
e2fc36029d add short option like discussed in #20
a -short option, which only outputs the titles of the entries, not the entire entries. So jrnl @maebert will display the full entries, but jrnl -short @maebert will output all lines containing the tag. jrnl -short without a search tag will display all titles
2012-05-03 11:42:24 +02:00
Manuel Ebert
a220bca273 Merge pull request #20 from dedan/tag_search
highlight only the tags someone searched for in the tag search #16
2012-05-03 02:30:51 -07:00
Stephan Gabler
db3270e1a0 highlight only the tags someone searched for in the tag search #16 2012-04-26 17:29:53 +02:00
Manuel Ebert
1294f5f7a5 Update CHANGELOG.md 2012-04-26 14:55:51 +03:00
Manuel Ebert
5bf306ee1f Merge pull request #19 from dedan/fix_editor_not_saved
don't crash if editor file was not saved (treat it as read mode) close #12
2012-04-26 04:52:16 -07:00
Manuel Ebert
29728aa3d5 Merge pull request #17 from dedan/fix_highlighting
automatically add 'highlight' to config after upgrade from earlier versiion
2012-04-26 04:51:10 -07:00
Stephan Gabler
2b06abea08 don't crash if editor file was not saved (treat it as read mode) close #12 2012-04-26 10:03:04 +02:00
Stephan Gabler
e8435a0445 make update of new settings a bit more general and remove some whitespace
* config.update(default_config) does not work, would overwrite all values
2012-04-26 09:43:09 +02:00
Stephan Gabler
530514c7ac automatically add 'highlight' to config after upgrade from earlier version #16 2012-04-24 22:05:33 +02:00
Manuel Ebert
526ee009e8 Adds support for tag highlighting as proposed by #16 2012-04-24 18:44:57 +02:00
Manuel Ebert
eab92dbb23 Adds tag search, closes #16 2012-04-24 12:05:17 +02:00
Manuel Ebert
4a52da5469 Version bump to 0.2.2 2012-04-17 22:01:09 +02:00
Manuel Ebert
90a5acbd46 Version bump to 0.2.2 2012-04-17 21:58:34 +02:00
Manuel Ebert
87d4858abd Notes on --encrypt and --decrypt 2012-04-17 21:54:08 +02:00
Stephan Gabler
9a2ea77086 add markdown support #8 2012-04-17 21:51:33 +02:00
Stephan Gabler
a8a7fb2944 add markdown support to the readme, close #8 2012-04-17 21:46:18 +02:00
Stephan Gabler
334dc93c76 remove unused import 2012-04-17 21:45:23 +02:00
Manuel Ebert
4c7ea456cb Adds encryption and decryption of existing journals, closes #6 2012-04-17 21:34:01 +02:00
Manuel Ebert
c7f7e2f287 removes unnessecary print command 2012-04-17 12:52:21 +02:00
Manuel Ebert
26be90544e Remove hashlib dependency (it's a stdlib package) 2012-04-17 12:50:11 +02:00
Manuel Ebert
2bae454727 Tags are case-insensitive now 2012-04-17 12:37:34 +02:00
Manuel Ebert
b0a017dec4 Fixes setup.py 2012-04-17 11:17:48 +02:00
Manuel Ebert
b286bf9af7 Details on AES encryption 2012-04-17 00:06:04 +02:00
Manuel Ebert
2ebf976653 Fixes a mistake in the advanced cryptography explanation. 2012-04-16 23:31:40 +03:00
Manuel Ebert
8dd2e5e222 Bump to 0.2 2012-04-16 22:29:01 +02:00
Manuel Ebert
0227e13e87 Version bump to 0.2.0 2012-04-16 21:43:05 +02:00
Manuel Ebert
5e41861d61 Documentation on new encryption 2012-04-16 21:42:39 +02:00
Manuel Ebert
f7ebe41fd4 _block_tail is deprecated and removed 2012-04-16 21:40:59 +02:00
Manuel Ebert
7bec54f2b0 Don't try to decrypt empty strings 2012-04-16 21:36:43 +02:00