0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 03:22:26 +01:00
gitea/routers
zeripath c42c31a111
Correctly set the organization num repos (#11339)
* Correctly set the organization num repos

Correctly set the organization num repos to the number of
accessible repos for the user

Fix #11194

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @lunny

Signed-off-by: Andrew Thornton <art27@cantab.net>

* attempt to fix mssql

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update models/user.go

* Explicit columns

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add test and fix 0 counted orgs

Signed-off-by: Andrew Thornton <art27@cantab.net>

* remove orgname from api

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-05-12 01:04:08 +03:00
..
admin Users should not be able to prohibit their own login (#10970) 2020-04-06 10:23:15 -04:00
api/v1 Correctly set the organization num repos (#11339) 2020-05-12 01:04:08 +03:00
dev
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
private Protect default branch against deletion (#11115) 2020-05-06 12:08:45 +01:00
repo Protect default branch against deletion (#11115) 2020-05-06 12:08:45 +01:00
routes Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
user Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
utils
home.go
init.go Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
install.go
metrics.go
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00