1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-18 21:17:49 +00:00
Commit graph

10 commits

Author SHA1 Message Date
zeripath
01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
This PR registers requests with the process manager and manages hierarchy within the processes.

Git repos are then associated with a context, (usually the request's context) - with sub commands using this context as their base context.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-11-30 20:06:32 +00: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
c97d66d23c
Move repofiles from modules/repofiles to services/repository/files ()
* Move repofiles from modules to services

* rename services/repository/repofiles -> services/repository/files

* Fix test

Co-authored-by: 6543 <6543@obermui.de>
2021-11-24 15:56:24 +08:00
zeripath
188fd2dd1a
Add PULL_LIMIT and PUSH_LIMIT to cron.update_mirror task () 2021-11-22 22:09:35 -05:00
KN4CK3R
f34151bdb2
Move user/org deletion to services () 2021-11-19 01:42:27 +08:00
Lunny Xiao
3c3855a05c
Move user functions into user.go ()
* Move user functions into user.go

* Fix test
2021-11-18 13:58:42 +08:00
Lunny Xiao
5233051e64
Move some functions into services/repository () 2021-11-17 23:17:31 +08:00
wxiaoguang
750a8465f5
A better go code formatter, and now make fmt can run in Windows ()
* go build / format tools
* re-format imports
2021-11-17 20:34:35 +08:00
Lunny Xiao
7e1ae38097
Move migrations into services and base into modules/migration ()
* Move migrtions into services and base into modules/migration

* Fix imports

* Fix lint
2021-11-16 23:25:33 +08:00
Lunny Xiao
48ccd325a1
Move some functions into services/repository () 2021-11-16 21:30:11 +08:00