John Vandenberg
d6bdfac1b9
build(deps): update derive_more to v1.0 ( #3453 )
...
* build(deps): update derive_more to v1.0
* refactor: use from derive module
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-08-18 14:17:03 +00:00
Rob Ede
538c1bea34
chore: disallow e bindings
2024-08-10 05:15:49 +01:00
Rob Ede
e0e4d1e661
chore: move deny lints to manifests
2024-07-07 03:54:00 +01:00
Rob Ede
763c58445a
test: fix tests based on mime-guess inference
...
relates to https://github.com/abonander/mime_guess/pull/86
2024-06-30 20:28:11 +01:00
dependabot[bot]
8c31d137aa
build(deps): bump taiki-e/install-action from 2.26.18 to 2.27.2 ( #3294 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-02-19 12:31:10 +00:00
Rob Ede
2125aca2c5
Rustls v0.22 support ( #3275 )
2024-02-03 23:55:01 +00:00
Dialga
fcfc727295
actix-files: fix handling linebreaks in filenames ( #3237 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-01-10 03:56:15 +00:00
Rob Ede
46dde69d50
chore(actix-files): prepare release 0.6.4
2024-01-06 10:19:15 +00:00
Sven-Hendrik Haase
febba786fa
actix-files: Properly handle newlines in file names ( #3235 )
2024-01-06 10:11:40 +00:00
Rob Ede
5e5e5d8315
chore: remove allow(uninlined_format_args)
2023-12-16 10:33:00 +00:00
Rob Ede
32ddf972c6
docs: add guarded-listings example
2023-10-30 00:03:22 +00:00
Rob Ede
905c30af86
Actix Web Rustls v0.21 support ( #3116 )
2023-08-29 01:11:11 +01:00
Rob Ede
79a38e0628
apply standard formatting
2023-07-17 02:38:12 +01:00
Raminder Singh
4eeb01415c
Fix failing test on Windows ( #3037 )
2023-07-02 00:36:06 +00:00
Rob Ede
241da6e081
update MSRV to 1.65 ( #3059 )
2023-07-02 01:09:15 +01:00
Rob Ede
6fdda45ca3
update bitflags to v2
2023-05-06 11:38:51 +01:00
Rob Ede
442fa279da
uncomment error variant
2023-03-13 14:30:21 +00:00
Rob Ede
bfdc29ebb8
normalize actix-files error messages
2023-03-13 14:22:50 +00:00
Rob Ede
67efa4a4db
migrate to doc_auto_cfg
2023-02-26 21:55:25 +00:00
Lioness100
42193bee29
fix typos ( #2982 )
2023-02-20 08:11:16 +00:00
Rob Ede
b933ed4456
add tests for files_listing_renderer
2023-02-03 21:04:07 -05:00
Rob Ede
6f0a6bd1bb
address clippy lints
...
For intrepid commit message readers:
The choice to add allows for the inlined format args lint instead of actually
inlining them is not very clear because our actual real world MSRV is not clear.
We currently claim 1.60 is our MSRV but this is mainly due to dependencies. I'm
fairly sure that we could support < 1.58 if those deps are outdated in a users
lockfile. We'll remove these allows again at some point soon.
2023-01-01 20:56:34 +00:00
kkocdko
73b94e902d
fix xhtml pages' content-disposition
( #2903 )
...
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-10-09 12:44:10 +01:00
Rob Ede
cc7145d41d
rust 1.64 clippy run ( #2891 )
2022-09-25 20:54:17 +01:00
Juan Aguilar
c993055fc8
replace askama_escape in favor of v_htmlescape ( #2824 )
2022-08-30 09:34:46 +01:00
Rob Ede
20f4cfe6b5
fix partial ranges for video content ( #2817 )
...
fixes #2815
2022-07-23 16:27:01 +01:00
Rob Ede
6408291ab0
appease clippy by deriving Eq on a bunch of items ( #2818 )
2022-07-23 16:26:48 +01:00
Rob Ede
a03a2a0076
deprecate NamedFile::set_status_code
2022-03-10 02:54:06 +00:00
Rob Ede
745e738955
fix negative impl assertion on 1.60+
...
see https://github.com/rust-lang/rust/issues/94791
2022-03-10 02:36:57 +00:00
Rob Ede
1fd90f0b10
Implement getters for named file fields ( #2689 )
...
Co-authored-by: Janis Goldschmidt <github@aberrat.io>
2022-03-10 01:29:26 +00:00
Clément Nerma
955c3ac0c4
Add support for audio files streaming ( #2645 )
2022-03-03 00:29:59 +00:00
Rob Ede
10ef9b0751
remove useless doctest main fns
2022-02-22 12:32:06 +00:00
Rob Ede
ad38973767
move blocking error to web ( #2660 )
2022-02-22 08:45:28 +00:00
Rob Ede
3d621677a5
clippy
2022-02-08 08:00:47 +00:00
Rob Ede
21a08ca796
tweak set_content_encoding docs
2022-01-28 20:27:16 +00:00
Luca Palmieri
a9f497d05f
Guard against broken intra-doc links in CI ( #2616 )
2022-01-28 17:28:16 +00:00
Rob Ede
1bd2076b35
prevent drive traversal in windows
2022-01-25 16:44:05 +00:00
Rob Ede
d7c5c966d2
remove impl Future for HttpResponse ( #2601 )
2022-01-24 11:56:01 +00:00
Rob Ede
c25dd23820
move path impls to derives
2022-01-22 04:02:34 +00:00
Rob Ede
bc89f0bfc2
s/example/examples
2022-01-21 16:56:33 +00:00
Rob Ede
1cc3e7b24c
deprecate Path::path
( #2590 )
2022-01-19 20:26:33 +00:00
Rob Ede
6c97d448b7
update tokio-uring to 0.2 ( #2583 )
2022-01-12 17:53:36 +00:00
Rob Ede
85c9b1a263
move quoter
2022-01-04 12:58:40 +00:00
Ali MJ Al-Nasrawy
374dc9bfc9
files: percent-decode url path ( #2398 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-04 12:54:11 +00:00
Rob Ede
93754f307f
try path config from Data as well
2022-01-04 04:08:46 +00:00
Rob Ede
c7639bc3be
document quoter
2022-01-04 03:48:12 +00:00
Rob Ede
0bc4ae9158
remove BodyEncoding
trait ( #2565 )
2022-01-03 18:46:04 +00:00
Rob Ede
e890307091
Fix AcceptEncoding header ( #2501 )
2022-01-03 13:17:57 +00:00
Rob Ede
4616ca8ee6
rework Guard
trait ( #2552 )
2021-12-28 02:37:13 +00:00
Rob Ede
11ee8ec3ab
align remaining header map terminology ( #2510 )
2021-12-13 16:08:08 +00:00