Stephan Gabler
7c3a6d0222
don't ignore the blank lines #15
2012-05-14 21:57:58 +02:00
Stephan Gabler
448f56473d
simplify date parsing
...
and remove some whitespace
2012-05-14 21:44:30 +02:00
Manuel Ebert
e4eef0fa81
Formatted tag count line
2012-05-10 11:27:02 +02:00
Manuel Ebert
e238d88225
Commented on a nested list comprehension, following f96d73d2
2012-05-09 21:49:55 +03:00
Manuel Ebert
f96d73d2e1
Modernised tag count syntax, Python 3 idioms galore!
2012-05-08 13:04:35 +02:00
Stephan Gabler
d5b931c4a1
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
a79f094fd8
highlight only the tags someone searched for in the tag search #16
2012-04-26 17:29:53 +02:00
Manuel Ebert
5a096ccd54
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
0a56658c43
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
3ca6ef89f4
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
6a23b54c36
automatically add 'highlight' to config after upgrade from earlier version #16
2012-04-24 22:05:33 +02:00
Manuel Ebert
f2e207de85
Adds support for tag highlighting as proposed by #16
2012-04-24 18:44:57 +02:00
Manuel Ebert
ae57eb9d77
Adds tag search, closes #16
2012-04-24 12:05:17 +02:00
Stephan Gabler
7009a88316
add markdown support #8
2012-04-17 21:51:33 +02:00
Stephan Gabler
5ddbfed35a
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
Manuel Ebert
48b05f9f02
Docstring for Journal.sort
2012-04-05 12:05:50 +02:00
Manuel Ebert
fe51f33981
Fixed indentation in composing part of __main__
2012-04-05 12:05:15 +02:00
Manuel Ebert
b2924168a9
Refractored into a Journal and Entry class, cleaned up, documented.
2012-04-04 19:00:17 +02:00
Manuel Ebert
5a205bbbc3
Renamed file
2012-04-04 17:11:35 +02:00