ntfy/util
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
..
embedfs Webhooks (#55), more tests (#35) and python examples (#50) 2021-12-15 16:12:40 -05:00
content_type_writer.go Better mime type probing 2022-01-10 13:38:51 -05:00
content_type_writer_test.go Fix randomly failing test 2022-05-07 19:42:36 -04:00
embedfs.go Reformatting, make update 2022-09-27 12:37:02 -04:00
embedfs_test.go Webhooks (#55), more tests (#35) and python examples (#50) 2021-12-15 16:12:40 -05:00
gzip_handler.go Replace interface{} 2022-10-01 16:31:48 -04:00
gzip_handler_test.go Gzip static responses 2022-03-10 21:55:56 -05:00
limit.go Add test 2022-04-03 20:19:43 -04:00
limit_test.go Making RateLimiter and FixedLimiter, so they can both work with LimitWriter 2022-01-12 17:03:28 -05:00
peek.go Docs and Matrix tests 2022-06-16 11:40:56 -04:00
peek_test.go Attachment behavior fix for Firefox 2022-04-03 12:39:52 -04:00
time.go Docs docs docs 2021-12-11 00:06:25 -05:00
time_test.go Lots more tests 2021-12-10 22:57:01 -05:00
util.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
util_test.go Bump Go version, Generics whoooo 2022-10-01 15:50:48 -04:00