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
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
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
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
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
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
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
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
Stephan Gabler
9a2ea77086
add markdown support #8
2012-04-17 21:51:33 +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
2bae454727
Tags are case-insensitive now
2012-04-17 12:37:34 +02:00
Manuel Ebert
8dd2e5e222
Bump to 0.2
2012-04-16 22:29:01 +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
Manuel Ebert
d19d858dba
Queries the password three times before exiting
2012-04-16 21:31:43 +02:00
Manuel Ebert
88112512ab
Encryption using CBC and random IVs
2012-04-16 21:24:55 +02:00
Manuel Ebert
608809b61c
Journal uses self.config everywhere
2012-04-16 17:16:38 +02:00
Manuel Ebert
670247714f
JSON fallback if simplejson is not available
2012-04-16 17:05:30 +02:00
Manuel Ebert
3b12794b17
Print to 3.0 syntax
2012-04-16 13:42:01 +02:00
Manuel Ebert
66f8ba28a9
Simplejson instead of json
2012-04-16 13:41:17 +02:00
Stephan Gabler
651f9e5213
Asks for password at creation of .jrnl_config
2012-04-13 20:58:22 +02:00
Stephan Gabler
196531aafc
Checks if password is wrong
2012-04-13 20:38:36 +02:00
Stephan Gabler
acb7fa2ed4
saving forces blanks to be appended
2012-04-13 20:36:02 +02:00
Stephan Gabler
9c18fdc9b4
Encryption / decryption
2012-04-13 20:20:15 +02:00
Stephan Gabler
c6b86991c4
Buffer journal file into string before reading or writing
2012-04-13 20:04:10 +02:00
Stephan Gabler
1569f9c59c
create config file and ask for journal file name
...
with autocomplete !!!
2012-04-13 19:28:11 +02:00
Stephan Gabler
04cc68a29a
External editor can be used for composing by specifying the editor config option
2012-04-13 18:37:28 +02:00
Manuel Ebert
81f5cf0d50
Changed description of test arg
2012-04-05 13:36:16 +02:00
Manuel Ebert
93a766c418
Uppercase metavats for DATE
2012-04-05 13:35:16 +02:00
Manuel Ebert
6ed607acc5
Fixed bug where empty journal file results in None being added to Journal.entries
2012-04-05 13:31:46 +02:00
Manuel Ebert
52ea01a039
Custom options for Journal class to overwrite config
2012-04-05 13:30:58 +02:00
Manuel Ebert
2968bc5157
Added JSON export
2012-04-05 13:09:29 +02:00
Manuel Ebert
e8b2bf25a5
Support for -and for strict search
2012-04-05 12:33:31 +02:00
Manuel Ebert
c6f324e5d4
adds filtering by date with -from and -to
2012-04-05 12:19:07 +02:00
Manuel Ebert
e2559ecf93
One empty line moved from Entry.__str__ to Journal.write
2012-04-05 12:14:52 +02:00
Manuel Ebert
beaebbb562
Fixed skip composing on empty input
2012-04-05 12:12:58 +02:00
Manuel Ebert
a8dc91ce1c
Reading mode if no text supplied and Raw_input gets skipped
2012-04-05 12:10:09 +02:00
Manuel Ebert
1ba3b3e58c
Fixed writing to file (entry must be converted to str first)
2012-04-05 12:08:12 +02:00