aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo/topic_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Next round of `db.DefaultContext` refactor (#27089)JakobDev2023-09-161-10/+10
| | | Part of #27065
* Fix the topic validation rule and suport dots (#26286)wxiaoguang2023-08-031-0/+2
| | | | | 1. Allow leading and trailing spaces by user input, these spaces have already been trimmed at backend 2. Allow using dots in the topic
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
| | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Move some repository related code into sub package (#19711)Lunny Xiao2022-06-061-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move some repository related code into sub package * Move more repository functions out of models * Fix lint * Some performance optimization for webhooks and others * some refactors * Fix lint * Fix * Update modules/repository/delete.go Co-authored-by: delvh <dev.lh@web.de> * Fix test * Merge * Fix test * Fix test * Fix test * Fix test Co-authored-by: delvh <dev.lh@web.de>
* Some repository refactors (#17950)Lunny Xiao2021-12-121-0/+80
* some repository refactors * remove unnecessary code * Fix test * Remove unnecessary banner