Commit graph

351 commits

Author SHA1 Message Date
Manuel Ebert
9b0bee0637 Fixes readline support on windows
Closes #60
2013-04-17 10:50:03 +02:00
Manuel Ebert
36fe783e5e Merge pull request #61 from alapolloni/master
Update jrnl.py so that a trailing / for a DayOne journal config is seen as a DayOne journal.
2013-04-17 01:32:56 -07:00
Manuel Ebert
8ed2e36669 Fixes bug when showing tags when no tags are defined.
Closes #63
2013-04-17 10:27:17 +02:00
Manuel Ebert
b2a5b7b219 Automatic versioning 2013-04-17 10:19:38 +02:00
Manuel Ebert
fe521147c0 Uses colorama instead of clint 2013-04-17 10:19:02 +02:00
Alex Apolloni
38d2734c96 allow trailing \ for DayOne journals
https://github.com/maebert/jrnl#dayone-integration
sort of infers that it in the .jrnl_config it should end in a /

but prior to this, if there was a trailing / then jrnl thought it was
looking at a text type journal.
2013-04-15 14:05:04 +02:00
No GUI
080bfd513f Support a custom location for the config
Export $JRNL_CONFIG to override the location instead of using $HOME. Too many dotfiles are literring it, ya' know?

Linux desktop users, you might like if you follow the XDG standards:

    export JRNL_CONFIG=$XDG_CONFIG_HOME/jrnl/config
2013-04-14 13:19:03 -07:00
Craig Moyer
1fc6bc2dd7 Fix issue where embedded decimal in title causes title to get cut off. 2013-03-28 21:31:08 -04:00
Manuel Ebert
fe5f318c16 Merge pull request #51 from maebert/dayone
Dayone support
2013-03-04 14:57:10 -08:00
Manuel Ebert
05198b65b7 Cleaner syntax and messages 2013-03-04 14:54:29 -08:00
Stephan Gabler
a8777b747a remove tags that were used only once.
I sometimes look at the overview of tags with `jrnl --tags` and there
I found it annoying to see all the tags that appeared only once. Those
are now filtered out and I print a comment saying that they were filtered out

Also changed the order (sorted by counts) in which the tags are printed. For
a CLI application I think it is nicer to see the more important version at the end
2013-03-04 14:53:46 -08:00
Manuel Ebert
123000ce41 Fixes issue where now date was given 2013-03-04 14:44:04 -08:00
Manuel Ebert
5236ca0c44 Compatibility with parsedatetime 1.x 2013-03-04 14:43:55 -08:00
Manuel Ebert
fd0d35e151 Smarter UUID creation for DayOne journals 2012-08-09 18:42:31 +02:00
Manuel Ebert
9476d3f115 Experimental DayOne Support
Just point your jrnl file to a folder ending with `.dayone` and magic.
Supports both reading and creation (and hence all other export magic,
although this is untested).
2012-08-09 18:33:00 +02:00
Manuel Ebert
ac266fd3b1 New style class, new_entry returns entry 2012-08-09 17:54:17 +02:00
Manuel Ebert
386c574815 Removed unnecessary print statement 2012-07-25 17:59:59 +02:00
Manuel Ebert
911ec2eb3f bump to 1.0.0-rc1 2012-07-23 13:09:46 +02:00
Manuel Ebert
a56b395b7a Fixes a bug where jrnl would not go into compose mode if the entry comes from command line, is wrapped into quotes and starts with a tag symbol 2012-07-23 13:09:46 +02:00
Manuel Ebert
cb6ee5889e Better support for individual configs 2012-07-23 13:09:45 +02:00
Manuel Ebert
33195829c4 Saves changes in config (ie after decrypting) to the right scope 2012-07-23 13:09:45 +02:00
Manuel Ebert
a04675e33e Allows multiple journals to override default configuration 2012-07-23 13:09:45 +02:00
Manuel Ebert
c1bfd8b451 Refactored install.py 2012-07-23 13:09:45 +02:00
Manuel Ebert
9a39c8962d Journal class brings it's own default config. 2012-07-23 13:09:45 +02:00
Stephan Gabler
907a75d41e remove the leading whitespace introduced by textwrap 2012-07-17 12:12:47 +02:00
Manuel Ebert
144785d2b5 Version bump to 0.3.2 2012-07-05 12:47:48 +02:00
Manuel Ebert
fb3d7abc2d Converts \n to new lines 2012-07-05 12:44:40 +02:00
Manuel Ebert
7e59e8ad3b Refractored exporting 2012-07-05 12:31:50 +02:00
Manuel Ebert
3cbef42e2b Feedback on which journal was used 2012-07-05 12:27:57 +02:00
Manuel Ebert
9439c294da Installation modifies journals.default, not journal 2012-06-11 16:08:38 +02:00
Manuel Ebert
41c26d6115 Adds support for multiple journals 2012-06-11 16:02:21 +02:00
Manuel Ebert
482e579242 Adds support for multiple journals 2012-06-11 15:58:25 +02:00
Manuel Ebert
46ba622aa1 Adds feedback on updating jrnl_conf 2012-06-11 15:39:45 +02:00
Manuel Ebert
c289aaeb8c Merge pull request #34 from maebert/new-style-display
New style display of posts
2012-06-01 04:52:51 -07:00
Manuel Ebert
3935681365 Allows deleting the last entry in the journal. 2012-06-01 11:06:53 +02:00
Manuel Ebert
3b9610f5f4 Fixes a bug where encryption or decryption without target file would just bring up writing mode. 2012-05-31 11:43:20 +02:00
Manuel Ebert
2f8a95f553 Strips blank lines at the end of Entry bodies when prettyprinting. 2012-05-31 11:37:02 +02:00
Manuel Ebert
6c1e3f2351 Suppress empty bodies in prettyprinting 2012-05-31 11:33:28 +02:00
Manuel Ebert
084e956d16 Use Entry.pprint for display, str(Entry) for writing. 2012-05-31 11:22:54 +02:00
Manuel Ebert
cc786e5376 Refactors prettyprinting into the pprint method, __str__ will only produce journal-file-ready strings again. 2012-05-31 11:22:34 +02:00
Manuel Ebert
08b7624513 New style display of posts 2012-05-30 18:12:10 +02:00
Manuel Ebert
0d19f1790f Fixes highlighting 2012-05-30 17:58:26 +02:00
Manuel Ebert
dd824c4f8d Using string.format instead of % 2012-05-30 17:50:37 +02:00
Manuel Ebert
f7eee0fa76 Adds word wrap support. 2012-05-30 17:43:55 +02:00
Manuel Ebert
56c974f1dd Version bump to 0.3.0 2012-05-24 18:18:05 +02:00
Manuel Ebert
4a1312a70b Fixes time parsing, closes #32 2012-05-24 18:14:12 +02:00
Manuel Ebert
4850828e07 Error message when journal is corrupted, closes #22 2012-05-24 17:04:10 +02:00
Manuel Ebert
8ec7c51d89 Metavars on encrypt and decrypt options 2012-05-24 17:03:35 +02:00
Manuel Ebert
386d813eeb Opens journal file before allowing user to compose entry, closes #21 2012-05-24 16:51:09 +02:00
Manuel Ebert
e8f346242e Version bump to 0.2.5 2012-05-24 13:43:48 +02:00