./editors/tp-note, Minimalistic note taking and template system

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.22.1, Package name: tp-note-1.22.1, Maintainer: pin

Tp-Note is a note-taking-tool and a template system that consistently
synchronizes the notes meta-data with its filename.

If you like to keep your notes next to your files and you care about expressive
filenames, then Tp-Note might be the tool of your choice.
Tp-Note collects various information about its environment and the clipboard
and stores them in variables.
New notes are created by filling these variables in predefined and customizable
Tera-templates.

TP-Note's default templates are written in Markdown and can be easily adapted
to any other markup language if needed. After creating a new note, TP-Note
launches the system file editor (or any other of your choice, e.g. MarkText
or Typora) and connects the default web browser to Tp-Note's
internal Markdown/RestructuredText renderer and web server.


Master sites:

Filesize: 2405.752 KB

Version history: (Expand)


CVS history: (Expand)


   2023-09-23 17:07:02 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.22.1

Maintenance release, no new features

Configuration breaking change:

* Split the `field(...)` filter into `remove(key=...)` and
  `insert(key=..., value=...)` filters with more common names.
   2023-09-22 20:53:54 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.22.0

Support also nested YAML types (map, array) in document header

Before this release, all header variables were limited to flat string types.
This release overcomes this limitation: all templates and the document viewer
can now deal with all YAML types, e.g. String, Number, Bool, including the
nested ones: Array, Object. For example, the following is now valid:

```yaml
title:     My Article
author:
  first:   John Doe
  second:  Martin Foo
date:
- 2023-04-13
- 2023-04-22
```

Further improvements:

* The templates only emits double quotes, were required be YAML standards.

* Configurable type checks occur before applying filename templates (see
  `tmpl.filter_assert_preconditions` in `tpnote-lib/src/config_default.toml`).

* Stronger (configurable) type checks for `title:`, `subtitle:`,
  `lang:`, `sort_tag:` and `file_ext:` header variables with user prompts

* The configuration defaults are now written and documented in TOML format:
  * `tpnote/src/config_default.toml`
  * `tpnote-lib/src/config_default.toml`
   2023-09-11 18:29:07 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.21.16

 - Maintenance release: move crate `tp-note` to `tpnote`. No code change.
   2023-09-08 13:45:53 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.21.15

Fix filename related edge cases

This release fixes some filename related edge cases:

* Prepend `filename.sort_tag_extra_separator` in case the note's title
  field is empty.
* Append `filename.copy_counter_extra_separator` in case the file stem
  resembles a copy counter.
   2023-09-06 13:25:01 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.21.14

Fix a minor regression when the title contains only sort-tag characters.

This release fixes a minor regression introduced with Tp-Note v1.21.10: Note
files, created with title fields containing only sort tag characters, need an
'extra_separator' between in the sort-tag and the title in their filename.
Failing this rule caused cyclic filename change when synchronizing the note's
metadata and the filename. Now, an extra-separator is correctly inserted
as before.
   2023-08-28 10:25:40 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.21.13

Fix minor regression: ref docs by sort-tag only

A minor regression introduced with Tp-Note v1.21.11
prevented the viewer from following links to other Tp-Note
documents by indicating the sort-tag only. This commit
restores the previous behaviour.
   2023-08-25 11:26:45 by pin | Files touched by this commit (3)
Log message:
editors/tp-note: 1.21.12

 - Maintenance release: remove helper fn from public API
   2023-08-18 12:47:17 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.21.11

Fix for minor regression introduced with v1.21.10

The incomplete refactoring of filename related code in v1.21.10 led to
some buggy behavior in some edge cases.