Commit graph

1092 commits

Author SHA1 Message Date
MinchinWeb
df6e8cd2fc remove __future__ imports
These are from our days for supporting Python 2, and are no longer needed.
2020-04-15 12:07:52 -06:00
Jrnl Bot
b85890a8cc Updating changelog [ci skip] 2020-04-11 22:41:25 +00:00
MinchinWeb
9299dcff50
Update Windows Python versions (#910)
* [Travis] update Windows Python versions
* Update Python versions to be uniform across the board

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2020-04-11 15:30:47 -07:00
Jrnl Bot
1d44f14e46 Updating changelog [ci skip] 2020-04-11 22:24:14 +00:00
Jonathan Wren
83185da650 fix import issues (from pyflakes merge) 2020-04-11 15:15:08 -07:00
MinchinWeb
3027d5c0ec
Ensure exported entries end in a newline for Markdown and YAML exporters (#908)
* [Markdown Exporter] [YAML Exporter] Ensure exported entires end in a newline

Fixes #768, Fixes #881.

If the exported entry does not have a final empty line, this will add one on export. Some Markdown parsers get picky about not having a empty line above a heading....

* fix black formatting issues
* explicitly sort filenames

to deal with inconsistent default file ordering on different OS's
* Update .gitignore
* Update test for typo fix

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2020-04-11 15:14:08 -07:00
Jrnl Bot
5b2ce8b63e Updating changelog [ci skip] 2020-04-11 22:08:01 +00:00
Jonathan Wren
4e42536aff add pyflakes to dev deps, run pyflakes in CI 2020-04-11 14:54:23 -07:00
Jonathan Wren
f084c639ed fix various small issues in the codebase 2020-04-11 14:54:23 -07:00
Jrnl Bot
02327ae218 Updating changelog [ci skip] 2020-04-11 20:36:50 +00:00
micahellison
4419279669
Update keyring version from "^19.0" to ">19.0, <22.0" (#914)
* #783 Allow keyring >19.0, <22.0 instead of ^19.0
2020-04-11 13:29:02 -07:00
Jrnl Bot
6c83860e75 Updating changelog [ci skip] 2020-04-11 20:10:33 +00:00
Jonathan Wren
bc3b381d7b
Update the code of conduct (#913) 2020-04-11 13:03:20 -07:00
MinchinWeb
779c8fbc2f
Test Version match (#887)
* [Tests] makes sure `--version` works
Directly reads the version number from pyproject.toml

* Tag the tests
To run just this test, use `behave --tags=deployments_tests`
2020-04-11 12:28:22 -07:00
Jrnl Bot
9627ed1bd1 Updating changelog [ci skip] 2020-04-11 19:15:21 +00:00
MinchinWeb
ee9974a84e
[DayOne] support moderm plistlib (#909)
The API of the standard library's `plistlib` changed with version 3.4 of Python, and the old API is being removed in Python 3.9. In other words, the new API is supported by all version of Python we current support (3.6 to 3.8).

See https://docs.python.org/3.4/library/plistlib.html for more details.
2020-04-11 12:08:04 -07:00
Jrnl Bot
d96a20d3e7 Updating changelog [ci skip] 2020-04-11 18:51:43 +00:00
MinchinWeb
f136fd9657
[YAML Exporter] fix starred spelling (#907)
* fix starred spelling
c.f. #835
2020-04-11 11:43:56 -07:00
Jrnl Bot
9215dc5692 Updating changelog [ci skip] 2020-04-04 21:34:53 +00:00
Jonathan Wren
a94c59255f
Update twitter buttons, contribution in footer (#905) 2020-04-04 14:25:09 -07:00
micahellison
b7a7a55515
Change install doc guideline from pip to pipx and mention minimum Python version 2020-04-04 14:21:13 -07: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
notbalanced
282c1cd3de
Properly display entries during a tag search. (#902) 2020-04-04 11:32:04 -07:00
Jrnl Bot
ae304a4706 Updating changelog [ci skip] 2020-04-01 01:24:31 +00:00
Jonathan Wren
8284c90ba3
Update Poetry requirements for testing latest Python version (#898)
Poetry errors out if we try to run a different version of Python that
what is specified in the config file. We want to run tests against the
latest Python version so we can see problems before they happen. This
fix updates the config file so Poetry will allow us to test. Nothing is
committed after the update.
2020-03-31 18:16:45 -07:00
Jrnl Bot
5d44997c38 Updating changelog [ci skip] 2020-03-28 23:15:49 +00:00
Jonathan Wren
9be7bb4cea Fix failing tests and linting issues 2020-03-28 16:08:31 -07:00
dbxnr
4b5eb163ba Fix for upgrade with missing journal (#796)
* Fix for upgrade with missing journal
* add test, refactor solution
* add missing test config

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2020-03-28 16:08:31 -07:00
dbxnr
df826526cc Interactive delete (#850)
* fixup alichtman's implementation
* cleanup imports

Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2020-03-28 16:08:31 -07:00
Aaron Lichtman
403f628d0f Add --delete for interactive removal of entries (#698)
* Add --delete for interactive removal of entries
* Add inquirer dependency for fancy prompting
* Fix some minor style issues
* Fix #434 
* Use PyInquirer instead of inquirer for Windows compatibility
* Add WIP (broken) test
* Change deletion interface to be more basic
* Update environment.py

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2020-03-28 16:08:31 -07:00
Jrnl Bot
d8259b9190 Incrementing version to v2.3.1 [ci skip] 2020-03-28 14:27:37 -07:00
Jrnl Bot
032d88aef1 Updating changelog [ci skip] 2020-03-28 14:27:35 -07:00
Jonathan Wren
02d534bc31
Hotfix for keeping the version in sync in code (testing to come later) (#895)
hotfix for keeping the version in sync in code (testing to come later)
2020-03-28 13:27:16 -07:00
Jrnl Bot
fdb31b2145 Incrementing version to v2.3.1-beta [ci skip] 2020-03-28 12:28:58 -07:00
Jrnl Bot
89bb3d04dc Updating changelog [ci skip] 2020-03-28 12:28:56 -07:00
MinchinWeb
9ff19b35ea
Syntax fix (#886)
SyntaxWarning: "is" with a literal. Did you mean "=="?

This works otherwise due to an implementation quirk of cPython.
2020-03-22 12:09:25 -07:00
micahellison
bb1cb488b1 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-22 12:02:17 -07:00
Jonathan Wren
dc45b52eeb Update Travis caching to speed up builds (#871) 2020-03-22 12:02:17 -07:00
Jonathan Wren
d64e7bdb1a Create FUNDING.yml (#861)
Test out using Github sponsors
2020-03-22 12:02:17 -07:00
Jrnl Bot
98a54f015f Incrementing version to v2.3 [ci skip] 2020-03-21 22:15:08 +00:00
Jrnl Bot
a678a20964 Updating changelog [ci skip] 2020-03-21 22:13:33 +00: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