summaryrefslogtreecommitdiffstats
path: root/services/migrations
Commit message (Collapse)AuthorAgeFilesLines
...
* Use `hostmatcher` to replace `matchlist`, improve security (#17605)wxiaoguang2021-11-208-96/+93
| | | | | Use hostmacher to replace matchlist. And we introduce a better DialContext to do a full host/IP check, otherwise the attackers can still bypass the allow/block list by a 302 redirection.
* Move attachment into models/repo/ (#17650)Lunny Xiao2021-11-191-1/+2
| | | | | | | * Move attachment into models/repo/ * Fix test * Fix bug
* Fix Migrate Description (#17692)99rgosse2021-11-181-0/+1
| | | | | Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Move user functions into user.go (#17659)Lunny Xiao2021-11-182-5/+6
| | | | | * Move user functions into user.go * Fix test
* Move migrations into services and base into modules/migration (#17663)Lunny Xiao2021-11-1621-0/+7602
* Move migrtions into services and base into modules/migration * Fix imports * Fix lint