Commit graph

51 commits

Author SHA1 Message Date
Manuel Ebert
2235a2f974 Python 2.6 compatibility 2013-08-28 13:48:18 -07:00
Manuel Ebert
e37395ffd9 Failures return exit code 1 2013-08-28 12:29:34 -07:00
Manuel Ebert
79b61dfbab Detectsa DayOne journals that are stored in the Mobile Documents folder 2013-08-28 12:18:39 -07:00
Manuel Ebert
2e44a29c33 Soft-deprecates -to and introduces -until 2013-08-14 14:06:39 -07:00
Manuel Ebert
619285fb7f Prevents journal from printing when composing an entry
This fixes #87
2013-08-14 14:00:32 -07:00
Manuel Ebert
978d9db072 Filters before exporting 2013-08-06 17:57:21 -07:00
Manuel Ebert
7cf4fd701e Uses stderr for prompts instead stdout 2013-07-22 12:04:01 +02:00
Manuel Ebert
c303ea8455 Python 3 improvements 2013-07-19 13:24:18 +02:00
Manuel Ebert
6abd7d5b68 Mock stdin 2013-07-19 12:44:39 +02:00
Manuel Ebert
3a4c87ca4c Emoji support 2013-07-19 11:46:02 +02:00
Manuel Ebert
c5cd42028d Ability to parse in args manually 2013-07-18 22:48:46 +02:00
Manuel Ebert
0c374a839c Simplified exporting logic 2013-07-17 18:19:14 +02:00
Aniket Pant
659f9c4d98 Improve export functionality
Signed-off-by: Aniket Pant <me@aniketpant.com>
2013-06-26 13:05:13 +05:30
Aniket Pant
5408f60db3 Add new export option
Support for json and md retained
All export types moved to --export except tags

Signed-off-by: Aniket Pant <me@aniketpant.com>
2013-06-21 19:22:02 +05:30
Manuel Ebert
5bb8f9c567 Better Unicode support
Closes #72
2013-06-09 15:55:03 -07:00
Manuel Ebert
cf7581c0c0 Moves tag export to exporters 2013-06-09 15:07:27 -07:00
Manuel Ebert
32f3d23b90 Nicer error message when there is a syntactical error in your config file. 2013-06-09 14:49:02 -07:00
Manuel Ebert
48c5dd8aa1 JSON exports tags
Closes #78. This changes the export format to

{
tags: {tag: count},
entries: [{…}, {…}, …]
}
2013-06-09 14:48:56 -07:00
Manuel Ebert
3abe14bab1 Better utf8 support 2013-04-19 17:32:32 +02:00
Manuel Ebert
8865816d60 Updated readme and changelog and changed config path according to discussion 2013-04-19 16:58:19 +02:00
Manuel Ebert
62a48d7b02 Merge branch 'patch-1' of git://github.com/evaryont/jrnl into evaryont-patch-1 2013-04-19 16:50:27 +02:00
Manuel Ebert
9f33c9c9c4 Fixes for Python 3 Support 2013-04-19 15:19:21 +02:00
Manuel Ebert
8200ebb6fe Python 3 compatibility 2013-04-19 14:46:05 +02:00
Manuel Ebert
80da7326b8 Python 2.6 compatibility
Closes #67
2013-04-18 11:51:42 +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
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
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
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
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
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
Manuel Ebert
144785d2b5 Version bump to 0.3.2 2012-07-05 12:47:48 +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
41c26d6115 Adds support for multiple journals 2012-06-11 16:02:21 +02:00
Manuel Ebert
46ba622aa1 Adds feedback on updating jrnl_conf 2012-06-11 15:39:45 +02: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
56c974f1dd Version bump to 0.3.0 2012-05-24 18:18:05 +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