forgejo/modules
Gusted dcc442351d
[BUG] Make chroma match case-insenstive
- In the case that [go-enry](https://github.com/go-enry/go-enry/)
returned langauge doesn't match a lexer name (Either because its not
available or because it doesn't match Chroma's name), a last effort
attempt is made to use Chroma's matching.
- go-enry already applies `strings.ToLower` onto the filename to avoid
being case-sensitive, add the same code for Chroma's matching. The code
being used doesn't rely on the filename being case senstive for correct
matching.
- Adds unit test.
- Resolves #752
2024-10-11 15:42:18 +02:00
..
actions Fix wrong status of Set up Job when first step is skipped (#32120) 2024-09-29 10:38:49 +02:00
activitypub Use forum.gitea.com instead of old URL (#31989) 2024-09-09 20:54:47 +02:00
analyze
assetfs
auth
avatar
base
cache Increase cacheContextLifetime to reduce false reports (#32011) 2024-09-14 17:09:03 +02:00
charset
container
csv
emoji
eventsource
forgefed style: reenable switch check 2024-08-18 15:19:01 +02:00
generate
git update git book link to v2 (#5503) 2024-10-09 09:28:37 +00:00
gitgraph
gitrepo
graceful chore: remove some Windows-specific files 2024-09-19 20:39:55 +05:00
hcaptcha
highlight [BUG] Make chroma match case-insenstive 2024-10-11 15:42:18 +02:00
hostmatcher Support allowed hosts for migrations to work with proxy (#32025) 2024-09-14 17:52:54 +02:00
html
httpcache Fix wrong last modify time (#32102) 2024-09-27 08:42:48 +02:00
httplib Fix wrong last modify time (#32102) 2024-09-27 08:42:48 +02:00
indexer Fixed race condition when deleting documents by repoId in ElasticSearch (#32185) 2024-10-06 07:59:42 +02:00
issue/template Fix linting issues 2024-08-18 16:25:13 +02:00
json
keying [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
label
lfs [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
log
markup Merge pull request '[gitea] week 2024-39 cherry pick (gitea/main -> forgejo)' (#5372) from earl-warren/wcp/2024-39 into forgejo 2024-09-27 08:12:43 +00:00
mcaptcha
metrics
migration Use correct function name (#31887) 2024-08-25 11:56:35 +02:00
nosql [FEAT] Only implement used API of Redis client 2024-08-30 04:33:15 +02:00
optional
options
packages feat: add architecture-specific removal support for arch package (#5351) 2024-09-27 08:21:22 +00:00
paginator
pprof
private
process chore: remove some Windows-specific files 2024-09-19 20:39:55 +05:00
proxy
proxyprotocol
public
queue chore: update mock redis client 2024-09-01 05:42:34 +02:00
recaptcha
references
regexplru
repository style: reenable switch check 2024-08-18 15:19:01 +02:00
secret
session [FEAT] Only implement used API of Redis client 2024-08-30 04:33:15 +02:00
setting Use camo.Always instead of camo.Allways (#32097) 2024-09-27 08:45:55 +02:00
sitemap
ssh
storage
structs [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
svg
sync
system
templates Merge pull request '[gitea] week 2024-39 cherry pick (gitea/main -> forgejo)' (#5372) from earl-warren/wcp/2024-39 into forgejo 2024-09-27 08:12:43 +00:00
test
testlogger
timeutil
translation
turnstile
typesniffer
updatechecker
uri
user
util Merge pull request 'Remove some Windows-specific files' (#5353) from 0ko/forgejo:no-windows into forgejo 2024-10-04 14:03:07 +00:00
validation
web
webhook
zstd Cache generated binary across jobs 2024-08-26 23:43:09 +02:00