Commit graph

1117 commits

Author SHA1 Message Date
Jrnl Bot
e0c53c28bb Update changelog [ci skip] 2021-01-02 22:55:45 +00:00
Jonathan Wren
f041402533
Add packaging label to included sections in changelog (#1140) 2021-01-02 14:53:54 -08:00
Jrnl Bot
bddec64faa Update changelog [ci skip] 2021-01-02 21:28:22 +00:00
Karim Rahal
57de4f9ba4
Fix keyring error handling (#1138)
* Capture KeyringLocked exception and allow manual password entry
* Create LockedKeyring for steps
* Support types in set_keyring step
* Clarify LockedKeyring docs
* Deal with locked exceptions elsewhere too
* Create behave tests for locked keyring
* Fix linting
* Fix keyring step to allow no type
* Handle all keyring retrieval errors
* Better keyring error handling
* Remove locked keyring for steps; generalize failed keyring
* Finalize tests for keyring handling
* Update set_keyring step
* Make password of failed keyring encryption test more semantic
2021-01-02 13:26:45 -08:00
Jrnl Bot
9f1bef7fde Update changelog [ci skip] 2021-01-02 21:24:55 +00:00
Karim Rahal
e9fd5cdc0e
Allow custom extensions when editing (for easier syntax highlighting) (#1139)
* Create tests and steps for temporary filename suffix
* Have temporary filename suffix be -{template_filename} or .jrnl
* Finalize extension_editor_file
* Make suffix local variable in get_text_from_editor
2021-01-02 13:23:15 -08:00
dependabot[bot]
c47c1e209e
Bump keyring from 21.7.0 to 21.8.0 (#1136)
Bumps [keyring](https://github.com/jaraco/keyring) from 21.7.0 to 21.8.0.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/main/CHANGES.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v21.7.0...v21.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-02 12:28:03 -08:00
Jrnl Bot
ada7393979 Update changelog [ci skip] 2021-01-02 20:27:26 +00:00
Jonathan Wren
d4ca29ed2c
Fix broken search bar in docs site (#1135)
* Fixes for search on docs site

We previously didn't include the search results page in our CI testing,
so we missed some issues on that page. This ensures that page is part of
regular testing, and also includes fixes for the issues present.

* fix sidebar contrast
2021-01-02 12:24:21 -08:00
Jonathan Wren
31ada29a37
fix doc site css 2020-12-28 09:55:15 -08:00
Jrnl Bot
4d58bac123 Update changelog [ci skip] 2020-12-26 23:24:54 +00:00
Jonathan Wren
7930d9750a
Fix search on docs site (#1133) 2020-12-26 15:23:01 -08:00
Jrnl Bot
d111b04c14 Update changelog [ci skip] 2020-12-26 21:10:29 +00:00
Jonathan Wren
f8513d3859
Add packaging label to changelog generator config (#1132)
We added dependabot and told it to use a new packaging label. This
change gives that label its own separate section in the changelog.
2020-12-26 13:08:39 -08:00
Jrnl Bot
3bce055c89
Update changelog [ci skip] 2020-12-26 12:08:13 -08:00
dependabot-preview[bot]
8b70497802
Create Dependabot config file (#1131)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-26 11:59:53 -08:00
Jrnl Bot
fc8eafa451 Update changelog [ci skip] 2020-12-26 19:02:42 +00:00
Jonathan Wren
870f9aed17
Fix failing contrast test in accessibility tools on docs site (#1126)
* add background-color as fallback for gradients on docs site

This is both for old browser support, and for accessibility. Some
accessibility tools turn off gradients since they can make text hard to
read for those with visual impairment.

* change mobile header color for docs site

The mobile header was using a light-purple to dark-purple gradient, even
though every other gradient on the site is mid-purple to dark-purple.
This commit changes that both for consistency on the site, and because
light-purple causes an accessibility issue with the white text in the
header (even though the accessibility tools don't notice because of the
gradient).
2020-12-26 11:01:27 -08:00
Jrnl Bot
9a4c3e41a6 Update changelog [ci skip] 2020-12-26 19:00:18 +00:00
Jonathan Wren
37c5b0eb11
Fixes to changelog generator (#1127)
* Fix version header detection in changelog

This updates the regex to find the version header in our changelog.
There was a bug that affected patch, alpha, and beta versions. For
example, if we were looking for "v2.5" we might find "v2.5.1" or
"v2.5.1-alpha" or other versions like that.

This led to the changelog not being cleared properly on update, and old
versions sticking around longer than they should.

* re-add option to include author link for merged PRs in changelog

This option was accidentally left out when migrating the changelog
generator tool to github actions.

* fix conditional in changelog workflow

In github actions, booleans always end up as strings. So, it's not
enough to test `env.FULL_RELEASE` because both 'true' and 'false' will
evaluate as true. This fixes the conditional to check for the string
value 'true' instead of relying on a boolean.
2020-12-26 10:58:23 -08:00
Jrnl Bot
2f4ec7ca98 Update changelog [ci skip] 2020-12-26 18:56:53 +00:00
dependabot-preview[bot]
16e313ab70
Bump pytz from 2020.4 to 2020.5 (#1130)
Bumps [pytz](https://github.com/stub42/pytz) from 2020.4 to 2020.5.
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2020.4...release_2020.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-26 10:55:19 -08:00
dependabot-preview[bot]
b25ea7409a
Bump keyring from 21.5.0 to 21.7.0 (#1128)
Bumps [keyring](https://github.com/jaraco/keyring) from 21.5.0 to 21.7.0.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/main/CHANGES.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v21.5.0...v21.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-26 10:53:47 -08:00
dependabot-preview[bot]
f999caa3a3
Bump pytest from 6.2.0 to 6.2.1 (#1129)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.0...6.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-26 10:52:55 -08:00
Jrnl Bot
3fb9fe5e28
Update changelog [ci skip] 2020-12-19 22:28:31 -08:00
Jrnl Bot
b0de760621
Increment version to v2.6 2020-12-19 22:28:29 -08:00
Jrnl Bot
7cf977a3cb
Increment version to v2.6-beta5 2020-12-19 22:28:27 -08:00
Jonathan Wren
e1cbce8a08
add more debug data to changelog workflow, update changelog 2020-12-19 22:28:26 -08:00
Jonathan Wren
68cf2d773d
do additional check for json data, and retry for 5-ish minutes on failure (#1125) 2020-12-19 22:28:25 -08:00
Jonathan Wren
2e9e857b7b
standardize version regex in release pipeline (#1124) 2020-12-19 22:28:24 -08:00
Jrnl Bot
3dec22651e
Update changelog [ci skip] 2020-12-19 22:28:23 -08:00
Micah Jerome Ellison
9fe56b9e10
Comply with GPL by acknowledging all authors and including license info in each source file (#1121)
* Update authors to "jrnl contributors" to comply with GPL3
* Include jrnl email address with contributors
* Include GPL notice in jrnl --version
* Apply consistent copyright and license to all Python files
* Add copyright and license to documentation
* Add copyright and license to docs theme
* Wiping poetry cache to try to resolve a test issue
* Testing with Python 3.9.0 in attempt to bypass GitHub Actions failure in 3.9.1
* make format
* Exclude Windows Python 3.9 build which is failing due to a GitHub Actions problem
* Modify testing to get around this 3.9 issue...
* Fix exclude
2020-12-19 22:28:22 -08:00
Jrnl Bot
80bd3f214a
Update changelog [ci skip] 2020-12-19 22:28:21 -08:00
Jonathan Wren
6d339f486e
Small accessibility fixes for docs site (#1122)
* remove old file that was only needed for gh-pages

* fix broken icons on docs home page

* add more contrast to twitter button hover state

* tweak non-accessible color to meet standard

* tweak non-accessible colors to meet standard
2020-12-19 22:28:16 -08:00
Jrnl Bot
867397eccd Update changelog [ci skip] 2020-12-19 20:32:44 +00:00
Jonathan Wren
4adbe5e29a
Add automatic deployment for homebrew releases (and prereleases) (#1111)
This new job will submit a PR to the relevant upstream repo as part of
the release workflow.

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2020-12-19 12:31:15 -08:00
Jrnl Bot
b71b6a99f3 Update changelog [ci skip] 2020-12-19 20:05:41 +00:00
Jonathan Wren
243ccd9e37
Fix trigger for changelog (#1114)
The changelog was triggering after each branch create on a repo. That
doesn't happen often on the main repo, but does happen often on
contributor forks. This should stop the rampant GH actions.
2020-12-19 12:04:11 -08:00
Jrnl Bot
7d5d1e0ea9 Update changelog [ci skip] 2020-12-19 20:02:50 +00:00
Jonathan Wren
12e39ffd61
Change approach for docs workflow to use pa11y-ci (#1116)
The previous plugin looked nice with the comments and annotations, but
apparently doesn't work for PRs. It can only run on the pr target (our
branch), which means that the tests are never actually run against the
new code.

As you can guess, this is pretty useless for PRs. So, this PR fixes
that, and uses the very nice pa11y-ci (instead of the normal pa11y).
While it doesn't upload annotations, the output is very readable and
seems like the best we're going to get.
2020-12-19 12:00:59 -08:00
Jrnl Bot
2ac883abb6 Update changelog [ci skip] 2020-12-16 01:51:57 +00:00
Manuel Ebert
e03021a94c
Fixes lone closing parenthesis in docs (#1118)
Look, this might me my least ambitious commit ever, but having mismatched parentheses has crashed the internet before, so let's rather be safe than sorry!
2020-12-15 17:50:00 -08:00
Jrnl Bot
e5fc51213b Update changelog [ci skip] 2020-12-15 19:02:55 +00:00
signal-9
fbad9bf83e
Update output.py (#1117)
Typo, us > use
2020-12-15 11:00:53 -08:00
Jrnl Bot
33b1636229 Update changelog [ci skip] 2020-12-12 22:33:49 +00:00
Jrnl Bot
9122f09dae Increment version to v2.6-beta 2020-12-12 22:32:12 +00:00
Jonathan Wren
cb5bb2e190
Update all dependencies and lock file (#1110)
This also unpins versions of some dependencies where the API is very
stable, or pinning wasn't getting us any additional stability.

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2020-12-12 14:30:41 -08:00
Jonathan Wren
eddf37a1b5
Fix readme links (#1109)
* fix links to docs now that we use readthedocs

* fix badge links in readme
2020-12-12 12:41:49 -08:00
Jonathan Wren
ae6041a010
fix readme header (#1108) 2020-12-12 12:33:40 -08:00
Jrnl Bot
b1f936e65c Update changelog [ci skip] 2020-12-12 20:06:56 +00:00