Files
caddy-proxy-manager/package.json
fuomag9 cf74451e9a feat: MUI date-time pickers, multiselect hosts with search, fix host list
- Replace native datetime-local inputs with @mui/x-date-pickers DateTimePicker
  (proper dark-themed calendar popover with time picker, DD/MM/YYYY HH:mm format,
  min/max constraints between pickers, 24h clock)
- Replace single-host Select with Autocomplete (multiple, disableCloseOnSelect):
  checkbox per option, chip display with limitTags=2, built-in search/filter
- getAnalyticsHosts() now unions traffic event hosts WITH all configured proxy host
  domains (parsed from proxyHosts.domains JSON), so every proxy appears in the list
- analytics-db: buildWhere accepts hosts: string[] (empty = all); uses inArray for
  multi-host filtering via drizzle-orm
- All 6 API routes updated: accept hosts param (comma-separated) instead of host

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 11:42:54 +01:00

51 lines
1.4 KiB
JSON

{
"name": "caddy-proxy-manager",
"version": "1.0.0",
"description": "Caddy Proxy Manager - web UI for managing Caddy reverse proxies with OAuth2 authentication.",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"typecheck": "tsc --noEmit",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^7.3.8",
"@mui/material": "^7.3.6",
"@mui/x-date-pickers": "^8.27.2",
"@types/better-sqlite3": "^7.6.13",
"apexcharts": "^5.6.0",
"bcryptjs": "^3.0.3",
"better-sqlite3": "^12.6.2",
"d3-geo": "^3.1.1",
"dayjs": "^1.11.19",
"drizzle-orm": "^0.45.1",
"maplibre-gl": "^5.19.0",
"maxmind": "^5.0.5",
"next": "^16.1.3",
"next-auth": "^5.0.0-beta.30",
"react": "^19.2.3",
"react-apexcharts": "^2.0.1",
"react-dom": "^19.2.3",
"react-map-gl": "^8.1.0",
"topojson-client": "^3.1.0"
},
"devDependencies": {
"@types/d3-geo": "^3.1.0",
"@types/node": "^25.2.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/topojson-client": "^3.1.5",
"drizzle-kit": "^0.31.9",
"eslint": "^9.39.2",
"eslint-config-next": "^16.1.3",
"typescript": "^5.9.3",
"world-atlas": "^2.0.2"
}
}