mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 12:08:31 +02:00
Merge branch 'develop' into contributing-doc-site
# Conflicts: # CONTRIBUTING.md # mkdocs.yml
This commit is contained in:
commit
7489ca76b7
132 changed files with 704 additions and 4867 deletions
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -14,11 +14,9 @@ Here are some key points to include in your description:
|
||||||
|
|
||||||
- [ ] I have read the [contributing doc](https://github.com/jrnl-org/jrnl/blob/develop/CONTRIBUTING.md).
|
- [ ] I have read the [contributing doc](https://github.com/jrnl-org/jrnl/blob/develop/CONTRIBUTING.md).
|
||||||
- [ ] I have included a link to the relevant issue number.
|
- [ ] I have included a link to the relevant issue number.
|
||||||
- [ ] I have tested this code locally.
|
|
||||||
- [ ] I have checked to ensure there aren't other open [pull requests](../pulls)
|
- [ ] I have checked to ensure there aren't other open [pull requests](../pulls)
|
||||||
for the same issue.
|
for the same issue.
|
||||||
- [ ] I have written new tests for these changes, as needed.
|
- [ ] I have written new tests for these changes, as needed.
|
||||||
- [ ] All tests pass.
|
|
||||||
<!--
|
<!--
|
||||||
NOTE: Your PR may not be reviewed if there are any failing tests. You can run
|
NOTE: Your PR may not be reviewed if there are any failing tests. You can run
|
||||||
tests locally with `make test` (see the contributing doc if you need help with
|
tests locally with `make test` (see the contributing doc if you need help with
|
||||||
|
|
20
.github/workflows/testing.yaml
vendored
20
.github/workflows/testing.yaml
vendored
|
@ -9,6 +9,7 @@ on:
|
||||||
- 'tests/**'
|
- 'tests/**'
|
||||||
- 'poetry.lock'
|
- 'poetry.lock'
|
||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
|
- '.github/workflows/testing.yaml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ develop ]
|
branches: [ develop ]
|
||||||
paths:
|
paths:
|
||||||
|
@ -17,6 +18,11 @@ on:
|
||||||
- 'tests/**'
|
- 'tests/**'
|
||||||
- 'poetry.lock'
|
- 'poetry.lock'
|
||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
|
- '.github/workflows/testing.yaml'
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash # needed to prevent Windows from using PowerShell
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -39,17 +45,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: poetry cache
|
- name: poetry cache # Change CACHE_STRING secret to bust the cache. Useful with minor Python version changes.
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: .venv
|
path: .venv
|
||||||
key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}-v2
|
key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}-${{ secrets.CACHE_STRING }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: ${{ matrix.python-version != '3.10-dev' }}
|
if: ${{ matrix.python-version != '3.10-dev' }}
|
||||||
run: |
|
run: |
|
||||||
echo '::group::poetry'
|
echo '::group::poetry'
|
||||||
pip install poetry
|
pip --disable-pip-version-check install poetry
|
||||||
poetry config --local virtualenvs.in-project true
|
poetry config --local virtualenvs.in-project true
|
||||||
echo '::endgroup::'
|
echo '::endgroup::'
|
||||||
|
|
||||||
|
@ -64,7 +70,7 @@ jobs:
|
||||||
if: ${{ matrix.python-version == '3.10-dev' }}
|
if: ${{ matrix.python-version == '3.10-dev' }}
|
||||||
run: |
|
run: |
|
||||||
echo '::group::poetry'
|
echo '::group::poetry'
|
||||||
pip install poetry==1.2.0a1
|
pip --disable-pip-version-check install poetry==1.2.0a2
|
||||||
poetry config --local virtualenvs.in-project true
|
poetry config --local virtualenvs.in-project true
|
||||||
echo '::endgroup::'
|
echo '::endgroup::'
|
||||||
|
|
||||||
|
@ -84,12 +90,8 @@ jobs:
|
||||||
if: ${{ matrix.python-version != '3.10-dev' && env.DEPS_INSTALLED == 'true' }}
|
if: ${{ matrix.python-version != '3.10-dev' && env.DEPS_INSTALLED == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
poetry run pflake8 --version
|
poetry run pflake8 --version
|
||||||
poetry run pflake8 jrnl features tests
|
poetry run pflake8 jrnl tests
|
||||||
|
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
if: ${{ env.DEPS_INSTALLED == 'true' }}
|
if: ${{ env.DEPS_INSTALLED == 'true' }}
|
||||||
run: poetry run pytest --junitxml=reports/pytest/results.xml
|
run: poetry run pytest --junitxml=reports/pytest/results.xml
|
||||||
|
|
||||||
- name: Test with behave
|
|
||||||
if: ${{ env.DEPS_INSTALLED == 'true' }}
|
|
||||||
run: poetry run behave --no-skipped --format progress2 --junit --junit-directory reports/behave
|
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -16,7 +16,6 @@ var
|
||||||
sdist
|
sdist
|
||||||
develop-eggs
|
develop-eggs
|
||||||
.installed.cfg
|
.installed.cfg
|
||||||
lib
|
|
||||||
lib64
|
lib64
|
||||||
.python-version
|
.python-version
|
||||||
|
|
||||||
|
|
50
CHANGELOG.md
50
CHANGELOG.md
|
@ -2,28 +2,66 @@
|
||||||
|
|
||||||
## [Unreleased](https://github.com/jrnl-org/jrnl/)
|
## [Unreleased](https://github.com/jrnl-org/jrnl/)
|
||||||
|
|
||||||
[Full Changelog](https://github.com/jrnl-org/jrnl/compare/v2.8.1...HEAD)
|
[Full Changelog](https://github.com/jrnl-org/jrnl/compare/v2.8.3...HEAD)
|
||||||
|
|
||||||
**Implemented enhancements:**
|
**Documentation:**
|
||||||
|
|
||||||
- Python 3.10 support [\#1270](https://github.com/jrnl-org/jrnl/issues/1270)
|
- Document folder journal and DayOne journal types [\#1326](https://github.com/jrnl-org/jrnl/issues/1326)
|
||||||
|
- Fix readme splash and add changelog link to readme [\#1339](https://github.com/jrnl-org/jrnl/pull/1339) ([micahellison](https://github.com/micahellison))
|
||||||
|
- Document journal types [\#1331](https://github.com/jrnl-org/jrnl/pull/1331) ([micahellison](https://github.com/micahellison))
|
||||||
|
|
||||||
|
**Packaging:**
|
||||||
|
|
||||||
|
- Bump pytz from 2021.1 to 2021.3 [\#1348](https://github.com/jrnl-org/jrnl/pull/1348) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
- Bump cryptography from 3.4.8 to 35.0.0 [\#1345](https://github.com/jrnl-org/jrnl/pull/1345) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
- Bump black from 21.8b0 to 21.9b0 [\#1343](https://github.com/jrnl-org/jrnl/pull/1343) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
- Bump keyring from 23.1.0 to 23.2.1 [\#1342](https://github.com/jrnl-org/jrnl/pull/1342) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
- Bump pytest from 6.2.4 to 6.2.5 [\#1334](https://github.com/jrnl-org/jrnl/pull/1334) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
- Bump black from 21.7b0 to 21.8b0 [\#1333](https://github.com/jrnl-org/jrnl/pull/1333) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
|
||||||
|
## [v2.8.3](https://pypi.org/project/jrnl/v2.8.3/) (2021-09-06)
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/jrnl-org/jrnl/compare/v2.8.3-beta...v2.8.3)
|
||||||
|
|
||||||
|
**Fixed bugs:**
|
||||||
|
|
||||||
|
- Fix deletion of entries on folder journal through `--delete` flag [\#1328](https://github.com/jrnl-org/jrnl/pull/1328) ([micahellison](https://github.com/micahellison))
|
||||||
|
- Warn when DayOne/directory journals have encrypt: true in config [\#1325](https://github.com/jrnl-org/jrnl/pull/1325) ([micahellison](https://github.com/micahellison))
|
||||||
|
- Fix failure to import into directory journal [\#1314](https://github.com/jrnl-org/jrnl/pull/1314) ([micahellison](https://github.com/micahellison))
|
||||||
|
- Allow emoji in config file in Windows by always opening it as unicode [\#1313](https://github.com/jrnl-org/jrnl/pull/1313) ([micahellison](https://github.com/micahellison))
|
||||||
|
|
||||||
**Build:**
|
**Build:**
|
||||||
|
|
||||||
- Move test suite entirely to Pytest \(replace Behave\) [\#1192](https://github.com/jrnl-org/jrnl/issues/1192)
|
- Set bash as default shell [\#1324](https://github.com/jrnl-org/jrnl/pull/1324) ([micahellison](https://github.com/micahellison))
|
||||||
|
|
||||||
|
**Packaging:**
|
||||||
|
|
||||||
|
- Bump cryptography from 3.4.7 to 3.4.8 [\#1329](https://github.com/jrnl-org/jrnl/pull/1329) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
- Bump keyring from 23.0.1 to 23.1.0 [\#1318](https://github.com/jrnl-org/jrnl/pull/1318) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
|
||||||
|
## [v2.8.2](https://pypi.org/project/jrnl/v2.8.2/) (2021-07-31)
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/jrnl-org/jrnl/compare/v2.8.2-beta...v2.8.2)
|
||||||
|
|
||||||
|
**Build:**
|
||||||
|
|
||||||
|
- Add CI tests for latest dev Python build [\#1273](https://github.com/jrnl-org/jrnl/issues/1273)
|
||||||
|
- Fix lock file from stable Poetry version [\#1298](https://github.com/jrnl-org/jrnl/pull/1298) ([wren](https://github.com/wren))
|
||||||
|
- Change all YAML FullLoader calls to SafeLoader [\#1285](https://github.com/jrnl-org/jrnl/pull/1285) ([micahellison](https://github.com/micahellison))
|
||||||
- Remove useless shebangs and executable permissions [\#1283](https://github.com/jrnl-org/jrnl/pull/1283) ([musicinmybrain](https://github.com/musicinmybrain))
|
- Remove useless shebangs and executable permissions [\#1283](https://github.com/jrnl-org/jrnl/pull/1283) ([musicinmybrain](https://github.com/musicinmybrain))
|
||||||
- Add Python 3.10 support [\#1271](https://github.com/jrnl-org/jrnl/pull/1271) ([micahellison](https://github.com/micahellison))
|
- Add Python 3.10 support [\#1271](https://github.com/jrnl-org/jrnl/pull/1271) ([micahellison](https://github.com/micahellison))
|
||||||
|
- Ensure that line endings in all py files are Linux style instead of Windows [\#1250](https://github.com/jrnl-org/jrnl/pull/1250) ([micahellison](https://github.com/micahellison))
|
||||||
- Remove `--version` from brew release workflow [\#1233](https://github.com/jrnl-org/jrnl/pull/1233) ([wren](https://github.com/wren))
|
- Remove `--version` from brew release workflow [\#1233](https://github.com/jrnl-org/jrnl/pull/1233) ([wren](https://github.com/wren))
|
||||||
- Move test suite to Pytest \(replace Behave\) [\#1193](https://github.com/jrnl-org/jrnl/pull/1193) ([wren](https://github.com/wren))
|
- Move test suite to Pytest \(replace Behave\) [\#1193](https://github.com/jrnl-org/jrnl/pull/1193) ([wren](https://github.com/wren))
|
||||||
|
|
||||||
**Documentation:**
|
**Documentation:**
|
||||||
|
|
||||||
- Create security.md [\#1284](https://github.com/jrnl-org/jrnl/issues/1284)
|
|
||||||
- Document keyring security concerns on Windows, Mac [\#1142](https://github.com/jrnl-org/jrnl/issues/1142)
|
|
||||||
- Add documentation about saved passwords in Windows [\#1301](https://github.com/jrnl-org/jrnl/pull/1301) ([micahellison](https://github.com/micahellison))
|
- Add documentation about saved passwords in Windows [\#1301](https://github.com/jrnl-org/jrnl/pull/1301) ([micahellison](https://github.com/micahellison))
|
||||||
|
- Add security.md [\#1299](https://github.com/jrnl-org/jrnl/pull/1299) ([micahellison](https://github.com/micahellison))
|
||||||
|
|
||||||
**Packaging:**
|
**Packaging:**
|
||||||
|
|
||||||
|
- Bump mkdocs from 1.2.1 to 1.2.2 [\#1307](https://github.com/jrnl-org/jrnl/pull/1307) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
- Bump python-dateutil from 2.8.1 to 2.8.2 [\#1302](https://github.com/jrnl-org/jrnl/pull/1302) ([dependabot[bot]](https://github.com/apps/dependabot))
|
- Bump python-dateutil from 2.8.1 to 2.8.2 [\#1302](https://github.com/jrnl-org/jrnl/pull/1302) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
- Bump black from 21.5b1 to 21.5b2 [\#1254](https://github.com/jrnl-org/jrnl/pull/1254) ([dependabot[bot]](https://github.com/apps/dependabot))
|
- Bump black from 21.5b1 to 21.5b2 [\#1254](https://github.com/jrnl-org/jrnl/pull/1254) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
- Bump black from 21.5b0 to 21.5b1 [\#1244](https://github.com/jrnl-org/jrnl/pull/1244) ([dependabot[bot]](https://github.com/apps/dependabot))
|
- Bump black from 21.5b0 to 21.5b1 [\#1244](https://github.com/jrnl-org/jrnl/pull/1244) ([dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -25,12 +25,12 @@ unit: # unit tests
|
||||||
poetry run pytest tests/unit
|
poetry run pytest tests/unit
|
||||||
|
|
||||||
bdd: # bdd tests
|
bdd: # bdd tests
|
||||||
poetry run pytest tests/bdd --gherkin-terminal-reporter --tb=native --diff-type=unified
|
poetry run pytest tests/bdd --gherkin-terminal-reporter --tb=native
|
||||||
|
|
||||||
bdd-debug: # bdd tests
|
bdd-debug: # bdd tests
|
||||||
poetry run pytest tests/bdd --gherkin-terminal-reporter --tb=native --diff-type=unified -x -vv
|
poetry run pytest tests/bdd --gherkin-terminal-reporter --tb=native -x -vv
|
||||||
|
|
||||||
test: lint unit bdd ## Run unit tests and behave tests
|
test: lint unit bdd
|
||||||
|
|
||||||
build:
|
build:
|
||||||
poetry build
|
poetry build
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://jrnl.sh">
|
<a href="https://jrnl.sh">
|
||||||
<img align="center" src="https://github.com/jrnl-org/jrnl/blob/develop/docs_theme/assets/readme-header.png"/>
|
<img align="center" src="https://raw.githubusercontent.com/jrnl-org/jrnl/develop/docs_theme/assets/readme-header.png"/>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ jrnl
|
||||||
[](https://pypi.python.org/pypi/jrnl/)
|
[](https://pypi.python.org/pypi/jrnl/)
|
||||||
[](https://formulae.brew.sh/formula/jrnl)
|
[](https://formulae.brew.sh/formula/jrnl)
|
||||||
[](https://gitter.im/jrnl-org/jrnl)
|
[](https://gitter.im/jrnl-org/jrnl)
|
||||||
|
[](https://github.com/jrnl-org/jrnl/blob/develop/CHANGELOG.md)
|
||||||
====
|
====
|
||||||
|
|
||||||
_To get help, [submit an issue](https://github.com/jrnl-org/jrnl/issues/new/choose) on
|
_To get help, [submit an issue](https://github.com/jrnl-org/jrnl/issues/new/choose) on
|
||||||
|
|
61
docs/journal-types.md
Normal file
61
docs/journal-types.md
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
<!-- Copyright (C) 2012-2021 jrnl contributors
|
||||||
|
License: https://www.gnu.org/licenses/gpl-3.0.html -->
|
||||||
|
# Journal Types
|
||||||
|
`jrnl` can store your journal in a few different ways:
|
||||||
|
|
||||||
|
- a single text file (encrypted or otherwise)
|
||||||
|
- a folder structure organized by date containing unencrypted text files
|
||||||
|
- the DayOne Classic format
|
||||||
|
|
||||||
|
There is no need to specify what type of journal you'd like to use. Instead,
|
||||||
|
`jrnl` will automatically detect the journal type based on whether you're
|
||||||
|
referencing a file or a folder in your [config file](advanced.md),
|
||||||
|
and if it's a folder, whether or not DayOne Classic content exists in it.
|
||||||
|
|
||||||
|
## Single File
|
||||||
|
The single file format is the most flexible, as it can be [encrypted](encryption.md).
|
||||||
|
To use it, enter any path that is a file or does not already exist. You can
|
||||||
|
use any extension. `jrnl` will automatically create the file when you save
|
||||||
|
your first entry.
|
||||||
|
|
||||||
|
## Folder
|
||||||
|
The folder journal format organizes your entries into subfolders for the year
|
||||||
|
and month and `.txt` files for each day. If there are multiple entries in a day,
|
||||||
|
they all appear in the same `.txt` file.
|
||||||
|
|
||||||
|
The directory tree structure is in this format: `YYYY/MM/DD.txt`. For instance, if
|
||||||
|
you have an entry on May 5th, 2021 in a folder journal at `~/folderjournal`, it will
|
||||||
|
be located in: `~/folderjournal/2021/05/05.txt`
|
||||||
|
|
||||||
|
!!! note
|
||||||
|
When creating a new folder journal, you will need to create the folder before running
|
||||||
|
`jrnl`. Otherwise, when you run `jrnl` for the first time, it will assume that you
|
||||||
|
are creating a single file journal instead, and it will create a file at that path.
|
||||||
|
|
||||||
|
!!! note
|
||||||
|
Folder journals can't be encrypted.
|
||||||
|
|
||||||
|
## Day One Classic
|
||||||
|
`jrnl` supports the original data format used by DayOne. It's similar to the folder
|
||||||
|
journal format, except it's identified by either of these characteristics:
|
||||||
|
|
||||||
|
* the folder has a `.dayone` extension
|
||||||
|
* the folder has a subfolder named `entries`
|
||||||
|
|
||||||
|
This is not to be confused with the DayOne 2.0 format, [which is very different](https://help.dayoneapp.com/en/articles/1187337-day-one-classic-is-retired).
|
||||||
|
|
||||||
|
!!! note
|
||||||
|
DayOne Classic journals can't be encrypted.
|
||||||
|
|
||||||
|
## Changing your journal type
|
||||||
|
You can't simply modify a journal's configuration to change its type. Instead,
|
||||||
|
define a new journal as the type you'd like, and use
|
||||||
|
[piping](https://en.wikipedia.org/wiki/Redirection_(computing)#Piping)
|
||||||
|
to export your old journal as `txt` to an import command on your new journal.
|
||||||
|
|
||||||
|
For instance, if you have a `projects` journal you would like to import into
|
||||||
|
a `new` journal, you would run the following after setting up the configuration
|
||||||
|
for your `new` journal:
|
||||||
|
```
|
||||||
|
jrnl projects --format txt | jrnl new --import
|
||||||
|
```
|
|
@ -1,8 +0,0 @@
|
||||||
Feature: Build process
|
|
||||||
|
|
||||||
@deployment_tests
|
|
||||||
Scenario: Version numbers should stay in sync
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl --version"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should contain pyproject.toml version
|
|
|
@ -1,21 +0,0 @@
|
||||||
Feature: Functionality of jrnl outside of actually handling journals
|
|
||||||
|
|
||||||
Scenario: Displaying the version number
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl --version"
|
|
||||||
Then we should get no error
|
|
||||||
Then the output should match "^jrnl version v\d+\.\d+(\.\d+)?(-(alpha|beta)\d*)?"
|
|
||||||
|
|
||||||
Scenario: Displaying the version number
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl -v"
|
|
||||||
Then we should get no error
|
|
||||||
Then the output should match "^jrnl version v\d+\.\d+(\.\d+)?(-(alpha|beta)\d*)?"
|
|
||||||
|
|
||||||
Scenario: Running the diagnostic command
|
|
||||||
When we run "jrnl --diagnostic"
|
|
||||||
Then the output should contain "jrnl"
|
|
||||||
And the output should contain "Python"
|
|
||||||
|
|
||||||
@todo
|
|
||||||
Scenario: Listing available journals
|
|
|
@ -1,17 +0,0 @@
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: noop
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/basic_dayone.dayone
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,17 +0,0 @@
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: noop
|
|
||||||
encrypt: true
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/basic_encrypted.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,17 +0,0 @@
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: noop
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/basic_folder
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,17 +0,0 @@
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: noop
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/basic_onefile.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/brackets.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/bug153.dayone
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
template: false
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,13 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
template: false
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
simple: features/journals/simple.journal
|
|
||||||
work: features/journals/work.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/bug780.dayone
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
template: false
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: noop
|
|
||||||
template: false
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/dayone.dayone
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: noop
|
|
||||||
template: false
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/dayone_empty.dayone
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/deletion.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/deletion_filters.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: vim -f -c 'setf markdown'
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/simple.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: "vim"
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/simple.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: 'vim'
|
|
||||||
template: false
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/empty_folder
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
|
@ -1,17 +0,0 @@
|
||||||
colors:
|
|
||||||
body: green
|
|
||||||
date: blue
|
|
||||||
tags: none
|
|
||||||
title: yellow
|
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: "vim"
|
|
||||||
encrypt: true
|
|
||||||
template: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/encrypted.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
|
@ -1,18 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
editor: "vim"
|
|
||||||
journals:
|
|
||||||
default: features/journals/editor_markdown_extension.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: features/templates/extension.md
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
template: false
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/empty_folder
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
encrypt: true
|
|
||||||
template: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/encrypted.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"default_hour": 9,
|
|
||||||
"default_minute": 0,
|
|
||||||
"editor": "",
|
|
||||||
"encrypt": true,
|
|
||||||
"highlight": true,
|
|
||||||
"journals": {
|
|
||||||
"default": "features/journals/encrypted_jrnl-1-9-5.journal"
|
|
||||||
},
|
|
||||||
"linewrap": 80,
|
|
||||||
"tagsymbols": "@",
|
|
||||||
"timeformat": "%Y-%m-%d %H:%M"
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
encrypt: true
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/encrypted_jrnl1-9-5.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
|
@ -1,19 +0,0 @@
|
||||||
colors:
|
|
||||||
body: none
|
|
||||||
date: none
|
|
||||||
tags: none
|
|
||||||
title: none
|
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
display_format: markdown
|
|
||||||
editor: ''
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
indent_character: '|'
|
|
||||||
journals:
|
|
||||||
default: features/journals/simple.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
template: false
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
version: v2.4.5
|
|
|
@ -1,19 +0,0 @@
|
||||||
colors:
|
|
||||||
body: none
|
|
||||||
date: none
|
|
||||||
tags: none
|
|
||||||
title: none
|
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
display_format: text
|
|
||||||
editor: ''
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
indent_character: '|'
|
|
||||||
journals:
|
|
||||||
default: features/journals/simple.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
template: false
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
version: v2.4.5
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/simple.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: not-a-color
|
|
||||||
title: also-not-a-color
|
|
||||||
body: still-no-color
|
|
||||||
tags: me-too
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/little_endian_dates.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%d.%m.%Y %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
template: false
|
|
||||||
journals:
|
|
||||||
default: features/journals/markdown-headings-335.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/missing_directory/simple.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/missing.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/mostlyreadabledates.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/multiline-tags.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/multiline.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,18 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
template: false
|
|
||||||
journals:
|
|
||||||
default: features/journals/simple.journal
|
|
||||||
ideas: features/journals/nothing.journal
|
|
||||||
simple: features/journals/simple.journal
|
|
||||||
work: features/journals/work.journal
|
|
||||||
new_encrypted:
|
|
||||||
encrypt: true
|
|
||||||
journal: features/journals/new_encrypted.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
|
@ -1,12 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/simple.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/simple.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
template: false
|
|
||||||
journals:
|
|
||||||
default: features/journals/tags-216.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
template: false
|
|
||||||
journals:
|
|
||||||
default: features/journals/tags-237.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ''
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
template: false
|
|
||||||
journals:
|
|
||||||
default: features/journals/tags.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: '@'
|
|
||||||
timeformat: '%Y-%m-%d %H:%M'
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,17 +0,0 @@
|
||||||
default_hour: 9
|
|
||||||
default_minute: 0
|
|
||||||
editor: ""
|
|
||||||
encrypt: false
|
|
||||||
highlight: true
|
|
||||||
journals:
|
|
||||||
default: features/journals/unreadabledates.journal
|
|
||||||
linewrap: 80
|
|
||||||
tagsymbols: "@"
|
|
||||||
template: false
|
|
||||||
timeformat: "%Y-%m-%d %H:%M"
|
|
||||||
indent_character: "|"
|
|
||||||
colors:
|
|
||||||
date: none
|
|
||||||
title: none
|
|
||||||
body: none
|
|
||||||
tags: none
|
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"default_hour": 9,
|
|
||||||
"timeformat": "%Y-%m-%d %H:%M",
|
|
||||||
"linewrap": 80,
|
|
||||||
"encrypt": false,
|
|
||||||
"editor": "",
|
|
||||||
"default_minute": 0,
|
|
||||||
"highlight": true,
|
|
||||||
"journals": {"default": "features/journals/simple_jrnl-1-9-5.journal"},
|
|
||||||
"tagsymbols": "@"
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"default_hour": 9,
|
|
||||||
"timeformat": "%d.%m.%Y %H:%M",
|
|
||||||
"linewrap": 80,
|
|
||||||
"encrypt": false,
|
|
||||||
"editor": "",
|
|
||||||
"default_minute": 0,
|
|
||||||
"highlight": true,
|
|
||||||
"journals": {"default": "features/journals/simple_jrnl-1-9-5_little_endian_dates.journal"},
|
|
||||||
"tagsymbols": "@"
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"default_hour": 9,
|
|
||||||
"timeformat": "%Y-%m-%d %H:%M",
|
|
||||||
"linewrap": 80,
|
|
||||||
"encrypt": true,
|
|
||||||
"editor": "",
|
|
||||||
"default_minute": 0,
|
|
||||||
"highlight": true,
|
|
||||||
"journals": {"default": "features/journals/encrypted_jrnl-1-9-5.journal", "missing": "features/journals/missing.journal"},
|
|
||||||
"tagsymbols": "@"
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"default_hour": 9,
|
|
||||||
"timeformat": "%Y-%m-%d %H:%M",
|
|
||||||
"linewrap": 80,
|
|
||||||
"encrypt": false,
|
|
||||||
"editor": "",
|
|
||||||
"default_minute": 0,
|
|
||||||
"highlight": true,
|
|
||||||
"journals": {"default": "features/journals/simple_jrnl-1-9-5.journal", "missing": "features/journals/missing.journal"},
|
|
||||||
"tagsymbols": "@"
|
|
||||||
}
|
|
|
@ -1,53 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2020-08-29T18:11:00Z</date>
|
|
||||||
<key>Starred</key>
|
|
||||||
<false/>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string>Entry the first.
|
|
||||||
Lorem @ipsum dolor sit amet, consectetur adipiscing elit. Praesent malesuada
|
|
||||||
quis est ac dignissim. Aliquam dignissim rutrum pretium. Phasellus pellentesque
|
|
||||||
augue et venenatis facilisis. Suspendisse potenti. Sed dignissim sed nisl eu
|
|
||||||
consequat. Aenean ante ex, elementum ut interdum et, mattis eget lacus. In
|
|
||||||
commodo nulla nec tellus placerat, sed ultricies metus bibendum. Duis eget
|
|
||||||
venenatis erat. In at dolor dui. @tagone and maybe also @tagtwo.
|
|
||||||
|
|
||||||
Curabitur accumsan nunc ac neque tristique, eleifend faucibus justo
|
|
||||||
ullamcorper. Suspendisse at mattis nunc. Nullam eget lacinia urna. Suspendisse
|
|
||||||
potenti. Ut urna est, venenatis sed ante in, ultrices congue mi. Maecenas eget
|
|
||||||
molestie metus. Mauris porttitor dui ornare gravida porta. Quisque sed lectus
|
|
||||||
hendrerit, lacinia ante eget, vulputate ante. Aliquam vitae erat non felis
|
|
||||||
feugiat sagittis. Phasellus quis arcu fringilla, mattis ligula id, vestibulum
|
|
||||||
urna. Vivamus facilisis leo a mi tincidunt condimentum. Donec eu euismod enim.
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eu ligula eget
|
|
||||||
velit scelerisque fringilla. Phasellus pharetra justo et nulla fringilla, ac
|
|
||||||
porta sapien accumsan. Class aptent taciti sociosqu ad litora torquent per
|
|
||||||
conubia nostra, per inceptos himenaeos.</string>
|
|
||||||
<key>Time Zone</key>
|
|
||||||
<string>America/Los_Angeles</string>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>D04D335AFED711EABA18FAFFC2100C3D</string>
|
|
||||||
<key>Tags</key>
|
|
||||||
<array>
|
|
||||||
<string>ipsum</string>
|
|
||||||
<string>tagone</string>
|
|
||||||
<string>tagtwo</string>
|
|
||||||
</array>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string></string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2020-09-25T02:35:45Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>iris.lan</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>Darwin/19.3.0</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>jrnl/v2.4.5</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,55 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2020-08-31T21:32:00Z</date>
|
|
||||||
<key>Starred</key>
|
|
||||||
<false/>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string>A second entry in what I hope to be a long series.
|
|
||||||
Sed sit amet metus et sapien feugiat elementum. Aliquam bibendum lobortis leo
|
|
||||||
vitae tempus. Donec eleifend nec mi non volutpat. Lorem ipsum dolor sit amet,
|
|
||||||
consectetur adipiscing elit. Praesent ut sodales libero. Maecenas nisl lorem,
|
|
||||||
vestibulum in tempus sit amet, fermentum ut arcu. Donec vel vestibulum lectus,
|
|
||||||
eget pretium enim. Maecenas diam nunc, imperdiet vitae pharetra sed, pretium id
|
|
||||||
lectus. Donec eu metus et turpis tempor tristique ac non ex. In tellus arcu,
|
|
||||||
egestas at efficitur et, ultrices vel est. Sed commodo et nibh non elementum.
|
|
||||||
Mauris tempus vitae neque vel viverra. @tagtwo all by its lonesome.
|
|
||||||
|
|
||||||
Nulla mattis elementum magna, viverra pretium dui fermentum et. Cras vel
|
|
||||||
vestibulum odio. Quisque sit amet turpis et urna finibus maximus. Interdum et
|
|
||||||
malesuada fames ac ante ipsum primis in faucibus. Fusce porttitor iaculis sem,
|
|
||||||
non dictum ipsum varius nec. Nulla eu erat at risus gravida blandit non vel
|
|
||||||
ante. Nam egestas ipsum leo, eu ultricies ipsum tincidunt vel. Morbi a commodo
|
|
||||||
eros.
|
|
||||||
|
|
||||||
Nullam dictum, nisl ac varius tempus, ex tortor fermentum nisl, non
|
|
||||||
tempus dolor neque a lorem. Suspendisse a faucibus ex, vel ornare tortor.
|
|
||||||
Maecenas tincidunt id felis quis semper. Pellentesque enim libero, fermentum
|
|
||||||
quis metus id, rhoncus euismod magna. Nulla finibus velit eu purus bibendum
|
|
||||||
interdum. Integer id justo dui. Integer eu tellus in turpis bibendum blandit.
|
|
||||||
Quisque auctor lacinia consectetur.</string>
|
|
||||||
<key>Time Zone</key>
|
|
||||||
<string>America/Los_Angeles</string>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>FC8A86CAFED711EA8892FAFFC2100C3D</string>
|
|
||||||
<key>Tags</key>
|
|
||||||
<array>
|
|
||||||
<string>tagtwo</string>
|
|
||||||
</array>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string></string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2020-09-25T02:36:59Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>iris.lan</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>Darwin/19.3.0</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>jrnl/v2.4.5</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,44 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2020-09-24T16:14:00Z</date>
|
|
||||||
<key>Starred</key>
|
|
||||||
<true/>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string>The third entry finally after weeks without writing.
|
|
||||||
I'm so excited about emojis. 💯 🎶 💩
|
|
||||||
|
|
||||||
Donec semper pellentesque iaculis. Nullam cursus et justo sit amet venenatis.
|
|
||||||
Vivamus tempus ex dictum metus vehicula gravida. Aliquam sed sem dolor. Nulla
|
|
||||||
eget ultrices purus. Quisque at nunc at quam pharetra consectetur vitae quis
|
|
||||||
dolor. Fusce ultricies purus eu est feugiat, quis scelerisque nibh malesuada.
|
|
||||||
Quisque egestas semper nibh in hendrerit. Nam finibus ex in mi mattis
|
|
||||||
vulputate. Sed mauris urna, consectetur in justo eu, volutpat accumsan justo.
|
|
||||||
Phasellus aliquam lacus placerat convallis vestibulum. Curabitur maximus at
|
|
||||||
ante eget fringilla. @tagthree and also @tagone</string>
|
|
||||||
<key>Time Zone</key>
|
|
||||||
<string>America/Los_Angeles</string>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>FD8ABC8EFED711EABC35FAFFC2100C3D</string>
|
|
||||||
<key>Tags</key>
|
|
||||||
<array>
|
|
||||||
<string>tagthree</string>
|
|
||||||
<string>tagone</string>
|
|
||||||
</array>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string></string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2020-09-25T02:37:01Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>iris.lan</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>Darwin/19.3.0</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>jrnl/v2.4.5</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1 +0,0 @@
|
||||||
gAAAAABfb4gQBMqqGn_W8v_s7qCi14bX7inuCOKbsBqIUf7_ch14vTUp7lrysPFvhBp5vGijTwDIbk4LKoIISj8NwM31I8L0zEbMx9y6iyF_zseGGNxBvNN0wzAXa67bs-ohiQhhebcdIc_52sltxL2ELh8JAKUaXRwyapgnMgJ7z6deJppLK-B7RE7BiT0eKjWTDMd2x6cZDswvHs9opDp5yjuKWV5m7x6ggCKYgHT3savT9Tg7V0Fq6K3LGWaE59lCrqlAB0u6dnrDX3qcF4SKyckaniXzRShZGebdkUKDcLFun2V2syZwYQN772xjznIsJ16iXicox2uYKg8CnTefsyCwaOZyBvySGEy3CrlBiuIRIcxCtjKbYJ2B-Aq7LZitnBR7Ny_6_Wm8HsBf3N-cFCp4GShiCKrxuXKcOZ7vszG5EKb78JS85bb0mswU5CSdgp6UAHjIZqfJq00qQsViBCbXq3oklCPZXdQkOf5U0KpG2MVUiD-Zcn5Qj3gnUhSEr-5wKU9tWrE63MGPyE6KjZlArZX2W2LeGnW2CEYw9eREGon06AzLJ4mj3BgtjVWLIdGcCwORXvHRjUqazWgbEmXNVTbtp_cKnkW-rFzRBrUoVme9v-1Y3sH0VvHBq7QIj915VzBklzWs1qzIyTPZG5Db9LvdQ7SiV8slf1Jo7l-ayUUdVj6igvKZcgfB4RUHolJoMps5p4lZ5sPqv59KtSa8DCpuoRczIj71OCpuRVARZgy1m5sUD9xSMxOBdy46u1Jnry6iMtzXWI3mEZe5m7UhmW_L4Zcv4bbk8XjkBeHjPdgm2B69jkLmCBFecD5ztoGesCGt_pNo_sWSKqLHV1-coKFB2Nn__a4utU9NJNdeNRkr8_ahU6tn3jmaFjfQ7cKfrXG_NCcYBRX9fja8EQIeBEp_3TCoXQqhuV_bGsNPA2qL63Pt6YiRaUf1g9FNBqJRlKCSOYNixSXQZN_rTePzx0SQ0aIQhADWls62WX-LG5-byJcB6W2P_cH21hDOXkoNEIyLnCz9HQ6Yd6Fbv7298ps3F6jiUDdWES23zv8sDgBuKUN94qSN34j6MDYGFnGI9zsJ-Y-I2frdlLfWPx3pUL7afcKh1nRgXdjctsTSxU2BDrsu03eBz2IoZjoOR0U51IrNMOD1NNT3kctXxHLuOHSEkwAzS3doncQbdRLi5Gc1dQuOUa4sC-p8gVjUKXO-oi_49kp9Km2Ay9wFg0epBbXx2QMzyMsN2dXeSbHF-BDXD6sULaq5syC0fOHqaMLycTCMk2wLfNyXgEt05WvAiDn-LDsRdylMRW2hXp5HWq3Poaul-7VNg6UEMlwVfgJ-7hNreuO6IRtwmx6YdqMscw0ms6mU_MQZU_dTIPg3JU4KL0YyMqPBPSGNCx3gMp41O05Ubir45FoJSnT5Dkj4v3N0S87Ys3HuFLverASsGt9bkcSzd2uMKCJjkspemPPi9VhrY4IOO03DWSWbHmxYzFc1SJ-24WM8Ch404QKpe1qy5LNzFgLvDwQhSIHjluezHXqrD-DVh1lWNNY3WmHI2ubOZfaorvLKqzBPZ6AhpIa60rKjm0OZIQOmJwWXwkdnzut6m8PtoiLzRN897YMgeztf1nmDwp0xE-EhknVZ3WV3TeqgZJ5ykfHQ5BU8x0Db57-UtKSuesKbqPPdBe91OdsPpkGlyl6psHj1_gPm4nLvzXQePwiPaEemR_gYCWGPvl9l1ANJufgCV9qQTmZGof3fb9mjv-9lS-9l_m8KirPPRpSBToNeDtk50ceYUsOlDGzIyusppG9pOcIGyiln1IO5aZ8d4_1E83qjcHTSaKGizICZU7a-pt5STBPMesy3JgBm23A2jO4m68ayBRMcLnw_RirHvvBaj0C6UR2tac45F0Ob3PpXcvFuK0g54ziIAhzGqwF9I-LZ6asXQWMW4y4EBOak8JJBorkfztzfkMaIgGu-4ZoRKOkVfdr4uzcghk3r6KUxD4-nv1ioX69-G5RwhMHppYk7z8RXS1cq5FkvzXbfEQ-Uv6M-sx32DcUy9dH-ZYhc7UWm75JJfiNXLaXT_bsc6VqQ7KPkg2-RA7CywUFCW9S0S-XdO03VdwqlUVo7fp1SKywEfhZv_9bhDCdMJBwZmigv2KP9Iz7fF6LrpLwZkzHuQGFPcyTHFpsVIFrFyJjNYCXpET9y0Q5Vt4fnea5fy-9ZiCt3S8aS0YOFJ35_kM5i3ss8eFPL0v7fIQS3ZilzdGB3bWL0J7kppHN_ekHu-wVk3UZxauoFh7hXLjPcipua-FYUIklLjcK6DG1bYP7_q6OnkC8Jl650FNezeWPomHEv7l_DO3y0tjI6SGdWvL3ZJns7Xp3ew8KsCREAUO7ffqumD03uF9N-9uWbDDjM7rk0vcg0ggfOs9Ni725mxqYpu4R285XCOVWHDvw7iU6eAvE6ry8TDXQBbNgGjTuTYFYYli7GuOqMxFIe1op2s7sRnoJE8O0J76S6APhjhjcnZRSuONWkVG_5o83uFMPSF8DtqLwuRA5E8AGfIwAUcj324sw-DA0ixBGUqomb-osUIisv3x0b044xn-FvD-8R3PZDnPbPsao8XYNxfQWStrNcZSrX2Ua-WAcv9qbQ73_57RKW4pao4ajOu7K5800D231WGiIa6aJzDnFUlzXEzYxFQyx7qegkm_9rrEp_v8TC9mfAcjWX5DMrCkxUskx9YKDfpFYq4NuxO_414gReKzd-lmorfigvttgS10N1XD74SwFluXJv-bqTbI5-SuYAhDGMv1dqrn38i3rOMQqqnQomvaUJRprqxUsKz14sSE1Y-cNqq1FXzZ6vIJq-K3YTfFWPRLeqi6gHzqS_R2YBXXUduKuYgmakiVdP3bWc-Ca8WKh5sVi6P51MO-cS7i9AZWOaOz7F8PsB4JZxAJjSOr3NBmv3EEve9auTFCudRjfC6668I_NMHaTP5CCV4cuhuAxUuKUGgd6WFjDcvoYPyn_lu3bQiqD9MEag4CaJYI9PlraRv5mbqptwxv3pca7usd0GmXN_2No_nwxB4gVb48LsBBkH35njCa5iv2EKXUSOf0k3swaTSEahqbyI4EDzPXtU5uBO39iQzNpgfV_sUpnGdysjqueUVcdWGI_s5CnrNJ-_yDAY06AoXfLrjP8_3NXB2058xZ2rfmTNJNCULz9634dICJReXNnmplxIg3i6GbzFvjfNtqjrWr_iqBShyIwuOUJRbXzdJNggx2BDNG-PEWDXl89SaudFICkDvyZKEcATIss6ZXfULIMfCrqmWmFwgXfNEd9TuvjqoxFlLSaY4UfDMiYa_arUMblFfoo5nV07GANhUoQd-6HRe7LjYeX5VRodOx6ZmZjIAUq-DYr-hatJJFR2tjT_qZht2MJeYT3GZ3o54m8zBBt0JTN7HVpKaOaM3A2hEM_Ah0QZ-DkLDxtCzMuv987GDiLT2-Riya97a47yHIJhZFzFpflW2FcuC8RFWXlfUKTQfZkFmxh3MUekUuS4yu4Z121xojVswk_4P7-FqLaSnGT2epI69I_cvalRx3wjds9-5TFYqf4GridlFBRx6Fv2fpNB9Zvp9k7NQ9oYcPuXGLoXH5kmWBagPhEGKHA_pjFUZmCuwUIoeP4nP8lhFrX8OGezsbSBG773CRJzEdfcgAc5G-p6M_24WZLZHDrsVBAvgrNt6R9eQbEviWU28t_417QCp-or9qqt4OTKv1dp_4MlZh8YBg2-dtpvzSc1l5e4kQFJu7oWlpbgsjB6pl1oRRKp1maedX-gOAf559zC4l85gfEpPln9Cnl6xvERQzfO0Ey4q91SdsgK7i7FBrKKmi2wGiemFvnaQsrjZ_IFujLo8-2c8g9zTiyH1knyoVOAAnQxqGpsz6z6PNfSxr3_G8tOlNFTV-yqN_LdVHMgXtXjn3U9koGsfMulyUcBDdR3d_0Yn6iEjBt77tbxKi2ry-0gQrB1fdGsgKjyE_tMrW8D_lQz0IXsVOzd2ixsFVXMFzD6OOD8JldV0FbA-VDAS-Tp_ezIZVp6lRq54XBgvsjzDyOmOgDbSOQN6SQmvxPnIsml1wgmtm80z-9gHBqmimHBtLKB6L7CtLmmPICMS2pX3eWOmakxscxqs8AVjijJdz_NYNfcdBeDj_fhm6dqD6iwk3EBZZfsrmMGdXtAMqf1r9ng9tsz-FriXwQiJ3IM3loBsk5DKr9CcaJtKSPuwDDlRynD2vwcD-XyF6YTQdSJa9fEcq-qXya2Scj4mqQ4RDemJgErdradRfwJfII3fWHh18XxmYVqi9Bwn3YRgwEadyo0-HjbNq6vJXi12igmP99ciRAfMVQLjfUfTwoOHj44Y2Ru_hPjJcvB6FIn6KLrrCSrZnrshFdFn4L36z1CrS8fbtdvrG3kdZQxsUJnMqttuwKRpLnDWTWkIwj_GRBFrzCFgbwGp1XYhemxggyKVuhZPfyyTIM9rhlPth6eGyrpYfap24Av_mGPRBLnzcjtpGbACGdKQL034kVmI7yENGvmY40KSrWsVG_BE9bSJhx0EptFsT2IxnxbuFD4hGb4fFag9V0BDiKpUoOZqIVqVO8cAp-5w4twvWZKkrhu16JNlLoXWMoFANrw-tp5LKSin1CUeRa4LWVI1GR8tRkIad_GnCHRv9JEMswlNy9wi2sDNsSxWT7WNasUW5-glgK9pR7d2pXGGOWfHj1U6CKIqmAiO3iw8igzhvyx_dAxMxPo
|
|
|
@ -1,19 +0,0 @@
|
||||||
[2020-08-29 11:11:00 AM] Entry the first.
|
|
||||||
Lorem @ipsum dolor sit amet, consectetur adipiscing elit. Praesent malesuada
|
|
||||||
quis est ac dignissim. Aliquam dignissim rutrum pretium. Phasellus pellentesque
|
|
||||||
augue et venenatis facilisis. Suspendisse potenti. Sed dignissim sed nisl eu
|
|
||||||
consequat. Aenean ante ex, elementum ut interdum et, mattis eget lacus. In
|
|
||||||
commodo nulla nec tellus placerat, sed ultricies metus bibendum. Duis eget
|
|
||||||
venenatis erat. In at dolor dui. @tagone and maybe also @tagtwo.
|
|
||||||
|
|
||||||
Curabitur accumsan nunc ac neque tristique, eleifend faucibus justo
|
|
||||||
ullamcorper. Suspendisse at mattis nunc. Nullam eget lacinia urna. Suspendisse
|
|
||||||
potenti. Ut urna est, venenatis sed ante in, ultrices congue mi. Maecenas eget
|
|
||||||
molestie metus. Mauris porttitor dui ornare gravida porta. Quisque sed lectus
|
|
||||||
hendrerit, lacinia ante eget, vulputate ante. Aliquam vitae erat non felis
|
|
||||||
feugiat sagittis. Phasellus quis arcu fringilla, mattis ligula id, vestibulum
|
|
||||||
urna. Vivamus facilisis leo a mi tincidunt condimentum. Donec eu euismod enim.
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eu ligula eget
|
|
||||||
velit scelerisque fringilla. Phasellus pharetra justo et nulla fringilla, ac
|
|
||||||
porta sapien accumsan. Class aptent taciti sociosqu ad litora torquent per
|
|
||||||
conubia nostra, per inceptos himenaeos.
|
|
|
@ -1,23 +0,0 @@
|
||||||
[2020-08-31 02:32:00 PM] A second entry in what I hope to be a long series. *
|
|
||||||
Sed sit amet metus et sapien feugiat elementum. Aliquam bibendum lobortis leo
|
|
||||||
vitae tempus. Donec eleifend nec mi non volutpat. Lorem ipsum dolor sit amet,
|
|
||||||
consectetur adipiscing elit. Praesent ut sodales libero. Maecenas nisl lorem,
|
|
||||||
vestibulum in tempus sit amet, fermentum ut arcu. Donec vel vestibulum lectus,
|
|
||||||
eget pretium enim. Maecenas diam nunc, imperdiet vitae pharetra sed, pretium id
|
|
||||||
lectus. Donec eu metus et turpis tempor tristique ac non ex. In tellus arcu,
|
|
||||||
egestas at efficitur et, ultrices vel est. Sed commodo et nibh non elementum.
|
|
||||||
Mauris tempus vitae neque vel viverra. @tagtwo all by its lonesome.
|
|
||||||
|
|
||||||
Nulla mattis elementum magna, viverra pretium dui fermentum et. Cras vel
|
|
||||||
vestibulum odio. Quisque sit amet turpis et urna finibus maximus. Interdum et
|
|
||||||
malesuada fames ac ante ipsum primis in faucibus. Fusce porttitor iaculis sem,
|
|
||||||
non dictum ipsum varius nec. Nulla eu erat at risus gravida blandit non vel
|
|
||||||
ante. Nam egestas ipsum leo, eu ultricies ipsum tincidunt vel. Morbi a commodo
|
|
||||||
eros.
|
|
||||||
|
|
||||||
Nullam dictum, nisl ac varius tempus, ex tortor fermentum nisl, non
|
|
||||||
tempus dolor neque a lorem. Suspendisse a faucibus ex, vel ornare tortor.
|
|
||||||
Maecenas tincidunt id felis quis semper. Pellentesque enim libero, fermentum
|
|
||||||
quis metus id, rhoncus euismod magna. Nulla finibus velit eu purus bibendum
|
|
||||||
interdum. Integer id justo dui. Integer eu tellus in turpis bibendum blandit.
|
|
||||||
Quisque auctor lacinia consectetur.
|
|
|
@ -1,11 +0,0 @@
|
||||||
[2020-09-24 09:14:00 AM] The third entry finally after weeks without writing.
|
|
||||||
I'm so excited about emojis. 💯 🎶 💩
|
|
||||||
|
|
||||||
Donec semper pellentesque iaculis. Nullam cursus et justo sit amet venenatis.
|
|
||||||
Vivamus tempus ex dictum metus vehicula gravida. Aliquam sed sem dolor. Nulla
|
|
||||||
eget ultrices purus. Quisque at nunc at quam pharetra consectetur vitae quis
|
|
||||||
dolor. Fusce ultricies purus eu est feugiat, quis scelerisque nibh malesuada.
|
|
||||||
Quisque egestas semper nibh in hendrerit. Nam finibus ex in mi mattis
|
|
||||||
vulputate. Sed mauris urna, consectetur in justo eu, volutpat accumsan justo.
|
|
||||||
Phasellus aliquam lacus placerat convallis vestibulum. Curabitur maximus at
|
|
||||||
ante eget fringilla. @tagthree and also @tagone
|
|
|
@ -1,58 +0,0 @@
|
||||||
[2020-08-29 11:11] Entry the first.
|
|
||||||
|
|
||||||
Lorem @ipsum dolor sit amet, consectetur adipiscing elit. Praesent malesuada
|
|
||||||
quis est ac dignissim. Aliquam dignissim rutrum pretium. Phasellus pellentesque
|
|
||||||
augue et venenatis facilisis. Suspendisse potenti. Sed dignissim sed nisl eu
|
|
||||||
consequat. Aenean ante ex, elementum ut interdum et, mattis eget lacus. In
|
|
||||||
commodo nulla nec tellus placerat, sed ultricies metus bibendum. Duis eget
|
|
||||||
venenatis erat. In at dolor dui. @tagone and maybe also @tagtwo.
|
|
||||||
|
|
||||||
Curabitur accumsan nunc ac neque tristique, eleifend faucibus justo
|
|
||||||
ullamcorper. Suspendisse at mattis nunc. Nullam eget lacinia urna. Suspendisse
|
|
||||||
potenti. Ut urna est, venenatis sed ante in, ultrices congue mi. Maecenas eget
|
|
||||||
molestie metus. Mauris porttitor dui ornare gravida porta. Quisque sed lectus
|
|
||||||
hendrerit, lacinia ante eget, vulputate ante. Aliquam vitae erat non felis
|
|
||||||
feugiat sagittis. Phasellus quis arcu fringilla, mattis ligula id, vestibulum
|
|
||||||
urna. Vivamus facilisis leo a mi tincidunt condimentum. Donec eu euismod enim.
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eu ligula eget
|
|
||||||
velit scelerisque fringilla. Phasellus pharetra justo et nulla fringilla, ac
|
|
||||||
porta sapien accumsan. Class aptent taciti sociosqu ad litora torquent per
|
|
||||||
conubia nostra, per inceptos himenaeos.
|
|
||||||
|
|
||||||
[2020-08-31 14:32] A second entry in what I hope to be a long series. *
|
|
||||||
|
|
||||||
Sed sit amet metus et sapien feugiat elementum. Aliquam bibendum lobortis leo
|
|
||||||
vitae tempus. Donec eleifend nec mi non volutpat. Lorem ipsum dolor sit amet,
|
|
||||||
consectetur adipiscing elit. Praesent ut sodales libero. Maecenas nisl lorem,
|
|
||||||
vestibulum in tempus sit amet, fermentum ut arcu. Donec vel vestibulum lectus,
|
|
||||||
eget pretium enim. Maecenas diam nunc, imperdiet vitae pharetra sed, pretium id
|
|
||||||
lectus. Donec eu metus et turpis tempor tristique ac non ex. In tellus arcu,
|
|
||||||
egestas at efficitur et, ultrices vel est. Sed commodo et nibh non elementum.
|
|
||||||
Mauris tempus vitae neque vel viverra. @tagtwo all by its lonesome.
|
|
||||||
|
|
||||||
Nulla mattis elementum magna, viverra pretium dui fermentum et. Cras vel
|
|
||||||
vestibulum odio. Quisque sit amet turpis et urna finibus maximus. Interdum et
|
|
||||||
malesuada fames ac ante ipsum primis in faucibus. Fusce porttitor iaculis sem,
|
|
||||||
non dictum ipsum varius nec. Nulla eu erat at risus gravida blandit non vel
|
|
||||||
ante. Nam egestas ipsum leo, eu ultricies ipsum tincidunt vel. Morbi a commodo
|
|
||||||
eros.
|
|
||||||
|
|
||||||
Nullam dictum, nisl ac varius tempus, ex tortor fermentum nisl, non
|
|
||||||
tempus dolor neque a lorem. Suspendisse a faucibus ex, vel ornare tortor.
|
|
||||||
Maecenas tincidunt id felis quis semper. Pellentesque enim libero, fermentum
|
|
||||||
quis metus id, rhoncus euismod magna. Nulla finibus velit eu purus bibendum
|
|
||||||
interdum. Integer id justo dui. Integer eu tellus in turpis bibendum blandit.
|
|
||||||
Quisque auctor lacinia consectetur.
|
|
||||||
|
|
||||||
[2020-09-24 09:14] The third entry finally after weeks without writing.
|
|
||||||
|
|
||||||
I'm so excited about emojis. 💯 🎶 💩
|
|
||||||
|
|
||||||
Donec semper pellentesque iaculis. Nullam cursus et justo sit amet venenatis.
|
|
||||||
Vivamus tempus ex dictum metus vehicula gravida. Aliquam sed sem dolor. Nulla
|
|
||||||
eget ultrices purus. Quisque at nunc at quam pharetra consectetur vitae quis
|
|
||||||
dolor. Fusce ultricies purus eu est feugiat, quis scelerisque nibh malesuada.
|
|
||||||
Quisque egestas semper nibh in hendrerit. Nam finibus ex in mi mattis
|
|
||||||
vulputate. Sed mauris urna, consectetur in justo eu, volutpat accumsan justo.
|
|
||||||
Phasellus aliquam lacus placerat convallis vestibulum. Curabitur maximus at
|
|
||||||
ante eget fringilla. @tagthree and also @tagone
|
|
|
@ -1,2 +0,0 @@
|
||||||
[2019-07-08 05:42] Entry subject
|
|
||||||
[1] line starting with 1
|
|
|
@ -1,56 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
|
|
||||||
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2013-10-27T02:27:27Z</date>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string>iPhone/iPhone3,1</string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2013-10-27T07:02:27Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>omrt104001</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>iOS/7.0.3</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>Day One (iOS)/1.11.4</string>
|
|
||||||
</dict>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string>Some text.</string>
|
|
||||||
<key>Location</key>
|
|
||||||
<dict>
|
|
||||||
<key>Administrative Area</key>
|
|
||||||
<string>Östergötlands län</string>
|
|
||||||
<key>Country</key>
|
|
||||||
<string>Sverige</string>
|
|
||||||
<key>Latitude</key>
|
|
||||||
<real>58.383400000000000</real>
|
|
||||||
<key>Locality</key>
|
|
||||||
<string>City</string>
|
|
||||||
<key>Longitude</key>
|
|
||||||
<real>15.577170000000000</real>
|
|
||||||
<key>Place Name</key>
|
|
||||||
<string>Street</string>
|
|
||||||
</dict>
|
|
||||||
<key>Starred</key>
|
|
||||||
<false/>
|
|
||||||
<key>Time Zone</key>
|
|
||||||
<string>Europe/Stockholm</string>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>B40EE704E15846DE8D45C44118A4D511</string>
|
|
||||||
<key>Weather</key>
|
|
||||||
<dict>
|
|
||||||
<key>Celsius</key>
|
|
||||||
<string>12</string>
|
|
||||||
<key>Description</key>
|
|
||||||
<string>Clear</string>
|
|
||||||
<key>Fahrenheit</key>
|
|
||||||
<string>54</string>
|
|
||||||
<key>IconName</key>
|
|
||||||
<string>sunnyn.png</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,52 +0,0 @@
|
||||||
<dict>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2013-10-27T02:27:27Z</date>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string>iPhone/iPhone3,1</string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2013-10-27T07:02:27Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>omrt104001</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>iOS/7.0.3</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>Day One (iOS)/1.11.4</string>
|
|
||||||
</dict>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string>This is not a valid plist.</string>
|
|
||||||
<key>Location</key>
|
|
||||||
<dict>
|
|
||||||
<key>Administrative Area</key>
|
|
||||||
<string>Östergötlands län</string>
|
|
||||||
<key>Country</key>
|
|
||||||
<string>Sverige</string>
|
|
||||||
<key>Latitude</key>
|
|
||||||
<real>58.383400000000000</real>
|
|
||||||
<key>Locality</key>
|
|
||||||
<string>City</string>
|
|
||||||
<key>Longitude</key>
|
|
||||||
<real>15.577170000000000</real>
|
|
||||||
<key>Place Name</key>
|
|
||||||
<string>Street</string>
|
|
||||||
</dict>
|
|
||||||
<key>Starred</key>
|
|
||||||
<false/>
|
|
||||||
<key>Time Zone</key>
|
|
||||||
<string>Europe/Stockholm</string>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>B40EE704E15846DE8D45C44118A4D511</string>
|
|
||||||
<key>Weather</key>
|
|
||||||
<dict>
|
|
||||||
<key>Celsius</key>
|
|
||||||
<string>12</string>
|
|
||||||
<key>Description</key>
|
|
||||||
<string>Clear</string>
|
|
||||||
<key>Fahrenheit</key>
|
|
||||||
<string>54</string>
|
|
||||||
<key>IconName</key>
|
|
||||||
<string>sunnyn.png</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,33 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Activity</key>
|
|
||||||
<string>Stationary</string>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2019-12-30T21:28:54Z</date>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string></string>
|
|
||||||
<key>Starred</key>
|
|
||||||
<false />
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>48A25033B34047C591160A4480197D8B</string>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string>PC</string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2019-12-30T21:28:54Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>LE-TREPORT</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>Microsoft Windows/10 Home</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>Journaley/2.1</string>
|
|
||||||
</dict>
|
|
||||||
<key>Tags</key>
|
|
||||||
<array>
|
|
||||||
<string>i_have_no_body</string>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,34 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2013-05-17T18:39:20Z</date>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string>Macintosh/MacBookAir5,2</string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2013-08-17T18:39:20Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>Egeria</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>Mac OS X/10.8.4</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>Day One (Mac)/1.8</string>
|
|
||||||
</dict>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string>This entry has tags!</string>
|
|
||||||
<key>Starred</key>
|
|
||||||
<false/>
|
|
||||||
<key>Tags</key>
|
|
||||||
<array>
|
|
||||||
<string>work</string>
|
|
||||||
<string>PLaY</string>
|
|
||||||
</array>
|
|
||||||
<key>Time Zone</key>
|
|
||||||
<string>America/Los_Angeles</string>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>044F3747A38546168B572C2E3F217FA2</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,46 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2013-06-17T18:38:29Z</date>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string>Macintosh/MacBookAir5,2</string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2013-08-17T18:38:29Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>Egeria</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>Mac OS X/10.8.4</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>Day One (Mac)/1.8</string>
|
|
||||||
</dict>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string>This entry has a location.</string>
|
|
||||||
<key>Location</key>
|
|
||||||
<dict>
|
|
||||||
<key>Administrative Area</key>
|
|
||||||
<string>California</string>
|
|
||||||
<key>Country</key>
|
|
||||||
<string>Germany</string>
|
|
||||||
<key>Latitude</key>
|
|
||||||
<real>52.4979764</real>
|
|
||||||
<key>Locality</key>
|
|
||||||
<string>Berlin</string>
|
|
||||||
<key>Longitude</key>
|
|
||||||
<real>13.2404758</real>
|
|
||||||
<key>Place Name</key>
|
|
||||||
<string>Abandoned Spy Tower</string>
|
|
||||||
</dict>
|
|
||||||
<key>Starred</key>
|
|
||||||
<false/>
|
|
||||||
<key>Tags</key>
|
|
||||||
<array/>
|
|
||||||
<key>Time Zone</key>
|
|
||||||
<string>Europe/Berlin</string>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>0BDDD6CDA43C4A9AA2681517CC35AD9D</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,31 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2013-07-17T18:38:08Z</date>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string>Macintosh/MacBookAir5,2</string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2013-08-17T18:38:08Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>Egeria</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>Mac OS X/10.8.4</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>Day One (Mac)/1.8</string>
|
|
||||||
</dict>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string>This entry is starred!</string>
|
|
||||||
<key>Starred</key>
|
|
||||||
<true/>
|
|
||||||
<key>Tags</key>
|
|
||||||
<array/>
|
|
||||||
<key>Time Zone</key>
|
|
||||||
<string>America/Los_Angeles</string>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>422BC895507944A291E6FC44FC6B8BFC</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,29 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Creation Date</key>
|
|
||||||
<date>2013-01-17T18:37:50Z</date>
|
|
||||||
<key>Creator</key>
|
|
||||||
<dict>
|
|
||||||
<key>Device Agent</key>
|
|
||||||
<string>Macintosh/MacBookAir5,2</string>
|
|
||||||
<key>Generation Date</key>
|
|
||||||
<date>2013-08-17T18:37:50Z</date>
|
|
||||||
<key>Host Name</key>
|
|
||||||
<string>Egeria</string>
|
|
||||||
<key>OS Agent</key>
|
|
||||||
<string>Mac OS X/10.8.4</string>
|
|
||||||
<key>Software Agent</key>
|
|
||||||
<string>Day One (Mac)/1.8</string>
|
|
||||||
</dict>
|
|
||||||
<key>Entry Text</key>
|
|
||||||
<string>This is a DayOne entry without Timezone.</string>
|
|
||||||
<key>Starred</key>
|
|
||||||
<false/>
|
|
||||||
<key>Tags</key>
|
|
||||||
<array/>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>4BB1F46946AD439996C9B59DE7C4DDC1</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1 +0,0 @@
|
||||||
This file exists to preserve the directory structure, but should be ignored by jrnl.
|
|
|
@ -1,5 +0,0 @@
|
||||||
[2019-10-29 11:11] First entry.
|
|
||||||
|
|
||||||
[2019-10-29 11:11] Second entry.
|
|
||||||
|
|
||||||
[2019-10-29 11:13] Third entry.
|
|
|
@ -1,14 +0,0 @@
|
||||||
[2019-10-01 08:00] It's just another day in October.
|
|
||||||
Not much to write about.
|
|
||||||
|
|
||||||
[2020-01-01 08:00] Happy New Year!
|
|
||||||
So this is the New Year. @holidays
|
|
||||||
|
|
||||||
[2020-03-01 08:00] It's just another day in March.
|
|
||||||
A stick, a stone, it's the end of the road.
|
|
||||||
|
|
||||||
[2020-05-01 09:00] Happy May Day!
|
|
||||||
@holidays @springtime Several holidays fall on this date.
|
|
||||||
|
|
||||||
[2020-05-02 12:10] Writing tests. *
|
|
||||||
@springtime They will help prevent bugs.
|
|
|
@ -1 +0,0 @@
|
||||||
Nothing to see here
|
|
|
@ -1 +0,0 @@
|
||||||
gAAAAABVIHB7tnwKExG7aC5ZbAbBL9SG2oY2GENeoOJ22i1PZigOvCYvrQN3kpsu0KGr7ay5K-_46R5YFlqJvtQ8anPH2FSITsaZy-l5Lz_5quw3rmzhLwAR1tc0icgtR4MEpXEdsuQ7cyb12Xq-JLDrnATs0id5Vow9Ri_tE7Xe4BXgXaySn3aRPwWKoninVxVPVvETY3MXHSUEXV9OZ-pH5kYBLGYbLA==
|
|
Binary file not shown.
|
@ -1,5 +0,0 @@
|
||||||
[09.06.2013 15:39] My first entry.
|
|
||||||
Everything is alright
|
|
||||||
|
|
||||||
[10.07.2013 15:40] Life is good.
|
|
||||||
But I'm better.
|
|
|
@ -1,42 +0,0 @@
|
||||||
[2015-04-14 13:23] Heading Test
|
|
||||||
|
|
||||||
H1-1
|
|
||||||
=
|
|
||||||
|
|
||||||
H1-2
|
|
||||||
===
|
|
||||||
|
|
||||||
H1-3
|
|
||||||
============================
|
|
||||||
|
|
||||||
H2-1
|
|
||||||
-
|
|
||||||
|
|
||||||
H2-2
|
|
||||||
---
|
|
||||||
|
|
||||||
H2-3
|
|
||||||
----------------------------------
|
|
||||||
|
|
||||||
Horizontal Rules (ignore)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
===
|
|
||||||
|
|
||||||
# ATX H1
|
|
||||||
|
|
||||||
## ATX H2
|
|
||||||
|
|
||||||
### ATX H3
|
|
||||||
|
|
||||||
#### ATX H4
|
|
||||||
|
|
||||||
##### ATX H5
|
|
||||||
|
|
||||||
###### ATX H6
|
|
||||||
|
|
||||||
Stuff
|
|
||||||
|
|
||||||
More stuff
|
|
||||||
more stuff again
|
|
|
@ -1,8 +0,0 @@
|
||||||
[2019-07-18 14:23] Entry subject
|
|
||||||
Time machines are possible. I know, because I've built one in my garage.
|
|
||||||
|
|
||||||
[2019-07-19 14:23] Entry subject
|
|
||||||
I'm going to activate the machine. Nobody knows what comes next after this. Or before this?
|
|
||||||
|
|
||||||
[2019-07 14:23] Entry subject
|
|
||||||
I've crossed so many timelines. Is there any going back?
|
|
|
@ -1,7 +0,0 @@
|
||||||
[2013-06-09 15:39] Multiple @line entry with @tags.
|
|
||||||
Tag with @punctuation. afterwards
|
|
||||||
@TagOnLineAloneWithOutPunctuation
|
|
||||||
@TagOnLineAloneWithPunctuation.
|
|
||||||
Text before @tag. And After.
|
|
||||||
@hi. Hello
|
|
||||||
hi Hello
|
|
|
@ -1,5 +0,0 @@
|
||||||
[2013-06-09 15:39] Multiple line entry.
|
|
||||||
This is the first line.
|
|
||||||
This line doesn't have any ending punctuation
|
|
||||||
|
|
||||||
There is a blank line above this.
|
|
|
@ -1,5 +0,0 @@
|
||||||
[2013-06-09 15:39] My first entry.
|
|
||||||
Everything is alright
|
|
||||||
|
|
||||||
[2013-06-10 15:40] Life is good.
|
|
||||||
But I'm better.
|
|
|
@ -1,13 +0,0 @@
|
||||||
2010-06-10 15:00 A life without chocolate is like a bad analogy.
|
|
||||||
|
|
||||||
2013-06-10 15:40 He said "[this] is the best time to be alive".
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent malesuada
|
|
||||||
quis est ac dignissim. Aliquam dignissim rutrum pretium. Phasellus pellentesque
|
|
||||||
augue et venenatis facilisis.
|
|
||||||
|
|
||||||
[2019-08-03 12:55] Some chat log or something
|
|
||||||
|
|
||||||
Suspendisse potenti. Sed dignissim sed nisl eu consequat. Aenean ante ex,
|
|
||||||
elementum ut interdum et, mattis eget lacus. In commodo nulla nec tellus
|
|
||||||
placerat, sed ultricies metus bibendum. Duis eget venenatis erat. In at dolor
|
|
||||||
dui.
|
|
|
@ -1,13 +0,0 @@
|
||||||
10.06.2010 15:00 A life without chocolate is like a bad analogy.
|
|
||||||
|
|
||||||
10.06.2013 15:40 He said "[this] is the best time to be alive".
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent malesuada
|
|
||||||
quis est ac dignissim. Aliquam dignissim rutrum pretium. Phasellus pellentesque
|
|
||||||
augue et venenatis facilisis.
|
|
||||||
|
|
||||||
[03.08.2019 12:55] Some chat log or something
|
|
||||||
|
|
||||||
Suspendisse potenti. Sed dignissim sed nisl eu consequat. Aenean ante ex,
|
|
||||||
elementum ut interdum et, mattis eget lacus. In commodo nulla nec tellus
|
|
||||||
placerat, sed ultricies metus bibendum. Duis eget venenatis erat. In at dolor
|
|
||||||
dui.
|
|
|
@ -1,2 +0,0 @@
|
||||||
[2013-06-10 15:40] I programmed for @OS/2.
|
|
||||||
Almost makes me want to go back to @C++, though. (Still better than @C#).
|
|
|
@ -1,3 +0,0 @@
|
||||||
[2014-07-22 11:11] This entry has an email.
|
|
||||||
@Newline tag should show as a tag.
|
|
||||||
Kyla's @email is kyla@clevelandunderdog.org and Guinness's is guinness@fortheloveofpits.org.
|
|
|
@ -1,8 +0,0 @@
|
||||||
[2013-04-09 15:39] I have an @idea:
|
|
||||||
(1) write a command line @journal software
|
|
||||||
(2) ???
|
|
||||||
(3) PROFIT!
|
|
||||||
|
|
||||||
[2013-06-10 15:40] I met with @dan.
|
|
||||||
As alway's he shared his latest @idea on how to rule the world with me.
|
|
||||||
inst
|
|
|
@ -1,5 +0,0 @@
|
||||||
[ashasd7zdskhz7asdkjasd] Entry subject
|
|
||||||
I've lost track of time.
|
|
||||||
|
|
||||||
[sadfhakjsdf88sdf7sdff] Entry subject
|
|
||||||
Time has no meaning.
|
|
|
@ -1,19 +0,0 @@
|
||||||
---
|
|
||||||
extension: txt
|
|
||||||
---
|
|
||||||
|
|
||||||
{% block journal %}
|
|
||||||
{% for entry in entries %}
|
|
||||||
{% include entry %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block entry %}
|
|
||||||
{{ entry.title }}
|
|
||||||
{{ "-" * len(entry.title) }}
|
|
||||||
|
|
||||||
{{ entry.body }}
|
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
`
|
|
|
@ -1,155 +0,0 @@
|
||||||
Feature: Reading and writing to journal with custom date formats
|
|
||||||
|
|
||||||
Scenario: Dates can include a time
|
|
||||||
# https://github.com/jrnl-org/jrnl/issues/117
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl 2013-11-30 15:42: Project Started."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
And the journal should contain "[2013-11-30 15:42] Project Started."
|
|
||||||
|
|
||||||
Scenario: Dates can be in the future
|
|
||||||
# https://github.com/jrnl-org/jrnl/issues/185
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl 26/06/2099: Planet? Earth. Year? 2099."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
And the journal should contain "[2099-06-26 09:00] Planet?"
|
|
||||||
|
|
||||||
Scenario: Loading a sample journal with custom date
|
|
||||||
Given we use the config "little_endian_dates.yaml"
|
|
||||||
When we run "jrnl -n 2"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be
|
|
||||||
"""
|
|
||||||
09.06.2013 15:39 My first entry.
|
|
||||||
| Everything is alright
|
|
||||||
|
|
||||||
10.07.2013 15:40 Life is good.
|
|
||||||
| But I'm better.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Scenario Outline: Writing an entry from command line with custom date
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl <input>"
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl -n 1"
|
|
||||||
Then the output should contain "<output>"
|
|
||||||
|
|
||||||
Examples: Day-first Dates
|
|
||||||
| config | input | output |
|
|
||||||
| little_endian_dates | 2020-09-19: My first entry. | 19.09.2020 09:00 My first entry. |
|
|
||||||
| little_endian_dates | 2020-08-09: My second entry. | 09.08.2020 09:00 My second entry. |
|
|
||||||
| little_endian_dates | 2020-02-29: Test. | 29.02.2020 09:00 Test. |
|
|
||||||
| little_endian_dates | 2019-02-29: Test. | 2019-02-29: Test. |
|
|
||||||
| little_endian_dates | 2020-08-32: Test. | 2020-08-32: Test. |
|
|
||||||
| little_endian_dates | 2032-02-01: Test. | 01.02.2032 09:00 Test. |
|
|
||||||
| little_endian_dates | 2020-01-01: Test. | 01.01.2020 09:00 Test. |
|
|
||||||
| little_endian_dates | 2020-12-31: Test. | 31.12.2020 09:00 Test. |
|
|
||||||
|
|
||||||
Scenario Outline: Searching for dates with custom date
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl -on '<input>' --short"
|
|
||||||
Then the output should be "<output>"
|
|
||||||
|
|
||||||
Examples: Day-first Dates
|
|
||||||
| config | input | output |
|
|
||||||
| little_endian_dates | 2013-07-10 | 10.07.2013 15:40 Life is good. |
|
|
||||||
| little_endian_dates | june 9 2013 | 09.06.2013 15:39 My first entry. |
|
|
||||||
| little_endian_dates | july 10 2013 | 10.07.2013 15:40 Life is good. |
|
|
||||||
| little_endian_dates | june 2013 | 09.06.2013 15:39 My first entry. |
|
|
||||||
| little_endian_dates | july 2013 | 10.07.2013 15:40 Life is good. |
|
|
||||||
# @todo month alone with no year should work
|
|
||||||
# | little_endian_dates | june | 09.06.2013 15:39 My first entry. |
|
|
||||||
# | little_endian_dates | july | 10.07.2013 15:40 Life is good. |
|
|
||||||
|
|
||||||
Scenario: Writing an entry at the prompt with custom date
|
|
||||||
Given we use the config "little_endian_dates.yaml"
|
|
||||||
When we run "jrnl" and enter "2013-05-10: I saw Elvis. He's alive."
|
|
||||||
Then we should get no error
|
|
||||||
And the journal should contain "[10.05.2013 09:00] I saw Elvis."
|
|
||||||
And the journal should contain "He's alive."
|
|
||||||
|
|
||||||
Scenario: Viewing today's entries does not print the entire journal
|
|
||||||
# https://github.com/jrnl-org/jrnl/issues/741
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl -on today"
|
|
||||||
Then the output should not contain "Life is good"
|
|
||||||
And the output should not contain "But I'm better."
|
|
||||||
|
|
||||||
Scenario Outline: Create entry using day of the week as entry date.
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl <day>: This is an entry on a <day>."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl -1"
|
|
||||||
Then the output should contain "<day> at 9am" in the local time
|
|
||||||
And the output should contain "This is an entry on a <day>."
|
|
||||||
|
|
||||||
Examples: Days of the week
|
|
||||||
| day |
|
|
||||||
| Monday |
|
|
||||||
| Tuesday |
|
|
||||||
| Wednesday |
|
|
||||||
| Thursday |
|
|
||||||
| Friday |
|
|
||||||
| Saturday |
|
|
||||||
| Sunday |
|
|
||||||
| sunday |
|
|
||||||
| sUndAy |
|
|
||||||
|
|
||||||
Scenario Outline: Create entry using day of the week abbreviations as entry date.
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl <day>: This is an entry on a <weekday>."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl -1"
|
|
||||||
Then the output should contain "<weekday> at 9am" in the local time
|
|
||||||
|
|
||||||
Examples: Days of the week
|
|
||||||
| day | weekday |
|
|
||||||
| mon | Monday |
|
|
||||||
| tue | Tuesday |
|
|
||||||
| wed | Wednesday |
|
|
||||||
| thu | Thursday |
|
|
||||||
| fri | Friday |
|
|
||||||
| sat | Saturday |
|
|
||||||
| sun | Sunday |
|
|
||||||
|
|
||||||
Scenario: Journals with unreadable dates should still be loaded
|
|
||||||
Given we use the config "unreadabledates.yaml"
|
|
||||||
When we run "jrnl -2"
|
|
||||||
Then the output should contain "I've lost track of time."
|
|
||||||
And the output should contain "Time has no meaning."
|
|
||||||
|
|
||||||
Scenario: Journals with readable dates AND unreadable dates should still contain all data.
|
|
||||||
Given we use the config "mostlyreadabledates.yaml"
|
|
||||||
When we run "jrnl -3"
|
|
||||||
Then the output should contain "Time machines are possible."
|
|
||||||
Then the output should contain "I'm going to activate the machine."
|
|
||||||
And the output should contain "I've crossed so many timelines. Is there any going back?"
|
|
||||||
And the journal should have 3 entries
|
|
||||||
|
|
||||||
Scenario: Update near-valid dates after journal is edited
|
|
||||||
Given we use the config "mostlyreadabledates.yaml"
|
|
||||||
When we run "jrnl 2222-08-19: I have made it exactly one month into the future."
|
|
||||||
Then the journal should contain "[2019-07-01 14:23] Entry subject"
|
|
||||||
|
|
||||||
Scenario: Integers in square brackets should not be read as dates
|
|
||||||
Given we use the config "brackets.yaml"
|
|
||||||
When we run "jrnl -1"
|
|
||||||
Then the output should contain "[1] line starting with 1"
|
|
||||||
|
|
||||||
# broken still
|
|
||||||
@skip
|
|
||||||
Scenario: Dayone entries without timezone information are interpreted in current timezone
|
|
||||||
Given we use the config "dayone.yaml"
|
|
||||||
When we run "jrnl -until 'feb 2013'"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should contain "2013-01-17T18:37Z" in the local time
|
|
||||||
|
|
||||||
Scenario: Loading entry with ambiguous time stamp in timezone-aware journal (like Dayone)
|
|
||||||
#https://github.com/jrnl-org/jrnl/issues/153
|
|
||||||
Given we use the config "bug153.yaml"
|
|
||||||
When we run "jrnl -1"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be
|
|
||||||
"""
|
|
||||||
2013-10-27 03:27 Some text.
|
|
||||||
"""
|
|
|
@ -1,229 +0,0 @@
|
||||||
Feature: Delete entries from journal
|
|
||||||
Scenario Outline: Delete flag allows deletion of single entry
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -1"
|
|
||||||
Then the output should contain "2020-09-24 09:14 The third entry finally"
|
|
||||||
When we run "jrnl --delete" and enter
|
|
||||||
"""
|
|
||||||
N
|
|
||||||
N
|
|
||||||
Y
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-29 11:11 Entry the first.
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario Outline: Backing out of interactive delete does not change journal
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete -n 1" and enter
|
|
||||||
"""
|
|
||||||
N
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-29 11:11 Entry the first.
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
2020-09-24 09:14 The third entry finally after weeks without writing.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Delete flag with nonsense input deletes nothing (issue #932)
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete asdfasdf"
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-29 11:11 Entry the first.
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
2020-09-24 09:14 The third entry finally after weeks without writing.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Delete flag with tag only deletes tagged entries
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete @ipsum" and enter
|
|
||||||
"""
|
|
||||||
Y
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
2020-09-24 09:14 The third entry finally after weeks without writing.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Delete flag with multiple tags deletes all entries matching any of the tags
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete @ipsum @tagthree" and enter
|
|
||||||
"""
|
|
||||||
Y
|
|
||||||
Y
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario Outline: Delete flag with -and deletes boolean AND of tagged entries
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete -and @tagone @tagtwo" and enter
|
|
||||||
"""
|
|
||||||
Y
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
2020-09-24 09:14 The third entry finally after weeks without writing.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario Outline: Delete flag with -not does not delete entries from given tag
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete @tagone -not @ipsum" and enter
|
|
||||||
"""
|
|
||||||
Y
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-29 11:11 Entry the first.
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario Outline: Delete flag with -from search operator only deletes entries since that date
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete -from 2020-09-01" and enter
|
|
||||||
"""
|
|
||||||
Y
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-29 11:11 Entry the first.
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario Outline: Delete flag with -to only deletes entries up to specified date
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete -to 2020-08-31" and enter
|
|
||||||
"""
|
|
||||||
Y
|
|
||||||
Y
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-09-24 09:14 The third entry finally after weeks without writing.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Delete flag with -starred only deletes starred entries
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete -starred" and enter
|
|
||||||
"""
|
|
||||||
Y
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-29 11:11 Entry the first.
|
|
||||||
2020-09-24 09:14 The third entry finally after weeks without writing.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario Outline: Delete flag with -contains only entries containing expression
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --delete -contains dignissim" and enter
|
|
||||||
"""
|
|
||||||
Y
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -99 --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
2020-09-24 09:14 The third entry finally after weeks without writing.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
Feature: Encrypting and decrypting journals
|
|
||||||
|
|
||||||
Scenario: Decrypting a journal
|
|
||||||
Given we use the config "encrypted.yaml"
|
|
||||||
When we run "jrnl --decrypt" and enter "bad doggie no biscuit"
|
|
||||||
Then the config for journal "default" should have "encrypt" set to "bool:False"
|
|
||||||
And we should see the message "Journal decrypted"
|
|
||||||
And the journal should have 2 entries
|
|
||||||
|
|
||||||
@todo
|
|
||||||
Scenario: Trying to decrypt an already unencrypted journal
|
|
||||||
# This should warn the user that the journal is already encrypted
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl --decrypt"
|
|
||||||
Then the config for journal "default" should have "encrypt" set to "bool:False"
|
|
||||||
And the journal should have 2 entries
|
|
||||||
|
|
||||||
@todo
|
|
||||||
Scenario: Trying to encrypt an already encrypted journal
|
|
||||||
# This should warn the user that the journal is already encrypted
|
|
||||||
|
|
||||||
Scenario: Encrypting a journal
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl --encrypt" and enter
|
|
||||||
"""
|
|
||||||
swordfish
|
|
||||||
swordfish
|
|
||||||
n
|
|
||||||
"""
|
|
||||||
Then we should see the message "Journal encrypted"
|
|
||||||
And the config for journal "default" should have "encrypt" set to "bool:True"
|
|
||||||
When we run "jrnl -n 1" and enter "swordfish"
|
|
||||||
Then we should be prompted for a password
|
|
||||||
And the output should contain "2013-06-10 15:40 Life is good"
|
|
||||||
|
|
|
@ -1,86 +0,0 @@
|
||||||
import os
|
|
||||||
import shutil
|
|
||||||
|
|
||||||
from jrnl.os_compat import on_windows
|
|
||||||
|
|
||||||
CWD = os.getcwd()
|
|
||||||
|
|
||||||
# @see https://behave.readthedocs.io/en/latest/tutorial.html#debug-on-error-in-case-of-step-failures
|
|
||||||
BEHAVE_DEBUG_ON_ERROR = False
|
|
||||||
|
|
||||||
|
|
||||||
def setup_debug_on_error(userdata):
|
|
||||||
global BEHAVE_DEBUG_ON_ERROR
|
|
||||||
BEHAVE_DEBUG_ON_ERROR = userdata.getbool("BEHAVE_DEBUG_ON_ERROR")
|
|
||||||
|
|
||||||
|
|
||||||
def before_all(context):
|
|
||||||
setup_debug_on_error(context.config.userdata)
|
|
||||||
|
|
||||||
|
|
||||||
# def after_step(context, step):
|
|
||||||
# if BEHAVE_DEBUG_ON_ERROR and step.status == "failed":
|
|
||||||
# -- ENTER DEBUGGER: Zoom in on failure location.
|
|
||||||
# NOTE: Use IPython debugger, same for pdb (basic python debugger).
|
|
||||||
# import ipdb
|
|
||||||
# ipdb.post_mortem(step.exc_traceback)
|
|
||||||
|
|
||||||
|
|
||||||
def clean_all_working_dirs():
|
|
||||||
if os.path.exists("test.txt"):
|
|
||||||
os.remove("test.txt")
|
|
||||||
for folder in ("configs", "journals", "cache"):
|
|
||||||
working_dir = os.path.join("features", folder)
|
|
||||||
if os.path.exists(working_dir):
|
|
||||||
shutil.rmtree(working_dir)
|
|
||||||
|
|
||||||
|
|
||||||
def before_feature(context, feature):
|
|
||||||
# add "skip" tag
|
|
||||||
# https://stackoverflow.com/a/42721605/4276230
|
|
||||||
if "skip" in feature.tags:
|
|
||||||
feature.skip()
|
|
||||||
return
|
|
||||||
|
|
||||||
if "skip_win" in feature.tags and on_windows():
|
|
||||||
feature.skip("Skipping on Windows")
|
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
def before_scenario(context, scenario):
|
|
||||||
"""Before each scenario, backup all config and journal test data."""
|
|
||||||
# Clean up in case something went wrong
|
|
||||||
clean_all_working_dirs()
|
|
||||||
for folder in ("configs", "journals"):
|
|
||||||
original = os.path.join("features", "data", folder)
|
|
||||||
working_dir = os.path.join("features", folder)
|
|
||||||
if not os.path.exists(working_dir):
|
|
||||||
os.mkdir(working_dir)
|
|
||||||
for filename in os.listdir(original):
|
|
||||||
source = os.path.join(original, filename)
|
|
||||||
if os.path.isdir(source):
|
|
||||||
shutil.copytree(source, os.path.join(working_dir, filename))
|
|
||||||
else:
|
|
||||||
shutil.copy2(source, working_dir)
|
|
||||||
|
|
||||||
# add "skip" tag
|
|
||||||
# https://stackoverflow.com/a/42721605/4276230
|
|
||||||
if "skip" in scenario.effective_tags:
|
|
||||||
scenario.skip()
|
|
||||||
return
|
|
||||||
|
|
||||||
if "skip_win" in scenario.effective_tags and on_windows():
|
|
||||||
scenario.skip("Skipping on Windows")
|
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
def after_scenario(context, scenario):
|
|
||||||
"""After each scenario, restore all test data and remove working_dirs."""
|
|
||||||
if os.getcwd() != CWD:
|
|
||||||
os.chdir(CWD)
|
|
||||||
|
|
||||||
# only clean up if debugging is off and the scenario passed
|
|
||||||
if BEHAVE_DEBUG_ON_ERROR and scenario.status != "failed":
|
|
||||||
clean_all_working_dirs()
|
|
||||||
else:
|
|
||||||
clean_all_working_dirs()
|
|
|
@ -1,56 +0,0 @@
|
||||||
Feature: Journals iteracting with the file system in a way that users can see
|
|
||||||
|
|
||||||
Scenario: Adding entries to a Folder journal should generate date files
|
|
||||||
Given we use the config "empty_folder.yaml"
|
|
||||||
When we run "jrnl 23 July 2013: Testing folder journal."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When the journal directory is listed
|
|
||||||
Then the output should contain "2013/07/23.txt" or "2013\07\23.txt"
|
|
||||||
|
|
||||||
Scenario: Adding multiple entries to a Folder journal should generate multiple date files
|
|
||||||
Given we use the config "empty_folder.yaml"
|
|
||||||
When we run "jrnl 23 July 2013: Testing folder journal."
|
|
||||||
And we run "jrnl 3/7/2014: Second entry of journal."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When the journal directory is listed
|
|
||||||
Then the output should contain "2013/07/23.txt" or "2013\07\23.txt"
|
|
||||||
Then the output should contain "2014/03/07.txt" or "2014\03\07.txt"
|
|
||||||
|
|
||||||
Scenario: If the journal and its parent directory don't exist, they should be created
|
|
||||||
Given we use the config "missing_directory.yaml"
|
|
||||||
Then the journal should not exist
|
|
||||||
When we run "jrnl This is a new entry in my journal"
|
|
||||||
Then the journal should exist
|
|
||||||
When we run "jrnl -n 1"
|
|
||||||
Then the output should contain "This is a new entry in my journal"
|
|
||||||
And the journal should have 1 entry
|
|
||||||
|
|
||||||
Scenario: If the journal file doesn't exist, then it should be created
|
|
||||||
Given we use the config "missing_journal.yaml"
|
|
||||||
Then the journal should not exist
|
|
||||||
When we run "jrnl This is a new entry in my journal"
|
|
||||||
Then the journal should exist
|
|
||||||
When we run "jrnl -n 1"
|
|
||||||
Then the output should contain "This is a new entry in my journal"
|
|
||||||
And the journal should have 1 entry
|
|
||||||
|
|
||||||
Scenario: Creating journal with relative path should update to absolute path
|
|
||||||
Given we use the config "missingconfig"
|
|
||||||
When we run "jrnl hello world" and enter
|
|
||||||
"""
|
|
||||||
test.txt
|
|
||||||
n
|
|
||||||
"""
|
|
||||||
And we change directory to "features"
|
|
||||||
And we run "jrnl -n 1"
|
|
||||||
Then the output should contain "hello world"
|
|
||||||
|
|
||||||
Scenario: the temporary filename suffix should default to ".jrnl"
|
|
||||||
Given we use the config "editor.yaml"
|
|
||||||
When we run "jrnl --edit"
|
|
||||||
Then the temporary filename suffix should be ".jrnl"
|
|
||||||
|
|
||||||
Scenario: the temporary filename suffix should be "-{template_filename}"
|
|
||||||
Given we use the config "editor_markdown_extension.yaml"
|
|
||||||
When we run "jrnl --edit"
|
|
||||||
Then the temporary filename suffix should be "-extension.md"
|
|
|
@ -1,621 +0,0 @@
|
||||||
Feature: Custom formats
|
|
||||||
|
|
||||||
Scenario Outline: Short printing via --format flag
|
|
||||||
Given We use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --format short -3"
|
|
||||||
Then we should get no error
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Pretty Printing aka the Default
|
|
||||||
Given We use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --format pretty -3"
|
|
||||||
Then we should get no error
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: JSON format
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --format json"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be parsable as json
|
|
||||||
And "entries" in the json output should have 3 elements
|
|
||||||
And "tags" in the json output should contain "@ipsum"
|
|
||||||
And "tags" in the json output should contain "@tagone"
|
|
||||||
And "tags" in the json output should contain "@tagthree"
|
|
||||||
And "tags" in the json output should contain "@tagtwo"
|
|
||||||
And entry 1 should have an array "tags" with 3 elements
|
|
||||||
And entry 2 should have an array "tags" with 1 elements
|
|
||||||
And entry 3 should have an array "tags" with 2 elements
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario: Exporting dayone to json
|
|
||||||
Given we use the config "dayone.yaml"
|
|
||||||
When we run "jrnl --export json"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be parsable as json
|
|
||||||
And the json output should contain entries.0.uuid = "4BB1F46946AD439996C9B59DE7C4DDC1"
|
|
||||||
|
|
||||||
Scenario Outline: Printing a journal that has multiline entries with tags
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -n 1 @ipsum"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be
|
|
||||||
"""
|
|
||||||
2020-08-29 11:11 Entry the first.
|
|
||||||
| Lorem @ipsum dolor sit amet, consectetur adipiscing elit. Praesent malesuada
|
|
||||||
| quis est ac dignissim. Aliquam dignissim rutrum pretium. Phasellus
|
|
||||||
| pellentesque
|
|
||||||
| augue et venenatis facilisis. Suspendisse potenti. Sed dignissim sed nisl eu
|
|
||||||
| consequat. Aenean ante ex, elementum ut interdum et, mattis eget lacus. In
|
|
||||||
| commodo nulla nec tellus placerat, sed ultricies metus bibendum. Duis eget
|
|
||||||
| venenatis erat. In at dolor dui. @tagone and maybe also @tagtwo.
|
|
||||||
|
|
|
||||||
| Curabitur accumsan nunc ac neque tristique, eleifend faucibus justo
|
|
||||||
| ullamcorper. Suspendisse at mattis nunc. Nullam eget lacinia urna. Suspendisse
|
|
||||||
| potenti. Ut urna est, venenatis sed ante in, ultrices congue mi. Maecenas eget
|
|
||||||
| molestie metus. Mauris porttitor dui ornare gravida porta. Quisque sed lectus
|
|
||||||
| hendrerit, lacinia ante eget, vulputate ante. Aliquam vitae erat non felis
|
|
||||||
| feugiat sagittis. Phasellus quis arcu fringilla, mattis ligula id, vestibulum
|
|
||||||
| urna. Vivamus facilisis leo a mi tincidunt condimentum. Donec eu euismod enim.
|
|
||||||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eu ligula eget
|
|
||||||
| velit scelerisque fringilla. Phasellus pharetra justo et nulla fringilla, ac
|
|
||||||
| porta sapien accumsan. Class aptent taciti sociosqu ad litora torquent per
|
|
||||||
| conubia nostra, per inceptos himenaeos.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Exporting using filters should only export parts of the journal
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -until 'August 2020' --format json"
|
|
||||||
Then the output should be parsable as json
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be parsable as json
|
|
||||||
And "entries" in the json output should have 2 elements
|
|
||||||
And "tags" in the json output should contain "@ipsum"
|
|
||||||
And "tags" in the json output should contain "@tagone"
|
|
||||||
And "tags" in the json output should contain "@tagtwo"
|
|
||||||
And entry 1 should have an array "tags" with 3 elements
|
|
||||||
And entry 2 should have an array "tags" with 1 elements
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Exporting using custom templates
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we load template "sample.template"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -1 --format sample"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
The third entry finally after weeks without writing.
|
|
||||||
----------------------------------------------------
|
|
||||||
|
|
||||||
I'm so excited about emojis. 💯 🎶 💩
|
|
||||||
|
|
||||||
Donec semper pellentesque iaculis. Nullam cursus et justo sit amet venenatis.
|
|
||||||
Vivamus tempus ex dictum metus vehicula gravida. Aliquam sed sem dolor. Nulla
|
|
||||||
eget ultrices purus. Quisque at nunc at quam pharetra consectetur vitae quis
|
|
||||||
dolor. Fusce ultricies purus eu est feugiat, quis scelerisque nibh malesuada.
|
|
||||||
Quisque egestas semper nibh in hendrerit. Nam finibus ex in mi mattis
|
|
||||||
vulputate. Sed mauris urna, consectetur in justo eu, volutpat accumsan justo.
|
|
||||||
Phasellus aliquam lacus placerat convallis vestibulum. Curabitur maximus at
|
|
||||||
ante eget fringilla. @tagthree and also @tagone
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Increasing Headings on Markdown export
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we open the editor and append
|
|
||||||
"""
|
|
||||||
[2020-10-14 13:23] Heading Test
|
|
||||||
|
|
||||||
H1-1
|
|
||||||
=
|
|
||||||
|
|
||||||
H1-2
|
|
||||||
===
|
|
||||||
|
|
||||||
H1-3
|
|
||||||
============================
|
|
||||||
|
|
||||||
H2-1
|
|
||||||
-
|
|
||||||
|
|
||||||
H2-2
|
|
||||||
---
|
|
||||||
|
|
||||||
H2-3
|
|
||||||
----------------------------------
|
|
||||||
|
|
||||||
Horizontal Rules (ignore)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
===
|
|
||||||
|
|
||||||
# ATX H1
|
|
||||||
|
|
||||||
## ATX H2
|
|
||||||
|
|
||||||
### ATX H3
|
|
||||||
|
|
||||||
#### ATX H4
|
|
||||||
|
|
||||||
##### ATX H5
|
|
||||||
|
|
||||||
###### ATX H6
|
|
||||||
|
|
||||||
Stuff
|
|
||||||
|
|
||||||
More stuff
|
|
||||||
more stuff again
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -1 --export markdown"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
# 2020
|
|
||||||
|
|
||||||
## October
|
|
||||||
|
|
||||||
### 2020-10-14 13:23 Heading Test
|
|
||||||
|
|
||||||
#### H1-1
|
|
||||||
|
|
||||||
#### H1-2
|
|
||||||
|
|
||||||
#### H1-3
|
|
||||||
|
|
||||||
##### H2-1
|
|
||||||
|
|
||||||
##### H2-2
|
|
||||||
|
|
||||||
##### H2-3
|
|
||||||
|
|
||||||
Horizontal Rules (ignore)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
===
|
|
||||||
|
|
||||||
#### ATX H1
|
|
||||||
|
|
||||||
##### ATX H2
|
|
||||||
|
|
||||||
###### ATX H3
|
|
||||||
|
|
||||||
####### ATX H4
|
|
||||||
|
|
||||||
######## ATX H5
|
|
||||||
|
|
||||||
######### ATX H6
|
|
||||||
|
|
||||||
Stuff
|
|
||||||
|
|
||||||
More stuff
|
|
||||||
more stuff again
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario Outline: Add a blank line to Markdown export if there isn't one already
|
|
||||||
# https://github.com/jrnl-org/jrnl/issues/768
|
|
||||||
# https://github.com/jrnl-org/jrnl/issues/881
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we open the editor and append
|
|
||||||
"""
|
|
||||||
[2020-10-29 11:11] First entry.
|
|
||||||
[2020-10-29 11:11] Second entry.
|
|
||||||
[2020-10-29 11:13] Third entry.
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -3 --format markdown"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
# 2020
|
|
||||||
|
|
||||||
## October
|
|
||||||
|
|
||||||
### 2020-10-29 11:11 First entry.
|
|
||||||
|
|
||||||
|
|
||||||
### 2020-10-29 11:11 Second entry.
|
|
||||||
|
|
||||||
|
|
||||||
### 2020-10-29 11:13 Third entry.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
@skip
|
|
||||||
Scenario Outline: Exporting to XML
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --export xml"
|
|
||||||
Then the output should be a valid XML string
|
|
||||||
And "entries" node in the xml output should have 3 elements
|
|
||||||
And "tags" in the xml output should contain ["@ipsum", "@tagone", "@tagtwo", "@tagthree"]
|
|
||||||
And there should be 10 "tag" elements
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
# | basic_onefile | @todo
|
|
||||||
# | basic_encrypted | @todo
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario: Exporting to XML
|
|
||||||
Given we use the config "tags.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --export xml"
|
|
||||||
Then the output should be a valid XML string
|
|
||||||
And "entries" node in the xml output should have 2 elements
|
|
||||||
And "tags" in the xml output should contain ["@idea", "@journal", "@dan"]
|
|
||||||
And there should be 7 "tag" elements
|
|
||||||
|
|
||||||
Scenario Outline: Exporting tags
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --export tags"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
@tagtwo : 2
|
|
||||||
@tagone : 2
|
|
||||||
@tagthree : 1
|
|
||||||
@ipsum : 1
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Export fancy with small linewrap
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --config-override linewrap 35 --format fancy -3"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be 35 columns wide
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
@todo
|
|
||||||
Scenario Outline: Exporting fancy
|
|
||||||
# Needs better emoji support
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --export fancy"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
┎──────────────────────────────────────────────────────────────╮2020-08-29 11:11
|
|
||||||
┃ Entry the first. ╘═══════════════╕
|
|
||||||
┠╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
|
|
||||||
┃ Lorem @ipsum dolor sit amet, consectetur adipiscing elit. Praesent malesuada │
|
|
||||||
┃ quis est ac dignissim. Aliquam dignissim rutrum pretium. Phasellus │
|
|
||||||
┃ pellentesque │
|
|
||||||
┃ augue et venenatis facilisis. Suspendisse potenti. Sed dignissim sed nisl eu │
|
|
||||||
┃ consequat. Aenean ante ex, elementum ut interdum et, mattis eget lacus. In │
|
|
||||||
┃ commodo nulla nec tellus placerat, sed ultricies metus bibendum. Duis eget │
|
|
||||||
┃ venenatis erat. In at dolor dui. @tagone and maybe also @tagtwo. │
|
|
||||||
┃ │
|
|
||||||
┃ Curabitur accumsan nunc ac neque tristique, eleifend faucibus justo │
|
|
||||||
┃ ullamcorper. Suspendisse at mattis nunc. Nullam eget lacinia urna. │
|
|
||||||
┃ Suspendisse │
|
|
||||||
┃ potenti. Ut urna est, venenatis sed ante in, ultrices congue mi. Maecenas │
|
|
||||||
┃ eget │
|
|
||||||
┃ molestie metus. Mauris porttitor dui ornare gravida porta. Quisque sed │
|
|
||||||
┃ lectus │
|
|
||||||
┃ hendrerit, lacinia ante eget, vulputate ante. Aliquam vitae erat non felis │
|
|
||||||
┃ feugiat sagittis. Phasellus quis arcu fringilla, mattis ligula id, │
|
|
||||||
┃ vestibulum │
|
|
||||||
┃ urna. Vivamus facilisis leo a mi tincidunt condimentum. Donec eu euismod │
|
|
||||||
┃ enim. │
|
|
||||||
┃ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eu ligula eget │
|
|
||||||
┃ velit scelerisque fringilla. Phasellus pharetra justo et nulla fringilla, ac │
|
|
||||||
┃ porta sapien accumsan. Class aptent taciti sociosqu ad litora torquent per │
|
|
||||||
┃ conubia nostra, per inceptos himenaeos. │
|
|
||||||
┖──────────────────────────────────────────────────────────────────────────────┘
|
|
||||||
┎──────────────────────────────────────────────────────────────╮2020-08-31 14:32
|
|
||||||
┃ A second entry in what I hope to be a long series. ╘═══════════════╕
|
|
||||||
┠╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
|
|
||||||
┃ Sed sit amet metus et sapien feugiat elementum. Aliquam bibendum lobortis │
|
|
||||||
┃ leo │
|
|
||||||
┃ vitae tempus. Donec eleifend nec mi non volutpat. Lorem ipsum dolor sit │
|
|
||||||
┃ amet, │
|
|
||||||
┃ consectetur adipiscing elit. Praesent ut sodales libero. Maecenas nisl │
|
|
||||||
┃ lorem, │
|
|
||||||
┃ vestibulum in tempus sit amet, fermentum ut arcu. Donec vel vestibulum │
|
|
||||||
┃ lectus, │
|
|
||||||
┃ eget pretium enim. Maecenas diam nunc, imperdiet vitae pharetra sed, pretium │
|
|
||||||
┃ id │
|
|
||||||
┃ lectus. Donec eu metus et turpis tempor tristique ac non ex. In tellus arcu, │
|
|
||||||
┃ egestas at efficitur et, ultrices vel est. Sed commodo et nibh non │
|
|
||||||
┃ elementum. │
|
|
||||||
┃ Mauris tempus vitae neque vel viverra. @tagtwo all by its lonesome. │
|
|
||||||
┃ │
|
|
||||||
┃ Nulla mattis elementum magna, viverra pretium dui fermentum et. Cras vel │
|
|
||||||
┃ vestibulum odio. Quisque sit amet turpis et urna finibus maximus. Interdum │
|
|
||||||
┃ et │
|
|
||||||
┃ malesuada fames ac ante ipsum primis in faucibus. Fusce porttitor iaculis │
|
|
||||||
┃ sem, │
|
|
||||||
┃ non dictum ipsum varius nec. Nulla eu erat at risus gravida blandit non vel │
|
|
||||||
┃ ante. Nam egestas ipsum leo, eu ultricies ipsum tincidunt vel. Morbi a │
|
|
||||||
┃ commodo │
|
|
||||||
┃ eros. │
|
|
||||||
┃ │
|
|
||||||
┃ Nullam dictum, nisl ac varius tempus, ex tortor fermentum nisl, non │
|
|
||||||
┃ tempus dolor neque a lorem. Suspendisse a faucibus ex, vel ornare tortor. │
|
|
||||||
┃ Maecenas tincidunt id felis quis semper. Pellentesque enim libero, fermentum │
|
|
||||||
┃ quis metus id, rhoncus euismod magna. Nulla finibus velit eu purus bibendum │
|
|
||||||
┃ interdum. Integer id justo dui. Integer eu tellus in turpis bibendum │
|
|
||||||
┃ blandit. │
|
|
||||||
┃ Quisque auctor lacinia consectetur. │
|
|
||||||
┖──────────────────────────────────────────────────────────────────────────────┘
|
|
||||||
┎──────────────────────────────────────────────────────────────╮2020-09-24 09:14
|
|
||||||
┃ The third entry finally after weeks without writing. ╘═══════════════╕
|
|
||||||
┠╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
|
|
||||||
┃ I'm so excited about emojis. 💯 🎶 💩 │
|
|
||||||
┃ │
|
|
||||||
┃ Donec semper pellentesque iaculis. Nullam cursus et justo sit amet │
|
|
||||||
┃ venenatis. │
|
|
||||||
┃ Vivamus tempus ex dictum metus vehicula gravida. Aliquam sed sem dolor. │
|
|
||||||
┃ Nulla │
|
|
||||||
┃ eget ultrices purus. Quisque at nunc at quam pharetra consectetur vitae quis │
|
|
||||||
┃ dolor. Fusce ultricies purus eu est feugiat, quis scelerisque nibh │
|
|
||||||
┃ malesuada. │
|
|
||||||
┃ Quisque egestas semper nibh in hendrerit. Nam finibus ex in mi mattis │
|
|
||||||
┃ vulputate. Sed mauris urna, consectetur in justo eu, volutpat accumsan │
|
|
||||||
┃ justo. │
|
|
||||||
┃ Phasellus aliquam lacus placerat convallis vestibulum. Curabitur maximus at │
|
|
||||||
┃ ante eget fringilla. @tagthree and also @tagone │
|
|
||||||
┖──────────────────────────────────────────────────────────────────────────────┘
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
@skip_win
|
|
||||||
Scenario Outline: Export to yaml
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
And we create a cache directory
|
|
||||||
When we run "jrnl --export yaml -o {cache_dir}"
|
|
||||||
Then the cache should contain the files
|
|
||||||
"""
|
|
||||||
2020-08-29_entry-the-first.md
|
|
||||||
2020-08-31_a-second-entry-in-what-i-hope-to-be-a-long-series.md
|
|
||||||
2020-09-24_the-third-entry-finally-after-weeks-without-writing.md
|
|
||||||
"""
|
|
||||||
And the content of file "2020-08-29_entry-the-first.md" in the cache should be
|
|
||||||
"""
|
|
||||||
---
|
|
||||||
title: Entry the first.
|
|
||||||
date: 2020-08-29 11:11
|
|
||||||
starred: False
|
|
||||||
tags: tagone, ipsum, tagtwo
|
|
||||||
body: |
|
|
||||||
Lorem @ipsum dolor sit amet, consectetur adipiscing elit. Praesent malesuada
|
|
||||||
quis est ac dignissim. Aliquam dignissim rutrum pretium. Phasellus pellentesque
|
|
||||||
augue et venenatis facilisis. Suspendisse potenti. Sed dignissim sed nisl eu
|
|
||||||
consequat. Aenean ante ex, elementum ut interdum et, mattis eget lacus. In
|
|
||||||
commodo nulla nec tellus placerat, sed ultricies metus bibendum. Duis eget
|
|
||||||
venenatis erat. In at dolor dui. @tagone and maybe also @tagtwo.
|
|
||||||
|
|
||||||
Curabitur accumsan nunc ac neque tristique, eleifend faucibus justo
|
|
||||||
ullamcorper. Suspendisse at mattis nunc. Nullam eget lacinia urna. Suspendisse
|
|
||||||
potenti. Ut urna est, venenatis sed ante in, ultrices congue mi. Maecenas eget
|
|
||||||
molestie metus. Mauris porttitor dui ornare gravida porta. Quisque sed lectus
|
|
||||||
hendrerit, lacinia ante eget, vulputate ante. Aliquam vitae erat non felis
|
|
||||||
feugiat sagittis. Phasellus quis arcu fringilla, mattis ligula id, vestibulum
|
|
||||||
urna. Vivamus facilisis leo a mi tincidunt condimentum. Donec eu euismod enim.
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eu ligula eget
|
|
||||||
velit scelerisque fringilla. Phasellus pharetra justo et nulla fringilla, ac
|
|
||||||
porta sapien accumsan. Class aptent taciti sociosqu ad litora torquent per
|
|
||||||
conubia nostra, per inceptos himenaeos.
|
|
||||||
...
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
# | basic_dayone |
|
|
||||||
|
|
||||||
@skip_win # @todo YAML exporter does not correctly export emoji on Windows
|
|
||||||
Scenario Outline: Add a blank line to YAML export if there isn't one already
|
|
||||||
# https://github.com/jrnl-org/jrnl/issues/768
|
|
||||||
# https://github.com/jrnl-org/jrnl/issues/881
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
And we create a cache directory
|
|
||||||
When we run "jrnl --export yaml -o {cache_dir}"
|
|
||||||
Then the cache should contain the files
|
|
||||||
"""
|
|
||||||
2020-08-29_entry-the-first.md
|
|
||||||
2020-08-31_a-second-entry-in-what-i-hope-to-be-a-long-series.md
|
|
||||||
2020-09-24_the-third-entry-finally-after-weeks-without-writing.md
|
|
||||||
"""
|
|
||||||
And the content of file "2020-09-24_the-third-entry-finally-after-weeks-without-writing.md" in the cache should be
|
|
||||||
"""
|
|
||||||
---
|
|
||||||
title: The third entry finally after weeks without writing.
|
|
||||||
date: 2020-09-24 09:14
|
|
||||||
starred: False
|
|
||||||
tags: tagone, tagthree
|
|
||||||
body: |
|
|
||||||
I'm so excited about emojis. 💯 🎶 💩
|
|
||||||
|
|
||||||
Donec semper pellentesque iaculis. Nullam cursus et justo sit amet venenatis.
|
|
||||||
Vivamus tempus ex dictum metus vehicula gravida. Aliquam sed sem dolor. Nulla
|
|
||||||
eget ultrices purus. Quisque at nunc at quam pharetra consectetur vitae quis
|
|
||||||
dolor. Fusce ultricies purus eu est feugiat, quis scelerisque nibh malesuada.
|
|
||||||
Quisque egestas semper nibh in hendrerit. Nam finibus ex in mi mattis
|
|
||||||
vulputate. Sed mauris urna, consectetur in justo eu, volutpat accumsan justo.
|
|
||||||
Phasellus aliquam lacus placerat convallis vestibulum. Curabitur maximus at
|
|
||||||
ante eget fringilla. @tagthree and also @tagone
|
|
||||||
...
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario: Empty DayOne entry bodies should not error
|
|
||||||
# https://github.com/jrnl-org/jrnl/issues/780
|
|
||||||
Given we use the config "bug780.yaml"
|
|
||||||
When we run "jrnl --short"
|
|
||||||
Then we should get no error
|
|
||||||
|
|
||||||
Scenario Outline: --short displays the short version of entries (only the title)
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -on 2020-08-31 --short"
|
|
||||||
Then the output should be "2020-08-31 14:32 A second entry in what I hope to be a long series."
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: -s displays the short version of entries (only the title)
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -on 2020-08-31 -s"
|
|
||||||
Then the output should be "2020-08-31 14:32 A second entry in what I hope to be a long series."
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario: Markdown Support from config file
|
|
||||||
Given we use the config "format_md.yaml"
|
|
||||||
When we run "jrnl -n 1"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
# 2013
|
|
||||||
|
|
||||||
## June
|
|
||||||
|
|
||||||
### 2013-06-10 15:40 Life is good.
|
|
||||||
|
|
||||||
But I'm better.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Scenario: Text Formatter from config file
|
|
||||||
Given we use the config "format_text.yaml"
|
|
||||||
When we run "jrnl -n 1"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
[2013-06-10 15:40] Life is good.
|
|
||||||
But I'm better.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Scenario Outline: Exporting entries with Cyrillic characters to directory should not fail
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
And we create a cache directory
|
|
||||||
When we run "jrnl 2020-11-21: Первая"
|
|
||||||
When we run "jrnl --format md --file {cache_dir} -on 2020-11-21"
|
|
||||||
Then the cache should contain the files
|
|
||||||
"""
|
|
||||||
2020-11-21_первая.md
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Export date counts
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl 2020-08-31 01:01: Hi."
|
|
||||||
And we run "jrnl --format dates"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2020-08-29, 1
|
|
||||||
2020-08-31, 2
|
|
||||||
2020-09-24, 1
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
|
@ -1,93 +0,0 @@
|
||||||
Feature: Importing data
|
|
||||||
|
|
||||||
Scenario Outline: --import allows new entry from stdin
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --import" and pipe "[2020-07-05 15:00] Observe and import."
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -c import"
|
|
||||||
Then the output should contain "Observe and import"
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario Outline: --import allows new large entry from stdin
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --import" and pipe
|
|
||||||
"""
|
|
||||||
[2020-07-05 15:00] Observe and import.
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent malesuada quis
|
|
||||||
est ac dignissim. Aliquam dignissim rutrum pretium. Phasellus pellentesque augue
|
|
||||||
et venenatis facilisis. Suspendisse potenti. Sed dignissim sed nisl eu consequat.
|
|
||||||
Aenean ante ex, elementum ut interdum et, mattis eget lacus. In commodo nulla nec
|
|
||||||
tellus placerat, sed ultricies metus bibendum. Duis eget venenatis erat. In at
|
|
||||||
dolor dui end of entry.
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -on 2020-07-05"
|
|
||||||
Then the output should contain "2020-07-05 15:00 Observe and import."
|
|
||||||
And the output should contain "Lorem ipsum"
|
|
||||||
And the output should contain "end of entry."
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario Outline: --import allows multiple new entries from stdin
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --import" and pipe
|
|
||||||
"""
|
|
||||||
[2020-07-05 15:00] Observe and import.
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
|
||||||
|
|
||||||
[2020-07-05 15:01] Twice as nice.
|
|
||||||
Sed dignissim sed nisl eu consequat.
|
|
||||||
"""
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -on 2020-07-05"
|
|
||||||
Then the output should contain "2020-07-05 15:00 Observe and import."
|
|
||||||
And the output should contain "Lorem ipsum"
|
|
||||||
And the output should contain "2020-07-05 15:01 Twice as nice."
|
|
||||||
And the output should contain "Sed dignissim"
|
|
||||||
|
|
||||||
Examples: Configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
# | basic_folder | @todo
|
|
||||||
# | basic_dayone | @todo
|
|
||||||
|
|
||||||
Scenario: --import allows import new entries from file
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
Then the journal should contain "My first entry."
|
|
||||||
And the journal should contain "Life is good."
|
|
||||||
But the journal should not contain "I have an @idea"
|
|
||||||
And the journal should not contain "I met with"
|
|
||||||
When we run "jrnl --import --file features/journals/tags.journal"
|
|
||||||
Then the journal should contain "My first entry."
|
|
||||||
And the journal should contain "Life is good."
|
|
||||||
And the journal should contain "PROFIT!"
|
|
||||||
|
|
||||||
Scenario: --import prioritizes --file over pipe data if both are given
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
Then the journal should contain "My first entry."
|
|
||||||
And the journal should contain "Life is good."
|
|
||||||
But the journal should not contain "I have an @idea"
|
|
||||||
And the journal should not contain "I met with"
|
|
||||||
When we run "jrnl --import --file features/journals/tags.journal" and pipe
|
|
||||||
"""
|
|
||||||
[2020-07-05 15:00] I should not exist!
|
|
||||||
"""
|
|
||||||
Then the journal should contain "My first entry."
|
|
||||||
And the journal should contain "PROFIT!"
|
|
||||||
But the journal should not contain "I should not exist!"
|
|
||||||
|
|
|
@ -1,65 +0,0 @@
|
||||||
Feature: Multiple journals
|
|
||||||
|
|
||||||
Scenario: Loading a config with two journals
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
Then journal "default" should have 2 entries
|
|
||||||
And journal "work" should have 0 entries
|
|
||||||
|
|
||||||
Scenario: Write to default config by default
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
When we run "jrnl this goes to default"
|
|
||||||
Then journal "default" should have 3 entries
|
|
||||||
And journal "work" should have 0 entries
|
|
||||||
|
|
||||||
Scenario: Write to specified journal
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
When we run "jrnl work a long day in the office"
|
|
||||||
Then journal "default" should have 2 entries
|
|
||||||
And journal "work" should have 1 entry
|
|
||||||
|
|
||||||
Scenario: Tell user which journal was used
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
When we run "jrnl work a long day in the office"
|
|
||||||
Then we should see the message "Entry added to work journal"
|
|
||||||
|
|
||||||
Scenario: Write to specified journal with a timestamp
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
When we run "jrnl work 23 july 2012: a long day in the office"
|
|
||||||
Then journal "default" should have 2 entries
|
|
||||||
And journal "work" should have 1 entry
|
|
||||||
And journal "work" should contain "2012-07-23"
|
|
||||||
|
|
||||||
Scenario: Write to specified journal without a timestamp but with colon
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
When we run "jrnl work : a long day in the office"
|
|
||||||
Then journal "default" should have 2 entries
|
|
||||||
And journal "work" should have 1 entry
|
|
||||||
And journal "work" should contain "a long day in the office"
|
|
||||||
|
|
||||||
Scenario: Write to specified journal without a timestamp but with colon
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
When we run "jrnl work: a long day in the office"
|
|
||||||
Then journal "default" should have 2 entries
|
|
||||||
And journal "work" should have 1 entry
|
|
||||||
And journal "work" should contain "a long day in the office"
|
|
||||||
|
|
||||||
Scenario: Create new journals as required
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
Then journal "ideas" should not exist
|
|
||||||
When we run "jrnl ideas 23 july 2012: sell my junk on ebay and make lots of money"
|
|
||||||
Then journal "ideas" should have 1 entry
|
|
||||||
|
|
||||||
Scenario: Don't crash if no default journal is specified
|
|
||||||
Given we use the config "bug343.yaml"
|
|
||||||
When we run "jrnl a long day in the office"
|
|
||||||
Then we should see the message "No default journal configured"
|
|
||||||
|
|
||||||
Scenario: Don't crash if no file exists for a configured encrypted journal
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
When we run "jrnl new_encrypted Adding first entry" and enter
|
|
||||||
"""
|
|
||||||
these three eyes
|
|
||||||
these three eyes
|
|
||||||
n
|
|
||||||
"""
|
|
||||||
Then we should see the message "Encrypted journal 'new_encrypted' created"
|
|
|
@ -1,98 +0,0 @@
|
||||||
Feature: Implementing Runtime Overrides for Select Configuration Keys
|
|
||||||
|
|
||||||
Scenario: Override configured editor with built-in input === editor:''
|
|
||||||
Given we use the config "basic_encrypted.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --config-override editor ''"
|
|
||||||
Then the stdin prompt should have been called
|
|
||||||
|
|
||||||
Scenario: Postconfig commands with overrides
|
|
||||||
Given We use the config "basic_encrypted.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --decrypt --config-override highlight false --config-override editor nano"
|
|
||||||
Then the config should have "highlight" set to "bool:false"
|
|
||||||
And no editor should have been called
|
|
||||||
|
|
||||||
Scenario: Override configured linewrap with a value of 23
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -2 --config-override linewrap 23 --format fancy"
|
|
||||||
Then the output should be
|
|
||||||
|
|
||||||
"""
|
|
||||||
┎─────╮2013-06-09 15:39
|
|
||||||
┃ My ╘═══════════════╕
|
|
||||||
┃ fir st ent ry. │
|
|
||||||
┠╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
|
|
||||||
┃ Everything is │
|
|
||||||
┃ alright │
|
|
||||||
┖─────────────────────┘
|
|
||||||
┎─────╮2013-06-10 15:40
|
|
||||||
┃ Lif ╘═══════════════╕
|
|
||||||
┃ e is goo d. │
|
|
||||||
┠╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
|
|
||||||
┃ But I'm better. │
|
|
||||||
┖─────────────────────┘
|
|
||||||
"""
|
|
||||||
|
|
||||||
Scenario: Override color selections with runtime overrides
|
|
||||||
Given we use the config "basic_encrypted.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -1 --config-override colors.body blue"
|
|
||||||
Then the config should have "colors.body" set to "blue"
|
|
||||||
|
|
||||||
Scenario: Apply multiple config overrides
|
|
||||||
Given we use the config "basic_encrypted.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -1 --config-override colors.body green --config-override editor 'nano'"
|
|
||||||
Then the config should have "colors.body" set to "green"
|
|
||||||
And the config should have "editor" set to "nano"
|
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Override configured editor
|
|
||||||
Given we use the config "basic_encrypted.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --config-override editor '<editor>'"
|
|
||||||
Then the editor <editor> should have been called
|
|
||||||
Examples: Editor Commands
|
|
||||||
| editor |
|
|
||||||
| nano |
|
|
||||||
| vi -c startinsert |
|
|
||||||
| code -w |
|
|
||||||
|
|
||||||
Scenario: Override default journal
|
|
||||||
Given we use the config "basic_dayone.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --debug --config-override journals.default features/journals/simple.journal 20 Mar 2000: The rain in Spain comes from clouds"
|
|
||||||
Then we should get no error
|
|
||||||
And we should see the message "Entry added"
|
|
||||||
When we run "jrnl -3 --debug --config-override journals.default features/journals/simple.journal"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2000-03-20 09:00 The rain in Spain comes from clouds
|
|
||||||
|
|
||||||
2013-06-09 15:39 My first entry.
|
|
||||||
| Everything is alright
|
|
||||||
|
|
||||||
2013-06-10 15:40 Life is good.
|
|
||||||
| But I'm better.
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
Scenario: Make an entry into an overridden journal
|
|
||||||
Given we use the config "basic_dayone.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl --config-override journals.temp features/journals/simple.journal temp Sep 06 1969: @say Ni"
|
|
||||||
Then we should get no error
|
|
||||||
And we should see the message "Entry added"
|
|
||||||
When we run "jrnl --config-override journals.temp features/journals/simple.journal temp -3"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
1969-09-06 09:00 @say Ni
|
|
||||||
|
|
||||||
2013-06-09 15:39 My first entry.
|
|
||||||
| Everything is alright
|
|
||||||
|
|
||||||
2013-06-10 15:40 Life is good.
|
|
||||||
| But I'm better.
|
|
||||||
"""
|
|
|
@ -1,116 +0,0 @@
|
||||||
Feature: Using the installed keyring
|
|
||||||
|
|
||||||
Scenario: Storing a password in keyring
|
|
||||||
Given we use the config "multiple.yaml"
|
|
||||||
And we have a keyring
|
|
||||||
When we run "jrnl simple --encrypt" and enter
|
|
||||||
"""
|
|
||||||
sabertooth
|
|
||||||
sabertooth
|
|
||||||
y
|
|
||||||
"""
|
|
||||||
Then the config for journal "simple" should have "encrypt" set to "bool:True"
|
|
||||||
When we run "jrnl simple -n 1"
|
|
||||||
Then the output should contain "2013-06-10 15:40 Life is good"
|
|
||||||
|
|
||||||
Scenario: Encrypt journal with no keyring backend and do not store in keyring
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
And we do not have a keyring
|
|
||||||
When we run "jrnl test entry"
|
|
||||||
And we run "jrnl --encrypt" and enter
|
|
||||||
"""
|
|
||||||
password
|
|
||||||
password
|
|
||||||
n
|
|
||||||
"""
|
|
||||||
Then we should get no error
|
|
||||||
And we should not see the message "Failed to retrieve keyring"
|
|
||||||
|
|
||||||
Scenario: Encrypt journal with no keyring backend and do store in keyring
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
And we do not have a keyring
|
|
||||||
When we run "jrnl test entry"
|
|
||||||
And we run "jrnl --encrypt" and enter
|
|
||||||
"""
|
|
||||||
password
|
|
||||||
password
|
|
||||||
y
|
|
||||||
"""
|
|
||||||
Then we should get no error
|
|
||||||
And we should not see the message "Failed to retrieve keyring"
|
|
||||||
# @todo add step to check contents of keyring
|
|
||||||
|
|
||||||
@todo
|
|
||||||
Scenario: Open an encrypted journal with wrong password in keyring
|
|
||||||
# This should ask the user for the password after the keyring fails
|
|
||||||
|
|
||||||
@todo
|
|
||||||
Scenario: Decrypt journal with password in keyring
|
|
||||||
|
|
||||||
@todo
|
|
||||||
Scenario: Decrypt journal without a keyring
|
|
||||||
|
|
||||||
Scenario: Encrypt journal when keyring exists but fails
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
And we have a failed keyring
|
|
||||||
When we run "jrnl --encrypt" and enter
|
|
||||||
"""
|
|
||||||
this password will not be saved in keyring
|
|
||||||
this password will not be saved in keyring
|
|
||||||
y
|
|
||||||
"""
|
|
||||||
Then we should see the message "Failed to retrieve keyring"
|
|
||||||
And we should get no error
|
|
||||||
And we should be prompted for a password
|
|
||||||
And the config for journal "default" should have "encrypt" set to "bool:True"
|
|
||||||
|
|
||||||
Scenario: Decrypt journal when keyring exists but fails
|
|
||||||
Given we use the config "encrypted.yaml"
|
|
||||||
And we have a failed keyring
|
|
||||||
When we run "jrnl --decrypt" and enter "bad doggie no biscuit"
|
|
||||||
Then we should see the message "Failed to retrieve keyring"
|
|
||||||
And we should get no error
|
|
||||||
And we should be prompted for a password
|
|
||||||
And we should see the message "Journal decrypted"
|
|
||||||
And the config for journal "default" should have "encrypt" set to "bool:False"
|
|
||||||
And the journal should have 2 entries
|
|
||||||
|
|
||||||
Scenario: Open encrypted journal when keyring exists but fails
|
|
||||||
# This should ask the user for the password after the keyring fails
|
|
||||||
Given we use the config "encrypted.yaml"
|
|
||||||
And we have a failed keyring
|
|
||||||
When we run "jrnl -n 1" and enter "bad doggie no biscuit"
|
|
||||||
Then we should see the message "Failed to retrieve keyring"
|
|
||||||
And we should get no error
|
|
||||||
And we should be prompted for a password
|
|
||||||
And the output should contain "2013-06-10 15:40 Life is good"
|
|
||||||
|
|
||||||
Scenario: Mistyping your password
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl --encrypt" and enter
|
|
||||||
"""
|
|
||||||
swordfish
|
|
||||||
sordfish
|
|
||||||
"""
|
|
||||||
Then we should be prompted for a password
|
|
||||||
And we should see the message "Passwords did not match"
|
|
||||||
And the config for journal "default" should not have "encrypt" set
|
|
||||||
And the journal should have 2 entries
|
|
||||||
|
|
||||||
Scenario: Mistyping your password, then getting it right
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl --encrypt" and enter
|
|
||||||
"""
|
|
||||||
swordfish
|
|
||||||
sordfish
|
|
||||||
swordfish
|
|
||||||
swordfish
|
|
||||||
n
|
|
||||||
"""
|
|
||||||
Then we should be prompted for a password
|
|
||||||
And we should see the message "Passwords did not match"
|
|
||||||
And we should see the message "Journal encrypted"
|
|
||||||
And the config for journal "default" should have "encrypt" set to "bool:True"
|
|
||||||
When we run "jrnl -n 1" and enter "swordfish"
|
|
||||||
Then we should be prompted for a password
|
|
||||||
And the output should contain "2013-06-10 15:40 Life is good"
|
|
|
@ -1,318 +0,0 @@
|
||||||
Feature: Searching in a journal
|
|
||||||
|
|
||||||
Scenario Outline: Displaying entries using -on today should display entries created today
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl today: Adding an entry right now."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl -on today"
|
|
||||||
Then the output should contain "Adding an entry right now."
|
|
||||||
But the output should not contain "Everything is alright"
|
|
||||||
And the output should not contain "Life is good"
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| simple |
|
|
||||||
| empty_folder |
|
|
||||||
| dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Displaying entries using -from day should display correct entries
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl yesterday: This thing happened yesterday"
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl today at 11:59pm: Adding an entry right now."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl tomorrow: A future entry."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl -from today"
|
|
||||||
Then the output should contain "Adding an entry right now."
|
|
||||||
And the output should contain "A future entry."
|
|
||||||
And the output should not contain "This thing happened yesterday"
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| simple |
|
|
||||||
| empty_folder |
|
|
||||||
| dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Displaying entries using -from and -to day should display correct entries
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl yesterday: This thing happened yesterday"
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl today at 11:59pm: Adding an entry right now."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl tomorrow: A future entry."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl -from yesterday -to today"
|
|
||||||
Then the output should contain "This thing happened yesterday"
|
|
||||||
And the output should contain "Adding an entry right now."
|
|
||||||
And the output should not contain "A future entry."
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| simple |
|
|
||||||
| empty_folder |
|
|
||||||
| dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Searching for a string
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl -contains first --short"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be
|
|
||||||
"""
|
|
||||||
2020-08-29 11:11 Entry the first.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Searching for a string within tag results
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl @tagone -contains maybe"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should contain "maybe"
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Searching for a string within AND tag results
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl -and @tagone @tagtwo -contains maybe"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should contain "maybe"
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Searching for a string within NOT tag results
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl -not @tagone -contains lonesome"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should contain "lonesome"
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Searching for dates
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl -on 2020-08-31 --short"
|
|
||||||
Then the output should be "2020-08-31 14:32 A second entry in what I hope to be a long series."
|
|
||||||
Then we flush the output
|
|
||||||
When we run "jrnl -on 'august 31 2020' --short"
|
|
||||||
Then the output should be "2020-08-31 14:32 A second entry in what I hope to be a long series."
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario: Out of order entries to a Folder journal should be listed in date order
|
|
||||||
Given we use the config "empty_folder.yaml"
|
|
||||||
When we run "jrnl 3/7/2014 4:37pm: Second entry of journal."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl 23 July 2013: Testing folder journal."
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl -2"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2013-07-23 09:00 Testing folder journal.
|
|
||||||
|
|
||||||
2014-03-07 16:37 Second entry of journal.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Scenario Outline: Searching for all tags should show counts of each tag
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --tags"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be
|
|
||||||
"""
|
|
||||||
@tagtwo : 2
|
|
||||||
@tagone : 2
|
|
||||||
@tagthree : 1
|
|
||||||
@ipsum : 1
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Filtering journals should also filter tags
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl -from 'september 2020' --tags"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be
|
|
||||||
"""
|
|
||||||
@tagthree : 1
|
|
||||||
@tagone : 1
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Excluding a tag should filter out all entries with that tag
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --tags -not @tagtwo"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
@tagthree : 1
|
|
||||||
@tagone : 1
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Excluding multiple tags should filter out all entries with those tags
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
When we run "jrnl --tags -not @tagone -not @tagthree"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
@tagtwo : 1
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario: DayOne tag searching should work with tags containing a mixture of upper and lower case.
|
|
||||||
# https://github.com/jrnl-org/jrnl/issues/354
|
|
||||||
Given we use the config "dayone.yaml"
|
|
||||||
When we run "jrnl @plAy"
|
|
||||||
Then the output should contain "2013-05-17 11:39 This entry has tags!"
|
|
||||||
|
|
||||||
Scenario: Loading a sample journal
|
|
||||||
Given we use the config "simple.yaml"
|
|
||||||
When we run "jrnl -2"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be
|
|
||||||
"""
|
|
||||||
2013-06-09 15:39 My first entry.
|
|
||||||
| Everything is alright
|
|
||||||
|
|
||||||
2013-06-10 15:40 Life is good.
|
|
||||||
| But I'm better.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Scenario Outline: Searching by month
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -month 9 --short"
|
|
||||||
Then the output should be "2020-09-24 09:14 The third entry finally after weeks without writing."
|
|
||||||
And we flush the output
|
|
||||||
When we run "jrnl -month Sept --short"
|
|
||||||
Then the output should be "2020-09-24 09:14 The third entry finally after weeks without writing."
|
|
||||||
And we flush the output
|
|
||||||
When we run "jrnl -month September --short"
|
|
||||||
Then the output should be "2020-09-24 09:14 The third entry finally after weeks without writing."
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Searching by day
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -day 31 --short"
|
|
||||||
Then the output should be "2020-08-31 14:32 A second entry in what I hope to be a long series."
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Searching by year
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl 2019-01-01 01:01: I like this year."
|
|
||||||
And we run "jrnl -year 2019 --short"
|
|
||||||
Then the output should be "2019-01-01 01:01 I like this year."
|
|
||||||
And we flush the output
|
|
||||||
When we run "jrnl -year 19 --short"
|
|
||||||
Then the output should be "2019-01-01 01:01 I like this year."
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Combining month, day, and year search terms
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
When we run "jrnl -month 08 -day 29 --short"
|
|
||||||
Then the output should be "2020-08-29 11:11 Entry the first."
|
|
||||||
And we flush the output
|
|
||||||
When we run "jrnl -day 29 -year 2020 --short"
|
|
||||||
Then the output should be "2020-08-29 11:11 Entry the first."
|
|
||||||
And we flush the output
|
|
||||||
When we run "jrnl -month 09 -year 2020 --short"
|
|
||||||
Then the output should be "2020-09-24 09:14 The third entry finally after weeks without writing."
|
|
||||||
And we flush the output
|
|
||||||
When we run "jrnl -month 08 -day 29 -year 2020 --short"
|
|
||||||
Then the output should be "2020-08-29 11:11 Entry the first."
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Searching today in history
|
|
||||||
Given we use the config "<config>.yaml"
|
|
||||||
And we use the password "test" if prompted
|
|
||||||
And we set current date and time to "2020-08-31 14:32"
|
|
||||||
When we run "jrnl 2019-08-31 01:01: Hi, from last year."
|
|
||||||
And we run "jrnl -today-in-history --short"
|
|
||||||
Then the output should be
|
|
||||||
"""
|
|
||||||
2019-08-31 01:01 Hi, from last year.
|
|
||||||
2020-08-31 14:32 A second entry in what I hope to be a long series.
|
|
||||||
"""
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config |
|
|
||||||
| basic_onefile |
|
|
||||||
| basic_encrypted |
|
|
||||||
| basic_folder |
|
|
||||||
| basic_dayone |
|
|
||||||
|
|
||||||
Scenario: Loading a DayOne Journal
|
|
||||||
Given we use the config "dayone.yaml"
|
|
||||||
When we run "jrnl -from 'feb 2013'"
|
|
||||||
Then we should get no error
|
|
||||||
And the output should be
|
|
||||||
"""
|
|
||||||
2013-05-17 11:39 This entry has tags!
|
|
||||||
|
|
||||||
2013-06-17 20:38 This entry has a location.
|
|
||||||
|
|
||||||
2013-07-17 11:38 This entry is starred!
|
|
||||||
"""
|
|
|
@ -1,35 +0,0 @@
|
||||||
Feature: Starring entries
|
|
||||||
|
|
||||||
Scenario Outline: Starring an entry will mark it in the journal file
|
|
||||||
Given we use the config "<config_file>.yaml"
|
|
||||||
When we run "jrnl 20 july 2013 *: Best day of my life!"
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl -on 2013-07-20 -starred"
|
|
||||||
Then the output should contain "2013-07-20 09:00 Best day of my life!"
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config_file |
|
|
||||||
| simple |
|
|
||||||
| empty_folder |
|
|
||||||
| dayone |
|
|
||||||
|
|
||||||
Scenario Outline: Filtering by starred entries will show only starred entries
|
|
||||||
Given we use the config "<config_file>.yaml"
|
|
||||||
When we run "jrnl -starred"
|
|
||||||
Then the output should be empty
|
|
||||||
When we run "jrnl 20 july 2013 *: Best day of my life!"
|
|
||||||
When we run "jrnl -starred"
|
|
||||||
Then the output should be "2013-07-20 09:00 Best day of my life!"
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config_file |
|
|
||||||
| simple |
|
|
||||||
| empty_folder |
|
|
||||||
| dayone_empty |
|
|
||||||
|
|
||||||
Scenario: Starring an entry will mark it in an encrypted journal
|
|
||||||
Given we use the config "encrypted.yaml"
|
|
||||||
When we run "jrnl 20 july 2013 *: Best day of my life!" and enter "bad doggie no biscuit"
|
|
||||||
Then we should see the message "Entry added"
|
|
||||||
When we run "jrnl -on 2013-07-20 -starred" and enter "bad doggie no biscuit"
|
|
||||||
Then the output should contain "2013-07-20 09:00 Best day of my life!"
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue