feature/dav_explorer#364
Open
mar10 wants to merge 125 commits into
Open
Conversation
…o mar10/issue336
…o mar10/issue336
…o mar10/issue336
…o mar10/issue336
- Replace Pipfile/Pipfile.lock, setup.cfg, setup.py, requirements*.txt with a fully self-contained pyproject.toml (PEP 517/621) and uv.lock - Add [build-system], [project], [tool.setuptools.*] and [dependency-groups] (dev) sections to pyproject.toml - Update Dockerfile to copy uv from ghcr.io/astral-sh/uv and use `uv pip install --system` instead of pip - Update GitHub Actions tests workflow to use astral-sh/setup-uv and `uv sync` / `uv run` instead of setup-python + pip - Add `requires = tox-uv>=1` to tox.ini; add missing [testenv:check] env; drop setup.py references from ruff lint/format commands - Update docs/source/installation.rst: bump min Python to 3.8, add `uv tool install` as recommended install path - Update docs/source/development.rst: replace pipenv workflow with `uv sync` / `uv run tox`; update ruff/tox command examples Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Remove Python 3.8 and 3.9 classifiers; add 3.14 and 3.15 - Add python_requires >= 3.10 to setup.cfg - Update MIN_PYTHON_VERSION_INFO to (3, 10) - Update ruff target-version to py310; enable UP006/UP007 rules - Apply ruff fixes: modernize type annotations (List->list, Optional->X|None, Union->X|Y) - Update tox envlist and GitHub Actions matrix - Use dirs_exist_ok=True in copytree (no longer needs workaround) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| // to prevent XSS | ||
| placeholderElem.innerHTML = `File is too large (> ${maxSizeKB} KiB).<br> | ||
| <a href="" target="_blank">Click here</a> to preview.`; | ||
| placeholderElem.querySelector("a").href = url; |
| case "image": | ||
| imgElem.onload = () => { | ||
| imgElem.onload = null; | ||
| imgElem.setAttribute("src", url); |
| // const iframe = document.querySelector("aside.right div#preview-iframe iframe"); | ||
| // const iframe = iframeElem.querySelector("iframe"); | ||
| iframeElem.src = "about:blank"; // Reset before setting new src | ||
| iframeElem.setAttribute("src", url); |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #364 +/- ##
==========================================
- Coverage 43.69% 40.75% -2.94%
==========================================
Files 31 33 +2
Lines 4969 5059 +90
==========================================
- Hits 2171 2062 -109
- Misses 2798 2997 +199 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or 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
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.
No description provided.