Commit Graph

24 Commits

Author SHA1 Message Date
Lunny Xiao 5765212c6d
Add owner_name column for table repository for maintaince reason ()
* Add owner_name column for table repository for maintaince reason

* refactor

* Fix tests

* fix test

* fix bug when fork repository

Co-authored-by: zeripath <art27@cantab.net>
2020-01-12 17:36:21 +08:00
Lunny Xiao 9e85358777
Move some repositories' operations to a standalone service package ()
* Move some repositories' operations to a standalone service package

* improve code

* remove unused codes

* add rollback when fork failed

* add repo when return
2019-10-26 14:54:11 +08:00
Lanre Adelowo d0cb5aa9f9 fix () 2019-02-11 03:27:24 +02:00
Morgan Bazalgette 65861900cd Handle refactor ()
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound

* Change Handle(403) to NotFound, avoid using macaron's NotFound
2018-01-10 23:34:17 +02:00
Morlinest dff26e25ca Remove redudant functions and code ()
* Remove redudant functions and code
2017-10-10 22:37:18 +02:00
Ethan Koenig b689bb6180 Webhooks for repo creation/deletion ()
* Webhooks for repo creation/deletion

* add createHookTask

* Add handles for GetSlackPayload and GetDiscordPayload
2017-09-03 11:20:24 +03:00
Bo-Yi Wu 95574a3640 fix: Admin can see all private repositories on Explore page. ()
* fix: Admin can see all private repositories on Explore page.

* refactor: fix session
2017-02-26 13:59:31 +08:00
Bwko fa3abc22c0 Added sorting to organizations, repos & users page () 2016-12-24 22:42:26 +08:00
Lunny Xiao 94da472717 Golint fixed for modules/setting ()
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
2016-11-27 18:14:25 +08:00
Lunny Xiao 659bc2814c go lint fixed for routers/admin 2016-11-21 11:29:25 +08:00
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
2016-11-10 17:24:48 +01:00
Thibault Meyer 3a10a0c1ca
Ordering organizations and users by name 2016-11-10 09:18:54 +01:00
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs () 2016-11-03 10:29:56 -02:00
Unknwon 1f2e173a74 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
Unknwon 46e96c008c Use struct for UI settings 2016-07-24 00:23:54 +08:00
Unknwon 149d62a648 fix admin can't search private repos
- update glide info
2016-03-15 14:23:12 -04:00
Unknwon 2bf8494332 finish user and repository search
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00
Unknwon 514382e2eb Rename module: middleware -> context 2016-03-11 11:56:52 -05:00
Unknwon 89244b74c6 remember page number when delete repo 2015-12-05 17:49:46 -05:00
Unknwon ca8ce793d1 Ability to delete repo from admin panel 2015-12-05 17:39:29 -05:00
Unknwon 986447335d minor fix 2015-09-25 19:07:21 -04:00
Antoine GIRARD dfc16d0879 Fix admin repos new ui 2015-09-26 00:38:43 +02:00
Unknwon 8e0a69f86a disable captcha and new admin create user UI 2015-09-13 09:51:51 -04:00
Unknwon d2aff9a46a Continue working on new admin pages 2014-08-29 20:50:43 +08:00