Denis Makogon
f8f0241c27
refactor uvloop detection in its own method
2019-01-15 17:33:53 +02:00
Denis Makogon
1af16836d4
make tests dependent on uvloop
2019-01-15 17:30:32 +02:00
Denis Makogon
757974714e
skip tests if python version is not 3.7 at least
2019-01-15 17:27:41 +02:00
Denis Makogon
eed22a7a24
Fix app.create_server calls
2019-01-15 15:47:35 +02:00
Denis Makogon
0242bc999f
Fix type asserting
2019-01-15 15:11:38 +02:00
Denis Makogon
b89c533818
Adding doc
2019-01-15 15:04:30 +02:00
Denis Makogon
2cb05ab865
More tests, attempting to fix CI
2019-01-15 14:52:53 +02:00
Denis Makogon
391639210e
make Sanic.create_server return an asyncio.Server
...
- adding 2 new parameters to Sanic.create_server:
* return_asyncio_server=False - defines whether there's
a need to return an asyncio.Server or run it right away
* asyncio_server_kwargs=None - for python 3.7 uvloop doesn't
support all necessary features like "start_serving",
so, in order to make sanic work well with asyncio from 3.7
there's a need to introduce generic way for passing
kwargs for "loop.create_server"
Closes : #1469
2019-01-15 13:38:47 +02:00
7
99f34c9f50
Merge pull request #1457 from huge-success/max-age-integer
...
enforce integer for max-age cookie
2019-01-13 13:15:10 -08:00
Raphael Deem
d418cc9950
formatting
2019-01-12 20:41:35 -08:00
Raphael Deem
6dfafb0787
test float handling
2019-01-12 20:41:35 -08:00
Raphael Deem
7067295e67
enforce integer for max-age cookie
2019-01-12 20:41:35 -08:00
Eli Uriegas
2af229eb1a
Merge pull request #1445 from huge-success/r0fls-977
...
add handler name to request as endpoint
2019-01-08 16:12:25 -08:00
7
8dd8e9916e
upgrade pytest version that compatible with pytest-cov, fixes some caplog unit tests ( #1464 )
2019-01-08 09:15:23 -06:00
7
96af1fe7cf
Merge pull request #1460 from huge-success/18.12-changelog
...
18.12 Changelog
2019-01-06 22:33:37 -08:00
Yun Xu
cb3a03356b
added changelogs to README and readthedocs
2019-01-06 13:50:40 -08:00
Yun Xu
68aa2ae3ce
added changelog for 18.12 release
2019-01-06 13:44:18 -08:00
7
52de354e24
Merge pull request #1442 from Amanit/feature/gunicorn-logging
...
add an option to change access_log using gunicorn
2019-01-05 11:40:55 -08:00
7
f4f90cada4
Merge pull request #1449 from chenjr0719/add_amending_request_object_example
...
Add example of amending request object
2019-01-02 18:32:24 -08:00
Sergey Fedoruk
102e651741
refactor typing imports
2019-01-02 23:28:06 +01:00
Sergey Fedoruk
65daaaf64b
linteger fix and delete old tests
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
b7a6f36e95
add type annotations in run and create_server
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
a86a10b128
add control of access_log argument type
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
0b728ade3a
change Config.__init__
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
74f05108d7
async test for access_log in create_server
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
9d4d15ddc7
add config tests
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
0c5c6dff8f
fix linting
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
391fcdc83d
fix access_log in run server and fix bool in env variables
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
d76d5e2c5f
add an option to change access_log using gunicorn
2019-01-02 23:28:05 +01:00
jacob
f0ada573bb
Fix a grammar error
2019-01-02 20:37:26 +08:00
jacob
ec5b790b51
Extend example of modifying the request in middleware document
2019-01-02 17:29:01 +08:00
jacob
613b23748d
Add example of amending request object
2019-01-02 14:52:25 +08:00
Adam Hopkins
cea1547e08
Merge pull request #1446 from huge-success/ahopkins-patch-1
...
Update README.rst
2019-01-01 14:51:05 +02:00
7
fd5ae01e1d
Merge pull request #1444 from ja8zyjits/master
...
Updated README.md
2018-12-31 11:49:03 -08:00
Adam Hopkins
9b6b93d467
Update README.rst
2018-12-31 21:41:35 +02:00
Adam Hopkins
ca179c12a1
Update README.rst
2018-12-31 18:47:27 +02:00
Adam Hopkins
4d527035ae
Add dotted endpoint notation and additional tests
2018-12-31 13:40:07 +02:00
Jitesh Nair
19b42830ea
Merge pull request #1 from ja8zyjits/ja8zyjits-patch-1-readme
...
Update README.rst
2018-12-31 16:01:01 +05:30
Jitesh Nair
f5162f8ab1
Update README.rst
...
Made the optional Environment variable declaration for installation more clear.
2018-12-31 16:00:34 +05:30
7
ff38a3c6b6
Merge pull request #1443 from huge-success/new-readme
...
Update README with new logo, change Congfig.LOGO, run linter
2018-12-30 13:23:12 -08:00
Adam Hopkins
94e85686b5
Ignore first row of logs when no uvloop
2018-12-30 14:07:21 +02:00
Adam Hopkins
aea4a8ed33
Modify test_logo runner
2018-12-30 13:46:08 +02:00
Adam Hopkins
05dd3b2e9d
Run linter
2018-12-30 13:18:06 +02:00
Adam Hopkins
040468755c
Change ASCII Logo
...
Update logo text
Reformat app.py
2018-12-30 12:49:23 +02:00
Adam Hopkins
50b359fdb2
Update README.rst
...
Add new logo and update contents of README.
Update README.rst
Fix image syntax.
Update README.rst
Fix README links.
2018-12-30 11:48:59 +02:00
7
72f2e18a84
Merge pull request #1440 from harshanarayana/fix/Contribution_Guide_Pip_Install
...
fix minor type and pip install instruction mismatch
2018-12-28 18:43:41 -08:00
Harsha Narayana
15b1c875f5
fix minor type and pip install instruction mismatch
2018-12-28 11:32:30 +05:30
7
13804dc380
Merge pull request #1424 from harshanarayana/enh/Documentation_Update
...
Documentation Enhancements
2018-12-27 21:30:02 -08:00
Harsha Narayana
9bea23da29
fix makefile phony targets
...
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
2018-12-28 10:24:03 +05:30
Harsha Narayana
7005fabd4d
add code beautification task to makefile
...
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
2018-12-28 10:24:03 +05:30