forgejo/modules
Gergely Nagy dee4a18423
[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)
(cherry picked from commit 3975a9f3aa)
2024-01-22 18:13:42 +00:00
..
actions [CI] Search .forgejo/workflows first 2024-01-22 12:18:31 +00:00
activitypub
analyze
assetfs
auth [GITEA] Drop sha256-simd in favor of stdlib 2024-01-22 18:13:40 +00:00
avatar [GITEA] Drop sha256-simd in favor of stdlib 2024-01-22 18:13:40 +00:00
base [GITEA] Drop sha256-simd in favor of stdlib 2024-01-22 18:13:40 +00:00
cache
charset
container
context [SECURITY] Rework long-term authentication 2024-01-22 13:41:21 +00:00
contexttest
csv
emoji
eventsource
generate
git [GITEA] Find README.md for user profiles case insensitively 2024-01-22 18:13:42 +00:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer [GITEA] Vendor rupture dependency 2024-01-22 13:42:50 +00:00
issue/template
json
label
lfs [GITEA] Drop sha256-simd in favor of stdlib 2024-01-22 18:13:40 +00:00
log
markup [GITEA] Add footnote testing 2024-01-22 18:13:41 +00:00
mcaptcha
metrics
migration
nosql
options
packages
paginator
pprof
private [CLI] implement forgejo-cli 2024-01-22 12:18:30 +00:00
process
proxy
proxyprotocol
public
queue [CI] disable redis test, no redis server yet in CI 2024-01-22 12:18:31 +00:00
recaptcha
references
regexplru
repository
secret [GITEA] Drop sha256-simd in favor of stdlib 2024-01-22 18:13:40 +00:00
session
setting [GITEA] Add support for shields.io-based badges 2024-01-22 18:13:42 +00:00
sitemap
ssh
storage [CI] Forgejo Actions based CI for PR & branches 2024-01-22 12:18:31 +00:00
structs [ACTIONS] on.schedule: create a new payload 2024-01-22 18:13:41 +00:00
svg
sync
system
templates
test
testlogger
timeutil
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util [GITEA] Drop sha256-simd in favor of stdlib 2024-01-22 18:13:40 +00:00
validation [GITEA] add option for banning dots in usernames 2024-01-22 14:35:03 +00:00
web [GITEA] Configurable clone methods 2024-01-22 18:13:42 +00:00
webhook