Taoufik
cf82dac4ad
Add test for 3.9
2021-01-06 08:58:58 +01:00
Taoufik
a0913e3f63
Merge pull request #447 from timgates42/bugfix_typo_marshmallow
...
docs: fix simple typo, mashmallow -> marshmallow
2020-12-24 08:44:43 +01:00
Tim Gates
f90955a9b9
docs: fix simple typo, mashmallow -> marshmallow
...
There is a small typo in responder/ext/schema/__init__.py.
Should read `marshmallow` rather than `mashmallow`.
2020-12-24 13:27:01 +11:00
Taoufik
3736c9229d
Merge pull request #429 from taoufik07/dependabot/pip/docs/bleach-3.1.4
...
Bump bleach from 3.1.1 to 3.1.4 in /docs
2020-12-02 09:44:55 +01:00
dependabot[bot]
a802853367
Bump bleach from 3.1.1 to 3.1.4 in /docs
...
Bumps [bleach](https://github.com/mozilla/bleach ) from 3.1.1 to 3.1.4.
- [Release notes](https://github.com/mozilla/bleach/releases )
- [Changelog](https://github.com/mozilla/bleach/blob/master/CHANGES )
- [Commits](https://github.com/mozilla/bleach/compare/v3.1.1...v3.1.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-01 23:11:49 +00:00
Taoufik
96ca88fe88
Merge pull request #446 from taoufik07/github_actions
...
Switch to github actions
2020-12-02 00:11:05 +01:00
taoufik07
a57570210a
Add prettier to pre-commit
2020-12-01 23:36:42 +01:00
taoufik07
7682e94b35
Disable tests in CI for windows
2020-12-01 23:10:24 +01:00
taoufik07
8bbebe113c
Bump black
2020-12-01 23:10:24 +01:00
taoufik07
7c921f827b
Switch to github actions
2020-12-01 23:10:24 +01:00
taoufik07
4cc055f93a
Add pre-commit
2020-12-01 23:10:21 +01:00
Taoufik
e596a8b457
Merge pull request #444 from majiang/patch-1
...
Call user-provided `default_response`
2020-12-01 21:42:13 +01:00
Taoufik
fd2da55880
Merge pull request #445 from majiang/patch-2
...
test_redirects: access '/2' and redirect to '/1'
2020-12-01 21:37:28 +01:00
majiang
975e9b5643
test_redirects: access '/2' and redirect to '/1'
2020-12-01 16:18:56 +09:00
majiang
c0036e0474
Call user-provided default_response
...
I'm not 100% sure, but it seems that user-provided `default_response`, stored as `Router.default_endpoint`, should be called when no match was found.
2020-12-01 16:15:57 +09:00
Taoufik
103816e27a
Merge pull request #439 from ryuuji/master
...
bump uvicorn 0.11.* to 0.11.7
2020-08-12 11:01:13 +02:00
Ryuuji Yoshimoto
b7c1684ab4
bump 0.11.7
2020-08-11 18:57:35 +09:00
Ryuuji Yoshimoto
16bd6ca266
bump uvicorn
2020-08-11 18:53:59 +09:00
Taoufik
20bae4712b
Merge pull request #430 from ucpr/fix-lock
...
Fix hash in pygment from piwheel to pypi.
2020-04-17 05:40:29 +02:00
ucpr
a7aa80c690
Fix hash in pygment from piwheel to pypi.
2020-04-15 00:30:34 +09:00
Taoufik
df89d1d58b
Merge pull request #424 from taoufik07/starlette_0_13
...
Fixes and bump dependencies
2020-03-09 05:32:30 +01:00
taoufik07
477cddd29c
travisci add python 3.8
2020-03-09 05:26:48 +01:00
taoufik07
9b8cf3a1b1
Bump uvicorn version to 0.11
2020-03-09 05:16:34 +01:00
taoufik07
2871a3c07f
starlette 0.13 and fix lifespan
2020-03-09 05:13:12 +01:00
Taoufik
13763296dd
Merge pull request #421 from taoufik07/dependabot/pip/docs/bleach-3.1.1
...
Bump bleach from 3.0.2 to 3.1.1 in /docs
2020-02-25 02:24:11 +01:00
dependabot[bot]
783b22ab1c
Bump bleach from 3.0.2 to 3.1.1 in /docs
...
Bumps [bleach](https://github.com/mozilla/bleach ) from 3.0.2 to 3.1.1.
- [Release notes](https://github.com/mozilla/bleach/releases )
- [Changelog](https://github.com/mozilla/bleach/blob/master/CHANGES )
- [Commits](https://github.com/mozilla/bleach/compare/v3.0.2...v3.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-02-24 18:31:05 +00:00
Taoufik
109937adf4
Merge pull request #414 from taoufik07/v2.0.5
...
v2.0.5
v2.0.5
2019-12-15 16:38:02 +01:00
taoufik
63ea9cc4e0
v2.0.5
2019-12-15 16:32:47 +01:00
Taoufik
ec40a0c4c3
Merge pull request #413 from taoufik07/support_python3.8
...
Update requirements to support python3.8
2019-12-15 16:28:17 +01:00
taoufik
0855d1a378
Update requirements to support python3.8
2019-12-15 16:22:26 +01:00
Taoufik
77fe17d350
Merge pull request #411 from StevenAvelino24/feature/use-openapi-params
...
Use OpenAPI info params on init of API
2019-12-04 20:07:46 +01:00
Steven Avelino
0b8a031ccb
Use openapi info params on init of API
2019-12-04 14:50:30 +01:00
taoufik
0678daa880
Bump to v2.0.4
v2.0.4
2019-11-19 17:35:16 +01:00
Taoufik
6761e3bdd8
Merge pull request #406 from daphil19/master
...
fix issues related to using `static=true` in `api.add_route()` and `static_route` in `responder.API()`
2019-11-19 17:30:22 +01:00
David Phillips
ead213a506
responder now checks routes added via add_route before mounted routes
...
routes added by `add_route` (including @api.route()) are now checked
before routes that were added by api.mount()
this especially helps cases for situations where the static route
defined by the API class is '/' but the default route is '/' as well
2019-11-02 13:57:39 -04:00
David Phillips
75b5782eee
fix static_response endpoint to return index.html contents
2019-11-02 13:55:34 -04:00
Taoufik
a80df809e4
Merge pull request #399 from vbarbaresi/fix_render_async
...
Async templates require enable_async in jinja2 Environment
2019-10-25 22:19:04 +01:00
taoufik
7f3177f662
v2.0.3
2019-10-22 10:41:34 +01:00
taoufik
906cd2fbbf
Fix templates conflicts
v2.0.3
v2.0.2
2019-10-20 12:48:02 +01:00
taoufik
9d0129da56
Fix templates conflicts
2019-10-20 12:39:32 +01:00
taoufik
aedcf12d99
v2.0.1
v2.0.1
2019-10-20 12:20:54 +01:00
Vincent Barbaresi
86361523e2
fix async templates rendering requiring enable_async in jinja2
...
When trying to test the render_async() feature I realized that it wasn't working
The template instance needs to be created with enable_async=True
2019-10-19 14:49:50 +02:00
Taoufik
a7110ef441
Merge pull request #395 from vbarbaresi/master
...
add a few tests for API and remove some dead code
2019-10-19 13:06:01 +01:00
Vincent Barbaresi
d3e4968546
add a few tests for API and remove some dead code
...
Increasing the coverage of api.py to 86%
- use pytest.parametrize to test cors and hsts parameters usage
- use pytest.parametrize to factorize test_staticfiles_custom_route
- add tests for path_matches_route and Route() with no endpoint
- test Jinja template rendering from a file
- remove _notfound_wsgi_app, before_ws_requests, before_http_requests
they didn't seem used anywhere and the before_* method were broken, referring to
self.before_requests that doesn't exist anymore
2019-10-19 13:47:39 +02:00
Taoufik
03e34d56ab
Merge pull request #398 from taoufik07/v2
...
v2.0.0
2019-10-19 12:22:32 +01:00
taoufik
b470d10416
v2.0.0
2019-10-19 12:21:06 +01:00
Taoufik
b8aea89039
Merge pull request #397 from taoufik07/update_pipfile
...
Bump versions
v2.0.0
2019-10-19 12:13:06 +01:00
taoufik
4a1e89af1b
Bump versions
2019-10-19 12:07:31 +01:00
Taoufik
81fbc94d36
Merge pull request #396 from vbarbaresi/fix_3.8_tests
...
upgrade pluggy to 0.13.0 to support importlib.metadata on python 3.8
2019-10-03 17:24:53 +01:00
Vincent Barbaresi
6487671559
upgrade pluggy to 0.13.0 to support stb lib importlib.metadata on python 3.8
2019-10-03 18:15:09 +02:00