Repository navigation
docs(self-hosting): document the WebDAV media source - #33
Open
obelix58143 wants to merge 1 commit into
Open
obelix58143 wants to merge 1 commit into
obelix58143 wants to merge 1 commit into
Conversation
Covers WEBDAV_ENABLED/URL/USERNAME/PASSWORD/ROOT/LABEL and the per-user listing limit, what picking a file does, where the credentials go, the read-only app-password advice, the instance-wide credentials caveat and the private network rule for imports. Lists the source in the media guide and adds `webdav` to the webhook media `source` values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
This branch has not been deployed
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.
Documents the WebDAV media source from trypostit/trypost#430. Replaces #25, which described the pre-2.0 version and was closed with it.
What changes
WEBDAV_ENABLED,WEBDAV_URL,WEBDAV_USERNAME,WEBDAV_PASSWORD,WEBDAV_ROOT,WEBDAV_LABEL) and the per-user listing limitWEBDAV_REQUESTS_PER_MINUTE, what picking a file does, where the credentials go, the read-only app-password advice, the instance-wide-credentials caveat and the private-network rule. The section intro now names the share as one of the sources.webdavadded to the mediasourcevalues.Sources (trypostit/trypost#430 head)
config/trypost.php:263-271app/Enums/Media/Source.php:44WebDAVapp/Enums/Media/Source.php:72app/Services/Media/Sources/WebdavFiles.php(parse,mimeType).and..segments are rejectedapp/Services/Media/Sources/WebdavFiles.php:103app/Enums/Media/Source.php:82,app/Services/Media/RemoteMediaImporter.php(hostAllowedon every redirect)resources/js/components/posts/composer/MediaSourceMenu.vue:189-196TRYPOST_ALLOW_PRIVATE_NETWORKHttpdirectly, the import goes throughSafeHttpFetchersource=webdavon the mediaapp/Services/Media/RemoteMediaImporter.php:203mint broken-linkspasses.🤖 Generated with Claude Code