From 65b5eacdb4f70b54a646c38c3d99f3cfdc1cd998 Mon Sep 17 00:00:00 2001 From: rays Date: Mon, 28 Sep 2026 17:49:54 +0000 Subject: [PATCH] Settings no longer shows the server's download folder (#61) The Settings dialog ended with the server's download_dir, read-only and the same for everyone: it is set in config.toml, so nobody can act on it from there. The admin page still shows it. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 ++ web/src/dialogs.ts | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8658f2a..d711375 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Settings no longer lists the server's download folder, which only an admin can change, on + the admin page. - On the Unread tab, a swipe back (or k) goes to the item you just read, instead of past it or back to the list. The items read on the way leave the Unread tab once you close the reader. diff --git a/web/src/dialogs.ts b/web/src/dialogs.ts index 47ee44e..e352384 100644 --- a/web/src/dialogs.ts +++ b/web/src/dialogs.ts @@ -241,9 +241,7 @@ async function prefsModal(){ settings can add more.
${everyText(g.every_mins)}, for every feed that does not set its own. - ${admin?'This and the rest of the server\'s settings are on the admin page.':'Only an admin changes this.'}
-
- ${esc(g.download_dir)}
`); + ${admin?'This and the rest of the server\'s settings are on the admin page.':'Only an admin changes this.'}`); $('#stheme').onchange=e=>setTheme(e.target.value,undefined,true); $('#smode').onchange=e=>setTheme(undefined,e.target.value,true); $('#gopml').onclick=opmlModal;