Commit graph

1086 commits

Author SHA1 Message Date
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
Jonathan Wren
558d331d66
Make docs site (jrnl.sh) fully meet Web Content Accessibility Guidelines (WCAG) 2.1 (#1105)
* add some attribtutes to docs template for accessbility

* fix colors to meet accessibility guidelines (4.5 contrast ratio for text)

* Fix last remaining pa11y error (no button on search form)

This fix required moving the mkdocs theme out of the docs directory.
It's no in the docs_theme directory, and the mkdocs config is updated
accordingly.

* Re-enable accessibility testing for docs sit

Also, move the pa11y script into the gh actions workflow

* clean up linting issues in css

* fix and standardize link colors across site

* fix twitter button opacity making text fail contrast requirements

* move buttons on docs site index nav, tweak font weights

* fix footer opacity, tweak spacing of the now more visible sections of the page

* change font sizes on index page to meet WCAG

* udpate font sizes site-wide for accessibility

* fix sidebar for accessibility (font sizes and color contrasts)

* restyle code blocks to have dark background, and meet accessibility requirements

* standardize (accessible) colors across docs site
2020-12-12 12:05:12 -08:00
Micah Jerome Ellison
42c222a6c8
Update bug_report.md
Fix commented out text appearing in comments
2020-12-12 11:54:20 -08:00
Jrnl Bot
b6d77e4048 Update changelog [ci skip] 2020-12-04 23:15:30 +00:00
Micah Jerome Ellison
48cde1b473
Check for readline module instead of Windows when initializing autocomplete in install (#1104) 2020-12-04 15:13:38 -08:00
Jrnl Bot
bade28a0b0 Update changelog [ci skip] 2020-11-28 22:50:45 +00:00
Jrnl Bot
6e5d43ca78 Increment version to v2.5.1-alpha 2020-11-28 22:49:08 +00:00
Jonathan Wren
c3a8453e94
remove http-basic config for poetry (shouldn't be used anymore) 2020-11-28 14:40:54 -08:00
Jrnl Bot
68e72958b8 Update changelog [ci skip] 2020-11-28 21:22:48 +00:00
Jonathan Wren
45f051f51a
Add fix for changelog conditional always returning false (#1101) 2020-11-28 13:21:16 -08:00
Jonathan Wren
4cad215560
Add a release workflow for PyPI in CI (Github Actions) (#1095)
* Fixes for new CI pipeline (Github Actions)

- Support ci skip tag on commits to avoid build dupes
- Add smarter path detection so we don't spam tons of tests
- Allow steps to cancel if previous steps were cancelled (don't always
  run)
- Separate workflows to be more modular
- Update release workflow to do a few more things
- Add helpful messages
- Be more strict in version checking (now with added regex)
- Make changelog smarter about when to trigger
- Add some functionality for changelog to handle releases and
  prereleases separately
- Better error handling
- Split up the version validation and the release to make way for more
  releases

* add step in workflow to merge to release branch after a release

* add check for git diff so commit doesn't error out constantly
2020-11-28 11:50:13 -08:00
Jrnl Bot
e9d909a3ba Update changelog 2020-11-25 20:35:40 +00:00
Jonathan Wren
4b2645cbae
Update build badge in readme to point at github instead of travis (#1094) 2020-11-25 12:33:38 -08:00
Jrnl Bot
e3aa088fa7 Update changelog 2020-11-22 00:06:47 +00:00
Jonathan Wren
6da3b6dc01
stop changelog update from triggering subsequent ci builds 2020-11-21 16:04:26 -08:00
Jrnl Bot
7f06e11d7a Update changelog 2020-11-21 23:53:06 +00:00
Jonathan Wren
f07774e351
update changelog generator setting to include PRs, and use bot's token 2020-11-21 15:51:10 -08:00
Jrnl Bot
3ad9e37d31 Update changelog 2020-11-21 23:42:08 +00:00
Micah Jerome Ellison
b511461cfa
Fix Unicode encoding failure in directory export when creating filenames from journal titles with certain characters (#1090)
Fix Unicode encoding failure in directory export when creating filenames from journal titles with certain characters
2020-11-21 15:41:08 -08:00
Jrnl Bot
046ebc7514 Update changelog 2020-11-21 23:21:21 +00:00
Jonathan Wren
cfdd05358a
Add ability to put --edit partly through a cli entry to move it to the editor (#1091)
also add some functionality to test suite to see what the editor file contents were and make assertions about it
2020-11-21 15:20:21 -08:00
Jrnl Bot
336936651f Update changelog 2020-11-21 23:19:54 +00:00
Jrnl Bot
09cd77e8dc
Update changelog 2020-11-21 15:18:25 -08:00
Jonathan Wren
d68b9e1ca1
More changelog fixes (#1092)
* add bot token since gh actions doesn't allow pushing to protected branch
* add a max for issues, since we keep getting rate limited
* add jrnl bot username to commit step
* change token for git repo
2020-11-21 15:11:58 -08:00
Jonathan Wren
142e6f597e
Changelog fixes (#1088)
* typo fix

* clean up changelog to match version tags
2020-11-21 11:47:30 -08:00
Jonathan Wren
514ee309b8
Add logo to readme (#1085)
* add logo to readme

* update url for image

* rename file to be more clear about where it goes
2020-11-21 11:22:54 -08:00
Jonathan Wren
e23c4b78b5
Add changelog generation workflow to github actions (#1086)
* Add changelog workflow to github actions, remove old script

This basically takes the exact script, and turns it into a workflow. The
only difference is that the new workflow doesn't detect a release build
like the script did (releases will be a separate workflow).

* remove old config file for changelog generator (it's in workflow now)

* whitespace change

* remove ableist language
2020-11-21 11:21:19 -08:00
Jonathan Wren
8ec661b8a3
get rid of travis and circle configs (in favor of github actions) (#1082)
* get rid of travis and circle configs (in favor of github actions)

* also remove gitlab
2020-11-14 13:54:37 -08:00
Jonathan Wren
616e33d2b4
Make changelog auto exclude stale and wontfix issues (#1081) 2020-11-14 13:15:06 -08:00
Micah Jerome Ellison
e75fa75e65
Wording update on CHANGELOG.md [ci-skip] 2020-11-14 12:56:13 -08:00
Jrnl Bot
96de70704d
Update changelog [ci skip] 2020-11-14 12:42:38 -08:00
Jonathan Wren
4d97110183
Add initial config for Github Actions (#1078)
* Add initial config to test github actions

* remove other CI configs so PR doesn't get bogged down

* add poetry

* skip failing test, update behave output

* add multiple python versions

* add test cache

* try to use matrix for python version

* try to cache pip installation

* add other OSes

* whitespace changes

* skip failing test on windows

* add pip cache

* take out pip cache

* clean up, add linting steps

* add release branch to testing

* clean up

* add initial a11y config for docs site

* take out junit for now

* add junit annotations

* try different junit reporter

* add junit annotations into same workflow

* linter fix

* make junit step always run

* more junit

* clean up

* disable a11y exit code for now (always pass)

* put back travis and circle so we can temporarily run everything in tandem

* fix for issues with secret tokens
2020-11-14 12:42:36 -08:00