aboutsummaryrefslogtreecommitdiff
path: root/src/web/web_server.rs
Commit message (Collapse)AuthorAgeFilesLines
* Handle OPTIONS on website endpointbucket-corsAlex Auvolat2022-01-241-3/+7
|
* Implement {Put,Get,Delete}BucketCors and CORS in generalAlex Auvolat2022-01-241-52/+60
| | | | | | - OPTIONS request against API endpoint - Returning corresponding CORS headers on API calls - Returning corresponding CORS headers on website GET's
* Make use of website config, return error document on errorAlex Auvolat2022-01-131-26/+102
|
* New buckets for 0.6.0: make bucket id a SK and not a HK, CLI updatesAlex Auvolat2022-01-041-1/+1
|
* New buckets for 0.6.0: small changesAlex Auvolat2022-01-041-2/+1
| | | | | | | | | | | | - Fix bucket delete - fix merge of bucket creation date - Replace deletable with option in aliases Rationale: if two aliases point to conflicting bucket, resolving by making an arbitrary choice risks making data accessible when it shouldn't be. We'd rather resolve to deleting the alias until someone puts it back.
* New buckets for 0.6.0: small fixes, including:Alex Auvolat2022-01-041-1/+1
| | | | | | | | - ensure bucket names are correct aws s3 names - when making aliases, ensure timestamps of links in both ways are the same - fix small remarks by trinity - don't have a separate website_access field
* Model changesAlex Auvolat2022-01-041-4/+12
|
* New model for bucketsAlex Auvolat2022-01-041-13/+20
|
* Improved handling of HTTP rangestrinity-1686a2021-11-291-0/+1
| | | | | | | | | | | - correct HTTP code when range syntax is invalid (fix #140) - when multiple ranges are given, simply ignore and send whole file Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/157 Reviewed-by: Alex <alex@adnab.me> Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* add support for vhost-style s3 bucketTrinity Pointard2021-11-161-111/+3
|
* Fix clippy lints (fix #121)Alex Auvolat2021-10-261-4/+4
|
* fix clippy warnings on webTrinity Pointard2021-05-031-12/+12
|
* document web crateTrinity Pointard2021-04-271-0/+1
|
* add support for caching headersTrinity Pointard2021-03-181-1/+1
|
* Do not accept domains such as [hellofeature/websiteAlex Auvolat2021-01-151-5/+8
|
* Explicitly set code path unreachableQuentin2021-01-151-3/+1
|
* Behavior problem: do not panic anymore + add testsQuentin2021-01-151-5/+10
|
* Fix formattingQuentin Dufour2020-12-171-14/+14
|
* Web server access controlQuentin Dufour2020-12-171-0/+16
|
* Handle HEADQuentin2020-11-211-4/+8
|
* Use handle_getQuentin2020-11-211-121/+13
|
* We are able to serve a fileQuentin2020-11-211-5/+106
|
* Fix host to keyQuentin2020-11-211-5/+19
|
* Support punnycodeQuentin2020-11-201-1/+3
|
* Make it compile againQuentin2020-11-191-2/+3
|
* Build errorQuentin2020-11-111-3/+22
|
* Build path correctlyQuentin2020-11-111-4/+36
|
* WIP fetch objectQuentin2020-11-111-0/+7
|
* Add documentation to host_to_bucketQuentin2020-11-101-0/+6
|
* Panic when it is a logical errorQuentin2020-11-101-4/+1
|
* Rewrite for clarityQuentin2020-11-101-8/+11
|
* Fix indent againQuentin2020-11-101-6/+11
|
* Fixes due to integration testsQuentin2020-11-101-2/+1
|
* Rewrite authority to host while staying on stackQuentin2020-11-101-21/+22
|
* Fix formattingQuentin2020-11-101-35/+35
|
* Extract bucketQuentin2020-11-101-5/+50
|
* Log hostQuentin2020-11-081-2/+2
|
* Add some documentationQuentin2020-11-081-1/+9
|
* Parse host headerQuentin2020-11-081-3/+68
|
* Skeleton to the new web APIQuentin2020-11-021-0/+37