From: PhiTux Date: Fri, 24 Oct 2025 08:25:27 +0000 (+0200) Subject: package update & added TB to file-/disksize X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=005c1ea83c9a86e4682d33e8808f8a3de13895ce;p=DailyTxT.git package update & added TB to file-/disksize --- diff --git a/README.md b/README.md index 451492f..7cf0919 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,10 @@ The old version 1 is moved to the [v1 branch](https://github.com/PhiTux/DailyTxT ### Newest Testing Versions: ``` +2.0.0-testing.6 (2025-10-24) +- Added TB as file-/disksize +- Update package dependencies + 2.0.0-testing.5 (2025-10-22) - Bugfix for wrong day-of-week in calendar diff --git a/backend/version b/backend/version index 87060a5..a4f1c83 100644 --- a/backend/version +++ b/backend/version @@ -1 +1 @@ -2.0.0-testing.4 +2.0.0-testing.5 diff --git a/frontend/package-lock.json b/frontend/package-lock.json index a070708..af5ebf6 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -41,7 +41,7 @@ "svelte-fa": "^4.0.4", "typescript": "^5.9.3", "typescript-eslint": "^8.46.0", - "vite": "^7.1.9", + "vite": "^7.1.11", "vite-plugin-mkcert": "^1.17.8" } }, @@ -8069,9 +8069,9 @@ } }, "node_modules/vite": { - "version": "7.1.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.9.tgz", - "integrity": "sha512-4nVGliEpxmhCL8DslSAUdxlB6+SMrhB0a1v5ijlh1xB1nEPuy1mxaHxysVucLHuWryAxLWg6a5ei+U4TLn/rFg==", + "version": "7.1.12", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.12.tgz", + "integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==", "dev": true, "license": "MIT", "dependencies": { diff --git a/frontend/package.json b/frontend/package.json index f6bab28..8654c9d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -30,7 +30,7 @@ "svelte-fa": "^4.0.4", "typescript": "^5.9.3", "typescript-eslint": "^8.46.0", - "vite": "^7.1.9", + "vite": "^7.1.11", "vite-plugin-mkcert": "^1.17.8" }, "overrides": { diff --git a/frontend/src/i18n/de.json b/frontend/src/i18n/de.json index 1a076bc..85e2ab6 100644 --- a/frontend/src/i18n/de.json +++ b/frontend/src/i18n/de.json @@ -145,6 +145,9 @@ "navbar": { "greeting": "Hi {user}" }, + "nav": { + "logout": "Logout" + }, "read": { "load_images": "{count, plural, one {{count} Bild laden ({size})} other {Alle {count} Bilder des Monats laden ({size})}}", "no_entries": "Keine Einträge" diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index b928aac..7d29a5d 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -145,6 +145,9 @@ "navbar": { "greeting": "Hi {user}" }, + "nav": { + "logout": "Logout" + }, "read": { "load_images": "{count, plural, one {Load {count} image of the month ({size})} other {Load all {count} images of the month ({size})}}", "no_entries": "No entries" diff --git a/frontend/src/lib/Datepicker.svelte b/frontend/src/lib/Datepicker.svelte index 1fd4447..0e37e77 100644 --- a/frontend/src/lib/Datepicker.svelte +++ b/frontend/src/lib/Datepicker.svelte @@ -24,7 +24,6 @@ ($cal.currentMonth !== lastMonth || $cal.currentYear !== lastYear) && $settings.firstDayOfWeek !== undefined ) { - console.log($settings.firstDayOfWeek); // set animation direction animationDirection = $cal.currentMonth > lastMonth ? 1 : -1; if ($cal.currentYear > lastYear) { diff --git a/frontend/src/lib/helpers.js b/frontend/src/lib/helpers.js index 801d8d8..7b1bf86 100644 --- a/frontend/src/lib/helpers.js +++ b/frontend/src/lib/helpers.js @@ -5,7 +5,7 @@ function formatBytes(bytes) { if (!+bytes) return '0 Bytes'; const k = 1024; - const sizes = ['B', 'KB', 'MB', 'GB']; + const sizes = ['B', 'KB', 'MB', 'GB', 'TB']; const i = Math.floor(Math.log(bytes) / Math.log(k));