Commit Graph
4 Commits
Author SHA1 Message Date
Lauri Ojansivu 292d1db00d WCAG 2.2 AA: the axe scan runs its rules and passes, focus is never hidden, and a statement draft.
docs/Compliance/README.md WP-13 (rows 6.1 and 6.3), run in Chromium against
a live server:

- tests/playwright/specs/45-axe-accessibility.e2e.js runs axe's wcag22aa
  rules too. Its one finding, 2.5.8 Target Size, was the minicard's card
  actions menu and collapse caret: each is at least 24 x 24 pixels now.
- The scan visits the legal pages, Admin Panel / Problems / Compliance,
  the Audit log and Settings / Legal pages too. What it found there is
  fixed: the Problems menu's group heading and the Compliance status
  words had too little contrast, so had an Audit log row's error text,
  and Legal pages' section headings skipped a level.
- A new check tabs through a board and fails when a focused control is
  hidden behind the header or a popup (2.4.11), counting only when focus
  really moved. Move list and Move swimlane already serve 2.5.7.
- Admin Panel / Settings / Accessibility offers Start from WeKan's draft:
  an accessibility statement with the compliance status, what is not
  accessible, feedback, the enforcement procedure and the date, filled only
  into an empty text.
- The docs say WCAG 2.2 AA.

Thanks to xet7 !
2026-11-24 04:55:40 +02:00
Lauri Ojansivu 1319f01e17 Data access in the Audit log, and AUDIT_LOG_STDOUT=json for a SIEM.
docs/Compliance/README.md WP-11 (rows 4.2 and 4.3 b):

- Admin Panel / People / Audit log has a Data access tab: who downloaded
  what - a board as JSON, CSV, Excel, PDF or ZIP, a chart, a card, every
  board, a person's data, an Admin Panel list - one row per person, day,
  kind and target with a count, the first and last time and the last
  address, never a row per download. A raw middleware in front of every
  route (server/lib/dataAccessLog.js) counts each export that answers 200,
  and a test fails when an export route is not in its list. Kept as the
  audit log (ADMIN_AUDIT_RETENTION_DAYS); erasing an account removes its
  username and address from it. Export CSV on the tab.
- AUDIT_LOG_STDOUT=json writes every audit row, security problem and data
  access also to stdout as one JSON line ({"wekan":"audit"|"security"|
  "data-access", ...}), with only the fields the Admin Panel shows - the
  arguments as stored, already redacted (models/lib/auditStdout.js). On
  every platform's settings, the snap and the Helm chart.
- The admin CSV exports obey Admin Panel's switch that turns all export
  off.

Five new strings, translated in every language. Low confidence: ace, ak,
ay, bi, bm, bo, bua, chr, csb, cv, dz, ee, ff, fj, gn, gv, haw, fur, co, ba,
bho, as, br, an, ast-ES, ha, ht, fo, iu, kl, ks, kw, nah, lld, rup, qu, sah,
se, szl, nap, scn, sc, rm, pap, lg, rn, nd, ss, nso, st, sn, ny, om, mai,
kok, la, sm, mi, tig, ve-PP, vo, wal, tlh, zgh, uz-AR, to, tpi, ts, ve, wa,
wa-RR, wo, yo, yi.

Thanks to xet7 !
2026-11-24 04:17:13 +02:00
Lauri Ojansivu 2017f2871f Audit log: its own Admin Panel URL and title, and right-to-left table alignment.
/admin/people/audit-log opens the pane and names it in the title bar like
every other People pane, and the table aligns to the start of the line,
so it reads right to left in Arabic, Hebrew, Persian and the rest.

Thanks to xet7 !
2026-10-31 00:32:33 +02:00
Lauri Ojansivu 4d5b832499 Admin Panel / People / Audit log: what site administrators did.
Nothing recorded who set somebody's password, made somebody an admin,
changed a login setting or restored a backup. Every call of those
administrative methods by a site administrator is now kept, one document
each, for a year: when, who, which action, the outcome - a refused call
too - its arguments and the address. A password or a secret never
reaches the trail: values under a credential-named key, the arguments
that are a password by position, and a password inside a URL are
replaced by [redacted]. An administrator editing cards is not in it,
the trail is shown to site administrators only, and a trail that cannot
be written never changes what the method did. It and the REQUIRE_2FA
wrapper keep each other's marks, so neither wraps the other twice.

The new interface strings are pending translation.

Thanks to xet7 !
2026-10-31 00:09:20 +02:00