Commit graph

769 commits

Author SHA1 Message Date
Jrnl Bot
35432f8c70 Incrementing version to v2.1.1 2020-04-10 11:51:56 -07:00
Jonathan Wren
eb16fe1130 [#757] update mac python version test to match others 2020-04-10 11:51:56 -07:00
Jonathan Wren
f86fb18d5d [#757] Add fast finish option to travis 2020-04-10 11:51:56 -07:00
Jonathan Wren
d8967ae9d3 [#757] update caching for ci 2020-04-10 11:51:56 -07:00
Jonathan Wren
3c6b8058ff [#757] Be explicit about python versio so travis doesn't get confused 2020-04-10 11:51:56 -07:00
Jonathan Wren
b349f5c477 [#757] Group tests by python version 2020-04-10 11:51:56 -07:00
Jonathan Wren
52934a78e4 [#757] Add more Mac tests for each Python version 2020-04-10 11:51:56 -07:00
Jonathan Wren
aa49dc3eb5 [#757] Add more testing for Windows across multiple Python versions 2020-04-10 11:51:56 -07:00
Jonathan Wren
1b9748e5ce [#757] Clean up travis yaml file for readability 2020-04-10 11:51:55 -07:00
Jonathan Wren
8004ef59af [#757] Take out unneeded quotes around strings in yaml 2020-04-10 11:51:55 -07:00
Jonathan Wren
63f2901bf4 [#757] update CI logic to new format 2020-04-10 11:51:55 -07:00
Jonathan Wren
a704863121 [#757] add explicit os at root per travis config linter 2020-04-10 11:51:55 -07:00
Jonathan Wren
b6bd14fb27 [#757] add stage name to test stage to be explicit 2020-04-10 11:51:55 -07:00
Jonathan Wren
eb4b3ead51 [#757] Add quotes around environment variables to be a little safer 2020-04-10 11:51:55 -07:00
Jonathan Wren
a1392d9c49 [#757] Take out old code (no longer needed) 2020-04-10 11:51:55 -07:00
Jonathan Wren
424e67e23a [#757] Move deploy to it's own stage on CI so it doesn't run multiple
times
2020-04-10 11:51:55 -07:00
Manuel Ebert
58ddee3b49 Display header in mobile docs 2020-04-10 11:51:55 -07:00
Jrnl Bot
fc4fd803d6 Incrementing version to v2.1.1-beta 2020-04-10 11:51:55 -07:00
Peter Schmidbauer
8eb185f8a2 Add password confirmation dialog 2020-04-10 11:51:55 -07:00
MinchinWeb
70c946bc13 [Travis] add testing on Windows and Mac
See #739 (Python 3.8), #619 (Windows)
Appease the Travis gods
[Travis] no auto-ruby
[Travis] include a test in not UTC
see #742
[Travis] Add Python to PATH on Windows
[Travis] Windows: try Python 3.7 for cryptography wheels?
[Travis] Windows tests time out
2020-04-10 11:51:55 -07:00
Micah Jerome Ellison
24cd1d460b [GH-738] preventing readline usage on Windows - removes autocomplete on the install step for Windows users 2020-04-10 11:51:55 -07:00
Micah Jerome Ellison
ece057faa5 [GH-741] adding test for bug that displays all entries -on today 2020-04-10 11:51:55 -07:00
Jonathan Wren
10d8a32b64 Squashed commit of the following:
commit 75113187432939a51486422c3f70b3a9e2bcf0aa
Merge: 74d1854 47e10fb
Author: Jonathan Wren <9453067+wren@users.noreply.github.com>
Date:   Thu Oct 24 17:02:10 2019 -0700

    Merge pull request #665 from notbalanced/issue_662

    Fixes Issue #662 - Day names not treated consistently for new entry

commit 74d1854a4bba468221b4eee254bdee2bb40f5d5a
Merge: 97e4d6a 6a5726a
Author: Jonathan Wren <9453067+wren@users.noreply.github.com>
Date:   Sat Oct 5 15:30:57 2019 -0700

    Merge pull request #418 from philipsd6/2.0-fancy_exporter

    Add exporter to output entries inside unicode box character boxes

commit 47e10fbee7
Author: Craig Moyer <craig.moyer@gmail.com>
Date:   Sun Sep 29 19:06:53 2019 -0400

    Fix issue #662 to properly handle day names as new entry dates and
    command line (-on, -from, -to).

commit 9588913100
Author: Craig Moyer <craig.moyer@gmail.com>
Date:   Sun Sep 29 08:27:27 2019 -0400

    Syncing with jrnl-org/master

commit 4c68eb193d
Merge: 81dfebb 97e4d6a
Author: Craig Moyer <craig.moyer@gmail.com>
Date:   Sun Sep 29 07:52:02 2019 -0400

    Merge remote-tracking branch 'upstream/master' into 2.0-rc1-maebert

commit 81dfebb2c0
Author: Manuel Ebert <manuel@1450.me>
Date:   Mon Apr 29 20:34:18 2019 +0200

    export changes

commit 6a5726acd2
Author: Philip Douglass <philip@philipdouglass.com>
Date:   Fri Dec 22 20:56:36 2017 -0500

    Enable FancyExporter plugin

commit 3d1b226871
Author: Philip Douglass <philip@philipdouglass.com>
Date:   Fri Jan 29 11:17:41 2016 -0500

    Add exporter to output entries inside unicode box character boxes
2020-04-10 11:51:55 -07:00
Micah Jerome Ellison
b95193d05a [GH-693] cleaning up "Developing" section and adding a note about behave 2020-04-10 11:51:55 -07:00
Micah Jerome Ellison
f8fc5f4786 [GH-693] work so far on updating developer documentation 2020-04-10 11:51:55 -07:00
Aaron Lichtman
1fd1fcc00d Exit jrnl if no text entered into editor
Add test for aborting jrnl entry from editor
Use native mocking
Add comment explaining discrepancy between expected and asserted output
Fix check_empty_output method
Check message on stderr and patch subprocess.call
Add _mock_editor_function
Update features/steps/core.py
Add return from mock function
Add debug statements
Debug
Update features/steps/core.py
Move sys.exit() down
Fix test?
Fix test?
Fix test?
Clean up debug statements
Clean up debug statements
Remove extraneous code
Remove extra space
Add test for empty stdin input
Remove extra debug line
Fix test?
Fix test?
Update features/core.feature
Fix test?
Fix no stdin input test

Co-Authored-By: pspeter <peter.schmidb@gmail.com>
2020-04-10 11:51:55 -07:00
MinchinWeb
f9692b1f8d [Dayone] re-add tests
c.f. commit 7cbca9f60f
c.f. commit 398283a8db3177b1ae122e5b9d6a9d623cf9106f
[Dayone] Skip failing tests on Travis
Travis sets the timezone to UTC, which causes many tests to fail
2020-04-10 11:51:55 -07:00
Peter Schmidbauer
e912827396 Fix crash when no keyring backend available 2020-04-10 11:51:55 -07:00
Micah Jerome Ellison
e525ed8fe1 Adding "new" labels to new issues 2020-04-10 11:51:55 -07:00
Micah Jerome Ellison
e9d12f7a77 Adding 🆕 label to github issue templates
Escaping colon label with quotes in new issue templates
2020-04-10 11:51:55 -07:00
Peter Schmidbauer
3080d501f2 Clarify currently supported Python versions
The Python 3.8 build currently fails on travis, this should be dealt with in a future PR along with updating the travis config and pyproject.toml
2020-04-10 11:51:55 -07:00
Peter Schmidbauer
7f46d1a40a Fix handling of little-endian date format
Ever since version 2.0, when parsing a journal file, jrnl would not use
the custom date format string anymore. Instead, it relied on the
dateutil library to get the parsing right. This change was made to allow
people to change their date format without having to manually change
their file. However, this broke some existing date formats like
%d.%m.%Y, as it would falsely interpret the month as day and vice versa.
This commit adds some tests to catch this error and fixes it by trying
to parse the dates using the custom format first, only falling back to
dateutil when needed.
2020-04-10 11:51:55 -07:00
Peter Schmidbauer
9d8d6a83ae remove py2 remnants and use mocks in tests
fstring wip
Run pyupgrade
fix broken pyupgrade fstring
run pyupgrade on plugin dir
fixup! remove py2 remnants and use mocks in tests
small print bugfix
The file=sys.stderr was part of the format(), so an error got printed to
stdout
Drop use of codecs package
Use builtins.open() instead
fixup! remove py2 remnants and use mocks in tests
2020-04-10 11:51:55 -07:00
Peter Schmidbauer
b7e2e91af3 Prepare travis for upcoming poetry 1.0 release
The poetry version command will change in poetry 1.0 (see sdispater/poetry#1191). Without any argument, it won't bump the version anymore but instead just print the current version. This will break the current travis before_install. Let's pin poetry to ~0.12.17 for now and change it once poetry v1.0 releases.
2020-04-10 11:51:55 -07:00
Micah Jerome Ellison
47310f71a1 [GH-666] updating documentation to reflect v2 behavior:
* new config location and file type
* removing mentions of DayOne support
* removing mention of pip install jrnl[encrypted]
2020-04-10 11:51:55 -07:00
Rory O’Kane
374cae687a In Encryption docs, improve grammar and typography 2020-04-10 11:51:55 -07:00
Greg Bodnar
05234590eb Update docs
Add doc about extracting timestamps with no spaces
Timestamp formats may have no space between date and time components and
cause the script to fail.

In Encryption docs, explain how to prevent Fish history logging
2020-04-10 11:51:55 -07:00
Greg Bodnar
3a2f155a21 Add recipe to display random entry 2020-04-10 11:51:55 -07:00
Jrnl Bot
182b5cd35f Incrementing version to v2.1.post2 2020-04-10 11:51:55 -07:00
MinchinWeb
e65a6eed58 fix typos, spelling (#734) 2020-04-10 11:51:55 -07:00
Jrnl Bot
83974b7aa7 Incrementing version to v2.1-beta6 2020-04-10 11:51:55 -07:00
Jonathan Wren
851a367569 [#715] Make bot that will auto-increment version in code after deploy 2020-04-10 11:51:55 -07:00
MinchinWeb
c863659916 [Upgrade to 2.0] Expand User directory (#704) 2020-04-10 11:51:55 -07:00
Manuel Ebert
0dc3f1fb6e Updating Issue Template Workflow 2020-04-10 11:51:55 -07:00
Casper Weiss Bang
57960b3a51 Create templates for issues and pull requests 2020-04-10 11:51:55 -07:00
Jonathan Wren
f7953fdd61 ¯\_(ツ)_/¯
[#681] Update version handling in source and travis deployments
[#681] Appease the poetry gods
[#681] Separate local dev from pipeline releases
[#681] take out automated pages deployment (for now), since it broke the
site
2020-04-10 11:51:55 -07:00
Jonathan Wren
8c0c95d1f6 Poetry updates
update version and author emails
update makefile to use poetry for more things
remove faulty conditional
2020-04-10 11:51:55 -07:00
Jonathan Wren
0ea24da225 update requirements to include pyyaml >= 5.1 2020-04-10 11:51:55 -07:00
Manuel Ebert
a61658d453 Add Poetry config
Add deployment through poetry to travis
2020-04-10 11:51:55 -07:00
etienne
1affb9b7b5 Change pyYAML required version
Full Loader only avalaible from v5.1:
2020-04-10 11:51:55 -07:00