mleku
|
4e96c9e2f7
|
Remove debug logging across the codebase and update version to `v0.3.0`.
|
4 months ago |
mleku
|
fb956ff09c
|
Block resubmission of deleted events by ID in `SaveEvent` and simplify deletion timestamp checks in `QueryForDeleted`.
|
4 months ago |
mleku
|
eac6ba1410
|
Enhance `HandleDelete` to skip newer events based on delete event timestamp and improve logging for skipped and deleted events.
|
4 months ago |
mleku
|
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.
|
4 months ago |
mleku
|
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.
|
4 months ago |
mleku
|
dddcc682b9
|
Improve `HandleDelete` error handling, add validation for deletion ownership, and enhance logging for unauthorized deletion attempts.
|
4 months ago |
mleku
|
ddaab70d2b
|
Improve `HandleDelete` error handling, add validation for deletion ownership, and enhance logging for unauthorized deletion attempts.
|
4 months ago |
mleku
|
61cec63ca9
|
Add detailed tag filter debugging logs in `QueryEvents` and update `rules.md` with context and debugging guidance.
|
4 months ago |
mleku
|
b063dab2a3
|
Improve logging, error handling for ID queries, and ensure inclusive range boundaries in event management.
|
4 months ago |
mleku
|
9e59d5f72b
|
Set default value for `LogToStdout`, enhance logging for request handling, query events, and filters, and fix ID handling in `relaytester-test.sh`.
|
4 months ago |
mleku
|
fe3893addf
|
Add `LogToStdout` config option, improve tag decoding, and fix ID tracking in event handling
|
4 months ago |
mleku
|
5eb192f208
|
Send initial AUTH challenge if admins are configured and clean up leftover `ORLY` data in `relaytester-test.sh`.
|
4 months ago |
mleku
|
2385d1f752
|
Update `relaytester-test.sh` log level to `off` and improve `follows` key decoding logic in ACL implementation for clarity and error handling.
|
4 months ago |
mleku
|
faad7ddc93
|
add relay-tester scripts
|
4 months ago |
mleku
|
c9314bdbd0
|
Refactor `GetAccessLevel` to include address parameter, update all ACL implementations and handlers for enhanced contextual access control.
|
4 months ago |
mleku
|
85d806b157
|
Bump version to v0.2.1
|
4 months ago |
mleku
|
6207f9d426
|
Enforce authenticated pubkey checks for privileged events, refactor delivery logic for improved efficiency, and extend `Subscription` with `AuthedPubkey`.
|
4 months ago |
mleku
|
ebb5e2c0f3
|
Refactor `publisher` to clean up dead code, streamline event filtering, and optimize subscriber removal logic.
|
4 months ago |
mleku
|
9dec51cd40
|
Switch `sync.Mutex` to `sync.RWMutex` in `publisher` for improved concurrent read performance.
|
4 months ago |
mleku
|
f570660f37
|
Uncomment and enable additional `relayinfo` features and fix order of event response handling in `SaveEvent`.
|
4 months ago |
mleku
|
3d3a0fa520
|
Refactor `Signer` to use `secp256k1` directly and enhance ACL reconfiguration for admin-triggered events
|
4 months ago |
mleku
|
8ddc34d202
|
Bump version to v0.2.0
|
4 months ago |
mleku
|
eaa4006a75
|
Add admin relay handling and real-time subscription syncing in `follows` implementation
|
4 months ago |
mleku
|
f102c205f8
|
Filter out privileged events for non-admin users, refactor `IsPrivileged` logic, and improve event handling with additional checks and utilities.
|
4 months ago |
mleku
|
135508c390
|
Ensure proper memory management by adding `Free` calls to release pooled buffers across `export`, `import`, and event handling workflows.
|
4 months ago |
mleku
|
2491fd2738
|
wire up trigger to restart sync for ACL spider
|
4 months ago |
mleku
|
5a068378fa
|
clean up some remnant commented out code
|
4 months ago |
mleku
|
5edb7a3b09
|
implement auth and a simple admin-follows whitelist
|
4 months ago |
mleku
|
f5a8c094e4
|
Introduce ACL registry with `follows` implementation, enhance `SaveEvent` for replaceable kinds, and refactor filter-based serial fetching. Update configs and dependencies.
|
4 months ago |
mleku
|
b6ea3d5181
|
Add `HandleDelete` and `GetSerialsFromFilter` methods, integrate admin keys handling, and enhance constraints API. Include a new CLI `convert` tool for key translation.
|
4 months ago |
mleku
|
fb8593044d
|
improve fast equal API, add bech32 encoding handling
|
4 months ago |
mleku
|
5a640e7502
|
Introduce `ProcessDelete` method in `database` package; update `go.mod` with `database.orly` module replacements across packages
|
4 months ago |
mleku
|
b76b63c9ac
|
Refactor database methods: simplify `SaveEvent` signature, enhance logging, and introduce deletion check logic with `CheckForDeleted`.
|
4 months ago |
mleku
|
b08e94807b
|
Refactor database methods: simplify `SaveEvent` signature, enhance logging, and introduce deletion check logic with `CheckForDeleted`.
|
4 months ago |
mleku
|
5cadf9c933
|
add acl interface
|
4 months ago |
mleku
|
5a8f0ade1a
|
Handle subscriber removal and force websocket closure on write error
|
4 months ago |
mleku
|
898aa0cb63
|
Add context to `NewPublisher`, improve logging levels, dispatch events on publish, and refine envelope handling
fixes a panic from the nil context
|
4 months ago |
mleku
|
5d04afd748
|
Remove unused `eventpool` package, improve logging levels, standardize websocket handling, and add `HandleClose` functionality.
|
4 months ago |
mleku
|
51f04f5f60
|
implemented event and req
|
4 months ago |
mleku
|
76b251dea9
|
Update module replacements in `go.mod` files to reflect consistent relative paths across packages
|
4 months ago |
mleku
|
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.
|
4 months ago |
mleku
|
94383f29e9
|
Add IP whitelist configuration, enhance message handling with envelope identification, and log remote addresses for improved connection control
|
4 months ago |
mleku
|
576475e3dc
|
Add `countenvelope` encoder with marshal/unmarshal support, buffer pool integration, and tests; improve error messages for subscription validation
|
4 months ago |
mleku
|
6c39ea4332
|
Add `reqenvelope` package with marshal/unmarshal support and tests, implement `GenFilters` utility, and improve filter-related methods for robustness
|
4 months ago |
mleku
|
faa527756b
|
Add `eventenvelope` codec with support for `Submission` and `Result` envelopes, implement `EstimateSize`, and increase buffer capacity
|
4 months ago |
mleku
|
431f37763d
|
add NOTICE and OK envelope encoders with marshal/unmarshal support and comprehensive tests
|
4 months ago |
mleku
|
caf9546d1c
|
add EOSE envelope encoder with marshal/unmarshal support and tests
|
4 months ago |
mleku
|
3867b87b8b
|
create new tag constructors for more flexibility
|
4 months ago |
mleku
|
acee5e3a90
|
implement auth, closed and close envelopes
|
4 months ago |
mleku
|
1ba2bb0a9b
|
implement filter codec
|
5 months ago |