Skip to content

feature/dav_explorer#364

Open
mar10 wants to merge 125 commits into
masterfrom
mar10/issue336
Open

feature/dav_explorer#364
mar10 wants to merge 125 commits into
masterfrom
mar10/issue336

Conversation

@mar10

@mar10 mar10 commented May 31, 2026

Copy link
Copy Markdown
Owner

No description provided.

mar10 and others added 24 commits April 18, 2026 21:00
- 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);
@mar10 mar10 changed the title Mar10/issue336 Mar10/dav_explorer May 31, 2026
@codecov

codecov Bot commented May 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 51.78571% with 54 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.75%. Comparing base (82734cb) to head (2d6f214).

Files with missing lines Patch % Lines
wsgidav/mw/dav_explorer/app.py 38.75% 49 Missing ⚠️
wsgidav/dav_error.py 0.00% 1 Missing ⚠️
wsgidav/dc/htdigest_dc.py 0.00% 1 Missing ⚠️
wsgidav/server/ext_wsgiutils_server.py 0.00% 1 Missing ⚠️
wsgidav/util.py 83.33% 1 Missing ⚠️
wsgidav/wsgidav_app.py 83.33% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mar10 mar10 changed the title Mar10/dav_explorer feature/dav_explorer May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants