Commit graph

128 commits

Author SHA1 Message Date
Manuel Ebert
a1b5a4099e Work on cryptography 2014-09-27 13:15:46 -07:00
Matthias Vogelgesang
ae47c5bb80 Fix failing behave tests 2014-09-12 14:27:34 -07:00
Matthias Vogelgesang
9d589f3e64 Make Journal a general interface
This change moves the loading and saving mechanisms into its own
Plain- and EncryptedJournal subclasses for easier maintenance and lazy loading
of all the crypto modules.
2014-09-12 14:26:22 -07:00
Manuel Ebert
4301927b72 Use unicode literals
Fixes #273
2014-09-02 13:26:50 -07:00
Kurt Neufeld
2f1894c765 using a common tag regex for searching and highlighting 2014-08-30 10:02:59 -06:00
Manuel Ebert
6f1dd6077e Improves dateutil parsing
Closes #133
Fixes #183, #185, #228
2014-07-21 13:30:10 +09:00
Ryan Plyler
1c5ff1d5b8 'jrnl -from' times now match greater/less than or equal to start and end times 2014-07-03 09:11:29 +02:00
Manuel Ebert
e592e81f6f Split DayOne into separate file 2014-05-22 12:17:54 -07:00
Craig Moyer
acc1b77d1c Re-fix Issue #56 by changing Regex to discriminate between title and entry.
Added BDD tests to cover this feature.
2014-04-24 21:34:30 -04:00
Manuel Ebert
32f1d35c93 byte2int for PY3 2014-04-16 17:14:57 -04:00
Manuel Ebert
d38937e672 Use PKCS#7 for encryption
Closes #156
2014-04-16 17:03:24 -04:00
Manuel Ebert
7dfe379982 Ignore unreadably DayOne entries 2014-04-16 14:34:39 -04:00
Manuel Ebert
414acf2ae6 Assumes no DST in case of ambiguous dates
Fixes #153
2014-04-16 14:25:56 -04:00
Manuel Ebert
e649711ca4 Small update to parsing regex 2014-04-01 20:14:49 -07:00
Manuel Ebert
6a5a98919e Fixes writing new lines between entries 2014-03-31 12:37:37 -07:00
Manuel Ebert
7ab969dcfb Fixes white spaces at the beginning of lines, fixes #134 2014-03-24 10:48:51 -07:00
Manuel Ebert
879e1adec7 Small fix for unicode in DayOne, fixes #119 2014-03-24 08:45:48 -07:00
Manuel Ebert
c89247ef94 Adds the tag symbol to day one entries on load 2014-03-19 14:44:47 -07:00
William Minchin
623fc076ad Convert from local util.get_local_timezone() to tzlocal.get_localzone()
one side effect is that a `pytz` object is returned rather than a
string, and so conversion to a string must be done explicitly at run
time where needed.
2014-01-29 09:57:15 -07:00
Manuel Ebert
99b5d7821d Upgrade to parsedatetime 1.2 2014-01-26 12:37:41 +01:00
Manuel Ebert
d35502423a Cleaned up imports to work with Python2.6 and Python 3.3 2014-01-23 14:33:14 +01:00
Manuel Ebert
9d352b4bad Gets rid of colorama 2014-01-02 23:41:53 +01:00
Manuel Ebert
91fd821bcc Changelog, dogs 2013-12-22 17:11:32 +01:00
Manuel Ebert
67c012a98a Fix for #117 2013-12-22 14:52:06 +01:00
Manuel Ebert
0e637d26d0 DayOne support for --edit 2013-12-21 15:00:26 +01:00
Manuel Ebert
ca6b16a5a1 Cleaner parsing 2013-12-21 14:59:24 +01:00
Manuel Ebert
e4bc0794f1 Modified flag for entries 2013-12-20 16:16:48 +01:00
Manuel Ebert
abe586d84e Deleting the last entry 2013-11-30 14:55:37 -08:00
William Minchin
79a8b59e6f Windows: wraps lines at 79 chars by default
trying to wrap lines at 80 char in Windows' CMD results in blank lines
following lines that are exactly 80 char long
2013-11-27 10:25:17 -07:00
Manuel Ebert
fb629266e6 ixed a bug that caused creating encrypted journals to fail 2013-11-20 16:55:41 -08:00
Manuel Ebert
588229581b Starring entries and looking at the stars 2013-11-05 10:23:26 -08:00
Manuel Ebert
3d1d6ac6d0 Parses -from 1980 as Jan 1 1980 2013-11-04 00:36:46 -08:00
Manuel Ebert
1e9fe2cf1e -short becomes --short 2013-11-04 00:36:10 -08:00
Manuel Ebert
82336ffe75 Starring entries and looking at the stars 2013-11-03 20:02:18 -08:00
Manuel Ebert
30275492d4 Only soft-deprecate passwords in config 2013-10-20 13:42:55 -07:00
Manuel Ebert
34b730a5c9 Saves password to keyring
Closes #96 and deprecates password field in config
2013-10-17 14:55:59 -07:00
Manuel Ebert
4e36d7baf0 Python 2.6 compatibility 2013-08-28 13:48:18 -07:00
Manuel Ebert
46da1f077e Support for DayOne tagging
Closes #83
2013-08-17 12:06:52 -07:00
Manuel Ebert
1a31c10ca7 Fixes #87 2013-08-17 11:54:21 -07:00
Manuel Ebert
e5ee4e3f97 Filters before exporting 2013-08-06 17:57:21 -07:00
Manuel Ebert
84556c178a Unifies encryption between python versions 2013-07-22 21:24:19 +02:00
Manuel Ebert
a84713e99a Allows getpass to get bypassed by reading from stdin 2013-07-22 20:08:41 +02:00
Manuel Ebert
d3edbfd53b Uses stderr for prompts instead stdout 2013-07-22 12:04:01 +02:00
Manuel Ebert
4b9b5e827b Tests for multiple journals 2013-07-22 10:11:37 +02:00
Manuel Ebert
f9bdc13210 Python 3 improvements 2013-07-19 13:24:18 +02:00
Manuel Ebert
29005c0e07 Better Python2.6 compatibility 2013-07-19 13:03:27 +02:00
Manuel Ebert
3bba14a553 Oh Python 3 imports... 2013-07-15 13:55:34 +02:00
Manuel Ebert
7511b17b6e Uses local timezone if timezone could not be parsed 2013-07-15 13:37:13 +02:00
Manuel Ebert
6fbd4e7d7e Workaround for get_localzone on OS X 2013-07-15 13:32:23 +02:00
dejay
ed20660815 Better Day One Timestamps 2013-07-13 11:57:34 -06:00