This commit is contained in:
Mateusz Gruszczyński committed 2026-10-15 10:37:23 +02:00
1 parent 2ccc598b12
commit b757b34a31
26 files changed
+671 -116

No files matched your search

+45 -1
View File
@@ -1,4 +1,18 @@
# RustProxy 0.33.0
# RustProxy 0.33.1
## 0.33.1: factory Overview preset and live layout preview
- `src/admin/web/dashboard-defaults.json` defines the factory Overview card order,
visibility, density and initial 600-sample history. Both the Rust preference
defaults and authenticated JavaScript use this same file. New accounts without
stored preferences use the full preset; **Reset to default** restores card
order/visibility, not density or browser-local sample history. Existing saved
layouts and browser-persisted sample choices are preserved. Future registry additions remain opt-in.
- An unlocked inline layout is now authoritative during live backend/Stream
updates and unrelated preference refreshes. Showing/hiding those cards takes
effect immediately and stays stable until **Save and lock** or **Cancel**.
Cancel restores the saved layout. No extra polling, storage migrations or
production request-path changes are introduced.
**0.31.0 panel/cache additions:** browser-negotiated Zstd/Brotli/gzip for HTML, JS and CSS (Settings → Administration); optional HTTP BAN/PURGE restricted to explicit IP/CIDR allowlist (Settings → Cache, disabled by default); System information Refresh button beside the API badge. See [Settings](docs/SETTINGS.md) and [Cache](docs/CACHE.md).
@@ -832,3 +846,33 @@ it is a loopback-only development peer, never an authentication product.
### Docker vhosts operational controls
Docker vhosts now publish/unpublish immediately per service. Each Docker agent has a configurable inventory polling interval, while the optional Live view refreshes cached runtime state only. Docker-backed applications can use ACL profiles/inline ACLs and per-vhost proxy connect/header/read/send timeouts, matching the ordinary vhost proxy controls.
## Dashboard layout export (0.33.1)
To share a preferred Overview arrangement for a future factory preset, open the authenticated
Overview and run this in the browser developer console (no privileged database access):
```javascript
(async () => {
const response = await fetch('/api/preferences', { credentials: 'same-origin' });
if (!response.ok) throw new Error(`Preferences HTTP ${response.status}`);
const prefs = await response.json();
const exportData = {
dashboard_widgets: prefs.dashboard_widgets,
dashboard_hidden_widgets: prefs.dashboard_hidden_widgets,
dashboard_density: prefs.dashboard_density,
overview_samples: localStorage.getItem('rustproxy.overview.liveChartSamples')
};
console.log(JSON.stringify(exportData, null, 2));
})();
```
Copy the JSON shown in Console using the browser's selection or context menu.
Do not export the full preferences response or session cookies. This is an export
for review, not an automatic factory-default change; existing account layouts
remain unchanged.
The original Cache HIT donut shows accumulated cache counters; the optional recent
Cache HIT chart displays interval-delta counters. They intentionally measure
different windows and can produce different percentages.