forgejo/routers/api/v1
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 Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
misc enable ENABLE_HARD_LINE_BREAK by default (#11162) 2020-04-21 23:13:56 +01:00
notify [Api] Check Notify (always return json) (#10059) 2020-04-10 19:49:39 -04:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
repo Consolidate API for getting single commit (#11368) 2020-05-11 12:44:36 +03:00
swagger API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
user Refactor UpdateOAuth2Application (#11034) 2020-04-30 18:50:47 +01:00
utils Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
api.go Correctly set the organization num repos (#11339) 2020-05-12 01:04:08 +03:00