Update copyright year (#1502)

Update copyright year in comment headers and --version output
This commit is contained in:
Jonathan Wren 2022-06-18 11:30:56 -07:00 committed by GitHub
parent 9639c5386f
commit f5e052937c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
101 changed files with 282 additions and 80 deletions

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
name: Changelog name: Changelog
on: on:

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
name: Docs name: Docs
on: on:

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
name: Release name: Release
on: on:
workflow_dispatch: workflow_dispatch:

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
name: Testing name: Testing
on: on:

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
name: Testing name: Testing
on: on:

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Contributing # Contributing
See "[Contributing](docs/contributing.md)" in the `docs` directory. See "[Contributing](docs/contributing.md)" in the `docs` directory.

View file

@ -1,3 +1,8 @@
<!--
Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
<p align="center"> <p align="center">
<a href="https://jrnl.sh"> <a href="https://jrnl.sh">
<img align="center" src="https://raw.githubusercontent.com/jrnl-org/jrnl/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"/>

View file

@ -1,5 +1,7 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Advanced Usage # Advanced Usage

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Contributing to jrnl # Contributing to jrnl
We welcome contributions to jrnl, whether it's through reporting bugs, improving the documentation, testing releases, engaging in discussion on features and bugs, or writing code. We welcome contributions to jrnl, whether it's through reporting bugs, improving the documentation, testing releases, engaging in discussion on features and bugs, or writing code.

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Encryption # Encryption
## A Note on Security ## A Note on Security

View file

@ -1,3 +1,8 @@
<!--
Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# External editors # External editors
Configure your preferred external editor by updating the `editor` option Configure your preferred external editor by updating the `editor` option

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Formats # Formats
`jrnl` supports a variety of alternate formats. These can be used to display your `jrnl` supports a variety of alternate formats. These can be used to display your

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Getting started # Getting started
## Installation ## Installation

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Journal Types # Journal Types
`jrnl` can store your journal in a few different ways: `jrnl` can store your journal in a few different ways:

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Overview # Overview
`jrnl` is a simple journal application for the command line. `jrnl` is a simple journal application for the command line.

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Privacy and Security # Privacy and Security
`jrnl` is designed with privacy and security in mind, but like any other `jrnl` is designed with privacy and security in mind, but like any other

View file

@ -1,3 +1,8 @@
<!--
Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Command Line Reference # Command Line Reference
## Synopsis ## Synopsis

View file

@ -1,3 +1,8 @@
<!--
Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Configuration File Reference # Configuration File Reference
`jrnl` stores its information in a YAML configuration file. `jrnl` stores its information in a YAML configuration file.

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Tips and Tricks # Tips and Tricks
This page contains tips and tricks for using `jrnl`, often in conjunction This page contains tips and tricks for using `jrnl`, often in conjunction

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
# Basic Usage # # Basic Usage #
`jrnl` has two modes: **composing** and **viewing**. Whenever you don't enter `jrnl` has two modes: **composing** and **viewing**. Whenever you don't enter

View file

@ -1,5 +1,7 @@
/* Copyright (C) 2012-2021 jrnl contributors /*
License: https://www.gnu.org/licenses/gpl-3.0.html */ Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
*/
:root { :root {
/* For dark bg */ /* For dark bg */

View file

@ -1,4 +1,7 @@
/* /*
Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
Atom One Dark With support for ReasonML by Gidi Morris, based off work by Atom One Dark With support for ReasonML by Gidi Morris, based off work by
Daniel Gamage Daniel Gamage

View file

@ -1,5 +1,8 @@
/* Copyright (C) 2012-2021 jrnl contributors /*
License: https://www.gnu.org/licenses/gpl-3.0.html */ Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
*/
/* reset */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0} /* reset */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
body { body {

View file

@ -1,5 +1,7 @@
/* Copyright (C) 2012-2021 jrnl contributors /*
License: https://www.gnu.org/licenses/gpl-3.0.html */ Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
*/
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* Overrides for jrnl theme */ /* Overrides for jrnl theme */

View file

@ -1,5 +1,8 @@
<!-- Copyright (C) 2012-2021 jrnl contributors <!--
License: https://www.gnu.org/licenses/gpl-3.0.html --> Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">

View file

@ -1,3 +1,8 @@
<!--
Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
{% extends "base.html" %} {% extends "base.html" %}
{%- block search_button %} {%- block search_button %}

View file

@ -1,3 +1,8 @@
<!--
Copyright (C) 2012-2022 jrnl contributors
License: https://www.gnu.org/licenses/gpl-3.0.html
-->
{% extends "main.html" %} {% extends "main.html" %}
{% block content %} {% block content %}

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import datetime import datetime
import fnmatch import fnmatch
import os import os

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import base64 import base64
import hashlib import hashlib
import logging import logging

View file

@ -1,7 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import datetime import datetime
import re import re

View file

@ -1,8 +1,6 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import codecs import codecs
import fnmatch import fnmatch
import os import os

View file

@ -1,7 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import datetime import datetime
import logging import logging
import os import os

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
try: try:

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import sys import sys

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import argparse import argparse

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import logging import logging

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import re import re
from string import punctuation from string import punctuation
from string import whitespace from string import whitespace

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
""" """
Functions in this file are standalone commands. All standalone commands are split into Functions in this file are standalone commands. All standalone commands are split into
two categories depending on whether they require the config to be loaded to be able to two categories depending on whether they require the config to be loaded to be able to
@ -38,7 +41,7 @@ def preconfig_version(_):
version_str = f"""{__title__} version {__version__} version_str = f"""{__title__} version {__version__}
Copyright (C) 2012-2021 jrnl contributors Copyright (C) 2012-2022 jrnl contributors
This is free software, and you are welcome to redistribute it under certain This is free software, and you are welcome to redistribute it under certain
conditions; for details, see: https://www.gnu.org/licenses/gpl-3.0.html""" conditions; for details, see: https://www.gnu.org/licenses/gpl-3.0.html"""

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import logging import logging
import os import os

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import logging import logging
import os import os
import subprocess import subprocess

View file

@ -1,5 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from jrnl.messages import Message from jrnl.messages import Message
from jrnl.output import print_msg from jrnl.output import print_msg

View file

@ -1,7 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import glob import glob
import logging import logging
import os import os

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import logging import logging

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from typing import NamedTuple from typing import NamedTuple
from typing import Mapping from typing import Mapping

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from enum import Enum from enum import Enum
from typing import NamedTuple from typing import NamedTuple
from typing import Callable from typing import Callable

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from enum import Enum from enum import Enum

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from .Message import Message from .Message import Message
from .MsgStyle import MsgStyle from .MsgStyle import MsgStyle
from .MsgText import MsgText from .MsgText import MsgText

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import shlex import shlex

View file

@ -1,5 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import textwrap import textwrap
from typing import Union from typing import Union

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from .config import update_config, make_yaml_valid_dict from .config import update_config, make_yaml_valid_dict
from argparse import Namespace from argparse import Namespace

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import os.path import os.path

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from .fancy_exporter import FancyExporter from .fancy_exporter import FancyExporter

View file

@ -1,6 +1,6 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from collections import Counter from collections import Counter
from .text_exporter import TextExporter from .text_exporter import TextExporter

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from jrnl.exception import JrnlException from jrnl.exception import JrnlException

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import sys import sys

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import json import json

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import os import os

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from .text_exporter import TextExporter from .text_exporter import TextExporter

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import os import os

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from xml.dom import minidom from xml.dom import minidom

View file

@ -1,5 +1,4 @@
# encoding: utf-8 # Copyright (C) 2012-2022 jrnl contributors
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import os import os

View file

@ -1,5 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from jrnl.messages import Message from jrnl.messages import Message
from jrnl.messages import MsgText from jrnl.messages import MsgText
from jrnl.messages import MsgStyle from jrnl.messages import MsgStyle

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import datetime import datetime

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import os import os

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Build process Feature: Build process
Scenario: Version numbers should stay in sync Scenario: Version numbers should stay in sync

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Change entry times in journal Feature: Change entry times in journal
Scenario Outline: Change time flag changes single entry timestamp Scenario Outline: Change time flag changes single entry timestamp
Given we use the config "<config_file>" Given we use the config "<config_file>"

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Multiple journals Feature: Multiple journals
Scenario: Read a journal from an alternate config Scenario: Read a journal from an alternate config

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Functionality of jrnl outside of actually handling journals Feature: Functionality of jrnl outside of actually handling journals
Scenario: Displaying the version number Scenario: Displaying the version number

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Reading and writing to journal with custom date formats Feature: Reading and writing to journal with custom date formats
Scenario: Dates can include a time Scenario: Dates can include a time

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Delete entries from journal Feature: Delete entries from journal
Scenario Outline: Delete flag allows deletion of single entry Scenario Outline: Delete flag allows deletion of single entry
Given we use the config "<config_file>" Given we use the config "<config_file>"

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Encrypting and decrypting journals Feature: Encrypting and decrypting journals
Scenario: Decrypting a journal Scenario: Decrypting a journal

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Journals iteracting with the file system in a way that users can see 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 Scenario: Adding entries to a Folder journal should generate date files

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Custom formats Feature: Custom formats
Scenario Outline: Short printing via --format flag Scenario Outline: Short printing via --format flag

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Importing data Feature: Importing data
Scenario Outline: --import allows new entry from stdin Scenario Outline: --import allows new entry from stdin

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Multiple journals Feature: Multiple journals
Scenario: Loading a config with two journals Scenario: Loading a config with two journals

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Implementing Runtime Overrides for Select Configuration Keys Feature: Implementing Runtime Overrides for Select Configuration Keys
Scenario: Override configured editor with built-in input === editor:'' Scenario: Override configured editor with built-in input === editor:''

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Using the installed keyring Feature: Using the installed keyring
Scenario: Storing a password in keyring Scenario: Storing a password in keyring

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Searching in a journal Feature: Searching in a journal
Scenario Outline: Displaying entries using -on today should display entries created today Scenario Outline: Displaying entries using -on today should display entries created today

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Starring entries Feature: Starring entries
Scenario Outline: Starring an entry will mark it in the journal file Scenario Outline: Starring an entry will mark it in the journal file

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Tagging Feature: Tagging
# See search.feature for tag-related searches # See search.feature for tag-related searches
# And format.feature for tag-related output # And format.feature for tag-related output

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Upgrading Journals from 1.x.x to 2.x.x Feature: Upgrading Journals from 1.x.x to 2.x.x
Scenario: Upgrade and parse journals with square brackets Scenario: Upgrade and parse journals with square brackets

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
Feature: Writing new entries. Feature: Writing new entries.
Scenario Outline: Multiline entry with punctuation should keep title punctuation Scenario Outline: Multiline entry with punctuation should keep title punctuation

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from pytest_bdd import scenarios from pytest_bdd import scenarios
scenarios("features/build.feature") scenarios("features/build.feature")

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from pytest import mark from pytest import mark

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from collections import defaultdict from collections import defaultdict

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from datetime import datetime from datetime import datetime

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import functools import functools

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
import json import json

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from contextlib import ExitStack from contextlib import ExitStack

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from colorama import Fore from colorama import Fore
from colorama import Style from colorama import Style
import pytest import pytest

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import pytest import pytest
import os import os

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import pytest import pytest
from jrnl.exception import JrnlException from jrnl.exception import JrnlException

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import sys import sys
from unittest import mock from unittest import mock

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from unittest import mock from unittest import mock
import pytest import pytest

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from unittest import mock from unittest import mock
import pytest import pytest

View file

@ -1,5 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors # Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from unittest.mock import Mock from unittest.mock import Mock
from unittest.mock import patch from unittest.mock import patch

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import pytest import pytest
from jrnl.override import _convert_dots_to_list from jrnl.override import _convert_dots_to_list

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import shlex import shlex
import pytest import pytest

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import pytest import pytest
import random import random
import string import string

Some files were not shown because too many files have changed in this diff Show more