Commit graph

807 commits

Author SHA1 Message Date
Aaron Lichtman
e9bfe4dcac
Fixed the 'spaces after tags directly next to punctuation' bug
Broke processing of tags next to any punctuation at all
2019-11-07 23:38:58 +01:00
Aaron Lichtman
41fb8d45eb
Process ANSI escapes properly with behave 2019-11-07 22:26:46 +01:00
Aaron Lichtman
89c43664de
Handle invalid colors by not using a color 2019-11-07 22:26:20 +01:00
Aaron Lichtman
6ce83c7aa1
Replace list comprehension with generator 2019-11-07 04:49:01 +01:00
Aaron Lichtman
82d3c65d82
Reformatting and clean up 2019-11-07 04:27:31 +01:00
Aaron Lichtman
68305350e4
Properly colorize tags and print body 2019-11-07 04:18:17 +01:00
Aaron Lichtman
c3b18181d6
Reduce code duplication for tag highlighting
- Breaks "unreadable date" regression test for unknown reason
2019-11-06 23:07:11 +01:00
Aaron Lichtman
baa3ffbebd
Better style in Entry.py 2019-11-06 23:06:55 +01:00
Aaron Lichtman
6145682a29
Change pass to continue in verify_config() 2019-11-06 22:39:51 +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
4b934e36eb
Add tag and body color customization options 2019-11-06 19:29:55 +01:00
Aaron Lichtman
c63c999bc7
Update poetry.lock 2019-11-06 18:54:00 +01:00
Aaron Lichtman
a23a818106
Allow users to disable colorization of output 2019-11-06 18:25:57 +01:00
Aaron Lichtman
1a0847b38d
Add colorama dependency for all platforms 2019-11-06 02:53:37 +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
b2d3fc859e
Add color configuration documentation 2019-11-06 01:15:41 +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
Aaron Lichtman
75a8249f38
Add ansiwrap to pyproject.toml 2019-10-26 02:34:06 +02:00
Aaron Lichtman
b4bfc2c138
Use ansiwrap to properly wrap strings with ANSI escapes 2019-10-26 02:23:11 +02:00
Aaron Lichtman
1d4bbea6c8
Removed extra newline at end of title 2019-10-26 00:26:11 +02:00
Aaron Lichtman
e7da8c12a0
Pretty print journal entry titles and dates.
Changes appearance of all jrnl viewing commands, such as $ jrnl --short and
$ jrnl -n {NUM}.

Fix #508
2019-10-25 06:59:24 +02:00
micahellison
ef23d7eabe
Merge pull request #688 from wren/deployment-testing
[#681] take out automated pages deployment (for now), since it broke the site
2019-10-19 15:01:55 -07:00
Jonathan Wren
02ed94a0ec [#681] take out automated pages deployment (for now), since it broke the
site
2019-10-19 15:00:10 -07:00
micahellison
6d699fc240
Merge pull request #684 from wren/deployment-testing
[#681] Separate local dev from pipeline releases
2019-10-19 14:41:51 -07:00
Jonathan Wren
eca300551d [#681] Separate local dev from pipeline releases 2019-10-19 14:36:12 -07:00
micahellison
8433ade514
Merge pull request #683 from wren/deployment-testing
[#681] Update version handling in source and travis deployments
2019-10-19 13:53:58 -07:00
Jonathan Wren
675ef51ca1 [#681] Appease the poetry gods 2019-10-19 13:50:52 -07:00
Jonathan Wren
caeafb38a7 [#681] Update version handling in source and travis deployments 2019-10-19 13:41:59 -07:00
micahellison
47357492a4
Merge pull request #682 from wren/deployment-testing
[#681] travis deployment testing
2019-10-19 13:09:57 -07:00
Jonathan Wren
b4fda4d4c5 ¯\_(ツ)_/¯ 2019-10-19 13:03:57 -07:00
micahellison
350f0a1618
Merge pull request #670 from jrnl-org/v2.1
v2.1
2019-10-05 16:30:03 -07:00
Jonathan Wren
ee5d450cbe remove faulty conditional 2019-10-05 16:27:18 -07:00
Jonathan Wren
0328a748d3 update makefile to use poetry for more things 2019-10-05 16:07:34 -07:00
Jonathan Wren
9e0ed53643 update version and author emails 2019-10-05 16:06:16 -07:00
Jonathan Wren
f9e746fe24 Merge branch 'pr/merge-v2.1'
Conflicts:
setup.py
2019-10-05 16:00:52 -07:00
Jonathan Wren
a5519b9804 update requirements to include pyyaml >= 5.1 2019-10-05 15:59:39 -07:00
Jonathan Wren
1bbf074fe9
Merge pull request #660 from etnnth/yaml-version
Change pyYAML required version
2019-09-25 17:13:01 -07:00
etienne
9bc0340280 Change pyYAML required version
Full Loader only avalaible from v5.1:
2019-09-24 17:13:05 +02:00
Jonathan Wren
b1680fd90b
Merge pull request #655 from jrnl-org/manu--contributing
Fix references to Sphinx in CONTRIBUTING.md
2019-09-21 12:38:23 -07: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
Jonathan Wren
20916eab54
Merge pull request #550 from silenc3r/master
Handle KeyboardInterrupt when installing journal
2019-09-21 12:36:49 -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
Manuel Ebert
f9ff519679 Fix references to Sphinx in contributing.md 2019-09-18 10:33:01 -07:00
Jonathan Wren
2767567dc1
Merge pull request #650 from micahellison/632-upgrade-tests
[GH-632] confirming that each journal can be parsed during upgrade
2019-08-24 15:51:00 -07:00
Jonathan Wren
542f23a180
Merge pull request #649 from jrnl-org/manu--docs
Smaller doc fixes
2019-08-24 15:48:19 -07:00
Micah Jerome Ellison
be35904912 [GH-632] adding call to action to report issue when upgrade fails 2019-08-24 15:47:13 -07:00
Micah Jerome Ellison
244165664b [GH-632] removing unreachable return statement 2019-08-24 15:25:05 -07:00
Micah Jerome Ellison
4d0640e613 [GH-632] removing unnecessary whitespace 2019-08-24 15:14:15 -07:00