aboutsummaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Move mirror to a standalone package from models (#7486)Lunny Xiao2019-10-013-59/+473
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move mirror to a standalone package * fix mirror address in template * fix tests * fix lint * fix comment * fix tests * fix tests * fix vendor * fix fmt * fix lint * remove wrong file submitted * fix conflict * remove unrelated changes * fix go mod * fix tests * clean go mod * make vendor work * make vendor work * fix tests * remove duplicated test
* Extract actions on deletereleasebyid from models to release service (#8219)Lunny Xiao2019-10-012-1/+69
| | | | | | * extract actions on deletereleasebyid from models to release service * fix tests
* Extract actions on new issue from models to services (#8217)Lunny Xiao2019-09-301-0/+47
| | | | | | | | * extract actions on new issue from models to services * improve code * rename services/issues to services/issue
* If no specific context is required for status check, require an overall ↵Elias Norberg2019-09-301-1/+9
| | | | | success (#8318) Signed-off-by: Elias Norberg <elias@aisle.se>
* Extract actions on new pull request from models to pulls service and move ↵Lunny Xiao2019-09-275-0/+722
| | | | | | | | | | | | | | code.gitea.io/gitea/modules/pull to code.gitea.io/gitea/services/pull (#8218) * extract actions on new pull request from models to pulls service * improve code * move code.gitea.io/gitea/modules/pull to code.gitea.io/gitea/services/pull * fix fmt * Rename pulls.go to pull.go
* Move create issue comment to comments package (#8212)Lunny Xiao2019-09-241-0/+103
| | | | | | | | | | * move create issue comment to comments package * extract actions on update/delete comment from models to comment service * fix lint * fix lint
* Fix assets key on release webhook (#8253)Daniel Fonseca de Lira2019-09-241-2/+4
| | | | | | | | * Fix assets key on release webhook * Fix assets key on release webhook * Add message to log on AddReleaseAttachments failure
* Move all mail related codes from models to services/mailer (#7200)Lunny Xiao2019-09-246-0/+838
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move all mail related codes from models to modules/mailer * fix lint * use DBContext instead Engine * use WithContext not WithEngine * Use DBContext instead of Engine * don't use defer when sess.Close() * move DBContext to context.go and add some methods * move mailer from modules/ to services * fix lint * fix tests * fix fmt * add gitea copyright * fix tests * don't expose db functions * make code clear * add DefaultDBContext * fix build * fix bug
* move some milestone functions to a standalone package (#8213)Lunny Xiao2019-09-181-0/+59
|
* Move create release from models to a standalone package (#7539)Lunny Xiao2019-09-152-0/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | * move create release from models to a standalone package * fix lint * fix comment year * fix lint * fix lint * fix package import name * fix vendor * fix go mod * some refactors * fix vendor * use go1.12 make vendor * fix vendor
* Move git diff codes from models to services/gitdiff (#7889)Lunny Xiao2019-09-054-0/+1110
* move git diff codes from models to services/gitdiff * fix template * fix test * fix template