Commit graph

1612 commits

Author SHA1 Message Date
dependabot[bot]
611d6d7b11
Bump pyproject-flake8 from 0.0.1a4 to 0.0.1a5 (#1552)
Bumps [pyproject-flake8](https://github.com/csachs/pyproject-flake8) from 0.0.1a4 to 0.0.1a5.
- [Release notes](https://github.com/csachs/pyproject-flake8/releases)
- [Commits](https://github.com/csachs/pyproject-flake8/compare/v0.0.1a4...v0.0.1a5)

---
updated-dependencies:
- dependency-name: pyproject-flake8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-13 12:47:57 -07:00
Jrnl Bot
6f4df4b55e Update changelog [ci skip] 2022-07-30 19:52:53 +00:00
Jrnl Bot
6ade0da597 Increment version to v3.1-beta 2022-07-30 19:51:10 +00:00
Jrnl Bot
a78632768c Update changelog [ci skip] 2022-07-30 19:48:19 +00:00
outa
62f65ce3b9
Update tzlocal to v4.x and remove pytz dependency (#1528)
* Update tzlocal to v4.x and remove pytz dependency
* Avoid `unwrap_shim` method
* Remove upper bound of tzlocal version
2022-07-30 12:46:43 -07:00
Jrnl Bot
049d2a72c8 Update changelog [ci skip] 2022-07-30 19:46:19 +00:00
dependabot[bot]
94d126b0c8
Bump poethepoet from 0.15.0 to 0.16.0 (#1542)
Bumps [poethepoet](https://github.com/nat-n/poethepoet) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/nat-n/poethepoet/releases)
- [Commits](https://github.com/nat-n/poethepoet/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: poethepoet
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-30 12:43:57 -07:00
Jrnl Bot
e233ab4a74 Update changelog [ci skip] 2022-07-30 19:35:48 +00:00
dependabot[bot]
506cc664b2
Bump rich from 12.4.4 to 12.5.1 (#1538)
Bumps [rich](https://github.com/willmcgugan/rich) from 12.4.4 to 12.5.1.
- [Release notes](https://github.com/willmcgugan/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](https://github.com/willmcgugan/rich/compare/v12.4.4...v12.5.1)

---
updated-dependencies:
- dependency-name: rich
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-30 12:34:09 -07:00
Jrnl Bot
2d15a7a5cf Update changelog [ci skip] 2022-07-30 19:23:51 +00:00
Jonathan van der Steege
80bfff384e
Add linewrap option 'auto' (#1507)
* Add linewrap option 'auto'

* Specify the exception thrown

* Add BDD test

* Specify name instead of number

* Create test for linewrap auto and fancy format

* Fix linewrap auto for fancy format
2022-07-30 12:22:04 -07:00
dependabot[bot]
252c63f4dd
Bump yq from 3.0.2 to 3.1.0 (#1546)
Bumps [yq](https://github.com/kislyuk/yq) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/kislyuk/yq/releases)
- [Changelog](https://github.com/kislyuk/yq/blob/develop/Changes.rst)
- [Commits](https://github.com/kislyuk/yq/compare/v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: yq
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-30 12:20:50 -07:00
Kevin
08c366d950
Fixed index out of range error in fancy exporter (#1522) 2022-07-30 12:16:56 -07:00
Jrnl Bot
7b5106dd08 Update changelog [ci skip] 2022-07-30 19:03:58 +00:00
dependabot[bot]
24ee35b95b
Bump keyring from 23.6.0 to 23.7.0 (#1539)
Bumps [keyring](https://github.com/jaraco/keyring) from 23.6.0 to 23.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/v23.6.0...v23.7.0)

---
updated-dependencies:
- dependency-name: keyring
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-30 12:02:02 -07:00
Jonathan Wren
ec8bbd2187
update formatting function to better account for indenting (#1541) 2022-07-16 14:45:13 -07:00
Jrnl Bot
e695180049 Update changelog [ci skip] 2022-07-16 21:22:57 +00:00
Jonathan van der Steege
3a5316cedc
Check for duplicate keys in config file (#1511)
* Check for duplicate keys in config file
* Corrected BDD tests
* Unneeded check removed
* Make use of ruamel DuplicateKeyError exception
* Remove unneeded import and function
* slightly reword warning message
* fix merge conflicts
* update tests

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2022-07-16 14:21:21 -07:00
Jonathan Wren
c45bed7f6c
Disable gherkin reporter to fix failing test suite (#1540) 2022-07-16 14:13:48 -07:00
Jrnl Bot
ca1f2a76d8 Update changelog [ci skip] 2022-07-09 19:03:51 +00:00
Jrnl Bot
50b320063a Increment version to v3.0 2022-07-09 19:02:32 +00:00
Jrnl Bot
bfe58a18e5 Update changelog [ci skip] 2022-07-09 18:56:09 +00:00
Jonathan Wren
db6f80d721
Limit pytest-bdd to <6.0 to temporarily avoid breaking changes (#1536)
This will unblock other tests for now
2022-07-09 11:54:15 -07:00
Jrnl Bot
0279637fe4 Update changelog [ci skip] 2022-06-25 21:47:37 +00:00
Jrnl Bot
97cb7a678e Increment version to v3.0-beta2 2022-06-25 21:46:02 +00:00
Jonathan Wren
0f2962a95f
Add and run isort on Python files (#1520)
* add and run isort

* udpate more import statements

* fix typo
2022-06-25 14:43:32 -07:00
Jonathan Wren
20254f7434
Run tests in parallel (#1519)
* Clean up pyproject file

This reduces the differences between local tasks and tasks run in the CI
pipelines

* remove linting step (it's part of test now)

* remove useless arg

* add xdist for parallel test execution in pytest
2022-06-25 13:12:52 -07:00
Jrnl Bot
3fd109b6cd Update changelog [ci skip] 2022-06-25 19:48:47 +00:00
Kevin
8b955ef002
Add bdd tests for jrnl installation (#1513)
* Added bdd tests for jrnl installation
2022-06-25 12:47:05 -07:00
Jonathan Wren
23bc0f2c8f
Reduce difference between local and CI environments (#1518)
* Clean up pyproject file

This reduces the differences between local tasks and tasks run in the CI
pipelines

* remove linting step (it's part of test now)

* remove useless arg
2022-06-25 12:45:39 -07:00
Jrnl Bot
856f361271 Update changelog [ci skip] 2022-06-25 19:01:37 +00:00
dependabot[bot]
e531d575be
Bump poethepoet from 0.13.1 to 0.14.0 (#1514)
Bumps [poethepoet](https://github.com/nat-n/poethepoet) from 0.13.1 to 0.14.0.
- [Release notes](https://github.com/nat-n/poethepoet/releases)
- [Commits](https://github.com/nat-n/poethepoet/compare/v0.13.1...v0.14.0)

---
updated-dependencies:
- dependency-name: poethepoet
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 11:59:41 -07:00
dependabot[bot]
c0ebf12cc8
Bump cryptography from 37.0.2 to 37.0.3 (#1516)
Bumps [cryptography](https://github.com/pyca/cryptography) from 37.0.2 to 37.0.3.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/37.0.2...37.0.3)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 11:59:09 -07:00
Kevin
ed4f8eacea
Display message when no edits take place (#1510) 2022-06-25 11:58:31 -07:00
Jonathan Wren
28051046d5
Update maintainer email (#1515) 2022-06-25 11:51:19 -07:00
Jrnl Bot
5fb5e1140a Update changelog [ci skip] 2022-06-18 18:56:04 +00:00
Jonathan Wren
7dccc469b5
Implement Tox for testing (#1504)
* Get rid of `make` in favor of `poe`
This moves the tasks that were previously in Makefile, into
pyproject.toml (with all the other config)

This is also more inclusive of Windows developers since they only need
Python, and no longer have to install make separately.

* update docs
* don't make code blocks also links
* implement tox for testing
* update command to use new task runner
2022-06-18 11:54:28 -07:00
Jonathan Wren
bd590213a1
Stop hardcoding bot info in some pipelines (#1506) 2022-06-18 11:53:20 -07:00
Jonathan Wren
fe2b976849
update cache for accessibility tests (to match other tests) (#1505) 2022-06-18 11:51:51 -07:00
Jrnl Bot
2981de95b0 Update changelog [ci skip] 2022-06-18 18:39:06 +00:00
Jonathan Wren
51ab747019
Replace make with python alternative (poe) (#1503)
* Get rid of `make` in favor of `poe`

This moves the tasks that were previously in Makefile, into
pyproject.toml (with all the other config)

This is also more inclusive of Windows developers since they only need
Python, and no longer have to install make separately.

* udpate docs

* don't make code blocks also links
2022-06-18 11:36:56 -07:00
Jrnl Bot
c1c70e643a Update changelog [ci skip] 2022-06-18 18:32:43 +00:00
Jonathan Wren
f5e052937c
Update copyright year (#1502)
Update copyright year in comment headers and --version output
2022-06-18 11:30:56 -07:00
Jrnl Bot
9639c5386f Update changelog [ci skip] 2022-06-11 21:11:01 +00:00
Jrnl Bot
7e7d374263 Increment version to v3.0-beta 2022-06-11 21:09:10 +00:00
Jrnl Bot
37ef1d9bc6 Update changelog [ci skip] 2022-06-11 21:08:07 +00:00
Micah Jerome Ellison
86bc9bfd80
Add Python 3.11 to PR tests (#1500)
* Add Python 3.11 to PR tests
* Add testing_prs to trigger for testing PRs
2022-06-11 14:06:02 -07:00
Jonathan Wren
f53110c69b
Rework how all output and messaging works in jrnl (#1475)
* fix missed statement from last PR
* replace print statement for adding an entry to a journal
* clean up linting and format
* change print statement over to new print_msg function
* make print_msg always print to stderr
* change print statement over to new print_msg function
* update importer to use new message function
* update yaml format to use new message function
* code cleanup
* update yaml format to use new message function
* update yaml format to use new exception handling
* update Journal class to use new message function
* update install module to use new message function
* update config module to use new message function
* update upgrade module to properly use new message and exception handling
* fix typo
* update upgrade module to use new message handling
* update welcome message to use new handling
* update upgrade module to use new message handling
* update upgrade module journal summaries to use new message handling
* take out old code
* update upgrade module to use new message handling
* update upgrade module to use new message handling
* update more modules to use new message handling
* take out old comment
* update deprecated_cmd to use new message handling
* update text_exporter with new message handling, get rid of old color constants
* get rid of hardcoded text
* whitespace changes
* rework MsgType into MsgStyle so messages can have different styles
* add comment
* Move around code to separate concerns of each function a bit more
* update create_password and yesno prompt functions for new messaging
* fix missing newline for keyboard interrupts
* fix misc linting
* fix bug with panel titles always showing 'error' after one error
* fix missing import
* update debug output after uncaught exception
* update exception for new exception handling
* rewrite yesno function to use new centralized messages
* reduce the debug output slightly
* clean up print_msgs function
* clean up create_password function
* clean up misc linting
* rename screen_input to hide_input to be more clear
* update encrypted journal prompt to use new messaging functionality
* fix typo in message key
* move rich console into function so we can mock properly
* update password mock to use rich console instead of getpass
* add more helpful output to then step
* fix test by updating expected output
* update message to use new functionality
* rework mocks in test suite for new messaging functionality
* fix linting issue
* fix more tests
* fix more tests
* fix more tests
* fix more tests
* fix merge bug
* update prompt_action_entries to use new messaging functionality
* Add new input_method "type"
  This does the same thing as input_method "pipe" but is more clear what
  it's doing (typing text into the builtin composer)
* get rid of old commented code
* get rid of unused code
* move some files around

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2022-06-11 13:32:11 -07:00
Jrnl Bot
4d683a13c0 Update changelog [ci skip] 2022-06-11 18:41:17 +00:00
dependabot[bot]
e2978029a5
Bump pyxdg from 0.27 to 0.28 (#1497)
Bumps [pyxdg](https://github.com/takluyver/pyxdg) from 0.27 to 0.28.
- [Release notes](https://github.com/takluyver/pyxdg/releases)
- [Changelog](https://github.com/takluyver/pyxdg/blob/master/ChangeLog)
- [Commits](https://github.com/takluyver/pyxdg/compare/rel-0.27...rel-0.28)

---
updated-dependencies:
- dependency-name: pyxdg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-11 11:39:09 -07:00