Daniel Harding

Results 14 issues of Daniel Harding

This PR adds two new settings, `FLAVOURS_COOKIE_AGE` and `FLAVOURS_COOKIE_DOMAIN`, which allow the maximum age and domain for the flavour cookie to be customized if desired.

Partial fix for #621: To avoid quadratic behavior, make `TokenList.value` a dynamically-computed property rather than an attribute so that it does not need to be recomputed each time `TokenList.group_tokens()` is...

Partial fix for #621: In `TokenList._token_matching()` avoid quadratic behavior resulting from taking a slice of `self.tokens` during each invocation. Since we are working with indexes anyway, just generate the indexes...

I use sqlparse via django-debug-toolbar. I was noticing some very slow performance when rendering some of our queries, in particular those having the form `SELECT ... FROM ... WHERE id...

# Required information * Distribution: Gentoo * The output of * `lxc-checkconfig`: ``` LXC version 4.0.12 --- Namespaces --- Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled...

This PR supersedes #623. The meat of the PR is the same: fix the remaining portion of issue #621 by making `TokenList.value` a dynamically-computed property rather than an attribute. This...

Add new Python versions, update the flake8 command, and set `isolated_build = True` since sqlparse is using a PEP-517 pyproject.toml file (see https://tox.wiki/en/3.27.1/example/package.html for more info).

## Issue In tox 4.x, with a `set_env` key that contains a [substitution from another section](https://tox.wiki/en/latest/config.html#substitution-for-values-from-other-sections) as well as an [environment variable substitution](https://tox.wiki/en/latest/config.html#environment-variable-substitutions), the values that should have been substituted...

help:wanted

When developing against the `main` branch of DjDT, I can no longer commit changes to JS files due to a failure in pre-commit. If I force a pre-commit run on...

Address #70 by only pruning snapshots from the current host by default when performing maintenance. This avoids inadvertently pruning snapshots from other hosts when that might not be desired.