jrnl/features/data/configs
Aaron Lichtman 9e5d160bbd Pretty print journal entries (#692)
* Pretty print journal entry titles and dates.

Changes appearance of all jrnl viewing commands, such as $ jrnl --short and
$ jrnl -n {NUM}.

Fix #508

* Removed extra newline at end of title

* Use ansiwrap to properly wrap strings with ANSI escapes

* Add ansiwrap to pyproject.toml

* Allow configuration of colors

- Replaced raw escapes with colorama
- Added colors key to config
- Add checks for validity of color values

* Add color configuration documentation

* Fix broken tests due to config change

* Add tests for colors in configs

- Identifying invalid color configs
- Upgrading config from no colors -> colors

* Add colorama dependency for all platforms

* Allow users to disable colorization of output

* Update poetry.lock

* Add tag and body color customization options

* Fix colorization of tags in title and body

* Updated tests to use no color by default

* Change pass to continue in verify_config()

* Better style in Entry.py

* Reduce code duplication for tag highlighting

- Breaks "unreadable date" regression test for unknown reason

* Properly colorize tags and print body

* Reformatting and clean up

* Replace list comprehension with generator

* Handle invalid colors by not using a color

* Process ANSI escapes properly with behave

* Fixed the 'spaces after tags directly next to punctuation' bug

Broke processing of tags next to any punctuation at all

* Closer to working tag colorization but not perfect

* Add tests printing for multiline journals

Fix #717

* Correctly indent first line of multiline entry

* Add test for multiline entries with tags

* Remove redundant UNICODE flag

* Progress towards proper tag colorization and body formatting

* Fix newline colorization bug

Debug code left intact since there are more bugs to fix :/

* And now the space just ends up before the tag instead of after it

* Fix assertion syntax warning

* Moved tag test to tagging.feature file

* Strip out debug code and clean up

* Bold datetimes in title

* Bold all titles

Fix #720

* Remove PY2 and PY3 constants

* Fix regression in features/steps/core.py

* Fix tag_regex

* Remove redundant re.UNICODE flag

* Remove extraneous code
2020-04-10 11:51:56 -07:00
..
basic.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
brackets.yaml [GH-614] resolving issues around unreadable dates and unparsed dates 2020-04-10 11:51:55 -07:00
bug153.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
bug343.yaml User defined indent character (#419) 2016-04-15 23:00:49 -07:00
bug780.yaml Listing all entries in DayOne Classic journal throws IndexError (#786) 2020-04-10 11:51:56 -07:00
dayone.yaml Move all password handling to EncryptedJournal 2020-04-10 11:51:56 -07:00
editor.yaml Exit jrnl if no text entered into editor 2020-04-10 11:51:55 -07:00
empty_folder.yaml Move all password handling to EncryptedJournal 2020-04-10 11:51:56 -07:00
encrypted.yaml Move all password handling to EncryptedJournal 2020-04-10 11:51:56 -07:00
encrypted_old.json Work on cryptography 2014-09-27 13:15:46 -07:00
encrypted_old.yaml User defined indent character (#419) 2016-04-15 23:00:49 -07:00
invalid_color.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
little_endian_dates.yaml Fix handling of little-endian date format 2020-04-10 11:51:55 -07:00
markdown-headings-335.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
mostlyreadabledates.yaml [GH-614] resolving issues around unreadable dates and unparsed dates 2020-04-10 11:51:55 -07:00
multiline-tags.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
multiline.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
multiple.yaml Move all password handling to EncryptedJournal 2020-04-10 11:51:56 -07:00
no_colors.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
tags-216.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
tags-237.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
tags.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
unreadabledates.yaml Pretty print journal entries (#692) 2020-04-10 11:51:56 -07:00
upgrade_from_195.json Tests for parsing issue fix 2015-04-05 18:38:37 +02:00
upgrade_from_195_little_endian_dates.json Fix handling of little-endian date format 2020-04-10 11:51:55 -07:00