Commit graph

29 commits

Author SHA1 Message Date
MinchinWeb
20f74e0851 [Travis] add linting via pyflakes
See #889, See #770
2020-04-11 11:01:51 -06:00
micahellison
0ce7efbfdf
Allow tzlocal version >1.5 <3.0 instead of >1.5 <2.0 (#900)
* Allow tzlocal version >1.5 instead of ^1.5 (#883)
* Change tzlocal version restriction to <3.0
2020-04-04 11:40:04 -07:00
Jrnl Bot
d8259b9190 Incrementing version to v2.3.1 [ci skip] 2020-03-28 14:27:37 -07:00
Jrnl Bot
fdb31b2145 Incrementing version to v2.3.1-beta [ci skip] 2020-03-28 12:28:58 -07:00
Jrnl Bot
98a54f015f Incrementing version to v2.3 [ci skip] 2020-03-21 22:15:08 +00:00
Jrnl Bot
ef3ff84210 Incrementing version to v2.3-beta [ci skip] 2020-03-07 23:06:23 +00:00
Aaron Lichtman
47e0305aa0
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-02-29 15:29:16 -08:00
Jonathan Wren
74a11cebdd
Put back build lines in poetry config (#838)
Taking out these lines earlier fixed the homebrew release, but broke
other things. So, I'm putting them back for now until we can find a
better solution.
2020-02-08 18:33:54 -08:00
Jrnl Bot
b747de42f6 Incrementing version to v2.2.1-beta2 [ci skip] 2020-02-06 06:28:47 +00:00
Jonathan Wren
57e39b592f
Take out build system from pyproject config #781
We don't use it, and it breaks the homebrew install.
2020-02-01 14:51:19 -08:00
Jrnl Bot
c4f7d481bd Incrementing version to v2.2 [ci skip] 2020-02-01 21:24:21 +00:00
Jrnl Bot
9383c6cda3
Incrementing version to v2.2-beta2 2020-02-01 12:34:29 -08:00
Jonathan Wren
879733a59f
update poetry version 2020-01-25 12:14:09 -08:00
Jonathan Wren
f10cb4d4f8
add maintainer field to config 2020-01-25 12:13:54 -08:00
Jonathan Wren
c88457f9ff
fix poetry warning 2020-01-25 11:52:47 -08:00
Jonathan Wren
31138c0463
update black version 2020-01-04 12:01:21 -08:00
Jonathan Wren
af228fd163 Merge branch 'master' into develop 2019-11-30 13:15:07 -08:00
Jrnl Bot
562454427e Incrementing version to v2.1.1 2019-11-30 20:32:11 +00:00
Jonathan Wren
44bc75fb65 Merge branch 'master' into develop 2019-11-29 11:46:01 -08:00
MinchinWeb
b0f07eeb59 Appease the Travis gods 2019-11-28 07:49:33 -07:00
Jrnl Bot
4ecaf197f5 Incrementing version to v2.1.1-beta 2019-11-26 05:00:15 +00:00
Peter Schmidbauer
b5c05cd846 Clarify currently supported Python versions
The Python 3.8 build currently fails on travis, this should be dealt with in a future PR along with updating the travis config and pyproject.toml
2019-11-12 18:50:51 +01:00
Jrnl Bot
cdb04974e2 Incrementing version to v2.1.post2 2019-11-12 02:43:42 +00:00
Jrnl Bot
bb15e68fc7 Incrementing version to v2.1-beta6 2019-11-09 22:26:33 +00:00
Jonathan Wren
caeafb38a7 [#681] Update version handling in source and travis deployments 2019-10-19 13:41:59 -07:00
Jonathan Wren
9e0ed53643 update version and author emails 2019-10-05 16:06:16 -07:00
Jonathan Wren
a5519b9804 update requirements to include pyyaml >= 5.1 2019-10-05 15:59:39 -07:00
Manuel Ebert
6a717029a7 Add deployment through poetry to travis 2019-08-15 17:44:27 -07:00
Manuel Ebert
9d40f867b7 Add Poetry config 2019-08-15 17:42:45 -07:00