Commit graph

38 commits

Author SHA1 Message Date
Peter Schmidbauer
1fa851ed0c Fix handling of little-endian date format
Ever since version 2.0, when parsing a journal file, jrnl would not use the custom date format string anymore. Instead, it relied on the dateutil library to get the parsing right. This change was made to allow people to change their date format without having to manually change their file. However, this broke some existing date formats like %d.%m.%Y, as it would falsely interpret the month as day and vice versa. This commit adds some tests to catch this error and fixes it by trying to parse the dates using the custom format first, only falling back to dateutil when needed.
2019-10-26 21:58:15 +02:00
micahellison
ec1b2c63b9
Merge pull request #641 from gregorybodnar/create_encrypted_journal
Fix for #631 Create encrypted journal
2019-08-13 12:17:12 -07:00
Jonathan Wren
1350bcad1b #631 Escape data in square brackets 2019-08-10 13:37:03 -07:00
Greg Bodnar
18ba16ad66 Add failing test for configuring an encrypted journal 2019-08-03 16:48:10 +12:00
Micah Jerome Ellison
f3b9a91c9b [GH-614] resolving issues around unreadable dates and unparsed dates 2019-07-20 14:51:46 -07:00
Manuel Ebert
4b3dc38e05 Template exporting FTW 2016-08-19 23:20:31 +00:00
Philip Douglass
3580154f7d User defined indent character (#419)
Make indent character configurable.
2016-04-15 23:00:49 -07:00
flight16
06a9ed2026 Merged PR 2015-12-28 21:36:17 -08:00
Manuel Ebert
d0f86d398f Update tests for templates 2015-07-01 22:23:13 -07:00
Manuel Ebert
94d6ebeb2d Merge pull request #347 from MinchinWeb/2.0-rc1-markdown-export-fix
2.0 rc1 markdown export fix
2015-04-20 14:29:17 +02:00
Manuel Ebert
978d735351 Tests for #343 2015-04-20 14:25:20 +02:00
MinchinWeb
2d49aaa1a0 Add testing for increasing Headings on Markdown export 2015-04-14 15:13:00 -06:00
Manuel Ebert
b41b5d3376 Tests for parsing issue fix 2015-04-05 18:38:37 +02:00
Manuel Ebert
f459dd5bc2 Tests for #333 2015-04-05 03:27:09 +04:00
Manuel Ebert
812d289740 Update all tests to new time format 2015-04-05 03:25:39 +04:00
Manuel Ebert
dd79639095 Hardcoded salt to fix crypto 2015-04-04 17:50:44 +11:00
Manuel Ebert
359eabd56d Work on cryptography 2014-09-27 13:15:46 -07:00
Manuel Ebert
be009b08b4 Converts tests to YAML 2014-09-12 15:28:12 -07:00
Manuel Ebert
cbab596b43 Fixes config tests 2014-09-12 14:22:45 -07:00
U-NA\cle1413
4d6cdc835e Add assertion to scenario that verifies a tag on a new line is recoginized as a tag. 2014-07-23 11:19:47 -04:00
Matt Hoffman
b8a3b6d9ad There should be a whitespace character in front of a tag. Fixes issue #237. 2014-07-22 22:14:26 -04:00
Manuel Ebert
c05fdfdad7 Tests for tagging 2014-07-02 15:35:05 +02:00
Manuel Ebert
378baf17a1 Fixes xml header 2014-05-22 13:24:04 -07:00
Manuel Ebert
a0333e60d5 Fix encoding in tests 2014-05-22 12:16:26 -07:00
Manuel Ebert
181c36163a Tests for ignoring invalid DayOne entries 2014-04-16 14:35:03 -04:00
Manuel Ebert
0161d834c0 Tests for #153 2014-04-16 14:26:02 -04:00
Manuel Ebert
967e888936 Tests for fixing errors automatically 2013-11-03 14:38:41 -10:00
Manuel Ebert
36b375831a Tests for soft-deprecating passwords in config 2013-10-20 13:43:04 -07:00
Manuel Ebert
ed66d76db2 Tests for storing password in keychain 2013-10-17 16:26:49 -07:00
Manuel Ebert
68cd41de40 Remove tests for having password in config 2013-10-17 16:00:45 -07:00
Manuel Ebert
d4aa08e18a Adds empty folder for testing 2013-08-28 13:37:18 -07:00
Manuel Ebert
a7afed7c8b Tests for error messages on empty directories 2013-08-28 12:18:58 -07:00
Manuel Ebert
81e8e26b0a Tests for parsing DayOne entries without Timezone 2013-08-17 13:19:54 -07:00
Manuel Ebert
8446908139 Initial support for DayOne integration testing 2013-08-17 11:59:51 -07:00
Manuel Ebert
3ef6095b41 Tests for filtering 2013-08-06 17:57:31 -07:00
Manuel Ebert
6bcf83ed78 Tests for tagging 2013-07-23 21:02:03 -07:00
Manuel Ebert
601e574d91 Test for decrypting journals when password is saved in config 2013-07-22 21:26:21 +02:00
Manuel Ebert
9c3841dded Changes cleaning strategy 2013-07-22 21:19:30 +02:00