1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-08-13 04:56:57 +02:00
ntfy/server
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
..
actions.go Bump Go version, Generics whoooo 2022-10-01 15:50:48 -04:00
actions_test.go Format actions PR, changelog 2022-06-22 20:23:15 -04:00
config.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
config_test.go
errors.go Replace interface{} 2022-10-01 16:31:48 -04:00
file_cache.go Delete expired attachments based on mod time instead of DB entry to avoid races 2022-07-08 10:00:04 -04:00
file_cache_test.go Delete expired attachments based on mod time instead of DB entry to avoid races 2022-07-08 10:00:04 -04:00
mailer_emoji.json
message_cache.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
message_cache_test.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
ntfy.service
server.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
server.yml Docs 2022-07-03 19:36:58 -04:00
server_firebase.go Replace interface{} 2022-10-01 16:31:48 -04:00
server_firebase_test.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
server_matrix.go Reformatting, make update 2022-09-27 12:37:02 -04:00
server_matrix_test.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
server_test.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
smtp_sender.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
smtp_sender_test.go WIP 2021-12-27 16:39:28 +01:00
smtp_server.go
smtp_server_test.go Docs and Matrix tests 2022-06-16 11:40:56 -04:00
topic.go Call subscriber funtions in individual goroutines 2022-06-22 13:52:49 -04:00
types.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
util.go
util_test.go
visitor.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00