1
0
forked from gitea/gitea

7 Commits

Author SHA1 Message Date
6543
92f139d091
Use for a repo action one database transaction ()
... more context

(part of )
2022-05-03 21:46:28 +02:00
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
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
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
67b316a954 Refactor comment ()
* Refactor comment

* fix test

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