aboutsummaryrefslogtreecommitdiff
path: root/src/api
AgeCommit message (Collapse)Author
2019-12-20don't error when cache value can't be deserializedDaniel Schadt
The cache is meant to help out by saving old responses. If those responses do not conform anymore to an updated struct definition, the whole application should not crash. Instead, the value is silently ignored and then overwritten by the proper value that has been fetched from the API. That way, users don't have to manually clear out the cache if a new API schema or new features are released.
2019-12-13don't need trait descriptionsDaniel Schadt
As it looks, not every trait comes with this field, which prevents some traitlines (notably the Firebrand one) from rendering successfully, as serde refuses to deserialize the Trait. We never displayed the description, and it's trivial to add back, so that's why it was removed.
2019-12-12remove quick_errorDaniel Schadt
quick_error used the deprecated Error::cause interface, therefore we want to use our own error enums with proper methods.
2019-12-12use helper traits for better codeDaniel Schadt
2019-12-10sanitize ID before accessing or sending to the APIDaniel Schadt
2019-12-07add chatlink + revenant legends supportDaniel Schadt
2019-12-06initial commitDaniel Schadt