Skip to content

Playlist upload rate-limits and icon validation#986

Merged
Toastbrot236 merged 10 commits intoLittleBigRefresh:mainfrom
Toastbrot236:pl-ratelimit
Feb 9, 2026
Merged

Playlist upload rate-limits and icon validation#986
Toastbrot236 merged 10 commits intoLittleBigRefresh:mainfrom
Toastbrot236:pl-ratelimit

Conversation

@Toastbrot236
Copy link
Contributor

Playlist creation requests from both LBP1 and 3 are now rate-limited to discourage spamming empty unedited playlists, which has already happened multiple times since Patchwork 1.3 released, so it might become a problem soon. Update requests are also rate-limited but less tightly. Also, both LBP1 playlist upload (create and update) endpoints will now set the request's icon to blank if it is invalid or missing, and I've finally added a few unit tests for playlists, mostly to test icon validation.

@Toastbrot236 Toastbrot236 merged commit 61e5293 into LittleBigRefresh:main Feb 9, 2026
3 checks passed
@Toastbrot236 Toastbrot236 deleted the pl-ratelimit branch February 9, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant