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
Earl Warren 7818121d50
S3: log human readable error on connection failure (#26856)
Should BucketExists (HeadBucket) fail because of an error related to
the connection rather than the existence of the bucket, no information
is available and the admin is left guessing.

https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html

> This action is useful to determine if a bucket exists and you have
> permission to access it. The action returns a 200 OK if the bucket
> exists and you have permission to access it.
>
> If the bucket does not exist or you do not have permission to access
> it, the HEAD request returns a generic 400 Bad Request, 403
> Forbidden or 404 Not Found code. A message body is not included, so
> you cannot determine the exception beyond these error codes.

GetBucketVersioning is used instead and exclusively dedicated to
asserting if using the connection does not return a BadRequest.
If it does the NewMinioStorage logs an error and returns. Otherwise
it keeps going knowing that BucketExists is not going to fail for
reasons unrelated to the existence of the bucket and the permissions
to access it.

(cherry picked from commit d1df4b3bc62e5e61893a923f1c4b58f084eb03af)

Refs: https://codeberg.org/forgejo/forgejo/issues/1338
1 year ago
..
actions chore(actions): support cron schedule task (#26655) 1 year ago
activitypub move repository deletion to service layer (#26948) 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) 1 year ago
auth
avatar Remove nfnt/resize and oliamb/cutter (#25999) 2 years ago
base Replace `interface{}` with `any` (#25686) 2 years ago
cache improve unit test for caching (#26185) 2 years ago
charset Replace `interface{}` with `any` (#25686) 2 years ago
container
context Fix the display of org level badges (#26504) 1 year ago
contexttest Avoid double-unescaping of form value (#26853) 1 year ago
csv
doctor Add fix incorrect can_create_org_repo for org owner team (#26683) 1 year ago
emoji Update emoji set to Unicode 15 (#25595) 2 years ago
eventsource Less naked returns (#25713) 2 years ago
generate Handle base64 decoding correctly to avoid panic (#26483) 2 years ago
git Clarify the git command Stdin hanging problem (#26967) 1 year ago
gitgraph
graceful Allow the use of alternative net.Listener implementations by downstreams (#25855) 2 years ago
hcaptcha
highlight Upgrade go dependencies (#25819) 2 years ago
hostmatcher
html Refactor backend SVG package and add tests (#26335) 2 years ago
httpcache Less naked returns (#25713) 2 years ago
httplib Less naked returns (#25713) 2 years ago
indexer Clarify the git command Stdin hanging problem (#26967) 1 year ago
issue/template Replace `interface{}` with `any` (#25686) 2 years ago
json Replace `interface{}` with `any` (#25686) 2 years ago
label
lfs Rewrite logger system (#24726) 2 years ago
log Reduce some allocations in type conversion (#26772) 1 year ago
markup Make `user-content-* ` consistent with github (#26388) 2 years ago
mcaptcha
metrics Use a separate admin page to show global stats, remove `actions` stat (#25062) 2 years ago
migration Replace `interface{}` with `any` (#25686) 2 years ago
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
options
packages Use docs.gitea.com instead of docs.gitea.io (#26739) 1 year ago
paginator
pprof
private Replace `interface{}` with `any` (#25686) 2 years ago
process Less naked returns (#25713) 2 years ago
proxy
proxyprotocol
public Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 2 years ago
queue Expanding documentation in queue.go (#26889) 1 year ago
recaptcha
references
regexplru Upgrade go dependencies (#25819) 2 years ago
repository Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
secret Improve decryption failure message (#24573) 2 years ago
session Replace `interface{}` with `any` (#25686) 2 years ago
setting Use secure cookie for HTTPS sites (#26999) 1 year ago
sitemap
ssh restrict certificate type for builtin SSH server (#26789) 1 year ago
storage S3: log human readable error on connection failure (#26856) 1 year ago
structs refactor(API): refactor secret creation and update functionality (#26751) 1 year ago
svg Refactor backend SVG package and add tests (#26335) 2 years ago
sync
system
templates Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
test Move web/api context related testing function into a separate package (#26859) 1 year ago
testlogger Replace `interface{}` with `any` (#25686) 2 years ago
timeutil Fix incorrect webhook time and use relative-time to display it (#24477) 2 years ago
translation Replace `interface{}` with `any` (#25686) 2 years ago
turnstile
typesniffer Detect ogg mime-type as audio or video (#26494) 2 years ago
updatechecker
upload
uri
user
util Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
validation Check blocklist for emails when adding them to account (#26812) 1 year ago
web Update tool dependencies (#26607) 1 year ago
webhook New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago