Lunny Xiao
1a9821f57a
Move issues related files into models/issues ( #19931 )
...
* Move access and repo permission to models/perm/access
* fix test
* fix git test
* Move functions sequence
* Some improvements per @KN4CK3R and @delvh
* Move issues related code to models/issues
* Move some issues related sub package
* Merge
* Fix test
* Fix test
* Fix test
* Fix test
* Rename some files
3 years ago
6543
92f139d091
Use for a repo action one database transaction ( #19576 )
...
... more context
(part of #9307 )
3 years ago
Lunny Xiao
74731c3a5a
Move some issue methods as functions ( #19255 )
...
* Move some issue methods as functions
* Fix bug
3 years ago
Lunny Xiao
a666829a37
Move user related model into models/user ( #17781 )
...
* Move user related model into models/user
* Fix lint for windows
* Fix windows lint
* Fix windows lint
* Move some tests in models
* Merge
3 years ago
wxiaoguang
750a8465f5
A better go code formatter, and now `make fmt` can run in Windows ( #17684 )
...
* go build / format tools
* re-format imports
3 years ago
wxiaoguang
81926d61db
Decouple unit test, remove intermediate `unittestbridge` package ( #17662 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
wxiaoguang
df64fa4865
Decouple unit test code from business code ( #17623 )
3 years ago
Lunny Xiao
a4bfef265d
Move db related basic functions to models/db ( #17075 )
...
* Move db related basic functions to models/db
* Fix lint
* Fix lint
* Fix test
* Fix lint
* Fix lint
* revert unnecessary change
* Fix test
* Fix wrong replace string
* Use *Context
* Correct committer spelling and fix wrong replaced words
Co-authored-by: zeripath <art27@cantab.net>
3 years ago
Lunny Xiao
67b316a954
Refactor comment ( #9330 )
...
* Refactor comment
* fix test
* improve code
5 years ago
Harshit Bansal
7e8242ddb1
Fix an error while adding a dependency via UI. ( #5862 )
...
Fixes : #5783
6 years ago
Lunny Xiao
b3b7598ec6
Improve performance of dashboard ( #4977 )
6 years ago
kolaente
1bff02de55
Added dependencies for issues ( #2196 ) ( #2531 )
6 years ago