Commit Graph

197 Commits

Author SHA1 Message Date
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
a911808678
Merge pull request #1 from vbrandl/dependabot/cargo/backend/serde-1.0.98
Bump serde from 1.0.97 to 1.0.98 in /backend
2019-08-09 22:59:10 +02:00
dependabot-preview[bot]
0ebd3a9271
Bump serde from 1.0.97 to 1.0.98 in /backend
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.97 to 1.0.98.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.97...v1.0.98)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 20:58:56 +00:00
Valentin Brandl
d81f45154b
Merge pull request #2 from vbrandl/dependabot/cargo/backend/serde_derive-1.0.98
Bump serde_derive from 1.0.97 to 1.0.98 in /backend
2019-08-09 22:57:30 +02:00
Valentin Brandl
08e6003ceb
Merge pull request #4 from vbrandl/dependabot/cargo/backend/awc-0.2.3
Bump awc from 0.2.2 to 0.2.3 in /backend
2019-08-09 22:57:12 +02:00
Valentin Brandl
440655212d
Merge pull request #3 from vbrandl/dependabot/cargo/backend/mime_guess-2.0.1
Bump mime_guess from 2.0.0-alpha.6 to 2.0.1 in /backend
2019-08-09 22:56:02 +02:00
dependabot-preview[bot]
756cf328e7
Bump awc from 0.2.2 to 0.2.3 in /backend
Bumps [awc](https://github.com/actix/actix-web) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/awc-v0.2.2...awc-v0.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 20:54:46 +00:00
dependabot-preview[bot]
2a833aab98
Bump mime_guess from 2.0.0-alpha.6 to 2.0.1 in /backend
Bumps [mime_guess](https://github.com/abonander/mime_guess) from 2.0.0-alpha.6 to 2.0.1.
- [Release notes](https://github.com/abonander/mime_guess/releases)
- [Commits](https://github.com/abonander/mime_guess/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 20:54:21 +00:00
dependabot-preview[bot]
ded4897c50
Bump serde_derive from 1.0.97 to 1.0.98 in /backend
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.97 to 1.0.98.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.97...v1.0.98)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 20:54:02 +00: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
b9dc926978
Add badges
[skip ci]
2019-08-09 20:59:31 +02:00
Valentin Brandl
bc5115ba56
Change header
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 20:49:07 +02:00
Valentin Brandl
8ae30269c8
Rename js output 2019-08-09 20:48:54 +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
99eb44d618
Enable CI
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 19:22:30 +02:00
Valentin Brandl
86705df03d
Put parser in fieldset 2019-08-09 18:22:27 +02:00
Valentin Brandl
9cab2942bf
Move static information to HTML template 2019-08-09 17:54:24 +02:00
Valentin Brandl
8b1184c439
Describe caching of redirects 2019-08-09 17:37:21 +02:00
Valentin Brandl
44cf0c93a2
Cleanup and a bit less heap allocation 2019-08-09 16:19:55 +02:00
Valentin Brandl
16a5ac7553
Fix caching issue 2019-08-09 14:40:26 +02:00
Valentin Brandl
13077eb5cd
Fix caching issue 2019-08-09 14:28:25 +02:00
Valentin Brandl
048069760f
Fix caching issue 2019-08-09 14:26:51 +02:00
Valentin Brandl
ffb47656f2
Test 2019-08-09 12:41:30 +02:00
Valentin Brandl
fe7134c3a3
Test 2019-08-09 12:40:40 +02:00
Valentin Brandl
4d8a296244
Fix Dockerfile 2019-08-09 12:39:58 +02:00
Valentin Brandl
f3bfffd0a9
Fix dockerfile 2019-08-09 12:39:04 +02:00
Valentin Brandl
4fa11bced1
Change workdir after copying 2019-08-07 22:28:36 +02:00
Valentin Brandl
97b4d087a8
Use user rust 2019-08-07 22:27:37 +02:00
Valentin Brandl
c50813409a
Use user rust 2019-08-07 22:26:34 +02:00
Valentin Brandl
f874c336ef
Merge branch 'chore/extract-cache' 2019-08-07 22:24:47 +02:00
Valentin Brandl
da3592f82c
Link dockerignore 2019-08-07 22:24:38 +02:00
Valentin Brandl
d97e392a93
Copy cache crate 2019-08-07 22:24:20 +02:00
Valentin Brandl
501257684e
Implement tests 2019-08-07 22:19:41 +02:00
Valentin Brandl
1e806ef4f0
Add docs 2019-08-07 22:18:52 +02:00
Valentin Brandl
28296a0f6e
Fix logic bug 2019-08-07 22:18:26 +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
9ae990e9c8
Merge branch 'feature/cow' 2019-08-07 20:41:23 +02:00
Valentin Brandl
2cb49c6875
Use arc to minimize clone overhead 2019-08-07 20:41:01 +02:00
Valentin Brandl
ee99c59319
Enable rc feature 2019-08-07 20:40:39 +02:00
Valentin Brandl
49d3055d76
Merge branch 'feature/redirect-cache' 2019-08-07 18:51:52 +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