Commit Graph

41 Commits

Author SHA1 Message Date
Valentin Brandl
f2fd9563f0
Add some logging
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-10 14:38:00 +02:00
Valentin Brandl
1f7a1978b9
Replace deprecated function
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 23:10:31 +02:00
Valentin Brandl
ee148689cb
Request only sha from GitHub API
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 22:42:48 +02:00
Valentin Brandl
da90b45b67
Add optional accept header 2019-08-09 22:38:46 +02:00
Valentin Brandl
3f5b118ac5
Rename project
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 19:43:58 +02:00
Valentin Brandl
44cf0c93a2
Cleanup and a bit less heap allocation 2019-08-09 16:19:55 +02:00
Valentin Brandl
4985c497df
Extract cache into own crate 2019-08-07 21:44:20 +02:00
Valentin Brandl
2ef81fb75b
Add missing import 2019-08-07 21:27:19 +02:00
Valentin Brandl
312d9360c3
Cache redirects for 5 minutes in CDN and local 2019-08-07 21:26:12 +02:00
Valentin Brandl
e81136b045
CacheControl private 2019-08-07 21:10:04 +02:00
Valentin Brandl
733c6135da
CacheControl private 2019-08-07 21:05:06 +02:00
Valentin Brandl
bef5f70eab
Revert "Don't cache redirects"
This reverts commit 2778b3ac84.
2019-08-07 21:01:09 +02:00
Valentin Brandl
2778b3ac84
Don't cache redirects 2019-08-07 20:57:23 +02:00
Valentin Brandl
2cb49c6875
Use arc to minimize clone overhead 2019-08-07 20:41:01 +02:00
Valentin Brandl
902bad4ca5
Use redirect cache for tags and branches 2019-08-07 18:51:28 +02:00
Valentin Brandl
b65df17a4e
Helper methods 2019-08-07 18:50:52 +02:00
Valentin Brandl
566f4c0e01
Add cache struct and implementation 2019-08-07 18:50:28 +02:00
Valentin Brandl
493b5e8111
Serve gists 2019-08-05 21:15:51 +02:00
Valentin Brandl
7e90aec5d9
Remove unnecessary boxing 2019-08-02 23:54:35 +02:00
Valentin Brandl
ced6c7dc46
Remove unused code 2019-08-02 23:53:23 +02:00
Valentin Brandl
237eb52ff4
Serve static files with default 2019-07-29 18:20:31 +02:00
Valentin Brandl
bd6bffeafb
Normalize paths 2019-07-29 18:19:56 +02:00
Valentin Brandl
fa4bf3e6dc
Remove some debug output 2019-07-28 20:45:58 +02:00
Valentin Brandl
0d1206fed2
Debug output 2019-07-28 17:40:08 +02:00
Valentin Brandl
ec0254ec75
Debug output 2019-07-28 17:16:27 +02:00
Valentin Brandl
e75a341241
Debug endpoint 2019-07-28 17:07:15 +02:00
Valentin Brandl
f59470d89f
Remove debug output 2019-07-28 17:00:20 +02:00
Valentin Brandl
0a67a24abd
Debug output 2019-07-28 16:56:58 +02:00
Valentin Brandl
ebe8ea9f0b
Debug output 2019-07-28 16:51:11 +02:00
Valentin Brandl
a4490ab53c
Remove debug stuff 2019-07-28 16:49:09 +02:00
Valentin Brandl
63def33286
Debug output 2019-07-28 16:44:05 +02:00
Valentin Brandl
db89ac4078
Purge via get request 2019-07-28 16:25:30 +02:00
Valentin Brandl
fd5b802d25
Make purging more ergonomic 2019-07-28 16:10:04 +02:00
Valentin Brandl
c5da9c5812
Remove debug output 2019-07-28 15:37:52 +02:00
Valentin Brandl
78d4be8558
Add debug output 2019-07-28 15:27:23 +02:00
Valentin Brandl
c05c2ffabf
Properly load env vars 2019-07-28 14:54:36 +02:00
Valentin Brandl
2c8e999f3f
Add endpoint to purge file from cache 2019-07-28 14:45:39 +02:00
Valentin Brandl
242456d943
Serve static files from ./public 2019-07-27 20:25:25 +02:00
Valentin Brandl
1690585bd7
Make GH auth query static 2019-07-27 17:14:08 +02:00
Valentin Brandl
8c3f870321
Add command line parameters 2019-07-27 17:13:11 +02:00
Valentin Brandl
06bbc5b3ed
Move everything to backend folder 2019-07-27 16:22:57 +02:00