Adam Hopkins
beae35f921
Ignore recent failures on bad TLS tests ( #2611 )
2022-11-29 10:51:51 +02:00
Adam Hopkins
d70636ba2e
Add GenericCreator for loading SSL certs in processes ( #2578 )
2022-10-31 13:22:30 +02:00
Adam Hopkins
3f4663b9f8
Resolve edge case in nested BP Groups ( #2592 )
2022-10-31 12:58:41 +02:00
Ryu Juheon
1c4925edf7
fix: sideeffects created by changing fork to spawn ( #2591 )
2022-10-27 20:39:17 +03:00
Santi Cardozo
6b9edfd05c
improve error message if no apps found in registry ( #2585 )
2022-10-25 16:54:44 +03:00
Adam Hopkins
5052321801
Remove deprecated items ( #2555 )
2022-09-29 01:07:09 +03:00
Adam Hopkins
ec158ffa69
Additional logger and support for multiprocess manager ( #2551 )
2022-09-23 00:01:33 +03:00
Adam Hopkins
6e32270036
Begin middleware revamp ( #2550 )
2022-09-22 00:43:42 +03:00
Zhiwei
43ba381e7b
Refactor _static_request_handler
( #2533 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-09-21 00:45:03 +03:00
Zhiwei
16503319e5
Make WebsocketImplProtocol async iterable ( #2490 )
2022-09-21 00:20:32 +03:00
Adam Hopkins
389363ab71
Better request cancel handling ( #2513 )
2022-09-19 16:04:09 +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
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
Zhiwei
753ee992a6
Validate File When Requested ( #2526 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-08-18 12:05:05 +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
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
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
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
b59da498cc
HTTP/3 Support ( #2378 )
2022-06-27 11:19:26 +03:00
Zhiwei
d1c5e8003b
Fix test_cli
and test_cookies
( #2479 )
2022-06-19 04:43:12 +03:00
Adam Hopkins
ce926a34f2
Add Request contextvars ( #2475 )
...
* Add Request contextvars
* Add missing contextvar setter
* Move location of context setter
2022-06-16 22:57:02 +03:00
Zhiwei
a744041e38
File Cache Control Headers Support ( #2447 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-06-16 16:24:39 +03:00
Adam Hopkins
1668e1532f
Move verbosity filtering to logger ( #2453 )
2022-06-16 12:35:49 +03:00
Vetési Zoltán
b87982769f
Trigger http.lifecycle.request signal in ASGI mode ( #2451 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-06-16 11:55:50 +03:00
Zhiwei
49789b7841
Clean Up Black and Isort Config ( #2449 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-05-26 12:48:32 +03:00
Néstor Pérez
86ae5f981c
refactor: consistent exception naming ( #2420 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-05-12 20:39:35 +03:00
Michael Azimov
5d683c6ea4
Expose scope parameter in request object ( #2432 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-04-26 17:25:29 +03:00
Stephen Sadowski
78b6723149
Preserve blank form values for urlencoded forms (option) ( #2439 )
...
* task(request.form): Add tests for blank values
* fix(request): abstract form property to implement get_form(), allow for preserving of blanks
* fix(request): hinting for parsed_form
* fix(request): typing for parsed_files
* fix(request): ignore type assumption
* fix(request): mypy typechecking caused E501 when type set to ignore
* fix(request): mypy is too stupid to parse continuations
* fix(request): formatting
* fix(request): fix annotation and return for get_form()
* fix(request): linting, hinting
2022-04-24 23:01:35 +03:00
Adam Hopkins
cc97287f8e
Add fall back for Windows even loop fetching ( #2421 )
2022-04-17 12:25:41 +03:00
Adam Hopkins
00218aa9f2
22.3 Internal version bumps ( #2419 )
2022-03-31 14:30:30 +03:00
Adam Hopkins
0cb342aef4
Better exception for bad URL parse ( #2415 )
2022-03-25 00:22:12 +02:00
Ashley Sommer
030987480c
Add config option to skip Touchup step, for debugging purposes ( #2361 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-03-24 13:52:05 +02:00
André Ericson
32962d1e1c
Fixing typing for ListenerMixin.listener ( #2376 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-03-23 15:34:33 +02:00
Adam Hopkins
6e0a6871b5
Upgrade tests for sanic-routing changes ( #2405 )
2022-03-23 13:43:36 +02:00
Adam Hopkins
0030425c8c
Conditionally inject CLI arguments into factory ( #2402 )
2022-03-23 12:00:41 +02:00
Adam Hopkins
c9dbc8ed26
Remove loop as required listener arg ( #2414 )
2022-03-23 11:02:39 +02:00
Callum
44b108b564
Changes to CLI ( #2401 )
...
Co-authored-by: Callum Fleming <howzitcal@zohomail.com>
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2022-03-23 10:30:41 +02:00
Adam Hopkins
2a8e91052f
Add two new events on the reloader process ( #2413 )
2022-03-22 23:29:39 +02:00
Ryu juheon
68b654d981
fix(tasks): newly assigned `None
` in registry ( #2381 )
2022-02-08 08:33:09 +02:00
Adam Hopkins
ac388d644b
Downgrade warnings to backwater debug messages ( #2382 )
2022-01-19 14:26:45 +02:00
Adam Hopkins
b8d991420b
Sanic multi-application server ( #2347 )
2022-01-16 09:03:04 +02:00