diff --git a/Cargo.lock b/Cargo.lock index 47c4aa6..b3eb5ff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2581,7 +2581,7 @@ dependencies = [ [[package]] name = "rustpad" -version = "0.2.52" +version = "0.2.53" dependencies = [ "argon2", "aws-config", diff --git a/Cargo.toml b/Cargo.toml index 3b4c5de..0510d9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpad" -version = "0.2.52" +version = "0.2.53" edition = "2024" rust-version = "1.94" description = "Collaborative Markdown notepad built with Axum, WebSockets and SQLite, PostgreSQL and MySQL" diff --git a/LICENSE.md b/LICENSE.md index dd0fcbe..3161d85 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -5,7 +5,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License. COMMERCIAL LICENSE NOTICE: -Commercial use in proprietary applications (including by [NAZWA FIRMY]) +Commercial use in proprietary applications (including by linuxiarz.pl Mateusz Gruszczyński) is not permitted under GPLv3 without an explicit Commercial License Agreement. -To purchase a commercial license, contact: linuxiarz>linuxiarz.pl +Contact: linuxiarz>linuxiarz.pl diff --git a/scripts/browser-libs.lock.json b/scripts/browser-libs.lock.json index 32d22b0..7de6f4c 100644 --- a/scripts/browser-libs.lock.json +++ b/scripts/browser-libs.lock.json @@ -1,12 +1,12 @@ { "libraries": { "highlight": { - "integrity": "sha512-VEPdHzwelZ12hEX18BHduqxMZGolcUsrbeokHYxOUIm8X2+M7nx5QPtPeQgRxR9XjhdLv4/7DD5BWOlSrJ3k7Q==", + "integrity": "sha384-wjfDDhOPPdjtva8vWBhWeVprSpmxisEu5aYT3q1JyACqXpdKpo3PWZTMVq24MBix", "package": "@highlightjs/cdn-assets", "repository": "git://github.com/highlightjs/highlight.js.git", - "shasum": "136984ae467865e22080b3a4b65398a086e1ae7b", - "tarball": "https://registry.npmjs.org/@highlightjs/cdn-assets/-/cdn-assets-11.11.1.tgz", - "version": "11.11.1" + "shasum": "", + "tarball": "https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.12.0/highlight.min.js", + "version": "11.12.0" }, "mermaid": { "integrity": "sha512-TQsq6u22fAn3rek5VOubrhKPo1g5hwC3FXUN9hiyupTckcYiGuuKGkNQrKYwGJkXUxZdojwRG46gsSCFZMDp4g==", @@ -18,4 +18,4 @@ } }, "schema": 1 -} +} \ No newline at end of file diff --git a/static/css/styles.css b/static/css/styles.css index 32bfe80..ff06c39 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -3433,7 +3433,7 @@ dialog::backdrop { display: none; } -.home-footer__author { +.home-footer__about { margin-left: auto; } @@ -3574,6 +3574,29 @@ dialog::backdrop { margin: 0; } +.about-content { + display: grid; + gap: 16px; + color: var(--dialog-text); + font-size: .82rem; + line-height: 1.55; +} + +.about-content p { + margin: 0; +} + +.about-content a { + color: var(--accent-text-strong); + overflow-wrap: anywhere; +} + +.about-license { + display: grid; + gap: 10px; + padding-top: 2px; +} + .identity-fields { display: grid; gap: 14px; @@ -3642,8 +3665,9 @@ dialog::backdrop { text-align: center; } - .home-footer__author { + .home-footer__about { margin-left: 0; + align-self: center; } .identity-panel { diff --git a/static/home.html b/static/home.html index fe22672..95837a0 100644 --- a/static/home.html +++ b/static/home.html @@ -86,11 +86,35 @@ - Author: @linuxiarz.pl + + +
+ +
+

About

+

RustPad project information and licensing.

+
+
+

Author
Mateusz Gruszczynski

@linuxiarz.pl

+

Git repository
https://git.linuxiarz.pl/gru/rustpad

+
+ Licence +

Copyright (C) 2026 Mateusz Gruszczyński @linuxiarz.pl

+

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General + Public License as published by the Free Software Foundation, either version 3 of the License.

+

COMMERCIAL LICENSE NOTICE: Commercial use in proprietary applications (including by + linuxiarz.pl Mateusz Gruszczyński) is not permitted under GPLv3 without an explicit Commercial License + Agreement.
Contact: linuxiarz<at>linuxiarz.pl

+
+
+
+
+
diff --git a/static/js/home.js b/static/js/home.js index 1025bb6..55d8438 100644 --- a/static/js/home.js +++ b/static/js/home.js @@ -113,6 +113,7 @@ const resourcesPagination = document.querySelector("#resources-pagination"); let resourcesPage = 1; let resourcesSearchTimer; const profileDialog = document.querySelector("#profile-dialog"); +const aboutDialog = document.querySelector("#about-dialog"); const profileForm = document.querySelector("#profile-form"); let currentSession = null; @@ -405,6 +406,10 @@ function renderAccount(session) { registerLink.hidden = !registrationEnabled; } +document.querySelector("#footer-about")?.addEventListener("click", () => aboutDialog?.showModal()); +document.querySelector("#close-about")?.addEventListener("click", () => aboutDialog?.close()); +aboutDialog?.addEventListener("click", event => { if (event.target === aboutDialog) aboutDialog.close(); }); + if (identityDialog) { const authDialog = bindIdentityDialog({ dialog: identityDialog,