Adam Hopkins
d255d1aae1
Conversion of User Guide to the SHH stack ( #2781 )
2023-09-06 15:44:00 +03:00
Adam Hopkins
205795d1e8
Prepare for v23.6 release ( #2797 )
2023-07-25 15:57:29 +03:00
Adam Hopkins
666371bb92
Set multiprocessing start method early ( #2776 )
2023-07-09 22:34:15 +03:00
Adam Hopkins
049983cb70
Fix traversals for intended results ( #2728 )
2023-07-09 09:21:39 +03:00
Zhiwei
e374409567
Adding allow route overwrite option in blueprint ( #2716 )
...
* Adding allow route overwrite option
* Add test case for route overwriting after bp copy
* Fix test
* Fix
* Add test case `test_bp_allow_override`
* Remove conflicted future routes when overwriting is allowed
* Improved test test_bp_copy_with_route_overwriting
* Fix type
* Fix type 2
* Add `test_bp_copy_without_route_overwriting` case
* make `allow_route_overwrite` flag to be internal
* Remove unwanted test case
---------
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-07 14:56:42 +03:00
Mohammad Almoghrabi
273825dab6
Sanic on pypy ( #2682 )
...
Co-authored-by: L. Kärkkäinen <98187+Tronic@users.noreply.github.com>
Co-authored-by: Adam Hopkins <admhpkns@gmail.com>
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-05 12:14:47 +03:00
Adam Hopkins
d680af3709
v23.3 Deprecation Removal ( #2717 )
2023-03-26 15:24:08 +03:00
Adam Hopkins
53820bc241
Allow password to be passed to TLS context ( #2719 )
2023-03-20 12:34:36 +02:00
Adam Hopkins
5a0ed75171
Consume body on DELETE by default ( #2711 )
2023-03-15 18:42:45 +02:00
Mohammad Almoghrabi
6f5303e080
check the status of socket before shutting down ( #2680 )
...
* check the status of socket before shutting down
* remove socket status checking & ignore OSError exception
2023-02-14 22:59:41 +02:00
Adam Hopkins
9cb9e88678
Establish basic file browser and index fallback ( #2662 )
...
Co-authored-by: L. Kärkkäinen <98187+Tronic@users.noreply.github.com>
Co-authored-by: L. Karkkainen <tronic@users.noreply.github.com>
2023-02-05 15:09:04 +02:00
Adam Hopkins
029f564032
Pass unquote thru add_route ( #2639 )
2022-12-21 10:45:23 +02:00
Adam Hopkins
f7040ccec8
Implement restart ordering ( #2632 )
2022-12-18 14:09:17 +02:00
Adam Hopkins
518152d97e
Reload interval on class variable ( #2633 )
2022-12-18 13:36:54 +02:00
Adam Hopkins
0e44e9cacb
Move to HTTP Inspector ( #2626 )
2022-12-18 10:29:58 +02:00
Adam Hopkins
b276b91c21
Allow fork in limited cases ( #2624 )
2022-12-15 11:49:26 +02:00
Adam Hopkins
f32437bf13
Kill server early on worker error ( #2610 )
2022-12-07 14:42:17 +02:00
Adam Hopkins
aef2673c38
Force socket shutdown before close ( #2607 )
...
Co-authored-by: Zhiwei <zhi.wei.liang@outlook.com>
2022-11-29 12:04:22 +02:00
Adam Hopkins
5369291c27
22.9 Docs ( #2556 )
2022-10-31 11:47:23 +02:00
Ryu Juheon
1c4925edf7
fix: sideeffects created by changing fork to spawn ( #2591 )
2022-10-27 20:39:17 +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
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
358498db96
Do not apply double slash to Blueprint and static dirs ( #2515 )
2022-09-15 14:43:20 +03:00
Néstor Pérez
c8df0aa2cb
Fix easter egg through CLI ( #2542 )
2022-09-12 01:44:21 +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
Ryu Juheon
dee09d7fff
style: add some type hints ( #2517 )
2022-08-02 08:47:59 +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
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
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
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
Adam Hopkins
a411bc06e3
Resolve typing of stacked route definitions ( #2455 )
2022-06-16 15:15:20 +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
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
c9dbc8ed26
Remove loop as required listener arg ( #2414 )
2022-03-23 11:02:39 +02:00
Adam Hopkins
2a8e91052f
Add two new events on the reloader process ( #2413 )
2022-03-22 23:29:39 +02:00
Bluenix
d4fb44e986
Document middleware on_request
and on_response
( #2398 )
2022-02-13 21:08:08 +02:00
Adam Hopkins
b8d991420b
Sanic multi-application server ( #2347 )
2022-01-16 09:03:04 +02:00
Adam Hopkins
b91ffed010
Change signal routing for increased consistency ( #2277 )
2021-12-24 01:27:54 +02:00
Adam Hopkins
8c07e388cd
LTS v21.12 Deprecations ( #2306 )
...
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com>
2021-12-24 00:30:27 +02:00
Adam Hopkins
4659069350
Add route context ( #2302 )
2021-12-21 22:56:12 +02:00
Adam Hopkins
55c36e0240
Fix examples to work as expected ( #2305 )
...
* Fix examples to work as expected
* Clean up examples
* Update worker test
* Merge in from main and cleanup example
2021-11-23 23:00:25 +02:00
Xavier Petit
9c576c74db
Fix typehints in route shorthand methods ( #2317 )
...
* Fix typehints in route shorthand methods
Change typehint of the version variable in RouteMixin to allow int string and float types values
Resolves #2314
* fix lint error in version variable
2021-11-19 08:28:05 +02:00
Adam Hopkins
cde02b5936
More consistent config setting with post-FALLBACK_ERROR_FORMAT apply ( #2310 )
...
* Update unit testing and add more consistent config
* Change init and app values to private
* Cleanup line lengths
2021-11-16 13:07:33 +02:00
Adam Hopkins
9a9f72ad64
Move builtin signals to enum ( #2309 )
...
* Move builtin signals to enum
* Fix annotations
2021-11-14 23:21:14 +02:00
Ryu juheon
57e98b62b3
style: add some type hints ( #2279 )
...
* style: add some type hints
* fix: *args is a tuple, but overridden as a list
* fix: if touch this, it will be a maybe breaking change
* fix: remove unused import
* style(app): more correct type
2021-10-20 15:15:39 +03:00