From 41dce9ce3f5f226fd5a46cae3dfc12cc1f952b4d Mon Sep 17 00:00:00 2001 From: dormant-user Date: Wed, 19 Jun 2024 19:10:03 -0500 Subject: [PATCH] Upgrade all dependencies and update broken hyperlinks --- README.md | 4 ++-- docs/README.html | 4 ++-- docs/README.md | 4 ++-- docs/_sources/README.md.txt | 4 ++-- pyfilebrowser/requirements.txt | 10 +++++----- pyproject.toml | 1 + 6 files changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 93e0cc7..a6b7d5b 100644 --- a/README.md +++ b/README.md @@ -234,8 +234,8 @@ Licensed under the [MIT License][license] [google-docs]: https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings [pep8]: https://www.python.org/dev/peps/pep-0008/ [isort]: https://pycqa.github.io/isort/ -[error.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/error.html -[warn.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/warn.html +[error.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/templates/error.html +[warn.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/templates/warn.html [Rate limiting]: https://www.cloudflare.com/learning/bots/what-is-rate-limiting/ [DDoS]: https://www.cloudflare.com/learning/ddos/glossary/denial-of-service/ [Rate Limiter]: https://builtin.com/software-engineering-perspectives/rate-limiter diff --git a/docs/README.html b/docs/README.html index 6fd3233..3e5ab34 100644 --- a/docs/README.html +++ b/docs/README.html @@ -115,8 +115,8 @@

.env

allow_public_ip bool - Boolean flag to allow public IP address of the host. Defaults to False

  • allow_private_ip bool - Boolean flag to allow private IP address of the host. Defaults to False

  • origin_refresh int - Interval in seconds to refresh all the allowed origins. Defaults to None

  • -
  • error_page FilePath - Error page to serve when filebrowser API is down. Defaults to error.html

  • -
  • warn_page FilePath - Warning page to serve when accessed from Unsupported browsers. Defaults to warn.html

  • +
  • error_page FilePath - Error page to serve when filebrowser API is down. Defaults to error.html

  • +
  • warn_page FilePath - Warning page to serve when accessed from Unsupported browsers. Defaults to warn.html

  • rate_limit - Dict/List[Dict] with the rate limit for the proxy server. Defaults to None

  • diff --git a/docs/README.md b/docs/README.md index 93e0cc7..a6b7d5b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -234,8 +234,8 @@ Licensed under the [MIT License][license] [google-docs]: https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings [pep8]: https://www.python.org/dev/peps/pep-0008/ [isort]: https://pycqa.github.io/isort/ -[error.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/error.html -[warn.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/warn.html +[error.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/templates/error.html +[warn.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/templates/warn.html [Rate limiting]: https://www.cloudflare.com/learning/bots/what-is-rate-limiting/ [DDoS]: https://www.cloudflare.com/learning/ddos/glossary/denial-of-service/ [Rate Limiter]: https://builtin.com/software-engineering-perspectives/rate-limiter diff --git a/docs/_sources/README.md.txt b/docs/_sources/README.md.txt index 93e0cc7..a6b7d5b 100644 --- a/docs/_sources/README.md.txt +++ b/docs/_sources/README.md.txt @@ -234,8 +234,8 @@ Licensed under the [MIT License][license] [google-docs]: https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings [pep8]: https://www.python.org/dev/peps/pep-0008/ [isort]: https://pycqa.github.io/isort/ -[error.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/error.html -[warn.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/warn.html +[error.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/templates/error.html +[warn.html]: https://github.com/thevickypedia/pyfilebrowser/blob/main/pyfilebrowser/proxy/templates/warn.html [Rate limiting]: https://www.cloudflare.com/learning/bots/what-is-rate-limiting/ [DDoS]: https://www.cloudflare.com/learning/ddos/glossary/denial-of-service/ [Rate Limiter]: https://builtin.com/software-engineering-perspectives/rate-limiter diff --git a/pyfilebrowser/requirements.txt b/pyfilebrowser/requirements.txt index 7464857..91feef1 100644 --- a/pyfilebrowser/requirements.txt +++ b/pyfilebrowser/requirements.txt @@ -1,10 +1,10 @@ bcrypt==4.1.* -fastapi==0.110.* +fastapi==0.111.* httpx==0.27.* Jinja2==3.1.* -pydantic==2.6.* -pydantic-settings==2.2.* +pydantic==2.7.* +pydantic-settings==2.3.* PyYaml==6.0.* -requests==2.31.* +requests==2.32.* user-agents==2.2.* -uvicorn==0.29.* +uvicorn==0.30.* diff --git a/pyproject.toml b/pyproject.toml index a1798e7..9f2be2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,7 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Communications :: File Sharing" ] keywords = ["filebrowser", "pydantic", "python-dotenv"]