This commit is contained in:
Mateusz Gruszczyński committed 2026-11-12 11:00:28 +01:00
1 parent 668c908abb
commit 76f42b5864
30 files changed
+191 -72

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# RustProxy source and documentation maintenance # RustProxy source and documentation maintenance
Current source version: **0.36.11**. The Cargo package and binary are named `rust-proxy`. Current source version: **0.36.12**. The Cargo package and binary are named `rust-proxy`.
Before editing, read [README.md](README.md), the relevant [documentation guide](docs/README.md) and the actual code and tests. Historical release experiments are not current specifications. Use the bundled `src/admin/openapi.json` for API routes and payloads; the source implementation is authoritative for runtime behavior. Before editing, read [README.md](README.md), the relevant [documentation guide](docs/README.md) and the actual code and tests. Historical release experiments are not current specifications. Use the bundled `src/admin/openapi.json` for API routes and payloads; the source implementation is authoritative for runtime behavior.
+9
View File
@@ -2,6 +2,15 @@
Release history focused on **features, settings, default behavior, compatibility and fixes**. Changes to internal code structure and preliminary performance experiments are intentionally omitted. Historical descriptions reflect their respective releases; consult the current documentation for the settings available in the latest release. Release history focused on **features, settings, default behavior, compatibility and fixes**. Changes to internal code structure and preliminary performance experiments are intentionally omitted. Historical descriptions reflect their respective releases; consult the current documentation for the settings available in the latest release.
## Unreleased
## 0.36.12 — stable dialogs and consistent tab navigation
- **Stable dialog position:** new **Settings → Appearance → Interface → Keep dialogs at a stable top position** preference keeps primary panel dialogs anchored near the top of the viewport, so switching between tabs with different content heights no longer makes the modal jump vertically. The account-scoped `stable_dialog_position` preference is **on by default**, including for existing preference documents that omit the field; disabling it restores the previous vertically centered behavior.
- **Preferences API:** additive `stable_dialog_position` boolean (default `true`) in `/api/preferences`; no proxy configuration or database migration is required.
- **Keyboard tab navigation:** Vhost editor, Web Server editor, Traffic and Stored logs tab bars now match Settings: Arrow keys move between tabs, while Home/End jump to the first/last tab. Keyboard focus on metric info controls is now visibly outlined instead of relying only on a border colour change.
- **Upgrade notes:** no configuration or database migration is required. The stable dialog position is enabled by default; it can be disabled per administrator under Appearance.
## 0.36.11 — more Backends metrics ## 0.36.11 — more Backends metrics
- **Backends overview — new columns:** seven more metrics, each sortable and switchable under **Columns**, fill the empty space of wide screens. **HTTP codes** (on by default) shows the 2xx share, any 4xx/5xx shares and a stacked 2xx/3xx/4xx/5xx bar. **Cache** (on by default) shows a HIT-ratio ring, the response bytes served from the vhost's cache (CACHE) and the response bytes this backend delivered (ORIGIN); the tooltip lists HIT/MISS/BYPASS counts. **Req/s** shows the current request rate of the backend. **p95 / p99** shows latency percentiles, read from the latency histogram (shown as the bucket's upper bound; above 5 s is shown as ">5 s"). **Probe** shows the last active health-check latency and how long ago it ran. **Error causes** shows up to three most frequent failure counters (5xx, timeout, connect, TLS, DNS, I/O, queue, limit, retry). **Protocol** shows the last observed upstream protocol (H1/H2) and the HTTP/2 share. HTTP codes, Cache and p95 / p99 are counted per vhost, so all backends of one vhost show the same value. The vhosts panel backend table offers the same columns as text. - **Backends overview — new columns:** seven more metrics, each sortable and switchable under **Columns**, fill the empty space of wide screens. **HTTP codes** (on by default) shows the 2xx share, any 4xx/5xx shares and a stacked 2xx/3xx/4xx/5xx bar. **Cache** (on by default) shows a HIT-ratio ring, the response bytes served from the vhost's cache (CACHE) and the response bytes this backend delivered (ORIGIN); the tooltip lists HIT/MISS/BYPASS counts. **Req/s** shows the current request rate of the backend. **p95 / p99** shows latency percentiles, read from the latency histogram (shown as the bucket's upper bound; above 5 s is shown as ">5 s"). **Probe** shows the last active health-check latency and how long ago it ran. **Error causes** shows up to three most frequent failure counters (5xx, timeout, connect, TLS, DNS, I/O, queue, limit, retry). **Protocol** shows the last observed upstream protocol (H1/H2) and the HTTP/2 share. HTTP codes, Cache and p95 / p99 are counted per vhost, so all backends of one vhost show the same value. The vhosts panel backend table offers the same columns as text.
Generated
+1 -1
View File
@@ -1943,7 +1943,7 @@ dependencies = [
[[package]] [[package]]
name = "rust-proxy" name = "rust-proxy"
version = "0.36.11" version = "0.36.12"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arc-swap", "arc-swap",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "rust-proxy" name = "rust-proxy"
version = "0.36.11" version = "0.36.12"
edition = "2021" edition = "2021"
rust-version = "1.99.1" rust-version = "1.99.1"
description = "RustProxy - independent reverse proxy with local administration" description = "RustProxy - independent reverse proxy with local administration"
+52 -51
View File
@@ -1,10 +1,10 @@
61bf40a0572889dc8b0dda9eae4e93e44b0de9364b3c798106c85700ffb37c23 .dockerignore 61bf40a0572889dc8b0dda9eae4e93e44b0de9364b3c798106c85700ffb37c23 .dockerignore
4140a2956264b44f259e6a37fc00ba02097bbe68b09296e04d3d243c1287129b .env.example 4140a2956264b44f259e6a37fc00ba02097bbe68b09296e04d3d243c1287129b .env.example
e76e688874828e3743d03693b1d2872b9633b4db09909673786caf30f7cfe489 .gitignore e76e688874828e3743d03693b1d2872b9633b4db09909673786caf30f7cfe489 .gitignore
c68dfaf860c4ceaa9de2510330eb05921126ff23191087ca22ca65e5b78ed59a AGENTS.md de5b1152f03d4088c388708aae9915b7834fa566f8b400f04d1e1e74e3a8357e AGENTS.md
5659076e0d6bf903a9936bf43a716916808b3b0312c4076b07714f84370bdc0b CHANGELOG.md 98d4e7b587f97f74ad06bfe858f4c80c84c4ba570fcf4510e9406aa7e81400c8 CHANGELOG.md
9052c7f968e072cfce8dad7e6e8c72ee526dd1b97a3bdc0aee734ef32e67bfdd Cargo.lock 617cf48a90bee48d92aab090a1be07780b1af5ba2ef7dcb13008b078e6e91259 Cargo.lock
3eaef17f8ed43af9ab112eae4c3da46b8a1cd27c3b526c6f684e99923e828938 Cargo.toml 4f8f91c8c1c6f79ad966041b031adc64ac626235fc861a7b595faf459815ddc7 Cargo.toml
25c7f3c8162cbf5cc156439774118a81dae9fdc52b611ec7e40c230fc99a772c Dockerfile 25c7f3c8162cbf5cc156439774118a81dae9fdc52b611ec7e40c230fc99a772c Dockerfile
0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0 LICENSE 0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0 LICENSE
82d1dee2fc68158f0ea73259151461e64c8b18d807cd1fecfb1ed99dc30cf5f4 README.md 82d1dee2fc68158f0ea73259151461e64c8b18d807cd1fecfb1ed99dc30cf5f4 README.md
@@ -28,15 +28,15 @@ e52b31d0abf65ae3034f6cb367cca113633014ce8d1d799ad4dd5624d2c7b8bb docker-agent/n
634790f35ff4627df2a78cec2ed371f6e9ec9df00afb386075595fc7f3ed72eb docker-agent/rustproxy-docker-agent.service 634790f35ff4627df2a78cec2ed371f6e9ec9df00afb386075595fc7f3ed72eb docker-agent/rustproxy-docker-agent.service
5220d669171ec3ad65f50e0bc8de5178dadaa4904def8e1a4f61002aa9e9a55b docker-agent/server.go 5220d669171ec3ad65f50e0bc8de5178dadaa4904def8e1a4f61002aa9e9a55b docker-agent/server.go
60d108fd168064e4d6980ed7499f3219017f9878c743697e77f2efc592e4d629 docs/ACCESS.md 60d108fd168064e4d6980ed7499f3219017f9878c743697e77f2efc592e4d629 docs/ACCESS.md
5a8821f28a1f529263db462a0ed1f7c082ad91b5936491806913e5cb5b274fd9 docs/API.md 667b0669513b01dd50f4e2e8c65edbcf7caa0c3d97a17092e60a6b1ed45bf2ff docs/API.md
728b15b9825f547f34c4121219784798dd046fbbdd72ece8906d0cd77e8efc64 docs/BACKUP.md 728b15b9825f547f34c4121219784798dd046fbbdd72ece8906d0cd77e8efc64 docs/BACKUP.md
4fb55a549535f37467f14536cbf0db7be027ca8a019c2919a384af4f23655300 docs/CACHE.md 4fb55a549535f37467f14536cbf0db7be027ca8a019c2919a384af4f23655300 docs/CACHE.md
5e7b6668be6bfec77755ae45b9d369aa14135fce7632de392c6b29a7b584245a docs/CERTIFICATES.md 5e7b6668be6bfec77755ae45b9d369aa14135fce7632de392c6b29a7b584245a docs/CERTIFICATES.md
02bb383b5c3bce22616c3cc3db30a9469806dc16decb509973e84c60aa30fc5b docs/CONFIGURATION.md bfd185b3b16f8b9a95351c4be570c6491dd941f39799344110eea40d2ee1d185 docs/CONFIGURATION.md
fec29ce846d6705eb45819d85d382f28e28a146b265feab2e4c7cce2a35e5883 docs/CUSTOM_LOCATIONS.md fec29ce846d6705eb45819d85d382f28e28a146b265feab2e4c7cce2a35e5883 docs/CUSTOM_LOCATIONS.md
9c54b8da03adb1bc1a3db96a72fb99924dca25eed5ac662989aba18ca226d066 docs/DASHBOARD.md 99f928fda4f0011d647fbbc00d9064a7e50e138269609c88fbab39afdf9fb83b docs/DASHBOARD.md
11a08bf2110bbeabc924eb049a30177a216af5607ccdaf8be9178e751f78a2c4 docs/DOCKER_DISCOVERY.md 11a08bf2110bbeabc924eb049a30177a216af5607ccdaf8be9178e751f78a2c4 docs/DOCKER_DISCOVERY.md
1a15342f58600dc1579b3387a898f95d2c5ac0348245bada75ea8e453e4755db docs/FEATURES.md b93950503da032b2d24d5514c80014aefbacd55b7dec64f9d0c6499464412461 docs/FEATURES.md
2c5f97b12be53db32c7e2888d23c0ef1d82d1742df44f7e60ea818dc801a719a docs/INSTALL.md 2c5f97b12be53db32c7e2888d23c0ef1d82d1742df44f7e60ea818dc801a719a docs/INSTALL.md
6e37859bf0dced99d4a7db93790cb38fcd90191932827946d5223eaa4c784fce docs/LOGS.md 6e37859bf0dced99d4a7db93790cb38fcd90191932827946d5223eaa4c784fce docs/LOGS.md
0e9ae9509a78d00951d2c7c3f13eaf518d1f3448a29b048f5933e1f5f8440275 docs/MIGRATION.md 0e9ae9509a78d00951d2c7c3f13eaf518d1f3448a29b048f5933e1f5f8440275 docs/MIGRATION.md
@@ -45,26 +45,27 @@ fec29ce846d6705eb45819d85d382f28e28a146b265feab2e4c7cce2a35e5883 docs/CUSTOM_LO
d5894c07c68ec4230987767198434abee13b0e525842fea21bcbe752fa82742b docs/PHP_FPM.md d5894c07c68ec4230987767198434abee13b0e525842fea21bcbe752fa82742b docs/PHP_FPM.md
954b1602c865e157c867f1c81dca615f2beaa33c34de0b0fa8a6069db2aae7d0 docs/README.md 954b1602c865e157c867f1c81dca615f2beaa33c34de0b0fa8a6069db2aae7d0 docs/README.md
490a6dbe870f2b1fd4ec7816768dde6c86fa7957fc9de2d2f075e123c9222222 docs/RESPONSE_DELIVERY.md 490a6dbe870f2b1fd4ec7816768dde6c86fa7957fc9de2d2f075e123c9222222 docs/RESPONSE_DELIVERY.md
70e8c8f3352629f5600537058b1997739d9e465747cf3051da8a2cc779c3b728 docs/SCREENSHOTS.md 95ab4786792d5920a2e109b7d196838057f24b512a69d713fb5884dc75c84339 docs/SCREENSHOTS.md
3a48184b36d225757fc5e2d22c629f89bfe5d4007ff087f0be0ce02a5fb04c28 docs/SECURITY.md 3a48184b36d225757fc5e2d22c629f89bfe5d4007ff087f0be0ce02a5fb04c28 docs/SECURITY.md
bbef60ff1771da9f48af812987766e1e479408873ae2f079b13f1d5c62ecc6ff docs/STREAMS.md bbef60ff1771da9f48af812987766e1e479408873ae2f079b13f1d5c62ecc6ff docs/STREAMS.md
8cfcda59060106151f13e93ca25c1280b4390433b3fbe2921a6eb3c13bf9766d docs/TRANSPORT.md 8cfcda59060106151f13e93ca25c1280b4390433b3fbe2921a6eb3c13bf9766d docs/TRANSPORT.md
be6e8af62a7bf958b94ec15e9e3263263e511d1d33abae4e45d114833fa52b07 docs/TROUBLESHOOTING.md be6e8af62a7bf958b94ec15e9e3263263e511d1d33abae4e45d114833fa52b07 docs/TROUBLESHOOTING.md
b4abb86942f665230904fad570c1487bc173aa84633801e2999f2bfa197de4a7 docs/VHOSTS.md b4abb86942f665230904fad570c1487bc173aa84633801e2999f2bfa197de4a7 docs/VHOSTS.md
e67928a9d044e71b681c3e52f9dd8b151d6b72f965d16d5da8b0eadde98b70e9 docs/WEB_SERVER.md e67928a9d044e71b681c3e52f9dd8b151d6b72f965d16d5da8b0eadde98b70e9 docs/WEB_SERVER.md
3769f97c74b1a4a2f14d82a6f9c30fa3ee48892f423bf82dbd2ec1bd9280e45a docs/images/about.png 42822b1c9801bcadb0e2d785cb91883ca2df1da141222631f153030c95f5e197 docs/images/about.png
a85a7b9d8cac74fb1b231471d313e6587ccfc2e8abd2885a79067704176c724b docs/images/api.png deff2393a987ac7102179dc85b48baf2c4a3882291bb8c7c584d760cc497c631 docs/images/api.png
1ec8e47b6c10a905d8ce63a060be3f51efa3bf2c12529456a8c3d3a0653db95f docs/images/cache.png 74df8228ea6283004b3e87b4d297e43637371eb4a700b69c7248114c8670777a docs/images/cache.png
02b4ec5bc7e39aeb8f8928a015779b431ee12c4c16733954631de0e6699388f6 docs/images/certificates.png 4f44f53fcbf449f4b4fa7216c54582d414fd12de99d862ebb0d5febcc240ab3b docs/images/certificates.png
40d0a4d28c3938612c93425a308c895dea0659f50c661849ec5bde606a141a97 docs/images/documentation.png 844b6d480963a0d8f28dc539e4b99491cd01aff49e57cfb5e29a3dc3323c7e3e docs/images/documentation.png
6e7f634d6c0cfe8f9fbeba129d745fff00cb8bc6f388de10c4c158ae4a854a17 docs/images/login.png 963e3bc91428ff8a042ea41d4ce64363edf260aa76783f42eba28bd858e2b163 docs/images/login.png
1f921d98aa16da3a43bdcaa46ade68eb921b1d88d95a8fa87f0b51b6f2a8db9c docs/images/logs.png 6f400b182bd1cded6ee6da822d00484403600d9c073a064d0ca41ebbac96aa61 docs/images/logs.png
74c23173c2299f8ee150fd8fe160ffec0cbfb5f63b89d8debb1789fa4526fb19 docs/images/overview.png 03c181fea434123e76f31eccaf7576a65ba26fcd7239cfab107928c497c7c110 docs/images/overview-backends.png
585f7f450bb7dbbf32ce146edbee6555f849903d1abbcf665a75b5fb12ef36b8 docs/images/settings.png dcdd387384037c7a1a32f6a4d948a182e44bea472542b8fe4e9b6c917edcf551 docs/images/overview.png
fcfc9f1b932e243e2133061aa996d8ca6f8fede830190865b771482f4ab01ca5 docs/images/traffic.png 211847ddb7346dda6c9bb471af0dc86eac39701a22398c3c5126d10fdff29bb9 docs/images/settings.png
d50eff63d8c11af616a794d24967ca16a2ad827d9c3ec47299d578419b3c449f docs/images/vhost-editor.png 20be038ca64a3d9e284b3f7d583da61b9b03f03db52e0be62039a1233e49e973 docs/images/traffic.png
bb977580c5d93bd7f2eb931c795ae7f4b8676f316d0fbd1552f78e2757dd79b1 docs/images/vhosts.png 11e6e1dfb2980a308f70dc4e1104c5bc2c015689a369a16e976302faf5fa6262 docs/images/vhost-editor.png
28549d423d6976181d9b4ff9e13626ccee3b4c44db36d442eb6b3e20e9f90d6a docs/images/web-server.png 72b3393821185c00849698c38d83c7f4d7d1883ba3d6c75005d4cbe5b3abd0c0 docs/images/vhosts.png
18c8a09f2542ab22e81e36e50fb0ba004a4a0dd2cb2eb9cd7434a66a2b9303af docs/images/web-server.png
5502e8ce44276213803b66c58e3a4d804a1354f5ed5d83f47ee805e8c44ab088 examples/acl-headers.json 5502e8ce44276213803b66c58e3a4d804a1354f5ed5d83f47ee805e8c44ab088 examples/acl-headers.json
2431dd88a2d9ad2cf3cd4b8fcdfa602563ab1013c612d8917fddbe7febfb2dc3 examples/cache-dashboard.json 2431dd88a2d9ad2cf3cd4b8fcdfa602563ab1013c612d8917fddbe7febfb2dc3 examples/cache-dashboard.json
e31ac05a99615e4ea6c4c9a8b2e090968583fe3959f838a600b5740cb170f8c5 examples/config.json e31ac05a99615e4ea6c4c9a8b2e090968583fe3959f838a600b5740cb170f8c5 examples/config.json
@@ -88,12 +89,12 @@ de6550ab8f48d556d752c252212c38ba65491fd224f972c10fbe552f91ed7520 integrations/o
45be151cd85fc2ef2f1fdc3003ace63381af262e73af8a685ab48cb697cc0de1 integrations/routeros-oci-build/.env.routeros.example 45be151cd85fc2ef2f1fdc3003ace63381af262e73af8a685ab48cb697cc0de1 integrations/routeros-oci-build/.env.routeros.example
11aa102de1089ecc375f20c4bd5420fcfd3b2ef23fe0c8bdf04953fcfaf40ef0 integrations/routeros-oci-build/Dockerfile.routeros 11aa102de1089ecc375f20c4bd5420fcfd3b2ef23fe0c8bdf04953fcfaf40ef0 integrations/routeros-oci-build/Dockerfile.routeros
7c7a3e51f43b43e1c962a4b0bb591f99c1f06977bf77f23719f7f867dfe7eb8e integrations/routeros-oci-build/Dockerfile.routeros.dockerignore 7c7a3e51f43b43e1c962a4b0bb591f99c1f06977bf77f23719f7f867dfe7eb8e integrations/routeros-oci-build/Dockerfile.routeros.dockerignore
6da1af96e4faf09e7d9983c656eeb2bd01b205f0a72cde3ae3494af2fc84a9c3 integrations/routeros-oci-build/README.md 495e1e2a3a2e9e252f8a5b245bedb048eb55b848fc9ab04b8b9d5d49970391b8 integrations/routeros-oci-build/README.md
3f092a9ab80221eddd67be4d1a776acbc6e04c1eb6011b588280c28e83b2582f integrations/routeros-oci-build/build-routeros-oci.sh 3f092a9ab80221eddd67be4d1a776acbc6e04c1eb6011b588280c28e83b2582f integrations/routeros-oci-build/build-routeros-oci.sh
3f267cafa16006e5456ade78ee2d5fae02cc7ce747839523068ffd8d7c98798a integrations/routeros-oci-build/docker-entrypoint.sh 3f267cafa16006e5456ade78ee2d5fae02cc7ce747839523068ffd8d7c98798a integrations/routeros-oci-build/docker-entrypoint.sh
13189fa546c3488dddd8efc80c47f6da5241e5fc28b79cbfe795414ea05c7a4f langs/README.md 13189fa546c3488dddd8efc80c47f6da5241e5fc28b79cbfe795414ea05c7a4f langs/README.md
773661d94fbc6fc04a528ebb1bf8e67c77155b21b1d20c7360021d316ab599ee langs/en_US.json 7abfc275ee8c3b27235b42d9623b58399db9c1dfcc7edde48f7043053b9e6b8b langs/en_US.json
b8c983393812f1a8086ea7b89d47d8da699cb721fd640cb3e03b684145da8963 langs/pl_pl.json e825a280d606eb17cd76de62e6d010632b3fc7b6f9c534818033ac1538069112 langs/pl_pl.json
8ed80f14633970899d56f4ea72684a8d4b1f2843c1c78bfacc4cbb5f7ce9ef4b make_zip.py 8ed80f14633970899d56f4ea72684a8d4b1f2843c1c78bfacc4cbb5f7ce9ef4b make_zip.py
e830d37dd1f81a4b0aa7d535f5bba69e34e433b0fd99cc8ee0b296786c32379a migrations/0002_admin.sql e830d37dd1f81a4b0aa7d535f5bba69e34e433b0fd99cc8ee0b296786c32379a migrations/0002_admin.sql
20112cc82192098b8d602f1c4f7ca08712e9e1366c845fabb92753187c370d35 migrations/0003_certificate_renewals.sql 20112cc82192098b8d602f1c4f7ca08712e9e1366c845fabb92753187c370d35 migrations/0003_certificate_renewals.sql
@@ -165,23 +166,23 @@ d58a2ed83319176de4e66790ed292447c9497ae031464ec55cfe27174acb639a src/admin/file
77b8c05645969834cc8a58e249a7b60a57d6c47ad1c5cd92ffa5e4a9b5a8e73c src/admin/file_logs_query.rs 77b8c05645969834cc8a58e249a7b60a57d6c47ad1c5cd92ffa5e4a9b5a8e73c src/admin/file_logs_query.rs
743bb7436f77e04015328a0e7e7d425e43ef8aa8d61467bde157e462c1dcdc2e src/admin/logging_api.rs 743bb7436f77e04015328a0e7e7d425e43ef8aa8d61467bde157e462c1dcdc2e src/admin/logging_api.rs
243f4a9c3fa99781e19c3952354d2632c0ce65e1dafac729567cbe3c177f94cb src/admin/mod.rs 243f4a9c3fa99781e19c3952354d2632c0ce65e1dafac729567cbe3c177f94cb src/admin/mod.rs
02088b91cb61389e610b47abfe15c1c124749611967466e9845594fecdb30b87 src/admin/openapi.json 4129dfbc9571943ea6dc384ed124d100c1f20451e90b925edd8696f9b107992f src/admin/openapi.json
f7a356109786635dd58cba590c71c796dbf36b47f25845190c75ee5c6a9fcb86 src/admin/operations.rs f7a356109786635dd58cba590c71c796dbf36b47f25845190c75ee5c6a9fcb86 src/admin/operations.rs
257d93a29d0bda96462bcf695aba8d0ec0f9412c379e066ec46ae8ee034e3a53 src/admin/panel_assets.rs 257d93a29d0bda96462bcf695aba8d0ec0f9412c379e066ec46ae8ee034e3a53 src/admin/panel_assets.rs
f5127855c2994d052678865df36d703b74f4a0afc633daf7718b10da18d26e37 src/admin/panel_content.rs f5127855c2994d052678865df36d703b74f4a0afc633daf7718b10da18d26e37 src/admin/panel_content.rs
ed2b01ec23a24af877c8a0abd67d63639e8bb49f5b33c0ee844928d972561750 src/admin/preferences.rs ff581de7dff43aa90b53be9efb5fa4d8ce89ab6526c37bbc6c2c4d34eac3d764 src/admin/preferences.rs
cc3b08a80f44bc141107eef2ec41802b7f1f7b24ddc220f6375f495736bc0cfa src/admin/preferences_columns.rs f3635b624cf48598d68274a470d84d15ef9f6070d56e437a0031afa724471d5e src/admin/preferences_columns.rs
ccf3d947e2c2e0e3e330ba7ece6f1d9e1c97fd59fda15d9bc40b4f5c18af3124 src/admin/preferences_tests.rs 7fabc2b9764d9f199fe4a3c171a8d9aed9666778855f2b016b5c39420b642e15 src/admin/preferences_tests.rs
62ecbae5dee00aeeca3eb806e2605372471dfab971cde8f66f11e711df8fcea1 src/admin/public/mod.rs 62ecbae5dee00aeeca3eb806e2605372471dfab971cde8f66f11e711df8fcea1 src/admin/public/mod.rs
7a00e4ab943f74d2b1bdcbfab7f9cd3f584e9f59536b4aca6c4c31f5f5508d12 src/admin/public/tests.rs 7a00e4ab943f74d2b1bdcbfab7f9cd3f584e9f59536b4aca6c4c31f5f5508d12 src/admin/public/tests.rs
6930b4f4b45257772b321b20a9becdf9bc4610274852948ba38c2d0cdf02dfaf src/admin/refresh_preferences.rs 6930b4f4b45257772b321b20a9becdf9bc4610274852948ba38c2d0cdf02dfaf src/admin/refresh_preferences.rs
66eea4e8fd1c60a64090bd9e97b36903b10b1e2f7089c1a333e057d1d421bd6f src/admin/router.rs 66eea4e8fd1c60a64090bd9e97b36903b10b1e2f7089c1a333e057d1d421bd6f src/admin/router.rs
e135431cb078ddb483165581123c64af8f00ea67acb3a395ec3e53c85d0d0d45 src/admin/session.rs e135431cb078ddb483165581123c64af8f00ea67acb3a395ec3e53c85d0d0d45 src/admin/session.rs
c4a3f1ab3d74f153f8bb94a21105feba6e04663e5be6354537f5897fc60cb92c src/admin/status.rs ee6e3a89a478e1092d2ed55686e216512b40d26963bc47fc6e30d4a75ac01b2f src/admin/status.rs
6a405b189f40db88ca635ad054fd43801aad8bbd3e7f00f1b0e99bb57d4cb941 src/admin/status_live.rs f7a696ae9924235790f4fdcb9bb77505fde364fbaf8d7fd94fc9fddf13d7a04b src/admin/status_live.rs
8315c856cd50f1072593ecb30c274d42d82f078b5fb93e7c68a8857cd81b0841 src/admin/status_system.rs 8315c856cd50f1072593ecb30c274d42d82f078b5fb93e7c68a8857cd81b0841 src/admin/status_system.rs
cadd7dca29b9aad8c77c7bc23dd249ea37a15adfa4d636a8ef00273a91ce35dc src/admin/tail.rs cadd7dca29b9aad8c77c7bc23dd249ea37a15adfa4d636a8ef00273a91ce35dc src/admin/tail.rs
1d83309ba017e086459f761302d2c95220fb5a2b82f2663c531ce66611b0e373 src/admin/tests.rs d63b36d10160b5e17d3e27f4b715954e50d4a5f39e0edf83eaad617badab58d1 src/admin/tests.rs
c18c369124368f58524652565102817ed69fd25b222b0c5e737ef7632b45dcfb src/admin/web/acl-picker.js c18c369124368f58524652565102817ed69fd25b222b0c5e737ef7632b45dcfb src/admin/web/acl-picker.js
48fcd818c522fe80f2c7b2e218f87de6a7772ffd0a24e93502780b03ec78e335 src/admin/web/acme.js 48fcd818c522fe80f2c7b2e218f87de6a7772ffd0a24e93502780b03ec78e335 src/admin/web/acme.js
86abf50f39862d821cd2e43ca425671aa85289272915132c5a9a5dd1fc4182e2 src/admin/web/api-tokens.js 86abf50f39862d821cd2e43ca425671aa85289272915132c5a9a5dd1fc4182e2 src/admin/web/api-tokens.js
@@ -202,7 +203,7 @@ bbbbe153ff37aa4cac0a83319e5b56a6442cabd1ef819380ae76e95bf79c7628 src/admin/web/
6f10f3239aea505aa01796620981eed873930c129ed5a2fd7eb439e0e0d24558 src/admin/web/app/overview-samples.js 6f10f3239aea505aa01796620981eed873930c129ed5a2fd7eb439e0e0d24558 src/admin/web/app/overview-samples.js
db9012546cae8c58fc2bcbee71c9a95956a13a6db9e6d126c6a3770d45a4e4d2 src/admin/web/app/overview-wide-metrics.js db9012546cae8c58fc2bcbee71c9a95956a13a6db9e6d126c6a3770d45a4e4d2 src/admin/web/app/overview-wide-metrics.js
e799e0406c7ff54cbf71faf704a20265bdf5180a8ed2f26388d0775231365410 src/admin/web/app/path-permissions.js e799e0406c7ff54cbf71faf704a20265bdf5180a8ed2f26388d0775231365410 src/admin/web/app/path-permissions.js
66601eb2810b2eb224ddb4fed1ecd9e5f5cb9c51878432e9ea36908ed4a865eb src/admin/web/app/preferences.js aa33c7782dc9a9a6cd765a9a41379a0a38a78494d3819800926789e6fde8602a src/admin/web/app/preferences.js
30ec0a7027215eae63946689af2c042de0cf468a6b1054535694da4dd4214cdb src/admin/web/app/rate-sampling.js 30ec0a7027215eae63946689af2c042de0cf468a6b1054535694da4dd4214cdb src/admin/web/app/rate-sampling.js
3b8e566d81a5b94ef21c73e7805ae128454f085554de9358040de266bcbdb0e0 src/admin/web/app/refresh.js 3b8e566d81a5b94ef21c73e7805ae128454f085554de9358040de266bcbdb0e0 src/admin/web/app/refresh.js
399a52a076872fa031113d475794e029cb7eb3813a3471eb54cbbac5e765ce03 src/admin/web/app/runtime.js 399a52a076872fa031113d475794e029cb7eb3813a3471eb54cbbac5e765ce03 src/admin/web/app/runtime.js
@@ -214,11 +215,11 @@ b7ead49224a4ec67181d3f24f9d9634bd6d76756f826a4d5d993300637d1d8f3 src/admin/web/
3563508f45f740f0cc0e84c72eb79045c0cb54d6fa06a50326a3a219221e0010 src/admin/web/cache-panel.js 3563508f45f740f0cc0e84c72eb79045c0cb54d6fa06a50326a3a219221e0010 src/admin/web/cache-panel.js
99ed8c37e4fee646b9b26c96edbba4d823175dc3354c17c6574a7fc9a3dcbb0e src/admin/web/certificate-api.js 99ed8c37e4fee646b9b26c96edbba4d823175dc3354c17c6574a7fc9a3dcbb0e src/admin/web/certificate-api.js
43d702b676cd4f9dbe42e2ca65d938afe19086e67ab6e24af0b81d6947bee215 src/admin/web/css/00-tokens.css 43d702b676cd4f9dbe42e2ca65d938afe19086e67ab6e24af0b81d6947bee215 src/admin/web/css/00-tokens.css
8612407692e9cf6e9d827f27efcd056b8065422a8bae2570ac5b5b1e2eebf575 src/admin/web/css/10-base.css f37c80964a0854c016d67224d34e6423b3130489fef633c100ea94bda3a32454 src/admin/web/css/10-base.css
e711163fb144e38c3c961c20c38be55ebbb2e75898ab0ac1e58762e9ab8ff005 src/admin/web/css/20-shell.css e711163fb144e38c3c961c20c38be55ebbb2e75898ab0ac1e58762e9ab8ff005 src/admin/web/css/20-shell.css
f5c40c506bc0ece3396db5d7bebe6fda4af54584d0a772c8495feed9dc9dce6f src/admin/web/css/30-overview.css 746117cda2a047d90b13c112e307deccd1dc51131bd8e85bfa2d7e465e6704b0 src/admin/web/css/30-overview.css
e5cc169992ba16857f6dea4aef51c26df8f1317e36769caaa235388ec3abb680 src/admin/web/css/40-editors.css 1d61f2eb90e39c79c7055845df4a9497bc89c35fa67aafaf10e4bc245f0f69c7 src/admin/web/css/40-editors.css
fb1a22d6fb116ca7ab1bbfeb87c3d3f9dc7cb4386b9c4a570110e0fcbb4b7904 src/admin/web/css/50-settings.css 51acc56f65ea2680929fe2b4de859ec5aac308c7431a775c9c27d6cf48b7484b src/admin/web/css/50-settings.css
31c927777bb844c40305b96b6771b4f3956590fc8346a6b9f08724bad676bce2 src/admin/web/css/60-monitoring.css 31c927777bb844c40305b96b6771b4f3956590fc8346a6b9f08724bad676bce2 src/admin/web/css/60-monitoring.css
e4f276e7ab5ada8342b0c34a95a0e55f3cd5e446c4620ad1a8e1f07e287793a2 src/admin/web/css/70-responsive.css e4f276e7ab5ada8342b0c34a95a0e55f3cd5e446c4620ad1a8e1f07e287793a2 src/admin/web/css/70-responsive.css
8009afdb04d5170687816730cc930a22fead1fe0248835ca7e8de81d6907395d src/admin/web/css/README.md 8009afdb04d5170687816730cc930a22fead1fe0248835ca7e8de81d6907395d src/admin/web/css/README.md
@@ -245,9 +246,9 @@ ff72fc4c6a11907a16234c4b3c7d7f7bcf82eb72868dc3fbf654b04aff806fc8 src/admin/web/
e6c4d91d1542d0a5b47bb8736f9539d43a6713df5a473b635519d5b7eac2eb9c src/admin/web/error_504.html e6c4d91d1542d0a5b47bb8736f9539d43a6713df5a473b635519d5b7eac2eb9c src/admin/web/error_504.html
003d382cc8dd69ad7237679632c04a9389366bb71dd7dca8ee64ee06614aa9a5 src/admin/web/error_auth_provider.html 003d382cc8dd69ad7237679632c04a9389366bb71dd7dca8ee64ee06614aa9a5 src/admin/web/error_auth_provider.html
0a5fff35555153f59d4346933030a67b6e1a8768cee7a47cfa2fcf1a2c564f63 src/admin/web/favicon.svg 0a5fff35555153f59d4346933030a67b6e1a8768cee7a47cfa2fcf1a2c564f63 src/admin/web/favicon.svg
453b2f871a49c6517cbd5d811ec1a28a7ca8f08796543fda6164f2c7c624824c src/admin/web/file-logs.js dad1498b1dca57b4f0ad4e13e047332b66b59a8ce2f398b090bc952279b808cb src/admin/web/file-logs.js
882e99059bb2ff110c452eadc0b5779a16af1e34cb1b2536c80cf2056f8c3e8a src/admin/web/host404.js 882e99059bb2ff110c452eadc0b5779a16af1e34cb1b2536c80cf2056f8c3e8a src/admin/web/host404.js
10ebca279f270da039cbaa0bfea1e2ab42785e32cbeef91e0c3074fed16e5e75 src/admin/web/index.html a8f3a0f1d5a973fa3ca0fa0c2df6400324abb8e11a0edb6f5356043fcfc2a302 src/admin/web/index.html
5746049029caa135646ebcefb3d419b07eda17b560a9c015c59d27f815df64d8 src/admin/web/integrations.js 5746049029caa135646ebcefb3d419b07eda17b560a9c015c59d27f815df64d8 src/admin/web/integrations.js
7a12f020fc587205694978ab41b660e9a80487d413fbf6e34fc525eabc58308f src/admin/web/login-keys.json 7a12f020fc587205694978ab41b660e9a80487d413fbf6e34fc525eabc58308f src/admin/web/login-keys.json
ac9f667273918e18406df06cb2613c923f50a88897693a03a18f500e22dc6ec2 src/admin/web/login.html ac9f667273918e18406df06cb2613c923f50a88897693a03a18f500e22dc6ec2 src/admin/web/login.html
@@ -260,16 +261,16 @@ f619250d8da61517eb2151f17b640b06057e091640280091e08afd483d67e5ff src/admin/web/
76a01f590d49649dcb1f554c221290919b2a8438e6001737f3c096fa6daec74d src/admin/web/settings.js 76a01f590d49649dcb1f554c221290919b2a8438e6001737f3c096fa6daec74d src/admin/web/settings.js
8eadbada619b15087783dcfa0e889a81f88e78034d084c5ab616f7912b835940 src/admin/web/status_200.html 8eadbada619b15087783dcfa0e889a81f88e78034d084c5ab616f7912b835940 src/admin/web/status_200.html
a5191e1272939014a21b8d16588704952e9a705b02bd87fd8f8baca0a64ca919 src/admin/web/streams.js a5191e1272939014a21b8d16588704952e9a705b02bd87fd8f8baca0a64ca919 src/admin/web/streams.js
ae0259cf32f53d69a22a640b1c34562018d4ffb3864494012de3a31c0bb4ac1e src/admin/web/traffic-panel.js dd697c7c46e40da006b61220a90ed9579c3c08c1484a96dc746314d5b4c4f3ea src/admin/web/traffic-panel.js
675ea169d4cc55fda5e291af536338b882bede1eaa6c9d5cc7dfde0779c7c4d1 src/admin/web/transform-panel.js 675ea169d4cc55fda5e291af536338b882bede1eaa6c9d5cc7dfde0779c7c4d1 src/admin/web/transform-panel.js
8fa4a8d27e87fc6ea0a8f8492e637fe09504cc9a728c27361da2559007e70698 src/admin/web/vhosts/core.js e95b6a582a61e2ac80cddf67558d8f92ff400f238f990a1e4e02054cb9798464 src/admin/web/vhosts/core.js
dc0fc85c64eef983d575f1b220c53c28cf5d4944b77860a57f9f28c6fde2a386 src/admin/web/vhosts/editor.js dc0fc85c64eef983d575f1b220c53c28cf5d4944b77860a57f9f28c6fde2a386 src/admin/web/vhosts/editor.js
3776f72d7051af86ac5fbdd4581040dd88a424c0c6cde789301b032b159094d8 src/admin/web/vhosts/health.js 3776f72d7051af86ac5fbdd4581040dd88a424c0c6cde789301b032b159094d8 src/admin/web/vhosts/health.js
b3239e67901f1796d7a974ade0796f2e3590ff8064628a5629b78c7f6ce2f32e src/admin/web/vhosts/protocol.js b3239e67901f1796d7a974ade0796f2e3590ff8064628a5629b78c7f6ce2f32e src/admin/web/vhosts/protocol.js
8c3da49973c62333559b0e3588c02beb0b425c025eac5cfa82a1bb968f70d9dd src/admin/web/vhosts/rates.js 8c3da49973c62333559b0e3588c02beb0b425c025eac5cfa82a1bb968f70d9dd src/admin/web/vhosts/rates.js
475cfb0343b3dc5e12525de177c98c952d33ba128f2255919e271ae097ee80cf src/admin/web/vhosts/render.js dd9e7c73f725f3e74235c1e9405d8ec509a78f11f6d90af7d22bf09a4f8789dc src/admin/web/vhosts/render.js
4dfdeb7c73c2775eacaca65fd8ef1dc80b275421b15522d319d338f5b96288cc src/admin/web/web-server-profiles.js 4dfdeb7c73c2775eacaca65fd8ef1dc80b275421b15522d319d338f5b96288cc src/admin/web/web-server-profiles.js
9e8e99e3cdfc32097d0c63dabb19d1e439b3be2264baa67678b46715b3a5bb4e src/admin/web/web-server.js f9854526ff1567de47ecb02af872bca6e13c0adb984ad5ef0c256e5fdbb3902e src/admin/web/web-server.js
2d40c2cb32d7365df0c9cd6c8cb6f0483c7a799786c648f4836a0d9740c6c5ef src/auth/files/mod.rs 2d40c2cb32d7365df0c9cd6c8cb6f0483c7a799786c648f4836a0d9740c6c5ef src/auth/files/mod.rs
b2f948bcc3dbd24952c7b1b02d41d06757f49f0c38a78caf51f8f8a687d8480d src/auth/files/tests.rs b2f948bcc3dbd24952c7b1b02d41d06757f49f0c38a78caf51f8f8a687d8480d src/auth/files/tests.rs
50ef648351271d78310e00caa6d246e0009171ed036a3e4e1144737df8c064c2 src/auth/mod.rs 50ef648351271d78310e00caa6d246e0009171ed036a3e4e1144737df8c064c2 src/auth/mod.rs
@@ -307,8 +308,8 @@ b75ff512a1c6344483e00d2c67578ceea6b5472c279da0246f3622daa68d7e16 src/cache/cold
17b2a157b03f43f49ed05f1f3391aef025a453b748056c67229cb3ceaa53bb7a src/cache/cold/startup.rs 17b2a157b03f43f49ed05f1f3391aef025a453b748056c67229cb3ceaa53bb7a src/cache/cold/startup.rs
83095bc93132f306c537b31ba929669fedac99af3c4f133d0533b5ed7ac4e6ed src/cache/cold/worker.rs 83095bc93132f306c537b31ba929669fedac99af3c4f133d0533b5ed7ac4e6ed src/cache/cold/worker.rs
7f81a07400ab680a34affa32b63199bb5ca7d4511dd9d58465f68279b32d3232 src/cache/collapse.rs 7f81a07400ab680a34affa32b63199bb5ca7d4511dd9d58465f68279b32d3232 src/cache/collapse.rs
346fdb40d85627b583a01fa17c65e45c822dc7216198cdeadbb3d07904286fa3 src/cache/dashboard.rs 68e2e4b6fd294f795c13b8984149c628c0abc4e41c8e8e8a5c3656fd58dfbcc9 src/cache/dashboard.rs
be3d80cd340edb47755190a668e2f2a2776940665f95ae7110893b706eb94faa src/cache/dashboard_tests.rs 302a1db06d8be4cc4f213f25209d2c357ec60e9e73f0dc89703d9eaf957dae57 src/cache/dashboard_tests.rs
847c660e6cb7d752f9dac2807c5045a000172c25b0e437cbade06ad7b101dcba src/cache/fill.rs 847c660e6cb7d752f9dac2807c5045a000172c25b0e437cbade06ad7b101dcba src/cache/fill.rs
675d18afb53f25c56cba49bbb431fa39ecd9d7bdd192c7b39b0698225de7a2a2 src/cache/invalidation.rs 675d18afb53f25c56cba49bbb431fa39ecd9d7bdd192c7b39b0698225de7a2a2 src/cache/invalidation.rs
c1357a13658e1ed5158084d3a41ba9ea906512774a5863ce9c56cb508d3fa6c8 src/cache/invalidation/ban.rs c1357a13658e1ed5158084d3a41ba9ea906512774a5863ce9c56cb508d3fa6c8 src/cache/invalidation/ban.rs
@@ -324,7 +325,7 @@ e9c6ab0c2be9f96573f826e6a1b9e4c2b8b526f779e72e95a6463ae07e45ab55 src/cache/look
0c8b0d550e94d4474dcdf991aa0340228dc5f2f904f39350e6e666a16f16fe87 src/cache/model.rs 0c8b0d550e94d4474dcdf991aa0340228dc5f2f904f39350e6e666a16f16fe87 src/cache/model.rs
b96e30ef2b12ad7647915457f087a4d11b6141847bc5e971a75c2739c88c3d8c src/cache/model/cache.rs b96e30ef2b12ad7647915457f087a4d11b6141847bc5e971a75c2739c88c3d8c src/cache/model/cache.rs
0ec4f6d0adea1ed80a3ca17c68c9c85502491da2904d9d690b4169ab9b025b21 src/cache/model/cold_metadata.rs 0ec4f6d0adea1ed80a3ca17c68c9c85502491da2904d9d690b4169ab9b025b21 src/cache/model/cold_metadata.rs
f52123b588205ae96c7cded93569e99a1b4db4b361e1f7a91fc703afa6b6f6e5 src/cache/model/entry.rs a85b56cffe44d9ef4db43276f9c1ac76aa1661b578c389dad9c2294f2a391164 src/cache/model/entry.rs
ff1c3a1a3bc0d26218dcc943ef951c2a212c180bbf6e4bf1c542ffbf12a9f150 src/cache/model/http_invalidation.rs ff1c3a1a3bc0d26218dcc943ef951c2a212c180bbf6e4bf1c542ffbf12a9f150 src/cache/model/http_invalidation.rs
ee9508498d420a726abee1d12ca21fd5117c1908ff53c2ce29f01de4380f26ac src/cache/model/maintenance.rs ee9508498d420a726abee1d12ca21fd5117c1908ff53c2ce29f01de4380f26ac src/cache/model/maintenance.rs
38acaba0131b32d2f2174dd708439df654934fe9106504917954a66d1d7e5e6d src/cache/model/settings.rs 38acaba0131b32d2f2174dd708439df654934fe9106504917954a66d1d7e5e6d src/cache/model/settings.rs
@@ -334,7 +335,7 @@ e26dce02df9c043329ca164fed215d271781bce8fb03240f528331bf3df6b9d7 src/cache/poli
5ce9e2b6cc031b4aea533c4b7375417496e998b17e1ab3cd4f6058e8da503a4b src/cache/policy/response.rs 5ce9e2b6cc031b4aea533c4b7375417496e998b17e1ab3cd4f6058e8da503a4b src/cache/policy/response.rs
12a6d5d9d6711e956391b4b952e8149658b8bf64cfcc0a4c59c281f2630a6aac src/cache/policy/scope_tests.rs 12a6d5d9d6711e956391b4b952e8149658b8bf64cfcc0a4c59c281f2630a6aac src/cache/policy/scope_tests.rs
c3a4300f7cdb6b2b7c16fbc489d49ba2451331bb4a55a2d9f618c684fd61eecb src/cache/range.rs c3a4300f7cdb6b2b7c16fbc489d49ba2451331bb4a55a2d9f618c684fd61eecb src/cache/range.rs
e1d3f0512d6290b0ac4998f47398a0a7c404db249c5bbdbc4ad4767071013a72 src/cache/stats.rs ddbbf6565ef930dfb4cfa1dbfca7a58e36224382aae789f89b69a910a3b74866 src/cache/stats.rs
8a300f5dad44815401eb23f4f5a157893761852ba4f3005041e0eb3f16892ce3 src/cache/tests.rs 8a300f5dad44815401eb23f4f5a157893761852ba4f3005041e0eb3f16892ce3 src/cache/tests.rs
ce3d62de66b9dc73c81320478b3090408bbad94e7dbe2885576240fc9270dfed src/cache/tickets.rs ce3d62de66b9dc73c81320478b3090408bbad94e7dbe2885576240fc9270dfed src/cache/tickets.rs
a1132b980833b1b4ce2bba9aa681ff255a0e2d61faaa65a316860da503ea1e27 src/cache/v022_cache_tests.rs a1132b980833b1b4ce2bba9aa681ff255a0e2d61faaa65a316860da503ea1e27 src/cache/v022_cache_tests.rs
@@ -401,8 +402,8 @@ ff491043180085800b786b77e6bd3c400b60051012482918440cd5dc6493d1e7 src/main/tasks
a719c51aebcba0f16f8810c37618201954e79d6806da085ee6c5e4697a05b521 src/metrics.rs a719c51aebcba0f16f8810c37618201954e79d6806da085ee6c5e4697a05b521 src/metrics.rs
9c7ed78345abc33d260f8d5cd52339bf8de748c08b53eaa2bdea8a32a0ea2a20 src/metrics/global.rs 9c7ed78345abc33d260f8d5cd52339bf8de748c08b53eaa2bdea8a32a0ea2a20 src/metrics/global.rs
31154052757c2bb975b8ce8cad67f3fad7b5132b615a73d5b0d7bf1b5311722b src/metrics/rate_sampling.rs 31154052757c2bb975b8ce8cad67f3fad7b5132b615a73d5b0d7bf1b5311722b src/metrics/rate_sampling.rs
f27f1f8bed769883d1a7ae6a48f89f7712394dfab65d05702b0f944f0a45bd8e src/metrics/vhost/mod.rs 4e71dcbd92d8afe5808eaee693243725e8b6515377de9837fce4623af98b383a src/metrics/vhost/mod.rs
ee401f943bd8b2706c33419ed69102269c08dcb4ceba6f4be2ac0861115874a7 src/metrics/vhost/tests.rs bb8507a5329ba320e4af02757f5f37da61db39fec147fcc2a3b76e3fcfd47434 src/metrics/vhost/tests.rs
f2a632f9d3d7f9985ff796545263ebe03fbf5e9a5c2e88288e89a700d3af81d3 src/not_found/mod.rs f2a632f9d3d7f9985ff796545263ebe03fbf5e9a5c2e88288e89a700d3af81d3 src/not_found/mod.rs
fa2fc6c6987a8356a9da92cade10db62426d8863e9cef3c0d4324c45780c5b33 src/not_found/tests.rs fa2fc6c6987a8356a9da92cade10db62426d8863e9cef3c0d4324c45780c5b33 src/not_found/tests.rs
c19998732c2d65b464f43d17a58644db5bcf7b4a6dd4c31a65a091c57692a5bb src/oidc/mod.rs c19998732c2d65b464f43d17a58644db5bcf7b4a6dd4c31a65a091c57692a5bb src/oidc/mod.rs
@@ -563,8 +564,8 @@ b791762b4ab7a43c3be19df84e523faf3dfb4df055f66d02178f93edb60d2204 src/web_server
f00743af2cf4a5952caef7a1dcf68e7817b5599a252a9973e1c22045517c0b0e tests/fixtures/argon2id.json f00743af2cf4a5952caef7a1dcf68e7817b5599a252a9973e1c22045517c0b0e tests/fixtures/argon2id.json
102b83171a6429b6375d8001d6c5294702385cd58ee55727cb657b1f3566e877 tests/panel_icons_browser.py 102b83171a6429b6375d8001d6c5294702385cd58ee55727cb657b1f3566e877 tests/panel_icons_browser.py
c4030b7d224553312012b1f25153dd3545e83de7bccff2894c0e8f7e0e84b721 tests/panel_icons_contract.js c4030b7d224553312012b1f25153dd3545e83de7bccff2894c0e8f7e0e84b721 tests/panel_icons_contract.js
01af3008be27fabb486c141c67099af104f2725cc56f4c656aea9741a3c150cd tests/panel_interface_contract.py 886c89e8517f34af5e2aef9672a8de559f94c536b028f1b9cadf2a2a7220d826 tests/panel_interface_contract.py
87417f12a236efb7b20b10ebdcd92f2f862a86c7d829e7f8afb4f8a460c30f33 tests/panel_refresh_contract.js c5412e9e83d539ed64ca82c3ce6ac575d22212d48a7a3188ba99aa865a324d65 tests/panel_refresh_contract.js
e24a0f84f1bfc46964df865ac387d651f7b384d781cbc8f3a9a5b0b60f3d69ca tests/vhost_auth_selection.js e24a0f84f1bfc46964df865ac387d651f7b384d781cbc8f3a9a5b0b60f3d69ca tests/vhost_auth_selection.js
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 third_party/swagger-ui-5.33.1/LICENSE cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 third_party/swagger-ui-5.33.1/LICENSE
0d20d1adef18aee3f40dd258172155521ce702ac445cb5f7b7d60ed32dad2fb2 third_party/swagger-ui-5.33.1/NOTICE 0d20d1adef18aee3f40dd258172155521ce702ac445cb5f7b7d60ed32dad2fb2 third_party/swagger-ui-5.33.1/NOTICE
+1 -1
View File
@@ -30,7 +30,7 @@ The current bundled `src/admin/openapi.json` declares these operations (among ot
| `GET /api/certificates` · `POST /api/certificates/upload` | Certificate inventory/import. | | `GET /api/certificates` · `POST /api/certificates/upload` | Certificate inventory/import. |
| `POST /api/certificates/inspect` | Read DNS SAN coverage from a managed/external public PEM path for the editor; admin browser session only. | | `POST /api/certificates/inspect` | Read DNS SAN coverage from a managed/external public PEM path for the editor; admin browser session only. |
| `GET /api/acme` · `POST /api/acme/issue` · `POST /api/acme/renew` | Managed certificate jobs. | | `GET /api/acme` · `POST /api/acme/issue` · `POST /api/acme/renew` | Managed certificate jobs. |
| `GET/PUT /api/preferences` | Personal UI settings, including theme/layout and optional `interface_icons` and `logo_animation` (both default `false`). | | `GET/PUT /api/preferences` | Personal UI settings, including theme/layout, optional `interface_icons` and `logo_animation` (both default `false`), and `stable_dialog_position` (default `true`). |
| `GET /api/dashboard-presets` and named preset operations | Saved Overview presets. | | `GET /api/dashboard-presets` and named preset operations | Saved Overview presets. |
| `GET /docs/openapi.json` | Protected machine-readable API specification. | | `GET /docs/openapi.json` | Protected machine-readable API specification. |
+1 -1
View File
@@ -92,7 +92,7 @@ Response transformations are optional and apply only to configured eligible MIME
## Administration preferences ## Administration preferences
Appearance settings, Dashboard Presets and Overview cards belong to the administrator profile. **Settings → Appearance → Data refresh** keeps the automatic-refresh toggle separate from four intervals arranged in two equal columns (one on narrow screens). The saved corner style (Square, Subtle, Rounded or Extra) applies to controls and surfaces in the main panel and the authenticated Reader/OpenAPI page. **Original** keeps the legacy appearance. Up to 16 named presets can store card visibility, order, widths, density and sample count. Changing the dashboard does not restart proxy listeners or rewrite routing rules. Source sections under `config` have a revision guard to prevent accidental overwrite by a stale editor. Appearance settings, Dashboard Presets and Overview cards belong to the administrator profile. **Settings → Appearance → Interface** also includes the default-on stable dialog position option, which keeps editor dialogs anchored near the top while tab content changes height; disabling it restores vertical centering. **Settings → Appearance → Data refresh** keeps the automatic-refresh toggle separate from four intervals arranged in two equal columns (one on narrow screens). The saved corner style (Square, Subtle, Rounded or Extra) applies to controls and surfaces in the main panel and the authenticated Reader/OpenAPI page. **Original** keeps the legacy appearance. Up to 16 named presets can store card visibility, order, widths, density and sample count. Changing the dashboard does not restart proxy listeners or rewrite routing rules. Source sections under `config` have a revision guard to prevent accidental overwrite by a stale editor.
## Sample files and safe changes ## Sample files and safe changes
+4
View File
@@ -53,6 +53,10 @@ Controls whose label is already a single symbol (`×`, `−`, `+`, `←`, `→`,
Under **Settings → Appearance → Interface**, enable **Animate logo** to let the sidebar `r/p` logo play a short, subtle effect (rotating slash, letter flip, wave, glow, sheen, glitch or wobble) at random intervals of roughly 10–25 seconds and when the pointer moves over it. The preference is stored per administrator as `logo_animation: true|false` in `/api/preferences` and is **off by default**. Animations pause while the browser tab is hidden and are suppressed entirely when the operating system or browser requests reduced motion. Under **Settings → Appearance → Interface**, enable **Animate logo** to let the sidebar `r/p` logo play a short, subtle effect (rotating slash, letter flip, wave, glow, sheen, glitch or wobble) at random intervals of roughly 10–25 seconds and when the pointer moves over it. The preference is stored per administrator as `logo_animation: true|false` in `/api/preferences` and is **off by default**. Animations pause while the browser tab is hidden and are suppressed entirely when the operating system or browser requests reduced motion.
### Stable dialog position
Under **Settings → Appearance → Interface**, **Keep dialogs at a stable top position** is **on by default**. It anchors primary panel dialogs near the top of the viewport, so switching between editor tabs whose contents have different heights does not make the dialog jump vertically. The account preference is `stable_dialog_position: true|false` in `/api/preferences`; turning it off restores the browser's vertically centered dialog behavior. The setting changes only panel presentation and does not affect proxy configuration or editor data.
## Editing configuration safely ## Editing configuration safely
1. Open the relevant workspace and inspect existing state before editing. 1. Open the relevant workspace and inspect existing state before editing.
+1 -1
View File
@@ -95,7 +95,7 @@ RustProxy is a single service that combines a reverse proxy, a static/PHP web se
- Docker discovery through a separate agent: publish containers as Vhosts with one switch. - Docker discovery through a separate agent: publish containers as Vhosts with one switch.
- Nginx Proxy Manager import with a dry-run plan. - Nginx Proxy Manager import with a dry-run plan.
- Managed install/update scripts with rollback, DEB/RPM packages, Docker image and an OPNsense plugin. - Managed install/update scripts with rollback, DEB/RPM packages, Docker image and an OPNsense plugin.
- Panel in English and Polish, light and dark themes, adjustable density and corner style. - Panel in English and Polish, light and dark themes, adjustable density and corner style, plus a default-on stable dialog position option for tabbed editors.
- Optional account-scoped semantic SVG icons for navigation, actions, tabs and dialogs; off by default. - Optional account-scoped semantic SVG icons for navigation, actions, tabs and dialogs; off by default.
## Administration and API ## Administration and API
+2 -2
View File
@@ -77,10 +77,10 @@ ENV_FILE=integrations/routeros-oci-build/.env \
bash integrations/routeros-oci-build/build-routeros-oci.sh push bash integrations/routeros-oci-build/build-routeros-oci.sh push
``` ```
For example, with RustProxy version `0.36.11` and the defaults this publishes: For example, with RustProxy version `0.36.12` and the defaults this publishes:
```text ```text
zot.example.net/network/rustproxy:0.36.11 zot.example.net/network/rustproxy:0.36.12
zot.example.net/network/rustproxy:latest zot.example.net/network/rustproxy:latest
zot.example.net/network/rustproxy:routeros zot.example.net/network/rustproxy:routeros
``` ```
+2
View File
@@ -2492,6 +2492,8 @@
"interfaceIconsHelp": "Adds semantic SVG icons to navigation, actions, tabs and dialogs.", "interfaceIconsHelp": "Adds semantic SVG icons to navigation, actions, tabs and dialogs.",
"logoAnimation": "Animate logo", "logoAnimation": "Animate logo",
"logoAnimationHelp": "Plays short, subtle animations of the sidebar logo from time to time and on hover.", "logoAnimationHelp": "Plays short, subtle animations of the sidebar logo from time to time and on hover.",
"stableDialogPosition": "Keep dialogs at a stable top position",
"stableDialogPositionHelp": "Keeps editor dialogs anchored near the top of the viewport so switching between tabs with different content heights does not move the dialog.",
"entityEnableHint": "Controls whether this item is active.", "entityEnableHint": "Controls whether this item is active.",
"setupCommandExample": "Standard service installation example:", "setupCommandExample": "Standard service installation example:",
"certificateRuntimeTitle": "ACME runtime", "certificateRuntimeTitle": "ACME runtime",
+2
View File
@@ -2492,6 +2492,8 @@
"interfaceIconsHelp": "Dodaje semantyczne ikony SVG do nawigacji, akcji, zakładek i okien dialogowych.", "interfaceIconsHelp": "Dodaje semantyczne ikony SVG do nawigacji, akcji, zakładek i okien dialogowych.",
"logoAnimation": "Animuj logo", "logoAnimation": "Animuj logo",
"logoAnimationHelp": "Od czasu do czasu (i po najechaniu kursorem) odtwarza krótkie, subtelne animacje logo w panelu bocznym.", "logoAnimationHelp": "Od czasu do czasu (i po najechaniu kursorem) odtwarza krótkie, subtelne animacje logo w panelu bocznym.",
"stableDialogPosition": "Stabilna pozycja okien dialogowych",
"stableDialogPositionHelp": "Utrzymuje edytory blisko górnej krawędzi widoku, dzięki czemu przełączanie między kartami o różnej wysokości nie przesuwa okna.",
"entityEnableHint": "Określa, czy ten element jest aktywny.", "entityEnableHint": "Określa, czy ten element jest aktywny.",
"setupCommandExample": "Przykład dla standardowej instalacji usługi:", "setupCommandExample": "Przykład dla standardowej instalacji usługi:",
"certificateRuntimeTitle": "Środowisko ACME", "certificateRuntimeTitle": "Środowisko ACME",
Regular → Executable
View File
File mode changed.
Regular → Executable
View File
File mode changed.
Regular → Executable
View File
File mode changed.
+6 -1
View File
@@ -2,7 +2,7 @@
"openapi": "3.0.3", "openapi": "3.0.3",
"info": { "info": {
"title": "RustProxy Administration API", "title": "RustProxy Administration API",
"version": "0.36.11", "version": "0.36.12",
"description": "Administration API for the active panel origin. Sign in through the panel; the same-origin HttpOnly cookie authenticates all private operations. Mutations also require the exact Origin, X-RustProxy-Request: 1 and a session-bound X-CSRF-Token. Loopback HTTP is the default; Settings can enable HTTPS before using a non-loopback administration bind. This document contains no live configuration or credentials. Object schemas marked extensible are summaries: full configuration validation is authoritative in Rust. The API also permits explicitly scoped GeneralApiBearer tokens on a narrow route allowlist, with RO/RW and source CIDR checks; API-token management and Prometheus-token management are browser-session-only." "description": "Administration API for the active panel origin. Sign in through the panel; the same-origin HttpOnly cookie authenticates all private operations. Mutations also require the exact Origin, X-RustProxy-Request: 1 and a session-bound X-CSRF-Token. Loopback HTTP is the default; Settings can enable HTTPS before using a non-loopback administration bind. This document contains no live configuration or credentials. Object schemas marked extensible are summaries: full configuration validation is authoritative in Rust. The API also permits explicitly scoped GeneralApiBearer tokens on a narrow route allowlist, with RO/RW and source CIDR checks; API-token management and Prometheus-token management are browser-session-only."
}, },
"servers": [ "servers": [
@@ -3875,6 +3875,11 @@
"default": false, "default": false,
"description": "Account-scoped administration UI preference. When enabled, the sidebar logo plays short, subtle animations at random intervals and on hover. Paused while the tab is hidden and suppressed when the browser requests reduced motion." "description": "Account-scoped administration UI preference. When enabled, the sidebar logo plays short, subtle animations at random intervals and on hover. Paused while the tab is hidden and suppressed when the browser requests reduced motion."
}, },
"stable_dialog_position": {
"type": "boolean",
"default": true,
"description": "Account-scoped administration UI preference. When enabled, primary panel dialogs stay anchored near the top of the viewport instead of being vertically re-centered when their content height changes."
},
"button_style": { "button_style": {
"type": "string", "type": "string",
"enum": [ "enum": [
+6
View File
@@ -21,6 +21,9 @@ fn default_admin_button_style() -> String {
fn default_admin_corner_style() -> String { fn default_admin_corner_style() -> String {
"default".to_owned() "default".to_owned()
} }
fn default_admin_stable_dialog_position() -> bool {
true
}
fn default_admin_table_density() -> String { fn default_admin_table_density() -> String {
"normal".to_owned() "normal".to_owned()
} }
@@ -131,6 +134,8 @@ struct AdminPreferences {
interface_icons: bool, interface_icons: bool,
#[serde(default)] #[serde(default)]
logo_animation: bool, logo_animation: bool,
#[serde(default = "default_admin_stable_dialog_position")]
stable_dialog_position: bool,
#[serde(default = "default_admin_button_style")] #[serde(default = "default_admin_button_style")]
button_style: String, button_style: String,
#[serde(default = "default_admin_corner_style")] #[serde(default = "default_admin_corner_style")]
@@ -201,6 +206,7 @@ impl Default for AdminPreferences {
chart_axes: false, chart_axes: false,
interface_icons: false, interface_icons: false,
logo_animation: false, logo_animation: false,
stable_dialog_position: default_admin_stable_dialog_position(),
button_style: default_admin_button_style(), button_style: default_admin_button_style(),
corner_style: default_admin_corner_style(), corner_style: default_admin_corner_style(),
table_density: default_admin_table_density(), table_density: default_admin_table_density(),
+15
View File
@@ -47,6 +47,21 @@ fn overview_factory_preset_matches_registry_and_operator_visibility() {
assert!(!AdminPreferences::default().chart_axes); assert!(!AdminPreferences::default().chart_axes);
assert!(!AdminPreferences::default().interface_icons); assert!(!AdminPreferences::default().interface_icons);
assert!(!AdminPreferences::default().logo_animation); assert!(!AdminPreferences::default().logo_animation);
assert!(AdminPreferences::default().stable_dialog_position);
}
#[test]
fn stable_dialog_position_defaults_on_for_new_and_legacy_documents() {
assert!(AdminPreferences::default().stable_dialog_position);
let legacy: AdminPreferences = serde_json::from_str(r#"{"theme":"light"}"#).unwrap();
assert!(legacy.stable_dialog_position);
let mut disabled = legacy.clone();
disabled.stable_dialog_position = false;
assert!(validate_admin_preferences(&disabled).is_ok());
let stored = serde_json::to_string(&disabled).unwrap();
assert!(stored.contains("\"stable_dialog_position\":false"));
let recovered: AdminPreferences = serde_json::from_str(&stored).unwrap();
assert!(!recovered.stable_dialog_position);
} }
#[test] #[test]
+3
View File
@@ -2147,6 +2147,7 @@ mod tests {
assert_eq!(initial["chart_axes"], false); assert_eq!(initial["chart_axes"], false);
assert_eq!(initial["interface_icons"], false); assert_eq!(initial["interface_icons"], false);
assert_eq!(initial["logo_animation"], false); assert_eq!(initial["logo_animation"], false);
assert_eq!(initial["stable_dialog_position"], true);
assert_eq!(initial["button_style"], "normal"); assert_eq!(initial["button_style"], "normal");
assert_eq!(initial["corner_style"], "default"); assert_eq!(initial["corner_style"], "default");
assert_eq!( assert_eq!(
@@ -2196,6 +2197,7 @@ mod tests {
assert_eq!(legacy["chart_axes"], false); assert_eq!(legacy["chart_axes"], false);
assert_eq!(legacy["interface_icons"], false); assert_eq!(legacy["interface_icons"], false);
assert_eq!(legacy["logo_animation"], false); assert_eq!(legacy["logo_animation"], false);
assert_eq!(legacy["stable_dialog_position"], true);
assert_eq!(legacy["button_style"], "normal"); assert_eq!(legacy["button_style"], "normal");
assert_eq!(legacy["corner_style"], "default"); assert_eq!(legacy["corner_style"], "default");
assert_eq!( assert_eq!(
@@ -2220,6 +2222,7 @@ mod tests {
"chart_axes":true, "chart_axes":true,
"interface_icons":true, "interface_icons":true,
"logo_animation":true, "logo_animation":true,
"stable_dialog_position":false,
"button_style":"compact", "button_style":"compact",
"corner_style":"rounded", "corner_style":"rounded",
"table_density":"ultra", "table_density":"ultra",
+19 -5
View File
@@ -13,7 +13,7 @@ const ADMIN_DEFAULT_HIDDEN_WIDGETS = Object.freeze([...new Set([
])]); ])]);
const ADMIN_APPEARANCE_DEFAULTS = Object.freeze({ const ADMIN_APPEARANCE_DEFAULTS = Object.freeze({
theme: "dark", language: "auto", ui_scale: 100, time_format: "24h", chart_style: "default", theme: "dark", language: "auto", ui_scale: 100, time_format: "24h", chart_style: "default",
chart_axes: false, interface_icons: false, logo_animation: false, chart_axes: false, interface_icons: false, logo_animation: false, stable_dialog_position: true,
button_style: "normal", corner_style: "default", table_density: "normal", dashboard_density: ADMIN_DASHBOARD_DEFAULTS.dashboard_density, dashboard_widgets: [...ADMIN_DASHBOARD_WIDGETS], dashboard_hidden_widgets: [...ADMIN_DEFAULT_HIDDEN_WIDGETS], dashboard_widget_sizes: null, dashboard_widget_heights: null, dashboard_auto_fit: true, sidebar_collapsed: false, button_style: "normal", corner_style: "default", table_density: "normal", dashboard_density: ADMIN_DASHBOARD_DEFAULTS.dashboard_density, dashboard_widgets: [...ADMIN_DASHBOARD_WIDGETS], dashboard_hidden_widgets: [...ADMIN_DEFAULT_HIDDEN_WIDGETS], dashboard_widget_sizes: null, dashboard_widget_heights: null, dashboard_auto_fit: true, sidebar_collapsed: false,
}); });
const CHART_STYLE_KEYS = Object.freeze({ default: "chartStyleDefault", soft: "chartStyleSoft", technical: "chartStyleTechnical", high_contrast: "chartStyleHighContrast", neon: "chartStyleNeon", monochrome: "chartStyleMonochrome", warm: "chartStyleWarm", cool: "chartStyleCool", sunset: "chartStyleSunset", aurora: "chartStyleAurora", ocean: "chartStyleOcean", forest: "chartStyleForest", pastel: "chartStylePastel", terminal: "chartStyleTerminal", blueprint: "chartStyleBlueprint", colorblind: "chartStyleColorblind" }); const CHART_STYLE_KEYS = Object.freeze({ default: "chartStyleDefault", soft: "chartStyleSoft", technical: "chartStyleTechnical", high_contrast: "chartStyleHighContrast", neon: "chartStyleNeon", monochrome: "chartStyleMonochrome", warm: "chartStyleWarm", cool: "chartStyleCool", sunset: "chartStyleSunset", aurora: "chartStyleAurora", ocean: "chartStyleOcean", forest: "chartStyleForest", pastel: "chartStylePastel", terminal: "chartStyleTerminal", blueprint: "chartStyleBlueprint", colorblind: "chartStyleColorblind" });
@@ -134,6 +134,12 @@ function applyAdminChartAxes(value) {
} }
function applyAdminInterfaceIcons(value) { return window.rustProxyIcons?.setEnabled?.(value === true) ?? false; } function applyAdminInterfaceIcons(value) { return window.rustProxyIcons?.setEnabled?.(value === true) ?? false; }
function applyAdminLogoAnimation(value) { return window.rustProxyLogoAnimation?.setEnabled?.(value === true) ?? false; } function applyAdminLogoAnimation(value) { return window.rustProxyLogoAnimation?.setEnabled?.(value === true) ?? false; }
function applyAdminStableDialogPosition(value) {
const enabled = value !== false;
document.documentElement.dataset.stableDialogPosition = String(enabled);
const input = $("ui-stable-dialog-position"); if (input) input.checked = enabled;
return enabled;
}
function applyAdminButtonStyle(value) { function applyAdminButtonStyle(value) {
const style = normalizeAdminButtonStyle(value); document.documentElement.dataset.buttonStyle = style; const style = normalizeAdminButtonStyle(value); document.documentElement.dataset.buttonStyle = style;
const select = $("ui-button-style"); if (select) select.value = style; return style; const select = $("ui-button-style"); if (select) select.value = style; return style;
@@ -303,7 +309,7 @@ function applyAdminPreferences(value, cache = true) {
...value, ...value,
refresh: normalizeRefreshPreferences(value.refresh), refresh: normalizeRefreshPreferences(value.refresh),
theme: applyAdminTheme(value.theme, cache), language: applyAdminLanguage(value.language, cache, false), ui_scale: applyAdminUiScale(value.ui_scale, cache), theme: applyAdminTheme(value.theme, cache), language: applyAdminLanguage(value.language, cache, false), ui_scale: applyAdminUiScale(value.ui_scale, cache),
time_format: applyAdminTimeFormat(value.time_format), chart_style: applyAdminChartStyle(value.chart_style), chart_axes: applyAdminChartAxes(value.chart_axes), interface_icons: applyAdminInterfaceIcons(value.interface_icons), logo_animation: applyAdminLogoAnimation(value.logo_animation), button_style: applyAdminButtonStyle(value.button_style), corner_style: applyAdminCornerStyle(value.corner_style, cache), table_density: applyAdminTableDensity(value.table_density), time_format: applyAdminTimeFormat(value.time_format), chart_style: applyAdminChartStyle(value.chart_style), chart_axes: applyAdminChartAxes(value.chart_axes), interface_icons: applyAdminInterfaceIcons(value.interface_icons), logo_animation: applyAdminLogoAnimation(value.logo_animation), stable_dialog_position: applyAdminStableDialogPosition(value.stable_dialog_position), button_style: applyAdminButtonStyle(value.button_style), corner_style: applyAdminCornerStyle(value.corner_style, cache), table_density: applyAdminTableDensity(value.table_density),
dashboard_density: applyAdminDashboardDensity(value.dashboard_density), dashboard_widgets: savedOrder, dashboard_hidden_widgets: savedHidden, dashboard_widget_sizes: savedSizes, dashboard_widget_heights: savedHeights, dashboard_auto_fit: savedAutoFit, dashboard_density: applyAdminDashboardDensity(value.dashboard_density), dashboard_widgets: savedOrder, dashboard_hidden_widgets: savedHidden, dashboard_widget_sizes: savedSizes, dashboard_widget_heights: savedHeights, dashboard_auto_fit: savedAutoFit,
}; };
adminPreferences = normalized; adminPreferences = normalized;
@@ -355,7 +361,7 @@ function updateAdminPreferences(patch) {
const next = { ...current, ...patch }; const next = { ...current, ...patch };
next.refresh = normalizeRefreshPreferences(next.refresh); next.refresh = normalizeRefreshPreferences(next.refresh);
next.theme = normalizeAdminTheme(next.theme); next.language = normalizeAdminLanguage(next.language); next.ui_scale = normalizeAdminUiScale(next.ui_scale); next.theme = normalizeAdminTheme(next.theme); next.language = normalizeAdminLanguage(next.language); next.ui_scale = normalizeAdminUiScale(next.ui_scale);
next.time_format = normalizeAdminTimeFormat(next.time_format); next.chart_style = normalizeAdminChartStyle(next.chart_style); next.chart_axes = next.chart_axes === true; next.interface_icons = next.interface_icons === true; next.logo_animation = next.logo_animation === true; next.button_style = normalizeAdminButtonStyle(next.button_style); next.corner_style = normalizeAdminCornerStyle(next.corner_style); next.table_density = normalizeAdminDensity(next.table_density); next.time_format = normalizeAdminTimeFormat(next.time_format); next.chart_style = normalizeAdminChartStyle(next.chart_style); next.chart_axes = next.chart_axes === true; next.interface_icons = next.interface_icons === true; next.logo_animation = next.logo_animation === true; next.stable_dialog_position = next.stable_dialog_position !== false; next.button_style = normalizeAdminButtonStyle(next.button_style); next.corner_style = normalizeAdminCornerStyle(next.corner_style); next.table_density = normalizeAdminDensity(next.table_density);
next.dashboard_density = normalizeAdminDensity(next.dashboard_density, "compact"); next.dashboard_widgets = normalizeDashboardWidgets(next.dashboard_widgets); next.dashboard_hidden_widgets = normalizeHiddenDashboardWidgets(next.dashboard_hidden_widgets); next.dashboard_widget_sizes = normalizeDashboardWidgetSizes(next.dashboard_widget_sizes); next.dashboard_widget_heights = normalizeDashboardWidgetHeights(next.dashboard_widget_heights); next.dashboard_auto_fit = next.dashboard_auto_fit !== false; next.sidebar_collapsed = next.sidebar_collapsed === true; next.dashboard_density = normalizeAdminDensity(next.dashboard_density, "compact"); next.dashboard_widgets = normalizeDashboardWidgets(next.dashboard_widgets); next.dashboard_hidden_widgets = normalizeHiddenDashboardWidgets(next.dashboard_hidden_widgets); next.dashboard_widget_sizes = normalizeDashboardWidgetSizes(next.dashboard_widget_sizes); next.dashboard_widget_heights = normalizeDashboardWidgetHeights(next.dashboard_widget_heights); next.dashboard_auto_fit = next.dashboard_auto_fit !== false; next.sidebar_collapsed = next.sidebar_collapsed === true;
const saved = await api("/api/preferences", { method: "PUT", body: JSON.stringify(next) }); const saved = await api("/api/preferences", { method: "PUT", body: JSON.stringify(next) });
if (!authenticated || epoch !== authEpoch) return adminPreferences; if (!authenticated || epoch !== authEpoch) return adminPreferences;
@@ -363,7 +369,7 @@ function updateAdminPreferences(patch) {
}); });
adminPreferencesWrite = task.catch(() => undefined); return task; adminPreferencesWrite = task.catch(() => undefined); return task;
} }
function resetAdminPreferences() { adminPreferences = null; adminPreferencesLoading = null; adminPreferencesUnavailable = false; adminPreferencesWrite = Promise.resolve(); applyAdminInterfaceIcons(false); applyAdminLogoAnimation(false); window.rustProxyRefresh?.update(REFRESH_DEFAULTS); } function resetAdminPreferences() { adminPreferences = null; adminPreferencesLoading = null; adminPreferencesUnavailable = false; adminPreferencesWrite = Promise.resolve(); applyAdminInterfaceIcons(false); applyAdminLogoAnimation(false); applyAdminStableDialogPosition(true); window.rustProxyRefresh?.update(REFRESH_DEFAULTS); }
function renderRefreshPreferences(value = REFRESH_DEFAULTS) { function renderRefreshPreferences(value = REFRESH_DEFAULTS) {
const refresh = normalizeRefreshPreferences(value); const refresh = normalizeRefreshPreferences(value);
const switcher = $("refresh-live-enabled"); if (switcher) switcher.checked = refresh.live_enabled; const switcher = $("refresh-live-enabled"); if (switcher) switcher.checked = refresh.live_enabled;
@@ -455,6 +461,14 @@ $("ui-logo-animation")?.addEventListener("change", () => {
applyAdminLogoAnimation(previous); applyAdminLogoAnimation(previous);
}); });
}); });
$("ui-stable-dialog-position")?.addEventListener("change", () => {
const control = $("ui-stable-dialog-position"), previous = adminPreferences?.stable_dialog_position !== false, next = control.checked;
applyAdminStableDialogPosition(next); if (adminPreferences) adminPreferences.stable_dialog_position = next;
void saveAppearancePreference({ stable_dialog_position: next }, control, () => {
if (adminPreferences) adminPreferences.stable_dialog_position = previous;
applyAdminStableDialogPosition(previous);
});
});
$("ui-button-style")?.addEventListener("change", () => { $("ui-button-style")?.addEventListener("change", () => {
const control = $("ui-button-style"), previous = adminPreferences?.button_style || "normal", next = normalizeAdminButtonStyle(control.value); const control = $("ui-button-style"), previous = adminPreferences?.button_style || "normal", next = normalizeAdminButtonStyle(control.value);
applyAdminButtonStyle(next); if (adminPreferences) adminPreferences.button_style = next; void saveAppearancePreference({ button_style: next }, control, () => { if (adminPreferences) adminPreferences.button_style = previous; applyAdminButtonStyle(previous); }); applyAdminButtonStyle(next); if (adminPreferences) adminPreferences.button_style = next; void saveAppearancePreference({ button_style: next }, control, () => { if (adminPreferences) adminPreferences.button_style = previous; applyAdminButtonStyle(previous); });
@@ -486,7 +500,7 @@ async function resetAppearancePatch(patch, control, messageKey = "appearanceSect
} }
document.querySelectorAll("[data-appearance-reset]").forEach(control => control.addEventListener("click", () => { document.querySelectorAll("[data-appearance-reset]").forEach(control => control.addEventListener("click", () => {
const patches = { const patches = {
interface: { theme: "dark", language: "auto", ui_scale: 100, time_format: "24h", interface_icons: false, logo_animation: false, button_style: "normal", corner_style: "default" }, charts: { chart_style: "default", chart_axes: false }, tables: { table_density: "normal" }, interface: { theme: "dark", language: "auto", ui_scale: 100, time_format: "24h", interface_icons: false, logo_animation: false, stable_dialog_position: true, button_style: "normal", corner_style: "default" }, charts: { chart_style: "default", chart_axes: false }, tables: { table_density: "normal" },
dashboard: { dashboard_density: ADMIN_DASHBOARD_DEFAULTS.dashboard_density, dashboard_widgets: [...ADMIN_DASHBOARD_WIDGETS], dashboard_hidden_widgets: [...ADMIN_APPEARANCE_DEFAULTS.dashboard_hidden_widgets], dashboard_widget_sizes: null, dashboard_widget_heights: null, dashboard_auto_fit: true }, dashboard: { dashboard_density: ADMIN_DASHBOARD_DEFAULTS.dashboard_density, dashboard_widgets: [...ADMIN_DASHBOARD_WIDGETS], dashboard_hidden_widgets: [...ADMIN_APPEARANCE_DEFAULTS.dashboard_hidden_widgets], dashboard_widget_sizes: null, dashboard_widget_heights: null, dashboard_auto_fit: true },
}; };
void resetAppearancePatch(patches[control.dataset.appearanceReset] || {}, control); void resetAppearancePatch(patches[control.dataset.appearanceReset] || {}, control);
+7 -2
View File
@@ -1305,12 +1305,17 @@ html[data-interface-icons="true"] .network-interface-hidden .quiet>svg.ui-icon {
display: none; display: none;
} }
.metric-info>summary:focus-visible,
.metric-info>summary:hover, .metric-info>summary:hover,
.metric-info[open]>summary { .metric-info[open]>summary {
color: var(--text); color: var(--text);
border-color: var(--border-hover); border-color: var(--border-hover);
outline: none; }
.metric-info>summary:focus-visible {
color: var(--text);
border-color: var(--border-hover);
outline: 2px solid var(--accent);
outline-offset: 2px;
} }
.metric-info-popover { .metric-info-popover {
+9
View File
@@ -426,6 +426,15 @@ dialog.logs-dialog {
box-shadow: 0 18px 70px var(--shadow-strong); box-shadow: 0 18px 70px var(--shadow-strong);
} }
html[data-stable-dialog-position="true"] dialog.vhost-dialog[open],
html[data-stable-dialog-position="true"] dialog.audit-dialog[open],
html[data-stable-dialog-position="true"] dialog.config-history-dialog[open],
html[data-stable-dialog-position="true"] dialog.config-history-json-dialog[open],
html[data-stable-dialog-position="true"] dialog.logs-dialog[open]:not(.docked) {
margin-block-start: 14px;
margin-block-end: auto;
}
.vh-location { .vh-location {
border: 1px solid var(--line); border: 1px solid var(--line);
background: var(--panel); background: var(--panel);
+2
View File
@@ -82,6 +82,7 @@
.appearance-interface-icons-setting, .appearance-interface-icons-setting,
.appearance-logo-animation-setting, .appearance-logo-animation-setting,
.appearance-stable-dialog-position-setting,
.appearance-chart-axes-setting { .appearance-chart-axes-setting {
align-self: center; align-self: center;
min-width: 0; min-width: 0;
@@ -89,6 +90,7 @@
.appearance-interface-icons-setting>span, .appearance-interface-icons-setting>span,
.appearance-logo-animation-setting>span, .appearance-logo-animation-setting>span,
.appearance-stable-dialog-position-setting>span,
.appearance-chart-axes-setting>span { .appearance-chart-axes-setting>span {
display: grid; display: grid;
gap: 4px; gap: 4px;
+12 -2
View File
@@ -315,8 +315,18 @@
sourceSelect().replaceChildren(Object.assign(el("option", t("fileLogsAllSources")), { value: "all" })); sourceSelect().replaceChildren(Object.assign(el("option", t("fileLogsAllSources")), { value: "all" }));
$("file-log-rows").replaceChildren(); $("file-log-aggregate-rows")?.replaceChildren(); renderAggregation(null); syncColumnPicker(); syncHeaders(); $("file-log-rows").replaceChildren(); $("file-log-aggregate-rows")?.replaceChildren(); renderAggregation(null); syncColumnPicker(); syncHeaders();
} }
$("file-log-tab-entries").addEventListener("click", () => setView("entries")); const fileLogTabs = [$("file-log-tab-entries"), $("file-log-tab-counts")];
$("file-log-tab-counts").addEventListener("click", () => setView("counts")); fileLogTabs.forEach((button, index) => {
const view = index === 0 ? "entries" : "counts";
button.addEventListener("click", () => setView(view));
button.addEventListener("keydown", event => {
let next;
if (event.key === "ArrowRight" || event.key === "ArrowDown") next = (index + 1) % fileLogTabs.length;
else if (event.key === "ArrowLeft" || event.key === "ArrowUp") next = (index + fileLogTabs.length - 1) % fileLogTabs.length;
else if (event.key === "Home") next = 0; else if (event.key === "End") next = fileLogTabs.length - 1; else return;
event.preventDefault(); setView(next === 0 ? "entries" : "counts"); fileLogTabs[next].focus();
});
});
$("file-logs-open").addEventListener("click", () => { $("logs-menu").open = false; setPanel("filelogs"); }); $("file-logs-open").addEventListener("click", () => { $("logs-menu").open = false; setPanel("filelogs"); });
$("settings-file-logs-open").addEventListener("click", () => setPanel("filelogs")); $("settings-file-logs-open").addEventListener("click", () => setPanel("filelogs"));
$("file-logs-refresh").addEventListener("click", () => refresh(true)); $("file-logs-refresh").addEventListener("click", () => refresh(true));
+4
View File
@@ -2003,6 +2003,10 @@
data-i18n="logoAnimation">Animate logo</b><small data-i18n="logoAnimation">Animate logo</b><small
data-i18n="logoAnimationHelp">Plays short, subtle animations of data-i18n="logoAnimationHelp">Plays short, subtle animations of
the sidebar logo from time to time and on hover.</small></span></label> the sidebar logo from time to time and on hover.</small></span></label>
<label class="check appearance-stable-dialog-position-setting"><input
id="ui-stable-dialog-position" type="checkbox" /><span><b
data-i18n="stableDialogPosition">Keep dialogs at a stable top position</b><small
data-i18n="stableDialogPositionHelp">Prevents editor dialogs from moving vertically when switching between tabs with different content heights.</small></span></label>
<label><span data-i18n="cornerStyle">Corner rounding</span><select <label><span data-i18n="cornerStyle">Corner rounding</span><select
id="ui-corner-style"> id="ui-corner-style">
<option data-i18n="cornerStyleDefault" value="default">Original <option data-i18n="cornerStyleDefault" value="default">Original
+11 -1
View File
@@ -144,7 +144,17 @@
selectTab("overview"); selectTab("overview");
} }
document.querySelectorAll("[data-traffic-tab]").forEach(button => button.addEventListener("click", () => selectTab(button.dataset.trafficTab))); const trafficTabs = [...document.querySelectorAll("[data-traffic-tab]")];
trafficTabs.forEach(button => {
button.addEventListener("click", () => selectTab(button.dataset.trafficTab));
button.addEventListener("keydown", event => {
const index = trafficTabs.indexOf(button); let next;
if (event.key === "ArrowRight" || event.key === "ArrowDown") next = (index + 1) % trafficTabs.length;
else if (event.key === "ArrowLeft" || event.key === "ArrowUp") next = (index + trafficTabs.length - 1) % trafficTabs.length;
else if (event.key === "Home") next = 0; else if (event.key === "End") next = trafficTabs.length - 1; else return;
event.preventDefault(); selectTab(trafficTabs[next].dataset.trafficTab); trafficTabs[next].focus();
});
});
$("traffic-refresh")?.addEventListener("click", () => void refresh()); $("traffic-scope")?.addEventListener("change", () => void refresh()); $("traffic-refresh")?.addEventListener("click", () => void refresh()); $("traffic-scope")?.addEventListener("change", () => void refresh());
$("traffic-settings")?.addEventListener("click", () => { setPanel("settings"); window.rustProxySettings?.select("logging"); }); $("traffic-settings")?.addEventListener("click", () => { setPanel("settings"); window.rustProxySettings?.select("logging"); });
rustProxyRefresh.register("traffic", { rustProxyRefresh.register("traffic", {
+1 -1
View File
@@ -58,7 +58,7 @@ const defaults = () => ({
}); });
function activateTab(name) { document.querySelectorAll("#vhost-tabs button").forEach(b => { const active = b.dataset.tab === name; b.classList.toggle("active", active); b.setAttribute("aria-pressed", String(active)); b.setAttribute("aria-selected", String(active)); b.tabIndex = active ? 0 : -1; }); container.querySelectorAll(".vh-group").forEach(g => g.hidden = g.dataset.tab !== name); } function activateTab(name) { document.querySelectorAll("#vhost-tabs button").forEach(b => { const active = b.dataset.tab === name; b.classList.toggle("active", active); b.setAttribute("aria-pressed", String(active)); b.setAttribute("aria-selected", String(active)); b.tabIndex = active ? 0 : -1; }); container.querySelectorAll(".vh-group").forEach(g => g.hidden = g.dataset.tab !== name); }
function initTabs() { const tabs = $("vhost-tabs"); tabs.replaceChildren(); tabs.setAttribute("role", "tablist"); for (const [name, key] of [["details", "vhDetailsTab"], ["backends", "vhBackendPool"], ["health", "vhHealth"], ["locations", "vhLocations"], ["auth", "vhTabAuth"], ["ssl", "vhSsl"], ["cache", "vhCache"], ["compression", "vhCompression"], ["transform", "vhTransform"], ["security", "vhSecurity"], ["pages", "vhPages"], ["advanced", "advanced"]]) { const b = button(key, () => activateTab(name)); b.dataset.tab = name; b.setAttribute("role", "tab"); tabs.append(b); } activateTab("details"); } function initTabs() { const tabs = $("vhost-tabs"); tabs.replaceChildren(); tabs.setAttribute("role", "tablist"); for (const [name, key] of [["details", "vhDetailsTab"], ["backends", "vhBackendPool"], ["health", "vhHealth"], ["locations", "vhLocations"], ["auth", "vhTabAuth"], ["ssl", "vhSsl"], ["cache", "vhCache"], ["compression", "vhCompression"], ["transform", "vhTransform"], ["security", "vhSecurity"], ["pages", "vhPages"], ["advanced", "advanced"]]) { const b = button(key, () => activateTab(name)); b.dataset.tab = name; b.setAttribute("role", "tab"); b.addEventListener("keydown", event => { const buttons = [...tabs.querySelectorAll("button")], index = buttons.indexOf(b); let next; if (event.key === "ArrowRight" || event.key === "ArrowDown") next = (index + 1) % buttons.length; else if (event.key === "ArrowLeft" || event.key === "ArrowUp") next = (index + buttons.length - 1) % buttons.length; else if (event.key === "Home") next = 0; else if (event.key === "End") next = buttons.length - 1; else return; event.preventDefault(); activateTab(buttons[next].dataset.tab); buttons[next].focus(); }); tabs.append(b); } activateTab("details"); }
function collectCache() { const tri = name => str(name) === "" ? null : str(name) === "on", number = (name, mul = 1) => { if (str(name) === "") return null; const value = Number(str(name)) * mul; if (!Number.isSafeInteger(value)) throw new Error(t("vhJsonInvalid")); return value; }; return { enabled: tri("vh-cache-enabled"), max_ttl_seconds: number("vh-cache-ttl"), default_ttl_seconds: number("vh-cache-default"), max_object_bytes: number("vh-cache-object", 1024), bypass_query: tri("vh-cache-query"), static_ignore_cookies: tri("vh-cache-static-cookie"), static_extensions: yes("vh-cache-static-custom") ? lines(str("vh-cache-static-extensions")).map(v => v.replace(/^\./, "").toLowerCase()) : null, expose_status: tri("vh-cache-status"), expose_hits: tri("vh-cache-hits"), expose_cache_status: tri("vh-cache-rfc"), expose_resident_age: tri("vh-cache-resident-age"), expose_only_hits: tri("vh-cache-only-hits"), bypass_prefixes: yes("vh-cache-prefix-custom") ? lines(str("vh-cache-prefixes")) : null, unsafe_force: { enabled: yes("vh-cache-force-enabled"), targets: lines(str("vh-cache-force-targets")) } }; } function collectCache() { const tri = name => str(name) === "" ? null : str(name) === "on", number = (name, mul = 1) => { if (str(name) === "") return null; const value = Number(str(name)) * mul; if (!Number.isSafeInteger(value)) throw new Error(t("vhJsonInvalid")); return value; }; return { enabled: tri("vh-cache-enabled"), max_ttl_seconds: number("vh-cache-ttl"), default_ttl_seconds: number("vh-cache-default"), max_object_bytes: number("vh-cache-object", 1024), bypass_query: tri("vh-cache-query"), static_ignore_cookies: tri("vh-cache-static-cookie"), static_extensions: yes("vh-cache-static-custom") ? lines(str("vh-cache-static-extensions")).map(v => v.replace(/^\./, "").toLowerCase()) : null, expose_status: tri("vh-cache-status"), expose_hits: tri("vh-cache-hits"), expose_cache_status: tri("vh-cache-rfc"), expose_resident_age: tri("vh-cache-resident-age"), expose_only_hits: tri("vh-cache-only-hits"), bypass_prefixes: yes("vh-cache-prefix-custom") ? lines(str("vh-cache-prefixes")) : null, unsafe_force: { enabled: yes("vh-cache-force-enabled"), targets: lines(str("vh-cache-force-targets")) } }; }
function collectCompression() { const tri = name => str(name) === "" ? null : str(name) === "on"; return { enabled: tri("vh-compression-enabled"), zstd: tri("vh-compression-zstd"), br: tri("vh-compression-br"), gzip: tri("vh-compression-gzip"), deflate: tri("vh-compression-deflate") }; } function collectCompression() { const tri = name => str(name) === "" ? null : str(name) === "on"; return { enabled: tri("vh-compression-enabled"), zstd: tri("vh-compression-zstd"), br: tri("vh-compression-br"), gzip: tri("vh-compression-gzip"), deflate: tri("vh-compression-deflate") }; }
function collectTransform() { function collectTransform() {
+7
View File
@@ -150,6 +150,13 @@
button.dataset.i18n = key; button.dataset.i18n = key;
button.setAttribute("role", "tab"); button.setAttribute("role", "tab");
button.addEventListener("click", () => activateTab(name)); button.addEventListener("click", () => activateTab(name));
button.addEventListener("keydown", event => {
const buttons = [...tabs.querySelectorAll("button")], index = buttons.indexOf(button); let next;
if (event.key === "ArrowRight" || event.key === "ArrowDown") next = (index + 1) % buttons.length;
else if (event.key === "ArrowLeft" || event.key === "ArrowUp") next = (index + buttons.length - 1) % buttons.length;
else if (event.key === "Home") next = 0; else if (event.key === "End") next = buttons.length - 1; else return;
event.preventDefault(); activateTab(buttons[next].dataset.tab); buttons[next].focus();
});
tabs.append(button); tabs.append(button);
} }
activateTab("general"); activateTab("general");
+11
View File
@@ -77,6 +77,17 @@ missing_refs = {dom_id: sorted(paths) for dom_id, paths in literal_refs.items()
assert not missing_refs, f"embedded panel JS references missing DOM ids: {missing_refs}" assert not missing_refs, f"embedded panel JS references missing DOM ids: {missing_refs}"
assert "ui-interface-icons" in id_set, "Appearance must expose the SVG icon toggle" assert "ui-interface-icons" in id_set, "Appearance must expose the SVG icon toggle"
assert "ui-stable-dialog-position" in id_set, "Appearance must expose the stable dialog position toggle"
preferences_js = (WEB / "app/preferences.js").read_text(encoding="utf-8")
editors_css = (WEB / "css/40-editors.css").read_text(encoding="utf-8")
openapi = __import__("json").loads((ROOT / "src/admin/openapi.json").read_text(encoding="utf-8"))
pl = __import__("json").loads((ROOT / "langs/pl_pl.json").read_text(encoding="utf-8"))["translations"]
assert re.search(r"stable_dialog_position:\s*true", preferences_js), "stable dialog position must default on in the panel"
assert "applyAdminStableDialogPosition(value.stable_dialog_position)" in preferences_js
assert "saveAppearancePreference({ stable_dialog_position: next }" in preferences_js
assert 'html[data-stable-dialog-position="true"] dialog.vhost-dialog[open]' in editors_css
assert openapi["components"]["schemas"]["AdminPreferences"]["properties"]["stable_dialog_position"]["default"] is True
assert pl.get("stableDialogPosition") and pl.get("stableDialogPositionHelp")
assert any(path.name == "icons.js" for path in sources), "semantic icon module must be embedded in app.js" assert any(path.name == "icons.js" for path in sources), "semantic icon module must be embedded in app.js"
assert 'data-i18n="overviewExtraRecentSamples"' not in html, "Overview metric tiles must not show the redundant Recent samples footer" assert 'data-i18n="overviewExtraRecentSamples"' not in html, "Overview metric tiles must not show the redundant Recent samples footer"
+1 -1
View File
@@ -51,5 +51,5 @@ const events = openapi.paths["/api/events"].get;
const logsFlag = (events.parameters || []).find(parameter => parameter.name === "logs"); const logsFlag = (events.parameters || []).find(parameter => parameter.name === "logs");
assert.equal(logsFlag?.schema?.type, "boolean"); assert.equal(logsFlag?.schema?.type, "boolean");
assert.equal(logsFlag?.schema?.default, true); assert.equal(logsFlag?.schema?.default, true);
assert.equal(openapi.info.version, "0.36.11"); assert.equal(openapi.info.version, "0.36.12");
console.log("Panel refresh/API contract checks: OK"); console.log("Panel refresh/API contract checks: OK");