Commit Graph

59 Commits

Author SHA1 Message Date
0729909bab Remove cache module 2019-08-11 12:56:22 +02:00
f2fd9563f0 Add some logging
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-10 14:38:00 +02:00
1f7a1978b9 Replace deprecated function
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 23:10:31 +02:00
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
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
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
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
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
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
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
da90b45b67 Add optional accept header 2019-08-09 22:38:46 +02:00
3f5b118ac5 Rename project
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 19:43:58 +02:00
99eb44d618 Enable CI
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 19:22:30 +02:00
44cf0c93a2 Cleanup and a bit less heap allocation 2019-08-09 16:19:55 +02:00
4985c497df Extract cache into own crate 2019-08-07 21:44:20 +02:00
2ef81fb75b Add missing import 2019-08-07 21:27:19 +02:00
312d9360c3 Cache redirects for 5 minutes in CDN and local 2019-08-07 21:26:12 +02:00
e81136b045 CacheControl private 2019-08-07 21:10:04 +02:00
733c6135da CacheControl private 2019-08-07 21:05:06 +02:00
bef5f70eab Revert "Don't cache redirects"
This reverts commit 2778b3ac84.
2019-08-07 21:01:09 +02:00
2778b3ac84 Don't cache redirects 2019-08-07 20:57:23 +02:00
2cb49c6875 Use arc to minimize clone overhead 2019-08-07 20:41:01 +02:00
ee99c59319 Enable rc feature 2019-08-07 20:40:39 +02:00
902bad4ca5 Use redirect cache for tags and branches 2019-08-07 18:51:28 +02:00
b65df17a4e Helper methods 2019-08-07 18:50:52 +02:00
566f4c0e01 Add cache struct and implementation 2019-08-07 18:50:28 +02:00
493b5e8111 Serve gists 2019-08-05 21:15:51 +02:00
7e90aec5d9 Remove unnecessary boxing 2019-08-02 23:54:35 +02:00
ced6c7dc46 Remove unused code 2019-08-02 23:53:23 +02:00
237eb52ff4 Serve static files with default 2019-07-29 18:20:31 +02:00
bd6bffeafb Normalize paths 2019-07-29 18:19:56 +02:00
67a0f565d3 Ignore generated files 2019-07-29 18:19:33 +02:00
fa4bf3e6dc Remove some debug output 2019-07-28 20:45:58 +02:00
0d1206fed2 Debug output 2019-07-28 17:40:08 +02:00
ec0254ec75 Debug output 2019-07-28 17:16:27 +02:00
e75a341241 Debug endpoint 2019-07-28 17:07:15 +02:00
f59470d89f Remove debug output 2019-07-28 17:00:20 +02:00
0a67a24abd Debug output 2019-07-28 16:56:58 +02:00
ebe8ea9f0b Debug output 2019-07-28 16:51:11 +02:00
a4490ab53c Remove debug stuff 2019-07-28 16:49:09 +02:00
63def33286 Debug output 2019-07-28 16:44:05 +02:00
db89ac4078 Purge via get request 2019-07-28 16:25:30 +02:00
fd5b802d25 Make purging more ergonomic 2019-07-28 16:10:04 +02:00
c5da9c5812 Remove debug output 2019-07-28 15:37:52 +02:00
0828e7fd9e Optimizing elm build 2019-07-28 15:37:30 +02:00
78d4be8558 Add debug output 2019-07-28 15:27:23 +02:00
c05c2ffabf Properly load env vars 2019-07-28 14:54:36 +02:00
2c8e999f3f Add endpoint to purge file from cache 2019-07-28 14:45:39 +02:00
209ccb7093 Document environment variables 2019-07-28 14:42:59 +02:00
242456d943 Serve static files from ./public 2019-07-27 20:25:25 +02:00