7
1eaa2e3a5f
Merge pull request #1614 from huge-success/asgi-custom-request
...
Add custom request support to ASGI mode; fix a couple tests
2019-07-06 11:47:58 -07:00
Yun Xu
c7f2399ded
remove commented code
2019-07-06 11:34:22 -07:00
7
650ab61c2e
Merge pull request #1619 from huge-success/abc-fix
...
Resolve deprecation notice for import of an ABC from collections module
2019-07-04 15:07:53 -07:00
Lagicrus
b7df86e7dd
Updated routing docs ( #1620 )
...
* Updated routing docs
Updated routing docs to show all supported types as defined within 3685b4de85/sanic/router.py (L18)
Added example code for all examples besides regex
Added examples of queries that work with that type and ones that would not
* Tweak to call out string not str
Related to https://github.com/huge-success/sanic/pull/1620#discussion_r300120962
* Changed to using code comments to achieve a mono space like display
To address https://github.com/huge-success/sanic/pull/1620#discussion_r300120726
* Adjusted to list
Following https://github.com/huge-success/sanic/pull/1620#discussion_r300120726
2019-07-04 07:14:10 -05:00
BananaWanted
72b445621b
Respect X-Forward-*
headers and generate correct URLs in url_for
( #1465 )
...
* handle forwarded address in request
* added test cases
* Fix lint errors
* Fix uncovered code branch
* Update docstrings
* Update documents
* fix import order
2019-07-04 07:13:43 -05:00
Adam Hopkins
ba0e9baffa
Resolve deprecation notice for import of an ABC from collections module
2019-07-03 09:39:38 +03:00
Adam Hopkins
503622438a
Merge pull request #1617 from newAM/patch-2
...
Fix a minor typo in websocket.rst.
2019-07-01 09:37:40 +03:00
Alex
d5e9aae425
Fix a minor typo in websocket.rst.
2019-06-30 22:11:02 -07:00
Adam Hopkins
a2666a2b8a
Add custom request support to ASGI mode; fix a couple tests
...
Undo change to request stream test
2019-06-24 22:59:23 +03:00
7
966b05b47e
Merge pull request #1612 from c-goosen/bandit_security_static_analysis
...
Add bandit code static analyzer for security.
2019-06-24 10:05:20 -07:00
Christo Goosen
78fe97b9cb
Add bandit code static analyzer for security, some false positives removed with #nosec.
...
Bandit is a python package for staticly scanning code for security issues.
* Added to tox.ini
* Added to setup.py
* Added to .travis.yml
As part of CI/CD pipeline
2019-06-24 09:53:29 +02:00
7
d2094fed38
Merge pull request #1607 from huge-success/doc-changelog
...
Changelog for 19.6.0 release
2019-06-21 09:42:12 -07:00
Yun Xu
e2d65ba57c
fix readthedoc changelog page
2019-06-20 22:35:47 -07:00
Yun Xu
c9d8ab4b27
release: add 19.6.0 standard release changelog
2019-06-20 22:35:26 -07:00
7
891f99d71d
Merge pull request #1475 from tomchristie/asgi-refactor-attempt
...
ASGI refactoring attempt
2019-06-20 16:33:44 -07:00
Adam Hopkins
3f47fa9f99
Specify websockets version
2019-06-19 00:40:44 +03:00
Adam Hopkins
b1c23fdbaa
Increase testing coverage for ASGI
...
Beautify
Specify websockets version
2019-06-19 00:38:58 +03:00
Adam Hopkins
62e0e5b9ec
Increase testing coverage for ASGI
...
Beautify
2019-06-19 00:19:40 +03:00
Adam Hopkins
fb61834a2e
Add ASGI documentation
2019-06-18 09:57:42 +03:00
7
8fbbe94fe1
Merge pull request #1436 from jotagesales/config_from_object_string
...
Config from object string
2019-06-16 16:58:43 -07:00
Adam Hopkins
ab706dda7d
Resolve linting issues with imports
2019-06-11 11:21:37 +03:00
Adam Hopkins
b2d4132a14
Merge branch 'master' into asgi-refactor-attempt
2019-06-11 11:11:32 +03:00
7
322cf89c92
Merge pull request #1605 from GTedHa/fix_typo/request_data_md
...
Fix typo in request_data.md, docs.
2019-06-10 20:20:12 -07:00
G.Ted
09acd64ba1
Fix typo in request_data.md, docs.
2019-06-11 11:09:29 +09:00
Eli Uriegas
072fcfe03e
Fix #1587 : add support for handling Expect Header ( #1600 )
...
Fix #1587 : add support for handling Expect Header
2019-06-10 14:45:37 -07:00
Harsha Narayana
13079c6e30
GIT-1591 Strict Slashes behavior fix ( #1594 )
...
* fix: GIT-1591: fix strict_slashes option inheriting behavior
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
* doc: GIT-1591: add documentation exlaining the strict_slashes behavior
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
* fix: GIT-1591: fix deprecated for test_client
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
2019-06-06 07:21:58 -05:00
Yun Xu
1b1a51c1bb
minor: fix typo in error msg
2019-06-04 10:37:03 -07:00
Yun Xu
39d134994d
minor: address pr feedbacks, small refactoring and fix
2019-06-04 10:25:32 -07:00
Adam Hopkins
5f9e98554f
Run black and manually break up some text lines to correct linting
2019-06-04 13:26:05 +03:00
Adam Hopkins
0d9a21718f
Run black and manually break up some text lines to correct linting
2019-06-04 13:18:05 +03:00
Adam Hopkins
daf42c5f43
Add placement of before_server_start and after_server_stop
2019-06-04 12:59:15 +03:00
Adam Hopkins
3685b4de85
Lifespan and code cleanup
2019-06-04 10:58:00 +03:00
Yun Xu
2631f10c5e
lint: fix isort and flake8 complains
2019-06-03 22:12:10 -07:00
Yun Xu
f21db60859
fix: handle expect header
2019-06-03 22:08:24 -07:00
Adam Hopkins
c15158224b
Set testing.PORT on all app.create_server() in tests ( #1593 )
2019-05-30 09:10:00 -05:00
Adam Hopkins
a57c14c70b
Add requests-async as a hard requirement. See #1592 ( #1595 )
2019-05-28 08:30:07 -05:00
Adam Hopkins
bb2bd2fe53
Point extensions page to awesome-sanic repo ( #1596 )
2019-05-28 08:13:12 -05:00
Adam Hopkins
aebe2b5809
Merge branch 'master' into asgi-refactor-attempt
2019-05-27 21:03:23 +03:00
Adam Hopkins
9172399b8c
Implement ASGI lifespan events to match Sanic listeners
2019-05-27 12:33:25 +03:00
Adam Hopkins
22c0d97783
Streaming responses
2019-05-27 02:11:52 +03:00
Adam Hopkins
3ead529693
Setup streaming on ASGI
2019-05-27 00:57:50 +03:00
7
e36f398aa6
Merge pull request #1590 from huge-success/security-md
...
Create SECURITY.md
2019-05-23 17:40:19 -07:00
Adam Hopkins
18cd4caf70
Create SECURITY.md
2019-05-23 23:58:15 +03:00
7
80df45ba6d
Merge pull request #1588 from huge-success/prepare-19.6.0
...
Prepare 19.6.0
2019-05-22 16:32:36 -07:00
Yun Xu
16d262e3e5
release: v19.6.0
2019-05-22 15:51:56 -07:00
Harsha Narayana
83e3d4ca1f
doc: GIT-1582: add fedora package dependency
...
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
2019-05-22 15:51:17 -07:00
zach valenta
1c9141bd5d
fix typo
2019-05-22 15:51:17 -07:00
Yun Xu
1b984422db
add help wanted in stale.yml
2019-05-22 15:51:17 -07:00
Adam Hopkins
b6453e9fac
Update stale.yml
2019-05-22 15:51:17 -07:00
Adam Hopkins
7b8e3624b8
Prepare initial websocket support
2019-05-22 01:42:19 +03:00