binwiederhier
|
346d8d7967
Works
|
1 year ago |
binwiederhier
|
3eeeac2c13
Merge branch 'enable-subscriber-rate-limiting' into matrix-507-reject
|
1 year ago |
binwiederhier
|
94f6d2d5b5
Rename flag
|
1 year ago |
binwiederhier
|
1c4420bca8
EnableRateVisitor flag
|
1 year ago |
binwiederhier
|
4d22ccc7f6
WIP Reject 507s after a while
|
1 year ago |
binwiederhier
|
fe3a225f8f
Add `billing-contact` config option
|
1 year ago |
binwiederhier
|
8ca08ce868
Fix panic when using Firebase without users
|
1 year ago |
binwiederhier
|
ba46630138
Various things
|
1 year ago |
binwiederhier
|
0967414f79
Bump version, add more details to rate_visitor logs
|
1 year ago |
binwiederhier
|
8215b66db3
Logging improvements, etc.
|
1 year ago |
binwiederhier
|
f7f343fe55
Logging fixes
|
1 year ago |
binwiederhier
|
0606fbe60a
Adjust Matrix/UP behavior to work with Synapse+Mastodon
|
1 year ago |
Karmanyaah Malhotra
|
0d7aba9487
Fix Matrix errors and tests
|
1 year ago |
binwiederhier
|
70cd267ff5
Return 507 for UP publishers without subscribers
|
1 year ago |
binwiederhier
|
d5052d79e6
Add up* length requirement
|
1 year ago |
binwiederhier
|
45928ddc47
Release notes
|
1 year ago |
binwiederhier
|
bfc3983d06
Only set rate visitor if allowed
|
1 year ago |
binwiederhier
|
2329695a47
Polishing
|
1 year ago |
binwiederhier
|
57e1104afb
Ensure we return 429s for Matrix endpoints too; return proper error codes
|
1 year ago |
binwiederhier
|
ede957973b
Merge branch 'main' into vrate
|
1 year ago |
binwiederhier
|
422ad0cc5d
UnifiedPush: Treat non-Basic/Bearer `Authorization` header like header was not sent
|
1 year ago |
binwiederhier
|
0c3d832c5f
More todos
|
1 year ago |
binwiederhier
|
bdeec4d297
Polish a little
|
1 year ago |
binwiederhier
|
21b27b5dbe
Working test
|
1 year ago |
binwiederhier
|
29340e7e24
Add test, fails
|
1 year ago |
binwiederhier
|
4ab450309f
Merge branch 'main' into user-account
|
1 year ago |
Karmanyaah Malhotra
|
ce7d447f16
limitRequestsWithTopic
|
1 year ago |
binwiederhier
|
ef9d6d9f6c
Support for annual billing intervals
|
1 year ago |
Karmanyaah Malhotra
|
0e4044b747
rename lastVisitor to vRate
|
1 year ago |
Karmanyaah Malhotra
|
1655f584f9
rate limiting impl 2.0?
|
1 year ago |
Karmanyaah Malhotra
|
36685e9df9
Suggested changes
|
1 year ago |
binwiederhier
|
96439ac41f
Do not set m.Expires if `cache: no` is set
|
1 year ago |
binwiederhier
|
9ff3bb0c87
Ensure that calls to standard logger `log.Println` also output JSON
|
1 year ago |
binwiederhier
|
b8e976f4f6
Bump to 2.0.0
|
1 year ago |
binwiederhier
|
6c51b7558a
Fine tuning error messages, add --ignore-exists flag to tier/user command
|
1 year ago |
binwiederhier
|
76d46ec646
Minor tweaks
|
1 year ago |
Karmanyaah Malhotra
|
b9badee6db
remove TTL, will make a seperate PR
|
1 year ago |
Karmanyaah Malhotra
|
c6b64df662
remove ttl
|
1 year ago |
Karmanyaah Malhotra
|
7c5b9c0e62
only log expiry if applicable
|
1 year ago |
Karmanyaah Malhotra
|
6bfe4a9779
Bill to visitor and set TTL in response
|
1 year ago |
Karmanyaah Malhotra
|
fb2fa4c478
Fix m.Expires and prune stale topics based on lastVisitorExpires
|
1 year ago |
Karmanyaah Malhotra
|
28b654ae27
Keep track of lastVisitor to a topic
|
1 year ago |
binwiederhier
|
80292f1f4d
Tiny changes
|
1 year ago |
Karmanyaah Malhotra
|
d686e1ee77
Use visitor instead of UserID in topicSubscription
|
1 year ago |
binwiederhier
|
66cf54e458
Fix delayed messages expiry, thanks to @karmanyaahm
|
1 year ago |
binwiederhier
|
610adb062b
More docs
|
1 year ago |
binwiederhier
|
70aa384bc3
Docs for access tokens
|
1 year ago |
binwiederhier
|
355424c0da
Fix trace logging
|
1 year ago |
binwiederhier
|
bed60b71ff
Tester feedback
|
1 year ago |
binwiederhier
|
cc309e87e9
Remove awkward subscription id
|
1 year ago |