From 83962d61a90469fa3d9cd4a2d874824a6fec8e18 Mon Sep 17 00:00:00 2001 From: Aemeath <35622087+tickcount@users.noreply.github.com> Date: Fri, 13 Nov 2026 10:02:04 +0300 Subject: [PATCH] Dawnline 0.20.1 - Fix the grey panel that 0.20.0 put behind the cards of the People list. --- .github/ISSUE_TEMPLATE/1-bug.yml | 121 ++++++++++++++++++ .github/ISSUE_TEMPLATE/2-feature.yml | 33 +++++ .github/ISSUE_TEMPLATE/3-question.yml | 33 +++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++ package/luci-app-dawnline/Makefile | 2 +- .../root/usr/share/dawnline/version | 2 +- web/package-lock.json | 4 +- web/package.json | 2 +- web/src/admin/flows/packages.ts | 8 +- web/src/admin/styles/shadow/sheets.css | 20 +-- 10 files changed, 215 insertions(+), 18 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/1-bug.yml create mode 100644 .github/ISSUE_TEMPLATE/2-feature.yml create mode 100644 .github/ISSUE_TEMPLATE/3-question.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml new file mode 100644 index 0000000..7517c19 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug.yml @@ -0,0 +1,121 @@ +name: Bug report +description: Something in Dawnline does not work as it should +type: Bug +labels: ["needs triage"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time. A report that can be reproduced gets fixed much sooner, so the fields below ask for what is usually needed. + + **Before you send it, remove from everything you paste:** private and preshared keys, people's personal links (`https://…/p/…`) and public IP addresses. The service log masks keys by itself; `awg show` does not. + + - type: dropdown + id: area + attributes: + label: Where it happens + options: + - Admin (LuCI) + - Personal portal + - A device connecting, or the tunnel itself + - Access, limits and end dates + - Site to site (networks behind a router) + - Install and updates + - Something else + validations: + required: true + + - type: textarea + id: what + attributes: + label: What happened + description: What you saw. A screenshot can be dragged into this field. + validations: + required: true + + - type: textarea + id: expected + attributes: + label: What you expected + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: | + 1. Open … + 2. Press … + 3. See … + validations: + required: true + + - type: input + id: version + attributes: + label: Dawnline version + description: Settings → Updates, or `cat /usr/share/dawnline/version` on the router. + placeholder: "0.20.0" + validations: + required: true + + - type: dropdown + id: openwrt + attributes: + label: OpenWrt + options: + - "25.12" + - "24.10" + - Snapshot + - Other (say which below) + validations: + required: true + + - type: input + id: router + attributes: + label: Router and architecture + description: The model, and the architecture from `ubus call system board` (the `target` line) or `/etc/openwrt_release`. + placeholder: Xiaomi AX3000T, aarch64_cortex-a53 + validations: + required: true + + - type: input + id: client + attributes: + label: App and system of the device + description: For a problem with one device, the app it connects with and its system. For a problem in a page, the browser. + placeholder: AmneziaWG 2.0 on iOS 26 · Safari 26 + + - type: textarea + id: health + attributes: + label: Health + description: Overview → Health. Which checks are not green, and what they say. + + - type: textarea + id: log + attributes: + label: Service log + description: The last lines around the moment it happened. Settings → History and storage → System log set to «verbose» says more. + placeholder: logread -e dawnline | tail -n 100 + render: text + + - type: textarea + id: awg + attributes: + label: awg show + description: For a device that does not connect or cannot reach something. Remove the keys and replace public addresses before you paste. + placeholder: awg show + render: text + + - type: checkboxes + id: checks + attributes: + label: Before sending + options: + - label: I removed keys, personal links and public addresses from what I pasted. + required: true + - label: I looked through the open issues and did not find this one. + required: true diff --git a/.github/ISSUE_TEMPLATE/2-feature.yml b/.github/ISSUE_TEMPLATE/2-feature.yml new file mode 100644 index 0000000..b2e1666 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature.yml @@ -0,0 +1,33 @@ +name: Feature request +description: Something Dawnline cannot do yet, or could do better +type: Feature +labels: ["needs triage"] +body: + - type: textarea + id: problem + attributes: + label: What you are trying to do + description: The situation, not the solution. Who connects, from where, to what, and where it stops today. + validations: + required: true + + - type: textarea + id: wish + attributes: + label: What would help + description: How you imagine it working, in the admin, the portal or on the router. + validations: + required: true + + - type: textarea + id: today + attributes: + label: What you do today + description: A workaround you use, or another tool that does it. + + - type: input + id: setup + attributes: + label: Your setup + description: Dawnline and OpenWrt versions, the router, how many people and servers. Only what matters for the request. + placeholder: Dawnline 0.20.0, OpenWrt 25.12, one server, 12 people diff --git a/.github/ISSUE_TEMPLATE/3-question.yml b/.github/ISSUE_TEMPLATE/3-question.yml new file mode 100644 index 0000000..7871a60 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3-question.yml @@ -0,0 +1,33 @@ +name: Question +description: How something works, or how to set it up +labels: ["question"] +body: + - type: markdown + attributes: + value: | + The [README](https://github.com/tickcount/luci-app-dawnline#readme) answers the common ones in its FAQ. If yours is not there, ask here. + + Remove private keys, personal links and public IP addresses from anything you paste. + + - type: textarea + id: question + attributes: + label: What you want to do + description: What you are setting up and what you want to end up with. + validations: + required: true + + - type: textarea + id: tried + attributes: + label: What you tried + description: The settings you changed and what came of it. + + - type: input + id: setup + attributes: + label: Versions + description: Dawnline and OpenWrt, and the router. + placeholder: Dawnline 0.20.0, OpenWrt 25.12, Xiaomi AX3000T + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3e09826 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Security problem + url: https://github.com/tickcount/luci-app-dawnline/security/advisories/new + about: Report a vulnerability privately. Please do not open a public issue for it. + - name: Install, requirements and FAQ + url: https://github.com/tickcount/luci-app-dawnline#readme + about: How to install and update, what Dawnline needs, and answers to common questions. diff --git a/package/luci-app-dawnline/Makefile b/package/luci-app-dawnline/Makefile index 731eb24..e10678e 100644 --- a/package/luci-app-dawnline/Makefile +++ b/package/luci-app-dawnline/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-dawnline -PKG_VERSION:=0.20.0 +PKG_VERSION:=0.20.1 PKG_RELEASE:=1 PKG_LICENSE:=MIT # po//dawnline.po becomes luci-i18n-dawnline- (luci.mk), released diff --git a/package/luci-app-dawnline/root/usr/share/dawnline/version b/package/luci-app-dawnline/root/usr/share/dawnline/version index 5a03fb7..847e9ae 100644 --- a/package/luci-app-dawnline/root/usr/share/dawnline/version +++ b/package/luci-app-dawnline/root/usr/share/dawnline/version @@ -1 +1 @@ -0.20.0 +0.20.1 diff --git a/web/package-lock.json b/web/package-lock.json index 71d05a0..2da9827 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,12 +1,12 @@ { "name": "dawnline-web", - "version": "0.20.0", + "version": "0.20.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dawnline-web", - "version": "0.20.0", + "version": "0.20.1", "license": "MIT", "dependencies": { "qrcode-generator": "2.0.4" diff --git a/web/package.json b/web/package.json index 3209f70..d9e8da5 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "dawnline-web", - "version": "0.20.0", + "version": "0.20.1", "private": true, "license": "MIT", "type": "module", diff --git a/web/src/admin/flows/packages.ts b/web/src/admin/flows/packages.ts index 6124fe1..528e95d 100644 --- a/web/src/admin/flows/packages.ts +++ b/web/src/admin/flows/packages.ts @@ -57,11 +57,11 @@ function view(items: SysItem[], pkgs: NonNullable): Vie ...items.map((it) => h( 'div', - { class: 'pk' }, + { class: 'pks-f' }, h('div', { class: 'chk' }, glass(it.icon, 'grey'), h('span', { class: 'chk-t' }, h('b', {}, it.title), h('span', {}, it.sub))), h( 'ul', - { class: 'pk-l' }, + { class: 'pks-l' }, ...it.pkgs.map((name) => { const x = pkgs[name]; return h( @@ -69,8 +69,8 @@ function view(items: SysItem[], pkgs: NonNullable): Vie {}, h('span', { class: 'mono' }, name), !x?.installed - ? h('span', { class: 'pk-v' }, _('not installed')) - : h('span', { class: `pk-v mono${x.latest ? ' new' : ''}` }, x.latest ? `${x.installed} → ${x.latest}` : x.installed), + ? h('span', { class: 'pks-v' }, _('not installed')) + : h('span', { class: `pks-v mono${x.latest ? ' new' : ''}` }, x.latest ? `${x.installed} → ${x.latest}` : x.installed), ); }), ), diff --git a/web/src/admin/styles/shadow/sheets.css b/web/src/admin/styles/shadow/sheets.css index 9799eee..c0b2910 100644 --- a/web/src/admin/styles/shadow/sheets.css +++ b/web/src/admin/styles/shadow/sheets.css @@ -839,21 +839,23 @@ flex: none; } -/* the packages close-up (flows/packages.ts): a block a feature, its packages as rows of name and version */ +/* the packages close-up (flows/packages.ts): a block a feature, its packages as rows of name and version. Its + classes are `pks-*`: `pk` and `pk-*` are the People list's while picking (pages/people/pick.ts), and a block named + `.pk` here painted that whole list as one grey panel (the owner, 2026-11-13: «появился какой-то серый фон») */ .pks { display: flex; flex-direction: column; gap: 8px; } -.pk { +.pks-f { border-radius: 16px; background: var(--field); } -.pk > .chk { +.pks-f > .chk { background: none; padding: 12px 8px 4px 12px; } -.pk-l { +.pks-l { list-style: none; margin: 0; padding: 4px 14px 14px 52px; @@ -863,25 +865,25 @@ font-size: 13px; line-height: 18px; } -.pk-l > li { +.pks-l > li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; } -.pk-l .mono { +.pks-l .mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; } -.pk-l span { +.pks-l span { overflow-wrap: anywhere; } -.pk-v { +.pks-v { margin-left: auto; color: var(--text-2); } -.pk-v.new { +.pks-v.new { color: var(--warn); } .opt[disabled] {