Commit graph

190 commits

Author SHA1 Message Date
Andrew Rabert
1b603b5d7a Release 2.5.0 2022-05-26 15:06:41 -04:00
Andrew Rabert
ef3baa194a
Merge pull request #50 from cwille97/server_header_docs
Document default server header
2022-05-06 09:35:44 -04:00
Cedric Wille
b9debc05c4 Style as in-line code 2022-05-06 08:59:17 -04:00
Cedric Wille
b5bd2e1b8a Elaborate on docs 2022-05-05 16:55:10 -04:00
Cedric Wille
07a2505ef1 Document default server header 2022-05-05 16:20:59 -04:00
Cedric Wille
da53741e86
Merge pull request #46 from nvllsvm/server_header
Allow customization of the Server header
2022-05-03 12:00:29 -04:00
Andrew Rabert
282f8258ca Allow customization of the Server header 2022-04-12 11:05:34 -04:00
Alexander Campbell
faaa7bb760
Merge pull request #48 from nvllsvm/doc
Document sentry extra dep
2022-04-06 14:54:25 -04:00
Andrew Rabert
e316ee248a Streamline CI deps 2022-04-06 14:51:20 -04:00
Andrew Rabert
bc46b2dc2f Document sentry extra dep 2022-04-06 14:45:07 -04:00
Andrew Rabert
980942cc28 Update sphinx 2022-04-06 14:44:57 -04:00
Andrew Rabert
32be20fb0e Release 2.4.0 2022-03-16 10:41:24 -04:00
dave-shawley
11315f1653
Merge pull request #44 from nvllsvm/log_request
Add custom request logging
2022-03-16 08:39:33 -04:00
dave-shawley
689b339e07
Merge pull request #47 from nvllsvm/ci
Run tests on PR & add support for Python 3.10
2022-03-16 08:38:26 -04:00
Andrew Rabert
0ff358a67e Add reason to acccess log 2022-03-15 18:41:24 -04:00
Andrew Rabert
e85e7fbc9e Add support for python 3.10 2022-03-15 17:48:03 -04:00
Andrew Rabert
8f4c6e9555 Run tests on PR 2022-03-15 17:45:49 -04:00
Andrew Rabert
0c446ca73c Add custom request logging 2022-03-01 13:25:42 -05:00
Andrew Rabert
a0ad9837b4 Release 2.3.0 2022-02-03 15:16:56 -05:00
Ryan Mclean
9cba854625
Merge pull request #45 from nvllsvm/ci
Use GitHub Actions
2022-02-03 15:11:03 -05:00
Andrew Rabert
1ae6bf15fd Update 2022-02-03 14:33:31 -05:00
Andrew Rabert
18a20baa4b Publish bdist_wheel 2022-02-03 14:33:27 -05:00
Andrew Rabert
63731515a8 Update dev deps 2022-02-03 11:56:43 -05:00
Andrew Rabert
c7442945f0 Ignore coverage.xml 2022-02-03 11:56:43 -05:00
Andrew Rabert
2beb76207a Update contributing
Basic, but the previous was very out of date
2022-02-03 11:56:43 -05:00
Andrew Rabert
57639aa64a Use GitHub Actions 2022-02-03 11:56:42 -05:00
Andrew Rabert
8c5633eb6c Replace nose with coverage 2022-02-03 11:48:15 -05:00
Kevin Vance
5b38192836
Merge pull request #43 from nvllsvm/sentry
Add optional sentry integration
2022-02-03 09:35:32 -05:00
Andrew Rabert
fc9a998ec8 Allow overriding sentry_sdk.init kwargs 2022-02-02 17:20:49 -05:00
Andrew Rabert
cda3e18ac9 Check availability with sys.modules 2022-02-02 17:05:17 -05:00
Andrew Rabert
b9e2c3a7c5 Add optional sentry integration 2022-02-02 11:28:34 -05:00
Andrew Rabert
62dd020d42 Release 2.2.0 2020-09-28 09:27:29 -04:00
Gavin M. Roy
9fdb071247
Merge pull request #42 from nvllsvm/xheaders
Default xheaders to true
2020-09-22 10:04:36 -04:00
Dave Shawley
886b559e4f 2.1.2: Fixes for python 3.9. 2020-09-15 09:21:54 -04:00
Andrew Rabert
7c5f9ca0dd Default xheaders to true 2020-08-31 13:38:59 -04:00
Andrew Rabert
bc19924904
Merge pull request #37 from dave-shawley/py39
asyncio.Task.all_tasks was removed in Python 3.9
2020-07-27 13:32:45 -04:00
Dave Shawley
5c103cde0e Deprecation notice for sprockets.http.run.
sprockets.http.run will only accept sprockets.app.Application instances
in the near future.  I'm doing this so that we can clean up the runner
code significantly as we move to using `async` and `await` instead of
futures.
2020-07-18 16:31:32 -04:00
Dave Shawley
9430941e4a Use asyncio.all_tasks if it exists.
Python 3.9 removed ``asyncio.Task.all_tasks`` so I switched to using
``asyncio.all_tasks`` instead.  The ``all_tasks`` function was added
in 3.7 and ``Task.all_tasks`` was deprecated then.
2020-07-18 08:50:20 -04:00
Dave Shawley
de6bfb3261 Update travis CI config.
https://config.travis-ci.com/explore
2020-07-18 07:59:21 -04:00
Dave Shawley
46d0326954 2.1.1: Fix testing with on stop methods. 2020-02-19 10:14:08 -05:00
cknave
07e6f0975a
Merge pull request #35 from dave-shawley/fix-testing
Use loop-specific create_task in Application.stop.
2020-02-19 09:14:31 -05:00
Dave Shawley
e81c4cefb4 Use loop-specific create_task in Application.stop.
Calling asyncio.create_task() requires a running event loop which we
cannot guarantee.  The event loop is not running when stop is called in
the testing.SprocketsHttpTestCase.
2020-02-19 06:37:58 -05:00
Dave Shawley
fd67c42a6a Release 2.1.0 2019-10-09 11:05:19 -04:00
Gavin M. Roy
39ac13d253
Merge pull request #33 from dave-shawley/require-log-config
Require log config
2019-09-12 11:52:04 -04:00
Dave Shawley
e6ef43c050 Deprecate calling run without a logging config. 2019-09-03 07:29:20 -04:00
Dave Shawley
b7b787ee31 Add _ShutdownHandler tests. 2019-09-03 07:05:09 -04:00
Dave Shawley
3c71ae0313 Add missing tests for top-level 2019-09-03 07:05:09 -04:00
Gavin M. Roy
fe4f4a7e38
Merge pull request #32 from dave-shawley/add-testing
Add testing module.
2019-09-02 22:10:51 -04:00
Dave Shawley
c800f9a00f Advertise support for python 3.8 2019-09-02 17:05:52 -04:00
Dave Shawley
cd478d0a3d Add sprockets.http.testing 2019-09-02 08:09:34 -04:00