Aaron Lichtman
8c9b040586
Fix regression in features/steps/core.py
2019-11-17 00:53:25 +01:00
Aaron Lichtman
712b471702
Merge branch 'master' into pretty-print-entries
2019-11-12 06:40:10 +01:00
Jonathan Wren
25c0feaab6
Merge branch 'master' into fix-custom-dates
2019-11-11 21:08:37 -08:00
Aaron Lichtman
fcc64fa885
Moved tag test to tagging.feature file
2019-11-09 05:52:17 +01:00
Aaron Lichtman
c65c78c4eb
Fix assertion syntax warning
2019-11-09 05:52:00 +01:00
Aaron Lichtman
b6f6b290e3
Add test for multiline entries with tags
2019-11-08 01:55:08 +01:00
Aaron Lichtman
acc754e337
Add tests printing for multiline journals
...
Fix #717
2019-11-08 01:48:24 +01:00
Aaron Lichtman
41fb8d45eb
Process ANSI escapes properly with behave
2019-11-07 22:26:46 +01:00
Aaron Lichtman
6f3866cbcf
Updated tests to use no color by default
2019-11-06 22:38:04 +01:00
Aaron Lichtman
94a2b78b6d
Fix colorization of tags in title and body
2019-11-06 21:43:00 +01:00
Aaron Lichtman
eb1ed3c0cd
Add tests for colors in configs
...
- Identifying invalid color configs
- Upgrading config from no colors -> colors
2019-11-06 02:49:47 +01:00
Aaron Lichtman
8053d250f4
Fix broken tests due to config change
2019-11-06 01:51:17 +01:00
Aaron Lichtman
01db72b9dc
Allow configuration of colors
...
- Replaced raw escapes with colorama
- Added colors key to config
- Add checks for validity of color values
2019-11-06 01:05:06 +01:00
Peter Schmidbauer
34f8f858f1
remove py2 remnants and use mocks in tests
2019-10-31 21:16:19 +01:00
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
Aaron Lichtman
b4bfc2c138
Use ansiwrap to properly wrap strings with ANSI escapes
2019-10-26 02:23:11 +02:00
Jonathan Wren
b8a2c2df9d
Merge pull request #637 from jprof/add-not-flag
...
Add '-not' flag for excluding tags from filter
2019-09-21 12:37:34 -07:00
micahellison
fe48a928d8
Merge pull request #657 from jrnl-org/v2.0.1
...
Prep v2.0.1
2019-09-21 12:13:44 -07:00
Micah Jerome Ellison
3bfd9f487b
[GH-632] confirming that each journal can be parsed during upgrade, and aborting upgrade if not
2019-08-24 13:50:10 -07:00
Jonathan Wren
6d3c35b2f7
Merge pull request #639 from MinchinWeb/export-md-headers
...
Switch to hashmark Markdown headers on export (Mk II)
2019-08-15 18:45:23 -07: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
Justin Proffitt
31a4607a7d
Add tests for the excluding tags with -not
2019-08-07 20:58:35 -04:00
Greg Bodnar
02f853b545
Modify test to test for returned strings
...
The entered string for the password is not being used by the test and I
don't understand why.
2019-08-04 08:44:17 +12:00
Greg Bodnar
18ba16ad66
Add failing test for configuring an encrypted journal
2019-08-03 16:48:10 +12:00
MinchinWeb
1884a6ce23
[Markdown Export] deal with linebreaks in jrnl files
2019-08-01 21:00:53 -06:00
Micah Jerome Ellison
f3b9a91c9b
[GH-614] resolving issues around unreadable dates and unparsed dates
2019-07-20 14:51:46 -07:00
Micah Jerome Ellison
2a401823b5
#5 Removing DayOne tests
2019-06-22 14:35:27 -07:00
Jonathan Wren
bcfd2d4b43
Fix issue #584 YAMLLoadWarning ( #585 )
2019-04-14 09:47:31 -07:00
Manuel Ebert
4b3dc38e05
Template exporting FTW
2016-08-19 23:20:31 +00:00
Manuel Ebert
b3f5c092de
Fix Keyring tests
2016-08-19 21:43:27 +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
ea6060d75c
Fix that goddamn timezone test
2015-04-21 16:34:27 +02:00
Manuel Ebert
eb0af8f47c
Fix for #322
2015-04-21 15:49:27 +02: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
Manuel Ebert
57ef796ccb
Merge branch 'pr/342' into 2.0-rc1
2015-04-20 14:15:57 +02:00
Manuel Ebert
08fbd0d960
Split tests
2015-04-20 14:13:34 +02:00
Manuel Ebert
bdfe588a01
Fix test arg parsing
2015-04-20 14:12:34 +02:00
MinchinWeb
162e33089e
grr...fix typo
2015-04-14 16:55:06 -06:00
MinchinWeb
7d23945df7
Make the tests pass
2015-04-14 16:49:49 -06:00
MinchinWeb
087b45f0bf
Check for heading level error
2015-04-14 15:58:55 -06:00
MinchinWeb
2d49aaa1a0
Add testing for increasing Headings on Markdown export
2015-04-14 15:13:00 -06:00
flight16
35b9827eb1
Fix breaking test submitted in b2a7d1f30e
.
2015-04-13 23:23:54 +09:00
flight16
b2a7d1f30e
Add single letter alias -s for option --short
...
--short was being used in a test for date logic, but I added a second
test for explicitness.
2015-04-13 09:08:43 +09:00
Manuel Ebert
b41b5d3376
Tests for parsing issue fix
2015-04-05 18:38:37 +02:00
Manuel Ebert
c720c15787
More encoding madness
2015-04-05 06:38:38 +04:00
Manuel Ebert
f459dd5bc2
Tests for #333
2015-04-05 03:27:09 +04:00