Skip to content

Replace DebugConfiguredStorage with URLMixin in staticfiles panel #2097

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

Merged
merged 26 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5e98abd
Refs #2068: Do not reinstantiate staticfiles storage classes
matthiask Feb 6, 2025
f44ab85
Add URLMixin tests for staticfiles panel
dr-rompecabezas Mar 5, 2025
8c09baa
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Feb 10, 2025
1991b88
Update package metadata to include well-known labels (#2078)
andoriyaprashant Feb 14, 2025
004a581
Pinned django-csp's version used for our tests (#2084)
matthiask Feb 25, 2025
6a076d6
[pre-commit.ci] pre-commit autoupdate (#2080)
pre-commit-ci[bot] Feb 25, 2025
4418293
Add resources section to the documentation (#2081)
dr-rompecabezas Feb 25, 2025
b1e7a8c
Make show toolbar callback function async/sync compatible. (#2066)
tim-schilling Feb 25, 2025
d1362f5
Fix typo in resources.rst (#2085)
dr-rompecabezas Feb 25, 2025
8a66da1
Add link to contributing documentation in CONTRIBUTING.md (#2086)
blingblin-g Feb 26, 2025
f33c416
Pull translations from transifex (#2089)
matthiask Mar 1, 2025
ec4837c
Replace ESLint and prettier with biome (#2090)
matthiask Mar 1, 2025
50c1314
Enable the useSingleVarDeclarator style rule
matthiask Mar 1, 2025
25eb3f9
Enable the noUselessElse rule
matthiask Mar 1, 2025
964b6d8
Enable the noParameterAssign rule
matthiask Mar 1, 2025
301f2cd
Enable the noArguments rule
matthiask Mar 1, 2025
9535aac
Prefer template literals to string concatenation
matthiask Mar 1, 2025
9b20825
Prefer arrow functions
matthiask Mar 1, 2025
4b05d1f
Enable the noAssignInExpressions rule
matthiask Mar 1, 2025
01b9261
Replace forEach loops with for...of loops
matthiask Mar 1, 2025
f8f9cdd
[pre-commit.ci] pre-commit autoupdate (#2095)
pre-commit-ci[bot] Mar 4, 2025
2b34fcb
Add help command to the Makefile (#2094)
mrbazzan Mar 4, 2025
5a3b805
Update changelog: added URLMixin
dr-rompecabezas Mar 5, 2025
114ff30
Merge branch 'main' into add-tests-for-2068
matthiask Mar 5, 2025
2a45f80
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 5, 2025
b6b21b0
Add words to the spelling wordlist
matthiask Mar 5, 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
Next Next commit
Enable the noAssignInExpressions rule
  • Loading branch information
matthiask authored and dr-rompecabezas committed Mar 5, 2025
commit 4b05d1f6780081b2214e5f247d37c81f6a677886
3 changes: 0 additions & 3 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
"recommended": true,
"complexity": {
"noForEach": "off"
},
"suspicious": {
"noAssignInExpressions": "off"
}
}
},
Expand Down
5 changes: 3 additions & 2 deletions debug_toolbar/static/debug_toolbar/js/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,9 @@ const djdt = {
set(key, value, options = {}) {
if (typeof options.expires === "number") {
const days = options.expires;
const t = (options.expires = new Date());
t.setDate(t.getDate() + days);
const expires = new Date();
expires.setDate(expires.setDate() + days);
options.expires = expires;
}

document.cookie = [
Expand Down