Commit Graph

66 Commits

Author SHA1 Message Date
Valentin Brandl
f1f1d2988e
Merge pull request #9 from vbrandl/dependabot/cargo/backend/lazy_static-1.4.0
Bump lazy_static from 1.3.0 to 1.4.0 in /backend
2019-08-28 09:20:43 +02:00
Valentin Brandl
1d091ee14b
Merge pull request #8 from vbrandl/dependabot/cargo/backend/pretty_env_logger-0.3.1
Bump pretty_env_logger from 0.3.0 to 0.3.1 in /backend
2019-08-28 09:20:33 +02:00
dependabot-preview[bot]
4d3558d686
Bump lazy_static from 1.3.0 to 1.4.0 in /backend
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 04:52:18 +00:00
dependabot-preview[bot]
5ee110b18f
Bump pretty_env_logger from 0.3.0 to 0.3.1 in /backend
Bumps [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/seanmonstar/pretty-env-logger/releases)
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 05:36:32 +00:00
dependabot-preview[bot]
1d4852f6f3
Bump serde_derive from 1.0.98 to 1.0.99 in /backend
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.98 to 1.0.99.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.98...v1.0.99)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 05:34:55 +00:00
dependabot-preview[bot]
e12db07d3a
Bump awc from 0.2.3 to 0.2.4 in /backend
Bumps [awc](https://github.com/actix/actix-web) from 0.2.3 to 0.2.4.
- [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.3...awc-v0.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-14 05:01:15 +00:00
Valentin Brandl
387b6241a2
Remove some clones by using Cow
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-11 13:48:04 +02:00
Valentin Brandl
0729909bab
Remove cache module 2019-08-11 12:56:22 +02:00
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
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
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
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
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
ee99c59319
Enable rc feature 2019-08-07 20:40:39 +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
67a0f565d3
Ignore generated files 2019-07-29 18:19:33 +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