Commit Graph

2713 Commits

Author SHA1 Message Date
Adam Hopkins
38b4ccf2bc
Cleanup implementation 2022-09-19 21:34:50 +03:00
Adam Hopkins
8b970dd490
Merge branch 'main' of github.com:sanic-org/sanic into middleware-revamp 2022-09-19 16:04:38 +03:00
Adam Hopkins
389363ab71
Better request cancel handling (#2513) 2022-09-19 16:04:09 +03:00
Adam Hopkins
c9be17e8da
Merge conflicts 2022-09-18 23:48:06 +03:00
Adam Hopkins
7f894c45b3
Add deprecation warning filter (#2546) 2022-09-18 18:54:35 +03:00
Adam Hopkins
4726cf1910
Sanic Server WorkerManager refactor (#2499)
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com>
2022-09-18 17:17:23 +03:00
Adam Hopkins
19f642b364
Add to tests 2022-09-15 18:46:09 +03:00
Adam Hopkins
c4c39cb082
Merge branch 'main' of github.com:sanic-org/sanic into middleware-revamp 2022-09-15 18:33:22 +03:00
Adam Hopkins
d352a4155e
Add signals before and after handler execution (#2540) 2022-09-15 15:49:21 +03:00
Adam Hopkins
e5010286b4
Raise warning and deprecation notice on violations (#2537) 2022-09-15 15:24:46 +03:00
Adam Hopkins
358498db96
Do not apply double slash to Blueprint and static dirs (#2515) 2022-09-15 14:43:20 +03:00
monosans
e4999401ab
Improve and fix some type annotations (#2536) 2022-09-13 08:53:48 +03:00
Néstor Pérez
c8df0aa2cb
Fix easter egg through CLI (#2542) 2022-09-12 01:44:21 +03:00
Adam Hopkins
5fb207176b
Update bug_report.md 2022-08-29 12:47:01 +03:00
Adam Hopkins
a12b560478
Update feature_request.md 2022-08-29 12:46:39 +03:00
Adam Hopkins
c7bac72137
WIP 2022-08-20 22:24:43 +03:00
Zhiwei
753ee992a6
Validate File When Requested (#2526)
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-08-18 12:05:05 +03:00
Hunt Zhan
09089b1bd3
Resolve issue 2529 (#2530) 2022-08-18 08:58:07 +03:00
Adam Hopkins
beb5c62767
Add global middleware ordering 2022-08-17 21:57:07 +03:00
Adam Hopkins
09b59d34fe
Fix typing error 2022-08-17 15:26:59 +03:00
Adam Hopkins
78bc475bb1
Add test case 2022-08-17 15:23:30 +03:00
Adam Hopkins
b59131504b
Merge branch 'main' into middleware-revamp 2022-08-17 14:17:34 +03:00
Adam Hopkins
7ddbe5e844
Update config.yml 2022-08-17 10:44:02 +03:00
Adam Hopkins
ab5a7038af
Update SECURITY.md 2022-08-17 10:42:22 +03:00
Adam Hopkins
4f3c780dc3
Update feature_request.md 2022-08-17 10:38:15 +03:00
Adam Hopkins
71f7765a4c
Update bug_report.md 2022-08-17 10:37:35 +03:00
Adam Hopkins
0392d1dcfc
Always show server location in ASGI (#2522)
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
Co-authored-by: Zhiwei Liang <zhi.wei.liang@outlook.com>
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com>
2022-08-11 10:00:35 +03:00
Adam Hopkins
7827b1b41d
Add Request properties for HTTP method info (#2516) 2022-08-10 21:12:09 +03:00
Adam Hopkins
8e9342e188
Warn on duplicate route names (#2525) 2022-08-10 20:36:47 +03:00
Adam Hopkins
782e0881e5
Slots to Middleware 2022-08-07 22:38:25 +03:00
Adam Hopkins
c72cbe4326
Begin middleware revamp 2022-08-07 22:31:26 +03:00
Adam Hopkins
2f6f2bfa76
Rename code of conduct 2022-08-02 13:56:53 +03:00
Ryu Juheon
dee09d7fff
style: add some type hints (#2517) 2022-08-02 08:47:59 +03:00
Adam Hopkins
9cf38a0a83
MERGEBACK (#2495) (#2512)
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
Co-authored-by: Zhiwei Liang <zhi.wei.liang@outlook.com>
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com>
2022-07-31 15:50:46 +03:00
Adam Hopkins
3def3d3569
Use path.parts instead of match (#2508) 2022-07-31 12:54:42 +03:00
Adam Hopkins
e100a14fd4
Use pathlib for path resolution (#2506) 2022-07-31 08:49:02 +03:00
Adam Hopkins
2fa28f1711
Fix dotted test 2022-07-28 10:07:30 +03:00
Néstor Pérez
9d415e4ec6
Prevent directory traversion with static files (#2495)
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
Co-authored-by: Zhiwei Liang <zhi.wei.liang@outlook.com>
2022-07-28 09:45:45 +03:00
Tim Gates
312ab298fd
docs: Fix a few typos (#2502)
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-07-24 22:47:39 +03:00
Zhiwei
2fc21ad576
Replace Unsupported Python Version Number from the Contributing Doc (#2505)
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-07-24 22:33:05 +03:00
Zhiwei
8f6c87c3d6
Fix Test Cases: test_http for Py3.9+, test_json_response_json for ujson 5.4.0+, and test_zero_downtime; Test Case Type Annotations (#2504) 2022-07-24 22:07:54 +03:00
Adam Hopkins
4429e76532
Add to changelog 2022-06-30 12:52:27 +03:00
Michael Azimov
e4be70bae8
Add custom loads function (#2445)
Co-authored-by: Zhiwei <chihwei.public@outlook.com>
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-06-29 23:39:21 +03:00
Adam Hopkins
13d5a44278
Release 22.6 (#2487) 2022-06-28 15:25:46 +03:00
Adam Hopkins
aba333bfb6
Improve API docs (#2488) 2022-06-28 10:53:03 +03:00
Adam Hopkins
b59da498cc
HTTP/3 Support (#2378) 2022-06-27 11:19:26 +03:00
Zhiwei
70382f21ba
Fix and improve file cache control header calculation (#2486) 2022-06-26 23:11:48 +03:00
Néstor Pérez
0e1bf89fad
Add missing spaces in CLI error message (#2485) 2022-06-26 10:38:35 +03:00
Aidan Timson
6c48c8b3ba
Fix for running in pythonw (#2448)
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-06-19 14:48:06 +03:00
Zhiwei
d1c5e8003b
Fix test_cli and test_cookies (#2479) 2022-06-19 04:43:12 +03:00