Commit graph

1467 commits

Author SHA1 Message Date
Jonathan Wren
9eb3e1684b update more modules to use new message handling 2022-05-07 13:12:28 -07:00
Jonathan Wren
48d36ecad9 update upgrade module to use new message handling 2022-05-07 13:12:28 -07:00
Jonathan Wren
3ccf695f50 update upgrade module to use new message handling 2022-05-07 13:12:28 -07:00
Jonathan Wren
03c0ae33f0 take out old code 2022-05-07 13:12:28 -07:00
Jonathan Wren
1b6c3edbd3 update upgrade module journal summaries to use new message handling 2022-05-07 13:12:28 -07:00
Jonathan Wren
93650f9927 update upgrade module to use new message handling 2022-05-07 13:12:28 -07:00
Jonathan Wren
f1119e1593 update welcome message to use new handling 2022-05-07 13:12:28 -07:00
Jonathan Wren
cd464eebe0 update upgrade module to use new message handling 2022-05-07 13:12:28 -07:00
Jonathan Wren
cf5b177d1d fix typo 2022-05-07 13:12:28 -07:00
Jonathan Wren
9c030ac790 update upgrade module to properly use new message and exception handling 2022-05-07 13:12:28 -07:00
Jonathan Wren
8088083737 update config module to use new message function 2022-05-07 13:12:28 -07:00
Jonathan Wren
2df7419ac1 update install module to use new message function 2022-05-07 13:12:28 -07:00
Jonathan Wren
7690594aac update Journal class to use new message function 2022-05-07 13:12:28 -07:00
Jonathan Wren
6945d6a535 update yaml format to use new exception handling 2022-05-07 13:12:26 -07:00
Jonathan Wren
7eb385d0bb update yaml format to use new message function 2022-05-07 13:12:09 -07:00
Jonathan Wren
af220be35f code cleanup 2022-05-07 13:12:09 -07:00
Jonathan Wren
7ded211ff8 update yaml format to use new message function 2022-05-07 13:12:07 -07:00
Jonathan Wren
c16aa42d6c update importer to use new message function 2022-05-07 13:11:47 -07:00
Jonathan Wren
42373760ff change print statement over to new print_msg function 2022-05-07 13:11:47 -07:00
Jonathan Wren
0fc8bcfbc2 make print_msg always print to stderr 2022-05-07 13:11:47 -07:00
Jonathan Wren
f142c912e2 change print statement over to new print_msg function 2022-05-07 13:11:47 -07:00
Jonathan Wren
253b80740a clean up linting and format 2022-05-07 13:11:47 -07:00
Jonathan Wren
4b9fe0cd4f WIP 2022-05-07 13:11:46 -07:00
Jonathan Wren
f1bd01594e replace print statement for adding an entry to a journal 2022-05-07 13:10:16 -07:00
Jonathan Wren
e130f26cf1 fix missed statement from last PR 2022-05-07 13:10:13 -07:00
Jrnl Bot
e6ed64ac7a Update changelog [ci skip] 2022-05-07 19:21:16 +00:00
Kevin
8458cdb06f
Fixed -not option with no arguments bug (#1466) 2022-05-07 12:19:37 -07:00
Jrnl Bot
4dacd86bc3 Update changelog [ci skip] 2022-05-07 19:15:14 +00:00
Jonathan van der Steege
792f188ecc
Give a proper message when trying to use an empty config file (#1461)
* Added check for empty config file and if so, use default config

* Added check for empty config file and if so, use default config

* Fix and add tests for empty config file

* Exit program with message if config is empty.
bdd-test doesn't add version if file is (and should stay) empty.

* Exit program with message if config is empty.

* bdd-test doesn't add version if file is (and should stay) empty.

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2022-05-07 12:13:36 -07:00
Jrnl Bot
71c1d38d50 Update changelog [ci skip] 2022-05-07 18:12:57 +00:00
Kevin
74200f8dc4
Yaml export errors now don't show stack trace (#1449)
* Yaml export errors now don't show stacktrace

* Add test for user-friendly error when exporting YAML to a nonexistent directory

* Leave partially written to files after export error

* unskip working tests

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2022-05-07 11:11:00 -07:00
Jrnl Bot
048c9d40e7 Update changelog [ci skip] 2022-05-07 17:51:26 +00:00
dependabot[bot]
41e4b81192
Bump cryptography from 37.0.1 to 37.0.2 (#1467)
Bumps [cryptography](https://github.com/pyca/cryptography) from 37.0.1 to 37.0.2.
- [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.1...37.0.2)

---
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-05-07 10:49:23 -07:00
Jrnl Bot
6a12853b65 Update changelog [ci skip] 2022-04-30 19:41:10 +00:00
Kevin
d6d6db0aa3
Display "No entry to save, because no text was received" after empty entry on cmdline (#1459)
* Display "Entry not saved" after empty entry on cmdline
* update error message
2022-04-30 12:39:36 -07:00
Jrnl Bot
d21398ee60 Update changelog [ci skip] 2022-04-30 18:30:34 +00:00
dependabot[bot]
2b3cf88097
Bump pytest from 7.1.1 to 7.1.2 (#1458)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.1...7.1.2)

---
updated-dependencies:
- dependency-name: pytest
  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-04-30 11:29:03 -07:00
dependabot[bot]
e2f0f8cc9b
Bump cryptography from 36.0.2 to 37.0.1 (#1462)
Bumps [cryptography](https://github.com/pyca/cryptography) from 36.0.2 to 37.0.1.
- [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/36.0.2...37.0.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-30 11:28:34 -07:00
Jrnl Bot
97f326a59c Update changelog [ci skip] 2022-04-16 18:31:52 +00:00
dependabot[bot]
4d72f0be62
Bump pyproject-flake8 from 0.0.1a3 to 0.0.1a4 (#1447)
Bumps [pyproject-flake8](https://github.com/csachs/pyproject-flake8) from 0.0.1a3 to 0.0.1a4.
- [Release notes](https://github.com/csachs/pyproject-flake8/releases)
- [Commits](https://github.com/csachs/pyproject-flake8/compare/v0.0.1a3...v0.0.1a4)

---
updated-dependencies:
- dependency-name: pyproject-flake8
  dependency-type: direct:development
  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-04-16 11:29:53 -07:00
Jrnl Bot
3d036256b2 Update changelog [ci skip] 2022-04-09 21:00:41 +00:00
dependabot[bot]
96d45847f9
Bump pyproject-flake8 from 0.0.1a2 to 0.0.1a3 (#1440)
Bumps [pyproject-flake8](https://github.com/csachs/pyproject-flake8) from 0.0.1a2 to 0.0.1a3.
- [Release notes](https://github.com/csachs/pyproject-flake8/releases)
- [Commits](https://github.com/csachs/pyproject-flake8/compare/v0.0.1a2...v0.0.1a3)

---
updated-dependencies:
- dependency-name: pyproject-flake8
  dependency-type: direct:development
  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-04-09 13:58:58 -07:00
dependabot[bot]
026cafad3f
Bump mkdocs from 1.2.3 to 1.3.0 (#1441)
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.2.3 to 1.3.0.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.2.3...1.3.0)

---
updated-dependencies:
- dependency-name: mkdocs
  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-04-09 13:58:43 -07:00
dependabot[bot]
2c626844ef
Bump black from 22.1.0 to 22.3.0 (#1442)
Bumps [black](https://github.com/psf/black) from 22.1.0 to 22.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.1.0...22.3.0)

---
updated-dependencies:
- dependency-name: black
  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-04-09 13:58:21 -07:00
Jrnl Bot
650aeb387b Update changelog [ci skip] 2022-03-26 18:50:20 +00:00
Micah Jerome Ellison
23839305d8
Pin jinja2 in docs requirements to keep readthedocs builds from failing (#1439)
* Attempt to pin jinja requirement to keep readthedocs from failing
* Change read the docs Python version from 3.7 to 3.10
* Unpin jinja and remove deprecated python version setting
* Try pinning to jinja 3.0.3
* Fix "jinja2" (instead of "jinja")
2022-03-26 11:48:41 -07:00
Jrnl Bot
17e09df050 Update changelog [ci skip] 2022-03-26 18:36:47 +00:00
Micah Jerome Ellison
d405e92292
Remove sample format and its asteval dependency (#1436) 2022-03-26 11:35:14 -07:00
Jrnl Bot
a969f9b3fb Update changelog [ci skip] 2022-03-26 18:25:14 +00:00
dependabot[bot]
a40d4536f6
Bump pytest from 7.0.1 to 7.1.1 (#1430)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.1 to 7.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.0.1...7.1.1)

---
updated-dependencies:
- dependency-name: pytest
  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-03-26 11:23:28 -07:00