Commit Graph

15 Commits

Author SHA1 Message Date
Valentin Brandl
c9a54eda49 Allow requesting badges for branches != master
This changed the cache structure to allow caching data for multiple
branches. The service still assumes a default branch named `master` but
using the `branch` get parameter, the default branch can be changed.

The 404 page for the missing `master` branch was changed to explain the
new parameter.
2020-07-20 20:14:22 +02:00
Valentin Brandl
9fef178a27
Apply cargo fmt 2020-03-21 13:02:53 +01:00
Valentin Brandl
6896a22409
Handle non-existent master branch 2020-02-12 20:56:47 +01:00
Valentin Brandl
dfc49c6b64
Update futures, actix and request to next major version, refactor to use async/await 2020-02-12 19:45:18 +01:00
Valentin Brandl
00b4e60341
Add parse error 2019-07-07 13:29:26 +02:00
Valentin Brandl
eb718990ec
Add repo count to templates 2019-06-12 21:51:16 +02:00
Valentin Brandl
60cba9951f
Add new error types 2019-05-14 01:11:54 +02:00
Valentin Brandl
4556d6a04a
Add custom result type 2019-05-04 15:33:21 +02:00
Valentin Brandl
33288efe82
Use templates and load version information 2019-04-23 18:21:03 +02:00
Valentin Brandl
b12ba47be9
Implement client error 2019-04-21 20:44:47 +02:00
Valentin Brandl
51b3aa9b9e
Add custom error pages 2019-04-21 18:25:54 +02:00
Valentin Brandl
f832e10fac
Add custom error pages 2019-04-21 17:57:57 +02:00
Valentin Brandl
23b841913b
Remove unused error variant 2019-04-20 15:02:38 +02:00
Valentin Brandl
f7b2da2b5a
Add serde and internal error 2019-04-19 22:11:03 +02:00
Valentin Brandl
1584f44511
Move errors in own module 2019-04-19 15:59:51 +02:00