Commit graph

1488 commits

Author SHA1 Message Date
Jonathan Wren
32ab358bc2 WIP 2022-05-18 12:27:06 -07:00
Jonathan Wren
fabcd53c6f clean up misc linting 2022-05-17 12:58:07 -07:00
Jonathan Wren
1a6afd9f4a clean up create_password function 2022-05-17 12:34:19 -07:00
Jonathan Wren
70157303d4 clean up print_msgs function 2022-05-17 12:04:24 -07:00
Jonathan Wren
13b1046a05 reduce the debug output slightly 2022-05-17 11:02:21 -07:00
Jonathan Wren
4e4125155c rewrite yesno function to use new centralized messages 2022-05-17 11:01:34 -07:00
Jonathan Wren
3381ca752c update exception for new exception handling 2022-05-17 08:43:49 -07:00
Jonathan Wren
d58cb31241 update debug output after uncaught exception 2022-05-17 08:37:02 -07:00
Jonathan Wren
a1758d5e9a fix missing import 2022-05-16 12:09:00 -07:00
Jonathan Wren
222a6969e6 fix bug with panel titles always showing 'error' after one error 2022-05-16 12:06:07 -07:00
Jonathan Wren
59e3477043 fix misc linting 2022-05-16 12:05:38 -07:00
Jonathan Wren
fcb8b2203e fix missing newline for keyboard interrupts 2022-05-16 12:05:14 -07:00
Jonathan Wren
082e665a50 update create_password and yesno prompt functions for new messaging 2022-05-16 12:04:08 -07:00
Jonathan Wren
e5fdf72fb6 Move around code to separate concerns of each function a bit more 2022-05-07 13:13:42 -07:00
Jonathan Wren
782b14c0f6 add comment 2022-05-07 13:13:42 -07:00
Jonathan Wren
16755f849a rework MsgType into MsgStyle so messages can have different styles 2022-05-07 13:13:41 -07:00
Jonathan Wren
6f5a082075 whitespace changes 2022-05-07 13:13:10 -07:00
Jonathan Wren
fd930922db get rid of hardcoded text 2022-05-07 13:13:10 -07:00
Jonathan Wren
eeca1e2338 update text_exporter with new message handling, get rid of old color constants 2022-05-07 13:13:08 -07:00
Jonathan Wren
28712132b7 update deprecated_cmd to use new message handling 2022-05-07 13:12:28 -07:00
Jonathan Wren
8da4a991fe take out old comment 2022-05-07 13:12:28 -07:00
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