1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 01:24:26 +00:00
gitea/modules
Giteabot be302f3025
Support relative paths to videos from Wiki pages (#31061) (#31453)
Backport #31061 by @sergeyvfx

This change fixes cases when a Wiki page refers to a video stored in the
Wiki repository using relative path. It follows the similar case which
has been already implemented for images.

Test plan:
- Create repository and Wiki page
- Clone the Wiki repository
- Add video to it, say `video.mp4`
- Modify the markdown file to refer to the video using `<video
src="video.mp4">`
- Commit the Wiki page
- Observe that the video is properly displayed

Co-authored-by: Sergey Sharybin <sergey.vfx@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-06-22 00:03:31 +03:00
..
actions
activitypub
analyze
assetfs
auth
avatar
badge
base Fix natural sort (#31384) (#31394) 2024-06-17 07:41:47 +00:00
cache Fix missing memcache import (#31105) (#31109) 2024-05-27 14:23:47 +00:00
charset
container
csv
dump
emoji
eventsource
generate
git Refactor sha1 and time-limited code (#31023) (#31030) 2024-05-21 00:58:21 +08:00
gitgraph
gitrepo
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib Fix duplicate sub-path for avatars (#31365) (#31368) 2024-06-15 03:44:44 +00:00
indexer Fix bug filtering issues which have no project (#31337) (#31367) 2024-06-17 10:23:15 +00:00
issue/template Support setting the default attribute of the issue template dropdown field (#31045) (#31059) 2024-05-24 11:01:09 +08:00
json
label
lfs Fix #31185 try fix lfs download from bitbucket failed (#31201) (#31329) 2024-06-12 02:34:37 +03:00
log
markup Support relative paths to videos from Wiki pages (#31061) (#31453) 2024-06-22 00:03:31 +03:00
mcaptcha
metrics
migration Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
nosql
optional
options
packages
paginator
pprof
private Move database operations of merging a pull request to post receive hook and add a transaction (#30805) (#30888) 2024-05-08 14:17:18 +00:00
process
proxy
proxyprotocol
public
queue Fix queue test (#30646) 2024-04-22 23:55:43 +00:00
recaptcha
references
regexplru
repository Fix adopt repository has empty object name in database (#31333) (#31335) 2024-06-12 15:59:54 +00:00
secret
session
setting Remove sub-path from container registry realm (#31293) (#31300) 2024-06-10 12:04:49 +08:00
sitemap
ssh
storage
structs Increase max length of org team names from 30 to 255 characters (#31410) (#31421) 2024-06-20 01:27:13 +00:00
svg
sync
system
templates Fix rendered wiki page link (#31398) (#31407) 2024-06-19 11:23:24 +08:00
test Remove sub-path from container registry realm (#31293) (#31300) 2024-06-10 12:04:49 +08:00
testlogger
timeutil
translation
turnstile
typesniffer
updatechecker
uri
user
util Fix project column title overflow (#31011) (#31025) 2024-05-20 06:17:21 +00:00
validation
web Delete legacy cookie before setting new cookie (#31306) (#31317) 2024-06-11 05:57:51 +00:00
webhook