194 Commits

Author SHA1 Message Date
anonpenguin23
5d8a4cefdb refactor: update installation script to use user home directory
- Changed the installation directory from `/opt/debros` to the user's home directory for improved flexibility.
- Updated systemd service configurations to reflect the new installation path for both node and gateway services.
- Ensured that read/write paths are aligned with the new installation directory.
2025-10-25 14:40:45 +03:00
anonpenguin
6877e8df4a Merge pull request #59 from DeBrosOfficial/domain-proxy
feat: enhance update mode in installation script to generate missing …
2025-10-25 14:36:52 +03:00
anonpenguin23
e09b313908 feat: enhance update mode in installation script to generate missing configuration files
- Added logic to check for the presence of essential configuration files during update mode.
- If missing, the script now generates the necessary `bootstrap.yaml` and `gateway.yaml` files to ensure proper setup.
2025-10-25 14:35:13 +03:00
anonpenguin
ee5e4d1851 Merge pull request #58 from DeBrosOfficial/domain-proxy
feat: add domain configuration and ACME TLS support for gateway
2025-10-25 14:28:33 +03:00
anonpenguin23
34c3a9230b Updated script branch to nightly 2025-10-25 14:28:11 +03:00
anonpenguin23
1d1b9f860a feat: add domain configuration and ACME TLS support for gateway
- Introduced a new `Domain` field in the gateway configuration to support HTTPS and ACME certificate provisioning.
- Implemented domain validation to ensure proper format.
- Enhanced the main gateway logic to handle ACME challenges and manage TLS certificates using CertMagic.
- Updated installation script to create necessary directories for ACME certificate storage and configure firewall rules for HTTP/HTTPS ports.
2025-10-25 13:45:53 +03:00
anonpenguin23
97db5b8fc5 chore: update CHANGELOG and version for v0.51.9-beta release
- Added new entries to CHANGELOG.md for the one-command `make dev` target and full stack initialization features.
- Updated version in Makefile from 0.51.7-beta to 0.51.9-beta to reflect the latest changes.
2025-10-25 13:07:04 +03:00
anonpenguin
0c3390c3e3 Merge branch 'main' into nightly 2025-10-25 13:05:00 +03:00
20b7772f04 Fix: Use config file instead of data directory in systemd service 2025-10-25 12:19:31 +03:00
anonpenguin
f9a6acdd53 Merge pull request #56 from DeBrosOfficial/super-fixes
Super fixes
2025-10-25 11:33:55 +03:00
anonpenguin23
678f3897b4 refactor: enhance DeBros network installation script
- Updated script to support a complete DeBros network node installation with gateway.
- Improved user management by introducing a variable for the debros user.
- Added support for idempotent updates and secure systemd service management for both node and gateway services.
- Replaced the configuration wizard with automated configuration file generation using network-cli.
- Enhanced firewall configuration instructions and service management commands for better usability.
2025-10-25 08:40:06 +03:00
anonpenguin23
56af5dadca chore: update .gitignore and CHANGELOG for new development features
- Added .dev/ directory to .gitignore to exclude development process files.
- Updated CHANGELOG.md with new entries for the one-command `make dev` target, full stack initialization, and improved configuration management.
- Simplified README instructions for generating configuration files and starting the complete network stack.
2025-10-25 08:19:31 +03:00
06fefa3f16 Merge pull request #55 from DeBrosOfficial/nightly
chore: update changelog for v0.51.6 release
2025-10-24 14:20:34 +03:00
ff86c5a00e chore: update changelog for v0.51.6 release
- Added entry for LibP2P NAT support under version 0.51.6
- Created new unreleased section at top of changelog for future updates
- Maintained Keep a Changelog format with standard sections (Added, Changed, Deprecated, etc.)
2025-10-24 14:19:21 +03:00
45e666de9e Merge pull request #54 from DeBrosOfficial/nightly
Nat Fixes
2025-10-24 14:17:17 +03:00
07cf2dfe30 Merge pull request #53 from DeBrosOfficial/nat-feat
Nat feat
2025-10-24 14:15:51 +03:00
fb834fe76b feat: add LibP2P NAT support and bump version to 0.51.6-beta
- Added LibP2P support for NAT traversal to improve peer connectivity
- Updated version from 0.51.5-beta to 0.51.6-beta
- Updated CHANGELOG.md to document the new NAT support feature
2025-10-24 13:47:25 +03:00
34e75b0fd3 feat: added support for NAT on LibP2P 2025-10-24 13:41:38 +03:00
anonpenguin
e255de3586 Merge pull request #52 from DeBrosOfficial/nightly
Nightly
2025-10-24 11:19:37 +03:00
anonpenguin
0cd5f22bdb Merge pull request #51 from DeBrosOfficial/config-validation
Config validation
2025-10-24 11:14:22 +03:00
anonpenguin23
6ce9dc1767 Refactor configuration handling in CLI and node package. Updated default config file naming based on node type and enhanced gateway config generation to include bootstrap peers. Improved data directory path handling by expanding environment variables and user home directory. 2025-10-24 11:13:21 +03:00
anonpenguin23
746a54f9e6 Update CHANGELOG.md to include new entries for version 0.51.5, highlighting the addition of YAML file validation and a new authentication command in the CLI. 2025-10-24 11:05:34 +03:00
anonpenguin23
bb3fb06402 Update configuration management and documentation. Added commands for generating and validating configuration files in the CLI, ensuring strict YAML decoding and improved error handling. Updated README to reflect new configuration paths and filesystem permissions. Enhanced Makefile to streamline node and gateway startup processes. 2025-10-24 11:03:50 +03:00
anonpenguin23
e880531290 Enhance README with detailed authentication commands and flow. Introduced explicit commands for managing credentials, improved descriptions of authentication features, and added environment variable support for gateway URL configuration. 2025-10-24 10:02:03 +03:00
anonpenguin23
719d16c428 Enhance configuration validation for nodes and gateways, implementing strict YAML decoding to reject unknown fields. Added comprehensive validation checks for node types, listen addresses, database settings, and discovery parameters. Updated README with configuration validation details and examples. 2025-10-24 10:01:53 +03:00
anonpenguin23
4ea4d2ff15 Enhance configuration validation for nodes and gateways, implementing strict YAML decoding to reject unknown fields. Added comprehensive validation checks for node types, listen addresses, database settings, and discovery parameters. Updated README with configuration validation details and examples. 2025-10-24 09:52:18 +03:00
anonpenguin
3bca53a174 Merge pull request #50 from DeBrosOfficial/nightly
Updated changelog
2025-10-22 09:52:06 +03:00
anonpenguin23
0e77918630 Updated changelog 2025-10-22 09:48:29 +03:00
anonpenguin
09e8960082 Merge pull request #49 from DeBrosOfficial/nightly
Bug fixing
2025-10-22 09:47:24 +03:00
anonpenguin23
a24ede49e8 Update default bootstrap peers in configuration to include additional nodes for improved discovery. 2025-10-22 08:44:06 +03:00
anonpenguin23
e92087abb6 Update version in Makefile to 0.51.2-beta 2025-10-22 08:43:09 +03:00
anonpenguin
70cb214029 Merge pull request #48 from DeBrosOfficial/bug-fixes
Bug fixes
2025-10-22 08:42:17 +03:00
anonpenguin
84a8ca6c9e Merge branch 'nightly' into bug-fixes 2025-10-22 08:41:59 +03:00
anonpenguin23
1b198a1a88 Update CHANGELOG.md for version 0.51.2, enhance API key extraction to support query parameters, and implement internal auth context in status and storage handlers. 2025-10-22 08:41:15 +03:00
anonpenguin23
9d490f7d12 Enhance gateway configuration by adding RQLiteDSN support and updating default connection settings. Updated config parsing to include RQLiteDSN from YAML and environment variables. Changed default RQLite connection URL from port 4001 to 5001. 2025-10-22 08:34:42 +03:00
anonpenguin
81541ad575 Merge pull request #47 from DeBrosOfficial/nightly
Nightly
2025-10-22 07:21:38 +03:00
anonpenguin23
2e3ecd8c65 Changed versions and changelog 2025-10-22 07:18:21 +03:00
anonpenguin
c57a759895 Merge pull request #46 from DeBrosOfficial/discovery-bug-fix
Update node configuration and enhance peer discovery protocol
2025-10-22 07:15:34 +03:00
anonpenguin23
31c42f79c9 Changed bootstrap peers 2025-10-22 07:15:01 +03:00
anonpenguin23
5f4c1f44fc Update node configuration and enhance peer discovery protocol
- Changed the configuration file for run-node3 to use node3.yaml.
- Modified select_data_dir function to require a hasConfigFile parameter and added error handling for missing configuration.
- Updated main function to pass the config path to select_data_dir.
- Introduced a peer exchange protocol in the discovery package, allowing nodes to request and exchange peer information.
- Refactored peer discovery logic in the node package to utilize the new discovery manager for active peer exchange.
- Cleaned up unused code related to previous peer discovery methods.
2025-10-22 07:13:47 +03:00
anonpenguin
d1922ab6dd Merge pull request #42 from DeBrosOfficial/nightly
Peer ID Fixes and Identity v0.51.0
2025-09-26 09:38:59 +03:00
anonpenguin23
02bdef3ded Update CHANGELOG.md 2025-09-26 07:56:05 +03:00
anonpenguin
4b34ff1fad Merge pull request #41 from DeBrosOfficial/peer-id-identity
Peer id identity fixes
2025-09-26 07:55:16 +03:00
anonpenguin23
d42d402117 - Added identity/main.go to generate identity and peer id
- Added encryption module identity.go for reusable identity create, save etc funtions
- Updated make file to support identity/main.go
- Updated node/node.go on loadOrCreateIdentity to use encryption.identity
- Updated cli/main.go to remove fallbacks for identity
- Updated install-debros-network.sh script to use new ./cmd/identity and fixed port order on print
- Updated makefile and changelog
2025-09-26 07:53:20 +03:00
anonpenguin23
87f9dad20e Updated changelog 2025-09-23 07:50:09 +03:00
anonpenguin
540b72bc17 Merge pull request #38 from DeBrosOfficial/nightly
Fixed wrong URL /v1/db to /v1/rqlite
2025-09-23 07:46:26 +03:00
anonpenguin23
1993334579 Updated make file 2025-09-23 07:43:23 +03:00
anonpenguin23
500e6b17c8 Fixed wrong URL /v1/db to /v1/rqlite 2025-09-23 07:42:34 +03:00
anonpenguin
0cd401aaa9 Merge pull request #37 from DeBrosOfficial/nightly
Storage Refactoring
2025-09-23 07:25:24 +03:00
anonpenguin23
6eb014f206 Update CHANGELOG.md 2025-09-23 07:22:49 +03:00