forked from matteo/serves3
1
0
Fork 0
Commit Graph

26 Commits

Author SHA1 Message Date
Eren AY cf98738a0d Fixed redirection to paths not ending with a slash 2024-06-12 11:55:30 +02:00
Matteo Settenvini dcd3c10bdd Refactor size helper function in its own module 2024-06-02 16:55:14 +02:00
Matteo Settenvini 4defbcec1f Reimplement config parsing, add integration tests 2024-06-02 16:47:49 +02:00
Eren AY ed3a1fbfe9 Fixes for requested changes and url rewrite logic now handled by JS since trailing slash is more related to HTML rendering 2024-05-28 14:10:01 +02:00
Eren Ay 0318729d3f fix listing of S3 prefixes not terminated by a slash 2024-04-17 16:06:26 +02:00
Matteo Settenvini 25576463cf
Update pre-commit deps 2023-11-26 19:20:46 +01:00
Matteo Settenvini 3a3cf0d7c0
Stabilize and update deps 2023-11-26 19:19:28 +01:00
Matteo Settenvini e9ce7789d8
Add trufflehog pre-commit hook 2023-08-28 18:41:19 +02:00
Matteo Settenvini 1376c4577c
Update ignore file 2023-08-28 18:31:39 +02:00
Matteo Settenvini beb0ae7e74
Use the published versions of rocket 2023-08-28 18:29:19 +02:00
Matteo Settenvini 69e6fbb2f7
Update cargo-deny config to latest version 2023-08-28 18:25:39 +02:00
Matteo Settenvini 4fcdba52cd
Add missing metadata to Cargo.toml 2023-08-28 18:21:45 +02:00
Matteo Settenvini 6835e0d9d2 RUSTSEC-2023-0052: prefer native TLS to old rustls 2023-08-27 17:30:40 +02:00
Matteo Settenvini ad43eb9a13 CVE: RUSTSEC-2018-0017: use tempfile instead of tempdir 2023-07-12 17:19:26 +02:00
Matteo Settenvini 161f4f1b1d Add size and modified date 2023-07-12 16:52:23 +02:00
Matteo Settenvini 3ebb73959b Enable proper escaping of URL 2023-07-12 15:42:14 +02:00
Matteo Settenvini 6cc5bd3575 Minor documentation fixes 2023-07-04 21:42:39 +02:00
Matteo Settenvini 15231eedc0 Use empty tmp folder for searching for templates 2023-07-02 18:41:47 +02:00
Matteo Settenvini eef3c679f0 Remove useless braces 2023-07-02 18:19:46 +02:00
Matteo Settenvini 221eb9dbc6 Correct logic to detect 404 errors from S3 2023-07-02 18:18:34 +02:00
Matteo Settenvini 74a7ab55f5 Print bucket endpoint and name at start 2023-07-02 17:54:26 +02:00
Matteo Settenvini c1174c3f3b Avoid depending on system openssl 2023-07-02 17:46:47 +02:00
Matteo Settenvini 74274dc076 Minor refactorings 2023-07-02 12:11:13 +02:00
Matteo Settenvini 9fa09de8df Serve both files and directories 2023-07-02 02:06:27 +02:00
Matteo Settenvini 053854ce72 Fix display of folders 2023-07-01 21:31:04 +02:00
Matteo Settenvini eccd4ef797 Connect and retrieve initial bucket index 2023-07-01 13:37:21 +02:00