Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move db related basic functions to models/db (#17075) | Lunny Xiao | 2021-09-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Move db related basic functions to models/db * Fix lint * Fix lint * Fix test * Fix lint * Fix lint * revert unnecessary change * Fix test * Fix wrong replace string * Use *Context * Correct committer spelling and fix wrong replaced words Co-authored-by: zeripath <art27@cantab.net> | ||||
* | Remove User.GetOrganizations() (#14032) | 6543 | 2021-06-18 | 1 | -2/+3 |
| | | | as title | ||||
* | Correctly set the organization num repos (#11339) | zeripath | 2020-05-12 | 1 | -0/+140 |
* 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> |