aboutsummaryrefslogtreecommitdiffstats
path: root/models/db
Commit message (Expand)AuthorAgeFilesLines
* Make every not exist error unwrappable to a fs.ErrNotExist (#20891)zeripath2022-10-183-6/+38
* Refactor GetNextResourceIndex to make it work properly with transaction (#21469)wxiaoguang2022-10-162-62/+191
* test: use `T.TempDir` to create temporary test directory (#21043)Eng Zer Jun2022-09-041-3/+1
* Add migrate repo archiver and packages storage support on command line (#20757)Lunny Xiao2022-08-161-0/+34
* Modify milestone search keywords to be case insensitive again (#20513)Tyrone Yeh2022-07-281-0/+23
* Fix various typos (#20338)luzpaz2022-07-121-1/+1
* Allow manager logging to set SQL (#20064)zeripath2022-06-242-9/+25
* Adjust transaction handling via db.Context (#20031)Lunny Xiao2022-06-201-26/+19
* Add more linters to improve code readability (#19989)Wim2022-06-204-4/+4
* Move tests as seperate sub packages to reduce duplicated file names (#19951)Lunny Xiao2022-06-153-1/+78
* Move issues related files into models/issues (#19931)Lunny Xiao2022-06-133-12/+43
* Move some repository related code into sub package (#19711)Lunny Xiao2022-06-061-5/+0
* Fix order by parameter (#19849)Lunny Xiao2022-06-041-3/+2
* Estimate Action Count in Statistics (#19775)zeripath2022-05-211-0/+22
* Move almost all functions' parameter db.Engine to context.Context (#19748)Lunny Xiao2022-05-201-2/+3
* Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649)65432022-05-081-0/+15
* Use for a repo action one database transaction (#19576)65432022-05-031-2/+9
* Use a struct as test options (#19393)Lunny Xiao2022-04-141-1/+3
* Move deletebeans into models/db (#18781)Lunny Xiao2022-02-171-0/+11
* Automatically pause queue if index service is unavailable (#15066)Lauris BH2022-01-271-0/+1
* format with gofumpt (#18184)65432022-01-201-1/+1
* Propagate context and ensure git commands run in request context (#17868)zeripath2022-01-192-1/+7
* Refactor auth package (#17962)Lunny Xiao2022-01-021-0/+16
* Move keys to models/asymkey (#17917)Lunny Xiao2021-12-101-0/+13
* Improve install code to avoid low-level mistakes. (#17779)wxiaoguang2021-12-012-38/+95
* Move user related model into models/user (#17781)Lunny Xiao2021-11-243-1/+124
* Remove NewSession method from db.Engine interface (#17577)Lunny Xiao2021-11-213-30/+28
* A better go code formatter, and now `make fmt` can run in Windows (#17684)wxiaoguang2021-11-171-7/+3
* Decouple unit test, remove intermediate `unittestbridge` package (#17662)wxiaoguang2021-11-162-125/+9
* Decouple unit test code from business code (#17623)wxiaoguang2021-11-126-294/+61
* Move webhook into models/webhook/ (#17579)Lunny Xiao2021-11-101-0/+29
* Fix bug on admin subcommand (#17533)Lunny Xiao2021-11-071-41/+14
* Simplify Gothic to use our session store instead of creating a different stor...zeripath2021-11-031-18/+0
* Rename db Engines related functions (#17481)Lunny Xiao2021-10-301-11/+11
* Run Migrate in Install rather than just SyncTables (#17475)zeripath2021-10-291-3/+22
* Use a variable but a function for IsProd because of a slight performance incr...Lunny Xiao2021-10-201-2/+2
* Ensure that git daemon export ok is created for mirrors (#17243)zeripath2021-10-131-0/+8
* Save and view issue/comment content history (#16909)wxiaoguang2021-10-101-1/+3
* Move login related structs and functions to models/login (#17093)Lunny Xiao2021-09-244-6/+189
* DBContext is just a Context (#17100)zeripath2021-09-233-11/+85
* Fix commit status index problem (#17061)Lunny Xiao2021-09-231-2/+3
* refactor: move from io/ioutil to io and os package (#17109)Eng Zer Jun2021-09-221-3/+2
* Move db related basic functions to models/db (#17075)Lunny Xiao2021-09-1911-0/+1160