Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove IsOwner, NumTeams from OrgUser (#3269) | Ethan Koenig | 2018-01-08 | 1 | -15/+23 |
| | |||||
* | Fix ignored errors when checking if organization, team member (#3177) | Ethan Koenig | 2017-12-21 | 1 | -18/+21 |
| | |||||
* | fix org owner cannot be removed if there is not in owner team (#3164) | Lunny Xiao | 2017-12-13 | 1 | -1/+6 |
| | |||||
* | Hide unactive on explore users and some refactors (#2741) | Lunny Xiao | 2017-10-24 | 1 | -17/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | * hide unactive on explore users and some refactors * fix test for removed Organizations * fix test for removed Organizations * fix imports * fix logic bug * refactor the toConds * Rename TestOrganizations to TestSearchUsers and add tests for users * fix other tests * fix other tests * fix watchers tests * fix comments and remove unused code | ||||
* | Replace deprecated Id method with ID (#2655) | Ethan Koenig | 2017-10-05 | 1 | -3/+3 |
| | |||||
* | Reduce usage of allcols on update (#2596) | Lunny Xiao | 2017-09-25 | 1 | -1/+1 |
| | | | | | | * reduce usage of allcols on update * fix bug and tests | ||||
* | Fix lint errors (#2547) | Ethan Koenig | 2017-09-19 | 1 | -5/+1 |
| | |||||
* | Fixes 500 error on dashboard when using MSSQL (#2504) | bradder555 | 2017-09-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | MSSQL rejects the query: SELECT "repository"."id" FROM "repository" INNER JOIN "team_repo" ON "team_repo".repo_id="repository".id AND "repository".is_mirror=1 WHERE ( ("repository".owner_id=2 AND "repository".is_private=0) OR team_repo.team_id IN (1) ) GROUP BY "repository".id ORDER BY updated_unix DESC when the order by term (updated_unix) is not included in the group by term. | ||||
* | improve protected branch to add whitelist support (#2451) | Lunny Xiao | 2017-09-14 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | * improve protected branch to add whitelist support * fix lint * fix style check * fix tests * fix description on UI and import * fix test * bug fixed * fix tests and languages * move isSliceInt64Eq to util pkg; improve function names & typo | ||||
* | Improve org error handling (#2117) | Antoine GIRARD | 2017-07-06 | 1 | -4/+2 |
| | | | | | | | | | | * Improve ErrOrgNotExist type Return new error type Use good error check Use new method to check error Update tests * Fix unchanged method name report | ||||
* | Refactor session close as xorm already does everything needed internally (#2020) | Lauris BH | 2017-06-21 | 1 | -2/+2 |
| | |||||
* | Fix bug in removeOrgRepo (#1858) | Ethan Koenig | 2017-06-02 | 1 | -1/+1 |
| | |||||
* | Fix locking bug in removeOrgRepo (#1842) | Ethan Koenig | 2017-06-01 | 1 | -1/+1 |
| | |||||
* | Give all units to owner team (#1812) | Ethan Koenig | 2017-05-26 | 1 | -0/+1 |
| | |||||
* | fix migrate failed and org dashboard failed on MSSQL database (#1448) | Lunny Xiao | 2017-04-06 | 1 | -4/+21 |
| | |||||
* | fix random avatars (#1147) | Lunny Xiao | 2017-03-08 | 1 | -1/+3 |
| | |||||
* | fix del org avatar potential delete all avtars (#1120) | Lunny Xiao | 2017-03-06 | 1 | -4/+6 |
| | |||||
* | Remove unnecessary loads in org_team (#1035) | Ethan Koenig | 2017-02-24 | 1 | -1/+1 |
| | |||||
* | bug fixed on issues and pulls | Lunny Xiao | 2017-02-15 | 1 | -1/+0 |
| | |||||
* | bug fixed for my repository (#933) | Lunny Xiao | 2017-02-14 | 1 | -2/+6 |
| | |||||
* | Small optimization for getTeamIDs (#919) | Lunny Xiao | 2017-02-14 | 1 | -10/+12 |
| | | | | | | * small optimization for getTeamIDs * rename getOrgTeamIDs to getUserTeamIDs and remove orderby | ||||
* | Fix bug in removeOrgRepo | Ethan Koenig | 2017-02-04 | 1 | -2/+20 |
| | |||||
* | Cleanup log messaging | Gabriel Jackson | 2017-02-02 | 1 | -2/+2 |
| | | | | | | | | | This change corrects a few logging issues: * Standardized formatting errors with '%v'. * Standardized failure warning word usage. * Corrected an instance of using the standard log library when the gitea log library should be used instead. | ||||
* | Unit tests and bug fix for models/org | Ethan Koenig | 2017-01-27 | 1 | -22/+8 |
| | |||||
* | fix xorm NewSession uncorrected usages (#774) | Lunny Xiao | 2017-01-28 | 1 | -4/+6 |
| | |||||
* | Fix FIXME and remove superfluous queries in models/org (#749) | Ethan Koenig | 2017-01-25 | 1 | -61/+69 |
| | |||||
* | Removes reliance on server specific SQL (#393) | btrepp | 2017-01-14 | 1 | -2/+16 |
| | | | | | | | | Breaks the retrieval of repositories into two queries This fetches the paged ids in one go, then the actual repository information in a second query Some databases do not support SELECT with * when group by is used. | ||||
* | refactor: Add new deleteOrg func. (#633) | Bo-Yi Wu | 2017-01-11 | 1 | -9/+50 |
| | |||||
* | Create missing database indexes (#596) | Andrey Nering | 2017-01-06 | 1 | -1/+1 |
| | |||||
* | fix bug #564 (#567) | Lunny Xiao | 2017-01-03 | 1 | -1/+1 |
| | |||||
* | Restrict creating organisations by user (#193) | Schwobaland | 2016-12-31 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | * restrict creating organizations based on right on user * revert bindata.go * reverse vendor lib * revert goimports change * set AllowCreateOrganization default value to true * revert locale * added default value for AllowCreateOrganization * fix typo in migration-comment * fix comment * add coments in migration | ||||
* | slight optimization for GetUserRepositories (#498) | Lunny Xiao | 2016-12-29 | 1 | -8/+11 |
| | |||||
* | fix 500 when delete orgnization and resolved #486 | Lunny Xiao | 2016-12-27 | 1 | -6/+7 |
| | |||||
* | Added sorting to organizations, repos & users page (#222) | Bwko | 2016-12-24 | 1 | -6/+13 |
| | |||||
* | Fix random string generator (#384) | Denis Denisov | 2016-12-20 | 1 | -2/+6 |
| | | | | | | | | | | | * Remove unused custom-alphabet feature of random string generator Fix random string generator Random string generator should return error if it fails to read random data via crypto/rand * Fixes variable (un)initialization mixed assign Update test GetRandomString | ||||
* | golint for models/org_team.go | Lunny Xiao | 2016-11-28 | 1 | -5/+5 |
| | |||||
* | Fixes typos | Bwko | 2016-11-27 | 1 | -1/+1 |
| | |||||
* | Lint models/org.go & models.go | Bwko | 2016-11-26 | 1 | -14/+16 |
| | |||||
* | optimization on database IN | Lunny Xiao | 2016-11-12 | 1 | -5/+4 |
| | |||||
* | bug fixed for 500 caused by get org users (#149) | Lunny Xiao | 2016-11-12 | 1 | -2/+2 |
| | |||||
* | Remove unused import | Thibault Meyer | 2016-11-10 | 1 | -1/+0 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries | Thibault Meyer | 2016-11-10 | 1 | -1/+2 |
|\ | | | | | | | | | | | | | | | | | # Conflicts: # models/git_diff.go # models/issue.go # models/org.go # models/pull.go # models/repo.go | ||||
| * | Update import paths from github.com/go-gitea to code.gitea.io (#135) | Sandro Santilli | 2016-11-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | - 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 | ||||
* | | Rewrite XORM queries | Thibault Meyer | 2016-11-10 | 1 | -43/+67 |
|/ | |||||
* | Merge pull request #129 from lunny/lunny/SQL_instead_Sql | Lunny Xiao | 2016-11-10 | 1 | -2/+2 |
|\ | | | | | use x.SQL instead of x.Sql | ||||
| * | use x.SQL instead of x.Sql | Lunny Xiao | 2016-11-10 | 1 | -2/+2 |
| | | |||||
* | | Ordering organizations and users by name | Thibault Meyer | 2016-11-10 | 1 | -17/+30 |
|/ | |||||
* | And others | Sandro Santilli | 2016-11-07 | 1 | -1/+1 |
| | |||||
* | ACCESS_MODE_* -> AccessMode* | Sandro Santilli | 2016-11-07 | 1 | -1/+1 |
| | |||||
* | Ordering team by name ascending except for 'Owners' (#48) | Thibault Meyer | 2016-11-06 | 1 | -4/+4 |
| |