137 Commits

Author SHA1 Message Date
anonpenguin23
25935fd3b1
Removed unused command setup-production-security.sh 2025-09-20 13:28:44 +03:00
anonpenguin23
ef0a6d5891 Update CHANGELOG.md v0.43.6 2025-09-20 13:06:48 +03:00
anonpenguin23
fc735c57b3 Update Makefile 2025-09-20 13:05:57 +03:00
anonpenguin
fd677e0290
Merge pull request #32 from DeBrosOfficial/bootstrap-peers
Added default bootstrap peers on config.go
2025-09-20 10:08:48 +03:00
anonpenguin23
3236e48725 Added default bootstrap peers on config.go 2025-09-20 10:07:32 +03:00
anonpenguin
5da956ab9d
Merge pull request #30 from DeBrosOfficial/port-change
Updated Gateway port from 8080/8005 to 6001 - Added Gateway port on
2025-09-20 08:18:47 +03:00
anonpenguin23
66f10df2e1 - Updated Gateway port from 8080/8005 to 6001 - Added Gateway port on
install-debros-network.sh
2025-09-20 08:15:31 +03:00
DeBros
fcbf043aca
Update README.md 2025-09-20 06:38:43 +03:00
DeBros
d866afbecf
Update README.md 2025-09-19 06:24:32 +03:00
anonpenguin23
fdd6dd2db3 Initialize changelog sections for unreleased and v0.43.4 versions v0.43.4 2025-09-18 15:32:06 +03:00
anonpenguin23
a9093355d8 Bump version to 0.42.4-beta and update repo URL 2025-09-18 15:31:03 +03:00
anonpenguin
44498ff381
Merge pull request #19 from DeBrosOfficial/convert-gitdebros
replaced git.debros.io with github.com
2025-09-18 15:29:43 +03:00
anonpenguin23
ff3b15108d replaced git.debros.io with github.com 2025-09-18 15:27:53 +03:00
anonpenguin23
82187de96c - Remove backoff_test.go and associated backoff tests - Created
node_test, write tests for CalculateNextBackoff, AddJitter, GetPeerId,
LoadOrCreateIdentity, hasBootstrapConnections
2025-09-18 07:44:23 +03:00
anonpenguin23
26b24bd7a4 - Added extra comments on main.go - Updated changelog 2025-09-18 06:34:07 +03:00
f54fcffe06 Added changelog v0.42.3 2025-09-15 15:44:37 +03:00
bbab23fd7c Updated version 2025-09-15 15:33:28 +03:00
16a2195685 Removed log from monitoring 2025-09-15 15:32:59 +03:00
5c05b75226 removed unused 2025-09-15 15:08:48 +03:00
2acf969e61 Add node namespace and improve monitoring
The above changes introduce node namespacing and various monitoring
improvements. Let's look at the key changes:

- Add node_namespace config field for partitioning node identifiers -
Initialize pubsub with peer exchange enabled - Reduce client monitoring
interval to 30s - Add metric announcement logging

I would write this commit message as:

Add node namespace and improve monitoring

- Add node_namespace config for partitioning identifiers - Enable pubsub
peer exchange - Adjust monitoring intervals and add logging - Initialize
pubsub with namespace support

The subject line captures the two main themes (namespacing and
monitoring), while the body provides helpful details about the specific
changes made.
2025-09-13 11:29:16 +03:00
9d7c094360 Add Go debug configurations and bump version to 0.42.1
The debug configurations and version bump changes are simple enough to
be captured in the subject line alone, so no body is needed.
2025-09-13 11:00:39 +03:00
6b2512a983 Bump version to 0.42.0-beta and add node monitoring
Add detailed connection and system resource monitoring for nodes using a
new node monitoring package. Remove previous client-only monitoring.
Update openapi specs formatting and add new OS stat dependency.
2025-09-13 07:35:48 +03:00
44ab3eb66d Add pre-push hook to run all tests before pushing 2025-09-13 06:02:56 +03:00
feffcd2a74 updated version 2025-09-12 08:06:22 +03:00
fa7468d833 Updated readme 2025-09-12 08:05:49 +03:00
f580e3d8f4 Removed wrong kv store from network 2025-09-12 08:02:45 +03:00
b53ea93389 Bump version to 0.40.1-beta 2025-08-23 15:39:44 +03:00
df681be07f Refine authorization to distinguish API keys
Add deduplication to pubsub websocket handler to drop recent duplicate
messages within 2 seconds
2025-08-23 15:39:22 +03:00
3fe78ee62a Add OpenAPI spec and SDK authoring guide with TypeScript example
- Add machine-readable OpenAPI spec for Storage, Database, PubSub -
Document HTTP endpoints, auth, migrations, and SDK patterns - Provide
minimal TypeScript SDK example and code - Update README and add example
SDK files and configs - Bump version to 0.40.0-beta
2025-08-23 12:10:54 +03:00
829991da03 Add end-to-end tests for table drop and FK recreate migration 2025-08-23 11:57:15 +03:00
a3e0243e54 Add REST database endpoints to gateway with tests and docs
Implemented CRUD operations for database tables via REST: create-table,
drop-table, query, transaction, and schema retrieval. Included
authentication and namespace ownership enforcement. Added comprehensive
end-to-end tests for new database routes. Updated documentation with
usage examples and migration workflow.
2025-08-23 11:46:49 +03:00
68e1898dab Bump version to 0.39.0-beta 2025-08-23 11:32:08 +03:00
44e3f0a795 Preserve Hijacker/Flusher/Pusher in statusResponseWriter
Return full topic list without trimming namespace prefix in pubsub
handler
2025-08-23 11:31:30 +03:00
c9bb889f8b Improve Gateway handlers with internal auth and logging
- Use internal auth context for all downstream client calls in pubsub
and storage handlers to avoid circular auth and enforce security - Add
gateway component warning logs for pubsub websocket handler on error
conditions and important branch decisions - Fix pubsub topic
subscription and publishing to use un-namespaced topics; handle
namespace filtering explicitly on listing - Accept base64-encoded
payloads in storage E2E test to handle encoded responses transparently
2025-08-23 11:24:48 +03:00
03b3b38967 Improve gateway auth middleware to use internal auth context
Enforce GATEWAY_API_KEY in Makefile E2E test target Fix gateway E2E test
payload reading to use io.ReadAll Remove deprecated multi-node test
targets and cleanup Makefile comments
2025-08-23 11:14:11 +03:00
895f1d5dff Delete legacy e2e_test.go and add new gateway e2e tests 2025-08-23 10:39:58 +03:00
e15a547a10 Merge pull request 'Enforce API key/JWT authentication and namespace gating in client' (#18) from testing into main
Reviewed-on: #18
2025-08-23 07:29:21 +00:00
bd4154a183 Remove deprecated WHITEPAPER.md file 2025-08-22 11:16:15 +03:00
917b0e5acd Enforce API key/JWT authentication and namespace gating in client
- Require API key or JWT by default for client connections - Auto-derive
namespace from JWT claim or API key format `ak_<rand>:<namespace>` -
Deny calls if per-call namespace override mismatches resolved namespace
- Guard Storage, PubSub, Database, and NetworkInfo operations with
access checks - Add context helpers for consistent namespace override
handling - Update docs and add end-to-end and unit tests for
authentication logic
2025-08-20 23:01:51 +03:00
8e5b91dee0 Merge pull request 'feat: implement HTTP gateway with auth, storage, and namespace isolation' (#5) from gateway into main
Reviewed-on: #5
2025-08-20 09:56:09 +00:00
2ced1114d9 Add database migration and auth system enhancements
The commit adds a new database migration system and improves the
authentication flow with multi-wallet support. The migration system
provides robust SQL handling and versioning, while the auth system now
features automatic wallet detection and credential persistence.
2025-08-20 12:55:52 +03:00
1fca8cb411 Add authentication to protected CLI commands
This commit adds wallet-based authentication to protected CLI commands
by removing the manual auth command and automatically prompting for
credentials when needed. Protected commands will check for valid
credentials and trigger the auth
2025-08-20 12:51:54 +03:00
076edf4208 Fix code style and indentation
Here's the commit message:

``` Fix code style and indentation

Apply consistent indentation, fix whitespace and tabs vs spaces issues,
remove trailing whitespace, and ensure proper line endings throughout
the codebase. Also add comments and improve code organization. ```

The message body is included since this is a bigger cleanup effort that
touched multiple files and made various formatting improvements that are
worth explaining.
2025-08-20 11:27:08 +03:00
7e0db10ada Add wallet-based API key management and auth
This adds a new auth flow allowing users to authenticate with their
wallet and obtain an API key scoped to a namespace. It also moves API
key storage from config to the database for better persistence and
key-to-wallet linkage.

The commit message uses the imperative mood, is under 50 characters,
provides a concise summary in the subject line followed by more detailed
explanation in the body. This follows good Git commit message style
while capturing the key changes made.
2025-08-20 10:42:40 +03:00
17f72390c3 feat: add namespace enforcement and API key requirement to client operations 2025-08-16 18:12:08 +03:00
66cdf130fa feat: add gateway build metadata and run-gateway make target with env config 2025-08-16 16:41:34 +03:00
910dbc5bf6 feat: add namespaced pubsub API with websocket and HTTP endpoints 2025-08-16 16:29:54 +03:00
5b0a6864f9 feat: add version endpoint and expand storage/network API with granular handlers 2025-08-16 16:18:47 +03:00
5eca56cd1e feat: implement HTTP gateway with auth, storage, and namespace isolation 2025-08-16 16:04:00 +03:00
271d7bbafb Switch node startup to YAML config files
Update Makefile, README, and .gitignore to use configs/ Add YAML config
loading to node main.go Add gopkg.in/yaml.v3 dependency Remove unused
IsBootstrap field from NodeConfig
2025-08-14 15:49:07 +03:00