mirror of
1
Fork 0
forgejo/modules
Gusted dbaf3eb13c
[GITEA] Recognize OGG as an audio format
- OGG is officially an container format and is therefor classified as
`application/ogg` in RFC3534. While `audio/ogg` exists, as defined in
RFC5334, it doesn't have a different magic number and thus purely
informative, it can only be determined by parsing the file and checking
if it only contains audio data.
- A quick search on Wikimedia Commons yields that the OGG container is
by far more used for audio than for video, so it's safe to classify this
as audio, as OGG files that only contain video would now falsy be
classified as an audio file (previously it would've shown just a link to
the 'View Raw' link).
- Added unit tests.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1091
2023-07-28 20:48:49 +02:00
..
actions [CI] Search .forgejo/workflows first 2023-07-26 14:16:04 +02:00
activitypub Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
analyze
assetfs Skip unuseful error message in dev mode when watching local filesystem (#25919) 2023-07-17 09:47:55 +00:00
auth [SECURITY] default to pbkdf2 with 320,000 iterations 2023-07-26 14:40:01 +02:00
avatar Remove nfnt/resize and oliamb/cutter (#25999) 2023-07-20 19:52:42 +08:00
base Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
cache [GITEA] improve unit test for caching 2023-07-26 16:38:57 +02:00
charset Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
container
context Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
csv
doctor Upgrade go dependencies (#25819) 2023-07-14 11:00:31 +08:00
emoji Update emoji set to Unicode 15 (#25595) 2023-06-29 16:29:48 +00:00
eventsource Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
generate Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
git Remove `git.FileBlame` (#25841) 2023-07-12 19:07:29 +02:00
gitgraph
graceful Allow the use of alternative net.Listener implementations by downstreams (#25855) 2023-07-24 07:18:17 +00:00
hcaptcha
highlight Upgrade go dependencies (#25819) 2023-07-14 11:00:31 +08:00
hostmatcher
html Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
httpcache Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
httplib Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
indexer Add open/closed field support for issue index (#25708) 2023-07-07 17:10:13 +00:00
issue/template Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
json Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
label
lfs
log Use stderr as fallback if the log file can't be opened (#26074) 2023-07-24 04:57:21 +00:00
markup [GITEA] Render status of list items for Org mode 2023-07-26 16:48:00 +02:00
mcaptcha
metrics
migration Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
mirror
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
notification Add Adopt repository event and handler (#25497) 2023-06-26 06:59:15 +00:00
options
packages Fix handling of Debian files with trailing slash (#26087) 2023-07-24 16:19:44 +02:00
paginator
pprof
private [CLI] implement forgejo-cli actions (squash) restore --version 2023-07-26 16:07:07 +02:00
process Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
proxy
proxyprotocol
public Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 2023-07-21 12:14:20 +00:00
queue [CI] disable redis test, no redis server yet in CI 2023-07-26 14:16:04 +02:00
recaptcha
references
regexplru Upgrade go dependencies (#25819) 2023-07-14 11:00:31 +08:00
repository Support copy protected branch from template repository (#25889) 2023-07-21 12:32:47 +08:00
secret
session Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
setting [GITEA] Add OpenStreetMap URL to Location field in profile 2023-07-26 16:48:06 +02:00
sitemap
ssh Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
storage [CI] disable minio test, no minio server yet in CI 2023-07-26 14:16:04 +02:00
structs [GITEA] Add Upload URL to release API 2023-07-26 16:33:24 +02:00
svg Move public asset files to the proper directory (#25907) 2023-07-18 18:06:43 +02:00
sync
system
templates Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
test [TESTS] MockVariable temporarily replaces a global value 2023-07-26 11:03:39 +02:00
testlogger Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
timeutil
translation Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
turnstile
typesniffer [GITEA] Recognize OGG as an audio format 2023-07-28 20:48:49 +02:00
updatechecker
upload
uri
user
util Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
validation [GITEA] add option for banning dots in usernames 2023-07-26 16:33:24 +02:00
web [GITEA] add option for banning dots in usernames 2023-07-26 16:33:24 +02:00
webhook