gitea/modules/setting
zeripath 172e7ee87f
Fix Storage mapping ()
This PR fixes several bugs in setting storage

* The default STORAGE_TYPE should be the provided type.
* The Storage config should be passed in to NewStorage as a pointer - otherwise the Mappable interface function MapTo will not be found
* There was a bug in the MapTo function.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
attachment.go Provide self-registering storage system ()
cache.go Mark Cache with ini tag ()
cors.go Movde dependents on macaron from modules/setting ()
cron.go Allow extended config on cron settings ()
cron_test.go Allow extended config on cron settings ()
database.go Avatars and Repo avatars support storing in minio ()
database_sqlite.go Move database settings from models to setting ()
database_test.go Move database settings from models to setting ()
git.go go-version constraints ignore pre-releases ()
indexer.go Avoid setting the CONN_STR in issue indexer queue unless it is meant to be set ()
indexer_test.go Restrict repository indexing by glob match ()
lfs.go go-version constraints ignore pre-releases ()
log.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line ()
mailer.go Sendmail should create a process on the gitea system and have a default timeout ()
markup.go Fix sanitizer config - multiple rules ()
migrations.go Add retry for migration http/https requests ()
picture.go Avatars and Repo avatars support storing in minio ()
project.go Kanban board ()
queue.go Slightly simplify the queue settings code to help reduce the risk of problems ()
repository.go Update golangci-lint to version 1.31.0 ()
service.go hCaptcha Support ()
session.go Movde dependents on macaron from modules/setting ()
setting.go Avatars and Repo avatars support storing in minio ()
storage.go Fix Storage mapping ()
task.go Avoid setitng the CONN_STR in queues unless it is meant to be set ()
webhook.go Add Matrix webhook ()