Commit Graph

5 Commits

Author SHA1 Message Date
spiral
dcc15dc847
Move mediaproxy URL rewriting to ProxyService
This shows full size avatars in API / cards.

Also, rewrite URLs currently stored with media.discordapp.net "back" to
cdn.discordapp.com before sending them to users.
2021-08-01 12:51:54 -04:00
spiral
b34ed5c4c0
API patch improvements
- add PatchObject.CheckIsValid
- use transaction when creating member, as to not create a member if the
patch is invalid
- return edited system in `PATCH /s` endpoint
2021-04-21 22:57:19 +01:00
spiral
05f1ee92ea
DRY-ify checking URL length for avatars 2020-11-22 15:43:38 -05:00
Ske
f03bab303c Explicitly error if the URI schema is wrong 2020-07-05 13:19:43 +02:00
Ske
6d5004bf54 Large refactor and project restructuring 2020-02-12 15:16:19 +01:00