gitea/modules/setting
6543 b2435af9be
Add Allow-/Block-List for Migrate & Mirrors ()
* add black list and white list support for migrating repositories

* fix fmt

* fix lint

* fix vendor

* fix modules.txt

* clean diff

* specify log message

* use blocklist/allowlist

* allways use lowercase to match url

* Apply allow/block

* Settings: use existing "migrations" section

* convert domains lower case

* dont store unused value

* Block private addresses for migration by default

* fix lint

* use proposed-upstream func to detect private IP addr

* a nit

* add own error for blocked migration, add tests, imprufe api

* fix test

* fix-if-localhost-is-ipv4

* rename error & error message

* rename setting options

* Apply suggestions from code review

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
..
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 Fixed git args duplication ()
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 Handle and propagate errors when checking if paths are Dirs, Files or Exist ()
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 Allow-/Block-List for Migrate & Mirrors ()
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 missing quotes in default value slice ()
service.go hCaptcha Support ()
session.go Movde dependents on macaron from modules/setting ()
setting.go Handle and propagate errors when checking if paths are Dirs, Files or Exist ()
storage.go Storage configuration support `[storage]` ()
task.go Avoid setitng the CONN_STR in queues unless it is meant to be set ()
webhook.go Add Matrix webhook ()