Commit graph

1177 commits

Author SHA1 Message Date
Suhas
77ac858aad update tests and imports for removal of _export_journal 2021-03-03 08:20:19 -05:00
Suhas
b1adedb575
Update jrnl/jrnl.py with suggestion
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-03-03 07:59:59 -05:00
Suhas
0a6e5f94c0 Address code review
make the test perform actual qualification

make format

update other test as well

remove unnecessary mock

reset .gitignore to e6c0a16342

delete pretty.yaml

remove launch.json

reorder mocks

convert scenario to scenario outline for behavioral coverage

fix scenario syntax

comment out problematic step; add password handling

reorder import

meld conditional code

rework melded export logic

update code to be exercised in test
2021-02-27 21:14:49 -05:00
sriniv27
edc8cd93e3 address formatting 2021-02-13 19:54:53 -05:00
Suhas
9b2633a7c5 fix bad mock import 2021-02-06 21:35:13 -05:00
Suhas
e0f7736a32 make format 2021-02-06 21:32:40 -05:00
Suhas
9d60911a14 update unittest 2021-02-06 21:28:50 -05:00
Suhas
694ba3bad6 unittest export_journal 2021-02-06 20:48:07 -05:00
Suhas
ac0233a162 behave test and dummy short exporter 2021-02-06 20:24:55 -05:00
Suhas
ddebb67f85 match indentation to rest of file 2021-02-06 20:15:01 -05:00
Suhas
2642cdef22 first cut at wrapper method to export journals 2021-02-06 20:14:36 -05:00
Suhas
6e3574c529 define dummy exporter type pretty 2021-02-06 20:14:13 -05:00
Suhas
1bd5931c43 delete remaining unneded code 2021-02-06 20:04:13 -05:00
Suhas
06f5ef3682 Revert "Revert "config file for pretty formatting""
This reverts commit cc9a2f1ad0.
2021-02-06 19:54:30 -05:00
Suhas
afc48bb4ea delete prettyexporter 2021-02-06 18:58:41 -05:00
Suhas
cc9a2f1ad0 Revert "config file for pretty formatting"
This reverts commit 3d69131411.
2021-02-06 18:57:20 -05:00
Suhas
166ca60568 Revert "make color handling more robust"
This reverts commit ce930a27a1.
2021-02-06 18:56:27 -05:00
Suhas
457375dbe6 Revert "make format"
This reverts commit ddb62b7cb3.
2021-02-06 18:55:44 -05:00
Suhas
ddb62b7cb3 make format 2021-02-04 09:15:02 -05:00
Suhas
b8daeec6b9 fix linting errors 2021-02-04 09:12:40 -05:00
Suhas
ca45c7634c base .vscode/launch.json and ignore further user modifications from SCM 2021-02-04 08:54:08 -05:00
Suhas
be8c48d2b0 formatting for pretty exporter 2021-02-04 08:53:00 -05:00
Suhas
c9404d013d rework core run() so config_upgrade can be tested 2021-02-04 08:52:46 -05:00
Suhas
ce930a27a1 make color handling more robust 2021-02-04 08:52:13 -05:00
Suhas
15efc56779 implement behave test steps for format --pretty 2021-02-04 08:51:33 -05:00
Suhas
1739cee1f0 basic colorize unittest 2021-02-04 08:49:53 -05:00
Suhas
bfb975b1bb update gitignore 2021-02-02 20:18:28 -05:00
Suhas
3d69131411 config file for pretty formatting 2021-02-02 20:18:22 -05:00
Suhas
2251cd3a2f include vscode debugging config 2021-02-02 20:18:07 -05:00
Suhas
d44a6e8d18 add pretty exporter 2021-02-02 20:14:54 -05:00
Suhas
1f8351a9f0 behavior test for format --pretty 2021-02-02 20:14:32 -05:00
Jrnl Bot
eca002ac29 Update changelog [ci skip] 2021-01-30 21:49:37 +00:00
dependabot[bot]
6e28b0b4a1
Bump keyring from 21.8.0 to 22.0.1 (#1168)
Bumps [keyring](https://github.com/jaraco/keyring) from 21.8.0 to 22.0.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/v21.8.0...v22.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 13:48:08 -08:00
dependabot[bot]
fbb40b75f6
Bump pytest from 6.2.1 to 6.2.2 (#1167)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.1...6.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 13:47:37 -08:00
Jonathan Wren
ea845a8408
Make journal selection behavior more consistent when there's a colon with no date (#1164) 2021-01-30 13:47:26 -08:00
Jrnl Bot
ac0c49918d Update changelog [ci skip] 2021-01-30 21:34:06 +00:00
Micah Jerome Ellison
bd1c5c3f62
Add brew and gitter badges to README 2021-01-30 13:31:24 -08:00
eshrh
8a78c34917
Support title splitting for fullwidth CJK terminals (#1163)
* Split by fullwidth terminals without spaces.
* Add test
* Update write.feature
2021-01-23 15:29:43 -08:00
Jrnl Bot
ef563c807f Update changelog [ci skip] 2021-01-23 22:51:22 +00:00
Jrnl Bot
a32070b08a Increment version to v2.7 2021-01-23 22:49:45 +00:00
Jrnl Bot
9f386163a4 Update changelog [ci skip] 2021-01-23 21:37:04 +00:00
Micah Jerome Ellison
897943857d
Simplify VS Code documentation for all platforms and add note about PATH variable (#1160) 2021-01-23 13:35:32 -08:00
Jrnl Bot
b535782621 Update changelog [ci skip] 2021-01-23 21:29:43 +00:00
dependabot[bot]
ea7357ca26
Bump pyyaml from 5.3.1 to 5.4.1 (#1158)
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4.1.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-23 13:27:54 -08:00
Jonathan Wren
f80f033d5d
fix typos 2021-01-17 11:22:02 -08:00
Jrnl Bot
99d0198530 Update changelog [ci skip] 2021-01-17 01:42:03 +00:00
Jonathan Wren
c06b5cf297
Fix homebrew release, add options for relase pipeline (#1154) 2021-01-16 17:40:09 -08:00
Jrnl Bot
2e254d55fb Update changelog [ci skip] 2021-01-16 23:22:56 +00:00
Jrnl Bot
b117c7a260 Increment version to v2.7-beta 2021-01-16 23:20:59 +00:00
Micah Jerome Ellison
9e6cd8820f
Fix OS compatibility issues for editors with spaces, slashes, and quotes (#1153)
* Fix inverted POSIX check, refactor os_compat, and add tests for it
* Fix missing parentheses and remove skip_win on test that is passing in Windows now
* Fix expected quotes in quoted args
* Make  output clearer on failing test
* Bringing skip_win back to test whose failure is a bit more complicated than expected
2021-01-16 15:19:11 -08:00