Update Poznote to 6.79.0

Co-authored-by: Kai Chappel <kaichappel@users.noreply.github.com>
Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
authored and GitHub committed 2026-09-08 16:41:07 +10:00
1 parent c544aef557
commit 138b1515d1
4 files changed
+111 -10

No files matched your search

+4 -2
View File
@@ -7,13 +7,14 @@ services:
APP_PORT: 80
app:
image: ghcr.io/timothepoznanski/poznote:6.74.0@sha256:b967f36a646d6b0fcc801d577382d48f3a3d4ee960631f57820c91800244b589
image: ghcr.io/timothepoznanski/poznote:6.79.0@sha256:917102f534025dbf615b3a1d88753434a2272f2047e274da41b87b02321a4922
restart: on-failure
environment:
SQLITE_DATABASE: /var/www/html/data/database/poznote.db
HTTP_WEB_PORT: 80
volumes:
- ${APP_DATA_DIR}/data:/var/www/html/data
- ${APP_DATA_DIR}/umbrel-mcp.php:/var/www/html/umbrel-mcp.php:ro
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--timeout=5", "-O", "/dev/null", "http://127.0.0.1/api/health"]
interval: 30s
@@ -22,11 +23,12 @@ services:
start_period: 10s
mcp:
image: ghcr.io/timothepoznanski/poznote-mcp:6.74.0@sha256:7f56f7933e83f2229fd6c4f866cd4eb5ffad1de8d25566d738608b4e5cb8e6f2
image: ghcr.io/timothepoznanski/poznote-mcp:6.79.0@sha256:c4bcaf47b1de83b9b423724574b4459f90193bc4abe5f43c4ccdfc7deee77f13
restart: on-failure
environment:
POZNOTE_API_URL: http://poznote_app_1:80/api/v1
POZNOTE_DEBUG: ${POZNOTE_DEBUG:-false}
POZNOTE_MCP_AUTH_TOKEN: ${APP_POZNOTE_MCP_AUTH_TOKEN:?MCP authentication token is required}
ports:
- "8340:8045"
volumes:
+1
View File
@@ -0,0 +1 @@
export APP_POZNOTE_MCP_AUTH_TOKEN="$(derive_entropy "${app_entropy_identifier}-mcp-auth-token")"
+14 -8
View File
@@ -3,12 +3,15 @@ id: poznote
name: Poznote
tagline: A powerful app for taking notes
category: files
version: "6.74.0"
version: "6.79.0"
port: 8389
description: >-
📝 Poznote is a clean and focused application designed to help users capture, structure, and refine information in a flexible workspace. It combines a rich text editor with Markdown formatting to support both quick jotting and long form writing, allowing thoughts to grow and change without friction.
External MCP clients require an access token. Sign in to Poznote as an administrator, then open http://umbrel.local:8389/umbrel-mcp.php to get your connection URL and token. If your Umbrel uses a different address, use that address instead of umbrel.local.
The interface encourages fluid organization through tags, search, and customizable workspaces so ideas remain easy to find even as the collection expands. Poznote supports attachments for images, documents, and other files, making it possible to keep related material together within a single note.
@@ -28,19 +31,22 @@ gallery:
- 3.jpg
- 4.jpg
releaseNotes: |-
Poznote 6.74.0 improves snapshots, AI setup, and UI customization:
⚠️ MCP clients now require authentication. Your existing MCP URL and port 8340 stay the same, but connections will fail until you add an access token. Sign in to Poznote as an administrator, then open http://umbrel.local:8389/umbrel-mcp.php to get your token and setup instructions. Replace umbrel.local with your Umbrel's address if needed. Configure your client with an Authorization header of Bearer YOUR_TOKEN. The token stays the same across app restarts and updates. The built-in AI assistant does not need this token.
- Restored snapshots now preserve note attachments and images, including files that were removed from the live note while still referenced by a snapshot.
- Adds a Settings option for how many automatic daily snapshots to keep per note, plus individual snapshot deletion from the Snapshots dialog and API.
- Lets the AI assistant model be selected from a dropdown after checking provider access.
- Adds an option to hide the Settings page's Recent section.
- Fixes workspace deletion cleanup for note snapshots and removes a redundant dashboard breadcrumb home button.
Poznote 6.79.0 refreshes Settings, navigation, dashboard organization, and AI-assisted workflows:
- Redesigns the desktop Settings page with a section list, remembered section selection, direct section links, row-based cards, and keyboard-friendly switches.
- Adds customizable separator lines to the icon sidebar, regroups the default sidebar order, removes the Support heart button, and moves Favorites access to the Favorites system folder and dashboard.
- Adds live note refresh and conflict-safe autosave so changes made by another tab, the API, MCP, or the AI assistant can be picked up without manual reloads.
- Expands dashboard organization with drag-and-drop card ordering, wide cards, saved scopes, workspace tags/colors, multi-workspace views, and tag/date/color filters.
- Improves the AI assistant panel, dashboard assistant access, current-note awareness, note/folder/task/reminder tools, and model/provider setup.
- Adds richer embedded task lists and bearer-token authentication for MCP clients.
If you're updating from before Poznote 6.51.0, you may need to log in again because of the remember-me cookie security changes.
If you're updating from before Poznote 6.21.0, existing Excalidraw diagrams may need to be opened, slightly modified, and saved again before their generated images match the current dark/light theme.
Full release notes can be found at https://github.com/timothepoznanski/poznote/releases/tag/6.74.0
Full release notes can be found at https://github.com/timothepoznanski/poznote/releases/tag/6.79.0
dependencies: []
path: "/login.php"
defaultUsername: "admin_change_me"
+92
View File
@@ -0,0 +1,92 @@
<?php
require_once __DIR__ . '/auth.php';
if (!isAuthenticated()) {
header('Location: login.php?redirect=umbrel-mcp.php');
exit;
}
requireAdmin();
requireActiveAccountOwner();
header('Cache-Control: no-store');
header('Referrer-Policy: no-referrer');
header('X-Content-Type-Options: nosniff');
header("Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; script-src 'unsafe-inline'; base-uri 'none'; frame-ancestors 'none'; form-action 'none'");
// Umbrel renders this template on install, update and start. Use a separate
// credential for inbound clients, never Poznote's internal data/.mcp_token.
define('UMBREL_MCP_TOKEN', '${APP_POZNOTE_MCP_AUTH_TOKEN}');
if (!preg_match('/\A[a-f0-9]{64}\z/', UMBREL_MCP_TOKEN)) {
http_response_code(503);
exit('MCP setup is unavailable. Restart Poznote from Umbrel and try again.');
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<title>Connect an AI assistant · Poznote</title>
<style>
* { box-sizing: border-box; }
body { margin: 0; padding: 32px 20px; font: 16px/1.6 system-ui, sans-serif; background: #f5f7fa; color: #182333; }
main { max-width: 680px; margin: 24px auto; padding: 32px; border: 1px solid #dce2e9; border-radius: 16px; background: #fff; }
a { color: #0865bc; }
h1 { margin: 24px 0 12px; font-size: 28px; line-height: 1.25; }
h2 { margin: 28px 0 8px; font-size: 18px; }
p { margin: 8px 0 16px; }
label { display: block; margin: 16px 0 6px; font-weight: 600; }
input { width: 100%; padding: 12px; border: 1px solid #aebccc; border-radius: 8px; font: 14px/1.5 ui-monospace, monospace; color: inherit; background: #f5f7fa; }
input:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #1684e7; outline-offset: 3px; }
details { margin: 20px 0; }
summary { cursor: pointer; font-weight: 600; }
code { font: 14px ui-monospace, monospace; overflow-wrap: anywhere; }
.hint { color: #526174; font-size: 14px; }
@media (max-width: 480px) { main { padding: 24px 18px; } h1 { font-size: 24px; } }
@media (prefers-color-scheme: dark) {
body { background: #141a22; color: #e8edf4; }
main { background: #1e2632; border-color: #394657; }
input { background: #141a22; border-color: #607186; }
a { color: #77bbff; }
.hint { color: #afbdcf; }
}
</style>
</head>
<body>
<main>
<a href="index.php">← Back to Poznote</a>
<h1>Connect an AI assistant</h1>
<p>Connect an external MCP client, such as Claude or VS Code, to your Poznote notes.</p>
<label for="mcp-url">MCP server URL</label>
<input id="mcp-url" type="text" readonly value="http://${DEVICE_DOMAIN_NAME}:8340/mcp" spellcheck="false" autocomplete="off">
<p class="hint">Use this address on your local network. For remote connections, use a VPN or an HTTPS proxy.</p>
<details>
<summary>Show access token</summary>
<label for="mcp-token">Bearer token</label>
<input id="mcp-token" type="text" readonly value="<?php echo htmlspecialchars(UMBREL_MCP_TOKEN, ENT_QUOTES, 'UTF-8'); ?>" spellcheck="false" autocomplete="off">
<p class="hint">This token grants access to notes in all profiles, including editing and deleting them. Give it only to clients you trust.</p>
</details>
<h2>Configure your client</h2>
<p>Add an HTTP MCP server using the URL above. Choose bearer-token authentication and paste the token. If your client asks for a header, use <code>Authorization</code> with the value <code>Bearer YOUR_TOKEN</code>.</p>
<p>Existing connections also need this token after the update. The URL and port stay the same, and the token stays the same across app restarts and updates on this Umbrel.</p>
<p class="hint">Poznote's built-in AI assistant does not need this token.</p>
</main>
<script>
// Match the address used to open Poznote, including custom hostnames and
// IPv6 literals. Only the local MCP port and path differ.
const endpoint = new URL(window.location.href);
endpoint.protocol = 'http:';
endpoint.port = '8340';
endpoint.pathname = '/mcp';
endpoint.search = '';
endpoint.hash = '';
document.getElementById('mcp-url').value = endpoint.href;
document.querySelectorAll('input[readonly]').forEach(input => {
input.addEventListener('click', () => input.select());
});
</script>
</body>
</html>