Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sanic-org/sanic

Accelerate your web app development | Build fast. Run fast.
https://github.com/sanic-org/sanic

Adds Blueprint Group exception decorator (#2238)

* Add exception decorator

* Added tests

* Fix line too long

404c5f9f9eb54f06d1f30250bc2cc840c18a0eab authored over 3 years ago by Néstor Pérez <[email protected]>
Add ability to return Falsey but not-None from handlers (#2236)

a937e08ef057f24c21c645f18b6df3688915fe1f authored over 3 years ago by Adam Hopkins <[email protected]>
Call abort() on sockets after close() to prevent dangling sockets (#2231)

ef4f058a6cd809a292838ae9aa4e3fa70e323877 authored over 3 years ago by Ashley Sommer <[email protected]>
Blueprint specific exception handlers (#2208)

69c5dde9bfbe449bf32f7d77f2246fba38676a3a authored over 3 years ago by Adam Hopkins <[email protected]>
Move server.py into its own module (#2230)

* Move server.py into its own module

* Change monkeypatch path on test_logging.py

945885d501f993c4a7bb3045ca162ca441aae1ff authored over 3 years ago by Adam Hopkins <[email protected]>
Split HttpProtocol parts into base SanicProtocol and HTTPProtocol subclass (#2229)

* Split HttpProtocol parts into base SanicProtocol and HTTPProtocol subclass.

* lint fixes

...

9d0b54c90d97aeb348c5a058a5ff3100947700cb authored over 3 years ago by Ashley Sommer <[email protected]>
Add convenience for annotated handlers (#2225)

2e5c288feae62e13e2ca604a2854a9f3175395d3 authored over 3 years ago by Adam Hopkins <[email protected]>
Accept header parsing (#2200)

* Add some tests

* docstring

* Add accept matching

* Add some more tests on matching

...

f32ef20b74b75059518876150ae87d5307195db4 authored over 3 years ago by Adam Hopkins <[email protected]>
Copy Blueprints Implementation (#2184)

e2eefaac55fb5ae45fd3217dc184cd98030bc477 authored over 3 years ago by Zhiwei <[email protected]>
Add default messages to SanicExceptions (#2216)

* Add default messages to SanicExceptions

* Cleaner exception message setting

e1cfbf0fd97e80a08eb167bf6aa55c09598ddcc0 authored over 3 years ago by Adam Hopkins <[email protected]>
Style: add type hints (#2217)

* style(routes): add_route argument, return typing

* style(listeners): typing

* style(view...

08c5689441717e3134ca996d84a6b33f1f231767 authored over 3 years ago by YongChan Cho <[email protected]>
Fix bug where ws exceptions not being logged (#2213)

* Fix bug where ws exceptions not being logged

* Fix t\est

8dbda247d6cbe35247b422e76106a366baf098e3 authored over 3 years ago by Adam Hopkins <[email protected]>
Add convenience methods to BP groups (#2209)

71a631237dad4a541da283422cbbd85473ad53fc authored over 3 years ago by Adam Hopkins <[email protected]>
uncomment windows tests (#2214)

e22ff3828bce88d624524ed0c5e67bf2231668b6 authored over 3 years ago by Zhiwei <[email protected]>
Signals Integration (#2160)

* Update some tests

* Resolve #2122 route decorator returning tuple

* Use rc sanic-routing...

b1b12e004eff1702d969ac711e5863b46b79e893 authored over 3 years ago by Adam Hopkins <[email protected]>
Fixed for handling exceptions of asgi app call. (#2211)

@cansarigol3megawatt Thanks for looking into this and getting the quick turnaround on this. I wi...

5308fec3543abd91541ab28624f7061888c9ff03 authored over 3 years ago by Can Sarigol <[email protected]>
Fixed for handling exceptions of asgi app call. (#2211)

@cansarigol3megawatt Thanks for looking into this and getting the quick turnaround on this. I wi...

0ba57d4701047490169194c8dd220ae6c5896be9 authored over 3 years ago by Can Sarigol <[email protected]>
Log remote address if available (#2207)

* Log remote address if available

* Add tests

* Fix testing version

Co-authored-by: Ada...

54ca6a6178798515c34116765d3dda192915cfce authored over 3 years ago by Néstor Pérez <[email protected]>
Update CHANGELOG

7dd4a78cf2bb7a83ea44ef70d7258764dcd21455 authored over 3 years ago by Adam Hopkins <[email protected]>
Merge branch 'current-release' of github.com:sanic-org/sanic

52ff49512ac7eef7f4f7eaa9b809db4db7f7d813 authored over 3 years ago by Adam Hopkins <[email protected]>
Bump version 21.6.1

5a48b940895dbc7acee3fa316978c4270b0293a1 authored over 3 years ago by Adam Hopkins <[email protected]>
Fix issues with after request handling in HTTP pipelining (#2201)

* Clean up after a request is complete, before the next pipelined request.

* Limit the size o...

ba1c73d947389243b06bdf2920f742364fcc9943 authored over 3 years ago by L. Kärkkäinen <[email protected]>
Fix issues with after request handling in HTTP pipelining (#2201)

* Clean up after a request is complete, before the next pipelined request.

* Limit the size o...

4732b6bdfa9a3de4285f79ed219e72a6e62cb15c authored over 3 years ago by L. Kärkkäinen <[email protected]>
Resolve regressions in exceptions (#2181)

a6e78b70ab8e0201dbfd0a2d3fec86ae1623970a authored over 3 years ago by Adam Hopkins <[email protected]>
Fix the handling of the end of a chunked request. (#2188)

* Fix the handling of the end of a chunked request.

* Avoid hardcoding final chunk header siz...

bb1174afc5abd8d1db463f647ffb2fef2a27f1cd authored over 3 years ago by L. Kärkkäinen <[email protected]>
Manually reset the buffer when streaming request body (#2183)

df8abe9cfd84a92f94f169d5fed98abb6fc94a56 authored over 3 years ago by Adam Hopkins <[email protected]>
Update sanic-routing to fix path issues plus lookahead / lookbehind support (#2178)

* Update sanic-routing to fix path issues plus lookahead / lookbehind support

* Update setup....

c3bca97ee171020680dee40ac94f695ed26eb45e authored over 3 years ago by Robert Palmer <[email protected]>
HTTP tests (#2194)

c3b6fa1bba8f3eb4f26b712b5e231e99d29913fd authored over 3 years ago by Adam Hopkins <[email protected]>
Change dumps to AnyStr (#2193)

94d496afe12043a87ea1af7a1dcdf73e8f66c718 authored over 3 years ago by Adam Hopkins <[email protected]>
raise exception for `_static_request_handler` unknown exception; add test with custom error (#2195)

Co-authored-by: n.feofanov <[email protected]>
Co-authored-by: Adam Hopkins <admhpkns@gm...

7b7a572f9b4cc6131479fec9688bfb86a88cac61 authored over 3 years ago by gluhar2006 <[email protected]>
Update README.rst

1b8cb742f98fa3cc46176cc44b72108cbd09738f authored over 3 years ago by Adam Hopkins <[email protected]>
Update some CC config (#2199)

3492d180a8933b1ef4dc64763107a11049d59074 authored over 3 years ago by Adam Hopkins <[email protected]>
style(app,blueprints): add some type hints (#2196)

* style(app,blueprints): add some type hints

* style(app): option is Any

* style(blueprint...

021da3837358c416f4fcb96d79772e80d9071729 authored over 3 years ago by Ryu JuHeon <[email protected]>
Update sanic-routing to fix path issues plus lookahead / lookbehind support (#2178)

* Update sanic-routing to fix path issues plus lookahead / lookbehind support

* Update setup....

ac784759d56428bcb714eab59caeb92f58391b96 authored over 3 years ago by Robert Palmer <[email protected]>
Resolve regressions in exceptions (#2181)

36eda2cd62a774b642152111b33e03762e004b8f authored over 3 years ago by Adam Hopkins <[email protected]>
Fix the handling of the end of a chunked request. (#2188)

* Fix the handling of the end of a chunked request.

* Avoid hardcoding final chunk header siz...

08a4b3013f796fc3e184514d4a434ea815102693 authored over 3 years ago by L. Kärkkäinen <[email protected]>
Remove Duplicated Dependencies and PEP 517 Support (#2173)

* Remove duplicated dependencies

* Specify setuptools as the tool for generating distribution...

1dd0332e8bef09c83a2c58056b5d8b40b8d060dc authored over 3 years ago by Zhiwei <[email protected]>
Manually reset the buffer when streaming request body (#2183)

a90877ac3171eda58a829520162848addbc15644 authored over 3 years ago by Adam Hopkins <[email protected]>
Remove unnecessary import in test_constants.py, which also fixes an error on win (#2180)

Co-authored-by: Adam Hopkins <[email protected]>

8b7ea27a48cdc1654724701d2df174d5b4d2cc70 authored over 3 years ago by Zhiwei <[email protected]>
sanic-routing==0.7.0

8df80e276bf843b649397cf09460e516a7451896 authored over 3 years ago by Adam Hopkins <[email protected]>
21.6 Changelog, release version, and deprecations (#2172)

* Changelog and version

* Rearrange API docs for easier navigation

* Version 21.6 docs

...

30572c972d7a65fb81d1bf83f85b12f786849185 authored over 3 years ago by Adam Hopkins <[email protected]>
Allow blueprints and groups to be infinitely reusable (#2150)

* Allow blueprints and groups to be infinitely reusable

53da4dd091f7512e8413f7ff2709704d4b677d38 authored over 3 years ago by Adam Hopkins <[email protected]>
v2 AST router (#2133)

* Update some tests

* Update some tests

* Resolve #2122 route decorator returning tuple

...

108a4a99c7e12561b35b62e26ecfc33c77db802d authored over 3 years ago by Adam Hopkins <[email protected]>
Add Simple Server and Coverage action (#2168)

* Add Simple Server and CodeCov action

* Remove token

* Codecov to tox.ini

* fix tox

...

7c180376d64d0cdb35fd0d0b7aaee5646215d79a authored over 3 years ago by Adam Hopkins <[email protected]>
Make sure ASGI ws subprotocols is a list (#2127)

* Ensure protocols is a list for ASGI

* Subprotocol updates

f39b8b32f70445e80c63a236bf227c1694e3a05b authored over 3 years ago by Adam Hopkins <[email protected]>
CBV alternate attach; CompositionView deprecate (#2170)

* Deprecate composition view and add alternate methods to attach CBV

* Add args to CBV attaching

c543d19f8ae791f21bc40d049791459ea3377123 authored over 3 years ago by Adam Hopkins <[email protected]>
Better exception handling (#2128)

* WIP for better exception handling

* Note about removal

* resolve conditional to reduce l...

80fca9aef7ec0009f24f2257d7d75ef726fcd77a authored over 3 years ago by Adam Hopkins <[email protected]>
Add reloading on addtional directories (#2167)

5bb9aa0c2c8768b5cd7eafb3bd4dfb7cc999fff8 authored over 3 years ago by Adam Hopkins <[email protected]>
Added new client_ip accessor (#2114)

* Added new client_ip accessor for ConnInfo class, updated request to use client_ip instead of c...

83c746ee5753e3385efecc2e03b685de216b8001 authored over 3 years ago by Stephen Sadowski <[email protected]>
Upgrade websockets dependency. (#2154)

* Upgrade websockets dependency.

Fix #2142.

* Bumpt sanic-testing version

Co-authored-b...

aff660463695829a17d3ae4d4afe88d7e5bcf5c5 authored over 3 years ago by Aymeric Augustin <[email protected]>
Update listeners.py (#2164)

fix typo

Co-authored-by: Adam Hopkins <[email protected]>

2c80571a8aba8885779a94d85032a89316f5c87b authored over 3 years ago by sanjeevanahilan <[email protected]>
HTTPMethod enum (#2165)

* Add HTTP enum constants

* Tests

* Add some more string compat

d964b552af94da4c8388387cc26d1deff3eb5de6 authored over 3 years ago by Adam Hopkins <[email protected]>
support app factory patten in CLI (#2157)

* support app factory patten in CLI

* Update sanic/__main__.py

* fix mypy errors

* Upda...

48f8b37b749d8f373db8c25a2de91243b7b3e282 authored over 3 years ago by Thomas Grainger <[email protected]>
Allow 8192 header max to be breached (#2155)

* Allow 8192 header max to be breached

* Add REQUEST_MAX_HEADER_SIZE as config value

* rem...

141be0028dbac535c0c422fdffde159e3997addd authored over 3 years ago by Adam Hopkins <[email protected]>
Remove config.REQUEST_BUFFER_QUEUE_SIZE which was not being used since 21.03. (#2156)

Co-authored-by: L. Kärkkäinen <[email protected]>

a140c47195cf33ca691e0982abb84166b83abdcc authored over 3 years ago by L. Kärkkäinen <[email protected]>
Event autoregister (#2140)

* Add event autoregistration

* Setup tests

* Cleanup IDE added imports

* Remove unused ...

0c3a8392f23a46231badf69773be0f4ecf5fc379 authored over 3 years ago by Adam Hopkins <[email protected]>
Disable MacOS Tests (#2151)

* Update pr-python37.yml

* Update workflows

16875b1f41e7665135caad5cbc542fc072af3809 authored over 3 years ago by Adam Hopkins <[email protected]>
Alternatate classes on instantiation for Config and Sanic.ctx (#2119)

b1f31f2eeb1bdf2552f9197a93704414976dae2f authored over 3 years ago by Adam Hopkins <[email protected]>
Cleanup conftest and fix warning message (#2147)

d16b9e5a020bf438f1da88847fa6ebbb0e672d98 authored over 3 years ago by Adam Hopkins <[email protected]>
Update README.rst

680484bdc82bf1dfd11ed7e12c3915ee824a412a authored over 3 years ago by Adam Hopkins <[email protected]>
Remove travis from repo (#2149)

* Remove travis from repo

* Use PR branch for Windows tests to add --user to pip args

05cd44b5dd998974d7c964ac50a99d45cfb4e5ce authored over 3 years ago by Adam Hopkins <[email protected]>
Require stricter object names (#2146)

ba374139f4be96181448d54542fe673432ca0f37 authored over 3 years ago by Adam Hopkins <[email protected]>
Small improvements to CLI experience (#2136)

* Small improvements to CLI experience

* Add tests

* Add test server for cli testing

* ...

72a745bfd538b20d037647f469a5b6155745db13 authored over 3 years ago by Adam Hopkins <[email protected]>
Version prefix (#2137)

* Add version prefixing

* Versioning tests

* Testing BP group properties

3a6fac7d59d9e737a80978b1efc6ec532eb51b6f authored over 3 years ago by Adam Hopkins <[email protected]>
Implement 0.6 routing and some cleanup (#2117)

* Implement 0.6 routing and some cleanup

* Additional tests and annotation cleanup

* Resol...

28ba8e53dfa6bee1dc891be70732b2e06f7d58d4 authored over 3 years ago by Adam Hopkins <[email protected]>
add eof method to close stream (#2094)

* add eof method to close stream

* Add eof test

Co-authored-by: Ajay Gupta <ajay.gupta@1mg...

9b26358e6370768111d1f8556566d4d1b3539690 authored over 3 years ago by Ajay Gupta <[email protected]>
Fix type hinting for load_env (#2107)

* Deprecate `load_env` in favor of `env_prefix`

`load_env` both enabled/disabled environment ...

e21521f45c0b58bac619a9111fd47426e208bf08 authored over 3 years ago by Johnathan Raymond <[email protected]>
Fix request.args.pop removes parameters inconsistently (#2110)

* Fix https://github.com/sanic-org/sanic/issues/2106

* style

* also apply fix to request.q...

30479765cb311c8ab807fb923ba193a149a84f0c authored over 3 years ago by Stephen Sadowski <[email protected]>
Consistent use of error loggers (#2109)

* Consistent use of error loggers

* Fix tests

53a571ec6c49a328f5920604d3dbfa38df57ee07 authored over 3 years ago by ENT8R <[email protected]>
Explicit usage of CIMultiDict getters (#2104)

ad97cac31393477380ee421281d6356e604353d4 authored over 3 years ago by ENT8R <[email protected]>
GIT-2023: Enable GitHub Actions support (#2050)

* GIT-2023: Enable GitHub Actions support

* GIT-2023: fix tox runtime trigger

* GIT-2023: ...

1a352ddf559f62d40b6fbb34608fffd493db0ade authored over 3 years ago by Harsha Narayana <[email protected]>
FIX UserWarning when using ASGI mode (#2091)

Co-authored-by: Adam Hopkins <[email protected]>

5ba43decf25ea666a60df77a872cd1b1537975a1 authored over 3 years ago by Lu <[email protected]>
fixing static request handler logging exception on 404 (#2099)

* fixing static request handler logging exception when not necessary, adding test to verify exce...

8f06d035cb764d94522b4c3f9e604656f7bb188f authored over 3 years ago by Frederik Gelder <[email protected]>
Update outdated handle_request docstring (#2100)

b716f48c845d1dbc172a6c83c4364081dbe86ef4 authored almost 4 years ago by Kyle Verhoog <[email protected]>
deprecate abort (#2077)

42b1e7143e48b5a4042c42278eba15adf0bf2337 authored almost 4 years ago by Arthur Goldberg <[email protected]>
Allow case-insensitive HTTP Upgrade header (#2097)

* Allow case-insensitive HTTP Upgrade header

* Allow case-insensitive Upgrade header when che...

eba7821a6da67f450f7fa7e3dd58d41ddc986b6a authored almost 4 years ago by ENT8R <[email protected]>
Bump version:

93a0246c0350b6dcaa89588497622f30541f1c87 authored almost 4 years ago by Adam Hopkins <[email protected]>
Make sure that blueprints with no slash is maintained when applied (#2085)

* Make sure that blueprints with no slash is maintained when applied

* Remove unneeded import

dfd1787a49bcb96d8d8006167bd201c046442614 authored almost 4 years ago by Adam Hopkins <[email protected]>
Disable response timeout on websocket connections (#2081)

* Disable response timeout on websocket connections

* Add response timeout ignore test to web...

4998fd54c00f6580fe999b0e1371a6470b5f046c authored almost 4 years ago by Adam Hopkins <[email protected]>
CHANGELOG for 21.3.1

7be5f0ed3d083af95d1d7ac28276054af4ecf6da authored almost 4 years ago by Adam Hopkins <[email protected]>
Static dir 2075 (#2076)

* Add support for nested static directories

* Add support for nested static directories

* ...

938d2b59231a06e4bc59b55ae58da3d1549631bc authored almost 4 years ago by Adam Hopkins <[email protected]>
Update sanic-org URL on setup.py

13630a79ad62e97cd8d62e32b61cda23bd3bcb19 authored almost 4 years ago by Adam Hopkins <[email protected]>
Prepare for 21.3 release (#2057)

* Prepare for release

* Add to changelog recent PRs

* add missing changelog items and upda...

2586989eb73ad588dbf0d922ed60c9494aae137b authored almost 4 years ago by Adam Hopkins <[email protected]>
fix?: recursion error on Sanic subclass initialisation (#2072)

* fix?: recursion error on Sanic subclass init

* tests: add test case for sanic subclass init...

6763e2bb0a390825e463abde6669631b9549ed01 authored almost 4 years ago by Arthur Goldberg <[email protected]>
Perf improv (#2074)

* handler improvements for performance

* Resovle tests

* Linting

* Add tests

15a8b5c8946de0231ef20831e8e5ffb025f55c54 authored almost 4 years ago by Adam Hopkins <[email protected]>
RFC/1684 Context objects (#2063)

* Initial setup

* connection context

* Add tests

* move ctx to conn_info

* Move __se...

8a2ea626c6d04a5eb1e28d071ffa56bf9ad98a12 authored almost 4 years ago by Adam Hopkins <[email protected]>
Update CODEOWNERS

01f238de790ce48a72dd76240ad659d4395d31ff authored almost 4 years ago by Adam Hopkins <[email protected]>
Add convenience decorators for new listeners (#2064)

7bed5a5c3c002a2d099b9d95fe86b6d21bd1ac59 authored almost 4 years ago by Adam Hopkins <[email protected]>
Add signal reservations (#2060)

* Add signal reservations

* Simplify reservations

2fea954dcff2e0545277bb492192e3ee2516a095 authored almost 4 years ago by Adam Hopkins <[email protected]>
Add add_signal method (#2061)

d4660d0ca770c23734e466de0405a06c7db72ca2 authored almost 4 years ago by Adam Hopkins <[email protected]>
RFC/1630 Signals (#2042)

* Temp working version of initial signal api

* fix signals router finalizing

* Additional ...

824f41d6e06006076725d7be0140ebb4381440ff authored almost 4 years ago by Adam Hopkins <[email protected]>
Add name to Sanic instance in Hello World Example (#2058)

1165663ec1a64806ab585001243b9fd29657a5b0 authored almost 4 years ago by Andrea Stagi <[email protected]>
JSON encoder change via app (#2055)

b1a57a8b62a4bae500452a4efb0f4c65823623fb authored almost 4 years ago by Adam Hopkins <[email protected]>
Make get_app name optional (#2053)

d76925cf3561b3204cd2223f39d0659fe2d986f3 authored almost 4 years ago by Adam Hopkins <[email protected]>
Update README.rst

400f54c7ec68d319e7de26743c5531aef3802143 authored almost 4 years ago by Adam Hopkins <[email protected]>
Fix some examples and docs (#2052)

ec7e4390e8916dda8590d0a07edc594dadc31ebd authored almost 4 years ago by Adam Hopkins <[email protected]>
Update CODEOWNERS

5ca8bb85cd67a0f2fdda019cd5daa57355c45e77 authored almost 4 years ago by Adam Hopkins <[email protected]>
Find packages (#2049)

Error when installing from master because some packages ('models' & 'mixins') are not being incl...

5c624f8b76b89e006ffc4b1fc9742bc9f374a36d authored almost 4 years ago by elis-k <[email protected]>
GIT-2045: enable versioning and strict slash on BlueprintGroup (#2047)

* GIT-2045: enable versioning and strict slash on BlueprintGroup

* GIT-2045: convert named tu...

2c25af8cf5d22ab34c6d8da2b10d9c98176c0ad4 authored almost 4 years ago by Harsha Narayana <[email protected]>
Create CODEOWNERS

be905e0009b7b6d96f29eadcb56d21714038ca79 authored almost 4 years ago by Adam Hopkins <[email protected]>