Commit graph

1057 commits

Author SHA1 Message Date
MinchinWeb
ad7cf5378a Re-sync version number 2020-03-21 21:51:15 -06:00
MinchinWeb
9017f96576 [Tests] makes sure --version works
Directly reads the version number from pyproject.toml
2020-03-21 21:50:39 -06:00
micahellison
e489971877
Update and reorganize CONTRIBUTING (#885)
* Include information about branching strategy
* Re-organize documentation and include information on testing
* Use gerund form in Contributing headlines
* Fix markdown links and expand developing documentation
* Add pipx link and explain test code structure
* Include pull request process in CONTRIBUTING
* Update CONTRIBUTING with small changes from PR review
* Mention failing tests in CONTRIBUTING
* Add information for developers about issue labels
2020-03-21 14:35:17 -07:00
Jonathan Wren
64cecc66c0
Update Travis caching to speed up builds (#871) 2020-03-21 13:21:28 -07:00
Jrnl Bot
d92094f92c Updating changelog [ci skip] 2020-03-21 19:22:14 +00:00
Jonathan Wren
9bfceb4b98 Create FUNDING.yml (#861)
Test out using Github sponsors
2020-03-21 12:05:51 -07:00
Nathan Genetzky
607d29af35
docs: Update url for "beautiful timeline" in export.md (#879)
The previous URL was invalid. Used way back time machine, and at least at some point a redirect was setup to this site.
2020-03-21 11:12:44 -07:00
Jrnl Bot
ef3ff84210 Incrementing version to v2.3-beta [ci skip] 2020-03-07 23:06:23 +00:00
Jonathan Wren
b3793fbb7f
Merge pull request #869 from jrnl-org/develop
Merge develop into master for v2.3 beta
2020-03-07 14:50:54 -08:00
Jrnl Bot
8277bc729a Updating changelog [ci skip] 2020-03-07 22:38:24 +00:00
micahellison
2fd22b70e3
Merge pull request #868 from wren/update-stale-emoji
Update stalebot emoji to 📌 instead of 
2020-03-07 14:23:59 -08:00
micahellison
f96dab0aa7
Merge pull request #842 from jrnl-org/v2.2-temp
Pretty print journal entries (add color)
2020-03-07 14:23:38 -08:00
Jonathan Wren
6c61372bee
Update stalebot emoji to 📌 instead of
The pushpin better reflects the functionality (stops the issue from
staling).
2020-03-07 14:11:05 -08:00
Jonathan Wren
fcac1f98af
Get rid of test function that was causing windows problems 2020-03-07 13:13:43 -08:00
Jrnl Bot
4358cb3ac7 Updating changelog [ci skip] 2020-02-29 23:36:24 +00:00
Jonathan Wren
c769b9ef7f
upgrade poetry if already installed 2020-02-29 15:29:30 -08:00
Jonathan Wren
4d768ae433
fix up tests and related issues 2020-02-29 15:29:29 -08: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
28a4bd8f18
Merge pull request #843 from jrnl-org/v2.5
Add support to save journals to multiple files in a directory
2020-02-29 15:13:28 -08:00
Micah Ellison
da30eaa62f Apply Black linting 2020-02-29 14:03:54 -08:00
Micah Ellison
8a4fe0ec81 Fix FolderJournal path tests for Windows paths 2020-02-29 13:29:19 -08:00
Micah Ellison
71f918d878 Remove DayOne test made obsolete by FolderJournal 2020-02-29 12:45:47 -08:00
Micah Ellison
53c557005c Update FolderJournal reference to entry __unicode__ method to __str__ 2020-02-29 12:35:05 -08:00
micahellison
12eed5c86a
Merge pull request #857 from maebert/manu--better-parsing
Clean up shortcut for Limit
2020-02-27 18:51:07 -08:00
Manuel Ebert
10d2178d5a Clean up shortcut for Limit
This piece of code has bothered me for more than 6 years! (See #131) - this moves parsing arguments to where it belongs.
2020-02-22 17:17:22 -08:00
Jrnl Bot
6e9f95623a Updating changelog [ci skip] 2020-02-22 19:50:50 +00:00
micahellison
5e3f3e165f
Merge pull request #846 from aureooms/develop
docs: Fix fish history instructions.
2020-02-22 11:32:26 -08:00
micahellison
a66c51b593
Merge pull request #852 from aallbrig/master
Fix configuration slashes and indentation in advanced usage documentation
2020-02-22 11:31:07 -08:00
Jrnl Bot
6ea974f82a Updating changelog [ci skip] 2020-02-22 19:22:51 +00:00
micahellison
7fc13417d1
Merge pull request #854 from lrvl/patch-1
Docs: Fix broken links in recipes page
2020-02-22 11:12:18 -08:00
Leroy van Logchem
fb97bd19f5
Update recipes.md
Fixed links to various documentation files
2020-02-17 23:24:24 +01:00
aallbright
f5c96725d0 Formatting for Advanced Usage documentation 2020-02-16 10:30:35 -05:00
Aurélien Ooms
d605f4d011 docs: Fix fish history instructions.
Use `--add` flag in fish `abbr` command.
2020-02-09 15:23:53 +01:00
Jrnl Bot
95aa3bc1ae Updating changelog [ci skip] 2020-02-09 03:31:51 +00:00
Jonathan Wren
22994efde2 Merge pull request #837 from micahellison/windows-unicode-tests
* Fix crashing unicode Travis tests on Windows and fail build if Windows tests fail
* Restore emoji test now that it works in Windows Travis builds
2020-02-08 18:34:32 -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
Jonathan Wren
7f1f878a08
Don't re-run tests on deployment (#839)
By the time we get to the deployment step, we've already run these tests
dozens of times. We don't need to run them yet again at deploy time.
2020-02-08 18:33:28 -08:00
Jonathan Wren
b2eab4bad3
Get rid of dumb sex joke (#840)
These kinds of jokes make us look bad, and have gotten this project bad
PR on social media. It's best to get rid of them. We can still be super
glib and funny without crass jokes.
2020-02-08 18:32:58 -08:00
Jonathan Wren
2be0436ef1
Update site description (#841)
Don't know why this was what it was. Maybe an old joke I don't get?
Either way, new description makes more sense.
2020-02-08 18:32:30 -08:00
Jonathan Wren
b76cd3dc49 Update old links (#844)
Since we moved the core repo to jrnl-org, the old links no longer work.
2020-02-08 18:31:47 -08:00
Jonathan Wren
b26b25cb8f
Merge pull request #845 from wren/stop-changelog-pile-up
Stop multipe changelog generators from crashing into each other
2020-02-08 18:30:41 -08:00
Jonathan Wren
28c0d84845
get rid of debug code 2020-02-08 18:20:06 -08:00
Jonathan Wren
686b111e82
Stop multipe changelog generators from crashing into each other 2020-02-08 18:18:41 -08:00
Jonathan Wren
97cf65e516
Merge branch 'develop' into v2.5 2020-02-08 14:29:10 -08:00
Jrnl Bot
d495f6feaa Updating changelog [ci skip] 2020-02-08 22:03:03 +00:00
Micah Ellison
aaa2efddec Restore emoji test now that it works in Windows Travis builds 2020-02-08 13:54:39 -08:00
micahellison
40b330e5ee Fix crashing unicode Travis tests on Windows and fail build if Windows tests fail (#836) 2020-02-08 13:51:14 -08:00
Micah Ellison
89e0bbc3fb Fix crashing unicode Travis tests on Windows and fail build if Windows tests fail 2020-02-08 13:26:44 -08:00
Jrnl Bot
4ab9fa573c Updating changelog [ci skip] 2020-02-08 21:26:08 +00:00
MinchinWeb
e5d7845f18 Listing all entries in DayOne Classic journal throws IndexError (#786)
* Reproduce bug in #780
🎵 I have no body, no body to love me... 🎵
The bug is cause by a DayOne entry that has to entry body.

* Deal with empty bodies
Close #780.

* [Travis-CI] add "tree" command to debug missing files
* Fix file location
I have no idea why, but it ran locally fine without issue. Travis is more particular...
2020-02-08 13:14:33 -08:00