Commit graph

151 commits

Author SHA1 Message Date
dave-shawley
9efd85f197
Merge pull request #22 from bkorty/expose-http-server-options
Support max_body_size and max_buffer_size.
2018-01-25 09:22:39 -05:00
Brian Korty
4109dd3885 Support max_body_size and max_buffer_size.
Allow max_body_size and max_buffer_size settings to be passed into the
underlying Tornado HTTPServer to override the default settings.
2018-01-24 20:07:12 -05:00
Dave Shawley
e7106c6c71 Metadata bumps for 1.4.1. 2018-01-03 13:44:32 -05:00
dave-shawley
a11ec9063a
Merge pull request #21 from dave-shawley/upload-to-pythonhosted
Enable uploading docs to pythonhosted.org.
2018-01-03 13:41:02 -05:00
Dave Shawley
261a6bd1ca requirements: hard pin development tools. 2018-01-03 13:37:31 -05:00
Dave Shawley
0730428069 Enable uploading docs to pythonhosted.org.
If this works, then consider ditching readthedocs.org since there is no
way to downgrade the sphinx version there /sigh
2018-01-03 13:19:28 -05:00
dave-shawley
c49175a610
Merge pull request #20 from dave-shawley/fix-docs
Fix documentation builds
2018-01-03 13:17:05 -05:00
Dave Shawley
57b161a5d3 requirements: pin sphinx version.
See https://bitbucket.org/birkenfeld/sphinx-contrib/issues/184/
2018-01-03 13:10:03 -05:00
Andrew Rabert
4181abc542 Avoid RecursionError in test
A sleep value of 0.05 resulted in a RecursionError in some environments.
2017-06-08 17:01:51 -04:00
Gavin M. Roy
7f2956413c Merge pull request #17 from dave-shawley/add-app
Add application class
2016-11-03 15:32:50 -04:00
Dave Shawley
f3946a747f docs/api.rst: Fix typo. 2016-11-03 15:28:16 -04:00
Dave Shawley
677e0ba6c0 Metadata bumps for 1.4.0 2016-11-03 07:53:04 -04:00
Dave Shawley
53f30b9476 Update user-land docs. 2016-11-03 07:52:53 -04:00
Dave Shawley
d7370ab5e6 Rename CallbackManager.run to start.
It was too easy to confuse this with Runner.run
2016-11-03 07:43:23 -04:00
Dave Shawley
531b796559 Add sprockets.http.app module.
This module separates out the application state management from the
mechanics of running the application.  The former is destined for a
sub-class of tornado.web.Application (as app.Application) and the
latter remains in sprockets.http.runner.
2016-11-01 22:01:27 -04:00
Gavin M. Roy
22a33b13ae Include correlation-id in the structured log data when logging. 2016-09-20 16:44:45 -04:00
Gavin M. Roy
a2c31f31eb Include environment and service in the structured log data 2016-09-19 10:02:46 -04:00
Gavin M. Roy
957ce4c4a5 Update for structured syslog output when non-debug 2016-09-16 15:45:23 -04:00
Gavin M. Roy
f1b9cdc195 Change non-debug logging to be structured for rsyslog parsing from docker 2016-09-16 15:22:31 -04:00
dave-shawley
cc2c8b9f62 Merge pull request #16 from sprockets/no-json-logging
Update the logging to remove JSON logging
2016-08-29 19:23:19 -04:00
Gavin M. Roy
bb4c7e20a5 Import logging.config 2016-08-29 16:15:56 -04:00
Gavin M. Roy
03b3f9d0d5 Remove the hook on startup and sprockets.logging 2016-08-29 16:12:51 -04:00
Gavin M. Roy
ae85b3bc89 Ready 1.3.0 2016-08-29 15:10:14 -04:00
Gavin M. Roy
a056a05d78 Update the logging to remove JSON logging 2016-08-29 15:07:01 -04:00
Gavin M. Roy
3c620aa7dc Merge pull request #15 from dave-shawley/add-run-command
Add run command
2016-08-04 19:41:04 -04:00
Dave Shawley
140da0e79e - Fix sprockets namespace packaging. 2016-07-31 21:15:28 -04:00
Dave Shawley
160a3c70dd Appease flake8. 2016-06-13 23:23:46 -04:00
Dave Shawley
acc29c1428 Documentation clean up. 2016-06-13 23:23:35 -04:00
Dave Shawley
2f263b0997 Add `httprun` distutils command. 2016-06-13 23:23:17 -04:00
Dave Shawley
39cd6fdd5c setup.cfg: Add HTML coverage report. 2016-06-13 14:17:46 -04:00
dave-shawley
c3a63c5b94 Merge pull request #14 from sprockets/async-shutdown
Add async shutdown support and on_start callbacks
2016-03-11 10:57:51 -05:00
Gavin M. Roy
20d0a0ed43 Update documentation 2016-03-11 10:29:14 -05:00
Gavin M. Roy
d17c668f83 Add async shutdown support an on_start callbacks 2016-03-10 17:10:31 -05:00
Kelly Mathews
de4c434d38 Merge pull request #13 from sprockets/bump-version
bump version 1.1.1 --> 1.1.2
2016-02-23 13:53:38 -05:00
Kelly O'Brien
19951ec297 bump version 1.1.1 --> 1.1.2 2016-02-23 13:49:59 -05:00
dave-shawley
dd393f8c16 Merge pull request #12 from sprockets/set-xheaders
Allow xheaders to be passed in the settings
2016-02-23 13:46:11 -05:00
Kelly O'Brien
ddafcc240b document headers feature 2016-02-23 13:33:55 -05:00
Kelly O'Brien
0f819f2313 Allow xheaders to be passed in the settings
This will tell Tornado to use headers like X-Real-IP to get the user’s IP address instead of attributing all traffic to the lbl’s IP address.
2016-02-23 11:39:52 -05:00
Gavin M. Roy
46e3e16abb Merge pull request #11 from sprockets/fix-multiproc
Delay grabbing the IOLoop until after fork.
2016-02-15 13:03:42 -05:00
Dave Shawley
f3bfb0bd28 Delay grabbing the IOLoop until after fork. 2016-02-15 13:01:16 -05:00
dave-shawley
a1cff79e94 Merge pull request #10 from sprockets/release-1-1-0
Release 1 1 0
2016-02-11 14:51:05 -05:00
Dave Shawley
64e7261543 docs/history: Fix broken link. 2016-02-11 14:46:04 -05:00
Dave Shawley
4278f513bb Release 1.1.0 2016-02-11 14:45:09 -05:00
Gavin M. Roy
40915915db Merge pull request #9 from sprockets/add-before-run
Add before_run callbacks
2016-02-03 20:19:15 -05:00
Dave Shawley
53b09b2e32 tests: Add comprehensive tests for Runner class. 2016-01-28 07:53:01 -05:00
Dave Shawley
03e85b440c Call sys.exit() when a before_run callback raises an exception. 2016-01-28 07:53:01 -05:00
Dave Shawley
e906e6f33e tests: Add callback exception testing. 2016-01-28 07:08:50 -05:00
Dave Shawley
5ba9e5fc59 tests: Refactor callback testing to consolidate code. 2016-01-28 07:02:06 -05:00
Dave Shawley
cf3d008fcf LICENSE: Bump for 2016. 2016-01-27 18:27:54 -05:00
Dave Shawley
7c55f1c93e Add codecov support. 2016-01-27 18:26:44 -05:00