Repository navigation
Tags
Tags
p Return redirects from route guards instead of calling next() vue-router 5 deprecates the next() callback in navigation guards and warned about it (VUE_ROUTER_R0025) on every guarded navigation in the dev server. requireAuth and requireAdmin now return the location to go to, or nothing to let the navigation through; the redirects are the same.
p List only the MCP tools a key can use
tools/list showed all ten tools to every key, so a read-only key saw
run_job and abort_build and learned it couldn't use them only when a
call failed.
A tool whose scope (Meta["scope"]) the key lacks isn't added to the
key's MCP server, and the server's instructions name the missing scope
("This API key doesn't have the run scope, so the tools that need it
aren't listed."). Calling an unlisted tool is an unknown tool. The help
page still lists every tool.
TestMCPListsTheKeysTools checks a run key and a read and run key;
TestMCPTools checks a read key and its instructions; e2e/docs.spec.js
checks that a read key's list has no run_job.
p Say plainly what the analytics numbers mean
The analytics notes and labels were long and abstract ("By the
credentials a request carried, right or wrong: ..."), long key names
were cut with no way to read them, and the average a day was divided
by every day of the range, also those before wakeci counted anything,
so 36 requests on the first day read "about 1 a day".
- Labels: "Interface" instead of "Came in through", "Requests by
interface", "Not signed in" instead of "No credentials", "No
matching route" instead of "No route".
- Notes: one short line each, or none where the labels say it.
- Hovering a person or API key shows its full name, on the Builds and
the API usage tab.
- "about N a day" counts only the days with data.
- "1 requests" reads "1 request".
e2e/usage.spec.js checks the new route label and the full key name on
hover.
p Show how people use wakeci to SSO users with write, not only the ad… …min password The API usage tab and the list of who starts builds were only for the admin password, so an admin signing in with single sign-on couldn't see them. Anyone with write can already run commands on the server as wakeci and read the database these numbers come from, so hiding them from write protected nothing. Access.SeesUsage is true for the admin password and write. GET /api/analytics/requests now needs write, like the settings, and /api/analytics/ fills people for write too, also for a write API key. The analytics tabs and the /analytics/usage route follow the same rule in the page. TestAccessSeesUsage, TestRequestStatsAPI and TestAnalyticsAPI check users with and without write; e2e/usage.spec.js checks the tab.
p Drop the unused material-dynamic-colors import (X6)
App.vue imported material-dynamic-colors and never called it: BeerCSS
uses it only for ui("theme") and ui("mode"), and the app switches light
and dark with body classes. The main chunk shrinks from 268.7 kB to
217.2 kB. BeerCSS still depends on the package itself.
Removed with: npm uninstall material-dynamic-colors
p Revise the UI roadmap: labels, own styles, fixes first Labels become parameters a job marks (*_LABEL, or an optional labels: list), shown first with their names and searched exactly with NAME=value (F1, F7, F8); saved searches start in the browser (F4). BeerCSS gives way to a stylesheet of our own, page by page (S1-S4). Six small bugs found while planning come first (X1-X6), among them live updates that ignore searches with prefixes. The log design adds batched streaming, direct CodeMirror imports and the test to change.
PreviousNext