Merge branch 'develop' into ai-llm-integration
4
.github/FUNDING.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
# These are supported funding model platforms
|
# These are supported funding model platforms
|
||||||
|
|
||||||
github: [zadam]
|
github: [eliandoran]
|
||||||
custom: ["https://paypal.me/za4am"]
|
custom: ["https://paypal.me/eliandoran"]
|
||||||
|
100
.github/workflows/codeql.yml
vendored
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# For most projects, this workflow file will not need changing; you simply need
|
||||||
|
# to commit it to your repository.
|
||||||
|
#
|
||||||
|
# You may wish to alter this file to override the set of languages analyzed,
|
||||||
|
# or to provide custom queries or build logic.
|
||||||
|
#
|
||||||
|
# ******** NOTE ********
|
||||||
|
# We have attempted to detect the languages in your repository. Please check
|
||||||
|
# the `language` matrix defined below to confirm you have the correct set of
|
||||||
|
# supported CodeQL languages.
|
||||||
|
#
|
||||||
|
name: "CodeQL Advanced"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "develop" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "develop" ]
|
||||||
|
schedule:
|
||||||
|
- cron: '20 7 * * 0'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
analyze:
|
||||||
|
name: Analyze (${{ matrix.language }})
|
||||||
|
# Runner size impacts CodeQL analysis time. To learn more, please see:
|
||||||
|
# - https://gh.io/recommended-hardware-resources-for-running-codeql
|
||||||
|
# - https://gh.io/supported-runners-and-hardware-resources
|
||||||
|
# - https://gh.io/using-larger-runners (GitHub.com only)
|
||||||
|
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
|
||||||
|
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
||||||
|
permissions:
|
||||||
|
# required for all workflows
|
||||||
|
security-events: write
|
||||||
|
|
||||||
|
# required to fetch internal or private CodeQL packs
|
||||||
|
packages: read
|
||||||
|
|
||||||
|
# only required for workflows in private repositories
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- language: actions
|
||||||
|
build-mode: none
|
||||||
|
- language: javascript-typescript
|
||||||
|
build-mode: none
|
||||||
|
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
|
||||||
|
# Use `c-cpp` to analyze code written in C, C++ or both
|
||||||
|
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
|
||||||
|
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
|
||||||
|
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
|
||||||
|
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
|
||||||
|
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
|
||||||
|
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Add any setup steps before running the `github/codeql-action/init` action.
|
||||||
|
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
||||||
|
# or others). This is typically only required for manual builds.
|
||||||
|
# - name: Setup runtime (example)
|
||||||
|
# uses: actions/setup-example@v1
|
||||||
|
|
||||||
|
# Initializes the CodeQL tools for scanning.
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v3
|
||||||
|
with:
|
||||||
|
languages: ${{ matrix.language }}
|
||||||
|
build-mode: ${{ matrix.build-mode }}
|
||||||
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
|
# By default, queries listed here will override any specified in a config file.
|
||||||
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||||
|
|
||||||
|
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||||
|
# queries: security-extended,security-and-quality
|
||||||
|
|
||||||
|
# If the analyze step fails for one of the languages you are analyzing with
|
||||||
|
# "We were unable to automatically build your code", modify the matrix above
|
||||||
|
# to set the build mode to "manual" for that language. Then modify this step
|
||||||
|
# to build your code.
|
||||||
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
||||||
|
- if: matrix.build-mode == 'manual'
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo 'If you are using a "manual" build mode for one or more of the' \
|
||||||
|
'languages you are analyzing, replace this with the commands to build' \
|
||||||
|
'your code, for example:'
|
||||||
|
echo ' make bootstrap'
|
||||||
|
echo ' make release'
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v3
|
||||||
|
with:
|
||||||
|
category: "/language:${{matrix.language}}"
|
20
.github/workflows/release-winget.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: Release to winget
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [ published ]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
release_tag:
|
||||||
|
description: 'Git tag to release from'
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
jobs:
|
||||||
|
release-winget:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Publish to WinGet
|
||||||
|
uses: vedantmgoyal9/winget-releaser@main
|
||||||
|
with:
|
||||||
|
identifier: TriliumNext.Notes
|
||||||
|
token: ${{ secrets.token }}
|
||||||
|
release-tag: ${{ github.event.inputs.release_tag || github.event.release.tag_name }}
|
36
.github/workflows/release.yml
vendored
@ -53,14 +53,13 @@ jobs:
|
|||||||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||||
WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}
|
WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}
|
||||||
|
|
||||||
- name: Publish release
|
- name: Upload the artifact
|
||||||
uses: softprops/action-gh-release@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
draft: true
|
name: release-desktop-${{ matrix.os.name }}-${{ matrix.arch }}
|
||||||
fail_on_unmatched_files: true
|
path: upload/*.*
|
||||||
files: upload/*.*
|
|
||||||
|
|
||||||
build_linux_server-x64:
|
build_server:
|
||||||
name: Build Linux Server
|
name: Build Linux Server
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -81,9 +80,32 @@ jobs:
|
|||||||
os: linux
|
os: linux
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
|
|
||||||
|
- name: Upload the artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: release-server-linux-${{ matrix.arch }}
|
||||||
|
path: upload/*.*
|
||||||
|
|
||||||
|
publish_release:
|
||||||
|
name: Publish release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs:
|
||||||
|
- make-electron
|
||||||
|
- build_server
|
||||||
|
steps:
|
||||||
|
- run: mkdir upload
|
||||||
|
|
||||||
|
- name: Download all artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
merge-multiple: true
|
||||||
|
pattern: release-*
|
||||||
|
path: upload
|
||||||
|
|
||||||
- name: Publish release
|
- name: Publish release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: false
|
||||||
|
body_path: docs/Release Notes/Release Notes/${{ github.ref_name }}.md
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
files: upload/*.*
|
files: upload/*.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# TriliumNext Notes
|
# TriliumNext Notes
|
||||||
|
|
||||||
 
|
  
|
||||||
|
|
||||||
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
|
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ rm -r $BUILD_DIR/node/lib/node_modules/{npm,corepack} \
|
|||||||
$BUILD_DIR/node_modules/electron* \
|
$BUILD_DIR/node_modules/electron* \
|
||||||
$BUILD_DIR/electron*.{js,map}
|
$BUILD_DIR/electron*.{js,map}
|
||||||
|
|
||||||
printf "#!/bin/sh\n./node/bin/node src/main" > $BUILD_DIR/trilium.sh
|
printf "#!/bin/sh\n./node/bin/node src/main\n" > $BUILD_DIR/trilium.sh
|
||||||
chmod 755 $BUILD_DIR/trilium.sh
|
chmod 755 $BUILD_DIR/trilium.sh
|
||||||
|
|
||||||
# TriliumNextTODO: is this still required? If yes → move to copy-dist/copy-trilium
|
# TriliumNextTODO: is this still required? If yes → move to copy-dist/copy-trilium
|
||||||
|
@ -14,7 +14,8 @@ UPDATE attributes SET name = 'name', value = 'value' WHERE type = 'label'
|
|||||||
'widget', 'noteInfoWidgetDisabled', 'linkMapWidgetDisabled', 'revisionsWidgetDisabled',
|
'widget', 'noteInfoWidgetDisabled', 'linkMapWidgetDisabled', 'revisionsWidgetDisabled',
|
||||||
'whatLinksHereWidgetDisabled', 'similarNotesWidgetDisabled', 'workspace', 'workspaceIconClass',
|
'whatLinksHereWidgetDisabled', 'similarNotesWidgetDisabled', 'workspace', 'workspaceIconClass',
|
||||||
'workspaceTabBackgroundColor', 'workspaceCalendarRoot', 'workspaceTemplate', 'searchHome', 'workspaceInbox',
|
'workspaceTabBackgroundColor', 'workspaceCalendarRoot', 'workspaceTemplate', 'searchHome', 'workspaceInbox',
|
||||||
'workspaceSearchHome', 'sqlConsoleHome', 'datePattern', 'pageSize', 'viewType', 'mapRootNoteId',
|
'workspaceSearchHome', 'sqlConsoleHome', 'datePattern', 'weekPattern', 'enableWeekNote', 'monthPattern',
|
||||||
|
'quarterPattern', 'yearPattern', 'enableQuarterNote', 'pageSize', 'viewType', 'mapRootNoteId',
|
||||||
'bookmarkFolder', 'sorted', 'sortDirection', 'sortFoldersFirst', 'sortNatural', 'sortLocale', 'top',
|
'bookmarkFolder', 'sorted', 'sortDirection', 'sortFoldersFirst', 'sortNatural', 'sortLocale', 'top',
|
||||||
'fullContentWidth', 'shareHiddenFromTree', 'shareExternalLink', 'shareOmitDefaultCss', 'shareRoot', 'shareDescription',
|
'fullContentWidth', 'shareHiddenFromTree', 'shareExternalLink', 'shareOmitDefaultCss', 'shareRoot', 'shareDescription',
|
||||||
'shareRaw', 'shareDisallowRobotIndexing', 'shareIndex', 'displayRelations', 'hideRelations', 'titleTemplate',
|
'shareRaw', 'shareDisallowRobotIndexing', 'shareIndex', 'displayRelations', 'hideRelations', 'titleTemplate',
|
||||||
@ -31,7 +32,8 @@ UPDATE attributes SET name = 'name' WHERE type = 'relation'
|
|||||||
'widget', 'noteInfoWidgetDisabled', 'linkMapWidgetDisabled', 'revisionsWidgetDisabled',
|
'widget', 'noteInfoWidgetDisabled', 'linkMapWidgetDisabled', 'revisionsWidgetDisabled',
|
||||||
'whatLinksHereWidgetDisabled', 'similarNotesWidgetDisabled', 'workspace', 'workspaceIconClass',
|
'whatLinksHereWidgetDisabled', 'similarNotesWidgetDisabled', 'workspace', 'workspaceIconClass',
|
||||||
'workspaceTabBackgroundColor', 'workspaceCalendarRoot', 'workspaceTemplate', 'searchHome', 'workspaceInbox',
|
'workspaceTabBackgroundColor', 'workspaceCalendarRoot', 'workspaceTemplate', 'searchHome', 'workspaceInbox',
|
||||||
'workspaceSearchHome', 'sqlConsoleHome', 'datePattern', 'pageSize', 'viewType', 'mapRootNoteId',
|
'workspaceSearchHome', 'sqlConsoleHome', 'datePattern', 'weekPattern', 'enableWeekNote', 'monthPattern',
|
||||||
|
'quarterPattern', 'yearPattern', 'enableQuarterNote', 'pageSize', 'viewType', 'mapRootNoteId',
|
||||||
'bookmarkFolder', 'sorted', 'sortDirection', 'sortFoldersFirst', 'sortNatural', 'sortLocale', 'top',
|
'bookmarkFolder', 'sorted', 'sortDirection', 'sortFoldersFirst', 'sortNatural', 'sortLocale', 'top',
|
||||||
'fullContentWidth', 'shareHiddenFromTree', 'shareExternalLink', 'shareOmitDefaultCss', 'shareRoot', 'shareDescription',
|
'fullContentWidth', 'shareHiddenFromTree', 'shareExternalLink', 'shareOmitDefaultCss', 'shareRoot', 'shareDescription',
|
||||||
'shareRaw', 'shareDisallowRobotIndexing', 'shareIndex', 'displayRelations', 'hideRelations', 'titleTemplate',
|
'shareRaw', 'shareDisallowRobotIndexing', 'shareIndex', 'displayRelations', 'hideRelations', 'titleTemplate',
|
||||||
|
636
docs/Release Notes/!!!meta.json
Normal file
@ -0,0 +1,636 @@
|
|||||||
|
{
|
||||||
|
"formatVersion": 2,
|
||||||
|
"appVersion": "0.92.6-test-250410-172455",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "hD3V4hiu2VW4",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4"
|
||||||
|
],
|
||||||
|
"title": "Release Notes",
|
||||||
|
"notePosition": 520,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": true,
|
||||||
|
"type": "book",
|
||||||
|
"mime": "",
|
||||||
|
"attributes": [
|
||||||
|
{
|
||||||
|
"type": "label",
|
||||||
|
"name": "sorted",
|
||||||
|
"value": "",
|
||||||
|
"isInheritable": false,
|
||||||
|
"position": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "label",
|
||||||
|
"name": "expanded",
|
||||||
|
"value": "",
|
||||||
|
"isInheritable": false,
|
||||||
|
"position": 60
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "label",
|
||||||
|
"name": "sortNatural",
|
||||||
|
"value": "",
|
||||||
|
"isInheritable": false,
|
||||||
|
"position": 50
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "label",
|
||||||
|
"name": "sortDirection",
|
||||||
|
"value": "desc",
|
||||||
|
"isInheritable": false,
|
||||||
|
"position": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "label",
|
||||||
|
"name": "viewType",
|
||||||
|
"value": "grid",
|
||||||
|
"isInheritable": false,
|
||||||
|
"position": 40
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attachments": [],
|
||||||
|
"dirFileName": "Release Notes",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "VN3xnce1vLkX",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"VN3xnce1vLkX"
|
||||||
|
],
|
||||||
|
"title": "v0.92.8-beta",
|
||||||
|
"notePosition": 10,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": true,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.92.8-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "WRaBfQqPr6qo",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"WRaBfQqPr6qo"
|
||||||
|
],
|
||||||
|
"title": "v0.92.7",
|
||||||
|
"notePosition": 20,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [
|
||||||
|
{
|
||||||
|
"type": "label",
|
||||||
|
"name": "language",
|
||||||
|
"value": "en",
|
||||||
|
"isInheritable": false,
|
||||||
|
"position": 40
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.92.7.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "a2rwfKNmUFU1",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"a2rwfKNmUFU1"
|
||||||
|
],
|
||||||
|
"title": "v0.92.6",
|
||||||
|
"notePosition": 30,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.92.6.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "fEJ8qErr0BKL",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"fEJ8qErr0BKL"
|
||||||
|
],
|
||||||
|
"title": "v0.92.5-beta",
|
||||||
|
"notePosition": 40,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.92.5-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "kkkZQQGSXjwy",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"kkkZQQGSXjwy"
|
||||||
|
],
|
||||||
|
"title": "v0.92.4",
|
||||||
|
"notePosition": 50,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.92.4.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "vAroNixiezaH",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"vAroNixiezaH"
|
||||||
|
],
|
||||||
|
"title": "v0.92.3-beta",
|
||||||
|
"notePosition": 60,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.92.3-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "mHEq1wxAKNZd",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"mHEq1wxAKNZd"
|
||||||
|
],
|
||||||
|
"title": "v0.92.2-beta",
|
||||||
|
"notePosition": 70,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.92.2-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "IykjoAmBpc61",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"IykjoAmBpc61"
|
||||||
|
],
|
||||||
|
"title": "v0.92.1-beta",
|
||||||
|
"notePosition": 80,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.92.1-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "dq2AJ9vSBX4Y",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"dq2AJ9vSBX4Y"
|
||||||
|
],
|
||||||
|
"title": "v0.92.0-beta",
|
||||||
|
"notePosition": 90,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.92.0-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "3a8aMe4jz4yM",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"3a8aMe4jz4yM"
|
||||||
|
],
|
||||||
|
"title": "v0.91.6",
|
||||||
|
"notePosition": 100,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.91.6.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "8djQjkiDGESe",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"8djQjkiDGESe"
|
||||||
|
],
|
||||||
|
"title": "v0.91.5",
|
||||||
|
"notePosition": 110,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.91.5.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "OylxVoVJqNmr",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"OylxVoVJqNmr"
|
||||||
|
],
|
||||||
|
"title": "v0.91.4-beta",
|
||||||
|
"notePosition": 120,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.91.4-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "tANGQDvnyhrj",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"tANGQDvnyhrj"
|
||||||
|
],
|
||||||
|
"title": "v0.91.3-beta",
|
||||||
|
"notePosition": 130,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.91.3-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "hMoBfwSoj1SC",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"hMoBfwSoj1SC"
|
||||||
|
],
|
||||||
|
"title": "v0.91.2-beta",
|
||||||
|
"notePosition": 140,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.91.2-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "a2XMSKROCl9z",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"a2XMSKROCl9z"
|
||||||
|
],
|
||||||
|
"title": "v0.91.1-beta",
|
||||||
|
"notePosition": 150,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.91.1-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "nxpY1YUymRZZ",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"nxpY1YUymRZZ"
|
||||||
|
],
|
||||||
|
"title": "v0.90.x",
|
||||||
|
"notePosition": 160,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": true,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.x.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "yqXFvWbLkuMD",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"yqXFvWbLkuMD"
|
||||||
|
],
|
||||||
|
"title": "v0.90.12",
|
||||||
|
"notePosition": 170,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.12.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "veS7pg311yJP",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"veS7pg311yJP"
|
||||||
|
],
|
||||||
|
"title": "v0.90.11-beta",
|
||||||
|
"notePosition": 180,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.11-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "sq5W9TQxRqMq",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"sq5W9TQxRqMq"
|
||||||
|
],
|
||||||
|
"title": "v0.90.10-beta",
|
||||||
|
"notePosition": 190,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.10-beta.md",
|
||||||
|
"attachments": [],
|
||||||
|
"dirFileName": "v0.90.10-beta",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "254wHQ6YdxUY",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"sq5W9TQxRqMq",
|
||||||
|
"254wHQ6YdxUY"
|
||||||
|
],
|
||||||
|
"title": "Syntax highlighting & word wrapping for code blocks",
|
||||||
|
"notePosition": 10,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "Syntax highlighting & word wra.md",
|
||||||
|
"attachments": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "yFEGVCUM9tPx",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"yFEGVCUM9tPx"
|
||||||
|
],
|
||||||
|
"title": "v0.90.9-beta",
|
||||||
|
"notePosition": 200,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.9-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "o4wAGqOQuJtV",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"o4wAGqOQuJtV"
|
||||||
|
],
|
||||||
|
"title": "v0.90.8",
|
||||||
|
"notePosition": 210,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [
|
||||||
|
{
|
||||||
|
"type": "relation",
|
||||||
|
"name": "includeNoteLink",
|
||||||
|
"value": "i4A5g9iOg9I0",
|
||||||
|
"isInheritable": false,
|
||||||
|
"position": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "relation",
|
||||||
|
"name": "includeNoteLink",
|
||||||
|
"value": "G4PAi554kQUr",
|
||||||
|
"isInheritable": false,
|
||||||
|
"position": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.8.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "i4A5g9iOg9I0",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"i4A5g9iOg9I0"
|
||||||
|
],
|
||||||
|
"title": "v0.90.7-beta",
|
||||||
|
"notePosition": 220,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.7-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "ThNf2GaKgXUs",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"ThNf2GaKgXUs"
|
||||||
|
],
|
||||||
|
"title": "v0.90.6-beta",
|
||||||
|
"notePosition": 230,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.6-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "G4PAi554kQUr",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"G4PAi554kQUr"
|
||||||
|
],
|
||||||
|
"title": "v0.90.5-beta",
|
||||||
|
"notePosition": 240,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.5-beta.md",
|
||||||
|
"attachments": [
|
||||||
|
{
|
||||||
|
"attachmentId": "fYtz4wC6u6wN",
|
||||||
|
"title": "image.png",
|
||||||
|
"role": "image",
|
||||||
|
"mime": "image/jpg",
|
||||||
|
"position": 10,
|
||||||
|
"dataFileName": "v0.90.5-beta_image.png"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "zATRobGRCmBn",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"zATRobGRCmBn"
|
||||||
|
],
|
||||||
|
"title": "v0.90.4",
|
||||||
|
"notePosition": 250,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.4.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "sCDLf8IKn3Iz",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"sCDLf8IKn3Iz"
|
||||||
|
],
|
||||||
|
"title": "v0.90.3",
|
||||||
|
"notePosition": 260,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.3.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "VqqyBu4AuTjC",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"VqqyBu4AuTjC"
|
||||||
|
],
|
||||||
|
"title": "v0.90.2-beta",
|
||||||
|
"notePosition": 270,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.2-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "RX3Nl7wInLsA",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"RX3Nl7wInLsA"
|
||||||
|
],
|
||||||
|
"title": "v0.90.1-beta",
|
||||||
|
"notePosition": 280,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.1-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isClone": false,
|
||||||
|
"noteId": "GyueACukPWjk",
|
||||||
|
"notePath": [
|
||||||
|
"hD3V4hiu2VW4",
|
||||||
|
"GyueACukPWjk"
|
||||||
|
],
|
||||||
|
"title": "v0.90.0-beta",
|
||||||
|
"notePosition": 290,
|
||||||
|
"prefix": null,
|
||||||
|
"isExpanded": false,
|
||||||
|
"type": "text",
|
||||||
|
"mime": "text/html",
|
||||||
|
"attributes": [],
|
||||||
|
"format": "markdown",
|
||||||
|
"dataFileName": "v0.90.0-beta.md",
|
||||||
|
"attachments": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
4
docs/Release Notes/Release Notes/v0.0.0.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# v0.0.0!
|
||||||
|
|
||||||
|
This is just a test version to ensure end-to-end functionality of the release process for TriliumNext,
|
||||||
|
especially in regards to the `winget` auto-PR.
|
36
docs/Release Notes/Release Notes/v0.90.0-beta.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# v0.90.0-beta
|
||||||
|
**Note:** This version is currently not meant for public use, but for internal testing. The reason is that it might be quite unstable. Nevertheless, feel free to test if you understand the risks.
|
||||||
|
|
||||||
|
### What's new compared to the latest version of Trilium Notes (0.63.7)?
|
||||||
|
|
||||||
|
Theoretically, nothing. This version is based on Trilium Notes 0.63.7, but it introduces a significant refactoring of the code: the server has been ported from JavaScript to TypeScript.
|
||||||
|
|
||||||
|
To the end user, nothing should change, except that some things might have been broken in the process.
|
||||||
|
|
||||||
|
For the first release of TriliumNext, we simply need to check if there are any regressions by using it in day-to-day activities. Feel free to [report any issues](https://github.com/TriliumNext/Notes/issues/new/choose).
|
||||||
|
|
||||||
|
### What do I need to do in order to start?
|
||||||
|
|
||||||
|
For the desktop application, simply download it from the releases page and extract it in a similar fashion to how the original Trilium Notes is installed.
|
||||||
|
|
||||||
|
Regarding data, please note that **TriliumNext Notes shares the same database as Trilium Notes.** A manual database backup is strongly encouraged:
|
||||||
|
|
||||||
|
* On Windows, open Windows Explorer and type `%appdata%` in the address bar. Look for `trilium-data` and simply copy and paste it.
|
||||||
|
* On Linux, the data directory is in `~/.local/share/trilium-data`.
|
||||||
|
|
||||||
|
Generally your existing notes should be quite safe (there are no database migrations or API changes, only the consistency checks could have been impacted), haven't noticed any issues when testing.
|
||||||
|
|
||||||
|
Additionally, since the sync version has not changed either, you should be able to mix the client and the server between Trilium Notes and TriliumNext Notes.
|
||||||
|
|
||||||
|
The server is also packaged and available in the release. For the Docker build, the Docker image is built automatically and is available on GitHub's Docker registry.
|
||||||
|
|
||||||
|
### Why v0.90.0
|
||||||
|
|
||||||
|
The current release from [zadam/trilium](https://github.com/zadam/trilium/releases/tag/v0.63.7) is 0.63.7.
|
||||||
|
|
||||||
|
If we reset the version number to 0.1, there are a few downsides:
|
||||||
|
|
||||||
|
* This might cause issues with migration and updates checking.
|
||||||
|
* The fact that TriliumNext 0.1.0 is based off of Trilium 0.63.7 can be rather confusing.
|
||||||
|
|
||||||
|
At the same time we would not want to bump directly to the next version as we would directly enter in conflict with future releases of Trilium. As such, we are bumping it to 0.90 instead.
|
36
docs/Release Notes/Release Notes/v0.90.1-beta.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# v0.90.1-beta
|
||||||
|
The key highlight of this version is the large number of library updates, bringing them to the latest version.
|
||||||
|
|
||||||
|
## ⚙️ Windows Installer
|
||||||
|
|
||||||
|
A Squirrel-based installer for the Windows 64-bit platform is now provided with each release.
|
||||||
|
|
||||||
|
Simply download the installer and run it and the application should be installed automatically.
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
The following regressions due to the conversion to TypeScript has been solved, compared to v0.90.0:
|
||||||
|
|
||||||
|
* [Searching note content fails](https://github.com/TriliumNext/Notes/issues/211)
|
||||||
|
* [Canvas: "Copy image reference to clipboard" no longer working](https://github.com/TriliumNext/Notes/pull/227)
|
||||||
|
* [v.0.90.0-beta random errors when loading notes](https://github.com/TriliumNext/Notes/issues/238)
|
||||||
|
* [Frontend JS code exeution error](https://github.com/TriliumNext/Notes/issues/244)
|
||||||
|
* [Sync failed: Cannot read properties of undefined (reading 'utcDateChanged')](https://github.com/TriliumNext/Notes/issues/210)
|
||||||
|
|
||||||
|
## ⬆️ Library updates
|
||||||
|
|
||||||
|
### Client-side library updates
|
||||||
|
|
||||||
|
<figure class="table" style="width:50%"><table><thead><tr><th>Library</th><th>Old version</th><th>New version</th></tr></thead><tbody><tr><th><code>axios</code></th><td>1.6.7</td><td>1.7.2</td></tr><tr><th><code>excalidraw</code></th><td>0.17.3</td><td>0.17.6</td></tr><tr><th><code>katex</code></th><td>0.16.9</td><td>0.16.11</td></tr><tr><th><code>mermaid</code></th><td>10.9.0</td><td>10.9.1</td></tr><tr><th><code>react</code>, <code>react-dom</code></th><td>18.2.0</td><td>18.3.1</td></tr></tbody></table></figure>
|
||||||
|
|
||||||
|
### Server-side library updates
|
||||||
|
|
||||||
|
<figure class="table" style="width:50%"><table><thead><tr><th>Library</th><th>Old version</th><th>New version</th></tr></thead><tbody><tr><th><code>sanitize-url</code></th><td>6.0.4</td><td>7.1.0</td></tr><tr><th><code>archiver</code></th><td>7.0.0</td><td>7.0.1</td></tr><tr><th><code>marked</code></th><td>12.0.0</td><td>13.0.2</td></tr><tr><th><code>sanitize-html</code></th><td>1.6.7</td><td>1.7.2</td></tr><tr><th><code>turndown</code></th><td>7.1.2</td><td>7.2.0</td></tr><tr><th><code>yauzl</code></th><td>3.1.2</td><td>3.1.3</td></tr><tr><th><code>express</code></th><td>4.18.3</td><td>4.19.2</td></tr><tr><th><code>express-rate-limit</code></th><td>7.2.0</td><td>7.3.1</td></tr><tr><th><code>jsdom</code></th><td>24.0.0</td><td>24.1.0</td></tr><tr><th><code>ws</code></th><td>8.16.0</td><td>8.18.0</td></tr><tr><th><code>ejs</code></th><td>3.1.9</td><td>3.1.10</td></tr><tr><th><code>dayjs</code></th><td>1.11.10</td><td>1.11.12</td></tr><tr><th><code>semver</code></th><td>7.6.0</td><td>7.6.3</td></tr><tr><th><code>async-mutex</code></th><td>0.4.1</td><td>0.5.0</td></tr><tr><th><code>https-proxy-agent</code></th><td>7.0.4</td><td>7.0.5</td></tr><tr><th><code>sax</code></th><td>1.3.0</td><td>1.4.1</td></tr><tr><th><code>ini</code></th><td>3.0.1</td><td>4.1.3</td></tr><tr><th><code>debounce</code></th><td>1.2.1</td><td>2.1.0</td></tr></tbody></table></figure>
|
||||||
|
|
||||||
|
## ✨ Technical improvements
|
||||||
|
|
||||||
|
* Updated from Node 18.8.2 to 20.15.1.
|
||||||
|
* Reduced the binary size (see [#252](https://github.com/TriliumNext/Notes/pull/252)).
|
||||||
|
* Removed redundant `open` dependency.
|
||||||
|
* Updated internal tooling (`rimraf`, `webpack`, `nodemon`, `jsdoc`).
|
||||||
|
* Updated TypeScript to latest.
|
35
docs/Release Notes/Release Notes/v0.90.10-beta.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# v0.90.10-beta
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* Syntax highlight in code blocks in editable and read-only text notes (via Highlight.js), heavily based on [antoniotejada](https://github.com/antoniotejada)'s [Trilium-SyntaxHighlightWidget](https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget).
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Code note overlapping with note list.
|
||||||
|
* Fix error when running a script in 0.90.9-beta.
|
||||||
|
* Font section in Appearance settings blinking when settings were being updated.
|
||||||
|
* [Crop fileName and prevent cutting into the extension](https://github.com/TriliumNext/Notes/pull/541) / Canvas note exported to html can't be view due to title name is 13-15 digits long by @SiriusXT
|
||||||
|
* Duplicate note count in delete relation modal.
|
||||||
|
* Docnotes (e.g. launcher configuration descriptions) not showing on Electron/desktop builds.
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* Adjustable word-wrap for code blocks in text notes.
|
||||||
|
* Adjustable theme for code blocks in text notes, plus slightly improved design.
|
||||||
|
* The application should now be more highly tolerant to errors caused by custom widgets and scripts, not causing the UI to also crash (see [#511](https://github.com/TriliumNext/Notes/issues/511)).
|
||||||
|
* [Close tabs to the right](https://github.com/TriliumNext/Notes/pull/542) by @SiriusXT
|
||||||
|
* [Automatically trigger autocomplete on focus](https://github.com/TriliumNext/Notes/pull/534) by @SiriusXT
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* Translate weekday and month names for daily notes.
|
||||||
|
* Update server translations when switching language.
|
||||||
|
* Translate search note prefix.
|
||||||
|
* Translate sync test messages.
|
||||||
|
|
||||||
|
## ⬆️ Library updates
|
||||||
|
|
||||||
|
* mind-elixir: 4.2.3 → 4.2.4
|
||||||
|
* mermaid: 11.3.0 → 11.4.0
|
||||||
|
* i18next: 23.16.2 -> 23.16.4
|
||||||
|
* and other internal development tooling updates.
|
@ -0,0 +1,52 @@
|
|||||||
|
# Syntax highlighting & word wrapping for code blocks
|
||||||
|
Finally, syntax highlighting was added as a feature for code blocks:
|
||||||
|
|
||||||
|
<figure class="image"><img src="api/images/3oQodG5TcShj/1_Syntax highlighting & word.png"></figure>
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
In order to achieve the syntax highlight, the Highlight.js library is being used. Do note that support for syntax highlighting in code blocks is not a supported feature of the text editor we are using CKEditor), but rather a hack which makes use of the highlights API (used for highlighting search results for example). Nevertheless, we haven't noticed any major issues during the development of the feature, but feel free to report any issues you might have.
|
||||||
|
|
||||||
|
Most of the work to achieve the syntax highlight itself was already done by [antoniotejada](https://github.com/antoniotejada) in [https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget](https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget). On our side we added customization but also additional functionality.
|
||||||
|
|
||||||
|
## Migrating from existing syntax highlight plugins
|
||||||
|
|
||||||
|
If you are already using a syntax highlighting plugin such as the [Trilium-SyntaxHighlightWidget](https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget) we are basing off of, it is important to disable that plugin before upgrading in order for it not to conflict with our implementation.
|
||||||
|
|
||||||
|
Should you encounter any issues after the migration, try running Trilium in safe mode.
|
||||||
|
|
||||||
|
## New section in settings
|
||||||
|
|
||||||
|
In order to configure this new feature, a section has been added in Options → Appearance to control the syntax highlighting. There the color scheme can be chosen, from a builtin selection of themes from Highlight.js.
|
||||||
|
|
||||||
|
It is also now possible to disable the word wrapping for code blocks, which can make them easier to read for large amounts of code. Word wrapping has now been disabled by default.
|
||||||
|
|
||||||
|
It is also possible to disable the syntax highlighting by selecting “No syntax highlighting” in the “Color scheme” option.
|
||||||
|
|
||||||
|
<figure class="image"><img src="api/images/N6uWE52zBICS/Syntax highlighting & word.png"></figure>
|
||||||
|
|
||||||
|
## Using the syntax highlight in auto mode
|
||||||
|
|
||||||
|
Provided the syntax highlighting is enabled in the settings, simply create a code block within a text note and it will try to automatically detect the language (using the Highlight.js library):
|
||||||
|
|
||||||
|
<figure class="image"><img src="api/images/MtdkRx65ZpMl/2_Syntax highlighting & word.png"></figure>
|
||||||
|
|
||||||
|
## Adjusting the language manually
|
||||||
|
|
||||||
|
Should the automatic syntax highlight not work well enough, it is possible to manually adjust the language of the code block:
|
||||||
|
|
||||||
|
<figure class="image"><img src="api/images/v5rGTnSeekYT/3_Syntax highlighting & word.png"></figure>
|
||||||
|
|
||||||
|
## Adding support for new languages
|
||||||
|
|
||||||
|
By going to settings → Code Notes → Available MIME types in the dropdown, it is possible to adjust the languages that are used for code blocks as well.
|
||||||
|
|
||||||
|
Note that not all languages that are present in this list (which is meant for code blocks, using CodeMirror as editor) are supported by our syntax highlight library. In this case you will simply see no syntax highlighting when you select the language.
|
||||||
|
|
||||||
|
If syntax highlighting is not supported for a given language, feel free to open an issue and we will look whether it is possible to integrate it.
|
||||||
|
|
||||||
|
## Automatic disable of syntax highlighting
|
||||||
|
|
||||||
|
Note that when editing a text note, syntax highlighting is automatically disabled if the code block is too big (somewhere around 500 lines). This value is currently not configured.
|
||||||
|
|
||||||
|
For read-only text notes, this limitation is not applied.
|
32
docs/Release Notes/Release Notes/v0.90.11-beta.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# v0.90.11-beta
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* Now it is possible to have a fixed toolbar for editing text notes instead of the standard floating one, see [Classic editor for text notes (with fixed toolbar)](https://github.com/TriliumNext/Notes/pull/571) for more information.
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Double input after spaces on Android](https://github.com/TriliumNext/Notes/issues/568)
|
||||||
|
* [Hyperlinks with custom protocols not working](https://github.com/TriliumNext/Notes/issues/122) by @SiriusXT
|
||||||
|
* [Internal Link: Two Tooltips are displayed](https://github.com/TriliumNext/Notes/issues/525)
|
||||||
|
* Fixed loading of syntax highlighting themes for server and Docker builds.
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* [Insert inline images in text notes](https://github.com/TriliumNext/Notes/issues/531) (also grouped the image alignment buttons in subcategories since there were too many of them).
|
||||||
|
* [Explicitly manage the "latest" tag, and have it point to the same tag as "stable"](https://github.com/TriliumNext/Notes/pull/545) by @perfectra1n
|
||||||
|
* [Make attachments open in a new tab/browser](https://github.com/TriliumNext/Notes/pull/559) by @SiriusXT
|
||||||
|
* [mouse scroll wheel direction for zoom level](https://github.com/TriliumNext/Notes/pull/555) by @rom1dep
|
||||||
|
* Apply syntax highlight to preview of code notes as well.
|
||||||
|
* [More reliably check for version updates](https://github.com/TriliumNext/Notes/pull/574) by @perfectra1n
|
||||||
|
* README improvements by @perfectra1n
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* Preliminary support for the German language by @j13055
|
||||||
|
* Improved French translations by @Potjoe-97
|
||||||
|
* Improved Spanish translations by @hasecilu
|
||||||
|
|
||||||
|
## ⬆️ Library updates
|
||||||
|
|
||||||
|
* mind-elixir: 4.2.4 -> 4.3.1
|
||||||
|
* client: force-graph: 1.45.0 -> 1.46.0
|
131
docs/Release Notes/Release Notes/v0.90.12.md
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
# v0.90.12
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* Now it is possible to have a fixed toolbar for editing text notes instead of the standard floating one, see [Classic editor for text notes (with fixed toolbar)](https://github.com/TriliumNext/Notes/pull/571) for more information.
|
||||||
|
* Syntax highlight in code blocks in editable and read-only text notes (via Highlight.js), heavily based on [antoniotejada](https://github.com/antoniotejada)'s [Trilium-SyntaxHighlightWidget](https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget).
|
||||||
|
|
||||||
|
## Changes since the last beta release
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Shell (Bash) Syntax Highlight](https://github.com/TriliumNext/Notes/issues/583)
|
||||||
|
* [0 Max content width causes editor issues](https://github.com/TriliumNext/Notes/issues/593)
|
||||||
|
* [Share icon not visible in note icon picker](https://github.com/TriliumNext/Notes/issues/603)
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* Add find & replace button to fixed toolbar
|
||||||
|
* [Add more link protocol support](https://github.com/TriliumNext/Notes/pull/589) by @SiriusXT
|
||||||
|
* [Add a text replacement feature to the find\_widget](https://github.com/TriliumNext/Notes/pull/576) by @SiriusXT
|
||||||
|
* [Replace the editor type combo box with radio buttons](https://github.com/TriliumNext/Notes/pull/587) by @adoriandoran
|
||||||
|
* [Add box icons to note menu & attachments](https://github.com/TriliumNext/Notes/pull/609) by @SiriusXT
|
||||||
|
* [Improve the "Existing backups" section](https://github.com/TriliumNext/Notes/pull/615) by @adoriandoran
|
||||||
|
* [Trigger full text search when Ctrl + Enter is pressed in note autocomplete](https://github.com/TriliumNext/Notes/pull/585) by @SiriusXT
|
||||||
|
* [Improve context menus](https://github.com/TriliumNext/Notes/pull/618) (+ [Replace (?) with information icon](https://github.com/TriliumNext/Notes/issues/613)) by @adoriandoran
|
||||||
|
* [Add Options Launcher](https://github.com/TriliumNext/Notes/issues/619)
|
||||||
|
* [Change note clone icon indicator from star to link icon](https://github.com/TriliumNext/Notes/issues/565)
|
||||||
|
* [Add "Reopen last tab" and "Copy tab to new window" to tab management](https://github.com/TriliumNext/Notes/pull/651) by @SiriusXT
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Improved Spanish translations by @hasecilu
|
||||||
|
* Improved German translations by @j13055
|
||||||
|
* [Improve note revision wording and consistency](https://github.com/TriliumNext/Notes/pull/612) by @meichthys
|
||||||
|
|
||||||
|
### ⬆️ Library updates and technical improvements
|
||||||
|
|
||||||
|
* [Add renovate GitHub Action and JSON config](https://github.com/TriliumNext/Notes/pull/607) by @perfectra1n
|
||||||
|
|
||||||
|
## From `v0.90.11-beta`
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Double input after spaces on Android](https://github.com/TriliumNext/Notes/issues/568)
|
||||||
|
* [Hyperlinks with custom protocols not working](https://github.com/TriliumNext/Notes/issues/122) by @SiriusXT
|
||||||
|
* [Internal Link: Two Tooltips are displayed](https://github.com/TriliumNext/Notes/issues/525)
|
||||||
|
* Fixed loading of syntax highlighting themes for server and Docker builds.
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Insert inline images in text notes](https://github.com/TriliumNext/Notes/issues/531) (also grouped the image alignment buttons in subcategories since there were too many of them).
|
||||||
|
* [Explicitly manage the "latest" tag, and have it point to the same tag as "stable"](https://github.com/TriliumNext/Notes/pull/545) by @perfectra1n
|
||||||
|
* [Make attachments open in a new tab/browser](https://github.com/TriliumNext/Notes/pull/559) by @SiriusXT
|
||||||
|
* [mouse scroll wheel direction for zoom level](https://github.com/TriliumNext/Notes/pull/555) by @rom1dep
|
||||||
|
* Apply syntax highlight to preview of code notes as well.
|
||||||
|
* [More reliably check for version updates](https://github.com/TriliumNext/Notes/pull/574) by @perfectra1n
|
||||||
|
* README improvements by @perfectra1n
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Preliminary support for the German language by @j13055
|
||||||
|
* Improved French translations by @Potjoe-97
|
||||||
|
* Improved Spanish translations by @hasecilu
|
||||||
|
|
||||||
|
### ⬆️ Library updates
|
||||||
|
|
||||||
|
* mind-elixir: 4.2.4 -> 4.3.1
|
||||||
|
* client: force-graph: 1.45.0 -> 1.46.0
|
||||||
|
|
||||||
|
## From `v0.90.10-beta`
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Code note overlapping with note list.
|
||||||
|
* Fix error when running a script in 0.90.9-beta.
|
||||||
|
* Font section in Appearance settings blinking when settings were being updated.
|
||||||
|
* [Crop fileName and prevent cutting into the extension](https://github.com/TriliumNext/Notes/pull/541) / Canvas note exported to html can't be view due to title name is 13-15 digits long by @SiriusXT
|
||||||
|
* Duplicate note count in delete relation modal.
|
||||||
|
* Docnotes (e.g. launcher configuration descriptions) not showing on Electron/desktop builds.
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* Adjustable word-wrap for code blocks in text notes.
|
||||||
|
* Adjustable theme for code blocks in text notes, plus slightly improved design.
|
||||||
|
* The application should now be more highly tolerant to errors caused by custom widgets and scripts, not causing the UI to also crash (see [#511](https://github.com/TriliumNext/Notes/issues/511)).
|
||||||
|
* [Close tabs to the right](https://github.com/TriliumNext/Notes/pull/542) by @SiriusXT
|
||||||
|
* [Automatically trigger autocomplete on focus](https://github.com/TriliumNext/Notes/pull/534) by @SiriusXT
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Translate weekday and month names for daily notes.
|
||||||
|
* Update server translations when switching language.
|
||||||
|
* Translate search note prefix.
|
||||||
|
* Translate sync test messages.
|
||||||
|
|
||||||
|
### ⬆️ Library updates
|
||||||
|
|
||||||
|
* mind-elixir: 4.2.3 → 4.2.4
|
||||||
|
* mermaid: 11.3.0 → 11.4.0
|
||||||
|
* i18next: 23.16.2 -> 23.16.4
|
||||||
|
* and other internal development tooling updates.
|
||||||
|
|
||||||
|
## From `v0.90.9-beta`
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Promoted boolean attributes no long showing checkbox when the value is true](https://github.com/TriliumNext/Notes/issues/503)
|
||||||
|
* [Import of .htm keeps htm in title while html does not](https://github.com/TriliumNext/Notes/issues/500)
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Syntax highlighting in read-only mode code notes](https://github.com/TriliumNext/Notes/issues/504) (also for “View source”).
|
||||||
|
* [Server 404 logs are now one-line instead of a full stack trace](https://github.com/TriliumNext/Notes/issues/505)
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Translated the toast notifications, errors and confirmation boxes.
|
||||||
|
* Translated the launcher context menu.
|
||||||
|
|
||||||
|
### ⬆️ Library updates
|
||||||
|
|
||||||
|
* i18next: 23.16.0 -> 23.16.2
|
||||||
|
* mind-elixir: 4.2.0 -> 4.2.2
|
||||||
|
* vanilla-js-wheel-zoom: 9.0.2 -> 9.0.4
|
||||||
|
* cookie-parser: 1.4.6 → 1.4.7
|
||||||
|
* image-type: 4.1.0 → 5.2.0
|
||||||
|
* express, express-rate-limit, express-session updated to latest.
|
||||||
|
* cookie-parser: 1.4.6 → 1.4.7
|
||||||
|
* marked: 14.1.2 → 14.1.3
|
||||||
|
* sanitize-html: 2.13.0 → 2.13.1
|
||||||
|
* force-graph: 1.43.5 → 1.45.0
|
||||||
|
* and others (jasmine, debounce)
|
20
docs/Release Notes/Release Notes/v0.90.2-beta.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# v0.90.2-beta
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [(Bug report) Initial sync doesn't finish](https://github.com/TriliumNext/Notes/issues/266)
|
||||||
|
|
||||||
|
## ✨ Technical Improvements
|
||||||
|
|
||||||
|
Important changes:
|
||||||
|
|
||||||
|
* The biggest change is that the server has been ported from Common.js to ES Modules. Note that a change of this proportion is bound to cause some quirks throughout the application, bug reports are welcome.
|
||||||
|
* Updated Electron from 25.9.8 to 31.2.1 ([#231](https://github.com/TriliumNext/Notes/pull/231))
|
||||||
|
|
||||||
|
Additionally:
|
||||||
|
|
||||||
|
* Updated CKEditor from 41.0.0 to 41.4.2.
|
||||||
|
* Started adding support for internationalization ([#248](https://github.com/TriliumNext/Notes/pull/248)). The application will soon be able to be translated into multiple languages.
|
||||||
|
* Improved error management for scripting:
|
||||||
|
* If a critical unexpected error occurs from a widget, a toast is shown explaining the situation and advising to enter safe mode, as opposed to a blank page.
|
||||||
|
* If a basic widget fails to render, a toast is shown instead of crashing the application.
|
||||||
|
* Toast messages now support newlines (by adding a `\n` to the message) for slightly better formatting.
|
50
docs/Release Notes/Release Notes/v0.90.3.md
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# v0.90.3
|
||||||
|
This is the first public release of TriliumNext considered stable.
|
||||||
|
|
||||||
|
## ❔ Why TriliumNext?
|
||||||
|
|
||||||
|
TriliumNext has started as a fork of [Trilium Notes](https://github.com/zadam/trilium) at the beginning of 2024. The reason for the work is that the upstream project has entered [maintenance phase](https://github.com/zadam/trilium/issues/4620) and we would like to extend the application.
|
||||||
|
|
||||||
|
The work so far has focused more on the technical aspects because most of the work has been done by @zadam and handing over a project of this size is non-trivial. Some more technical work will be done in the upcoming versions after which the project can focus on improving the user experience as much as possible.
|
||||||
|
|
||||||
|
As a short overview of what's planned next from a user-facing point of view:
|
||||||
|
|
||||||
|
* Support for multiple languages.
|
||||||
|
* Improving the existing theme and decluttering the UI.
|
||||||
|
* Mobile improvements.
|
||||||
|
* Exploring additional editors such as a MarkDown-based editor.
|
||||||
|
|
||||||
|
## ⬆️ Porting from Trilium Notes?
|
||||||
|
|
||||||
|
There is no change in the database structure.
|
||||||
|
|
||||||
|
TriliumNext Notes can be run instead of the original Trilium Notes and it should work out of the box, since it will reuse the same database.
|
||||||
|
|
||||||
|
It should also be possible to downgrade back to Trilium Notes if required, without any changes or loss of data.
|
||||||
|
|
||||||
|
Similarly goes for the server, it should work out of the box. It is possible to mix and match between Trilium Notes and TriliumNext Notes.
|
||||||
|
|
||||||
|
## 🐞 How stable is the version
|
||||||
|
|
||||||
|
Generally you should not encounter any breaking bugs as the prior versions have been tested and daily-driven for a few weeks now.
|
||||||
|
|
||||||
|
Should you encounter any issue, feel free to report them on [our GitHub issues](https://github.com/TriliumNext/Notes/issues).
|
||||||
|
|
||||||
|
## ✨ Key highlights
|
||||||
|
|
||||||
|
* Fixed (from v0.90.2-beta)
|
||||||
|
* Fixed [Error importing zip file](https://github.com/TriliumNext/Notes/issues/281)
|
||||||
|
* Fixed Alt+Left and Alt+Right navigation would not work under Electron.
|
||||||
|
* Added a fresh new icon to represent our ongoing effort to improve Trilium.
|
||||||
|
* v0.90.2-beta
|
||||||
|
* Fixed some issues with the sync.
|
||||||
|
* Ported the server from Common.js to ES modules.
|
||||||
|
* Updated the CKEditor from 41.0.0 to 41.4.2.
|
||||||
|
* Updated Electron from 25.9.8 (marked as end-of-life) to 31.2.1.
|
||||||
|
* Started adding support for internationalization ([#248](https://github.com/TriliumNext/Notes/pull/248)). The application will soon be able to be translated into multiple languages.
|
||||||
|
* Improved error management for scripting
|
||||||
|
* v0.90.1-beta
|
||||||
|
* Introduced a Windows installer instead of the .zip installation.
|
||||||
|
* Bug fixes related to the TypeScript port of the server.
|
||||||
|
* v0.90.0-beta
|
||||||
|
* On a technical side, the server was rewritten in TypeScript. This should improve the stability of both current and future developments thanks to the language's type safety. It will also make the development slightly easier.
|
21
docs/Release Notes/Release Notes/v0.90.4.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# v0.90.4
|
||||||
|
This release focuses mostly on improving the experience with the Docker containers.
|
||||||
|
|
||||||
|
## Docker ARM builds
|
||||||
|
|
||||||
|
* [ARM builds for Docker were reintroduced](https://github.com/TriliumNext/Notes/issues/302) and are available on both [Docker Hub](https://hub.docker.com/r/triliumnext/notes) and [GHCR](https://github.com/TriliumNext/Notes/pkgs/container/notes)starting with this release.
|
||||||
|
* Note that only `ARMv7` and `ARM64/v8` architectures are supported for now.
|
||||||
|
* `ARMv6` support was dropped due to incompatibility issues with Node 20.
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Docker container marked as not healthy](https://github.com/TriliumNext/Notes/issues/296)
|
||||||
|
* [Find/Replace dialog doesn't match theme](https://github.com/TriliumNext/Notes/issues/304)
|
||||||
|
* [Tray icon is missing on windows](https://github.com/TriliumNext/Notes/issues/311)
|
||||||
|
* [Error when Duplicating subtree of note that contains broken internal trilium link](https://github.com/TriliumNext/Notes/issues/308)
|
||||||
|
* [Update available points to Trilium download instead of TriliumNext](https://github.com/TriliumNext/Notes/issues/313)
|
||||||
|
|
||||||
|
## Additional changes
|
||||||
|
|
||||||
|
* [Update `docker-compose.yml`](https://github.com/TriliumNext/Notes/pull/309) by slashtechno
|
||||||
|
* Updated links throughout the application to point to the rendered [TriliumNext Wiki](https://triliumnext.github.io/Docs)
|
69
docs/Release Notes/Release Notes/v0.90.5-beta.md
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
# v0.90.5-beta
|
||||||
|
This release brings a few quality-of-life improvements, as well as bugfixes. The main highlight, however, is the increased support for localization as well as a new note type.
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
Preliminary support for internationalization has been added, thanks to the efforts of `@Nriver`. More specifically, the following languages now have a partial translation:
|
||||||
|
|
||||||
|
* Spanish by `@hasecilu`
|
||||||
|
* Chinese by `@Nriver`
|
||||||
|
* Romanian.
|
||||||
|
|
||||||
|
Note that only the client has been translated so far and there are still a lot of tasks to handle before the application is fully translated.
|
||||||
|
|
||||||
|
## 💡 New note type: Mind map
|
||||||
|
|
||||||
|
Mind maps are usually a fast method to write down ideas and do brainstorming with a team. TriliumNext introduces this new note type with the help of [Mind Elixir](https://mind-elixir.com/), an open-source library.
|
||||||
|
|
||||||
|
Note that the integration is still in its infancy, so there might be bugs and a lack of feature until it is stabilized. The library itself supports quite a few features that are not implemented yet in Trilium: math expressions using KaTeX, images, links. Those might be implemented along the way, provided they are needed by users.
|
||||||
|
|
||||||
|
<figure class="image"><img src="v0.90.5-beta_image.png"></figure>
|
||||||
|
|
||||||
|
> **Note**: For the note type to fully work (such as shared notes), it is ideal to update the server instance as well, if you are using one.
|
||||||
|
|
||||||
|
## ⚙️ Builds
|
||||||
|
|
||||||
|
The internal build tooling has been updated, resulting in the following changes:
|
||||||
|
|
||||||
|
* For macOS users there is now a `.dmg` installation method as well. `@JYC333`
|
||||||
|
* There is also an ARM-native version for macOS that can be used, however it will require [additional steps to get it running](https://github.com/TriliumNext/Notes/issues/329) due to the lack of notarization (to bypass the “TriliumNext Notes.app” is damaged error).
|
||||||
|
* For both Windows and Linux we now have `amd64` builds as well.
|
||||||
|
* Please note these versions are not being actively tested due to lack of equipment, so feel free to raise any issues you might be encountering.
|
||||||
|
|
||||||
|
On the Docker side, [brought back Alpine-based Docker containers for amd64](https://github.com/TriliumNext/Notes/pull/366) by `@perfectrain`.
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [v0.90.4 docker does not read USER\_UID and USER\_GID from environment](https://github.com/TriliumNext/Notes/issues/331)
|
||||||
|
* [Invalid CSRF token on Android phone](https://github.com/TriliumNext/Notes/issues/318)
|
||||||
|
* [Excess spacing in lists](https://github.com/TriliumNext/Notes/issues/341)
|
||||||
|
* [scrollbar-color makes the scrollbar appear natively styled](https://github.com/TriliumNext/Notes/issues/350)
|
||||||
|
* Invisible scrollbar on Firefox
|
||||||
|
* [Issue with note title text box border](https://github.com/TriliumNext/Notes/issues/358)
|
||||||
|
* [Focus not set to input field when clicking `Include Note` from Block Editor](https://github.com/TriliumNext/Notes/issues/365)
|
||||||
|
* [Fix a bug of find widget](https://github.com/TriliumNext/Notes/pull/377) by `@SiriusXT`
|
||||||
|
* ['A JavaScript error occurred in the main process' when launching Trilium](https://github.com/TriliumNext/Notes/issues/368) (improved error handling).
|
||||||
|
|
||||||
|
* [Note Tooltip isn't removed when clicking on internal trilium link in read-only mode](https://github.com/TriliumNext/Notes/issues/375)
|
||||||
|
|
||||||
|
* [Calendar dropdown won't close if click/right-click other button that open notes from launcher bar](https://github.com/TriliumNext/Notes/issues/384)
|
||||||
|
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Improved the calendar button in the launch bar](https://github.com/TriliumNext/Notes/issues/374), adding support for easier month and year selection.
|
||||||
|
* [Make first day of week configurable](https://github.com/TriliumNext/Notes/issues/247) (supports Sunday and Monday)
|
||||||
|
* Can be adjusted in Options → Appearance → Localization → First day of the week.
|
||||||
|
* The option is synced with the server and the client updates immediately.
|
||||||
|
* Removed hard-coded libraries such as FancyTree and Bootstrap. This will later allow us to upgrade to the latest versions. `@JYC333`
|
||||||
|
* [Hide Electron-specific settings in the web version](https://github.com/TriliumNext/Notes/issues/345)
|
||||||
|
* [Add a toggle to promote the current note to a template](https://github.com/TriliumNext/Notes/issues/348)
|
||||||
|
* Disable share toggle when in options
|
||||||
|
* [Open New window from taskbar](https://github.com/TriliumNext/Notes/pull/373) by `@SiriusXT`
|
||||||
|
* Pressing F2 to edit the branch prefix will now work only in the note tree to avoid issues with other interactive elements such as the mind map, but also since the option itself is not the most used ones to require a global shortcut.
|
||||||
|
|
||||||
|
## New Contributors
|
||||||
|
|
||||||
|
* [@JYC333](https://github.com/JYC333) made their first contribution in [#294](https://github.com/TriliumNext/Notes/pull/294)
|
||||||
|
* [@hasecilu](https://github.com/hasecilu) made their first contribution in [#349](https://github.com/TriliumNext/Notes/pull/349)
|
||||||
|
* [@SiriusXT](https://github.com/SiriusXT) made their first contribution in [#377](https://github.com/TriliumNext/Notes/pull/377)
|
BIN
docs/Release Notes/Release Notes/v0.90.5-beta_image.png
Normal file
After Width: | Height: | Size: 101 KiB |
2
docs/Release Notes/Release Notes/v0.90.6-beta.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# v0.90.6-beta
|
||||||
|
This is a Docker-only re-release of [v0.90.5-beta](https://github.com/TriliumNext/Notes/releases/tag/v0.90.6-beta) that **adds back the amd64 container image** which was previously not available due to a race condition on our build mechanism. For now, this means that the Alpine container mentioned in the previous release is no longer available, as we have fallen back to Debian Slim.
|
52
docs/Release Notes/Release Notes/v0.90.7-beta.md
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# v0.90.7-beta
|
||||||
|
## ⚠️ Important notes
|
||||||
|
|
||||||
|
* 0.90.5-beta & 0.90.6-beta have an incompatibility with older sync servers if using mind maps, causing them to get turned to a file. If you are impacted by this, see [mindmap note suddenly show with file note](https://github.com/TriliumNext/Notes/issues/467#issuecomment-2402853189).
|
||||||
|
* Sync version has been increased from 32 to 33 to prevent issues with mindmap notes. This means that the server also needs to be updated to this version, otherwise sync will be refused.
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Insert Math appears to be broken](https://github.com/TriliumNext/Notes/issues/297)
|
||||||
|
* [Override the z-index of Bootstrap tooltips](https://github.com/TriliumNext/Notes/pull/472) by [dousha](https://github.com/dousha)
|
||||||
|
* [Clicking an entry in the calendar opens the note twice](https://github.com/TriliumNext/Notes/issues/417)
|
||||||
|
* [mindmap note suddenly show with file note](https://github.com/TriliumNext/Notes/issues/467)
|
||||||
|
* [Import md with jpeg: broken jpeg](https://github.com/TriliumNext/Notes/pull/458) by [`perfectra1n`](https://github.com/perfectra1n)
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* [Icon improvements](https://github.com/TriliumNext/Notes/pull/392) by `@SiriusXT`.
|
||||||
|
* [Open in file manager of Trilium's data directory](https://github.com/TriliumNext/Notes/pull/389) by `@SiriusXT`.
|
||||||
|
* [i18n Fallback to English for null characters](https://github.com/TriliumNext/Notes/pull/414) by `@SiriusXT`.
|
||||||
|
* [Use matrix strategy for CI/CD](https://github.com/TriliumNext/Notes/pull/402#top) (Alpine is back!) by `perfectra1n`.
|
||||||
|
* [Floating buttons can be displayed again after being closed](https://github.com/TriliumNext/Notes/pull/432) by `@SiriusXT`.
|
||||||
|
* [Revisions number limit](https://github.com/TriliumNext/Notes/pull/391) by [SiriusXT](https://github.com/SiriusXT).
|
||||||
|
* [Searching with orderBy doesn't work with dated attributes](https://github.com/TriliumNext/Notes/pull/451) by [jaimeferj](https://github.com/jaimeferj).
|
||||||
|
* [Use the electron Clipboard module when using "Copy image to clipboard"](https://github.com/TriliumNext/Notes/pull/452) by @perfectra1n.
|
||||||
|
* [MIME type not being used when creating new note correctly, upon zip import](https://github.com/TriliumNext/Notes/pull/458) by @perfectra1n.
|
||||||
|
* [fix blurry PWA icon](https://github.com/TriliumNext/Notes/pull/465) by [quantum5](https://github.com/quantum5)
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* Translated more of the client (e.g. note types, tree context menu, switches in the ribbon).
|
||||||
|
* Started translating the server (e.g. first setup, keyboard actions, shared pages).
|
||||||
|
* Improved coverage for Spanish by [hasecilu](https://github.com/hasecilu).
|
||||||
|
* Improved coverage for Chinese by [Nriver](https://github.com/Nriver/).
|
||||||
|
* Improved coverage for Romanian.
|
||||||
|
|
||||||
|
## Library updates
|
||||||
|
|
||||||
|
* [Upgrade bootstrap from v4 to v5](https://github.com/TriliumNext/Notes/pull/381) by @JYC333
|
||||||
|
* This is a heavy UI library update, so there might be quirks here and there.
|
||||||
|
* Various improvements and bugfixes by @JYC333 and @SiriusXT
|
||||||
|
* Mermaid: 10.9.1 → 11.3.0
|
||||||
|
* Mind Elixir: 4.0.5 → 4.1.5
|
||||||
|
* JSDOM: 24.1.1 → 25.0.0
|
||||||
|
* Day.js: 1.11.12 → 1.11.13
|
||||||
|
* ESLint: 9.9.0 → 9.10.0
|
||||||
|
* Marked: 13.0.2 → 14.1.2
|
||||||
|
* Ini: 4.1.3 -> 5.0.0
|
||||||
|
* Axios: 1.7.2 → 1.7.7
|
||||||
|
* i18next: 23.14.0 → 23.15.2
|
||||||
|
* express 4.19.2 → 4.21.0
|
||||||
|
* better-sqlite3: 11.1.2 → 11.3.0
|
||||||
|
* and other development tools.
|
37
docs/Release Notes/Release Notes/v0.90.8.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# v0.90.8
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* A new note type was introduced called “Mind Map” using the MindElixir library.
|
||||||
|
* Sync version has been increased from 32 to 33 to prevent issues with mindmap notes. This means that the server also needs to be updated to this version, otherwise sync will be refused.
|
||||||
|
* Internationalization support (Spanish, Chinese, Romanian, French).
|
||||||
|
* Various bugfixes (see below).
|
||||||
|
|
||||||
|
## New to v0.90.8
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [There are horizontal lines under all hyperlinks](https://github.com/TriliumNext/Notes/issues/485)
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* [Introduce `stable` tag on containers](https://github.com/TriliumNext/Notes/pull/489) by @perfectra1n
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Added French translations by @Potjoe-97
|
||||||
|
* Translation improvements for Spanish by @hasecilu
|
||||||
|
* Translation improvements for Chinese by @Nriver
|
||||||
|
* Improved coverage for Romanian.
|
||||||
|
|
||||||
|
### ⬆️ Library updates
|
||||||
|
|
||||||
|
* mind-elixir: 4.1.5 -> 4.2.0
|
||||||
|
* i18next: 23.15.2 -> 23.16.0
|
||||||
|
|
||||||
|
## From v0.90.7-beta
|
||||||
|
|
||||||
|
## From v0.90.6-beta
|
||||||
|
|
||||||
|
* Adds back the `amd64` container image
|
||||||
|
|
||||||
|
## From v0.90-5-beta
|
29
docs/Release Notes/Release Notes/v0.90.9-beta.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# v0.90.9-beta
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Promoted boolean attributes no long showing checkbox when the value is true](https://github.com/TriliumNext/Notes/issues/503)
|
||||||
|
* [Import of .htm keeps htm in title while html does not](https://github.com/TriliumNext/Notes/issues/500)
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* [Syntax highlighting in read-only mode code notes](https://github.com/TriliumNext/Notes/issues/504) (also for “View source”).
|
||||||
|
* [Server 404 logs are now one-line instead of a full stack trace](https://github.com/TriliumNext/Notes/issues/505)
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* Translated the toast notifications, errors and confirmation boxes.
|
||||||
|
* Translated the launcher context menu.
|
||||||
|
|
||||||
|
## ⬆️ Library updates
|
||||||
|
|
||||||
|
* i18next: 23.16.0 -> 23.16.2
|
||||||
|
* mind-elixir: 4.2.0 -> 4.2.2
|
||||||
|
* vanilla-js-wheel-zoom: 9.0.2 -> 9.0.4
|
||||||
|
* cookie-parser: 1.4.6 → 1.4.7
|
||||||
|
* image-type: 4.1.0 → 5.2.0
|
||||||
|
* express, express-rate-limit, express-session updated to latest.
|
||||||
|
* cookie-parser: 1.4.6 → 1.4.7
|
||||||
|
* marked: 14.1.2 → 14.1.3
|
||||||
|
* sanitize-html: 2.13.0 → 2.13.1
|
||||||
|
* force-graph: 1.43.5 → 1.45.0
|
||||||
|
* and others (jasmine, debounce)
|
20
docs/Release Notes/Release Notes/v0.90.x.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# v0.90.x
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* …
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* ….
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* …
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* …
|
||||||
|
|
||||||
|
## ⬆️ Library updates
|
||||||
|
|
||||||
|
* …
|
98
docs/Release Notes/Release Notes/v0.91.1-beta.md
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
# v0.91.1-beta
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* The launcher bar can now be placed at the top instead of the left of the screen, with a full-width tab bar. See [#654](https://github.com/TriliumNext/Notes/pull/654) for more information.
|
||||||
|
* [A new theme is introduced called “TriliumNext"](https://github.com/TriliumNext/Notes/pull/661) by @adoriandoran and @eliandoran. Settings on this theme are now displayed in a card layout. Redesigned tree action buttons.
|
||||||
|
* [Native title bar buttons](https://github.com/TriliumNext/Notes/pull/702) when native title bar is off for Windows and macOS.
|
||||||
|
|
||||||
|
* On Windows, on the TriliumNext theme there are window transparency effects if running under Windows, see [Mica (Windows transparency effects)](https://github.com/TriliumNext/Notes/pull/717) for screenshots. Unfortunately, it is plagued by a few bugs with Electron (the library we are using for the desktop application), see the link for more information.
|
||||||
|
|
||||||
|
* Updated Docker builds to Node 22. **Be on the lookout for any potential issues, especially for less-tested platforms such as ARM.**
|
||||||
|
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Syntax highlight in code blocks only in edit mode](https://github.com/TriliumNext/Notes/issues/668)
|
||||||
|
* To do lists not preserved on safe import.
|
||||||
|
* [File type video with emoji in name will break the preview](https://github.com/TriliumNext/Notes/issues/757)
|
||||||
|
|
||||||
|
* [Attribute "jump to" for internal links not working anymore](https://github.com/TriliumNext/Notes/issues/732)
|
||||||
|
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* [Add label definition type for standalone time](https://github.com/TriliumNext/Notes/pull/653) by @mm21
|
||||||
|
|
||||||
|
* [Remove resizer from backend log text area](https://github.com/TriliumNext/Notes/pull/670) by @meichthys
|
||||||
|
* Use CodeMirror for backend log
|
||||||
|
* Support for ELK layout in Mermaid diagrams (sponsored by @perfectra1n). See the relevant “ELK layout engine” in <a class="reference-link" href="#root/xKNWRXC24L5y/moBMU5tfa7Xx/Tshj61stDt8g/tPQgGfUs7ewD">Mermaid diagrams</a> for more information.
|
||||||
|
* [Make exact matches rise higher up in search](https://github.com/TriliumNext/Notes/pull/678) by @perfectra1n
|
||||||
|
* [Change layout of promoted attributes](https://github.com/TriliumNext/Notes/pull/538)
|
||||||
|
* [Add full text search in autocomplete](https://github.com/TriliumNext/Notes/pull/659) by @SiriusXT
|
||||||
|
* [Importing single HTML file: prefer html title over filename](https://github.com/TriliumNext/Notes/pull/598) by @maphew
|
||||||
|
* [Support page breaks for printing](https://github.com/TriliumNext/Notes/pull/692)
|
||||||
|
* [user configurable list of allowed html tags in import](https://github.com/TriliumNext/Notes/pull/601) by @maphew
|
||||||
|
* General HTML support; now the editor supports more HTML tags and displays them appropriately.
|
||||||
|
* Currently the import function is the only way to benefit from them, or modifying the source code manually by changing the note type.
|
||||||
|
* Change default icons for “Go to Previous Note” and “Go to next note” launcher buttons.
|
||||||
|
* Move toggle sidebar button near tab bar on horizontal layout.
|
||||||
|
* Mind map notes now are full-width by default (same as Canvas, for example).
|
||||||
|
* Tabs can now display the icon notes instead of only workspace icons (this is the default behaviour of the TrilumNext theme, can be added to any other theme via `--tab-note-icons: true;` to `:root`).
|
||||||
|
* [New Features for note map](https://github.com/TriliumNext/Notes/pull/700) by @CobriMediaJulien
|
||||||
|
* [Add supported link protocols](https://github.com/TriliumNext/Notes/pull/694) by @SiriusXT
|
||||||
|
* [add Mind Elixir plugin @mind-elixir/node-menu](https://github.com/TriliumNext/Notes/issues/723)
|
||||||
|
|
||||||
|
* [Format dates and times](https://github.com/TriliumNext/Notes/pull/741) by @adoriandoran
|
||||||
|
|
||||||
|
* [Expose cheerio in backend script api](https://github.com/TriliumNext/Notes/pull/758) by @kleutzinger
|
||||||
|
* [Format note paths](https://github.com/TriliumNext/Notes/pull/759) by @adoriandoran
|
||||||
|
|
||||||
|
* [add remark about UFW issues](https://github.com/TriliumNext/Notes/pull/767) by @pano9000
|
||||||
|
* [Code Block language support for Terraform (HCL)](https://github.com/TriliumNext/Notes/issues/739)
|
||||||
|
|
||||||
|
* [Display the fixed toolbar on multiple lines](https://github.com/TriliumNext/Notes/issues/729) (adjustable in settings)
|
||||||
|
|
||||||
|
* [Hide `internalLink` from `Jump To Note` dialog](https://github.com/TriliumNext/Notes/issues/713)
|
||||||
|
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* [Chinese translation improvements (& some new messages translated)](https://github.com/TriliumNext/Notes/pull/673) by @Nriver
|
||||||
|
* [Add translation for doc notes](https://github.com/TriliumNext/Notes/pull/677) by @Nriver
|
||||||
|
* [Spanish improvements](https://github.com/TriliumNext/Notes/pull/695/files) by @hasecilu
|
||||||
|
* [Traditional Chinese support](https://github.com/TriliumNext/Notes/pull/698) by @dwong33
|
||||||
|
* Translate import toast messages.
|
||||||
|
* Translate hidden notes (including options).
|
||||||
|
* Romanian improvements.
|
||||||
|
* [Brazillian Portuguese](https://github.com/TriliumNext/Notes/pull/740) by @Nertonm work in progress (only server translations for now)
|
||||||
|
|
||||||
|
* Translate note autocomplete.
|
||||||
|
|
||||||
|
|
||||||
|
## ⬆️ Library updates
|
||||||
|
|
||||||
|
* i18next, i18next-http-backend, i18next-fs-backend
|
||||||
|
* force-graph v1.47.0
|
||||||
|
* express 4.2.12
|
||||||
|
* mermaid 11.4.1
|
||||||
|
* axios 1.7.9
|
||||||
|
* katex 0.16.14
|
||||||
|
* https-proxy-agent 7.0.6
|
||||||
|
* better-sqlite3 11.6.0
|
||||||
|
* electron 31.3.1 -> 33.2.1
|
||||||
|
* jimp 0.22.12 -> 1.6.0
|
||||||
|
* mind-elixir 4.3.3
|
||||||
|
* Development tools
|
||||||
|
* electron-forge
|
||||||
|
* Docker Node.js updated to v20.18.1
|
||||||
|
* GitHub Actions workflow actions
|
||||||
|
* webpack v5.97.1
|
||||||
|
* TypeScript + types
|
||||||
|
* yargs
|
||||||
|
* helmet
|
||||||
|
* marked 15.0.3
|
||||||
|
* is-svg 5.1.0
|
||||||
|
* image-type 5.2.0
|
||||||
|
* eslint v9.16.0
|
||||||
|
* jsdom v25.0.1
|
||||||
|
* compression v1.7.5
|
43
docs/Release Notes/Release Notes/v0.91.2-beta.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# v0.91.2-beta
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Can not toggle notes by clicking on the note's icon in the navigation bar](https://github.com/TriliumNext/Notes/issues/812)
|
||||||
|
* [Cannot arrow down to "full search" when no search results are returned in quick search](https://github.com/TriliumNext/Notes/issues/798)
|
||||||
|
* [Toolbar tooltips no longer shown](https://github.com/TriliumNext/Notes/issues/795)
|
||||||
|
* [Two help pages will be opened when the help button is clicked](https://github.com/TriliumNext/Notes/issues/570)
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* [fix typo Trillium](https://github.com/TriliumNext/Notes/pull/799) by @pano9000
|
||||||
|
|
||||||
|
* [Libraries in Excalidraw are broken](https://github.com/TriliumNext/Notes/pull/787) by @CobriMediaJulien
|
||||||
|
|
||||||
|
* [Color scheme selection](https://github.com/TriliumNext/Notes/pull/800) by @adoriandoran
|
||||||
|
|
||||||
|
* [Style Next: Restyle the "Jump to Note" dialog](https://github.com/TriliumNext/Notes/pull/802) by @adoriandoran
|
||||||
|
|
||||||
|
* Exporting a Markdown file will now try to preserve syntax highlighting
|
||||||
|
|
||||||
|
* [Auto-show left panel when configuring launchbar](https://github.com/TriliumNext/Notes/issues/779)
|
||||||
|
* [Accessibility: explicitly associate label and input elements](https://github.com/TriliumNext/Notes/pull/813) by @pano9000
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* Spanish improvements by @hasecilu
|
||||||
|
* [localize hardcoded English aria-labels](https://github.com/TriliumNext/Notes/pull/801) by @pano9000
|
||||||
|
|
||||||
|
* Translate new note title
|
||||||
|
|
||||||
|
|
||||||
|
## ⬆️ Library updates
|
||||||
|
|
||||||
|
* typedoc: v0.27.5
|
||||||
|
* highlightjs: v11.11.0
|
||||||
|
* marked: v15.0.4
|
||||||
|
* express-rate-limit to v7.5.0
|
||||||
|
* chokidar: 4.0.3
|
||||||
|
* katex: v0.16.18
|
||||||
|
* sanitize-html: v2.14.0
|
||||||
|
* webpack-cli: v5.1.4 → v6.0.1
|
||||||
|
* i18next: v24.2.0
|
||||||
|
* @braintree/sanitize-url: v7.1.1
|
116
docs/Release Notes/Release Notes/v0.91.3-beta.md
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
# v0.91.3-beta
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* Quite a few mobile improvements have been done (**kindly waiting for bug reports**)
|
||||||
|
* On mobile the horizontal layout (with the launcher bar displayed at the top of the screen instead of on the left side) is now enforced.
|
||||||
|
* This allows for more real estate for the content of the note and simplifies the mobile layout.
|
||||||
|
* The launch bar has also been moved at the bottom, to be inline with modern application layouts.
|
||||||
|
* Restructured the tree as a sidebar which is triggered via a button on the left side of the title bar.
|
||||||
|
* The sidebar can also be triggered by swiping to the right on the left side of the screen. _Still some quirks to address on both iOS and Android due to their weird back button gesture_.
|
||||||
|
* Improved the positioning of the bottom bar and of the editor toolbar.
|
||||||
|
* Tabs have been enabled. Currently we are using the same implementation as on desktop, which might have a few quirks on mobile.
|
||||||
|
* Jump to note is now available.
|
||||||
|
* The mobile view now has its own launch bar configuration with its own launch bar buttons. For now only a few have been enabled. **Feel free to request any button from the desktop should you require it.**
|
||||||
|
* Now it's possible to insert footnotes in CKEditor, thanks to a fork of [ThomasAitken/ckeditor5-footnotes](https://github.com/ThomasAitken/ckeditor5-footnotes).
|
||||||
|
* It's also possible to create inline Mermaid diagrams into text notes.
|
||||||
|
|
||||||
|
## Known issues
|
||||||
|
|
||||||
|
* On mobile, opening in a new tab activates the new tab but does not refresh the tab bar.
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Prevent HTML from rendering in launcher bar.
|
||||||
|
* [Calendar overflows off right of view when in mobile view](https://github.com/TriliumNext/Notes/issues/783)
|
||||||
|
* Note tree context menu not shown on long press on iOS.
|
||||||
|
* [Advanced tree menu is only accessible in the mobile view via long-press](https://github.com/TriliumNext/Notes/issues/785)
|
||||||
|
* [NotFoundError after trying to paste filepath into note, restart required](https://github.com/TriliumNext/Notes/issues/881)
|
||||||
|
* login: fix "flash of unstyled content" by @pano9000
|
||||||
|
* [Limit search function doesn't work](https://github.com/TriliumNext/Notes/issues/920)
|
||||||
|
|
||||||
|
* [fix ck-editor checkboxes not showing checkmark while printing](https://github.com/TriliumNext/Notes/pull/908) by @pano9000
|
||||||
|
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* [Syntax Highlighting for Batch scripts](https://github.com/TriliumNext/Notes/issues/830)
|
||||||
|
* Mobile improvements
|
||||||
|
* Translucent top bar mobile layout on iOS
|
||||||
|
* Display formatting toolbar above keyboard.
|
||||||
|
* Fonts
|
||||||
|
* Grouped the font selection by font type (sans-serif, monospace, etc.).
|
||||||
|
* Added an option to use the system font (e.g. “Segoe UI” for Windows).
|
||||||
|
* Display the content of JSON attachments and improve the style of attachment code blocks.
|
||||||
|
* Translucent top bar on desktop layout for iPad
|
||||||
|
* ['Show Help' and 'About Trillium Notes' menu options are now available in the mobile view](https://github.com/TriliumNext/Notes/issues/666)
|
||||||
|
* Back/forward buttons have been enabled for web builds as well, mostly for mobile view.
|
||||||
|
* [support for RFC 5870 geo-URIs](https://github.com/TriliumNext/Notes/pull/891) by @0Raptor
|
||||||
|
* login: add Trilium icon and improve style by @pano9000
|
||||||
|
* allow disabling mention autocomplete by pressing escape (forward port of @zadam’s work)
|
||||||
|
* [Restyle the help dialog](https://github.com/TriliumNext/Notes/pull/903) by @adoriandoran
|
||||||
|
|
||||||
|
* Added back ESLint support for backend notes
|
||||||
|
|
||||||
|
* Exporting JavaScript code blocks in text notes to Markdown now sets the right language tag.
|
||||||
|
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* Spanish translation improvements by @hasecilu
|
||||||
|
* Chinese translation improvements by @Nriver
|
||||||
|
* [make <kbd> tags translatable](https://github.com/TriliumNext/Notes/pull/857) by @pano9000
|
||||||
|
* [make duplicate notes suffix translatable](https://github.com/TriliumNext/Notes/pull/859) by @pano9000
|
||||||
|
* improve translatability of database\_backed\_up\_to string by @pano9000
|
||||||
|
* translate some buttons in the note tree
|
||||||
|
* translate a few note map buttons
|
||||||
|
|
||||||
|
## ⬆️ Technical Improvements
|
||||||
|
|
||||||
|
* Library updates
|
||||||
|
* force-graph to v1.47.2
|
||||||
|
* @highlightjs/cdn-assets to v11.11.1
|
||||||
|
* typedoc to v0.27.6
|
||||||
|
* jquery.fancytree to v2.38.4
|
||||||
|
* katex to v0.16.19
|
||||||
|
|
||||||
|
* @types/node to v22.10.5
|
||||||
|
|
||||||
|
* marked to v15.0.5
|
||||||
|
* mind-elixir to v4.3.6
|
||||||
|
* better-sqlite3 to v11.8.0
|
||||||
|
* CKEditor to 41.3.2
|
||||||
|
* jsdom to v26
|
||||||
|
* i18next to v24.2.1
|
||||||
|
* draggabilly to v3.0.0
|
||||||
|
|
||||||
|
* electron to 33.3.1.
|
||||||
|
|
||||||
|
* Node.js for Docker containers: v22.13.0
|
||||||
|
|
||||||
|
* ts-loader: v9.5.2
|
||||||
|
|
||||||
|
* [use existing randomSecureToken function](https://github.com/TriliumNext/Notes/pull/866) by @pano9000
|
||||||
|
|
||||||
|
* use named exports for the utils functions by @pano9000
|
||||||
|
* use Set instead of Arrays for faster lookups by @pano9000
|
||||||
|
* remove unused 'request' by @pano9000
|
||||||
|
* utils/formatDownloadTitle: simplify function by @pano9000
|
||||||
|
* remove unused tree-kill dependency by @pano9000
|
||||||
|
|
||||||
|
* [Add timezone and localtime mounts to docker-compose](https://github.com/TriliumNext/Notes/pull/892) by @perfectra1n
|
||||||
|
* login: simplify JS by @pano9000
|
||||||
|
* set password: various smaller fixes by @pano9000
|
||||||
|
* use ejs partial for injecting window.glob by @pano9000
|
||||||
|
* add prettier as devDep and scripts by @pano9000
|
||||||
|
* add override for \*.json tab width to match .editorconfig by @pano9000
|
||||||
|
* update deprecated electron packages by @pano9000
|
||||||
|
|
||||||
|
* Add server logging for CKEditor state changes by @process
|
||||||
|
|
||||||
|
* refactor(data\_dir): simplify logic and make code robust and testable by @pano9000
|
||||||
|
|
||||||
|
* replace csurf with csrf-csrf by @pano9000
|
||||||
|
|
||||||
|
* refactor(backend\_log): improve getBackendLog by @pano9000
|
||||||
|
|
||||||
|
* fix(views): replace deprecated meta tag by @pano9000
|
62
docs/Release Notes/Release Notes/v0.91.4-beta.md
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
# v0.91.4-beta
|
||||||
|
To do before release:
|
||||||
|
|
||||||
|
* Ensure Excalidraw works on desktop build.
|
||||||
|
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* We now provide binaries to run the server on Linux on ARM without Docker (e.g. on a Raspberry Pi, thanks to @perfectra1n ).
|
||||||
|
* [Introducing a map note type](https://github.com/TriliumNext/Notes/pull/1017)
|
||||||
|
|
||||||
|
* Add ability to set Trilium configuration variables via ENV variables by @pano9000 and @perfectra1n
|
||||||
|
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Share: Fix going from child note to parent share root](https://github.com/TriliumNext/Notes/pull/963)
|
||||||
|
* [Context Menu Keyboard Commands wrap to next line](https://github.com/TriliumNext/Notes/issues/976)
|
||||||
|
* [Keyboard shortcuts in tree context menu are not in line with menu item](https://github.com/TriliumNext/Notes/issues/685)
|
||||||
|
* [Canvas/Excalidraw note slows down considerably with many images](https://github.com/TriliumNext/Notes/issues/967)
|
||||||
|
* [tab context menu on mobile is not accessible](https://github.com/TriliumNext/Notes/issues/969)
|
||||||
|
* [Code Notes Settings: the "Available MIME Type" list gets corrupted](https://github.com/TriliumNext/Notes/issues/988)
|
||||||
|
* [Tree Panel: the preferred width resets under certain conditions](https://github.com/TriliumNext/Notes/issues/990)
|
||||||
|
* [Mind map: the branching side preference is not persisted](https://github.com/TriliumNext/Notes/issues/986)
|
||||||
|
* HTML Import Strips away "valid" h1 tags by @pano9000
|
||||||
|
* [share.js broken on share pages](https://github.com/TriliumNext/Notes/issues/1029) by @pano9000
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* [Add space between "delete all revisions" and ? buttons on Note revision dialog](https://github.com/TriliumNext/Notes/issues/974)
|
||||||
|
* Improved launch bar on mobile: context menu to move between available and visible, or reset the configuration.
|
||||||
|
* Enable fixed editing toolbar by default for new users.
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* Translated some missing messages in Romanian.
|
||||||
|
|
||||||
|
## ⬆️ Technical improvements
|
||||||
|
|
||||||
|
* **Reached zero vulnerabilities in dependencies according to** `**npm audit**`
|
||||||
|
* Update Electron to 34
|
||||||
|
* update dependency fs-extra to v11.3.0
|
||||||
|
* update dependency force-graph to v1.49.0
|
||||||
|
* update dependency katex to v0.16.21
|
||||||
|
* update dependency better-sqlite3 to v11.8.1
|
||||||
|
* [set more secure csrf related settings](https://github.com/TriliumNext/Notes/pull/961) by @pano9000
|
||||||
|
* get rid of ts-node by @pano9000
|
||||||
|
* Fix default ivLength in dump-db tool by @Nriver
|
||||||
|
* add vitest as test framework and port current tests (& various test improvements) by @pano9000
|
||||||
|
* get rid of Webpack Critical dependency warning by @pano9000
|
||||||
|
* fix flaky getPlatformAppDataDir test on Windows by @pano9000
|
||||||
|
* refactor and add tests for \`services/import/mime\` by @pano9000
|
||||||
|
* refactor: compress images by @j9t
|
||||||
|
* Bump Electron to v34.0.1
|
||||||
|
* Bump i18next-http-backend to v3.0.2
|
||||||
|
* Bump i18next to v24.2.2
|
||||||
|
* Bump electron-forge monorepo to v7.6.1
|
||||||
|
* Bump @mind-elixir/node-menu to v1.0.4
|
||||||
|
* Docker: update node.js to v22.13.1
|
||||||
|
* webpack: add Configuration type
|
||||||
|
* webpack: add missing share.js entry point
|
||||||
|
* npm audit fix by @pano9000
|
||||||
|
* port desktop and mobile entrypoints by @pano9000
|
337
docs/Release Notes/Release Notes/v0.91.5.md
Normal file
@ -0,0 +1,337 @@
|
|||||||
|
# v0.91.5
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* We now provide binaries to run the server on Linux on ARM without Docker (e.g. on a Raspberry Pi, thanks to @perfectra1n ).
|
||||||
|
* [Introducing a map note type](https://github.com/TriliumNext/Notes/pull/1017)
|
||||||
|
|
||||||
|
* Add ability to set Trilium configuration variables via ENV variables by @pano9000 and @perfectra1n
|
||||||
|
|
||||||
|
* Quite a few mobile improvements have been done (**kindly waiting for bug reports**)
|
||||||
|
* On mobile the horizontal layout (with the launcher bar displayed at the top of the screen instead of on the left side) is now enforced.
|
||||||
|
* This allows for more real estate for the content of the note and simplifies the mobile layout.
|
||||||
|
* The launch bar has also been moved at the bottom, to be inline with modern application layouts.
|
||||||
|
* Restructured the tree as a sidebar which is triggered via a button on the left side of the title bar.
|
||||||
|
* The sidebar can also be triggered by swiping to the right on the left side of the screen. _Still some quirks to address on both iOS and Android due to their weird back button gesture_.
|
||||||
|
* Improved the positioning of the bottom bar and of the editor toolbar.
|
||||||
|
* Tabs have been enabled. Currently we are using the same implementation as on desktop, which might have a few quirks on mobile.
|
||||||
|
* Jump to note is now available.
|
||||||
|
* The mobile view now has its own launch bar configuration with its own launch bar buttons. For now only a few have been enabled. **Feel free to request any button from the desktop should you require it.**
|
||||||
|
* Now it's possible to insert footnotes in CKEditor, thanks to a fork of [ThomasAitken/ckeditor5-footnotes](https://github.com/ThomasAitken/ckeditor5-footnotes).
|
||||||
|
* It's also possible to create inline Mermaid diagrams into text notes.
|
||||||
|
* The launcher bar can now be placed at the top instead of the left of the screen, with a full-width tab bar. See [#654](https://github.com/TriliumNext/Notes/pull/654) for more information.
|
||||||
|
* [A new theme is introduced called “TriliumNext"](https://github.com/TriliumNext/Notes/pull/661) by @adoriandoran and @eliandoran. Settings on this theme are now displayed in a card layout. Redesigned tree action buttons.
|
||||||
|
* [Native title bar buttons](https://github.com/TriliumNext/Notes/pull/702) when native title bar is off for Windows and macOS.
|
||||||
|
|
||||||
|
* On Windows, on the TriliumNext theme there are window transparency effects if running under Windows, see [Mica (Windows transparency effects)](https://github.com/TriliumNext/Notes/pull/717) for screenshots. Unfortunately, it is plagued by a few bugs with Electron (the library we are using for the desktop application), see the link for more information.
|
||||||
|
|
||||||
|
* Updated Docker builds to Node 22. **Be on the lookout for any potential issues, especially for less-tested platforms such as ARM.**
|
||||||
|
|
||||||
|
|
||||||
|
## New in this release (v0.91.5)
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Import Dialog "Safe Import" Tooltip is cut off](https://github.com/TriliumNext/Notes/issues/1003)
|
||||||
|
* [Backend Log is not showing on mobile view](https://github.com/TriliumNext/Notes/issues/1058)
|
||||||
|
* [initial server setup form cannot be sent with enter key](https://github.com/TriliumNext/Notes/issues/94) by @pano9000
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Preserve highlighted text's background color when printing](https://github.com/TriliumNext/Notes/issues/905)
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* …
|
||||||
|
|
||||||
|
### 🛠️ Technical updates
|
||||||
|
|
||||||
|
* update dependency @types/node to v22.12.0
|
||||||
|
* Use new type field for GitHub issues by @pano9000
|
||||||
|
* chore(client/ts): port setup entrypoint by @pano9000
|
||||||
|
* refactor(server/utils): turn isMac/isWin/isElectron/isDev into boolean by @pano9000
|
||||||
|
* chore(issue\_templates): add simple Task template by @pano9000
|
||||||
|
|
||||||
|
## From v0.91.4-beta
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Share: Fix going from child note to parent share root](https://github.com/TriliumNext/Notes/pull/963)
|
||||||
|
* [Context Menu Keyboard Commands wrap to next line](https://github.com/TriliumNext/Notes/issues/976)
|
||||||
|
* [Keyboard shortcuts in tree context menu are not in line with menu item](https://github.com/TriliumNext/Notes/issues/685)
|
||||||
|
* [Canvas/Excalidraw note slows down considerably with many images](https://github.com/TriliumNext/Notes/issues/967)
|
||||||
|
* [tab context menu on mobile is not accessible](https://github.com/TriliumNext/Notes/issues/969)
|
||||||
|
* [Code Notes Settings: the "Available MIME Type" list gets corrupted](https://github.com/TriliumNext/Notes/issues/988)
|
||||||
|
* [Tree Panel: the preferred width resets under certain conditions](https://github.com/TriliumNext/Notes/issues/990)
|
||||||
|
* [Mind map: the branching side preference is not persisted](https://github.com/TriliumNext/Notes/issues/986)
|
||||||
|
* HTML Import Strips away "valid" h1 tags by @pano9000
|
||||||
|
* [share.js broken on share pages](https://github.com/TriliumNext/Notes/issues/1029) by @pano9000
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Add space between "delete all revisions" and ? buttons on Note revision dialog](https://github.com/TriliumNext/Notes/issues/974)
|
||||||
|
* Improved launch bar on mobile: context menu to move between available and visible, or reset the configuration.
|
||||||
|
* Enable fixed editing toolbar by default for new users.
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Translated some missing messages in Romanian.
|
||||||
|
|
||||||
|
### ⬆️ Technical improvements
|
||||||
|
|
||||||
|
* **Reached zero vulnerabilities in dependencies according to** `**npm audit**`
|
||||||
|
* Update Electron to 34
|
||||||
|
* update dependency fs-extra to v11.3.0
|
||||||
|
* update dependency force-graph to v1.49.0
|
||||||
|
* update dependency katex to v0.16.21
|
||||||
|
* update dependency better-sqlite3 to v11.8.1
|
||||||
|
* [set more secure csrf related settings](https://github.com/TriliumNext/Notes/pull/961) by @pano9000
|
||||||
|
* get rid of ts-node by @pano9000
|
||||||
|
* Fix default ivLength in dump-db tool by @Nriver
|
||||||
|
* add vitest as test framework and port current tests (& various test improvements) by @pano9000
|
||||||
|
* get rid of Webpack Critical dependency warning by @pano9000
|
||||||
|
* fix flaky getPlatformAppDataDir test on Windows by @pano9000
|
||||||
|
* refactor and add tests for \`services/import/mime\` by @pano9000
|
||||||
|
* refactor: compress images by @j9t
|
||||||
|
* Bump Electron to v34.0.1
|
||||||
|
* Bump i18next-http-backend to v3.0.2
|
||||||
|
* Bump i18next to v24.2.2
|
||||||
|
* Bump electron-forge monorepo to v7.6.1
|
||||||
|
* Bump @mind-elixir/node-menu to v1.0.4
|
||||||
|
* Docker: update node.js to v22.13.1
|
||||||
|
* webpack: add Configuration type
|
||||||
|
* webpack: add missing share.js entry point
|
||||||
|
* npm audit fix by @pano9000
|
||||||
|
* port desktop and mobile entrypoints by @pano9000
|
||||||
|
|
||||||
|
## From v0.91.3-beta
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Prevent HTML from rendering in launcher bar.
|
||||||
|
* [Calendar overflows off right of view when in mobile view](https://github.com/TriliumNext/Notes/issues/783)
|
||||||
|
* Note tree context menu not shown on long press on iOS.
|
||||||
|
* [Advanced tree menu is only accessible in the mobile view via long-press](https://github.com/TriliumNext/Notes/issues/785)
|
||||||
|
* [NotFoundError after trying to paste filepath into note, restart required](https://github.com/TriliumNext/Notes/issues/881)
|
||||||
|
* login: fix "flash of unstyled content" by @pano9000
|
||||||
|
* [Limit search function doesn't work](https://github.com/TriliumNext/Notes/issues/920)
|
||||||
|
|
||||||
|
* [fix ck-editor checkboxes not showing checkmark while printing](https://github.com/TriliumNext/Notes/pull/908) by @pano9000
|
||||||
|
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Syntax Highlighting for Batch scripts](https://github.com/TriliumNext/Notes/issues/830)
|
||||||
|
* Mobile improvements
|
||||||
|
* Translucent top bar mobile layout on iOS
|
||||||
|
* Display formatting toolbar above keyboard.
|
||||||
|
* Fonts
|
||||||
|
* Grouped the font selection by font type (sans-serif, monospace, etc.).
|
||||||
|
* Added an option to use the system font (e.g. “Segoe UI” for Windows).
|
||||||
|
* Display the content of JSON attachments and improve the style of attachment code blocks.
|
||||||
|
* Translucent top bar on desktop layout for iPad
|
||||||
|
* ['Show Help' and 'About Trillium Notes' menu options are now available in the mobile view](https://github.com/TriliumNext/Notes/issues/666)
|
||||||
|
* Back/forward buttons have been enabled for web builds as well, mostly for mobile view.
|
||||||
|
* [support for RFC 5870 geo-URIs](https://github.com/TriliumNext/Notes/pull/891) by @0Raptor
|
||||||
|
* login: add Trilium icon and improve style by @pano9000
|
||||||
|
* allow disabling mention autocomplete by pressing escape (forward port of @zadam’s work)
|
||||||
|
* [Restyle the help dialog](https://github.com/TriliumNext/Notes/pull/903) by @adoriandoran
|
||||||
|
|
||||||
|
* Added back ESLint support for backend notes
|
||||||
|
|
||||||
|
* Exporting JavaScript code blocks in text notes to Markdown now sets the right language tag.
|
||||||
|
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Spanish translation improvements by @hasecilu
|
||||||
|
* Chinese translation improvements by @Nriver
|
||||||
|
* [make <kbd> tags translatable](https://github.com/TriliumNext/Notes/pull/857) by @pano9000
|
||||||
|
* [make duplicate notes suffix translatable](https://github.com/TriliumNext/Notes/pull/859) by @pano9000
|
||||||
|
* improve translatability of database\_backed\_up\_to string by @pano9000
|
||||||
|
* translate some buttons in the note tree
|
||||||
|
* translate a few note map buttons
|
||||||
|
|
||||||
|
### ⬆️ Technical Improvements
|
||||||
|
|
||||||
|
* Library updates
|
||||||
|
* force-graph to v1.47.2
|
||||||
|
* @highlightjs/cdn-assets to v11.11.1
|
||||||
|
* typedoc to v0.27.6
|
||||||
|
* jquery.fancytree to v2.38.4
|
||||||
|
* katex to v0.16.19
|
||||||
|
|
||||||
|
* @types/node to v22.10.5
|
||||||
|
|
||||||
|
* marked to v15.0.5
|
||||||
|
* mind-elixir to v4.3.6
|
||||||
|
* better-sqlite3 to v11.8.0
|
||||||
|
* CKEditor to 41.3.2
|
||||||
|
* jsdom to v26
|
||||||
|
* i18next to v24.2.1
|
||||||
|
* draggabilly to v3.0.0
|
||||||
|
|
||||||
|
* electron to 33.3.1.
|
||||||
|
|
||||||
|
* Node.js for Docker containers: v22.13.0
|
||||||
|
|
||||||
|
* ts-loader: v9.5.2
|
||||||
|
|
||||||
|
* [use existing randomSecureToken function](https://github.com/TriliumNext/Notes/pull/866) by @pano9000
|
||||||
|
|
||||||
|
* use named exports for the utils functions by @pano9000
|
||||||
|
* use Set instead of Arrays for faster lookups by @pano9000
|
||||||
|
* remove unused 'request' by @pano9000
|
||||||
|
* utils/formatDownloadTitle: simplify function by @pano9000
|
||||||
|
* remove unused tree-kill dependency by @pano9000
|
||||||
|
|
||||||
|
* [Add timezone and localtime mounts to docker-compose](https://github.com/TriliumNext/Notes/pull/892) by @perfectra1n
|
||||||
|
* login: simplify JS by @pano9000
|
||||||
|
* set password: various smaller fixes by @pano9000
|
||||||
|
* use ejs partial for injecting window.glob by @pano9000
|
||||||
|
* add prettier as devDep and scripts by @pano9000
|
||||||
|
* add override for \*.json tab width to match .editorconfig by @pano9000
|
||||||
|
* update deprecated electron packages by @pano9000
|
||||||
|
|
||||||
|
* Add server logging for CKEditor state changes by @process
|
||||||
|
|
||||||
|
* refactor(data\_dir): simplify logic and make code robust and testable by @pano9000
|
||||||
|
|
||||||
|
* replace csurf with csrf-csrf by @pano9000
|
||||||
|
|
||||||
|
* refactor(backend\_log): improve getBackendLog by @pano9000
|
||||||
|
|
||||||
|
* fix(views): replace deprecated meta tag by @pano9000
|
||||||
|
|
||||||
|
## From v0.91.2-beta
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Can not toggle notes by clicking on the note's icon in the navigation bar](https://github.com/TriliumNext/Notes/issues/812)
|
||||||
|
* [Cannot arrow down to "full search" when no search results are returned in quick search](https://github.com/TriliumNext/Notes/issues/798)
|
||||||
|
* [Toolbar tooltips no longer shown](https://github.com/TriliumNext/Notes/issues/795)
|
||||||
|
* [Two help pages will be opened when the help button is clicked](https://github.com/TriliumNext/Notes/issues/570)
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [fix typo Trillium](https://github.com/TriliumNext/Notes/pull/799) by @pano9000
|
||||||
|
|
||||||
|
* [Libraries in Excalidraw are broken](https://github.com/TriliumNext/Notes/pull/787) by @CobriMediaJulien
|
||||||
|
|
||||||
|
* [Color scheme selection](https://github.com/TriliumNext/Notes/pull/800) by @adoriandoran
|
||||||
|
|
||||||
|
* [Style Next: Restyle the "Jump to Note" dialog](https://github.com/TriliumNext/Notes/pull/802) by @adoriandoran
|
||||||
|
|
||||||
|
* Exporting a Markdown file will now try to preserve syntax highlighting
|
||||||
|
|
||||||
|
* [Auto-show left panel when configuring launchbar](https://github.com/TriliumNext/Notes/issues/779)
|
||||||
|
* [Accessibility: explicitly associate label and input elements](https://github.com/TriliumNext/Notes/pull/813) by @pano9000
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Spanish improvements by @hasecilu
|
||||||
|
* [localize hardcoded English aria-labels](https://github.com/TriliumNext/Notes/pull/801) by @pano9000
|
||||||
|
|
||||||
|
* Translate new note title
|
||||||
|
|
||||||
|
|
||||||
|
### ⬆️ Library updates
|
||||||
|
|
||||||
|
* typedoc: v0.27.5
|
||||||
|
* highlightjs: v11.11.0
|
||||||
|
* marked: v15.0.4
|
||||||
|
* express-rate-limit to v7.5.0
|
||||||
|
* chokidar: 4.0.3
|
||||||
|
* katex: v0.16.18
|
||||||
|
* sanitize-html: v2.14.0
|
||||||
|
* webpack-cli: v5.1.4 → v6.0.1
|
||||||
|
* i18next: v24.2.0
|
||||||
|
* @braintree/sanitize-url: v7.1.1
|
||||||
|
|
||||||
|
## From v0.91.1-beta
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Syntax highlight in code blocks only in edit mode](https://github.com/TriliumNext/Notes/issues/668)
|
||||||
|
* To do lists not preserved on safe import.
|
||||||
|
* [File type video with emoji in name will break the preview](https://github.com/TriliumNext/Notes/issues/757)
|
||||||
|
|
||||||
|
* [Attribute "jump to" for internal links not working anymore](https://github.com/TriliumNext/Notes/issues/732)
|
||||||
|
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Add label definition type for standalone time](https://github.com/TriliumNext/Notes/pull/653) by @mm21
|
||||||
|
|
||||||
|
* [Remove resizer from backend log text area](https://github.com/TriliumNext/Notes/pull/670) by @meichthys
|
||||||
|
* Use CodeMirror for backend log
|
||||||
|
* Support for ELK layout in Mermaid diagrams (sponsored by @perfectra1n). See the relevant “ELK layout engine” in <a class="reference-link" href="#root/xKNWRXC24L5y/moBMU5tfa7Xx/Tshj61stDt8g/tPQgGfUs7ewD">[missing note]</a> for more information.
|
||||||
|
* [Make exact matches rise higher up in search](https://github.com/TriliumNext/Notes/pull/678) by @perfectra1n
|
||||||
|
* [Change layout of promoted attributes](https://github.com/TriliumNext/Notes/pull/538)
|
||||||
|
* [Add full text search in autocomplete](https://github.com/TriliumNext/Notes/pull/659) by @SiriusXT
|
||||||
|
* [Importing single HTML file: prefer html title over filename](https://github.com/TriliumNext/Notes/pull/598) by @maphew
|
||||||
|
* [Support page breaks for printing](https://github.com/TriliumNext/Notes/pull/692)
|
||||||
|
* [user configurable list of allowed html tags in import](https://github.com/TriliumNext/Notes/pull/601) by @maphew
|
||||||
|
* General HTML support; now the editor supports more HTML tags and displays them appropriately.
|
||||||
|
* Currently the import function is the only way to benefit from them, or modifying the source code manually by changing the note type.
|
||||||
|
* Change default icons for “Go to Previous Note” and “Go to next note” launcher buttons.
|
||||||
|
* Move toggle sidebar button near tab bar on horizontal layout.
|
||||||
|
* Mind map notes now are full-width by default (same as Canvas, for example).
|
||||||
|
* Tabs can now display the icon notes instead of only workspace icons (this is the default behaviour of the TrilumNext theme, can be added to any other theme via `--tab-note-icons: true;` to `:root`).
|
||||||
|
* [New Features for note map](https://github.com/TriliumNext/Notes/pull/700) by @CobriMediaJulien
|
||||||
|
* [Add supported link protocols](https://github.com/TriliumNext/Notes/pull/694) by @SiriusXT
|
||||||
|
* [add Mind Elixir plugin @mind-elixir/node-menu](https://github.com/TriliumNext/Notes/issues/723)
|
||||||
|
|
||||||
|
* [Format dates and times](https://github.com/TriliumNext/Notes/pull/741) by @adoriandoran
|
||||||
|
|
||||||
|
* [Expose cheerio in backend script api](https://github.com/TriliumNext/Notes/pull/758) by @kleutzinger
|
||||||
|
* [Format note paths](https://github.com/TriliumNext/Notes/pull/759) by @adoriandoran
|
||||||
|
|
||||||
|
* [add remark about UFW issues](https://github.com/TriliumNext/Notes/pull/767) by @pano9000
|
||||||
|
* [Code Block language support for Terraform (HCL)](https://github.com/TriliumNext/Notes/issues/739)
|
||||||
|
|
||||||
|
* [Display the fixed toolbar on multiple lines](https://github.com/TriliumNext/Notes/issues/729) (adjustable in settings)
|
||||||
|
|
||||||
|
* [Hide `internalLink` from `Jump To Note` dialog](https://github.com/TriliumNext/Notes/issues/713)
|
||||||
|
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* [Chinese translation improvements (& some new messages translated)](https://github.com/TriliumNext/Notes/pull/673) by @Nriver
|
||||||
|
* [Add translation for doc notes](https://github.com/TriliumNext/Notes/pull/677) by @Nriver
|
||||||
|
* [Spanish improvements](https://github.com/TriliumNext/Notes/pull/695/files) by @hasecilu
|
||||||
|
* [Traditional Chinese support](https://github.com/TriliumNext/Notes/pull/698) by @dwong33
|
||||||
|
* Translate import toast messages.
|
||||||
|
* Translate hidden notes (including options).
|
||||||
|
* Romanian improvements.
|
||||||
|
* [Brazillian Portuguese](https://github.com/TriliumNext/Notes/pull/740) by @Nertonm work in progress (only server translations for now)
|
||||||
|
|
||||||
|
* Translate note autocomplete.
|
||||||
|
|
||||||
|
|
||||||
|
### ⬆️ Library updates
|
||||||
|
|
||||||
|
* i18next, i18next-http-backend, i18next-fs-backend
|
||||||
|
* force-graph v1.47.0
|
||||||
|
* express 4.2.12
|
||||||
|
* mermaid 11.4.1
|
||||||
|
* axios 1.7.9
|
||||||
|
* katex 0.16.14
|
||||||
|
* https-proxy-agent 7.0.6
|
||||||
|
* better-sqlite3 11.6.0
|
||||||
|
* electron 31.3.1 -> 33.2.1
|
||||||
|
* jimp 0.22.12 -> 1.6.0
|
||||||
|
* mind-elixir 4.3.3
|
||||||
|
* Development tools
|
||||||
|
* electron-forge
|
||||||
|
* Docker Node.js updated to v20.18.1
|
||||||
|
* GitHub Actions workflow actions
|
||||||
|
* webpack v5.97.1
|
||||||
|
* TypeScript + types
|
||||||
|
* yargs
|
||||||
|
* helmet
|
||||||
|
* marked 15.0.3
|
||||||
|
* is-svg 5.1.0
|
||||||
|
* image-type 5.2.0
|
||||||
|
* eslint v9.16.0
|
||||||
|
* jsdom v25.0.1
|
||||||
|
* compression v1.7.5
|
5
docs/Release Notes/Release Notes/v0.91.6.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# v0.91.6
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Full text search not working if there are empty mindmaps](https://github.com/TriliumNext/Notes/issues/1107)
|
||||||
|
* [Shortcut for Clipboard Pasting not working on Mac](https://github.com/TriliumNext/Notes/issues/1087)
|
83
docs/Release Notes/Release Notes/v0.92.0-beta.md
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
# v0.92.0-beta
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* [Trilium can now export notes as PDF directly, on the desktop version.](https://github.com/TriliumNext/Notes/pull/1091)
|
||||||
|
* RPM packages for Linux by @pano9000
|
||||||
|
* [Flatpak packages for Linux](https://github.com/TriliumNext/Notes/pull/1130) (not yet published to FlatHub) by @pano9000
|
||||||
|
* There is now an in-app help that is still work in progress, but it can be triggered by pressing F1. On some note types (e.g. geo map) there is a contextual help button.
|
||||||
|
* Zen Mode (minimal UI). See in-app help for more details.
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [js error Parsing error: The keyword 'const' is reserved](https://github.com/zadam/trilium/issues/4696) by @lly-c232733
|
||||||
|
* [Full Text Search button in quick launch search bar does not work](https://github.com/TriliumNext/Notes/issues/973) by @SiriusXT
|
||||||
|
* An obscure bug when expanding a note with custom sort where some of the notes did not have the attribute would cause notes to jump around.
|
||||||
|
* [Weight Tracker doesn't work on new install](https://github.com/zadam/trilium/issues/4892)
|
||||||
|
* [Markdown export: Fix strikethrough](https://github.com/TriliumNext/Notes/issues/117)
|
||||||
|
* [TypeScript code files are detected as video/mp2t](https://github.com/TriliumNext/Notes/issues/1142) files by @pano9000
|
||||||
|
* disallow text selection in dropdown-menus by @pano9000
|
||||||
|
* [Password window remains after opening encrypted notes](https://github.com/TriliumNext/Notes/issues/1078) by @dousha
|
||||||
|
* [Error when using code blocks in Markdown code notes](https://github.com/TriliumNext/Notes/issues/1164)
|
||||||
|
* [Numbered bullet is different in Note Revision view](https://github.com/TriliumNext/Notes/issues/1177)
|
||||||
|
* Missing `etapi.openapi.yaml`.
|
||||||
|
* [Pressing Enter to "Add link" does not work anymore](https://github.com/TriliumNext/Notes/issues/1100) (thanks to @St0rml)
|
||||||
|
* [Cannot cancel sharing the root note or the root of a workspace when it's hoisted](https://github.com/TriliumNext/Notes/issues/518) by @dousha
|
||||||
|
* [Enabling "Enable background effects" does not properly work with dark themes](https://github.com/TriliumNext/Notes/issues/1209)
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* [Better styling for various widgets (buttons, input boxes) on the TriliumNext theme](https://github.com/TriliumNext/Notes/pull/1074) & various TriliumNext theme improvements by @adoriandoran
|
||||||
|
* System tray icon improvements: translations, new buttons ("New note", “Open today's journal note”, “Bookmarks” and “Recent Notes”), and icons.
|
||||||
|
* Custom Windows installer icon by @Sarah-Hussein
|
||||||
|
* [Geo map: it's now possible to add .gpx notes as children for the map. Look for the help button in the geo map for more information.](https://github.com/TriliumNext/Notes/issues/1095)
|
||||||
|
* Geo map: Enable Retina detection for sharper tiles on supported devices.
|
||||||
|
* Electron: Add "Office" as category for Desktop file by @pano9000
|
||||||
|
* Improvements to the note tooltip, including [making the note title clickable](https://github.com/TriliumNext/Notes/issues/1063).
|
||||||
|
* Render PDFs in full width by default.
|
||||||
|
* allow setting custom cookiePath by @pano9000
|
||||||
|
* [Swagger UI endpoint](https://github.com/TriliumNext/Notes/pull/1144) by @perfectra1n
|
||||||
|
* [Add support for \`mid:\` URI](https://github.com/TriliumNext/Notes/issues/1160)
|
||||||
|
* Raw files can now be served in shared tree by changing the URL instead of setting an attribute to the note. See documentation on Shared Notes in the in-app help (press F1).
|
||||||
|
* [allow setting custom session cookie expiration](https://github.com/TriliumNext/Notes/pull/1156) by @pano9000
|
||||||
|
* [friendly number handling for note erasure timeouts](https://github.com/TriliumNext/Notes/pull/1163) by @pano9000
|
||||||
|
|
||||||
|
## Mobile improvements
|
||||||
|
|
||||||
|
* Configure launch bar now has an always visible tree instead of the sidebar. It's far from perfect, but it should be more usable than the previous implementation.
|
||||||
|
* The note title is now smaller.
|
||||||
|
* Added back a few launcher bar items:
|
||||||
|
* New Note
|
||||||
|
* Calendar
|
||||||
|
* [Open Today's Journal Note](https://github.com/TriliumNext/Notes/issues/1105)
|
||||||
|
* [Recent changes are now available as well as a launch bar item](https://github.com/TriliumNext/Notes/issues/1161).
|
||||||
|
* Fixed switching and dragging tabs not working.
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* Spanish improvements by @hasecilu
|
||||||
|
|
||||||
|
## 🛠️ Technical improvements
|
||||||
|
|
||||||
|
* Remove dependency on `semver`.
|
||||||
|
* Update test dependencies.
|
||||||
|
* make desktop.ejs easier to read by @pano9000
|
||||||
|
* server/utils: add tests and smaller refactors / fixes by @pano9000
|
||||||
|
* refactor: electron forge config by @pano9000
|
||||||
|
* improve server build release file names by @pano9000
|
||||||
|
* Improved the development experience by setting up caches (server & Electron) & auto-reload for Electron
|
||||||
|
* protected\_session: input improvements by @pano9000
|
||||||
|
* remove unused jasmine by @pano9000
|
||||||
|
* update dependency electron to v34.2.0
|
||||||
|
* update dependency prettier to v3.5.1
|
||||||
|
* update dependency mind-elixir to v4.3.7
|
||||||
|
* update dependency marked to v15.0.7
|
||||||
|
* update dependency typedoc to v0.27.7
|
||||||
|
* update dependency compression to v1.8.0
|
||||||
|
* update dependency webpack to v5.98.0
|
||||||
|
* update node.js to v22.14.0
|
||||||
|
* simplify login function and get rid of deprecated usage of expires by @pano9000
|
||||||
|
* Automated OpenAPI spec generation by @FliegendeWurst
|
||||||
|
* remove leftover @types/jasmine by @pano9000
|
||||||
|
* fix and enable ex-flaky tests in services/search.spec.ts by @pano9000
|
||||||
|
* npm scripts namespacing by @pano9000
|
||||||
|
* "unpack" log messages before printing by @pano9000
|
48
docs/Release Notes/Release Notes/v0.92.1-beta.md
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# v0.92.1-beta
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* There are now stricter rules when it comes to importing HTML, where we only allow very few styles (colors, borders, etc.). Should you encounter any issues when importing, try disabling “Safe import” and report any issues you might have.
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Geomap: Viewport and zoom not restored properly when switching between two geomaps.
|
||||||
|
* [Imported Evernote Enex file overlaps Trilium UI](https://github.com/TriliumNext/Notes/issues/931)
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* Web view now renders in browser using an `<iframe>`. It might have a few quirks but it seems to work in basic usecases.
|
||||||
|
* When rendering a File note that contains text, display only a fragment of the text in order to improve UI responsiveness.
|
||||||
|
* [Treat .mdx files as markdown](https://github.com/TriliumNext/Notes/issues/1236)
|
||||||
|
* Calendar view
|
||||||
|
* Customizable calendar entries by @rom1dep
|
||||||
|
* Calendar is now displayed in full height.
|
||||||
|
* Option to hide the weekends.
|
||||||
|
* Icons are now displayed next to events, if one is set.
|
||||||
|
* The calendar is now recursive, as such it will look for calendar notes in the children of its child notes and so on.
|
||||||
|
* Basic integration with day notes, if calendar view is set to a `#calendarRoot` it will now render all the day notes and its children (1-level nesting). See help for more info.
|
||||||
|
* Support for importing UTF-16 LE (such as mails saved as HTML from Outlook) content.
|
||||||
|
* Settings
|
||||||
|
* Friendly numbers protected session timeout by @pano9000
|
||||||
|
* Friendly numbers note revision by @pano9000
|
||||||
|
* Share: [Allow redirecting / to `#shareRoot` if not authenticated](https://github.com/TriliumNext/Notes/pull/1207) by @maphew
|
||||||
|
* In-app-help:
|
||||||
|
* Remove any help notes that are no longer in use.
|
||||||
|
* Restore the icon of help notes.
|
||||||
|
* [Markdown headings are now exported using ATX syntax (`#`) instead of the setext (`------`)](https://github.com/TriliumNext/Notes/issues/1251)
|
||||||
|
* Add TypeScript note type by default by @pano9000
|
||||||
|
* [Geotag: Colorable markers](https://github.com/TriliumNext/Notes/pull/1229) by @McSido
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* German language improvements by @greg1904
|
||||||
|
|
||||||
|
## 🛠️ Technical updates
|
||||||
|
|
||||||
|
* add time selector option widget by @pano9000
|
||||||
|
* update dependency ws to v8.18.1
|
||||||
|
* update dependency typedoc to v0.27.8
|
||||||
|
* update electron-forge monorepo to v7.7.0
|
||||||
|
* update vitest monorepo to v3.0.6
|
||||||
|
* update dependency tsx to v4.19.3
|
||||||
|
* update TypeScript type definitions
|
||||||
|
* time selector add support for handling min required input by @pano9000
|
4
docs/Release Notes/Release Notes/v0.92.2-beta.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# v0.92.2-beta
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Missing Windows ZIP artifact by @pano9000
|
61
docs/Release Notes/Release Notes/v0.92.3-beta.md
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
# v0.92.3-beta
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* [Signed binaries for macOS (thanks to @perfectra1n for the implementation).](https://github.com/TriliumNext/Notes/pull/1267)
|
||||||
|
* Basic support for right-to-left content has been added. See in-app help (F1) for more information.
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Errors occurred when importing some .enex files](https://github.com/TriliumNext/Notes/issues/943)
|
||||||
|
* Error log about sending headers twice when accessing a password-protected share.
|
||||||
|
* Migrations since Trilium 0.60.4 are now working, no more need to update to the latest zadam's Trilium version before migrating to TriliumNext.
|
||||||
|
* [Custom widget position doesn't work](https://github.com/TriliumNext/Notes/issues/1321)
|
||||||
|
* Canvas: Unable to copy-paste elements on the canvas.
|
||||||
|
* Couldn't add external link from add link dialog by @JYC333
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* A task list/to-do list system is on the works.
|
||||||
|
* [Small improvements to Zen Mode](https://github.com/TriliumNext/Notes/pull/1258/files) by @pano9000
|
||||||
|
* Calendar View:
|
||||||
|
* Display promoted attributes (initial implementation by @rom1dep)
|
||||||
|
* Customisable start and end attributes.
|
||||||
|
* Search now focuses automatically on search string
|
||||||
|
* Video file preview:
|
||||||
|
* Display in full-width by default (similar to PDFs)
|
||||||
|
* Match screen size while maintaining aspect ratio (remove the scroll).
|
||||||
|
* Improve display in note list.
|
||||||
|
* Settings: improve ETAPI options page description by @pano9000
|
||||||
|
* Small improvements for printing:
|
||||||
|
* Code blocks are now displayed with word wrapping.
|
||||||
|
* Language tag is hidden if it's “auto-detected”.
|
||||||
|
* Minor improvements to the in-app help (updated documentation, removed suffix from title, image fit).
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* French translation improvements by @Potjoe-97
|
||||||
|
* Romanian translation improvements
|
||||||
|
* Chinese translation improvements by @clsty
|
||||||
|
* Spanish translation improvements by @hasecilu
|
||||||
|
|
||||||
|
## 🛠️ Technical updates
|
||||||
|
|
||||||
|
* bundle bootstrap with webpack by @pano9000
|
||||||
|
* remove unneeded extra arm64 handling by @pano9000
|
||||||
|
* update dependency prettier to v3.5.3
|
||||||
|
* update dependency sass to v1.85.1
|
||||||
|
* update dependency typedoc to v0.27.9
|
||||||
|
* update vitest monorepo to v3.0.7
|
||||||
|
* update dependency chardet to v2.1.0
|
||||||
|
* update dependency mind-elixir to v4.4.1
|
||||||
|
* update dependency axios to v1.8.1
|
||||||
|
* update dependency electron to v34.3.0
|
||||||
|
* update dependency force-graph to v1.49.3
|
||||||
|
* update dependency typescript to v5.8.2
|
||||||
|
* update dependency axios to v1.8.2 \[security\]
|
||||||
|
* Various TypeScript ports by @pano9000 and @JYC333
|
||||||
|
* package.json maintenance by @pano9000
|
||||||
|
* let webpack handle dayjs, split.js and i18next by @pano9000
|
||||||
|
* fix prettier code style issues by @pano9000
|
||||||
|
* add eslint as linter by @pano9000
|
||||||
|
* stop copying dump-db during build by @pano9000
|
260
docs/Release Notes/Release Notes/v0.92.4.md
Normal file
@ -0,0 +1,260 @@
|
|||||||
|
# v0.92.4
|
||||||
|
## New in this stable release
|
||||||
|
|
||||||
|
### 💡 Key highlights
|
||||||
|
|
||||||
|
* Support for admonitions in text notes and Markdown (info box, warning boxes). See documentation for more info.
|
||||||
|
* [Signed binaries for macOS (thanks to @perfectra1n for the implementation).](https://github.com/TriliumNext/Notes/pull/1267)
|
||||||
|
* Basic support for right-to-left content has been added. See in-app help (F1) for more information.
|
||||||
|
* There are now stricter rules when it comes to importing HTML, where we only allow very few styles (colors, borders, etc.). Should you encounter any issues when importing, try disabling “Safe import” and report any issues you might have.
|
||||||
|
* [Trilium can now export notes as PDF directly, on the desktop version.](https://github.com/TriliumNext/Notes/pull/1091)
|
||||||
|
* RPM packages for Linux by @pano9000
|
||||||
|
* [Flatpak packages for Linux](https://github.com/TriliumNext/Notes/pull/1130) (not yet published to FlatHub) by @pano9000
|
||||||
|
* There is now an in-app help that is still work in progress, but it can be triggered by pressing F1. On some note types (e.g. geo map) there is a contextual help button.
|
||||||
|
* Zen Mode (minimal UI). See in-app help for more details.
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Login screen not rendering correctly under dark mode.
|
||||||
|
* [Some valid javascript syntax are highlighted as error](https://github.com/TriliumNext/Notes/issues/1218)
|
||||||
|
* [Clarify misleading message about deleting revisions](https://github.com/TriliumNext/Notes/issues/1308)
|
||||||
|
* [Note creation issues with certain template types](https://github.com/TriliumNext/Notes/issues/357)
|
||||||
|
* [Child note preview: a "broken picture" icon appears for empty canvas notes](https://github.com/TriliumNext/Notes/issues/1378)
|
||||||
|
* [Some note revisions cannot be previewed](https://github.com/TriliumNext/Notes/pull/1392) by @SiriusXT
|
||||||
|
* [Syntax Highlight for Certain Languages Don't Work Under Their Own Labels](https://github.com/TriliumNext/Notes/issues/949)
|
||||||
|
* Markdown import:
|
||||||
|
* Fix duplicate title if title contained special characters.
|
||||||
|
* Unnecessary whitespace when converting to HTML.
|
||||||
|
* Canvas: [Unable to export as image](https://github.com/TriliumNext/Notes/issues/1431).
|
||||||
|
* Fixes missing quotes in the bat files by @pchemguy .
|
||||||
|
* [Highlights List/Table of Contents exit button hides when too small](https://github.com/TriliumNext/Notes/issues/1419)
|
||||||
|
* Zen Mode:
|
||||||
|
* Unable to edit read only notes
|
||||||
|
* [Open note externally does not work on Flatpak builds](https://github.com/TriliumNext/Notes/issues/54)
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Allow light and dark theme as base theme](https://github.com/TriliumNext/Notes/pull/1361)
|
||||||
|
* Export:
|
||||||
|
* Preserve order of attachments.
|
||||||
|
* Use right extension for canvas single export (`.excalidraw`).
|
||||||
|
* Import: Allow importing `.excalidraw` files directly.
|
||||||
|
* Markdown export:
|
||||||
|
* Escape spaces in image URLs for better compatibility.
|
||||||
|
* Set proper language tag for Nginx configuration.
|
||||||
|
* Preserve `<kbd>`.
|
||||||
|
* Text notes now store italic text as `<em>` instead of `<i>` (idempotency with Markdown import/export).
|
||||||
|
* In-app-help: Preview content in note list
|
||||||
|
* [Code blocks: Add support for MIPS Assembly](https://github.com/TriliumNext/Notes/issues/1406)
|
||||||
|
* Text notes: Allow styling text as keyboard shortcut, see documentation
|
||||||
|
* Improvements to Calendar View by @rom1dep :
|
||||||
|
* rename "promotedAttributes" into "displayedAttributes" and permit non-promoted attributes to be displayed
|
||||||
|
* make it so that events with customized `calendar:startDate` and `calendar:endDate` can be drag&dropped on the calendar view
|
||||||
|
* Math: Display mode now can be moved into more places such as lists.
|
||||||
|
|
||||||
|
### 🛠️ Technical updates
|
||||||
|
|
||||||
|
* Updated test dependencies
|
||||||
|
* build: improvements for TS & Webpack & Docker by @pano9000
|
||||||
|
* build: fix/improve server build by @pano9000
|
||||||
|
* update dependency electron to v34.3.2
|
||||||
|
* update dependency typescript-eslint to v8.26.1
|
||||||
|
* stop packing dump-db folder by @pano9000
|
||||||
|
* update dependency autoprefixer to v10.4.21
|
||||||
|
* update dependency happy-dom to v17.4.4
|
||||||
|
* update dependency excalidraw to 0.18.0
|
||||||
|
* update dependency electron to v34.3.3
|
||||||
|
* update dependency axios to v1.8.3
|
||||||
|
* update dependency force-graph to v1.49.4
|
||||||
|
* update dependency i18next to v24.2.3
|
||||||
|
* update dependency mermaid to v11.5.0
|
||||||
|
* update dependency mind-elixir to v4.4.2
|
||||||
|
* update dependency typedoc to v0.28.0
|
||||||
|
* improve electron-forge build process by @pano9000
|
||||||
|
|
||||||
|
## From v0.92.3-beta
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Errors occurred when importing some .enex files](https://github.com/TriliumNext/Notes/issues/943)
|
||||||
|
* Error log about sending headers twice when accessing a password-protected share.
|
||||||
|
* Migrations since Trilium 0.60.4 are now working, no more need to update to the latest zadam's Trilium version before migrating to TriliumNext.
|
||||||
|
* [Custom widget position doesn't work](https://github.com/TriliumNext/Notes/issues/1321)
|
||||||
|
* Canvas: Unable to copy-paste elements on the canvas.
|
||||||
|
* Couldn't add external link from add link dialog by @JYC333
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* A task list/to-do list system is on the works.
|
||||||
|
* [Small improvements to Zen Mode](https://github.com/TriliumNext/Notes/pull/1258/files) by @pano9000
|
||||||
|
* Calendar View:
|
||||||
|
* Display promoted attributes (initial implementation by @rom1dep)
|
||||||
|
* Customisable start and end attributes.
|
||||||
|
* Search now focuses automatically on search string
|
||||||
|
* Video file preview:
|
||||||
|
* Display in full-width by default (similar to PDFs)
|
||||||
|
* Match screen size while maintaining aspect ratio (remove the scroll).
|
||||||
|
* Improve display in note list.
|
||||||
|
* Settings: improve ETAPI options page description by @pano9000
|
||||||
|
* Small improvements for printing:
|
||||||
|
* Code blocks are now displayed with word wrapping.
|
||||||
|
* Language tag is hidden if it's “auto-detected”.
|
||||||
|
* Minor improvements to the in-app help (updated documentation, removed suffix from title, image fit).
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* French translation improvements by @Potjoe-97
|
||||||
|
* Romanian translation improvements
|
||||||
|
* Chinese translation improvements by @clsty
|
||||||
|
* Spanish translation improvements by @hasecilu
|
||||||
|
|
||||||
|
### 🛠️ Technical updates
|
||||||
|
|
||||||
|
* bundle bootstrap with webpack by @pano9000
|
||||||
|
* remove unneeded extra arm64 handling by @pano9000
|
||||||
|
* update dependency prettier to v3.5.3
|
||||||
|
* update dependency sass to v1.85.1
|
||||||
|
* update dependency typedoc to v0.27.9
|
||||||
|
* update vitest monorepo to v3.0.7
|
||||||
|
* update dependency chardet to v2.1.0
|
||||||
|
* update dependency mind-elixir to v4.4.1
|
||||||
|
* update dependency axios to v1.8.1
|
||||||
|
* update dependency electron to v34.3.0
|
||||||
|
* update dependency force-graph to v1.49.3
|
||||||
|
* update dependency typescript to v5.8.2
|
||||||
|
* update dependency axios to v1.8.2 \[security\]
|
||||||
|
* Various TypeScript ports by @pano9000 and @JYC333
|
||||||
|
* package.json maintenance by @pano9000
|
||||||
|
* let webpack handle dayjs, split.js and i18next by @pano9000
|
||||||
|
* fix prettier code style issues by @pano9000
|
||||||
|
* add eslint as linter by @pano9000
|
||||||
|
* stop copying dump-db during build by @pano9000
|
||||||
|
|
||||||
|
## From v0.92.2-beta
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Missing Windows ZIP artifact by @pano9000
|
||||||
|
|
||||||
|
## From v0.92.1-beta
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Geomap: Viewport and zoom not restored properly when switching between two geomaps.
|
||||||
|
* [Imported Evernote Enex file overlaps Trilium UI](https://github.com/TriliumNext/Notes/issues/931)
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* Web view now renders in browser using an `<iframe>`. It might have a few quirks but it seems to work in basic usecases.
|
||||||
|
* When rendering a File note that contains text, display only a fragment of the text in order to improve UI responsiveness.
|
||||||
|
* [Treat .mdx files as markdown](https://github.com/TriliumNext/Notes/issues/1236)
|
||||||
|
* Calendar view
|
||||||
|
* Customizable calendar entries by @rom1dep
|
||||||
|
* Calendar is now displayed in full height.
|
||||||
|
* Option to hide the weekends.
|
||||||
|
* Icons are now displayed next to events, if one is set.
|
||||||
|
* The calendar is now recursive, as such it will look for calendar notes in the children of its child notes and so on.
|
||||||
|
* Basic integration with day notes, if calendar view is set to a `#calendarRoot` it will now render all the day notes and its children (1-level nesting). See help for more info.
|
||||||
|
* Support for importing UTF-16 LE (such as mails saved as HTML from Outlook) content.
|
||||||
|
* Settings
|
||||||
|
* Friendly numbers protected session timeout by @pano9000
|
||||||
|
* Friendly numbers note revision by @pano9000
|
||||||
|
* Share: [Allow redirecting / to `#shareRoot` if not authenticated](https://github.com/TriliumNext/Notes/pull/1207) by @maphew
|
||||||
|
* In-app-help:
|
||||||
|
* Remove any help notes that are no longer in use.
|
||||||
|
* Restore the icon of help notes.
|
||||||
|
* [Markdown headings are now exported using ATX syntax (`#`) instead of the setext (`------`)](https://github.com/TriliumNext/Notes/issues/1251)
|
||||||
|
* Add TypeScript note type by default by @pano9000
|
||||||
|
* [Geotag: Colorable markers](https://github.com/TriliumNext/Notes/pull/1229) by @McSido
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* German language improvements by @greg1904
|
||||||
|
|
||||||
|
### 🛠️ Technical updates
|
||||||
|
|
||||||
|
* add time selector option widget by @pano9000
|
||||||
|
* update dependency ws to v8.18.1
|
||||||
|
* update dependency typedoc to v0.27.8
|
||||||
|
* update electron-forge monorepo to v7.7.0
|
||||||
|
* update vitest monorepo to v3.0.6
|
||||||
|
* update dependency tsx to v4.19.3
|
||||||
|
* update TypeScript type definitions
|
||||||
|
* time selector add support for handling min required input by @pano9000
|
||||||
|
|
||||||
|
## From v0.92.0-beta
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [js error Parsing error: The keyword 'const' is reserved](https://github.com/zadam/trilium/issues/4696) by @lly-c232733
|
||||||
|
* [Full Text Search button in quick launch search bar does not work](https://github.com/TriliumNext/Notes/issues/973) by @SiriusXT
|
||||||
|
* An obscure bug when expanding a note with custom sort where some of the notes did not have the attribute would cause notes to jump around.
|
||||||
|
* [Weight Tracker doesn't work on new install](https://github.com/zadam/trilium/issues/4892)
|
||||||
|
* [Markdown export: Fix strikethrough](https://github.com/TriliumNext/Notes/issues/117)
|
||||||
|
* [TypeScript code files are detected as video/mp2t](https://github.com/TriliumNext/Notes/issues/1142) files by @pano9000
|
||||||
|
* disallow text selection in dropdown-menus by @pano9000
|
||||||
|
* [Password window remains after opening encrypted notes](https://github.com/TriliumNext/Notes/issues/1078) by @dousha
|
||||||
|
* [Error when using code blocks in Markdown code notes](https://github.com/TriliumNext/Notes/issues/1164)
|
||||||
|
* [Numbered bullet is different in Note Revision view](https://github.com/TriliumNext/Notes/issues/1177)
|
||||||
|
* Missing `etapi.openapi.yaml`.
|
||||||
|
* [Pressing Enter to "Add link" does not work anymore](https://github.com/TriliumNext/Notes/issues/1100) (thanks to @St0rml)
|
||||||
|
* [Cannot cancel sharing the root note or the root of a workspace when it's hoisted](https://github.com/TriliumNext/Notes/issues/518) by @dousha
|
||||||
|
* [Enabling "Enable background effects" does not properly work with dark themes](https://github.com/TriliumNext/Notes/issues/1209)
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Better styling for various widgets (buttons, input boxes) on the TriliumNext theme](https://github.com/TriliumNext/Notes/pull/1074) & various TriliumNext theme improvements by @adoriandoran
|
||||||
|
* System tray icon improvements: translations, new buttons ("New note", “Open today's journal note”, “Bookmarks” and “Recent Notes”), and icons.
|
||||||
|
* Custom Windows installer icon by @Sarah-Hussein
|
||||||
|
* [Geo map: it's now possible to add .gpx notes as children for the map. Look for the help button in the geo map for more information.](https://github.com/TriliumNext/Notes/issues/1095)
|
||||||
|
* Geo map: Enable Retina detection for sharper tiles on supported devices.
|
||||||
|
* Electron: Add "Office" as category for Desktop file by @pano9000
|
||||||
|
* Improvements to the note tooltip, including [making the note title clickable](https://github.com/TriliumNext/Notes/issues/1063).
|
||||||
|
* Render PDFs in full width by default.
|
||||||
|
* allow setting custom cookiePath by @pano9000
|
||||||
|
* [Swagger UI endpoint](https://github.com/TriliumNext/Notes/pull/1144) by @perfectra1n
|
||||||
|
* [Add support for \`mid:\` URI](https://github.com/TriliumNext/Notes/issues/1160)
|
||||||
|
* Raw files can now be served in shared tree by changing the URL instead of setting an attribute to the note. See documentation on Shared Notes in the in-app help (press F1).
|
||||||
|
* [allow setting custom session cookie expiration](https://github.com/TriliumNext/Notes/pull/1156) by @pano9000
|
||||||
|
* [friendly number handling for note erasure timeouts](https://github.com/TriliumNext/Notes/pull/1163) by @pano9000
|
||||||
|
|
||||||
|
### Mobile improvements
|
||||||
|
|
||||||
|
* Configure launch bar now has an always visible tree instead of the sidebar. It's far from perfect, but it should be more usable than the previous implementation.
|
||||||
|
* The note title is now smaller.
|
||||||
|
* Added back a few launcher bar items:
|
||||||
|
* New Note
|
||||||
|
* Calendar
|
||||||
|
* [Open Today's Journal Note](https://github.com/TriliumNext/Notes/issues/1105)
|
||||||
|
* [Recent changes are now available as well as a launch bar item](https://github.com/TriliumNext/Notes/issues/1161).
|
||||||
|
* Fixed switching and dragging tabs not working.
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Spanish improvements by @hasecilu
|
||||||
|
|
||||||
|
### 🛠️ Technical improvements
|
||||||
|
|
||||||
|
* Remove dependency on `semver`.
|
||||||
|
* Update test dependencies.
|
||||||
|
* make desktop.ejs easier to read by @pano9000
|
||||||
|
* server/utils: add tests and smaller refactors / fixes by @pano9000
|
||||||
|
* refactor: electron forge config by @pano9000
|
||||||
|
* improve server build release file names by @pano9000
|
||||||
|
* Improved the development experience by setting up caches (server & Electron) & auto-reload for Electron
|
||||||
|
* protected\_session: input improvements by @pano9000
|
||||||
|
* remove unused jasmine by @pano9000
|
||||||
|
* update dependency electron to v34.2.0
|
||||||
|
* update dependency prettier to v3.5.1
|
||||||
|
* update dependency mind-elixir to v4.3.7
|
||||||
|
* update dependency marked to v15.0.7
|
||||||
|
* update dependency typedoc to v0.27.7
|
||||||
|
* update dependency compression to v1.8.0
|
||||||
|
* update dependency webpack to v5.98.0
|
||||||
|
* update node.js to v22.14.0
|
||||||
|
* simplify login function and get rid of deprecated usage of expires by @pano9000
|
||||||
|
* Automated OpenAPI spec generation by @FliegendeWurst
|
||||||
|
* remove leftover @types/jasmine by @pano9000
|
||||||
|
* fix and enable ex-flaky tests in services/search.spec.ts by @pano9000
|
||||||
|
* npm scripts namespacing by @pano9000
|
||||||
|
* "unpack" log messages before printing by @pano9000
|
100
docs/Release Notes/Release Notes/v0.92.5-beta.md
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# v0.92.5-beta
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> The database version has been increased due to the multi-factor authentication mechanism. This means that both the desktop clients and server need to be on this version in order for synchronization to work.
|
||||||
|
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* Windows binaries are now signed, so there will be no more “untrusted application” popups appearing when starting the application for the first time after an update. Many thanks to [deajan](https://github.com/deajan) from NetPerfect for helping us with the EV certificate and the infrastructure.
|
||||||
|
* For the desktop application, it's now possible to set a locale to change the number or date format for places such as promoted attributes.
|
||||||
|
* [Multi-Factor Authentication (Google OAuth and TOTP)](https://github.com/TriliumNext/Notes/pull/401) by @chesspro13 and @jyc333
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Right margin of admonitions
|
||||||
|
* In-app help buttons not working due to them pointing to the wrong notes.
|
||||||
|
* Mind Map: No context menu visible by @pano9000
|
||||||
|
* [Can't navigate up on Mermaid diagrams code](https://github.com/TriliumNext/Notes/issues/282)
|
||||||
|
* [Mermaid diagrams rendered out of viewport](https://github.com/TriliumNext/Notes/issues/474)
|
||||||
|
* [Valid typescript syntax is shown as error](https://github.com/TriliumNext/Notes/issues/1503)
|
||||||
|
* [two desktop entries in Linux](https://github.com/TriliumNext/Notes/issues/1488)
|
||||||
|
* [attribute entry tool-tip obscures at-lookup note matches](https://github.com/TriliumNext/Notes/issues/844)
|
||||||
|
* [Note icon dialog doesn't close if note icon not chosen before moving to another note](https://github.com/TriliumNext/Notes/issues/964)
|
||||||
|
* [Fix tray exception when multiple windows](https://github.com/TriliumNext/Notes/pull/1487)
|
||||||
|
* [Chinese and numbers at the same time will be used on both sides of the number will have a gap increase](https://github.com/TriliumNext/Notes/issues/1327) by @SiriusXT
|
||||||
|
* "Note not found" tooltip for some URLs
|
||||||
|
* [Cannot copy text from included note](https://github.com/TriliumNext/Notes/issues/588)
|
||||||
|
* [Header formatting remains in source note after cut and paste selection to sub-note](https://github.com/TriliumNext/Notes/issues/687)
|
||||||
|
* [Code blocks lost when importing Markdown from clipboard](https://github.com/TriliumNext/Notes/issues/1530)
|
||||||
|
* [Highlights List with Italic text has error when click on it](https://github.com/TriliumNext/Notes/issues/1555)
|
||||||
|
* Incorrect build information for Docker builds.
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* Calendar view:
|
||||||
|
* Events now have a start time and an end time too, not just dates.
|
||||||
|
* Multiple new views: week view (with time), year, list.
|
||||||
|
* Mermaid:
|
||||||
|
* Use better zoom mechanism (quite similar to mermaid.live).
|
||||||
|
* The diagram/code sections are now resizeable.
|
||||||
|
* Now the code/preview split can be optionally displayed with a horizontal split, similar to mermaid.live.
|
||||||
|
* Reduce flicker when editing the diagram.
|
||||||
|
* Improved display of errors.
|
||||||
|
* [Allow for PNG export of diagrams (Mermaid / Mindmap)](https://github.com/TriliumNext/Notes/issues/536)
|
||||||
|
* [Allow hiding of mermaid diagram text](https://github.com/TriliumNext/Notes/issues/922) (via read-only mode).
|
||||||
|
* Improved single file import/export (support for `.mermaid` and `.mmd` extensions).
|
||||||
|
* Markdown export:
|
||||||
|
* Remove `joplin-table-wrapper` on tables exported as HTML.
|
||||||
|
* Code blocks inside a table now renders the table as HTML for compatibility.
|
||||||
|
* In-app help:
|
||||||
|
* Improve the style of code blocks
|
||||||
|
* Mobile view:
|
||||||
|
* Improve content width on tablet portrait mode.
|
||||||
|
* Mind map: Add PNG export.
|
||||||
|
* General improvements to the TriliumNext theme.
|
||||||
|
* Add {isoMonth} month pattern to day notes by @jshprentz
|
||||||
|
* [Note source: disable the ability to change the icon](https://github.com/TriliumNext/Notes/issues/1377)
|
||||||
|
* [Zen Mode: Changed default keyboard shortcut to <kbd>F9</kbd>](https://github.com/TriliumNext/Notes/issues/1372)
|
||||||
|
* Note auto-complete:
|
||||||
|
* Display icons for the notes.
|
||||||
|
* Don't search unless at least three characters are entered for performance reasons.
|
||||||
|
* Backend log
|
||||||
|
* [Allow Word Wrapping](https://github.com/TriliumNext/Notes/issues/1496)
|
||||||
|
* Display refresh button as a floating button to save space.
|
||||||
|
* Markdown import/export: normalize non-breaking spaces
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
* Corrected some examples in calendar view where the `#` or `~` prefix was incorrectly used.
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* Spanish language improvements by @hasecilu
|
||||||
|
|
||||||
|
## 🛠️ Technical updates
|
||||||
|
|
||||||
|
* **TriliumNext is now 100% written in TypeScript, for both the server and the client.**
|
||||||
|
* tsyncserver error gettaddrinfo ENOTFOUND
|
||||||
|
* update dependency sass to v1.86.0
|
||||||
|
* update dependency better-sqlite3 to v11.9.1
|
||||||
|
* update test dependencies
|
||||||
|
* update dependency helmet to v8.1.0
|
||||||
|
* update dependency axios to v1.8.4
|
||||||
|
* update dependency sanitize-html to v2.15.0
|
||||||
|
* update dependency typescript dependencies
|
||||||
|
* update dependency electron to v35.1.2
|
||||||
|
* update dependency multer to v1.4.5-lts.2
|
||||||
|
* update dependency force-graph to v1.49.5
|
||||||
|
* update dependency codemirror to v5.65.19
|
||||||
|
* update dependency eslint-linter-browserify to v9.23.0
|
||||||
|
* update dependency mermaid to v11.6.0
|
||||||
|
* update electron-forge monorepo to v7.8.0
|
||||||
|
* update dependency mime-types to v3
|
||||||
|
* bundle mind-elixir with webpack by @pano9000
|
||||||
|
* update dependency mind-elixir to v4.5.0
|
||||||
|
* TypeScript ports by @JYC333
|
||||||
|
* Improve E2E test stability by @JYC333
|
||||||
|
* chore: fix lint issues in src/share by @pano9000
|
||||||
|
* port copy-trilium.sh cleanup functionality to cross-platform TS by @pano9000
|
||||||
|
* replace prettier with dprint by @pano9000
|
||||||
|
* use webpack for excalidraw by @pano9000
|
||||||
|
* Move library loader to webpack
|
160
docs/Release Notes/Release Notes/v0.92.6.md
Normal file
@ -0,0 +1,160 @@
|
|||||||
|
# v0.92.6
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> The database version has been increased due to the multi-factor authentication mechanism. This means that both the desktop clients and server need to be on this version in order for synchronization to work.
|
||||||
|
|
||||||
|
## New from v0.92.5-beta
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Mermaid export to PNG: fix export error for some diagram types
|
||||||
|
* [Redirect to login works differently with TOTP enabled](https://github.com/TriliumNext/Notes/issues/1580) by @JYC333
|
||||||
|
* [Cannot search for selected text when in ReadOnly mode](https://github.com/TriliumNext/Notes/issues/543) by @pano9000
|
||||||
|
* [PDF export showing title bar buttons](https://github.com/TriliumNext/Notes/issues/1587)
|
||||||
|
* [In-APP help is empty on non-English languages](https://github.com/TriliumNext/Notes/issues/1600#issuecomment-2772337007)
|
||||||
|
* [Fix "Cannot set headers after they are sent" error in logout function](https://github.com/TriliumNext/Notes/pull/1595) by @Nriver
|
||||||
|
* [TOTP Validation Occurs After Password Verification](https://github.com/TriliumNext/Notes/issues/1596) by @Nriver
|
||||||
|
* [Wrong tree selection on launch (last tab instead of active tab)](https://github.com/TriliumNext/Notes/issues/1193)
|
||||||
|
* Empty tabs not properly cleaned at app startup
|
||||||
|
* [Undo/Redo doesn't work on the Mac](https://github.com/TriliumNext/Notes/issues/1538)
|
||||||
|
* Geo-map cut off at first start
|
||||||
|
* `Search in note` sometimes can't be opened
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* [Instructions for moving \[day notes\] for new users](https://github.com/TriliumNext/Notes/issues/46)
|
||||||
|
* Mermaid export to PNG: Improve error handling
|
||||||
|
* [Improve note autocomplete performance for large database](https://github.com/TriliumNext/Notes/pull/1589) by @SiriusXT
|
||||||
|
* [Forced to trigger search after compositionend](https://github.com/TriliumNext/Notes/pull/1598/commits) by @SiriusXT
|
||||||
|
* Improvements to small window sizes on desktop:
|
||||||
|
* Launch bar icons no longer squeeze together.
|
||||||
|
* The launch bar icons are scrollable if they don't fit.
|
||||||
|
* [Set a minimum size to the window](https://github.com/TriliumNext/Notes/issues/994)
|
||||||
|
* Login & set password: configure browser for autocompletion
|
||||||
|
* Launch bar: Display popups at the bottom on horizontal layout
|
||||||
|
* HTML-Markdown cross-compatibility:
|
||||||
|
* Preserve reference links
|
||||||
|
* Preserve image width and height
|
||||||
|
* Preserve figures (images with alignment)
|
||||||
|
* Preserve inline and display math equations
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
* Fixed some broken images in geo map, theme development and mermaid.
|
||||||
|
* Documented the various elements of the ribbon.
|
||||||
|
* Documented tabs and split view.
|
||||||
|
* Quick overview of the options.
|
||||||
|
* Improved the documentation of the note types.
|
||||||
|
* Improved the documentation of read-only notes.
|
||||||
|
* Export to PDF: default application on GNOME.
|
||||||
|
* Documented the File note type.
|
||||||
|
* Advanced documentation:
|
||||||
|
* button use case
|
||||||
|
* Note IDs and collisions.
|
||||||
|
|
||||||
|
### 🛠️ Technical updates
|
||||||
|
|
||||||
|
* Use --link-color as the color of links by @kliu
|
||||||
|
* use eslint for formatting and replace dprint by @pano9000
|
||||||
|
* format .spec files by @pano9000
|
||||||
|
* update dependency electron to v35.1.3
|
||||||
|
* update fullcalendar monorepo to v6.1.17
|
||||||
|
* update jquery.fancytree to v2.38.5
|
||||||
|
|
||||||
|
## From v0.92.5-beta
|
||||||
|
|
||||||
|
### 💡 Key highlights
|
||||||
|
|
||||||
|
* Windows binaries are now signed, so there will be no more “untrusted application” popups appearing when starting the application for the first time after an update. Many thanks to [deajan](https://github.com/deajan) from NetPerfect for helping us with the EV certificate and the infrastructure.
|
||||||
|
* For the desktop application, it's now possible to set a locale to change the number or date format for places such as promoted attributes.
|
||||||
|
* [Multi-Factor Authentication (Google OAuth and TOTP)](https://github.com/TriliumNext/Notes/pull/401) by @chesspro13 and @jyc333
|
||||||
|
|
||||||
|
### 🐞 Bugfixes
|
||||||
|
|
||||||
|
* Right margin of admonitions
|
||||||
|
* In-app help buttons not working due to them pointing to the wrong notes.
|
||||||
|
* Mind Map: No context menu visible by @pano9000
|
||||||
|
* [Can't navigate up on Mermaid diagrams code](https://github.com/TriliumNext/Notes/issues/282)
|
||||||
|
* [Mermaid diagrams rendered out of viewport](https://github.com/TriliumNext/Notes/issues/474)
|
||||||
|
* [Valid typescript syntax is shown as error](https://github.com/TriliumNext/Notes/issues/1503)
|
||||||
|
* [two desktop entries in Linux](https://github.com/TriliumNext/Notes/issues/1488)
|
||||||
|
* [attribute entry tool-tip obscures at-lookup note matches](https://github.com/TriliumNext/Notes/issues/844)
|
||||||
|
* [Note icon dialog doesn't close if note icon not chosen before moving to another note](https://github.com/TriliumNext/Notes/issues/964)
|
||||||
|
* [Fix tray exception when multiple windows](https://github.com/TriliumNext/Notes/pull/1487)
|
||||||
|
* [Chinese and numbers at the same time will be used on both sides of the number will have a gap increase](https://github.com/TriliumNext/Notes/issues/1327) by @SiriusXT
|
||||||
|
* "Note not found" tooltip for some URLs
|
||||||
|
* [Cannot copy text from included note](https://github.com/TriliumNext/Notes/issues/588)
|
||||||
|
* [Header formatting remains in source note after cut and paste selection to sub-note](https://github.com/TriliumNext/Notes/issues/687)
|
||||||
|
* [Code blocks lost when importing Markdown from clipboard](https://github.com/TriliumNext/Notes/issues/1530)
|
||||||
|
* [Highlights List with Italic text has error when click on it](https://github.com/TriliumNext/Notes/issues/1555)
|
||||||
|
* Incorrect build information for Docker builds.
|
||||||
|
|
||||||
|
### ✨ Improvements
|
||||||
|
|
||||||
|
* Calendar view:
|
||||||
|
* Events now have a start time and an end time too, not just dates.
|
||||||
|
* Multiple new views: week view (with time), year, list.
|
||||||
|
* Mermaid:
|
||||||
|
* Use better zoom mechanism (quite similar to mermaid.live).
|
||||||
|
* The diagram/code sections are now resizeable.
|
||||||
|
* Now the code/preview split can be optionally displayed with a horizontal split, similar to mermaid.live.
|
||||||
|
* Reduce flicker when editing the diagram.
|
||||||
|
* Improved display of errors.
|
||||||
|
* [Allow for PNG export of diagrams (Mermaid / Mindmap)](https://github.com/TriliumNext/Notes/issues/536)
|
||||||
|
* [Allow hiding of mermaid diagram text](https://github.com/TriliumNext/Notes/issues/922) (via read-only mode).
|
||||||
|
* Improved single file import/export (support for `.mermaid` and `.mmd` extensions).
|
||||||
|
* Markdown export:
|
||||||
|
* Remove `joplin-table-wrapper` on tables exported as HTML.
|
||||||
|
* Code blocks inside a table now renders the table as HTML for compatibility.
|
||||||
|
* In-app help:
|
||||||
|
* Improve the style of code blocks
|
||||||
|
* Mobile view:
|
||||||
|
* Improve content width on tablet portrait mode.
|
||||||
|
* Mind map: Add PNG export.
|
||||||
|
* General improvements to the TriliumNext theme.
|
||||||
|
* Add {isoMonth} month pattern to day notes by @jshprentz
|
||||||
|
* [Note source: disable the ability to change the icon](https://github.com/TriliumNext/Notes/issues/1377)
|
||||||
|
* [Zen Mode: Changed default keyboard shortcut to <kbd>F9</kbd>](https://github.com/TriliumNext/Notes/issues/1372)
|
||||||
|
* Note auto-complete:
|
||||||
|
* Display icons for the notes.
|
||||||
|
* Don't search unless at least three characters are entered for performance reasons.
|
||||||
|
* Backend log
|
||||||
|
* [Allow Word Wrapping](https://github.com/TriliumNext/Notes/issues/1496)
|
||||||
|
* Display refresh button as a floating button to save space.
|
||||||
|
* Markdown import/export: normalize non-breaking spaces
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
* Corrected some examples in calendar view where the `#` or `~` prefix was incorrectly used.
|
||||||
|
|
||||||
|
### 🌍 Internationalization
|
||||||
|
|
||||||
|
* Spanish language improvements by @hasecilu
|
||||||
|
|
||||||
|
### 🛠️ Technical updates
|
||||||
|
|
||||||
|
* **TriliumNext is now 100% written in TypeScript, for both the server and the client.**
|
||||||
|
* tsyncserver error gettaddrinfo ENOTFOUND
|
||||||
|
* update dependency sass to v1.86.0
|
||||||
|
* update dependency better-sqlite3 to v11.9.1
|
||||||
|
* update test dependencies
|
||||||
|
* update dependency helmet to v8.1.0
|
||||||
|
* update dependency axios to v1.8.4
|
||||||
|
* update dependency sanitize-html to v2.15.0
|
||||||
|
* update dependency typescript dependencies
|
||||||
|
* update dependency electron to v35.1.2
|
||||||
|
* update dependency multer to v1.4.5-lts.2
|
||||||
|
* update dependency force-graph to v1.49.5
|
||||||
|
* update dependency codemirror to v5.65.19
|
||||||
|
* update dependency eslint-linter-browserify to v9.23.0
|
||||||
|
* update dependency mermaid to v11.6.0
|
||||||
|
* update electron-forge monorepo to v7.8.0
|
||||||
|
* update dependency mime-types to v3
|
||||||
|
* bundle mind-elixir with webpack by @pano9000
|
||||||
|
* update dependency mind-elixir to v4.5.0
|
||||||
|
* TypeScript ports by @JYC333
|
||||||
|
* Improve E2E test stability by @JYC333
|
||||||
|
* chore: fix lint issues in src/share by @pano9000
|
||||||
|
* port copy-trilium.sh cleanup functionality to cross-platform TS by @pano9000
|
||||||
|
* replace prettier with dprint by @pano9000
|
||||||
|
* use webpack for excalidraw by @pano9000
|
||||||
|
* Move library loader to webpack
|
39
docs/Release Notes/Release Notes/v0.92.7.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# v0.92.7
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> If you enjoyed this release, consider showing a token of appreciation by:
|
||||||
|
>
|
||||||
|
> * Pressing the “Star” button on [GitHub](https://github.com/TriliumNext/Notes) (top-right).
|
||||||
|
> * Considering a one-time or recurrent donation to the lead developer via [GitHub Sponsors](https://github.com/sponsors/eliandoran) or [PayPal](https://paypal.me/eliandoran).
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* [Quick search not working on horizontal layout](https://github.com/TriliumNext/Notes/issues/1647)
|
||||||
|
* [Launch bar has a right shift except in default theme](https://github.com/TriliumNext/Notes/issues/1646)
|
||||||
|
* Options/Appearance: Checking “Override theme fonts” not showing the “Fonts” section immediately (only after a refresh).
|
||||||
|
* [Code Syntax Highlighting Not Persisting after navigating back to Note (highlight.js)](https://github.com/TriliumNext/Notes/issues/1609)
|
||||||
|
* [The syntax highlighting of code blocks is broken for imported notes](https://github.com/TriliumNext/Notes/issues/843)
|
||||||
|
* [Export equations into Katex instead of latex](https://github.com/TriliumNext/Notes/issues/1649)
|
||||||
|
* Duplicating note subtree escapes special characters
|
||||||
|
* [Internal Note links not working in User Guide](https://github.com/TriliumNext/Notes/issues/1643)
|
||||||
|
* [Mobile detection when auth disabled not working](https://github.com/TriliumNext/Notes/issues/1660)
|
||||||
|
* [Format bar placement obscures the bottom bar](https://github.com/TriliumNext/Notes/issues/1121)
|
||||||
|
* [On mobile, format bar scrolls when should remain static position above keyboard](https://github.com/TriliumNext/Notes/issues/1513)
|
||||||
|
* ["Error: Option 'redirectBareDomain' doesn't exist" on new installations](https://github.com/TriliumNext/Notes/pull/1668) by @pano9000
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* Calendar View: Improve display of calendar items with hours
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
|
* Reorganized and improved the documentation for scripting notes.
|
||||||
|
* Documented table of contents, highlights list and the right sidebar.
|
||||||
|
* Improved documentation for attributes (labels & relations), as well as the list of all attributes.
|
||||||
|
* Documented the hidden tree.
|
||||||
|
* Documented the note contextual menu.
|
||||||
|
* Documented various dialogs such as recent changes or bulk actions.
|
||||||
|
|
||||||
|
## 🛠️ Technical updates
|
||||||
|
|
||||||
|
* Use eslint simple-import-sort plugin to enable auto fix by @JYC333
|
||||||
|
* use type variable for sql.transactional's return value by @pano9000
|
20
docs/Release Notes/Release Notes/v0.92.8-beta.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# v0.92.8-beta
|
||||||
|
## 💡 Key highlights
|
||||||
|
|
||||||
|
* …
|
||||||
|
|
||||||
|
## 🐞 Bugfixes
|
||||||
|
|
||||||
|
* ….
|
||||||
|
|
||||||
|
## ✨ Improvements
|
||||||
|
|
||||||
|
* Add week note and quarter note support by @JYC333
|
||||||
|
|
||||||
|
## 🌍 Internationalization
|
||||||
|
|
||||||
|
* …
|
||||||
|
|
||||||
|
## 🛠️ Technical updates
|
||||||
|
|
||||||
|
* upgrade to express 5.1.0 by @pano9000
|
@ -13,10 +13,14 @@ This pattern works well also because of [Cloning Notes](../../Basic%20Concepts%2
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
You can see the structure of day notes appearing under "Journal" note - there's a note for the whole year 2017, under it, you have "12 - December" which then contains "18 - Monday". This is our "day note" which contains some text in its content and also has some child notes (some of them are from [Task manager](Task%20Manager.md)).
|
You can see the structure of day notes appearing under "Journal" note - there's a note for the whole year 2025, under it, you have "03 - March" which then contains "09 - Monday". This is our "day note" which contains some text in its content and also has some child notes (some of them are from [Task manager](Task%20Manager.md)).
|
||||||
|
|
||||||
You can also notice how this day note has [promoted attribute](../Attributes/Promoted%20Attributes.md) "weight" where you can track your daily weight. This data is then used in [Weight tracker](Weight%20Tracker.md).
|
You can also notice how this day note has [promoted attribute](../Attributes/Promoted%20Attributes.md) "weight" where you can track your daily weight. This data is then used in [Weight tracker](Weight%20Tracker.md).
|
||||||
|
|
||||||
|
## Week Note and Quarter Note
|
||||||
|
|
||||||
|
Week and quarter notes are disabled by default, since it might be too much for some people. To enable them, you need to set `#enableWeekNotes` and `#enableQuarterNotes` attributes on the root calendar note, which is identified by `#calendarRoot` label. Week note is affected by the first week of year option. Be careful when you already have some week notes created, it will not automatically change the existing week notes and might lead to some duplicates.
|
||||||
|
|
||||||
## Templates
|
## Templates
|
||||||
|
|
||||||
Trilium provides [template](../Templates.md) functionality, and it could be used together with day notes.
|
Trilium provides [template](../Templates.md) functionality, and it could be used together with day notes.
|
||||||
@ -24,26 +28,48 @@ Trilium provides [template](../Templates.md) functionality, and it could be used
|
|||||||
You can define one of the following relations on the root of the journal (identified by `#calendarRoot` label):
|
You can define one of the following relations on the root of the journal (identified by `#calendarRoot` label):
|
||||||
|
|
||||||
* yearTemplate
|
* yearTemplate
|
||||||
|
* quarterTemplate (if `#enableQuarterNotes` is set)
|
||||||
* monthTemplate
|
* monthTemplate
|
||||||
|
* weekTemplate (if `#enableWeekNotes` is set)
|
||||||
* dateTemplate
|
* dateTemplate
|
||||||
|
|
||||||
All of these are relations. When Trilium creates a new note for year or month or date, it will take a look at the root and attach a corresponding `~template` relation to the newly created role. Using this, you can e.g. create your daily template with e.g. checkboxes for daily routine etc.
|
All of these are relations. When Trilium creates a new note for year or month or date, it will take a look at the root and attach a corresponding `~template` relation to the newly created role. Using this, you can e.g. create your daily template with e.g. checkboxes for daily routine etc.
|
||||||
|
|
||||||
## Date pattern
|
## Naming pattern
|
||||||
|
|
||||||
It's possible to customize the title of generated date notes by defining a `#datePattern` label on a root calendar note (identified by `#calendarRoot` label). Following are possible values:
|
You can customize the title of generated journal notes by defining a `#datePattern`, `#weekPattern`, `#monthPattern`, `#quarterPattern` and `#yearPattern` attribute on a root calendar note (identified by `#calendarRoot` label). The naming pattern replacements follow a level-up compatibility - each level can use replacements from itself and all levels above it. For example, `#monthPattern` can use month, quarter and year replacements, while `#weekPattern` can use week, month, quarter and year replacements. But it is not possible to use week replacements in `#monthPattern`.
|
||||||
|
|
||||||
* `{dayInMonthPadded} - {weekDay}` day notes are named e.g. "24 - Monday"
|
### Date pattern
|
||||||
* `{dayInMonthPadded}: {weekDay3}` day notes are named e.g. "24: Mon"
|
|
||||||
* `{dayInMonthPadded}: {weekDay2}` day notes are named e.g. "24: Mo"
|
It's possible to customize the title of generated date notes by defining a `#datePattern` attribute on a root calendar note (identified by `#calendarRoot` label). Following are possible values:
|
||||||
* `{isoDate} - {weekDay}` day notes are named e.g. "2020-12-24 - Monday"
|
|
||||||
|
* `{isoDate}` results in an ISO 8061 formatted date (e.g. "2025-03-09" for March 9, 2025)
|
||||||
|
* `{dateNumber}` results in a number like `9` for the 9th day of the month, `11` for the 11th day of the month
|
||||||
|
* `{dateNumberPadded}` results in a number like `09` for the 9th day of the month, `11` for the 11th day of the month
|
||||||
* `{ordinal}` is replaced with the ordinal date (e.g. 1st, 2nd, 3rd) etc.
|
* `{ordinal}` is replaced with the ordinal date (e.g. 1st, 2nd, 3rd) etc.
|
||||||
|
* `{weekDay}` results in the full day name (e.g. `Monday`)
|
||||||
|
* `{weekDay3}` is replaced with the first 3 letters of the day, e.g. Mon, Tue, etc.
|
||||||
|
* `{weekDay2}` is replaced with the first 2 letters of the day, e.g. Mo, Tu, etc.
|
||||||
|
|
||||||
## Month pattern
|
The default is `{dateNumberPadded} - {weekDay}`
|
||||||
|
|
||||||
It is also possible to customize the title of generated month notes through the `#monthPattern` attribute, much like `#datePattern`. The options are:
|
### Week pattern
|
||||||
|
|
||||||
|
It is also possible to customize the title of generated week notes through the `#weekPattern` attribute on the root calendar note. The options are:
|
||||||
|
|
||||||
|
* `{weekNumber}` results in a number like `9` for the 9th week of the year, `11` for the 11th week of the year
|
||||||
|
* `{weekNumberPadded}` results in a number like `09` for the 9th week of the year, `11` for the 11th week of the year
|
||||||
|
* `{shortWeek}` results in a short week string like `W9` for the 9th week of the year, `W11` for the 11th week of the year
|
||||||
|
* `{shortWeek3}` results in a short week string like `W09` for the 9th week of the year, `W11` for the 11th week of the year
|
||||||
|
|
||||||
|
The default is `Week {weekNumber}`
|
||||||
|
|
||||||
|
### Month pattern
|
||||||
|
|
||||||
|
It is also possible to customize the title of generated month notes through the `#monthPattern` attribute on the root calendar note. The options are:
|
||||||
|
|
||||||
* `{isoMonth}` results in an ISO 8061 formatted month (e.g. "2025-03" for March 2025)
|
* `{isoMonth}` results in an ISO 8061 formatted month (e.g. "2025-03" for March 2025)
|
||||||
|
* `{monthNumber}` results in a number like `9` for September, and `11` for November
|
||||||
* `{monthNumberPadded}` results in a number like `09` for September, and `11` for November
|
* `{monthNumberPadded}` results in a number like `09` for September, and `11` for November
|
||||||
* `{month}` results in the full month name (e.g. `September` or `October`)
|
* `{month}` results in the full month name (e.g. `September` or `October`)
|
||||||
* `{shortMonth3}` is replaced with the first 3 letters of the month, e.g. Jan, Feb, etc.
|
* `{shortMonth3}` is replaced with the first 3 letters of the month, e.g. Jan, Feb, etc.
|
||||||
@ -51,10 +77,27 @@ It is also possible to customize the title of generated month notes through the
|
|||||||
|
|
||||||
The default is `{monthNumberPadded} - {month}`
|
The default is `{monthNumberPadded} - {month}`
|
||||||
|
|
||||||
|
### Quarter pattern
|
||||||
|
|
||||||
|
It is also possible to customize the title of generated quarter notes through the `#quarterPattern` attribute on the root calendar note. The options are:
|
||||||
|
|
||||||
|
* `{quarterNumber}` results in a number like `1` for the 1st quarter of the year
|
||||||
|
* `{shortQuarter}` results in a short quarter string like `Q1` for the 1st quarter of the year
|
||||||
|
|
||||||
|
The default is `Quarter {quarterNumber}`
|
||||||
|
|
||||||
|
### Year pattern
|
||||||
|
|
||||||
|
It is also possible to customize the title of generated year notes through the `#yearPattern` attribute on the root calendar note. The options are:
|
||||||
|
|
||||||
|
* `{year}` results in the full year (e.g. `2025`)
|
||||||
|
|
||||||
|
The default is `{year}`
|
||||||
|
|
||||||
## Implementation
|
## Implementation
|
||||||
|
|
||||||
Trilium has some special support for day notes in the form of [backend Script API](https://triliumnext.github.io/Notes/backend_api/BackendScriptApi.html) - see e.g. getDayNote() function.
|
Trilium has some special support for day notes in the form of [backend Script API](https://triliumnext.github.io/Notes/backend_api/BackendScriptApi.html) - see e.g. getDayNote() function.
|
||||||
|
|
||||||
Day (and year, month) notes are created with a label - e.g. `#dateNote="2018-08-16"` this can then be used by other scripts to add new notes to day note etc.
|
Day (and year, month) notes are created with a label - e.g. `#dateNote="2025-03-09"` this can then be used by other scripts to add new notes to day note etc.
|
||||||
|
|
||||||
Journal also has relation `child:child:child:template=Day template` (see \[\[attribute inheritance\]\]) which effectively adds \[\[template\]\] to day notes (grand-grand-grand children of Journal).
|
Journal also has relation `child:child:child:template=Day template` (see \[\[attribute inheritance\]\]) which effectively adds \[\[template\]\] to day notes (grand-grand-grand children of Journal). Please note that, when you enable week notes or quarter notes, it will not automatically change the relation for the child level.
|
@ -15,7 +15,7 @@ New tasks are created in the TODO note which has `~child:template` [relation](..
|
|||||||
|
|
||||||
### Attributes
|
### Attributes
|
||||||
|
|
||||||
Task template defines several [promoted attributes](../Attributes/Promoted%20Attributes.md) - todoDate, doneDate, tags, location. Importantly it also defines `~runOnAttributeChange` relation - [event](../../Note%20Types/Code/Events.md) handler which is run on attribute change. This [script](../../Scripting.md) handles when e.g. we fill out the doneDate attribute - meaning the task is done and should be moved to "Done" note and removed from TODO, locations and tags.
|
Task template defines several [promoted attributes](../Attributes/Promoted%20Attributes.md) - todoDate, doneDate, tags, location. Importantly it also defines `~runOnAttributeChange` relation - [event](../../Scripting/Events.md) handler which is run on attribute change. This [script](../../Scripting.md) handles when e.g. we fill out the doneDate attribute - meaning the task is done and should be moved to "Done" note and removed from TODO, locations and tags.
|
||||||
|
|
||||||
### New task button
|
### New task button
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Weight Tracker
|
# Weight Tracker
|
||||||

|

|
||||||
|
|
||||||
The `Weight Tracker` is a [Script API](../../Note%20Types/Code/Script%20API.md) showcase present in the [demo notes](../Database.md).
|
The `Weight Tracker` is a [Script API](../../Scripting/Script%20API.md) showcase present in the [demo notes](../Database.md).
|
||||||
|
|
||||||
By adding `weight` as a [promoted attribute](../Attributes/Promoted%20Attributes.md) in the [template](../Templates.md) from which [day notes](Day%20Notes.md) are created, you can aggregate the data and plot weight change over time.
|
By adding `weight` as a [promoted attribute](../Attributes/Promoted%20Attributes.md) in the [template](../Templates.md) from which [day notes](Day%20Notes.md) are created, you can aggregate the data and plot weight change over time.
|
||||||
|
|
||||||
|
@ -1,77 +1,28 @@
|
|||||||
# Attributes
|
# Attributes
|
||||||
|
<figure class="image"><img style="aspect-ratio:1071/146;" src="Attributes_image.png" width="1071" height="146"></figure>
|
||||||
|
|
||||||
In Trilium, attributes are key-value pairs assigned to notes, providing additional metadata or functionality. There are two primary types of attributes:
|
In Trilium, attributes are key-value pairs assigned to notes, providing additional metadata or functionality. There are two primary types of attributes:
|
||||||
|
|
||||||
1. **Labels**: Simple key-value text records
|
1. <a class="reference-link" href="Attributes/Labels.md">Labels</a> can be used for a variety of purposes, such as storing metadata or configuring the behaviour of notes. Labels are also searchable, enhancing note retrieval.
|
||||||
2. **Relations**: Named links to other notes
|
|
||||||
|
For more information, including predefined labels, see <a class="reference-link" href="Attributes/Labels.md">Labels</a>.
|
||||||
|
|
||||||
|
2. <a class="reference-link" href="Attributes/Relations.md">Relations</a> define connections between notes, similar to links. These can be used for metadata and scripting purposes.
|
||||||
|
|
||||||
|
For more information, including a list of predefined relations, see <a class="reference-link" href="Attributes/Relations.md">Relations</a>.
|
||||||
|
|
||||||
|
|
||||||
These attributes play a crucial role in organizing, categorising, and enhancing the functionality of notes.
|
These attributes play a crucial role in organizing, categorising, and enhancing the functionality of notes.
|
||||||
|
|
||||||

|
## Viewing the list of attributes
|
||||||
|
|
||||||
## Labels
|
Both the labels and relations for the current note are displayed in the _Owned Attributes_ section of the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.md">Ribbon</a>, where they can be viewed and edited. Inherited attributes are displayed in the _Inherited Attributes_ section of the ribbon, where they can only be viewed.
|
||||||
|
|
||||||
Labels in Trilium can be used for a variety of purposes:
|
In the list of attributes, labels are prefixed with the `#` character whereas relations are prefixed with the `~` character.
|
||||||
|
|
||||||
* **Metadata**: Assign labels with optional values for categorization, such as `#year=1999`, `#genre="sci-fi"`, or `#author="Neal Stephenson"`
|
|
||||||
* **Configuration**: Labels can configure advanced features or settings
|
|
||||||
* **Scripts and Plugins**: Used to tag notes with special metadata, such as the "weight" attribute in the <a class="reference-link" href="Advanced%20Showcases/Weight%20Tracker.md">Weight Tracker</a>.
|
|
||||||
|
|
||||||
Labels are also searchable, enhancing note retrieval.
|
|
||||||
|
|
||||||
### Common Labels for Advanced Configuration
|
|
||||||
|
|
||||||
* `disableVersioning`: Disables automatic versioning, ideal for large, unimportant notes like script libraries
|
|
||||||
* `versioningLimit`: Used to limit the number of revisions for a single note
|
|
||||||
* `calendarRoot`: Marks the note as the root for [day notes](Advanced%20Showcases/Day%20Notes.md). Only one note should carry this label
|
|
||||||
* `archived`: Hides notes from default search results and dialogs
|
|
||||||
* `excludeFromExport`: Excludes notes and their subtrees from export operations
|
|
||||||
* `run`: Specifies events to trigger scripts (e.g., `frontendStartup`, `hourly`)
|
|
||||||
* `runAtHour`: Defines specific hours for scripts to run, used with `#run=hourly`
|
|
||||||
* `disableInclusion`: Prevents a script from being included in parent script executions
|
|
||||||
* `sorted`: Automatically sorts child notes alphabetically by title
|
|
||||||
* `top`: Keeps the note at the top of its parent's list, useful with `sorted`
|
|
||||||
* `hidePromotedAttributes`: Hides certain attributes in the note's display
|
|
||||||
* `readOnly`: Sets the note to read-only mode, applicable to text and code notes
|
|
||||||
* `autoReadOnlyDisabled`: Disables automatic read-only mode for large notes
|
|
||||||
* `appCss`: Marks CSS notes used to modify Trilium’s appearance
|
|
||||||
* `appTheme`: Marks full CSS themes available in Trilium's options
|
|
||||||
* `cssClass`: Adds a CSS class to the note's representation in the tree
|
|
||||||
* `iconClass`: Adds a CSS class to the note's icon, useful for distinguishing notes visually. See <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Notes/Note%20Icons.md">Note Icons</a>.
|
|
||||||
* `pageSize`: Specifies the number of items per page in note listings
|
|
||||||
* `customRequestHandler` **and** `customResourceProvider`: Refer to <a class="reference-link" href="Custom%20Request%20Handler.md">Custom Request Handler</a>
|
|
||||||
* `widget`: Marks a note as a custom widget, added to Trilium's component tree
|
|
||||||
* `workspace` **and related attributes**: See <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Navigation/Workspace.md">Workspace</a> for more details
|
|
||||||
* `searchHome`: Specifies the parent for new search notes
|
|
||||||
* `inbox`: Designates a default location for new notes created via the sidebar
|
|
||||||
* `sqlConsoleHome`: Default location for SQL console notes
|
|
||||||
* `bookmarked` **and** `bookmarkFolder`: See <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.md">Bookmarks</a>
|
|
||||||
* `share:[…]`: See <a class="reference-link" href="Sharing.md">Sharing</a>
|
|
||||||
* `keyboardShortcut`: Assigns a keyboard shortcut to open the note
|
|
||||||
* `displayRelations` **and** `hideRelations`: Manages the display of note relations
|
|
||||||
* `titleTemplate`: See <a class="reference-link" href="Default%20Note%20Title.md">Default Note Title</a>
|
|
||||||
* `template`: Makes the note available as a template
|
|
||||||
* `toc`: Controls the visibility of the table of contents
|
|
||||||
* `color`: Defines the color of the note in the tree and links
|
|
||||||
* `hideChildrenOverview`: Hides child notes in the parent note's editor
|
|
||||||
* `viewType`: Sets the view of child notes (grid or list)
|
|
||||||
|
|
||||||
## Relations
|
|
||||||
|
|
||||||
Relations define connections between notes, similar to links.
|
|
||||||
|
|
||||||
### Uses
|
|
||||||
|
|
||||||
* **Metadata Relationships**: For example, linking a book note to an author note
|
|
||||||
* **Scripting**: Attaching scripts to events or conditions related to the note
|
|
||||||
|
|
||||||
### Common Relations
|
|
||||||
|
|
||||||
* **Event-based Relations**: Such as `runOnNoteCreation` or `runOnNoteChange`, which trigger scripts on specific actions
|
|
||||||
* **Other Relations**: Include `template`, `renderNote`, `widget`, and sharing-related relations
|
|
||||||
|
|
||||||
## Multiplicity
|
## Multiplicity
|
||||||
|
|
||||||
Attributes in Trilium can be "multivalued", meaning multiple attributes with the same name can coexist.
|
Attributes in Trilium can be "multi-valued", meaning multiple attributes with the same name can co-exist.
|
||||||
|
|
||||||
## Attribute Definitions and Promoted Attributes
|
## Attribute Definitions and Promoted Attributes
|
||||||
|
|
||||||
|
@ -1,25 +1,38 @@
|
|||||||
# Attribute Inheritance
|
# Attribute Inheritance
|
||||||
## 1\. Standard Inheritance
|
Inheritance refers to the process of having a [label](Labels.md) or a [relation](Relations.md) shared across multiple notes, generally in parent-child relations (or anywhere if using templates).
|
||||||
|
|
||||||
|
## Standard Inheritance
|
||||||
|
|
||||||
In Trilium, attributes can be automatically inherited by child notes if they have the `isInheritable` flag set to `true`. This means the attribute (a key-value pair) is applied to the note and all its descendants.
|
In Trilium, attributes can be automatically inherited by child notes if they have the `isInheritable` flag set to `true`. This means the attribute (a key-value pair) is applied to the note and all its descendants.
|
||||||
|
|
||||||
### Example Use Case
|
To make an attribute inheritable, simply use the visual editor for <a class="reference-link" href="Labels.md">Labels</a> or <a class="reference-link" href="Relations.md">Relations</a>. Alternatively, the attribute can be manually defined where `#myLabel=value` becomes `#myLabel(inheritable)=value` when inheritable.
|
||||||
|
|
||||||
The `archived` label can be set to be inheritable, allowing you to hide a whole subtree of notes from searches and other dialogs by applying this label at the top level.
|
As an example, the `archived` label can be set to be inheritable, allowing you to hide a whole subtree of notes from searches and other dialogs by applying this label at the top level.
|
||||||
|
|
||||||
## 2\. Copying Inheritance
|
Standard inheritance forces all the notes that are children (and sub-children) of a note to have that particular label or relation. If there is a need to have some notes not inherit one of the labels, then _copying inheritance_ or _template inheritance_ needs to be used instead.
|
||||||
|
|
||||||
|
## Copying Inheritance
|
||||||
|
|
||||||
Copying inheritance differs from standard inheritance by using a `child:` prefix in the attribute name. This prefix causes new child notes to automatically receive specific attributes from the parent note. These attributes are independent of the parent and will persist even if the note is moved elsewhere.
|
Copying inheritance differs from standard inheritance by using a `child:` prefix in the attribute name. This prefix causes new child notes to automatically receive specific attributes from the parent note. These attributes are independent of the parent and will persist even if the note is moved elsewhere.
|
||||||
|
|
||||||
### How to Use
|
If a parent note has the label `#child:exampleAttribute`, all newly created child notes (one level deep) will inherit the `#exampleAttribute` label. This can be useful for setting default properties for notes in a specific section.
|
||||||
|
|
||||||
* **Syntax:** `#child:attributeName`
|
Similarly, for relations use `~child:myRelation`.
|
||||||
* **Chained Inheritance:** You can chain this inheritance, such as `#child:child:attributeName`, where each child down the hierarchy receives the appropriate attribute.
|
|
||||||
|
|
||||||
### Example
|
Due to the way it's designed, copying inheritance cannot be used to cascade infinitely within a hierarchy. For that use case, consider using either standard inheritance or templates.
|
||||||
|
|
||||||
If a parent note has the label `#child:exampleAttribute`, all newly created child notes will inherit the `#exampleAttribute` label. This can be useful for setting default properties for notes in a specific section.
|
### Chained inheritance
|
||||||
|
|
||||||
## 3\. Template Inheritance
|
It is possible to define labels across multiple levels of depth. For example, `#child:child:child:foo` applied to a root note would create:
|
||||||
|
|
||||||
Attributes can also be inherited from [templates](../Templates.md). When a new note is created using a template, it inherits the attributes defined in that template. This is particularly useful for maintaining consistency across notes that follow a similar structure or function.
|
* `#child:child:foo` on the first-level children.
|
||||||
|
* `#child:foo` on the second-level children.
|
||||||
|
* `#foo` on the third-level children.
|
||||||
|
|
||||||
|
Similarly, use `~child:child:child:foo` if dealing with relations.
|
||||||
|
|
||||||
|
Do note that same as simple copying inheritance, the changes will not apply retroactively to existing notes in the hierarchy, it will only apply to the newly created notes.
|
||||||
|
|
||||||
|
## Template Inheritance
|
||||||
|
|
||||||
|
Attributes can also be inherited from <a class="reference-link" href="../Templates.md">Templates</a>. When a new note is created using a template, it inherits the attributes defined in that template. This is particularly useful for maintaining consistency across notes that follow a similar structure or function.
|
@ -0,0 +1,44 @@
|
|||||||
|
# Relations
|
||||||
|
A relation is similar to a [label](Labels.md), but instead of having a text value it refers to another note.
|
||||||
|
|
||||||
|
## Common use cases
|
||||||
|
|
||||||
|
* **Metadata Relationships for personal use**: For example, linking a book note to an author note.
|
||||||
|
This can be combined with <a class="reference-link" href="Promoted%20Attributes.md">Promoted Attributes</a> to make their display more user-friendly.
|
||||||
|
* **Configuration**: For configuring some notes such as <a class="reference-link" href="../../Note%20Types/Render%20Note.md">Render Note</a>, or configuring <a class="reference-link" href="../Sharing.md">Sharing</a> or <a class="reference-link" href="../Templates.md">Templates</a> (see the list below).
|
||||||
|
* **Scripting**: Attaching scripts to events or conditions related to the note.
|
||||||
|
|
||||||
|
## Creating a relation using the visual editor
|
||||||
|
|
||||||
|
1. Go to the _Owned Attributes_ section in the <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.md">Ribbon</a>.
|
||||||
|
2. Press the + button (_Add new attribute_) to the right.
|
||||||
|
3. Select _Add new relation_ for the relation.
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> If you prefer keyboard shortcuts, press <kbd>Alt</kbd>+<kbd>L</kbd> while focused on a note or in the _Owned Attributes_ section to display the visual editor.
|
||||||
|
|
||||||
|
While in the visual editor:
|
||||||
|
|
||||||
|
* Set the desired name
|
||||||
|
* Set the Target note (the note to point to). Unlike labels, relations cannot exist with a target note.
|
||||||
|
* Check _Inheritable_ if the label should be inherited by the child notes as well. See <a class="reference-link" href="Attribute%20Inheritance.md">Attribute Inheritance</a> for more information.
|
||||||
|
|
||||||
|
## Creating a relation manually
|
||||||
|
|
||||||
|
In the _Owned Attributes_ section in the <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.md">Ribbon</a>:
|
||||||
|
|
||||||
|
* To create a relation called `myRelation`:
|
||||||
|
* First type `~myRelation=@` .
|
||||||
|
* After this, an autocompletion box should appear.
|
||||||
|
* Type the title of the note to point to and press <kbd>Enter</kbd> to confirm (or click the desired note).
|
||||||
|
* Alternatively copy a note from the <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a> and paste it after the `=` sign (without the `@` , in this case).
|
||||||
|
* To create an inheritable relation, follow the same steps as previously described but instead of `~myRelation` write `~myRelation(inheritable)`.
|
||||||
|
|
||||||
|
## Predefined relations
|
||||||
|
|
||||||
|
These relations are supported and used internally by Trilium.
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> Some relations presented here end with a `*`. That means that there are multiple relations with the same prefix, consult the specific page linked in the description of that relation for more information.
|
||||||
|
|
||||||
|
<figure class="table" style="width:100%;"><table class="ck-table-resized"><colgroup><col style="width:33.95%;"><col style="width:66.05%;"></colgroup><thead><tr><th>Label</th><th>Description</th></tr></thead><tbody><tr><td><code>runOn*</code></td><td>See <a class="reference-link" href="../../Scripting/Events.md">Events</a></td></tr><tr><td><code>template</code></td><td>note's attributes will be inherited even without a parent-child relationship, note's content and subtree will be added to instance notes if empty. See documentation for details.</td></tr><tr><td><code>inherit</code></td><td>note's attributes will be inherited even without a parent-child relationship. See <a class="reference-link" href="../Templates.md">Templates</a> for a similar concept. See <a class="reference-link" href="Attribute%20Inheritance.md">Attribute Inheritance</a> in the documentation.</td></tr><tr><td><code>renderNote</code></td><td>notes of type <a class="reference-link" href="../../Note%20Types/Render%20Note.md">Render Note</a> will be rendered using a code note (HTML or script) and it is necessary to point using this relation to which note should be rendered</td></tr><tr><td><code>widget_relation</code></td><td>target of this relation will be executed and rendered as a widget in the sidebar</td></tr><tr><td><code>shareCss</code></td><td>CSS note which will be injected into the share page. CSS note must be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code> and <code>share_omit_default_css</code> as well.</td></tr><tr><td><code>shareJs</code></td><td>JavaScript note which will be injected into the share page. JS note must be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code>.</td></tr><tr><td><code>shareTemplate</code></td><td>Embedded JavaScript note that will be used as the template for displaying the shared note. Falls back to the default template. Consider using <code>share_hidden_from_tree</code>.</td></tr><tr><td><code>shareFavicon</code></td><td>Favicon note to be set in the shared page. Typically you want to set it to share root and make it inheritable. Favicon note must be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code>.</td></tr></tbody></table></figure>
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 32 KiB |
87
docs/User Guide/User Guide/Advanced Usage/Bulk Actions.md
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
# Bulk Actions
|
||||||
|
<figure class="image"><img style="aspect-ratio:1425/654;" src="Bulk Actions_image.png" width="1425" height="654"></figure>
|
||||||
|
|
||||||
|
The _Bulk Actions_ dialog makes it easy to apply changes to multiple notes at once, ranging from simple actions such as adding or removing a label to being executing custom scripts.
|
||||||
|
|
||||||
|
## Interaction
|
||||||
|
|
||||||
|
* The first step is to select the notes in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a>. It's possible to apply bulk actions to:
|
||||||
|
* A single note (and potentially its child notes) simply by clicking on it (with a left click or a right click).
|
||||||
|
* Multiple notes. See <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/Multiple%20selection.md">Multiple selection</a> on how to do so.
|
||||||
|
* Right click in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a> and select _Advanced_ → _Apply bulk actions_.
|
||||||
|
* By default, only the selected notes will be affected. To also include all the descendants of the notes, check _Include descendants of the selected notes_. The number of affected notes at the top of the dialog will update to reflect the change.
|
||||||
|
* Click on which action to apply from the _Available actions_ section. A detailed description of each is available in the next section.
|
||||||
|
* For each action selected, the _Chosen actions_ section will update to reveal the entry. Each action will have its own configuration.
|
||||||
|
* To remove an action, simply press the X button to the right of it.
|
||||||
|
* It is possible to apply multiple actions of the same type, such as adding multiple types.
|
||||||
|
* When all the actions are defined, press _Execute bulk actions_ to trigger all of them at once.
|
||||||
|
* For convenience, the last bulk action configuration is saved for further use and will be restored when entering the dialog again.
|
||||||
|
|
||||||
|
## Actions
|
||||||
|
|
||||||
|
### Labels
|
||||||
|
|
||||||
|
These actions operate the <a class="reference-link" href="Attributes/Labels.md">Labels</a> of a note:
|
||||||
|
|
||||||
|
* **Add label**
|
||||||
|
* For each note, if it doesn't already have a [label](Attributes/Labels.md) of the given name, it will create it. Keep the _New value_ field empty to create a label without a value, or complete it to assign a value.
|
||||||
|
* If a note already has this label, its value will be updated.
|
||||||
|
* **Update label value**
|
||||||
|
* For each note, if it has a [label](Attributes/Labels.md) of the given name, it will change its value to the specified one. Leave _New value_ field empty to create a label without a value.
|
||||||
|
* Notes without the label will not be affected.
|
||||||
|
* _**Rename label**_
|
||||||
|
* For each note, if it has a [label](Attributes/Labels.md) of the given name, it will be renamed/replaced with a label of the new name. The value of the label (if present) will be kept intact.
|
||||||
|
* Notes without the label will not be affected.
|
||||||
|
* **Delete label**
|
||||||
|
* For each note, if it has a label of a given name, it will be deleted (regardless of whether it has a value or not).
|
||||||
|
* Notes without the label will not be affected.
|
||||||
|
|
||||||
|
### Relations
|
||||||
|
|
||||||
|
These actions operate the <a class="reference-link" href="Attributes/Relations.md">Relations</a> of a note:
|
||||||
|
|
||||||
|
* **Add relation**
|
||||||
|
* For each note, it will create a relation pointing to the given note.
|
||||||
|
* Notes without this relation will not be affected.
|
||||||
|
* **Update relation target**
|
||||||
|
* For each note, it will modify a relation to point to the newly given note.
|
||||||
|
* Notes without this relation will not be affected.
|
||||||
|
* **Rename relation**
|
||||||
|
* For each note, if it has a relation of the given name, it will be renamed/replaced with a relation of the new name. The target note of the relation will be kept intact.
|
||||||
|
* Notes without this relation will not be affected.
|
||||||
|
* **Delete relation**
|
||||||
|
* For each note, if it has a relation of the given name, it will be deleted.
|
||||||
|
* Notes without this relation will not be affected.
|
||||||
|
|
||||||
|
### Notes
|
||||||
|
|
||||||
|
* **Rename note**
|
||||||
|
* For each note, it will change the title of the note to the given one.
|
||||||
|
* As a more advanced use case, the note can be a “template string” which allows for dynamic values with access to the note information via <a class="reference-link" href="../Scripting/Script%20API/Frontend%20API/FNote.md">FNote</a>, for example:
|
||||||
|
* `NEW: ${note.title}` will prefix all notes with `NEW:` .
|
||||||
|
* `${note.dateCreatedObj.format('MM-DD:')}: ${note.title}` will prefix the note titles with each note's creation date (in month-day format).
|
||||||
|
* **Move note**
|
||||||
|
* For each note, it will be moved to the specified parent note.
|
||||||
|
* As an alternative for less complex situations, the notes can be moved directly from within the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a> via cut → paste or via the contextual menu.
|
||||||
|
* **Delete note**
|
||||||
|
* For each note, it will be deleted.
|
||||||
|
* As an alternative for less complex situations, the notes can be removed directly from within the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a> by selecting them and pressing <kbd>Delete</kbd>.
|
||||||
|
* **Delete note revisions**
|
||||||
|
* This will delete all the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Notes/Note%20Revisions.md">Note Revisions</a> of the notes.
|
||||||
|
|
||||||
|
### Others
|
||||||
|
|
||||||
|
* **Execute script**
|
||||||
|
* For more complex scenarios, it is possible to type in a JavaScript expression in order to apply the necessary changes.
|
||||||
|
* Examples:
|
||||||
|
* To apply a suffix (`- suffix` in this example), to the note title:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
note.title = note.title + " - suffix";
|
||||||
|
```
|
||||||
|
|
||||||
|
* To alter attributes of a note based on another attribute, such as setting the `#shareAlias` label to the title of the note:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
note.setLabel("shareAlias", note.title)
|
||||||
|
```
|
BIN
docs/User Guide/User Guide/Advanced Usage/Bulk Actions_image.png
Normal file
After Width: | Height: | Size: 82 KiB |
@ -1,16 +0,0 @@
|
|||||||
# Bulk actions
|
|
||||||
### Execute script
|
|
||||||
|
|
||||||
For more complex scenarios, it is possible to type in a JavaScript expression in order to apply the necessary changes.
|
|
||||||
|
|
||||||
To apply a suffix (`- suffix` in this example), to the note title:
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
note.title = note.title + " - suffix";
|
|
||||||
```
|
|
||||||
|
|
||||||
To alter attributes of a note in a bulk action, such as setting the `#shareAlias` label to the title of the note:
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
note.setLabel("shareAlias", note.title)
|
|
||||||
```
|
|
@ -0,0 +1,19 @@
|
|||||||
|
# Trilium instance
|
||||||
|
A Trilium instance represents a server. If <a class="reference-link" href="../../Installation%20%26%20Setup/Synchronization.md">Synchronization</a> is set up, since multiple servers are involved (the one from the desktop client and the one the synchronisation is set up with), sometimes it can be useful to distinguish the instance you are running on.
|
||||||
|
|
||||||
|
## Setting the instance name
|
||||||
|
|
||||||
|
To set up a name for the instance, modify the `config.ini`:
|
||||||
|
|
||||||
|
```
|
||||||
|
[General]
|
||||||
|
instanceName=Hello
|
||||||
|
```
|
||||||
|
|
||||||
|
## Distinguishing the instance on back-end
|
||||||
|
|
||||||
|
Use `api.getInstanceName()` to obtain the instance name of the current server, as specified in the config file or in environment variables.
|
||||||
|
|
||||||
|
## Limiting script runs based on instance
|
||||||
|
|
||||||
|
For a script that is run periodically or on a certain event, it's possible to limit it to certain instances without having to change the code. Just add `runOnInstance` and set as the value the instance name where the script should run. To run on multiple named instances, simply add the label multiple times.
|
@ -53,7 +53,7 @@ Trilium will then find our code note created above and execute it. `api.req`, `a
|
|||||||
|
|
||||||
In the code note we check the request method and then use trivial authentication - keep in mind that these endpoints are by default totally unauthenticated, and you need to take care of this yourself.
|
In the code note we check the request method and then use trivial authentication - keep in mind that these endpoints are by default totally unauthenticated, and you need to take care of this yourself.
|
||||||
|
|
||||||
Once we pass these checks we will just create the desired note using [Script API](../Note%20Types/Code/Script%20API.md).
|
Once we pass these checks we will just create the desired note using [Script API](../Scripting/Script%20API.md).
|
||||||
|
|
||||||
## Custom resource provider
|
## Custom resource provider
|
||||||
|
|
||||||
|
@ -17,14 +17,16 @@ And all children of "2022 Books" will be created with initial title "\[Author na
|
|||||||
|
|
||||||
The value of `#titleTemplate` is evaluated at the point of note's creation as a JavaScript string, which means it can be enriched with the help of JS string interpolation with dynamic data.
|
The value of `#titleTemplate` is evaluated at the point of note's creation as a JavaScript string, which means it can be enriched with the help of JS string interpolation with dynamic data.
|
||||||
|
|
||||||
As an example, imagine you collect server outage incidents and write some notes. It looks like this:
|
Second variable injected is `parentNote` which gives access to the parent [`FNote`](../Scripting/Script%20API/Frontend%20API/FNote.md).
|
||||||
|
|
||||||
* Incidents
|
See also <a class="reference-link" href="Templates.md">Templates</a> which provides similar capabilities, including default note's content.
|
||||||
* 2022-05-09: System crash
|
|
||||||
* 2022-05-15: Backup delay
|
|
||||||
|
|
||||||
You can automatize the date assignment by assigning a label `#titleTemplate="${now.format('YYYY-MM-DD')}: "` to the parent note "Incidents". Whenever a new child note is created, the title template is evaluated with the injected [now](https://day.js.org/docs/en/display/format) object.
|
### Examples
|
||||||
|
|
||||||
Second variable injected is [parentNote](https://triliumnext.github.io/Notes/backend_api/BNote.html), an example could be `#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"`.
|
* Imagine you collect server outage incidents and write some notes. It looks like this:
|
||||||
|
* Incidents
|
||||||
See also \[\[[template](Templates.md)\]\] which provides similar capabilities, including default note's content.
|
* 2022-05-09: System crash
|
||||||
|
* 2022-05-15: Backup delay
|
||||||
|
* You can automatize the date assignment by assigning a label `#titleTemplate="${now.format('YYYY-MM-DD')}: "` to the parent note "Incidents". Whenever a new child note is created, the title template is evaluated with the injected [now](https://day.js.org/docs/en/display/format) object.
|
||||||
|
* To use a parent's attribute in the title of new notes: `#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"`
|
||||||
|
* To mirror the parent's note title: `${parentNote.title}`
|
18
docs/User Guide/User Guide/Advanced Usage/Hidden Notes.md
Normal file
BIN
docs/User Guide/User Guide/Advanced Usage/Hidden Notes_image.png
Normal file
After Width: | Height: | Size: 30 KiB |
@ -3,7 +3,7 @@ Trilium allows you to share selected notes as **publicly accessible** read-only
|
|||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
To use the sharing feature, you must have a [server installation](../Installation%20%26%20Setup/Server%20Installation.md) of Trilium. This is necessary because the notes will be hosted from the server.
|
To use the sharing feature, you must have a <a class="reference-link" href="../Installation%20%26%20Setup/Server%20Installation.md">Server Installation</a> of Trilium. This is necessary because the notes will be hosted from the server.
|
||||||
|
|
||||||
## How to Share a Note
|
## How to Share a Note
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ To protect shared notes with a username and password, you can use the `#shareCre
|
|||||||
|
|
||||||
The default shared page is basic in design, but you can customize it using your own CSS:
|
The default shared page is basic in design, but you can customize it using your own CSS:
|
||||||
|
|
||||||
* **Custom CSS**: Link a CSS [code note](../Note%20Types/Code.md) to the shared page by adding a `~shareCss` relation to the note. If you want this style to apply to the entire subtree, make the label inheritable. You can hide the CSS code note from the tree navigation by adding the `#shareHiddenFromTree` label.
|
* **Custom CSS**: Link a CSS <a class="reference-link" href="../Note%20Types/Code.md">Code</a> note to the shared page by adding a `~shareCss` relation to the note. If you want this style to apply to the entire subtree, make the label inheritable. You can hide the CSS code note from the tree navigation by adding the `#shareHiddenFromTree` label.
|
||||||
* **Omitting Default CSS**: For extensive styling changes, use the `#shareOmitDefaultCss` label to avoid conflicts with Trilium's [default stylesheet](../Basic%20Concepts%20and%20Features/Themes.md).
|
* **Omitting Default CSS**: For extensive styling changes, use the `#shareOmitDefaultCss` label to avoid conflicts with Trilium's [default stylesheet](../Basic%20Concepts%20and%20Features/Themes.md).
|
||||||
|
|
||||||
### Adding JavaScript
|
### Adding JavaScript
|
||||||
@ -81,12 +81,6 @@ To customize the favicon for your shared pages, create a relation `~shareFavicon
|
|||||||
|
|
||||||
You can designate a specific note or folder as the root of your shared content by adding the `#shareRoot` label. This note will be linked when visiting `[http://domain.tld/share](http://domain/share)`, making it easier to use Trilium as a fully-fledged website. Consider combining this with the `#shareIndex` label, which will display a list of all shared notes.
|
You can designate a specific note or folder as the root of your shared content by adding the `#shareRoot` label. This note will be linked when visiting `[http://domain.tld/share](http://domain/share)`, making it easier to use Trilium as a fully-fledged website. Consider combining this with the `#shareIndex` label, which will display a list of all shared notes.
|
||||||
|
|
||||||
## Additional Options
|
|
||||||
|
|
||||||
* **Raw Note Sharing**: Use the `#shareRaw` label to share a note without any HTML wrapper.
|
|
||||||
* **Disallow Robot Indexing**: Add the `#shareDisallowRobotIndexing` label to prevent search engines from indexing the shared page by including a `noindex, follow` meta tag and `X-Robots-Tag: noindex` header.
|
|
||||||
* **Shared Notes Index**: For text notes with the `#shareIndex` label, the content will display a list of all shared note roots.
|
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
||||||
While the sharing feature is powerful, it has some limitations:
|
While the sharing feature is powerful, it has some limitations:
|
||||||
@ -98,4 +92,8 @@ While the sharing feature is powerful, it has some limitations:
|
|||||||
* **Protected Notes**: Cannot be shared.
|
* **Protected Notes**: Cannot be shared.
|
||||||
* **Include Notes**: Not supported.
|
* **Include Notes**: Not supported.
|
||||||
|
|
||||||
Some of these limitations may be addressed in future updates.
|
Some of these limitations may be addressed in future updates.
|
||||||
|
|
||||||
|
## Attribute reference
|
||||||
|
|
||||||
|
<figure class="table"><table><thead><tr><th>Attribute</th><th>Description</th></tr></thead><tbody><tr><td><code>shareHiddenFromTree</code></td><td>this note is hidden from left navigation tree, but still accessible with its URL</td></tr><tr><td><code>shareExternalLink</code></td><td>note will act as a link to an external website in the share tree</td></tr><tr><td><code>shareAlias</code></td><td>define an alias using which the note will be available under <code>https://your_trilium_host/share/[your_alias]</code></td></tr><tr><td><code>shareOmitDefaultCss</code></td><td>default share page CSS will be omitted. Use when you make extensive styling changes.</td></tr><tr><td><code>shareRoot</code></td><td>marks note which is served on /share root.</td></tr><tr><td><code>shareDescription</code></td><td>define text to be added to the HTML meta tag for description</td></tr><tr><td><code>shareRaw</code></td><td>Note will be served in its raw format, without HTML wrapper. See also <a class="reference-link" href="Sharing/Serving%20directly%20the%20content%20o.md">Serving directly the content of a note</a> for an alternative method without setting an attribute.</td></tr><tr><td><code>shareDisallowRobotIndexing</code></td><td><p>Indicates to web crawlers that the page should not be indexed of this note by:</p><ul><li>Setting the <code>X-Robots-Tag: noindex</code> HTTP header.</li><li>Setting the <code>noindex, follow</code> meta tag.</li></ul></td></tr><tr><td><code>shareCredentials</code></td><td>require credentials to access this shared note. Value is expected to be in format <code>username:password</code>. Don't forget to make this inheritable to apply to child-notes/images.</td></tr><tr><td><code>shareIndex</code></td><td>Note with this label will list all roots of shared notes.</td></tr></tbody></table></figure>
|
@ -23,7 +23,7 @@ To create an instance note through the UI:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
For the template to appear in the menu, the template note must have the `#template` label. Do not confuse this with the `~template` relation, which links the instance note to the template note. If you use [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspace.md), you can also mark templates with `#workspaceTemplate` to display them only in the workspace.
|
For the template to appear in the menu, the template note must have the `#template` label. Do not confuse this with the `~template` relation, which links the instance note to the template note. If you use [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspaces.md), you can also mark templates with `#workspaceTemplate` to display them only in the workspace.
|
||||||
|
|
||||||
Templates can also be added or changed after note creation by creating a `~template` relation pointing to the desired template note.
|
Templates can also be added or changed after note creation by creating a `~template` relation pointing to the desired template note.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Markdown
|
# Markdown
|
||||||
Trilium Notes supports importing Markdown restricted to the [CommonMark specification](https://spec.commonmark.org/current/) (where [tables are not supported](https://github.com/TriliumNext/Notes/issues/2026))
|
Trilium supports Markdown for both import and export, while trying to keep compatibility as high as possible.
|
||||||
|
|
||||||
## Import
|
## Import
|
||||||
|
|
||||||
@ -38,4 +38,13 @@ If you want to export just single note without its subtree, you can do it from N
|
|||||||
|
|
||||||
### Exporting protected notes
|
### Exporting protected notes
|
||||||
|
|
||||||
If you want to export protected notes, enter a protected session first! This will export the notes in an unencrypted form, so if you reimport into Trilium, make sure to re-protect these notes.
|
If you want to export protected notes, enter a protected session first! This will export the notes in an unencrypted form, so if you reimport into Trilium, make sure to re-protect these notes.
|
||||||
|
|
||||||
|
## Supported syntax
|
||||||
|
|
||||||
|
* [GitHub-Flavored Markdown](https://github.github.com/gfm/) is the main syntax that Trilium is following.
|
||||||
|
* Images are supported. When exporting, images are usually kept in the basic Markdown syntax but will use the HTML syntax if the image has a custom width. Figures are always embedded as HTML.
|
||||||
|
* Tables are supported with the Markdown syntax. If the table is too complex or contains elements that would render as HTML, the table is also rendered as HTML.
|
||||||
|
* <a class="reference-link" href="../../Note%20Types/Text/Admonitions.md">Admonitions</a> are supported using GitHub's format.
|
||||||
|
* Links are supported. “Reference links” (internal links that mirror a note's title and display its icon) are embedded as HTML in order to preserve the information on import.
|
||||||
|
* Math equations are supported using `$` and `$$` syntaxes.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -5,4 +5,4 @@ Hoisting is a standard outliner feature which allows you to focus on (or "zoom i
|
|||||||
|
|
||||||
In addition to showing only this subtree, this also narrows both full text search and [“jump to note”](Note%20Navigation.md) to just notes present in hoisted subtree.
|
In addition to showing only this subtree, this also narrows both full text search and [“jump to note”](Note%20Navigation.md) to just notes present in hoisted subtree.
|
||||||
|
|
||||||
See also [Workspace](Workspace.md) which extends this feature.
|
See also [Workspace](Workspaces.md) which extends this feature.
|
@ -0,0 +1,29 @@
|
|||||||
|
# Search in note
|
||||||
|
<figure class="image image_resized" style="width:100%;"><img style="aspect-ratio:898/93;" src="Search in note_image.png" width="898" height="93"></figure>
|
||||||
|
|
||||||
|
Local search allows you to search within the currently displayed note.
|
||||||
|
|
||||||
|
## Alternatives
|
||||||
|
|
||||||
|
* Pressing Ctrl+F while in a browser while not focused in a <a class="reference-link" href="../../Note%20Types/Text.md">Text</a> or a <a class="reference-link" href="../../Note%20Types/Code.md">Code</a> note will trigger the browser's native search. This will also find text that is part of Trilium's UI.
|
||||||
|
* Pressing Ctrl+F in a <a class="reference-link" href="../../Note%20Types/Text.md">Text</a> note will reveal <a class="reference-link" href="../../Advanced%20Usage/Technologies%20used/CKEditor.md">CKEditor</a>'s search functionality.
|
||||||
|
|
||||||
|
## Accessing the search
|
||||||
|
|
||||||
|
* On desktop, press<kbd>Ctrl</kbd> + <kbd>F</kbd>
|
||||||
|
* From the <a class="reference-link" href="../UI%20Elements/Note%20buttons.md">Note buttons</a>, look for the context menu and select _Search in note_.
|
||||||
|
|
||||||
|
## Interaction
|
||||||
|
|
||||||
|
* Finding:
|
||||||
|
* Fill in the _Find in text…_ with the text to search for.
|
||||||
|
* The search will be executed automatically in the background.
|
||||||
|
* Use up and down arrows of the text box to navigate between results.
|
||||||
|
* Replacing:
|
||||||
|
* Fill in the _Find in text_… field with the text to replace.
|
||||||
|
* Fill in the _Replace with…_ field the text to replace it with.
|
||||||
|
* Press _Replace_ to replace only the current result.
|
||||||
|
* Press _Replace all_ to replace all of them at once.
|
||||||
|
* Options:
|
||||||
|
* _Case sensitive_ – the search will distinguish upper case characters from lower case (e.g. searching for Hello will not match `hello`).
|
||||||
|
* _Match words_ - the search will find only exact word matches (e.g. searching for `Java` will not match `JavaScript`).
|
After Width: | Height: | Size: 13 KiB |
@ -1,13 +1,59 @@
|
|||||||
# Search
|
# Search
|
||||||
## Local Search
|
<figure class="image"><img style="aspect-ratio:987/725;" src="Search_image.png" width="987" height="725"></figure>
|
||||||
|
|
||||||
Local search allows you to search within the currently displayed note. To initiate a local search, press <kbd>Ctrl</kbd> + <kbd>F</kbd>. If using a web browser, this will be handled by the browser's native search functionality. In the desktop (electron) version, a separate dialog will apear.
|
|
||||||
|
|
||||||
## Note Search
|
|
||||||
|
|
||||||
Note search enables you to find notes by searching for text in the title, content, or [attributes](../../Advanced%20Usage/Attributes.md) of the notes. You also have the option to save your searches, which will create a special search note which is visible on your navigation tree and contains the search results as sub-items.
|
Note search enables you to find notes by searching for text in the title, content, or [attributes](../../Advanced%20Usage/Attributes.md) of the notes. You also have the option to save your searches, which will create a special search note which is visible on your navigation tree and contains the search results as sub-items.
|
||||||
|
|
||||||
To search for notes, click on the magnifying glass icon on the toolbar or press the <kbd>Ctrl</kbd> + <kbd>S</kbd> keyboard [shortcut](../Keyboard%20Shortcuts.md).
|
## Accessing the search
|
||||||
|
|
||||||
|
* From the <a class="reference-link" href="../UI%20Elements/Launch%20Bar.md">Launch Bar</a>, look for the dedicated search button.
|
||||||
|
* To limit the search to a note and its children, select _Search from subtree_ from the <a class="reference-link" href="../UI%20Elements/Note%20Tree/Note%20tree%20contextual%20menu.md">Note tree contextual menu</a> or press <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd>.
|
||||||
|
|
||||||
|
## Interaction
|
||||||
|
|
||||||
|
To search for notes, click on the magnifying glass icon on the toolbar or press the keyboard [shortcut](../Keyboard%20Shortcuts.md).
|
||||||
|
|
||||||
|
1. Set the text to search for in the _Search string_ field.
|
||||||
|
1. Apart from searching for words ad-literam, there is also the possibility to search for attributes or properties of notes.
|
||||||
|
2. See the examples below for more information.
|
||||||
|
2. To limit the search to a note and its sub-children, set a note in _Ancestor_.
|
||||||
|
1. This value is also pre-filled if the search is triggered from a [hoisted note](Note%20Hoisting.md) or a [workspace](Workspaces.md).
|
||||||
|
2. To search the entire database, keep the value empty.
|
||||||
|
3. To limit the search to only a few levels of hierarchy (e.g. look in sub-children but not in sub-sub-children of a note), set the _depth_ field to one of the provided values.
|
||||||
|
4. In addition to that, the search can be configured via the _Add search options_ buttons, as described in the follow-up section.
|
||||||
|
5. Press _Search_ to trigger the search. The results are displayed below the search configuration pane.
|
||||||
|
6. The _Search & Execute actions_ button is only relevant if at least one action has been added (as described in the section below).
|
||||||
|
7. The _Save to note_ will create a new note with the search configuration. For more information, see <a class="reference-link" href="../../Note%20Types/Saved%20Search.md">Saved Search</a>.
|
||||||
|
|
||||||
|
## Search options
|
||||||
|
|
||||||
|
Click on which search option to apply from the Add search option section.
|
||||||
|
|
||||||
|
* For each search option selected, the search configuration will update to reveal the entry. Each search option will have its own configuration.
|
||||||
|
* To remove a search option, simply press the X button to the right of it.
|
||||||
|
|
||||||
|
The options available are:
|
||||||
|
|
||||||
|
1. Search script
|
||||||
|
1. This feature allows writing a <a class="reference-link" href="../../Note%20Types/Code.md">Code</a> note that will handle the search on its own.
|
||||||
|
2. Fast search
|
||||||
|
1. The search will not look into the content of the notes, but it will still look into note titles and attributes, relations (based on the search query).
|
||||||
|
2. This method can speed up the search considerably for large [databases](../../Advanced%20Usage/Database.md).
|
||||||
|
3. Include archived
|
||||||
|
1. <a class="reference-link" href="../Notes/Archived%20Notes.md">Archived Notes</a> will also be included in the results, whereas otherwise they would be ignored.
|
||||||
|
4. Order by
|
||||||
|
1. Allows changing the criteria for ordering the results, for example to order by creation date or alphabetically instead of by relevancy (default).
|
||||||
|
2. It's also possible to change the order (ascending or descending) of the results.
|
||||||
|
5. Limit
|
||||||
|
1. Limits the results to a given maximum.
|
||||||
|
2. This can help if the number of results would otherwise be high, at the cost of not being able to view all the results.
|
||||||
|
6. Debug
|
||||||
|
1. This will print additional information in the server log (see <a class="reference-link" href="../../Troubleshooting/Error%20logs.md">Error logs</a>), regarding how the search expression was parsed.
|
||||||
|
2. This function is especially useful after understanding the search functionality in detail, in order to determine why a complex search query is not working as expected.
|
||||||
|
7. Action
|
||||||
|
1. Apart from just searching, it is also possible to apply actions such as to add a label or a relation to the notes that have been matched by the search.
|
||||||
|
2. Unlike other search configurations, here it's possible to apply the same action multiple times (i.e. in order to be able to apply multiple labels to notes).
|
||||||
|
3. The actions given are the same as the ones in <a class="reference-link" href="../../Advanced%20Usage/Bulk%20Actions.md">Bulk Actions</a>, which is an alternative for operating directly with notes within the <a class="reference-link" href="../UI%20Elements/Note%20Tree.md">Note Tree</a>.
|
||||||
|
4. After defining the actions, first press _Search_ to check the matched notes and then press _Search & Execute actions_ to trigger the actions.
|
||||||
|
|
||||||
### Simple Note Search Examples
|
### Simple Note Search Examples
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 92 KiB |
@ -1,24 +0,0 @@
|
|||||||
# Workspace
|
|
||||||
Workspace is a concept built up on top of [note hoisting](Note%20Hoisting.md). It is based on the idea that a user has several distinct spheres of interest. An example might be "Personal" and "Work", these two spheres are quite distinct and don't interact together. When I focus on Work, I don't really care about personal notes.
|
|
||||||
|
|
||||||
So far workspace consists of these features:
|
|
||||||
|
|
||||||
* [note hoisting](Note%20Hoisting.md) - you can "zoom" into a workspace subtree to focus only on the relevant notes
|
|
||||||
|
|
||||||
* easy entering of workspace:
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
* visual identification of workspace in tabs:
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
### How to use workspaces
|
|
||||||
|
|
||||||
Let's say you have identified the workspaces and their subtrees. Define on the root of this subtree following labels:
|
|
||||||
|
|
||||||
* `#workspace` - Marks this note as a workspace, button to enter the workspace is controlled by this
|
|
||||||
* `#workspaceIconClass` - controls the box icon to be displayed in the tree and tabs, example `bx bx-home`. See [https://boxicons.com/](https://boxicons.com/)
|
|
||||||
* `#workspaceTabBackgroundColor` - Background color of the tab, use any CSS color format, e.g. "lightblue" or "#ddd". See [https://www.w3schools.com/cssref/css\_colors.asp](https://www.w3schools.com/cssref/css_colors.asp).
|
|
||||||
* `#workspaceCalendarRoot` - marking a note with this label will define a new per-workspace calendar. If there's no such note, the global calendar will be used.
|
|
||||||
* `#workspaceTemplate` - This note will appear in the selection of available templates when creating a new note, but only when you are currently hoisted into a workspace containing this template.
|
|
@ -0,0 +1,18 @@
|
|||||||
|
# Workspaces
|
||||||
|
Workspace is a concept built up on top of [note hoisting](Note%20Hoisting.md). It is based on the idea that a user has several distinct spheres of interest. An example might be "Personal" and "Work", these two spheres are quite distinct and don't interact together. When I focus on Work, I don't really care about personal notes.
|
||||||
|
|
||||||
|
So far workspace consists of these features:
|
||||||
|
|
||||||
|
* [note hoisting](Note%20Hoisting.md) - you can "zoom" into a workspace subtree to focus only on the relevant notes
|
||||||
|
|
||||||
|
* easy entering of workspace:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
* visual identification of workspace in tabs:
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
<figure class="table"><table><thead><tr><th>Label</th><th>Description</th></tr></thead><tbody><tr><td><code>workspace</code></td><td>Marks this note as a workspace, button to enter the workspace is controlled by this</td></tr><tr><td><code>workspaceIconClass</code></td><td>defines box icon CSS class which will be used in tab when hoisted to this note</td></tr><tr><td><code>workspaceTabBackgroundColor</code></td><td>CSS color used in the note tab when hoisted to this note, use any CSS color format, e.g. "lightblue" or "#ddd". See <a href="https://www.w3schools.com/cssref/css_colors.asp">https://www.w3schools.com/cssref/css_colors.asp</a>.</td></tr><tr><td><code>workspaceCalendarRoot</code></td><td>Marking a note with this label will define a new per-workspace calendar for <a class="reference-link" href="../../Advanced%20Usage/Advanced%20Showcases/Day%20Notes.md">Day Notes</a>. If there's no such note, the global calendar will be used.</td></tr><tr><td><code>workspaceTemplate</code></td><td>This note will appear in the selection of available template when creating new note, but only when hoisted into a workspace containing this template</td></tr><tr><td><code>workspaceSearchHome</code></td><td>new search notes will be created as children of this note when hoisted to some ancestor of this workspace note</td></tr><tr><td><code>workspaceInbox</code></td><td>default inbox location for new notes when hoisted to some ancestor of this workspace note</td></tr></tbody></table></figure>
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
@ -23,7 +23,7 @@ Tree structure of notes can resemble file system - but compared to that notes in
|
|||||||
|
|
||||||
When you delete a note in Trilium, it is actually only marked for deletion (soft-delete) - the actual content, title, attributes etc. are not deleted, only hidden.
|
When you delete a note in Trilium, it is actually only marked for deletion (soft-delete) - the actual content, title, attributes etc. are not deleted, only hidden.
|
||||||
|
|
||||||
Within (by default) 7 days, it is possible to undelete these soft-deleted notes - open Recent Changes dialog, and you will see a list of all modified notes including the deleted ones. Notes available for undeletion have a link to do so. This is kind of "trash can" functionality known from e.g. Windows.
|
Within (by default) 7 days, it is possible to undelete these soft-deleted notes - open the <a class="reference-link" href="UI%20Elements/Recent%20Changes.md">Recent Changes</a> dialog, and you will see a list of all modified notes including the deleted ones. Notes available for undeletion have a link to do so. This is kind of "trash can" functionality known from e.g. Windows.
|
||||||
|
|
||||||
Clicking an undelete will recover the note, it's content and attributes - note should be just as before being deleted. This action will also undelete note's children which have been deleted in the same action.
|
Clicking an undelete will recover the note, it's content and attributes - note should be just as before being deleted. This action will also undelete note's children which have been deleted in the same action.
|
||||||
|
|
||||||
@ -33,4 +33,4 @@ After the 7 days (configurable) the notes will be "erased" - their title, conten
|
|||||||
|
|
||||||
## See also
|
## See also
|
||||||
|
|
||||||
* [Read-only note](Notes/Read-Only%20Notes.md)
|
* <a class="reference-link" href="Notes/Read-Only%20Notes.md">Read-Only Notes</a>
|
@ -51,10 +51,6 @@ As seen in the demo, you can view the list of all available clones in the "Note
|
|||||||
|
|
||||||
Titles of cloned notes in the tree view have an asterisk to the right to easily see that the note is also placed into some other location.
|
Titles of cloned notes in the tree view have an asterisk to the right to easily see that the note is also placed into some other location.
|
||||||
|
|
||||||
## Prefix
|
|
||||||
|
|
||||||
Since notes can be categorized into multiple places, it's recommended to choose a generalized name that fits into all locations instead of something more specific to avoid confusion. In some cases this isn't possible so Trilium provides "branch prefixes", which is shown before the note name in the tree and as such provides a specific kind of context. The prefix is location specific, so it's displayed only in the tree pane.
|
|
||||||
|
|
||||||
## Deleting notes/clones
|
## Deleting notes/clones
|
||||||
|
|
||||||
With clones, it might not be immediately obvious how deleting works.
|
With clones, it might not be immediately obvious how deleting works.
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
# Branch prefix
|
||||||
|
Since a single note can appear into multiple places in the <a class="reference-link" href="../../UI%20Elements/Note%20Tree.md">Note Tree</a> via a process called <a class="reference-link" href="../Cloning%20Notes.md">Cloning Notes</a>, it's recommended to choose a generalized name that fits into all locations instead of something more specific to avoid confusion.
|
||||||
|
|
||||||
|
In some cases this isn't possible so Trilium provides "branch prefixes", which is shown before the note name in the tree and as such provides a specific kind of context.
|
||||||
|
|
||||||
|
The prefix is location-specific, so it's displayed only in the note tree.
|
@ -1,6 +1,11 @@
|
|||||||
# Note List
|
# Note List
|
||||||
When a note has one or more child notes, they will be listed at the end of the note for easy navigation.
|
When a note has one or more child notes, they will be listed at the end of the note for easy navigation.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
* To hide the note list for a particular note, simply apply the `hideChildrenOverview` [label](../../Advanced%20Usage/Attributes.md).
|
||||||
|
* For some view types, such as Grid view, only a subset of notes will be displayed and pagination can be used to navigate through all of them for performance reasons. To adjust the number of notes per page, set `pageSize` to the desired number.
|
||||||
|
|
||||||
## View types
|
## View types
|
||||||
|
|
||||||
By default, the notes will be displayed in a grid, however there are also some other view types available.
|
By default, the notes will be displayed in a grid, however there are also some other view types available.
|
||||||
|
@ -1,7 +1,14 @@
|
|||||||
# Sorting Notes
|
# Sorting Notes
|
||||||
## Sorting Notes
|
## Manual sorting
|
||||||
|
|
||||||
You can sort notes by right-clicking the parent note in the note tree and selecting Advanced -> Sort notes by ... This will sort existing notes, but will not automatically sort future notes added to this parent note
|
You can sort notes by right-clicking the parent note in the <a class="reference-link" href="../UI%20Elements/Note%20Tree.md">Note Tree</a> and selecting Advanced -> Sort notes by ... This will sort existing notes, but will not automatically sort future notes added to this parent note.
|
||||||
|
|
||||||
|
The sorting dialog allows:
|
||||||
|
|
||||||
|
* Sorting by title, creation or modification date.
|
||||||
|
* Changing sorting direction can also be adjusted (ascending or descending).
|
||||||
|
* Ensuring folders are displayed at the top.
|
||||||
|
* Natural sort, based on the sorting rules of a particular language.
|
||||||
|
|
||||||
## Automatic/Permanent Sorting
|
## Automatic/Permanent Sorting
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 80 KiB |
@ -56,7 +56,7 @@ Right click either the _Available launchers_ or _Visible launchers_ sections and
|
|||||||
2. Optionally, set a `keyboardShortcut` to trigger the launcher.
|
2. Optionally, set a `keyboardShortcut` to trigger the launcher.
|
||||||
3. **Custom Widget**
|
3. **Custom Widget**
|
||||||
|
|
||||||
Allows defining a custom widget to be rendered inside the launcher. See [Widget Basics](../../Scripting/Widget%20Basics.md) for more information.
|
Allows defining a custom widget to be rendered inside the launcher. See [Widget Basics](../../Scripting/Custom%20Widgets/Widget%20Basics.md) for more information.
|
||||||
|
|
||||||
4. **Spacers**
|
4. **Spacers**
|
||||||
Launchers that create some distance between other launchers for better visual distinction.
|
Launchers that create some distance between other launchers for better visual distinction.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Note Tree
|
# Note Tree
|
||||||
This page explains how to manipulate the note tree in TriliumNext, focusing on moving notes.
|
This page explains how to manipulate the note tree in TriliumNext, focusing on moving notes.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Drag and Drop
|
## Drag and Drop
|
||||||
|
|
||||||
@ -22,12 +22,4 @@ You can easily rearrange the note tree by dragging and dropping notes, as demons
|
|||||||
|
|
||||||
You can also move notes using the familiar cut and paste functions available in the context menu, or with the associated keyboard [shortcuts](../Keyboard%20Shortcuts.md): `CTRL-C` ( [copy](../Notes/Cloning%20Notes.md)), <kbd>Ctrl</kbd> + <kbd>X</kbd> (cut) and <kbd>Ctrl</kbd> + <kbd>V</kbd> (paste).
|
You can also move notes using the familiar cut and paste functions available in the context menu, or with the associated keyboard [shortcuts](../Keyboard%20Shortcuts.md): `CTRL-C` ( [copy](../Notes/Cloning%20Notes.md)), <kbd>Ctrl</kbd> + <kbd>X</kbd> (cut) and <kbd>Ctrl</kbd> + <kbd>V</kbd> (paste).
|
||||||
|
|
||||||
## Multiple selection
|
See <a class="reference-link" href="Note%20Tree/Note%20tree%20contextual%20menu.md">Note Tree Menu</a> for more information.
|
||||||
|
|
||||||
It is possible to select multiple notes at one time.
|
|
||||||
|
|
||||||
To do so, first select the note to start the selection with. Then hold Shift and click on the note to end the selection with. All the notes between the start and the end note will be selected as well.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
In the right-click menu, operations such as Cut, Copy, Move to, Clone to or Delete will apply to all the selected notes. It is also possible to apply [Bulk actions](../../Advanced%20Usage/Bulk%20actions.md) to them. The rest of the options will not be available and will appear disabled in the menu.
|
|
After Width: | Height: | Size: 94 KiB |
@ -0,0 +1,8 @@
|
|||||||
|
# Multiple selection
|
||||||
|
It is possible to select multiple notes at one time.
|
||||||
|
|
||||||
|
To do so, first select the note to start the selection with. Then hold Shift and click on the note to end the selection with. All the notes between the start and the end note will be selected as well.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
In the right-click menu, operations such as Cut, Copy, Move to, Clone to or Delete will apply to all the selected notes. It is also possible to apply <a class="reference-link" href="../../../Advanced%20Usage/Bulk%20Actions.md">Bulk Actions</a> to them. The rest of the options will not be available and will appear disabled in the menu.
|
After Width: | Height: | Size: 7.3 KiB |
@ -0,0 +1,94 @@
|
|||||||
|
# Note tree contextual menu
|
||||||
|
<figure class="image image-style-align-right"><img style="aspect-ratio:372/760;" src="1_Note tree contextual menu_.png" width="372" height="760"></figure>
|
||||||
|
|
||||||
|
The _note tree menu_ can be accessed by right-clicking in the <a class="reference-link" href="../Note%20Tree.md">Note Tree</a>.
|
||||||
|
|
||||||
|
## Interaction
|
||||||
|
|
||||||
|
The contextual menu can operate:
|
||||||
|
|
||||||
|
* On a single note, by right clicking it in the note tree.
|
||||||
|
* On multiple notes, by selecting them first. See <a class="reference-link" href="Multiple%20selection.md">Multiple selection</a> on how to do so.
|
||||||
|
* When right clicking, do note that usually the note being right clicked is also included in the affected notes, regardless of whether it was selected or not.
|
||||||
|
|
||||||
|
## Available options
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> When multiple notes are selected, only a subset of notes will be active. The ones that do support multiple notes will mention this in the list below.
|
||||||
|
|
||||||
|
* **Open in a new tab**
|
||||||
|
* Will open a single note in a new [tab](../Tabs.md).
|
||||||
|
* **Open in a new split**
|
||||||
|
* Will open a split to the right with the given note within the current tab.
|
||||||
|
* **Hoist note**
|
||||||
|
* Will focus the note tree on this note. See <a class="reference-link" href="../../Navigation/Note%20Hoisting.md">Note Hoisting</a> for more information.
|
||||||
|
* **Insert note after**
|
||||||
|
* Allows easy creation of a note with a specified [note type](../../../Note%20Types.md).
|
||||||
|
* <a class="reference-link" href="../../../Advanced%20Usage/Templates.md">Templates</a> will also be present (if any) at the end of the list.
|
||||||
|
* The note will be added on the same level of hierarchy as the note selected.
|
||||||
|
* **Insert child note**
|
||||||
|
* Same as _Insert note after_, but the note will be created as a child of the selected note.
|
||||||
|
* **Protect subtree**
|
||||||
|
* Will mark this note and all of its descendents as protected. See <a class="reference-link" href="../../Notes/Protected%20Notes.md">Protected Notes</a> for more information.
|
||||||
|
* **Unprotect subtree**
|
||||||
|
* Will unprotect this note and all of its descendents.
|
||||||
|
* **Cut**
|
||||||
|
* Will place the given notes in clipboard.
|
||||||
|
* Use one of the two paste functions (or the keyboard shortcuts) to move them to the desired location.
|
||||||
|
* **Copy / clone**
|
||||||
|
* Will place the given notes in clipboard.
|
||||||
|
* Use one of the two paste functions (or the keyboard shortcuts) to copy them to the desired location.
|
||||||
|
* Note that the copy function here works according to the <a class="reference-link" href="../../Notes/Cloning%20Notes.md">Cloning Notes</a> functionality (i.e. the note itself will be present in two locations at once, and editing it in one place will edit it everywhere).
|
||||||
|
* To simply create a duplicate note that can be modified independently, look for _Duplicate subtree_.
|
||||||
|
* **Paste into**
|
||||||
|
* If there are any notes in clipboard, they will be pasted as child notes to the right-clicked one.
|
||||||
|
* **Paste after**
|
||||||
|
* If there are any notes in clipboard, they will be pasted underneath the right-clicked one.
|
||||||
|
* **Move to…**
|
||||||
|
* Will display a modal to specify where to move the desired notes.
|
||||||
|
* **Clone to…**
|
||||||
|
* Will display a modal to specify where to [clone](../../Notes/Cloning%20Notes.md) the desired notes.
|
||||||
|
* **Delete**
|
||||||
|
* Will delete the given notes, asking for confirmation first.
|
||||||
|
* In the dialog, the following options can be configured:
|
||||||
|
* _Delete also all clones_ to ensure that the note will be deleted everywhere if it has been placed into multiple locations (see <a class="reference-link" href="../../Notes/Cloning%20Notes.md">Cloning Notes</a>).
|
||||||
|
* _Erase notes permanently_ will ensure that the note cannot be recovered from <a class="reference-link" href="../Recent%20Changes.md">Recent Changes</a>.
|
||||||
|
* **Import into note**
|
||||||
|
* Opens the [import](../../Import%20%26%20Export) dialog and places the imported notes as child notes of the selected one.
|
||||||
|
* **Export**
|
||||||
|
* Opens the [export](../../Import%20%26%20Export) dialog for the selected notes.
|
||||||
|
* **Search in subtree**
|
||||||
|
* Opens a full <a class="reference-link" href="../../Navigation/Search.md">Search</a> with it preconfigured to only look into this note and its descendants (the _Ancestor_ field).
|
||||||
|
|
||||||
|
## Advanced options
|
||||||
|
|
||||||
|
<figure class="image image-style-align-right"><img style="aspect-ratio:289/355;" src="Note tree contextual menu_.png" width="289" height="355"></figure>
|
||||||
|
|
||||||
|
The advanced options menu offers some of the less frequently used actions for notes.
|
||||||
|
|
||||||
|
To access these options, first look for the _Advanced_ option in the contextual menu to reveal a sub-menu with:
|
||||||
|
|
||||||
|
* **Apply bulk actions**
|
||||||
|
* Opens the <a class="reference-link" href="../../../Advanced%20Usage/Bulk%20Actions.md">Bulk Actions</a> dialog, to apply actions such as adding labels or moving notes to multiple notes at once (see <a class="reference-link" href="Multiple%20selection.md">Multiple selection</a>).
|
||||||
|
* **Edit branch prefix**
|
||||||
|
* Opens a dialog to assign a name to be able to distinguish [clones](../../Notes/Cloning%20Notes.md), see <a class="reference-link" href="../../Notes/Cloning%20Notes/Branch%20prefix.md">Branch prefix</a> for more information.
|
||||||
|
* **Convert to attachment**
|
||||||
|
* Converts the selected notes to <a class="reference-link" href="../../Notes/Attachments.md">Attachments</a> of their parent notes.
|
||||||
|
* This functional is most useful when dealing with image <a class="reference-link" href="../../../Note%20Types/File.md">File</a> notes that were imported from an external source or an older version of Trilium.
|
||||||
|
* **Duplicate subtree**
|
||||||
|
* Creates a copy of the note and its descendants.
|
||||||
|
* This process is different from <a class="reference-link" href="../../Notes/Cloning%20Notes.md">Cloning Notes</a> since the duplicated note can be edited independently from the original.
|
||||||
|
* An alternative to this, if done regularly, would be <a class="reference-link" href="../../../Advanced%20Usage/Templates.md">Templates</a>.
|
||||||
|
* **Expand subtree**
|
||||||
|
* Expands all the child notes in the <a class="reference-link" href="../Note%20Tree.md">Note Tree</a>.
|
||||||
|
* **Collapse subtree**
|
||||||
|
* Collapses all the child notes in the note tree.
|
||||||
|
* **Sort by…**
|
||||||
|
* Opens a dialog to sort all the child notes of the selected note.
|
||||||
|
* The sorting is done only once, there is an automatic sorting mechanism as well that can be set using <a class="reference-link" href="../../../Advanced%20Usage/Attributes.md">Attributes</a>.
|
||||||
|
* See <a class="reference-link" href="../../Notes/Sorting%20Notes.md">Sorting Notes</a> for more information.
|
||||||
|
* **Copy note path to clipboard**
|
||||||
|
* Copies a URL fragment representing the full path to this branch for a note, such as `#root/Hb2E70L7HPuf/4sRFgMZhYFts/2IVuShedRJ3U/LJVMvKXOFv7n`.
|
||||||
|
* The URL to manually create <a class="reference-link" href="../../../Note%20Types/Text/Links.md">Links</a> within notes, or for note <a class="reference-link" href="../../Navigation">Navigation</a>.
|
||||||
|
* **Recent changes in subtree**
|
||||||
|
* This will open <a class="reference-link" href="../Recent%20Changes.md">Recent Changes</a>, but filtered to only the changes related to this note or one of its descendants.
|
After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,14 @@
|
|||||||
|
# Recent Changes
|
||||||
|
<figure class="image image-style-align-center image_resized" style="width:50%;"><img style="aspect-ratio:988/572;" src="1_Recent Changes_image.png" width="988" height="572"></figure>
|
||||||
|
|
||||||
|
## Accessing the recent changes
|
||||||
|
|
||||||
|
* For an overview of the changes across all documents, press the <img src="Recent Changes_image.png" width="25" height="21"> button in the <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a>.
|
||||||
|
* If there is a [hoisted note](../Navigation/Note%20Hoisting.md) or a [workspace](../Navigation/Workspaces.md), the list of recent changes will be limited to the descendents of the hoisted note, or the workspace.
|
||||||
|
* To limit the list of recent changes to a note and its descendants, look for the corresponding option in the <a class="reference-link" href="Note%20Tree/Note%20tree%20contextual%20menu.md">Note tree contextual menu</a> → Advanced.
|
||||||
|
|
||||||
|
## Interaction
|
||||||
|
|
||||||
|
* Notes which were changed will appear in reverse chronological order (latest update first).
|
||||||
|
* The title of the note is displayed, as well as the note path. Clicking on the note title will dismiss the dialog and navigate to that particular note.
|
||||||
|
* Deleted notes will also be listed here, at their time of deletion. Press the _Undelete_ link next to them in order to recover them.
|
After Width: | Height: | Size: 1.4 KiB |
@ -61,4 +61,6 @@ This section displays information about the current note:
|
|||||||
|
|
||||||
### Edited notes
|
### Edited notes
|
||||||
|
|
||||||
This section pops automatically when entering a [day note](../../Advanced%20Usage/Advanced%20Showcases/Day%20Notes.md) and shows the notes that were edited that day.
|
This section pops automatically when entering a [day note](../../Advanced%20Usage/Advanced%20Showcases/Day%20Notes.md) and shows the notes that were edited that day.
|
||||||
|
|
||||||
|
It is possible to disable this behavior from settings, by going to <a class="reference-link" href="#root/_hidden/_options/_optionsAppearance">Appearance</a> settings and looking for the _Ribbon widgets_ section.
|
@ -1,29 +0,0 @@
|
|||||||
# Events
|
|
||||||
[Script](../../Scripting.md) notes can be triggered by events. Note that these are backend events and thus relation need to point to the "JS backend" code note.
|
|
||||||
|
|
||||||
## Global events
|
|
||||||
|
|
||||||
Global events are attached to the script note via label. Simply create e.g. "run" label with some of these values and script note will be executed once the event occurs.
|
|
||||||
|
|
||||||
* `run`
|
|
||||||
* `frontendStartup` - executes on frontend upon startup
|
|
||||||
* `mobileStartup` - executes on mobile frontend upon startup
|
|
||||||
* `backendStartup` - executes on backend upon startup
|
|
||||||
* `hourly` - executes once an hour on backend
|
|
||||||
* `daily` - executes once a day on backend
|
|
||||||
|
|
||||||
## Entity events
|
|
||||||
|
|
||||||
Other events are bound to some entity, these are defined as [relations](../../Advanced%20Usage/Attributes.md) - meaning that script is triggered only if note has this script attached to it through relations (or it can inherit it).
|
|
||||||
|
|
||||||
* `runOnNoteCreation` - executes when note is created on backend
|
|
||||||
* `runOnNoteTitleChange` - executes when note title is changed (includes note creation as well)
|
|
||||||
* `runOnNoteContentChange` - executes when note content is changed (includes note creation as well).
|
|
||||||
* `runOnNoteChange` - executes when note is changed (includes note creation as well)
|
|
||||||
* `runOnNoteDeletion` - executes when note is being deleted
|
|
||||||
* `runOnBranchCreation` - executes when a branch is created. Branch is a link between parent note and child note and is created e.g. when cloning or moving note.
|
|
||||||
* `runOnBranchChange` (since v0.62) - executes when a branch is changed - either expanded status or prefix are changed.
|
|
||||||
* `runOnBranchDeletion` - executes when a branch is delete. Branch is a link between parent note and child note and is deleted e.g. when moving note (old branch/link is deleted).
|
|
||||||
* `runOnChildNoteCreation` - executes when new note is created under _this_ note
|
|
||||||
* `runOnAttributeCreation` - executes when new attribute is created under _this_ note
|
|
||||||
* `runOnAttributeChange` - executes when attribute is changed under _this_ note
|
|
@ -5,4 +5,4 @@ Trilium allows you to save common searches as notes within the note tree. The se
|
|||||||
|
|
||||||
## Location
|
## Location
|
||||||
|
|
||||||
By default, saved searches are stored in the day note. However, you can designate a different note to store saved searches by marking it with the `#searchHome` label. Additionally, for [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspace.md), you can use the `#workspaceSearchHome` label to specify a storage location for saved searches within that workspace.
|
By default, saved searches are stored in the day note. However, you can designate a different note to store saved searches by marking it with the `#searchHome` label. Additionally, for [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspaces.md), you can use the `#workspaceSearchHome` label to specify a storage location for saved searches within that workspace.
|
@ -1,5 +1,5 @@
|
|||||||
# Scripting
|
# Scripting
|
||||||
Trilium supports creating <a class="reference-link" href="Note%20Types/Code.md">Code</a> notes, i.e. notes which allow you to store some programming code and highlight it. Special case is JavaScript code notes which can also be executed inside Trilium which can in conjunction with <a class="reference-link" href="Note%20Types/Code/Script%20API.md">Script API</a> provide extra functionality.
|
Trilium supports creating <a class="reference-link" href="Note%20Types/Code.md">Code</a> notes, i.e. notes which allow you to store some programming code and highlight it. Special case is JavaScript code notes which can also be executed inside Trilium which can in conjunction with <a class="reference-link" href="Scripting/Script%20API.md">Script API</a> provide extra functionality.
|
||||||
|
|
||||||
## Scripting
|
## Scripting
|
||||||
|
|
||||||
@ -34,8 +34,8 @@ You can see more scripting with explanation in <a class="reference-link" href="
|
|||||||
|
|
||||||
## Events
|
## Events
|
||||||
|
|
||||||
See <a class="reference-link" href="Note%20Types/Code/Events.md">Events</a>.
|
See <a class="reference-link" href="Scripting/Events.md">Events</a>.
|
||||||
|
|
||||||
## Script API
|
## Script API
|
||||||
|
|
||||||
See <a class="reference-link" href="Note%20Types/Code/Script%20API.md">Script API</a>.
|
See <a class="reference-link" href="Scripting/Script%20API.md">Script API</a>.
|
@ -22,10 +22,10 @@ module.exports = new MyWidget();
|
|||||||
To implement this widget:
|
To implement this widget:
|
||||||
|
|
||||||
1. Create a new `JS Frontend` note in Trilium and paste in the code above.
|
1. Create a new `JS Frontend` note in Trilium and paste in the code above.
|
||||||
2. Assign the `#widget` [attribute](../Advanced%20Usage/Attributes.md) to the [note](../Basic%20Concepts%20and%20Features/Notes.md).
|
2. Assign the `#widget` [attribute](../../Advanced%20Usage/Attributes.md) to the [note](../../Basic%20Concepts%20and%20Features/Notes.md).
|
||||||
3. Restart Trilium or reload the window.
|
3. Restart Trilium or reload the window.
|
||||||
|
|
||||||
To verify that the widget is working, open the developer tools (`Cmd` + `Shift` + `I`) and run `document.querySelector("#my-widget")`. If the element is found, the widget is functioning correctly. If `undefined` is returned, double-check that the [note](../Basic%20Concepts%20and%20Features/Notes.md) has the `#widget` [attribute](../Advanced%20Usage/Attributes.md).
|
To verify that the widget is working, open the developer tools (`Cmd` + `Shift` + `I`) and run `document.querySelector("#my-widget")`. If the element is found, the widget is functioning correctly. If `undefined` is returned, double-check that the [note](../../Basic%20Concepts%20and%20Features/Notes.md) has the `#widget` [attribute](../../Advanced%20Usage/Attributes.md).
|
||||||
|
|
||||||
### Step 2: Adding an UI Element
|
### Step 2: Adding an UI Element
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ After reloading Trilium, the button should now appear at the bottom left of the
|
|||||||
|
|
||||||
### Step 4: Adding User Interaction
|
### Step 4: Adding User Interaction
|
||||||
|
|
||||||
Let’s make the button interactive by showing a message when it’s clicked. We'll use the `api.showMessage` method from the [Script API](../Note%20Types/Code/Script%20API.md).
|
Let’s make the button interactive by showing a message when it’s clicked. We'll use the `api.showMessage` method from the [Script API](../Script%20API.md).
|
||||||
|
|
||||||
```
|
```
|
||||||
class MyWidget extends api.BasicWidget {
|
class MyWidget extends api.BasicWidget {
|
@ -1,8 +1,8 @@
|
|||||||
# Word count widget
|
# Word count widget
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> This widget is also present in new installations in the <a class="reference-link" href="../../../Advanced%20Usage/Database/Demo%20Notes.md">Demo Notes</a>.
|
> This widget is also present in new installations in the <a class="reference-link" href="../../Advanced%20Usage/Database/Demo%20Notes.md">Demo Notes</a>.
|
||||||
|
|
||||||
Create a <a class="reference-link" href="../../Code.md">Code</a> note of type JS frontend and **give it a** `#widget` **label**.
|
Create a <a class="reference-link" href="../../Note%20Types/Code.md">Code</a> note of type JS frontend and **give it a** `#widget` **label**.
|
||||||
|
|
||||||
```
|
```
|
||||||
/*
|
/*
|
||||||
@ -82,7 +82,7 @@ class WordCountWidget extends api.NoteContextAwareWidget {
|
|||||||
module.exports = new WordCountWidget();
|
module.exports = new WordCountWidget();
|
||||||
```
|
```
|
||||||
|
|
||||||
After you make changes it is necessary to [restart Trilium](../../../Troubleshooting/Refreshing%20the%20application.md) so that the layout can be rebuilt.
|
After you make changes it is necessary to [restart Trilium](../../Troubleshooting/Refreshing%20the%20application.md) so that the layout can be rebuilt.
|
||||||
|
|
||||||
At the bottom of the note you can see the resulting widget:
|
At the bottom of the note you can see the resulting widget:
|
||||||
|
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
14
docs/User Guide/User Guide/Scripting/Events.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Events
|
||||||
|
[Script](../Scripting.md) notes can be triggered by events. Note that these are backend events and thus relation need to point to the "JS backend" code note.
|
||||||
|
|
||||||
|
## Global events
|
||||||
|
|
||||||
|
Global events are attached to the script note via label. Simply create e.g. "run" label with some of these values and script note will be executed once the event occurs.
|
||||||
|
|
||||||
|
<figure class="table"><table><thead><tr><th>Label</th><th>Description</th></tr></thead><tbody><tr><td><code>run</code></td><td><p>Defines on which events script should run. Possible values are:</p><ul><li><code>frontendStartup</code> - when Trilium frontend starts up (or is refreshed), but not on mobile.</li><li><code>mobileStartup</code> - when Trilium frontend starts up (or is refreshed), on mobile.</li><li><code>backendStartup</code> - when Trilium backend starts up</li><li><code>hourly</code> - run once an hour. You can use additional label <code>runAtHour</code> to specify at which hour, on the back-end.</li><li><code>daily</code> - run once a day, on the back-end</li></ul></td></tr><tr><td><code>runOnInstance</code></td><td>Specifies that the script should only run on a particular <a class="reference-link" href="../Advanced%20Usage/Configuration%20(config.ini%20or%20environment%20variables)/Trilium%20instance.md">Trilium instance</a>.</td></tr><tr><td><code>runAtHour</code></td><td>On which hour should this run. Should be used together with <code>#run=hourly</code>. Can be defined multiple times for more runs during the day.</td></tr></tbody></table></figure>
|
||||||
|
|
||||||
|
## Entity events
|
||||||
|
|
||||||
|
Other events are bound to some entity, these are defined as [relations](../Advanced%20Usage/Attributes.md) - meaning that script is triggered only if note has this script attached to it through relations (or it can inherit it).
|
||||||
|
|
||||||
|
<figure class="table"><table><thead><tr><th>Relation</th><th>Description</th></tr></thead><tbody><tr><td><code>runOnNoteCreation</code></td><td>executes when note is created on backend. Use this relation if you want to run the script for all notes created under a specific subtree. In that case, create it on the subtree root note and make it inheritable. A new note created within the subtree (any depth) will trigger the script.</td></tr><tr><td><code>runOnChildNoteCreation</code></td><td>executes when new note is created under the note where this relation is defined</td></tr><tr><td><code>runOnNoteTitleChange</code></td><td>executes when note title is changed (includes note creation as well)</td></tr><tr><td><code>runOnNoteContentChange</code></td><td>executes when note content is changed (includes note creation as well).</td></tr><tr><td><code>runOnNoteChange</code></td><td>executes when note is changed (includes note creation as well). Does not include content changes</td></tr><tr><td><code>runOnNoteDeletion</code></td><td>executes when note is being deleted</td></tr><tr><td><code>runOnBranchCreation</code></td><td>executes when a branch is created. Branch is a link between parent note and child note and is created e.g. when cloning or moving note.</td></tr><tr><td><code>runOnBranchChange</code></td><td>executes when a branch is updated. (since v0.62)</td></tr><tr><td><code>runOnBranchDeletion</code></td><td>executes when a branch is deleted. Branch is a link between parent note and child note and is deleted e.g. when moving note (old branch/link is deleted).</td></tr><tr><td><code>runOnAttributeCreation</code></td><td>executes when new attribute is created for the note which defines this relation</td></tr><tr><td><code>runOnAttributeChange</code></td><td>executes when the attribute is changed of a note which defines this relation. This is triggered also when the attribute is deleted</td></tr></tbody></table></figure>
|
@ -1,7 +1,7 @@
|
|||||||
# Frontend Basics
|
# Frontend Basics
|
||||||
## Frontend API
|
## Frontend API
|
||||||
|
|
||||||
The frontend api supports two styles, regular scripts that are run with the current app and note context, and widgets that export an object to Trilium to be used in the UI. In both cases, the frontend api of Trilium is available to scripts running in the frontend context as global variable `api`. The members and methods of the api can be seen on the [Script API](../Note%20Types/Code/Script%20API.md) page.
|
The frontend api supports two styles, regular scripts that are run with the current app and note context, and widgets that export an object to Trilium to be used in the UI. In both cases, the frontend api of Trilium is available to scripts running in the frontend context as global variable `api`. The members and methods of the api can be seen on the [Script API](Script%20API.md) page.
|
||||||
|
|
||||||
## Scripts
|
## Scripts
|
||||||
|
|
||||||
@ -54,4 +54,4 @@ Conversely to scripts, widgets do have some specific requirements in order to wo
|
|||||||
|
|
||||||
### Tutorial
|
### Tutorial
|
||||||
|
|
||||||
For more information on building widgets, take a look at [Widget Basics](Widget%20Basics.md).
|
For more information on building widgets, take a look at [Widget Basics](Custom%20Widgets/Widget%20Basics.md).
|
@ -21,7 +21,7 @@ TRILIUM_START_NOTE_ID=root ./trilium
|
|||||||
|
|
||||||
## Broken Script Prevents Application Startup
|
## Broken Script Prevents Application Startup
|
||||||
|
|
||||||
If a custom script causes Triliumto crash, and it is set as a startup script or in an active [custom widget](Note%20Types/Code/Custom%20Widgets.md), start Triliumin "safe mode" to prevent any custom scripts from executing:
|
If a custom script causes Triliumto crash, and it is set as a startup script or in an active [custom widget](Scripting/Custom%20Widgets.md), start Triliumin "safe mode" to prevent any custom scripts from executing:
|
||||||
|
|
||||||
```
|
```
|
||||||
TRILIUM_SAFE_MODE=true ./trilium
|
TRILIUM_SAFE_MODE=true ./trilium
|
||||||
|