Yun Xu
3fff685c44
add auto-doc support
2017-07-01 23:46:34 -07:00
Eli Uriegas
b6ac3ef445
Merge pull request #826 from yunstanford/pytest-sanic
...
Pytest sanic
2017-06-30 18:17:15 -07:00
François KUBLER
021e9b228a
Fixed a small error : Sanic.__init__
doesn't have a load_vars
parameter.
...
It is `load_env`.
2017-06-30 16:24:41 +02:00
Yun Xu
fd5faeb5dd
add an example
2017-06-29 09:14:21 -07:00
Yun Xu
e7c8035ed7
add pytest-sanic
2017-06-29 09:06:17 -07:00
Jonas Obrist
412ffd1592
Added a warning to the cookies documentation about security
2017-06-28 11:05:59 +09:00
7
f049a4ca67
Recycling gunicorn worker ( #800 )
...
* add recycling feature to gunicorn worker
* add unit tests
* add more unit tests, and remove redundant trigger_events call
* fixed up unit tests
* make flake8 happy
* address feedbacks
* make flake8 happy
* add doc
2017-06-22 13:26:50 -07:00
Yun Xu
566a6369a5
add sanic-transmute
2017-06-07 20:27:54 -07:00
Matthew Snyder
735b8665f1
Small logging docs fixes
2017-06-05 10:42:17 -07:00
Raphael Deem
23cb39b557
Merge pull request #744 from algtmatt/feature/from_file_doc_fix
...
Update config file loader docs
2017-05-24 18:16:10 -07:00
Eli Uriegas
48de321869
Merge pull request #697 from 38elements/stream
...
Add Request.stream
2017-05-24 16:22:52 -07:00
Matthew Snyder
57c1838f68
Update config file loader docs
2017-05-22 14:10:08 -07:00
Raphael Deem
4b80ffb9eb
Merge pull request #740 from r0fls/739
...
add abort function
2017-05-21 02:20:02 -07:00
Raphael Deem
9efa7c116d
remove redundant code; decode response
2017-05-20 23:27:00 -07:00
Raphael Deem
d3b6208057
add abort function
2017-05-19 18:52:19 -07:00
Raphael Deem
0858d3c544
Merge pull request #733 from ashleysommer/file_stream
...
Add file_stream response handler
2017-05-19 16:48:12 -07:00
38elements
848a5c61f0
Fix Running via Gunicorn in deploying.md
2017-05-19 23:22:57 +09:00
ashleysommer
181977ad4e
Added brief documentation with an example for file_stream
...
Added test to ensure `file_stream()` works in the test suite.
2017-05-18 18:12:26 +10:00
suoning
dddce3f30d
update logging, Remove the comments
2017-05-15 13:59:03 +08:00
suoning
68d4bb6ffe
update logging doc
2017-05-15 10:54:30 +08:00
suoning
a27471178a
update logger doc
2017-05-15 10:25:19 +08:00
38elements
a50d8421b8
Add heading in streaming.md
2017-05-11 19:18:58 +09:00
messense
c3683662c2
Remove timedRotatingFile log config
2017-05-11 11:18:59 +08:00
Jeremy Zimmerman
18930082e2
spelling mistake
...
fixed incorrect spelling
2017-05-10 09:38:57 -07:00
38elements
6a14e49479
Replace stream decorator to stream parameter
2017-05-09 22:31:15 +09:00
Eli Uriegas
bb6de53f28
Fix docs
2017-05-08 20:44:19 -07:00
Eli Uriegas
bfcd499cc2
Remove default_filter module, put into logging
2017-05-08 20:41:34 -07:00
Eli Uriegas
1fb640c313
Fix camel case module
2017-05-08 20:36:57 -07:00
38elements
15ad07f03d
Fix streaming.md
2017-05-08 00:10:36 +09:00
38elements
0b53c413a7
Add stream decorator for HTTPMethodView
2017-05-07 21:33:15 +09:00
38elements
931397c7e1
Add stream for CompositionView
2017-05-07 18:38:48 +09:00
38elements
ef2cc7ebf5
Add Request.stream
2017-05-07 18:38:48 +09:00
38elements
25037006bf
Remove utils.py
2017-05-04 15:52:18 +09:00
Raphael Deem
23b4b20b4f
document create_server method
2017-05-02 22:44:42 -07:00
Jeremy Zimmerman
1bf06312b8
misspelling
...
acutal -> actual
2017-05-01 17:07:38 -07:00
38elements
e65f08a2c8
Fix docs/sanic/routing.md
2017-04-30 22:03:16 +09:00
banteg
7754bb995b
expose matched request uri template
2017-04-29 02:39:56 +07:00
zenix
63a27cc5e2
add document on logging
2017-04-26 14:50:21 +09:00
Raphael Deem
81b6d988ec
NO_KEEP_ALIVE -> KEEP_ALIVE
2017-04-16 22:43:49 -07:00
Raphael Deem
6f098b3d21
add no_keep_alive setting to docs
2017-04-16 22:05:34 -07:00
Eli Uriegas
2c45c2d3c0
Add new contributing rules
2017-04-14 14:35:28 -05:00
Raphael Deem
93cb7582c2
Merge branch 'master' into prom
2017-04-04 11:06:32 -07:00
Dan Kruchinin
d418b03708
Add prometheus extension
2017-04-04 14:22:31 +01:00
Ashley Sommer
765e90ecfa
update extensions
...
Add Sanic-RestPlus!
2017-04-04 13:40:59 +10:00
Eli Uriegas
62ebcba647
Add graphql integration extension
...
Closes #579
2017-04-03 14:45:18 -05:00
monobot
25edbe6805
update docs
2017-04-02 02:28:16 +01:00
nosaevb
fcd8e5e5ad
Typo Fix in docs/sanic/cookies.md
2017-03-30 23:02:46 +01:00
Eli Uriegas
511998d8e1
Merge pull request #573 from r0fls/env-config
...
allow setting config from individual env variables
2017-03-28 22:24:37 -05:00
Raphael Deem
1787f8617f
Merge pull request #592 from weargoggles/patch-1
...
Document synchronous response.write in streaming
2017-03-27 20:14:20 -07:00
Raphael Deem
724c03630a
Update extensions.md
2017-03-26 11:49:15 -07:00
itiel
b00b2561e5
add sanic-nginx-docker-example to extensions.md
2017-03-26 21:16:03 +03:00
Raphael Deem
c5b50fe3cf
allow setting config from individual env variables
2017-03-25 17:45:55 -07:00
Pete Wildsmith
65ae7669f9
Document synchronous response.write in streaming
...
The Streaming section of the docs was updated to make clear that a synchronous write should be used in the callback, but this section was not updated.
2017-03-24 10:11:30 +00:00
Raphael Deem
536140340e
Merge pull request #585 from subyraman/listener-docs
...
add docs for server lifecycle listeners and `add_task`
2017-03-23 18:38:48 -07:00
Suby Raman
6188891a53
add-listeners-docs
2017-03-23 15:49:23 -04:00
Raphael Deem
563bc34fb5
Merge pull request #578 from messense/feature/gunicorn-deploy-doc
...
Add documentation for Gunicorn worker
2017-03-23 12:20:00 -07:00
Suby Raman
b776c37b36
add decorator docs
2017-03-23 15:16:46 -04:00
messense
3d9927dee0
Add documentation for Gunicorn worker
2017-03-23 09:12:23 +08:00
Shawn Niederriter
a379ef6781
Added Sanic-OAuth to extensions.
2017-03-18 23:56:11 -04:00
lixxu
94c83c445f
fix broken table
2017-03-17 14:01:54 +08:00
lixxu
625865412f
update function name as it not halt request actually
2017-03-17 13:12:17 +08:00
Cadel Watson
24f745a334
Fix formatting errors in RST files
2017-03-16 16:51:02 +11:00
Anton Zhyrnyi
410f86c960
fix for docs&tests
2017-03-14 20:53:58 +02:00
Raphael Deem
85f27320e7
Merge pull request #553 from ashleysommer/ashleysommer-add-dispatch-extension
...
Add Dispatcher Extension to Extensions page in Docs
2017-03-13 17:00:46 -07:00
Raphael Deem
9a3fac90e1
Merge pull request #551 from messense/feature/documentation-links
...
Add hyperlinks in response documentation
2017-03-13 17:00:00 -07:00
Ashley Sommer
d05f502fc8
Add Dispatcher Extension
...
Adds a link to the extension
https://github.com/ashleysommer/sanic-dispatcher
And a very short description
2017-03-14 08:37:53 +10:00
Jing Su
ba41ab8f67
fix typo
2017-03-13 18:36:22 +08:00
messense
48a26fd5df
Add hyperlinks in response documentation
2017-03-13 16:20:12 +08:00
messense
d174917a07
Add response documentation
2017-03-12 14:31:51 +08:00
Raphael Deem
88bf78213f
Merge pull request #512 from subyraman/fix-url-building
...
Fix `request.url` and other url properties
2017-03-10 00:38:16 -08:00
Raphael Deem
313edadf47
Merge pull request #528 from r0fls/523
...
allow running with SSL via commandline
2017-03-10 00:35:46 -08:00
Lix Xu
893977365c
Update extensions.md
...
add babel extension
2017-03-09 23:58:02 +08:00
Raphael Deem
2ba30f2022
allow running with SSL via commandline
2017-03-07 19:57:10 -08:00
Eli Uriegas
19592e8eea
Merge pull request #473 from subyraman/explore-streams-v2
...
Add `stream` method for streaming content, add docs and examples
2017-03-05 17:51:44 -08:00
Eli Uriegas
8e6678d526
Merge pull request #469 from miguelgrinberg/websocket-support
...
websocket support
2017-03-05 17:42:49 -08:00
Suby Raman
e792a1e030
add host test
2017-03-03 14:51:13 -05:00
Suby Raman
69bd63b742
add docs
2017-03-03 11:59:33 -05:00
James Stidard
f7186f5331
Sanic EnvConfig
...
Services like Heroku force your hand into using environment variables. Made this to help.
2017-03-02 21:22:07 +00:00
bohea
3289e8403a
Update extensions.md
2017-02-28 17:34:40 +08:00
Miguel Grinberg
40ccb4a0dd
websocket documentation
2017-02-27 22:35:28 -08:00
Suby Raman
4232f5342e
correct indendation
2017-02-23 11:47:39 -05:00
Suby Raman
a36e815227
Add documentation about request.app
2017-02-23 11:42:59 -05:00
Eli Uriegas
64f73f624f
Merge pull request #471 from r0fls/vhost-default
...
allow default vhost
2017-02-22 11:08:28 -06:00
Suby Raman
d8a6d7e02f
response.write should be synchronous for performance reasons
2017-02-22 10:42:16 -05:00
Raphael Deem
a57ec9e669
remove websocket extension
2017-02-21 15:30:42 -08:00
Suby Raman
1a8961587c
more info in docs
2017-02-21 11:38:57 -05:00
Suby Raman
4e8aac4b41
rebase
2017-02-21 11:05:06 -05:00
Raphael Deem
9c72b557ec
allow default vhost
2017-02-20 16:52:36 -08:00
Tommy Ip
4b7e7aab33
Fix typo in routing.md
2017-02-19 12:39:39 +00:00
Suby Raman
70b7606cb8
add sanic_compress extension
2017-02-18 19:53:32 -05:00
Lix Xu
f553ca95a5
add user_agent to request
2017-02-17 15:12:07 +08:00
Typhon
7d9acc3c36
Adding sanic_crud to extensions
2017-02-16 09:49:48 -08:00
Suby Raman
6ea5a4719a
add url_for doc in blueprint
2017-02-16 11:48:31 -05:00
Suby Raman
f8c50b7f1e
fix blueprints documentation
2017-02-16 11:46:19 -05:00
Eli Uriegas
feb1f1d71a
Merge pull request #444 from lixxu/master
...
simple motor wrapper
2017-02-16 09:46:09 -06:00
Lix Xu
550afc27dc
simple motor wrapper
2017-02-16 22:36:16 +08:00
Eli Uriegas
874698b93f
Merge pull request #431 from subyraman/test-client-v2
...
Add Flask-like `test_client` to replace `sanic_endpoint_test`
2017-02-15 15:44:30 -06:00
Lix Xu
6b391b701b
simple pagination support
2017-02-15 13:27:58 +08:00
Suby Raman
7726ffa3f7
remove documentation about passing in the loop
2017-02-14 15:44:43 -05:00
Suby Raman
d5633b3705
fix deprecation message
2017-02-14 15:16:58 -05:00