You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622)
Follow #30454
And fix #24957

When using "preferred_username", if no such field,
`extractUserNameFromOAuth2` (old `getUserName`) shouldn't return an
error. All other USERNAME options do not return such error.

And fine tune some logic and error messages, make code more stable and
more friendly to end users.
11 months ago
..
actions Fix some pending problems (#29985) 1 year ago
activitypub Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
analyze Rename code_langauge.go to code_language.go (#26377) 2 years ago
assetfs Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 2 years ago
auth Enable more `revive` linter rules (#30608) 11 months ago
avatar Use `crypto/sha256` (#29386) 1 year ago
badge Implement actions badge svgs (#28102) 1 year ago
base Refactor StringsToInt64s (#29967) 1 year ago
cache Refactor cache and disable go-chi cache (#30417) 11 months ago
charset Render embedded code preview by permlink in markdown (#30234) 12 months ago
container Add container.FilterSlice function (#30339) 12 months ago
csv Render embedded code preview by permlink in markdown (#30234) 12 months ago
dump Refactor "dump" sub-command (#30240) 12 months ago
emoji Update emoji set to Unicode 15 (#25595) 2 years ago
eventsource Final round of `db.DefaultContext` refactor (#27587) 1 year ago
generate Refactor JWT secret generating & decoding code (#29172) 1 year ago
git Enable more `revive` linter rules (#30608) 11 months ago
gitgraph More `db.DefaultContext` refactor (#27265) 1 year ago
gitrepo Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 1 year ago
graceful Remove unused error in graceful manager (#29871) 1 year ago
hcaptcha
highlight Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
hostmatcher Support allowed hosts for webhook to work with proxy (#27655) 1 year ago
html Refactor backend SVG package and add tests (#26335) 2 years ago
httpcache Also match weakly validated ETags (#28957) 1 year ago
httplib Refactor external URL detection (#29973) 1 year ago
indexer Perform Newest sort type correctly when sorting issues (#30644) 11 months ago
issue/template Extend issue template yaml engine (#29274) 1 year ago
json Replace `interface{}` with `any` (#25686) 2 years ago
label Make label templates have consistent behavior and priority (#23749) 2 years ago
lfs fix: close file in the Upload func (#30262) 12 months ago
log Enable more `revive` linter rules (#30608) 11 months ago
markup Enable more `revive` linter rules (#30608) 11 months ago
mcaptcha
metrics Reduce usage of `db.DefaultContext` (#27073) 2 years ago
migration Refactor locale&string&template related code (#29165) 1 year ago
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
optional Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461) 11 months ago
options Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
packages Enable more `revive` linter rules (#30608) 11 months ago
paginator Use more specific test methods (#24265) 2 years ago
pprof
private Performance optimization for git push (#30104) 12 months ago
process Enable more `revive` linter rules (#30608) 11 months ago
proxy Use proxy for pull mirror (#22771) 2 years ago
proxyprotocol
public Refactor CORS handler (#28587) 1 year ago
queue Fix queue test (#30646) 11 months ago
recaptcha
references Fix issue link does not support quotes (#29484) (#29487) 1 year ago
regexplru Upgrade go dependencies (#25819) 2 years ago
repository Enable more `revive` linter rules (#30608) 11 months ago
secret Use `crypto/sha256` (#29386) 1 year ago
session Improve oauth2 client "preferred username field" logic and the error handling (#30622) 11 months ago
setting Improve oauth2 client "preferred username field" logic and the error handling (#30622) 11 months ago
sitemap
ssh Remove SSH workaround (#27893) 1 year ago
storage Fix object storage path handling (#27024) 2 years ago
structs Update API to return 'source_id' for users (#29718) 11 months ago
svg Refactor markdown attention render (#29984) 1 year ago
sync
system Replace more db.DefaultContext (#27628) 1 year ago
templates Initial support for colorblindness-friendly themes (#30625) 11 months ago
test Move web/api context related testing function into a separate package (#26859) 2 years ago
testlogger Replace `interface{}` with `any` (#25686) 2 years ago
timeutil Refactor "dump" sub-command (#30240) 12 months ago
translation Render embedded code preview by permlink in markdown (#30234) 12 months ago
turnstile Add new captcha: cloudflare turnstile (#22369) 2 years ago
typesniffer Detect ogg mime-type as audio or video (#26494) 2 years ago
updatechecker Replace more db.DefaultContext (#27628) 1 year ago
uri
user
util Enable more `revive` linter rules (#30608) 11 months ago
validation Check blocklist for emails when adding them to account (#26812) 2 years ago
web Use maintained gziphandler (#30592) 11 months ago
webhook Fix schedule tasks bugs (#28691) 1 year ago