Commit Graph

18 Commits

Author SHA1 Message Date
Valentin Brandl
14cd21dc1c Make paths consistent
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-24 19:13:08 +01:00
Valentin Brandl
8e78d13443 Make full base URL configurable 2020-11-24 19:06:42 +01:00
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
349640acc5
Implement endpoint for cache deletion
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-15 13:15:54 +02:00
Valentin Brandl
6896a22409
Handle non-existent master branch 2020-02-12 20:56:47 +01:00
Valentin Brandl
bbf5bba490
Reduce number of parameters
Some checks are pending
continuous-integration/drone/push Build is pending
2019-11-25 17:27:16 +01:00
Valentin Brandl
c5bbd14a05
Update documentation for the JSON endpoint 2019-07-07 13:36:14 +02:00
Valentin Brandl
ed1cafafd0
Show commit count in overview page 2019-07-07 13:29:03 +02:00
Valentin Brandl
21243e6cfb
Document JSON endpoint on index page 2019-06-16 15:00:46 +02:00
Valentin Brandl
284e41c591
Fix footer structure 2019-06-12 21:57:24 +02:00
Valentin Brandl
60dc242e5a
Add repo count to templates 2019-06-12 21:50:45 +02:00
Valentin Brandl
d6835b96de
Refactor into smaller modules 2019-05-14 01:11:39 +02:00
Valentin Brandl
eb0ee4b31d
Add generator and result page 2019-05-04 15:38:00 +02:00
Valentin Brandl
1f807a14fb
Use version info struct 2019-04-30 14:20:11 +02:00
Valentin Brandl
fd6f58ca9c
Add overview template 2019-04-29 20:38:05 +02:00
Valentin Brandl
39f11c14f5
Fix css path 2019-04-26 15:48:29 +02:00
Valentin Brandl
8d7f696dea
Make domain name configurable
The domain name can be set using the `--domain` or `-d` flags. It
defaults to `hitsofocode.com`.

Also the CLI options are now parsed inside a lazy_static context to be
available for the templates.
2019-04-23 22:50:51 +02:00
Valentin Brandl
3990ea0a12
Add templates 2019-04-23 18:19:54 +02:00