Jonathan Wren
6d18e75559
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)
2022-06-11 12:15:49 -07:00
Jonathan Wren
ac05bc67ce
update prompt_action_entries to use new messaging functionality
2022-06-04 19:41:17 -07:00
Jonathan Wren
517c5220ee
fix merge bug
2022-06-04 19:32:12 -07:00
Jonathan Wren
15b86cae97
merge in develop
2022-06-04 19:28:11 -07:00
Jonathan Wren
178c9131b7
fix more tests
2022-06-04 19:12:12 -07:00
Jonathan Wren
920bc80d80
fix more tests
2022-06-04 19:03:00 -07:00
Jonathan Wren
57f53e96ce
fix more tests
2022-06-04 18:56:36 -07:00
Jonathan Wren
5cb46f572d
fix more tests
2022-06-04 17:08:29 -07:00
Jonathan Wren
c325ba38ea
fix linting issue
2022-06-04 17:07:41 -07:00
Jrnl Bot
c07cdbed3c
Update changelog [ci skip]
2022-06-04 22:15:16 +00:00
Kevin
c043f5058f
Fixed error related to display_format in config file for some values ( #1495 )
...
* Fixed error related to display_format in config file
Now _display_search_results tries to source the export arg from the
config file before dispaying search results.
* Add BDD test for original bug
* update unit test
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2022-06-04 15:13:30 -07:00
Jonathan van der Steege
e758986985
Create folder if config ends with (back)slash ( #1492 )
...
* Check config if FolderJournal and treat as so
* Add test for end of path is slash
* Code format correction
* Requested changes PR 1482
* Add info to doc about path of folder.
* Small addition to doc about folder journal
2022-06-04 13:20:51 -07:00
Jrnl Bot
1c35c6951d
Update changelog [ci skip]
2022-06-04 20:10:38 +00:00
Kevin
36121007b1
-not search parameter doesn't open editor ( #1490 )
2022-06-04 13:09:07 -07:00
Jonathan Wren
34df64c989
rework mocks in test suite for new messaging functionality
2022-05-28 15:13:27 -07:00
Jonathan Wren
d2f2967bc1
update message to use new functionality
2022-05-28 15:12:36 -07:00
Jonathan Wren
bf8e779c65
fix test by updating expected output
2022-05-28 13:52:44 -07:00
Jonathan Wren
a15807a46b
add more helpful output to then step
2022-05-28 13:52:33 -07:00
Jonathan Wren
1461f03511
update password mock to use rich console instead of getpass
2022-05-28 13:52:17 -07:00
Jonathan Wren
4636f1a3ef
move rich console into function so we can mock properly
2022-05-28 13:51:02 -07:00
Jonathan Wren
bdbd3ca2a6
fix typo in message key
2022-05-28 13:50:10 -07:00
Jonathan Wren
71eb7462be
update encrypted journal prompt to use new messaging functionality
2022-05-28 13:49:54 -07:00
Jrnl Bot
19d579fc5c
Update changelog [ci skip]
2022-05-28 18:54:06 +00:00
Jonathan van der Steege
bb0a6f5854
Fixed debug TypeError ( #1484 )
2022-05-28 11:52:10 -07:00
Jrnl Bot
7f91d512b8
Update changelog [ci skip]
2022-05-28 18:45:24 +00:00
dependabot[bot]
de6a90a5ee
Bump keyring from 23.5.0 to 23.5.1 ( #1487 )
...
Bumps [keyring](https://github.com/jaraco/keyring ) from 23.5.0 to 23.5.1.
- [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.5.0...v23.5.1 )
---
updated-dependencies:
- dependency-name: keyring
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-28 11:43:43 -07:00
Jonathan Wren
ebfc7bd965
rename screen_input to hide_input to be more clear
2022-05-28 10:29:04 -07:00
Jrnl Bot
fd8d64098f
Update changelog [ci skip]
2022-05-21 21:14:56 +00:00
Micah Jerome Ellison
11209b4b42
Document --change-time in web-based docs' command line reference ( #1471 )
...
* Document change-time in command line reference
* Keep mkdocs version under 1.3 both locally and for readthedocs
2022-05-21 14:13:24 -07:00
Jonathan van der Steege
663f151974
Prompt for password change when using 'jrnl --encrypt' on already encrypted journal ( #1477 )
...
* Create new password if journal already encrypted.
* Add test for encrypting already encrypted journal.
2022-05-21 14:11:55 -07:00
Jrnl Bot
7771afc1a7
Update changelog [ci skip]
2022-05-21 21:07:40 +00:00
Kevin
ea6df4705c
Always expand all paths (journals, templates, etc) ( #1468 )
...
* Refactored path expansion calls into a new path.py file
This also fixed bugs with relative journal and template paths.
* Update tests for new path functions
Also, make the tests specific to Windows, Mac & Linux
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2022-05-21 14:06:07 -07:00
Jrnl Bot
1ce7ce8bfc
Update changelog [ci skip]
2022-05-21 21:05:09 +00:00
Jonathan van der Steege
86c8466ae4
Show name of journal when creating a password/encrypting ( #1478 )
...
* Show name of journal when creating password
2022-05-21 14:03:18 -07:00
Jrnl Bot
55b72a49b6
Update changelog [ci skip]
2022-05-21 19:05:14 +00:00
Richard Schneider
33c9dce80d
Implement --change-time flag ( #1452 )
...
* Implement --change-time flag
* Remove todo from --change-time bdd folder journal tests
* Add warning when --change-time used with no matching entries
* Add a test to make sure running --change-time with nothing prints a warning and doesn't change anything
* Add prompt for --change-time
* Don't prompt for --change-time when used with --edit and only one entry
* When using --edit and --change-time, change the time before editing
* Add test for --change-time used with --edit
* Modify failing --change-time test to conform to text in develop branch
2022-05-21 12:03:27 -07:00
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