-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update serializable branch with main #2072
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updates: - [github.com/pre-commit/mirrors-eslint: v9.6.0 → v9.7.0](pre-commit/mirrors-eslint@v9.6.0...v9.7.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.1 → v0.5.2](astral-sh/ruff-pre-commit@v0.5.1...v0.5.2)
extract redudant code in _postprocess disable non async capable panels add middleware sync and async compatible test case rename file add panel async compatibility tests/ added panel async compatibility tests/ marked erreneous panels as non async refactor panel test Add function docstrings update async panel compatibility tests revert middleware back to __call__ and __acall__ approach update architecture.rst documentation fix typo in docs remove ASGI keyword from docs
updates: - [github.com/adamchainz/django-upgrade: 1.19.0 → 1.20.0](adamchainz/django-upgrade@1.19.0...1.20.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.4](astral-sh/ruff-pre-commit@v0.5.2...v0.5.4)
Previously, if a project used the `FORCE_SCRIPT_NAME` setting (common when hosting a Django application on a subdirectory path via a reverse proxy), the `django.urls.resolve()` call would always raise `Resolver404` in the middleware. As a result, `is_toolbar_request()` always returned False. This caused internal toolbar URLs to be inspected, and also indirectly led to a request loop when refreshing the history panel. In most cases (if `FORCE_SCRIPT_NAME` is unset), `get_script_prefix()` will return "/" and the `replace()` will be a no-op.
Maintains support for `SCRIPT_NAME` without manually calling `get_script_prefix()`. Tests that involved manually setting the `path` attribute of a request have been reworked to use a `RequestFactory` so that the `path` and `path_info` attributes are both set appropriately.
* Support select and explain for UNION queries Some UNION queries can start with "(", causing it to not be classified as a SELECT query, and consequently the select and explain buttons are missing on the SQL panel. * Remove unit test limitation to postgresql * Document integration test for postgres union select explain test.
updates: - [github.com/pre-commit/mirrors-eslint: v9.7.0 → v9.8.0](pre-commit/mirrors-eslint@v9.7.0...v9.8.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.4 → v0.5.5](astral-sh/ruff-pre-commit@v0.5.4...v0.5.5)
…1975) Co-authored-by: tschilling <[email protected]>
updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.5 → v0.5.6](astral-sh/ruff-pre-commit@v0.5.5...v0.5.6) - [github.com/tox-dev/pyproject-fmt: 2.1.4 → 2.2.1](tox-dev/pyproject-fmt@2.1.4...2.2.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Slightly increase opacity of debug toolbar button Avoids an accessibility issue (low-contrast text) when the page behind the button is white. Fixes #1981 * Add line to changelog. --------- Co-authored-by: Tim Schilling <[email protected]>
* make redirect panel async capable by using aprocess_request patterm * added async compability test for redirect panel * remove redundant call for super process_request
* Added table background color setting when dark theme
updates: - [github.com/pre-commit/mirrors-eslint: v9.8.0 → v9.9.0](pre-commit/mirrors-eslint@v9.8.0...v9.9.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.5.7](astral-sh/ruff-pre-commit@v0.5.6...v0.5.7)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](astral-sh/ruff-pre-commit@v0.5.7...v0.6.1) - [github.com/abravalheri/validate-pyproject: v0.18 → v0.19](abravalheri/validate-pyproject@v0.18...v0.19) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* make panel non async by default
* incoperate signals and contextvars to record staticfiles for concurrent requests * remove used_static_files contextvar and its dependencies allow on app ready monkey patching * async static files panel test * update doc * Code review changes * suggested changes
updates: - [github.com/pre-commit/mirrors-eslint: v9.9.0 → v9.9.1](pre-commit/mirrors-eslint@v9.9.0...v9.9.1) - [github.com/astral-sh/ruff-pre-commit: v0.6.1 → v0.6.2](astral-sh/ruff-pre-commit@v0.6.1...v0.6.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - [github.com/pre-commit/mirrors-eslint: v9.14.0 → v9.15.0](pre-commit/mirrors-eslint@v9.14.0...v9.15.0) - [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.8.0](astral-sh/ruff-pre-commit@v0.7.3...v0.8.0)
This informs users to submit security reports through GitHub's private vulnerability mechanism.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Matthias Kestenholz <[email protected]>
Fix whitespace view in code
updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.4](astral-sh/ruff-pre-commit@v0.8.3...v0.8.4)
…r .js file (#2047) simpler work-around for incorrect MIME type for toolbar.js, and example of console error message.
updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.4 → v0.8.6](astral-sh/ruff-pre-commit@v0.8.4...v0.8.6)
This tests the build and deployment process much more often.
I forgot that limiting to pushes on the main branch would exclude pushes to tags.
* [pre-commit.ci] pre-commit autoupdate * Update ESLint, ruff Co-authored-by: Matthias Kestenholz <[email protected]>
* Add Django 5.2 to tox matrix * Update changelog
updates: - [github.com/pre-commit/mirrors-eslint: v9.18.0 → v9.19.0](pre-commit/mirrors-eslint@v9.18.0...v9.19.0) - [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.3](astral-sh/ruff-pre-commit@v0.9.2...v0.9.3)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.9.4](astral-sh/ruff-pre-commit@v0.9.3...v0.9.4) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Add async union view for tests. - Add async json explain for tests.
f72568f
to
5a21920
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Merges main into serializable and resolves several merge conflicts. It may have also fixed a bug with the history panel.
Checklist:
docs/changes.rst
.