e521b788fb
Delete outdated benchmark reports and results.
...
Removed old benchmark reports and detailed logs from the repository to clean up unnecessary files. These reports appear to be auto-generated and no longer relevant for ongoing development.
2025-09-15 05:00:19 +01:00
935eb1fb0b
added profiler tooling to enable automated generation of profile reports
2025-09-13 13:06:52 +01:00
509aac3819
Remove unused ACL integration and related configuration logic, bump version to v0.4.6.
Go / build (push) Has been cancelled
2025-09-13 11:33:01 +01:00
8290e1ae0e
Refactor error handling in publisher.go, comment redundant logging in acl/follows.go, and improve error handling for connection rejections (403).
2025-09-13 09:07:33 +01:00
fc546ddc0b
Replace errorf with errors and fmt.Errorf, remove redundant logging across database operations, minimize unused imports, and improve concurrent event delivery logic. Added CPU utilization optimization in the main runtime configuration.
2025-09-13 00:47:53 +01:00
fefa4d202e
completed basic benchmark
2025-09-12 21:30:27 +01:00
bf062a4a46
Update default ACL mode to none in config.
2025-09-12 18:44:22 +01:00
098595717f
Integrate ACL with publishers for background event dispatch, ensure proper buffer adjustments in event encoding, and enhance follows sync with event delivery logic.
2025-09-12 16:36:22 +01:00
110223fc4e
Migrate internal module imports to unified package path.
...
Replaced legacy `*.orly` module imports with `next.orly.dev/pkg` paths across the codebase for consistency. Removed legacy `go.mod` files from sub-packages, consolidating dependency management. Added Dockerfiles and configurations for benchmarking environments.
2025-09-12 16:12:31 +01:00
2dd119401b
Improve memory safety with defer for event cleanup across handlers, optimize conditional logging, and bump version to v0.4.3.
Go / build (push) Has been cancelled
2025-09-11 17:14:50 +01:00
6e06905773
Replace WriteTimeout with DefaultWriteTimeout in publisher for consistency and bump version to v0.4.2.
Go / build (push) Has been cancelled
2025-09-11 16:32:40 +01:00
d1316a5b7a
Introduce DefaultWriteTimeout for WebSocket operations, replace hardcoded timeouts, and upgrade version to v0.4.1.
Go / build (push) Has been cancelled
2025-09-11 16:29:43 +01:00
e2b7152221
Introduce Ctx() for proper context management in Listener and replace direct context usage in HandleDelete with Ctx().
...
also introduce a 3 second timeout for websocket read failure
2025-09-11 12:34:01 +01:00
bf7ca1da43
Improve logging consistency across the application, handle context cancellation during WebSocket writes, and introduce async ACL reconfiguration for admin events.
2025-09-11 11:37:25 +01:00
cb54891473
Remove verbose and debug logging across HandleDelete, HandleEvent, and acl/follows for consistency.
2025-09-10 22:26:41 +01:00
4e96c9e2f7
Remove debug logging across the codebase and update version to v0.3.0.
Go / build (push) Has been cancelled
2025-09-10 22:12:54 +01:00
eac6ba1410
Enhance HandleDelete to skip newer events based on delete event timestamp and improve logging for skipped and deleted events.
2025-09-10 20:34:35 +01:00
6b4b035f0c
Refine HandleDelete logic to enforce a-tag criteria for replaceable events, improve parameterized replaceable event handling, and enhance logging for skipped and deleted events.
2025-09-10 20:27:02 +01:00
c2c6720e01
Enhance SaveEvent logic to handle older event rejection with error reporting, validate timestamps in parameterized replaceable events, and improve HandleEvent error handling for blocked events.
2025-09-10 20:11:59 +01:00
ddaab70d2b
Improve HandleDelete error handling, add validation for deletion ownership, and enhance logging for unauthorized deletion attempts.
2025-09-10 19:32:42 +01:00
b063dab2a3
Improve logging, error handling for ID queries, and ensure inclusive range boundaries in event management.
2025-09-10 19:04:54 +01:00
9e59d5f72b
Set default value for LogToStdout, enhance logging for request handling, query events, and filters, and fix ID handling in relaytester-test.sh.
2025-09-10 16:29:55 +01:00
fe3893addf
Add LogToStdout config option, improve tag decoding, and fix ID tracking in event handling
2025-09-10 15:16:33 +01:00
5eb192f208
Send initial AUTH challenge if admins are configured and clean up leftover ORLY data in relaytester-test.sh.
2025-09-10 14:39:22 +01:00
c9314bdbd0
Refactor GetAccessLevel to include address parameter, update all ACL implementations and handlers for enhanced contextual access control.
2025-09-08 07:42:47 +01:00
6207f9d426
Enforce authenticated pubkey checks for privileged events, refactor delivery logic for improved efficiency, and extend Subscription with AuthedPubkey.
2025-09-07 23:41:45 +01:00
ebb5e2c0f3
Refactor publisher to clean up dead code, streamline event filtering, and optimize subscriber removal logic.
2025-09-07 23:35:01 +01:00
9dec51cd40
Switch sync.Mutex to sync.RWMutex in publisher for improved concurrent read performance.
2025-09-07 23:06:46 +01:00
f570660f37
Uncomment and enable additional relayinfo features and fix order of event response handling in SaveEvent.
2025-09-07 23:01:26 +01:00
3d3a0fa520
Refactor Signer to use secp256k1 directly and enhance ACL reconfiguration for admin-triggered events
2025-09-07 21:59:50 +01:00
f102c205f8
Filter out privileged events for non-admin users, refactor IsPrivileged logic, and improve event handling with additional checks and utilities.
2025-09-07 20:51:32 +01:00
135508c390
Ensure proper memory management by adding Free calls to release pooled buffers across export, import, and event handling workflows.
2025-09-07 20:32:39 +01:00
2491fd2738
wire up trigger to restart sync for ACL spider
2025-09-07 20:24:04 +01:00
5a068378fa
clean up some remnant commented out code
2025-09-07 19:18:48 +01:00
5edb7a3b09
implement auth and a simple admin-follows whitelist
Go / build (push) Has been cancelled
2025-09-07 19:08:29 +01:00
f5a8c094e4
Introduce ACL registry with follows implementation, enhance SaveEvent for replaceable kinds, and refactor filter-based serial fetching. Update configs and dependencies.
2025-09-07 16:13:07 +01:00
b6ea3d5181
Add HandleDelete and GetSerialsFromFilter methods, integrate admin keys handling, and enhance constraints API. Include a new CLI convert tool for key translation.
2025-09-07 13:33:25 +01:00
5a640e7502
Introduce ProcessDelete method in database package; update go.mod with database.orly module replacements across packages
2025-09-06 08:38:06 +01:00
b08e94807b
Refactor database methods: simplify SaveEvent signature, enhance logging, and introduce deletion check logic with CheckForDeleted.
2025-09-03 20:59:23 +01:00
5a8f0ade1a
Handle subscriber removal and force websocket closure on write error
2025-09-03 01:20:05 +01:00
898aa0cb63
Add context to NewPublisher, improve logging levels, dispatch events on publish, and refine envelope handling
...
fixes a panic from the nil context
2025-09-03 00:10:36 +01:00
5d04afd748
Remove unused eventpool package, improve logging levels, standardize websocket handling, and add HandleClose functionality.
2025-09-02 23:01:13 +01:00
51f04f5f60
implemented event and req
2025-09-02 20:32:53 +01:00
91d95c6f1a
Migrate package imports from next.orly.dev to new orly domain structure; add new varint and binary encoders with comprehensive tests; enhance existing tag and envelope implementations with additional methods, validations, and test coverage; introduce shared test.sh script for streamlined testing across modules.
2025-08-31 16:52:24 +01:00
94383f29e9
Add IP whitelist configuration, enhance message handling with envelope identification, and log remote addresses for improved connection control
2025-08-31 10:00:50 +01:00
acee5e3a90
implement auth, closed and close envelopes
2025-08-30 13:21:06 +01:00
bf178eae4e
complete the marshal/unmarshal of events using the new pool enabled tag codecs
2025-08-22 14:29:55 +01:00
8add32bb78
Add relayinfo package and utility modules for NIP-11 support
...
Introduce the `relayinfo` package with `NIP-11` utilities, including `Fees`, `Limits`, and `NIPs` structures. Add utility modules for handling numbers, timestamps, and kinds. Integrate functionality for fetching and managing relay information.
2025-08-21 15:22:17 +01:00
ecaf52b98f
Add core packages, configuration system, and initial application structure
2025-08-21 11:04:03 +01:00