- main.go
- Removed static favicon serving from `ServeMux`.
- Removed import for `net/http`.
- pkg/version/version
- Updated version from v0.6.0 to v0.6.1.
- cmd/lerproxy/main.go
- Added embedded support for default favicon using `//go:embed`.
- Modified logic to serve favicon as an embedded resource or from file in the same directory as the nostr.json
- static/favicon.ico
- Deleted static favicon file.
- cmd/lerproxy/favicon.ico
- Added new file for embedded favicon resource.
- cmd/lerproxy/app/bufpool.go
- Removed bufferPool-related code and `Pool` struct
- cmd/nwcclient/main.go
- Renamed `Method` to `Capability` for clarity in method handling
- pkg/utils/values/values.go
- Added utility functions to return pointers for various types
- pkg/utils/pointers/pointers.go
- Revised documentation to reference `utils/values` package for pointer utilities
- pkg/protocol/nwc/types.go
- Replaced redundant types and structures with simplified versions
- Introduced dedicated structs for `MakeInvoice`, `PayInvoice`, and related results
- Refactored `Transaction` and its fields for consistent type usage
- pkg/protocol/nwc/uri.go
- Added `ParseConnectionURI` function for URI parsing and validation
- pkg/protocol/nwc/client.go
- Refactored `Client` struct to improve key management and relay handling
- Introduced `Request` struct for generic method invocation payloads
- cmd/lerproxy/README.md
- Fixed grammar and punctuation in note about certificate selection
- Improved clarity in instructions for appending intermediate certificates
- Corrected wording in explanation of CLI tool issues with certificates
- cmd/lerproxy/app/reverse.go
- Split long line for X-Forwarded-Host header comment to improve readability
- pkg/app/relay/server-publish.go
- Reformatted comment block for function description to fit within line length limits
- Added comments explaining why certain events aren't deleted from the database
- don't delete any kind of directory events
- pkg/protocol/socketapi/handleReq.go
- Split long lines for better readability in error message and log statements
- Improved formatting of the notice envelope message
- pkg/app/config/config.go
- Added new configuration fields for relay cluster replication authentication
- pkg/app/relay/publish/publisher.go
- Removed redundant package imports and logging statements
- cmd/lerproxy/reverse/proxy.go
- Changed package from 'reverse' to 'main'
- Added standardized Forwarded header according to RFC 7239
- Set X-Forwarded-* headers for backward compatibility
- Updated URL path joining logic
- cmd/lerproxy/hsts/proxy.go
- Changed package from 'hsts' to 'main'
- Updated HSTS header setting
- cmd/lerproxy/timeout/conn.go
- Changed package from 'timeout' to 'main'
- cmd/lerproxy/util/u.go
- Changed package from 'util' to 'main'
- cmd/lerproxy/buf/bufpool.go
- Changed package from 'buf' to 'main'
- cmd/lerproxy/main.go
- Removed redundant package declarations and imports
- Renamed struct and function names to follow camelCase convention
- Updated server setup logic
- cmd/lerproxy/tcpkeepalive/listener.go
- Changed package from 'tcpkeepalive' to 'main'
- cmd/lerproxy/lerproxy.service
- Created new file with systemd unit configuration to run lerproxy as a service
- Defined [Unit], [Service], and [Install] sections with appropriate settings and dependencies