From a9996b6b54e8ec68f966d2c3ac4c720ab16e8b14 Mon Sep 17 00:00:00 2001 From: devitway Date: Mon, 16 Mar 2026 08:55:33 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20dashboard=20=E2=80=94=20docker=20namespa?= =?UTF-8?q?ced=20repos,=20npm=20proxy=20cache,=20upstream=20display=20(v0.?= =?UTF-8?q?2.30)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 400 ++++++++++++++++++++++++++++++++ Cargo.lock | 6 +- Cargo.toml | 2 +- nora-registry/src/repo_index.rs | 30 ++- nora-registry/src/ui/api.rs | 7 +- 5 files changed, 434 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cd4651..a058292 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.29] - 2026-03-15 ### Added / Добавлено @@ -26,6 +36,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.28] - 2026-03-13 ### Fixed / Исправлено @@ -46,6 +66,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.27] - 2026-03-03 ### Added / Добавлено @@ -62,6 +92,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.26] - 2026-03-03 ### Added / Добавлено @@ -86,6 +126,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.25] - 2026-03-03 ### Fixed / Исправлено @@ -112,6 +162,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.24] - 2026-02-24 ### Added / Добавлено @@ -124,6 +184,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.23] - 2026-02-24 ### Added / Добавлено @@ -159,6 +229,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.22] - 2026-02-24 ### Changed / Изменено @@ -167,6 +247,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.21] - 2026-02-24 ### CI/CD @@ -181,6 +271,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.20] - 2026-02-23 ### Added / Добавлено @@ -196,6 +296,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.19] - 2026-01-31 ### Added / Добавлено @@ -210,6 +320,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.18] - 2026-01-31 ### Changed @@ -217,6 +337,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.17] - 2026-01-31 ### Added @@ -225,6 +355,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.16] - 2026-01-31 ### Changed @@ -233,6 +373,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.15] - 2026-01-31 ### Fixed @@ -240,6 +390,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.14] - 2026-01-31 ### Fixed @@ -248,6 +408,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.13] - 2026-01-31 ### Fixed @@ -257,6 +427,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.12] - 2026-01-30 ### Added @@ -281,6 +461,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.11] - 2026-01-26 ### Added @@ -290,6 +480,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.10] - 2026-01-26 ### Changed @@ -297,6 +497,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.9] - 2026-01-26 ### Changed @@ -304,6 +514,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.8] - 2026-01-26 ### Added @@ -311,6 +531,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.7] - 2026-01-26 ### Added @@ -318,6 +548,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.6] - 2026-01-26 ### Added @@ -332,6 +572,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.5] - 2026-01-26 ### Fixed @@ -339,6 +589,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.4] - 2026-01-26 ### Fixed @@ -347,6 +607,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.0] - 2026-01-25 ### Added @@ -417,6 +687,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.1.0] - 2026-01-24 ### Added @@ -436,12 +716,32 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + # Журнал изменений (RU) Все значимые изменения NORA документируются в этом файле. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.12] - 2026-01-30 ### Добавлено @@ -466,6 +766,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.11] - 2026-01-26 ### Добавлено @@ -475,6 +785,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.10] - 2026-01-26 ### Изменено @@ -482,6 +802,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.9] - 2026-01-26 ### Изменено @@ -489,6 +819,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.8] - 2026-01-26 ### Добавлено @@ -496,6 +836,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.7] - 2026-01-26 ### Добавлено @@ -503,6 +853,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.6] - 2026-01-26 ### Добавлено @@ -517,6 +877,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.5] - 2026-01-26 ### Исправлено @@ -524,6 +894,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.4] - 2026-01-26 ### Исправлено @@ -532,6 +912,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.2.0] - 2026-01-25 ### Добавлено @@ -602,6 +992,16 @@ All notable changes to NORA will be documented in this file. --- +## [0.2.30] - 2026-03-16 + +### Fixed / Исправлено +- **Dashboard**: Docker upstream now shown in mount points table (was null) +- **Dashboard**: Docker namespaced repositories (library/alpine, grafana/grafana) now visible in UI +- **Dashboard**: npm proxy-cached packages now appear in package list +- **Dashboard**: Отображение Docker upstream в таблице точек монтирования (было null) +- **Dashboard**: Namespaced Docker-репозитории (library/alpine, grafana/grafana) теперь видны в UI +- **Dashboard**: npm-пакеты из прокси-кеша теперь отображаются в списке пакетов + ## [0.1.0] - 2026-01-24 ### Добавлено diff --git a/Cargo.lock b/Cargo.lock index a2629af..19a8da9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1247,7 +1247,7 @@ checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" [[package]] name = "nora-cli" -version = "0.2.29" +version = "0.2.30" dependencies = [ "clap", "flate2", @@ -1261,7 +1261,7 @@ dependencies = [ [[package]] name = "nora-registry" -version = "0.2.29" +version = "0.2.30" dependencies = [ "async-trait", "axum", @@ -1299,7 +1299,7 @@ dependencies = [ [[package]] name = "nora-storage" -version = "0.2.29" +version = "0.2.30" dependencies = [ "axum", "base64", diff --git a/Cargo.toml b/Cargo.toml index 929e97c..16b7d88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ ] [workspace.package] -version = "0.2.29" +version = "0.2.30" edition = "2021" license = "MIT" authors = ["DevITWay "] diff --git a/nora-registry/src/repo_index.rs b/nora-registry/src/repo_index.rs index a9596d0..83ac1b8 100644 --- a/nora-registry/src/repo_index.rs +++ b/nora-registry/src/repo_index.rs @@ -173,9 +173,12 @@ async fn build_docker_index(storage: &Storage) -> Vec { } if let Some(rest) = key.strip_prefix("docker/") { - let parts: Vec<_> = rest.split('/').collect(); - if parts.len() >= 3 && parts[1] == "manifests" && key.ends_with(".json") { - let name = parts[0].to_string(); + // Support namespaced repos: docker/{ns}/{name}/manifests/{tag}.json + // and flat repos: docker/{name}/manifests/{tag}.json + if let Some(manifests_pos) = rest.find("/manifests/") { + let name = rest[..manifests_pos].to_string(); + let after_manifests = &rest[manifests_pos + "/manifests/".len()..]; + if !after_manifests.is_empty() && key.ends_with(".json") { let entry = repos.entry(name).or_insert((0, 0, 0)); entry.0 += 1; @@ -204,7 +207,7 @@ async fn build_docker_index(storage: &Storage) -> Vec { entry.2 = meta.modified; } } - } + }} } } @@ -240,11 +243,11 @@ async fn build_npm_index(storage: &Storage) -> Vec { let keys = storage.list("npm/").await; let mut packages: HashMap = HashMap::new(); - // Count tarballs instead of parsing metadata.json (faster than parsing JSON) + // Count tarballs first, then fall back to metadata.json for proxy-cached packages for key in &keys { if let Some(rest) = key.strip_prefix("npm/") { - // Pattern: npm/{package}/tarballs/{file}.tgz if rest.contains("/tarballs/") && key.ends_with(".tgz") { + // Pattern: npm/{package}/tarballs/{file}.tgz let parts: Vec<_> = rest.split('/').collect(); if !parts.is_empty() { let name = parts[0].to_string(); @@ -258,6 +261,21 @@ async fn build_npm_index(storage: &Storage) -> Vec { } } } + } else if rest.ends_with("/metadata.json") { + // Proxy-cached package: npm/{package}/metadata.json + // Show package in list but don't inflate version count from upstream metadata + if let Some(name) = rest.strip_suffix("/metadata.json") { + if !name.contains('/') { + packages.entry(name.to_string()).or_insert((0, 0, 0)); + if let Some(stat) = storage.stat(key).await { + let entry = packages.get_mut(name).unwrap(); + entry.1 += stat.size; + if stat.modified > entry.2 { + entry.2 = stat.modified; + } + } + } + } } } } diff --git a/nora-registry/src/ui/api.rs b/nora-registry/src/ui/api.rs index 47921bc..f5a85e5 100644 --- a/nora-registry/src/ui/api.rs +++ b/nora-registry/src/ui/api.rs @@ -200,7 +200,12 @@ pub async fn api_dashboard(State(state): State>) -> Json