2 Commits

Author SHA1 Message Date
bf8144916a chore: release v0.9.6 2026-03-17 18:16:59 +01:00
481daa4e1a fix: resolve TS build errors and suppress rootless podman capability warnings
- Add Toolbar and ToolbarButton to HistoryPage imports
- Add Tooltip import and filterBar style to MapPage
- Fix JailsTab test: use new Set<string>() instead of [] for activeJails
- Add --security-opt=no-new-privileges:true to push.sh build commands
2026-03-17 18:16:16 +01:00
6 changed files with 17 additions and 3 deletions

View File

@@ -1 +1 @@
v0.9.5 v0.9.6

View File

@@ -65,12 +65,14 @@ log "Logging in to ${REGISTRY}"
if [[ "${SKIP_BUILD}" == false ]]; then if [[ "${SKIP_BUILD}" == false ]]; then
log "Building backend image → ${BACKEND_IMAGE}:${TAG}" log "Building backend image → ${BACKEND_IMAGE}:${TAG}"
"${ENGINE}" build \ "${ENGINE}" build \
--security-opt=no-new-privileges:true \
-t "${BACKEND_IMAGE}:${TAG}" \ -t "${BACKEND_IMAGE}:${TAG}" \
-f "${SCRIPT_DIR}/Dockerfile.backend" \ -f "${SCRIPT_DIR}/Dockerfile.backend" \
"${PROJECT_ROOT}" "${PROJECT_ROOT}"
log "Building frontend image → ${FRONTEND_IMAGE}:${TAG}" log "Building frontend image → ${FRONTEND_IMAGE}:${TAG}"
"${ENGINE}" build \ "${ENGINE}" build \
--security-opt=no-new-privileges:true \
-t "${FRONTEND_IMAGE}:${TAG}" \ -t "${FRONTEND_IMAGE}:${TAG}" \
-f "${SCRIPT_DIR}/Dockerfile.frontend" \ -f "${SCRIPT_DIR}/Dockerfile.frontend" \
"${PROJECT_ROOT}" "${PROJECT_ROOT}"

View File

@@ -1,7 +1,7 @@
{ {
"name": "bangui-frontend", "name": "bangui-frontend",
"private": true, "private": true,
"version": "0.9.5", "version": "0.9.6",
"description": "BanGUI frontend — fail2ban web management interface", "description": "BanGUI frontend — fail2ban web management interface",
"type": "module", "type": "module",
"scripts": { "scripts": {

View File

@@ -61,7 +61,7 @@ describe("JailsTab", () => {
reloadAll: vi.fn(), reloadAll: vi.fn(),
}); });
mockUseConfigActiveStatus.mockReturnValue({ activeJails: [] }); mockUseConfigActiveStatus.mockReturnValue({ activeJails: new Set<string>() });
render( render(
<FluentProvider theme={webLightTheme}> <FluentProvider theme={webLightTheme}>

View File

@@ -29,6 +29,8 @@ import {
TableHeaderCell, TableHeaderCell,
TableRow, TableRow,
Text, Text,
Toolbar,
ToolbarButton,
createTableColumn, createTableColumn,
makeStyles, makeStyles,
tokens, tokens,

View File

@@ -21,6 +21,7 @@ import {
TableHeaderCell, TableHeaderCell,
TableRow, TableRow,
Text, Text,
Tooltip,
makeStyles, makeStyles,
tokens, tokens,
} from "@fluentui/react-components"; } from "@fluentui/react-components";
@@ -58,6 +59,15 @@ const useStyles = makeStyles({
borderRadius: tokens.borderRadiusMedium, borderRadius: tokens.borderRadiusMedium,
border: `1px solid ${tokens.colorNeutralStroke1}`, border: `1px solid ${tokens.colorNeutralStroke1}`,
}, },
filterBar: {
display: "flex",
alignItems: "center",
justifyContent: "space-between",
gap: tokens.spacingHorizontalM,
padding: tokens.spacingVerticalS,
borderRadius: tokens.borderRadiusMedium,
backgroundColor: tokens.colorNeutralBackground2,
},
}); });
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------