Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
bb88c05
Add the Store API and initial documentation.
tim-schilling May 17, 2023
19b5695
Remove config from docs as sphinx says it's misspelled.
tim-schilling May 17, 2023
97fcda7
Switch to Store.request_ids and remove serialization force_str.
tim-schilling Jun 17, 2023
487dfb3
Log serialization warning when a panel errors. (#1810)
tim-schilling Aug 21, 2023
e7cf575
Ignore common venv folder.
tim-schilling Aug 20, 2023
c4201fa
Rename store_id variants to request_id
Aug 20, 2023
bbbbb34
Support serializable panels. This is a WIP and needs clean-up.
Aug 20, 2023
e2f695b
Support serializable sql panel
tim-schilling Aug 21, 2023
14a5e0c
Make Panel.panel_id a classmember.
tim-schilling Aug 21, 2023
a31115f
Force everything to a string if it can't be serialized.
tim-schilling Aug 29, 2023
71edcf5
Support serialization of FunctionCall
tim-schilling Aug 29, 2023
c03f08f
Update all panels to use data from get_stats on render
tim-schilling Sep 5, 2023
47bdabe
Extend example app to have an async version.
tim-schilling Sep 5, 2023
dd53424
Merge branch 'main' into serialize-panels
tim-schilling Jul 10, 2024
16e02f5
Rework the alerts panel to be compatible with serialization.
tim-schilling Jul 10, 2024
3e4c484
Make template panel serializable.
tim-schilling Jul 10, 2024
f4ff5f4
Avoid caching the config settings.
Jul 11, 2024
d3730a6
Fix tests for serializable changes with selenium.
Jul 11, 2024
c660269
Comment out the async button because it breaks the wsgi app.
Jul 11, 2024
8402c4d
Hack: Sleep before checking to see if the history panel auto updated.
Jul 11, 2024
e1c0755
Improve clarity of record_stats for serialization. (#1965)
tim-schilling Jul 19, 2024
5a21920
Merge branch 'main' into serializable
tim-schilling Feb 9, 2025
89c4786
Added check for pytest as test runner for IS_RUNNING_TESTS.
tim-schilling May 14, 2025
73eea66
Fixes #2073 -- Added DatabaseStore for persistent debug data storage.…
dr-rompecabezas May 14, 2025
153c22b
Merge branch 'main' into serializable
tim-schilling May 15, 2025
f8bfb0d
Move serializable changes into the main change log.
tim-schilling May 15, 2025
bf77c70
Updated replaceToolbarState to use request id.
tim-schilling May 15, 2025
0cbf478
Merge branch 'main' into serializable
matthiask May 23, 2025
7a638c7
Removed unnecessary SQLPanel.record_stats
tim-schilling Jun 3, 2025
2fafbb4
Merge branch 'main' into serializable
tim-schilling Jul 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into serializable
  • Loading branch information
tim-schilling committed Jul 10, 2025
commit 2fafbb44a5293ee4eccd0661835124cab194e652
2 changes: 2 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Pending

* Added support for checking if pytest as the test runner when determining
if tests are running.
* Added ``show_toolbar_with_docker`` function to check Docker host IP address
when running inside Docker containers.
* Defines the ``BaseStore`` interface for request storage mechanisms.
* Added the setting ``TOOLBAR_STORE_CLASS`` to configure the request
storage mechanism. Defaults to ``debug_toolbar.store.MemoryStore``.
Expand Down
4 changes: 2 additions & 2 deletions tests/test_csp_rendering.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations

from django.conf import settings
from django.http.response import HttpResponse
from django.test.utils import override_settings
from html5lib.constants import E
from html5lib.html5parser import HTMLParser
Expand Down Expand Up @@ -122,7 +121,8 @@ def test_redirects_exists(self):
self.assertContains(response, "djDebug")

namespaces = get_namespaces(element=html_root)
nonce = response.context["request"].csp_nonce
context = response.context
nonce = str(context["toolbar"].csp_nonce)
self._fail_if_missing(
root=html_root, path=".//link", namespaces=namespaces, nonce=nonce
)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.