| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move import statement to top of the file | chiatchiat | 2023-04-01 | 1 | -2/+1 |
| | | |||||
| * | Update cherrypy/test/test_logging.py | chiatchiat | 2023-04-01 | 1 | -2/+1 |
| | | | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> | ||||
| * | Update cherrypy/_cplogging.py | chiatchiat | 2023-04-01 | 1 | -1/+2 |
| | | | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> | ||||
| * | [pre-commit.ci] auto fixes from pre-commit.com hooks | pre-commit-ci[bot] | 2023-03-30 | 1 | -1/+1 |
| | | | | | for more information, see https://pre-commit.ci | ||||
| * | Fix: LazyRfc3339UtcTime return correct utc time | chiatchiat | 2023-03-29 | 2 | -3/+32 |
| | | |||||
| * | 🐛Replace use of deprecated ConfigParser.readfp | Sviatoslav Sydorenko | 2023-01-09 | 1 | -1/+1 |
| | | |||||
| * | 🐛 Close unreleased HTTP connections @ tests | Sviatoslav Sydorenko | 2023-01-09 | 2 | -0/+17 |
| | | |||||
| * | Revert "🔧 Stop using the `cgi` stdlib module" | Sviatoslav Sydorenko | 2023-01-09 | 1 | -7/+2 |
| | | | | | This reverts commit 6b7c2cdc91ca5ba1f6cf3e5d9e8e386266c64ce6. | ||||
| * | 🔧 Stop using the `cgi` stdlib module | Sviatoslav Sydorenko | 2023-01-05 | 1 | -2/+7 |
| | | | | | This module is deprecated since Python 3.11. | ||||
| * | 🎨 Upgrade pydocstyle to the recent version | Sviatoslav Sydorenko | 2023-01-05 | 1 | -5/+7 |
| | | |||||
| * | 🎨 Adjust line length in code across the repo | Sviatoslav Sydorenko | 2023-01-05 | 3 | -7/+11 |
| | | | | | This patch makes it shorter to fit the 79 char limit. | ||||
| * | Introduce SanitizedHost wrapper. Fixes #1974. | Jason R. Coombs | 2022-07-17 | 3 | -3/+33 |
| | | |||||
| * | Add test capturing missed expectation. Ref #1974. | Jason R. Coombs | 2022-07-17 | 1 | -0/+13 |
| | | |||||
| * | Merge PR #1945 | Sviatoslav Sydorenko | 2022-02-01 | 1 | -6/+2 |
| |\ | |||||
| | * | Switch from inspect.getargspec to inspect.getfullargspec | Dominic Davis-Foster | 2022-01-28 | 1 | -6/+2 |
| | | | | | | | | | inspect.getargspec has been deprecated since 3.0 | ||||
| * | | Merge PR #1933 | Sviatoslav Sydorenko | 2022-02-01 | 2 | -1/+1 |
| |\ \ | |||||
| | * | | Fix tutorial test | Krystian Rosiński | 2021-09-13 | 1 | -1/+1 |
| | | | | |||||
| | * | | Replace the pdf with the one compiled by pdflatex | Krystian Rosiński | 2021-09-13 | 1 | -0/+0 |
| | |/ | |||||
| * | | Merge PR #1932 | Sviatoslav Sydorenko | 2022-02-01 | 13 | -18/+18 |
| |\ \ | |||||
| | * | | Replace cherrypy.org to cherrypy.dev | Maneesh Babu M | 2021-09-11 | 13 | -18/+18 |
| | |/ | |||||
| * | | Use context managers to close files properly and fix tests on PyPy | Michał Górny | 2022-02-01 | 15 | -66/+50 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use context managers (`with`) to ensure that all open files are closed correctly. This resolves resource leaks and test failures with PyPy3.7. The code prior to this change used four approaches for closing files: 1. Using a context manager (`with` clause). 2. Using a try/finally clause. 3. Closing the file in the same scope (unreliable: file object can leak on exception). 4. Not closing open files at all. The last point is a real problem for PyPy since it does not GC unreachable objects as aggressively as CPython does. While leaving a function scope on CPython causes the file objects private to it to be destroyed (and therefore closed), in PyPy they can stay dangling for some time. When combines with buffered writes, this means that writes can still remain pending after returning from function. Using a context manager is a simple, consistent way to ensure that the file object is closed once it is no longer needed. In turn, this guarantees that all pending writes will be performed upon function return and the code won't be hiting race conditions between writing a file and reading it afterwards. | ||||
| * | Don't use deprecated camelCase functions from threading module. | Dominic Davis-Foster | 2021-06-07 | 3 | -9/+9 |
| | | |||||
| * | Close hanging fd in testHandlerToolConfigOverride | Duncan Bellamy | 2021-01-17 | 1 | -2/+2 |
| | | |||||
| * | Close streamed file in file_generator on destruct | Duncan Bellamy | 2021-01-17 | 1 | -0/+5 |
| | | |||||
| * | Turn on ServerStateTests::test_2_KeyboardInterrupt | Sviatoslav Sydorenko | 2020-12-11 | 1 | -4/+0 |
| | | | | | Resolves #1873 | ||||
| * | Merge PR #1892 | Sviatoslav Sydorenko | 2020-11-29 | 1 | -4/+14 |
| |\ | | | | | | | | | This change fixes `test_bus::test_block` expectations regarding the optional log line mentioning the thread name. | ||||
| | * | <= 1 | Christian Clauss | 2020-11-29 | 1 | -1/+1 |
| | | | |||||
| | * | Update test_bus.py | Christian Clauss | 2020-11-29 | 1 | -1/+1 |
| | | | |||||
| | * | Update test_bus.py | Christian Clauss | 2020-11-29 | 1 | -1/+5 |
| | | | |||||
| | * | White quotes | Christian Clauss | 2020-11-29 | 1 | -5/+5 |
| | | | |||||
| | * | Fix text_block() to ignore the final message | Christian Clauss | 2020-11-29 | 1 | -4/+9 |
| |/ | |||||
| * | Use white quotes | Christian Clauss | 2020-11-19 | 1 | -2/+2 |
| | | |||||
| * | xfail test_wait_publishes_periodically() on macOS | Christian Clauss | 2020-11-18 | 1 | -0/+4 |
| | | | | A targeted subset of #1877 which [happens on both CircleCI and Travis CI](https://github.com/cherrypy/cherrypy/pull/1877/files#r524250775). | ||||
| * | Skip running test_2_KeyboardInterrupt with xfail | Sviatoslav Sydorenko | 2020-11-17 | 1 | -7/+4 |
| | | | | | | | | This change completely skipps the test because neither using pytest-forked, nor using just `xfail` with `raises` seems to be able to isolate the failure without affecting the whole test suite run. | ||||
| * | Make test_2_KeyboardInterrupt run in fork @ POSIX | Sviatoslav Sydorenko | 2020-11-17 | 1 | -1/+8 |
| | | |||||
| * | Mark test_2_KeyboardInterrupt as xfailing | Christian Clauss | 2020-11-17 | 1 | -0/+1 |
| | | |||||
| *-. | Merge PR #1882, PR #1883 and PR #1884 | Sviatoslav Sydorenko | 2020-11-16 | 2 | -4/+1 |
| |\ \ | | | | | | | | | | | | | This change upgrades the macOS env in Circle CI, bumps Travis CI env to Ubuntu Focal and drops xfail from test_queue_full. | ||||
| | | * | Remove pytest.mark.xfail on test_queue_full | Christian Clauss | 2020-11-16 | 1 | -2/+0 |
| | | | | |||||
| | | * | Remove pytest.mark.xfail on test_queue_full | Christian Clauss | 2020-11-16 | 1 | -1/+0 |
| | |/ |/| | | | | | | | Closes #1535 This test passes consistently on Travis CI so perhaps [resolving #1839 fixed #1535](https://github.com/cherrypy/cherrypy/issues/1535#issuecomment-581424282). | ||||
| | * | def example(): # noqa: F811 | Christian Clauss | 2020-11-16 | 1 | -1/+1 |
| |/ | |||||
| * | Fix compression level in meta header in gzip toolbugfixes/1849-gzip-compression-header-cpython-bug39389 | Sviatoslav Sydorenko | 2020-11-15 | 2 | -2/+39 |
| | | | | | | | | | | | * https://bugs.python.org/issue39389 * https://github.com/python/cpython/pull/18077 * https://github.com/python/cpython/pull/18100 * https://github.com/python/cpython/pull/18101 Fixes #1849 | ||||
| * | Reflow the comment in _make_content_disposition | Sviatoslav Sydorenko | 2020-04-17 | 1 | -6/+6 |
| | | | | | This fixes the lines exceeding 79 chars limit | ||||
| * | Fix typos in all NFKC references | Sviatoslav Sydorenko | 2020-04-17 | 1 | -3/+3 |
| | | |||||
| * | Move normalization algorithm description from docstring to code comments. | Jan Rieger | 2020-04-17 | 1 | -8/+7 |
| | | |||||
| * | Change normalization algorithm to `NKFC` and add docstring for this solution | Jan Rieger | 2020-04-17 | 1 | -1/+9 |
| | | |||||
| * | Use normal string literals instead of u-prefixed ones | Sviatoslav Sydorenko | 2020-04-17 | 1 | -2/+2 |
| | | |||||
| * | Add condition to prevent pass `filename*` when it's equal with original ↵ | Jan Rieger | 2020-04-17 | 1 | -2/+3 |
| | | | | | `filename` | ||||
| * | Fix the creation of BytesIO in `serve_fileobj_utf8_filename` | Sviatoslav Sydorenko | 2020-04-17 | 1 | -1/+1 |
| | | |||||
| * | Serve test module itself in `serve_file_utf8_filename` | Sviatoslav Sydorenko | 2020-04-17 | 1 | -2/+1 |
| | | |||||
| * | Rename `_utf8_content_disposition` to `_make_content_disposition` | Sviatoslav Sydorenko | 2020-04-17 | 1 | -3/+3 |
| | | |||||
