mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. Thanks to xet7 !
5.2 KiB
5.2 KiB
Admin Panel / Problems / Boards Report
What it is
Every board on the instance, with its visibility, members, organizations and
teams. Address: /admin/problems/boards. Site administrators only, and over
the whole instance, not only the boards the administrator is a member of. It is
for answering which boards exist, who can see each one, and who is on it
without opening every board.
Read more
- Kanban board and Kanban (development) on Wikipedia - what a board is.
- WeKan: Organizations, Teams, Cards Report, Table page (the shared table this pane uses).
How to use it
- Open your member menu (your avatar at the top right) and click Admin Panel.
- Click the Problems tab at the top.
- In the left menu, under Reports, click Boards Report.
- To find a board by name, type part of its title in the search box and press Enter. The search matches the title, case-insensitively, and starts again from page 1.
- To see only boards of one visibility, choose it in Permission: All, Public, Signed-in users or Private. The list starts again from page 1.
- Use the previous / next buttons to page through the boards.
The pane is read-only.
| Column | Holds |
|---|---|
| Title | the board title; a title longer than 30 characters is cut to 29 and ... |
| Id | the board id, cut the same way |
| Permission | public, instance (shown in the filter as Signed-in users) or private |
| Archived? | Yes or No |
| Members | user names of the active members; a removed member is not listed (#5122) |
| Organizations | the display names of the organizations the board is shared with |
| Teams | the display names of the teams the board is shared with |
How the numbers are calculated
- Rows per page: 10 (
TABLE_PAGE_ROWS_PER_PAGEin models/lib/tablePage.js). - Total and pages: the total is
getBoardsReportCount(search, permission), a count of the same query the page uses; pages =max(1, ceil(total / 10)). The total is counted again only when the search or the filter changes, not on every page; a page past the end after rows were removed is moved back to the last page. - Order: the boards' default sort order (
sort: { sort: 1 }). - Archived boards are included and marked Yes.
How it works in WeKan
The shared table page renders it, fetched one page at a time from the server:
- server/publications/boards.js -
the
boardsReportpublication and thegetBoardsReportCountmethod. Both refuse anybody who is not a site administrator (isAdmin); the publication returns nothing and the method throwsnot-authorized. The query isboardsReportQuery: an escaped, case-insensitive title regex and, unless the filter is All,permission. The page is published manually (fetch,added,ready) rather than as a live cursor, because a sorted and limited live observe hangs on FerretDB's oplog. With the boards it publishes the members' safe user fields (never the current user's, #6919), and the boards' organizations and teams. - client/components/settings/adminProblems.js -
the
report-boardscolumn spec inREPORT_TABLES,memberNames(which skips members withisActive: false), the Permission filter and the paging. - Collections:
boards(title,permission,archived,members,orgs,teams,sort),users,org,team. - Tests: tests/boardsReportFilter.test.cjs
pins the Permission filter,
tests/adminPageRows.test.cjs the
page of ten, and tests/tablePage.test.cjs
the shared table and the
report-boardsmenu entry.
Commits
- Members, organizations and teams sent to the report never include the current user's partial profile
- Add the Permission filter
- Show every board of the instance, not only the admin's own
- Paginate honestly: one page of ten, index-backed
- Publish the page manually so it loads on FerretDB
- Admin Panel Problems page replaces the Reports button
- List only active members (#5122)
- Check board access when listing boards
- Add the Boards Report to Admin Reports