1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-16 02:09:18 +08:00
Commit Graph

6 Commits

Author SHA1 Message Date
Lunny Xiao
74731c3a5a
Move some issue methods as functions ()
* Move some issue methods as functions

* Fix bug
2022-03-29 16:57:33 +02:00
zeripath
4a20eadfd7
Restore propagation of ErrDependenciesLeft ()
Unfortunately  prevented all propagation of ErrDependenciesLeft meaning
that dependency errors that prevent closing of issues get swallowed.

This PR restores propagation of the error but instead swallows the error in the
places where it needs to be swallowed.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-01-19 00:26:42 +01:00
Lunny Xiao
a666829a37
Move user related model into models/user ()
* Move user related model into models/user

* Fix lint for windows

* Fix windows lint

* Fix windows lint

* Move some tests in models

* Merge
2021-11-24 17:49:20 +08:00
Lunny Xiao
0add627182
Fix close issue but time watcher still running ()
* Fix close issue but time watcher still running

* refactor stopwatch codes

* Fix test

* Fix test

* Fix typo

* Fix test
2021-11-21 17:11:48 +08:00
Lunny Xiao
67b316a954 Refactor comment ()
* Refactor comment

* fix test

* improve code
2019-12-15 16:57:34 -05:00
Lunny Xiao
c66c9dabc7
Move issue change status from models to service () 2019-10-28 13:26:46 +08:00