1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-22 17:52:30 +01:00
ntfy/cmd
Karmanyaah Malhotra c2382d29a1 refactor visitor IPs and allow exempting IP Ranges
Use netip.Addr instead of storing addresses as strings. This requires
conversions at the database level and in tests, but is more memory
efficient otherwise, and facilitates the following.

Parse rate limit exemptions as netip.Prefix. This allows storing IP
ranges in the exemption list. Regular IP addresses (entered explicitly
or resolved from hostnames) are IPV4/32, denoting a range of one
address.
2022-10-05 16:04:42 -05:00
..
access.go Bump Go version, Generics whoooo 2022-10-01 15:50:48 -04:00
access_test.go
app.go
app_test.go
config_loader.go Replace interface{} 2022-10-01 16:31:48 -04:00
config_loader_test.go
publish.go Reformatting, make update 2022-09-27 12:37:02 -04:00
publish_test.go change icon from object to string 2022-07-17 15:40:24 -06:00
publish_unix.go cmd: add go1.18 build directives 2022-09-01 00:49:08 +03:00
publish_windows.go
serve.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
serve_test.go
subscribe.go Remove unnecessary else branch 2022-08-18 21:04:30 -04:00
subscribe_darwin.go
subscribe_unix.go cmd: add go1.18 build directives 2022-09-01 00:49:08 +03:00
subscribe_windows.go
user.go Bump Go version, Generics whoooo 2022-10-01 15:50:48 -04:00
user_test.go