Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed classifiers for unsupported python versions from setup.pyfeature-deadsnakes | Marcel Hellkamp | 2020-01-02 | 1 | -4/+2 |
| | |||||
* | Removed most uses of tob() or touni() | Marcel Hellkamp | 2020-01-01 | 13 | -72/+72 |
| | |||||
* | Deprecated tonat() helper | Marcel Hellkamp | 2020-01-01 | 3 | -14/+15 |
| | |||||
* | Removed _stdout, _stderr and _raise Python 2 workarounds. | Marcel Hellkamp | 2020-01-01 | 1 | -33/+21 |
| | |||||
* | Removed bottle.py3k flag and all python 2 only code. | Marcel Hellkamp | 2020-01-01 | 5 | -127/+65 |
| | |||||
* | Removed Python 2 tests and added LTS notice to readme. | Marcel Hellkamp | 2020-01-01 | 3 | -5/+17 |
| | |||||
* | Revert "fix #1186: Bottle fails to find templates on windows" | Marcel Hellkamp | 2019-12-20 | 1 | -2/+3 |
| | | | | This reverts commit 085f18615fe8ab63588eebfd25bb90337aac2ba0. | ||||
* | gunicorn: switch to use BaseApplication | Robert Coup | 2019-12-19 | 1 | -4/+5 |
| | | | | This means configuration is only pulled from what is supplied through Bottle, not (for example) re-parsed from the commandline. Follows documented approach at http://docs.gunicorn.org/en/stable/custom.html | ||||
* | fix test case | 张酉夫 | 2019-12-19 | 1 | -1/+1 |
| | | | | setting expires with naive datetime is treated as UTC time | ||||
* | refine parse_date | 张酉夫 | 2019-12-19 | 1 | -1/+1 |
| | |||||
* | fix date formatting for non-English locales | 张酉夫 | 2019-12-19 | 2 | -19/+27 |
| | |||||
* | fix typo in the Route class docstring | vascop | 2019-12-18 | 1 | -1/+1 |
| | |||||
* | Removed circle-ci and travis-ci in favor of GitHub actions. | Marcel Hellkamp | 2019-12-18 | 5 | -109/+4 |
| | |||||
* | Fixup for 5c52eb0 | Marcel Hellkamp | 2019-12-18 | 2 | -11/+10 |
| | |||||
* | fix #1186: Bottle fails to find templates on windows | Marcel Hellkamp | 2019-12-18 | 1 | -3/+2 |
| | | | | | | os.sep contains a backslash on windows, but os.path.abspath() normalizes paths to forward slashes. Hard-coding a forward slash on any platform is actually more correct here. | ||||
* | fix #1187: Allow non-ASCII characters in status_line | Marcel Hellkamp | 2019-12-18 | 2 | -1/+25 |
| | | | | Uncommon, but valid. | ||||
* | Merge branch 'backend-testing' of https://github.com/hartwork/bottle into ↵ | Marcel Hellkamp | 2019-12-18 | 14 | -129/+72 |
|\ | | | | | | | | | | | | | | | | | | | master. This patch-set includes two breaking changes: * "rocket" server adapter was removed, as it does not support Python 3 and is unmaintained. It will be marked as deprectated retrospectively in 0.12 * The "aiohttp" server adapter now uses aiohttp-wsgi instead of aiohttp. It was never part of 0.12 (stable), so changing this should be fine. | ||||
| * | travis: Drop end-of-life Python 3.4 | Sebastian Pipping | 2019-12-09 | 1 | -1/+0 |
| | | |||||
| * | ci: Do not tolerate import errors for 2.7 and 3.6 on Travis | Sebastian Pipping | 2019-12-09 | 1 | -3/+5 |
| | | |||||
| * | aiohttp: Move from aiohttp<2 to aiohttp-wsgi | Sebastian Pipping | 2019-12-09 | 3 | -18/+7 |
| | | |||||
| * | uvloop: Pass loop to aiohttp to fix backend "uvloop" | Sebastian Pipping | 2019-12-09 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Backtrace was: Traceback (most recent call last): File "[..]/lib/python3.6/site-packages/aiohttp/server.py", line 239, in start httpstream = reader.set_parser(self._request_parser) File "[..]/lib/python3.6/site-packages/aiohttp/parsers.py", line 199, in set_parser self.unset_parser() File "[..]/lib/python3.6/site-packages/aiohttp/parsers.py", line 209, in unset_parser if self._loop.is_closed(): AttributeError: 'NoneType' object has no attribute 'is_closed' | ||||
| * | ci: Install aiohttp<2 with aiohttp.wsgi for backends "aiohttp" and "uvloop" | Sebastian Pipping | 2019-12-09 | 2 | -2/+2 |
| | | | | | | | | | | Commit dropping aiohttp.wsgi upstream: https://github.com/aio-libs/aiohttp/commit/9218c264d57c633bc21cb7a14cd7890a272d4e34 | ||||
| * | rocket: Drop support for dead backend "rocket" | Sebastian Pipping | 2019-12-09 | 12 | -71/+2 |
| | | |||||
| * | tests: Limit backend "aiohttp" to Python 3 | Sebastian Pipping | 2019-12-09 | 1 | -0/+1 |
| | | |||||
| * | tests: Limit backend "diesel" to Python 2 | Sebastian Pipping | 2019-12-09 | 2 | -2/+3 |
| | | | | | | | | | | Python 3 support is broken, see: https://github.com/dieseldev/diesel/issues/104 | ||||
| * | tests: Stop testing wsgiref twice | Sebastian Pipping | 2019-12-09 | 1 | -1/+1 |
| | | | | | | | | Once from TestServer and once from TestServerAdapter_wsgiref | ||||
| * | tests: Adapt TestServer blacklist to Python version | Sebastian Pipping | 2019-12-09 | 1 | -0/+14 |
| | | | | | | | | Based on knowledge from travis_setup.sh | ||||
| * | travis: Resolve some travis_setup.sh code duplication | Sebastian Pipping | 2019-12-09 | 1 | -7/+11 |
| | | |||||
| * | tests: Make servertest.py friendly to test discovery | Sebastian Pipping | 2019-12-09 | 1 | -31/+32 |
|/ | | | | .. by moving code out of module scope and into a function. | ||||
* | Refactoring | Marcel Hellkamp | 2019-12-09 | 1 | -12/+10 |
| | |||||
* | Added tests for #1125 fix. | Marcel Hellkamp | 2019-12-08 | 1 | -3/+23 |
| | |||||
* | Merge branch 'defnull-1175' | Marcel Hellkamp | 2019-12-08 | 1 | -9/+10 |
|\ | |||||
| * | fix #1174,#1175: Allow cookie SameSite=None | Marcel Hellkamp | 2019-12-08 | 1 | -9/+10 |
| | | |||||
* | | fix #1167: Allow listening to unix socket for gunicorn server adapter | Marcel Hellkamp | 2019-12-08 | 1 | -3/+10 |
|/ | |||||
* | Run gh actions on pull requests | Marcel Hellkamp | 2019-12-08 | 1 | -1/+1 |
| | |||||
* | run_tests.yml: run five tests in parallel | Christian Clauss | 2019-12-08 | 1 | -1/+1 |
| | | | Speed up testing by running all five versions of Python in parallel. | ||||
* | Updated documentation on SimpleTemplate and embedded blocks. (#1028) | Vinay Sajip | 2019-12-01 | 1 | -0/+15 |
| | | | | | * Updated documentation on SimpleTemplate and embedded blocks. * Addressed review comments. | ||||
* | redirect() raises HTTPResponse and not HTTPError | Thomas | 2019-12-01 | 1 | -1/+1 |
| | |||||
* | Fix syntax in login-login recipe | Oz Tiram | 2019-12-01 | 1 | -2/+2 |
| | | | | | Previously, the example yielded SyntaxError. Adding an equal sign fixes the assertion syntax. | ||||
* | Fix typo | Ashwin Ramaswami | 2019-12-01 | 1 | -1/+1 |
| | |||||
* | Move to github actions (#1183) | Marcel Hellkamp | 2019-12-01 | 2 | -0/+37 |
| | |||||
* | Fix release steps in Makefile | Marcel Hellkamp | 2019-12-01 | 1 | -3/+2 |
| | |||||
* | #1179: Offer option to add custom headers in static_file | Marcel Hellkamp | 2019-12-01 | 1 | -4/+7 |
| | | | | Done a little bit diffeently than in the PR (never ever use mutable types as default values) but has the same effect. Closes #1179 | ||||
* | Gitignore .tox/ | Marcel Hellkamp | 2019-12-01 | 1 | -0/+1 |
| | |||||
* | Fix travis-ci builds (they dropped 2.7.3 support) | Marcel Hellkamp | 2019-08-30 | 1 | -6/+2 |
| | |||||
* | [bug] set default value for "Content-Length" | Luo Zhaoyu | 2019-08-30 | 1 | -1/+1 |
| | | | Setting default value as -1 when "Content-Length" is empty. If not, currently it will raise a ValueError | ||||
* | Be more consistent about supporting Python 3.4 to 3.7 | Sebastian Pipping | 2019-07-10 | 17 | -30/+21 |
| | |||||
* | Fix Python 3.7 collections.abc DeprecationWarning | Adam Johnson | 2019-07-10 | 1 | -1/+1 |
| | | | | | | | | Should fix this ``` /.../bin/bottle.py:87: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import MutableMapping as DictMixin ``` | ||||
* | current bottle only support 2.7 and above, json is stdlib | Hanaasagi | 2019-01-31 | 1 | -20/+12 |
| | |||||
* | fix failed test caused by ujson | Hanaasagi | 2019-01-31 | 2 | -3/+12 |
| |