37 Commits

Author SHA1 Message Date
elmerfds
dfa13ec718 feat: Integrate centralized caching for port monitoring, availability checking, and conflict detection 2025-06-04 22:07:03 +01:00
elmerfds
6a10450651 feat: Add OIDC/SSO authentication support
- Introduced OIDC authentication allowing users to log in via external identity providers.
- Added configuration options for OIDC in the .env file.
- Implemented OIDC service with initialization, authorization URL generation, and callback handling.
- Created API endpoints for OIDC status, authorization, and callback.
- Updated user model to store OIDC-specific fields.
- Enhanced login page to support OIDC login option.
- Added AuthCallback page to handle OIDC login redirection.
- Implemented role mapping from OIDC groups to TrafegoDNS roles.
- Added security measures including PKCE and state parameter validation.
- Updated settings page to display OIDC configuration status.
2025-06-02 23:01:11 +01:00
elmerfds
16560ed924 feat: add Dashboard, Hostnames, Login, Settings, and Users pages
- Implemented DashboardPage to display system status and statistics.
- Created HostnamesPage for managing hostname configurations with search and filter functionality.
- Added LoginPage for user authentication with error handling.
- Introduced SettingsPage for configuring TrafegoDNS settings.
- Developed UsersPage for managing user accounts and permissions.

feat: set up authentication store

- Established authStore using Zustand for managing user authentication state.

feat: define types for containers, DNS records, and hostnames

- Created TypeScript interfaces for Container, DNSRecord, Hostname, and their respective responses.

chore: configure Tailwind CSS and TypeScript

- Added Tailwind CSS configuration for styling.
- Set up TypeScript configuration for the web application.
- Configured Vite for development and build processes with proxy settings.
2025-05-25 23:51:52 +01:00
elmerfds
5c83cc7f1d feat(sqlite): add installation and troubleshooting guide, ensure better-sqlite3 is a required dependency 2025-05-17 23:21:50 +01:00
elmerfds
64c5211191 feat: add TrafegoDNS CLI tool for database and DNS management
- Implemented a new CLI tool located at `bin/trafego` for managing TrafegoDNS.
- Added commands for database management including status, listing records, cleanup, and refresh.
- Introduced DNS management commands for refreshing records and processing hostnames.
- Integrated CLI with existing API and action broker for enhanced functionality.
- Updated Dockerfile to include the CLI tool setup.
- Created documentation for CLI usage, including installation, commands, options, and examples.
- Enhanced API client with methods for refreshing and processing DNS records.
- Added database command implementations for listing records, showing status, and cleaning up orphaned records.
- Implemented error handling and user feedback for CLI commands.
2025-05-10 23:24:15 +01:00
elmerfds
a7db8a1def feat(database): implement better-sqlite3 support and fallback to sqlite3 or JSON storage 2025-05-10 22:37:48 +01:00
elmerfds
01f1f71078 feat(database): implement database module with repositories and migrator
- Added database connection and initialization logic.
- Created repositories for DNS records, users, revoked tokens, settings, and audit logs.
- Implemented a migrator to handle migration from JSON files to SQLite database.
- Added methods for CRUD operations in each repository.
- Integrated audit logging for state changes in ActionBroker.
2025-05-10 22:09:26 +01:00
elmerfds
02bbf2c860 feat: Implement API server with local authentication bypass and CLI integration 2025-05-10 15:34:49 +01:00
elmerfds
733775d6a7 feat(api): Implement pagination, rate limiting, and WebSocket support for real-time updates 2025-05-10 14:13:24 +01:00
elmerfds
c4306a33fc feat: Add container, DNS, and hostname management routes
- Implemented container management routes including status, listing, and details retrieval.
- Added DNS record management routes for CRUD operations and orphaned records handling.
- Created hostname management routes for managing both preserved and manually managed hostnames.
- Introduced status routes for system health checks and metrics retrieval.
- Enhanced Docker monitor service with filtering options for container listing and detailed retrieval.
- Updated label cache functionality to support retrieval of all labels across containers.
2025-05-10 01:05:19 +01:00
GitHub Action
5d749a1fcb Bump version to 1.10.0 2025-04-21 20:52:53 +00:00
dependabot[bot]
108c1fb620 Bump the dev-dependencies group across 1 directory with 2 updates
Bumps the dev-dependencies group with 2 updates in the / directory: [@aws-sdk/client-route-53](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-route-53) and [dockerode](https://github.com/apocas/dockerode).


Updates `@aws-sdk/client-route-53` from 3.777.0 to 3.787.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-route-53/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.787.0/clients/client-route-53)

Updates `dockerode` from 4.0.5 to 4.0.6
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v4.0.5...v4.0.6)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-route-53"
  dependency-version: 3.787.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: dockerode
  dependency-version: 4.0.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 10:51:58 +00:00
GitHub Action
ea797936c8 Bump version to 1.9.1 2025-04-04 01:06:03 +00:00
GitHub Action
42745120b0 Bump version to 1.9.0 2025-04-03 11:35:42 +00:00
dependabot[bot]
6196064592 Bump the dev-dependencies group with 2 updates
Bumps the dev-dependencies group with 2 updates: [@aws-sdk/client-route-53](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-route-53) and [dockerode](https://github.com/apocas/dockerode).


Updates `@aws-sdk/client-route-53` from 3.772.0 to 3.777.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-route-53/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.777.0/clients/client-route-53)

Updates `dockerode` from 4.0.4 to 4.0.5
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v4.0.4...v4.0.5)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-route-53"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: dockerode
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 10:04:01 +00:00
GitHub Action
89d80737ac Bump version to 1.8.2 2025-03-30 08:20:44 +00:00
dependabot[bot]
b50ee7ade9 Bump the dev-dependencies group with 2 updates
Bumps the dev-dependencies group with 2 updates: [axios](https://github.com/axios/axios) and [@aws-sdk/client-route-53](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-route-53).


Updates `axios` from 1.8.3 to 1.8.4
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.8.3...v1.8.4)

Updates `@aws-sdk/client-route-53` from 3.758.0 to 3.772.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-route-53/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.772.0/clients/client-route-53)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: "@aws-sdk/client-route-53"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 10:34:45 +00:00
elmerfds
d4f678cb1f Revert "Update apiRoutes.js" 2025-03-21 01:34:01 +00:00
elmerfds
defea0bd46 Rename project to "TrafegoDNS" and add web UI components with styles 2025-03-19 22:00:26 +00:00
elmerfds
4a1769514d Update package.json 2025-03-19 01:58:32 +00:00
GitHub Action
c073472e88 Bump version to 1.8.1 2025-03-17 10:54:43 +00:00
dependabot[bot]
3e5fbb47a8 Bump the dev-dependencies group with 2 updates
Updates the requirements on [axios](https://github.com/axios/axios) and [@aws-sdk/client-route-53](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-route-53) to permit the latest version.

Updates `axios` from 1.8.2 to 1.8.3
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.8.2...v1.8.3)

Updates `@aws-sdk/client-route-53` to 3.758.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-route-53/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.758.0/clients/client-route-53)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: "@aws-sdk/client-route-53"
  dependency-type: direct:production
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 09:43:18 +00:00
GitHub Action
275176bae4 Bump version to 1.8.0 2025-03-17 02:11:02 +00:00
GitHub Action
1d46a33f1e Bump version to 1.7.0 2025-03-16 22:38:05 +00:00
elmerfds
2361c58267 fix sync issues 2025-03-16 22:30:03 +00:00
GitHub Action
7b244e9b31 Bump version to 1.7.0 2025-03-16 22:12:21 +00:00
elmerfds
09047f6e65 Merge branch 'main' into dev 2025-03-16 22:10:12 +00:00
GitHub Action
d62b37f7a0 Bump version to 1.7.0 2025-03-16 21:44:29 +00:00
elmerfds
537798db46 Update package.json 2025-03-16 17:06:04 +00:00
elmerfds
ac4c517bec Refactor Route53 provider to use @aws-sdk/client-route-53 and add cache utility functions 2025-03-09 21:44:27 +00:00
elmerfds
881783a06e Bump version to 1.6.0 and add aws-sdk dependency 2025-03-09 19:23:18 +00:00
dependabot[bot]
707ba6c5cc Bump axios from 1.8.1 to 1.8.2
Bumps [axios](https://github.com/axios/axios) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-09 15:36:23 +00:00
elmerfds
e509f75c4c Bump version to 1.5.0 and update logging to reflect renaming to TráfegoDNS 2025-03-09 00:42:22 +00:00
eafx
2e8d483c0f Bump version to 1.0.1 in package.json 2025-03-04 17:11:33 +00:00
dependabot[bot]
e56f7e6364 Bump the dev-dependencies group with 2 updates
Bumps the dev-dependencies group with 2 updates: [axios](https://github.com/axios/axios) and [dockerode](https://github.com/apocas/dockerode).


Updates `axios` from 1.7.4 to 1.8.1
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.4...v1.8.1)

Updates `dockerode` from 4.0.0 to 4.0.4
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v4.0.0...v4.0.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: dockerode
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 10:54:58 +00:00
dependabot[bot]
3ae91da0f0 Bump axios from 1.6.5 to 1.7.4
Bumps [axios](https://github.com/axios/axios) from 1.6.5 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.5...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 09:37:52 +00:00
elmerfds
7ec2f9346d Add initial implementation of Traefik DNS Manager with Docker support 2025-03-02 11:00:22 +00:00