Commit Graph
13 Commits
Author SHA1 Message Date
Jake Howard 81fa33ebb5 Remove unnecessary reference 2021-03-28 10:59:49 +01:00
Jake Howard 6209e778e5 Icons should always be cached using full TTL 2021-03-28 10:39:12 +01:00
Jake Howard da55d5ec70 Also run actions CI on pull request
`push` only counts for pushes to branches on the repo, not forks
2021-03-27 15:21:00 +00:00
Jake Howard 828a060698 Run clippy on CI 2021-03-27 15:10:00 +00:00
Jake Howard 3e5971b9db Remove unnecessary result return types 2021-03-27 15:07:26 +00:00
Jake Howard 47c2625d38 Prevent clippy complaining at method
It's not incorrectly wrapped. We care about the return type being `Option`.
2021-03-27 14:36:50 +00:00
Jake Howard 49af9cf4f5 Correctly camelCase acronyms
https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
2021-03-27 14:26:32 +00:00
Jake Howard 6b1daeba05 Implement From over Into
https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
2021-03-27 14:19:57 +00:00
Jake Howard 9f1240d8d9 Only construct JSON object if it's useful 2021-03-27 14:03:46 +00:00
Jake Howard a8138be69b Use if let more 2021-03-27 14:03:31 +00:00
Jake Howard ea57dc3bc9 Use matches macro 2021-03-27 14:03:07 +00:00
Jake Howard 131348a49f Add immutable caching for vault assets
The URLs are cachebusted, so updates will still be applied cleanly and immediately
2021-03-27 13:37:56 +00:00
Jake Howard b22564cb00 Cache icons on the client
This should make the vault pages load much faster, and massively reduce the number of requests.
2021-03-27 13:30:40 +00:00