0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
forgejo/modules
Gergely Nagy 3975a9f3aa
[GITEA] Find README.md for user profiles case insensitively
When trying to find a `README.md` in a `.profile` repo, do so case
insensitively. This change does not make it possible to render readmes
in formats other than Markdown, it just removes the hard-coded
"README.md".

Also adds a few tests to make sure the change works.

Fixes #1494.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit edd219d8e9)
(cherry picked from commit 2c0105ef17)
2024-01-15 16:51:45 +00:00
..
actions [CI] Search .forgejo/workflows first 2024-01-15 13:26:55 +00:00
activitypub Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
analyze
assetfs
auth [GITEA] Drop sha256-simd in favor of stdlib 2024-01-15 16:11:57 +00:00
avatar [GITEA] Drop sha256-simd in favor of stdlib 2024-01-15 16:11:57 +00:00
base [GITEA] Drop sha256-simd in favor of stdlib 2024-01-15 16:11:57 +00:00
cache Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
charset Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
container
context [SECURITY] Rework long-term authentication 2024-01-15 14:48:04 +00:00
contexttest Replace assert.Fail with assert.FailNow (#27578) 2023-10-11 11:02:24 +00:00
csv
doctor [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2024-01-15 16:11:59 +00:00
emoji
eventsource Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
generate
git [GITEA] Find README.md for user profiles case insensitively 2024-01-15 16:51:45 +00:00
gitgraph More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
graceful Suggest to use Type=simple for systemd service (#28717) 2024-01-07 15:18:04 +00:00
hcaptcha
highlight Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
hostmatcher Support allowed hosts for webhook to work with proxy (#27655) 2023-10-18 09:44:36 +00:00
html
httpcache
httplib
indexer [GITEA] Vendor rupture dependency 2024-01-15 15:45:14 +00:00
issue/template
json
label
lfs [GITEA] Drop sha256-simd in favor of stdlib 2024-01-15 16:11:57 +00:00
log
markup [GITEA] Add footnote testing 2024-01-15 16:47:16 +00:00
mcaptcha
metrics Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
migration
nosql
options
packages Support for grouping RPMs using paths (#26984) 2024-01-12 03:16:05 +00:00
paginator
pprof
private [CLI] implement forgejo-cli 2024-01-15 13:26:55 +00:00
process Replace assert.Fail with assert.FailNow (#27578) 2023-10-11 11:02:24 +00:00
proxy
proxyprotocol
public Refactor CORS handler (#28587) 2023-12-25 20:13:18 +08:00
queue [CI] disable redis test, no redis server yet in CI 2024-01-15 13:26:55 +00:00
recaptcha
references Make cross-reference issue links work in markdown documents again (#28682) 2024-01-03 14:01:12 +08:00
regexplru
repository Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
secret [GITEA] Drop sha256-simd in favor of stdlib 2024-01-15 16:11:57 +00:00
session Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
setting [GITEA] Add support for shields.io-based badges 2024-01-15 16:51:45 +00:00
sitemap
ssh Remove SSH workaround (#27893) 2023-11-03 15:21:05 +00:00
storage [CI] Forgejo Actions based CI for PR & branches 2024-01-15 13:26:56 +00:00
structs [ACTIONS] on.schedule: create a new payload 2024-01-15 16:47:17 +00:00
svg
sync
system Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
templates Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
test
testlogger
timeutil Make template DateTime show proper tooltip (#28677) 2024-01-02 20:09:18 +01:00
translation
turnstile
typesniffer
updatechecker Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
upload
uri
user
util [GITEA] Drop sha256-simd in favor of stdlib 2024-01-15 16:11:57 +00:00
validation [GITEA] add option for banning dots in usernames 2024-01-15 16:11:57 +00:00
web [GITEA] Configurable clone methods 2024-01-15 16:48:44 +00:00
webhook Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00