summaryrefslogtreecommitdiffstats
path: root/models/org.go
Commit message (Collapse)AuthorAgeFilesLines
* Improve org error handling (#2117)Antoine GIRARD2017-07-061-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 BH2017-06-211-2/+2
|
* Fix bug in removeOrgRepo (#1858)Ethan Koenig2017-06-021-1/+1
|
* Fix locking bug in removeOrgRepo (#1842)Ethan Koenig2017-06-011-1/+1
|
* Give all units to owner team (#1812)Ethan Koenig2017-05-261-0/+1
|
* fix migrate failed and org dashboard failed on MSSQL database (#1448)Lunny Xiao2017-04-061-4/+21
|
* fix random avatars (#1147)Lunny Xiao2017-03-081-1/+3
|
* fix del org avatar potential delete all avtars (#1120)Lunny Xiao2017-03-061-4/+6
|
* Remove unnecessary loads in org_team (#1035)Ethan Koenig2017-02-241-1/+1
|
* bug fixed on issues and pullsLunny Xiao2017-02-151-1/+0
|
* bug fixed for my repository (#933)Lunny Xiao2017-02-141-2/+6
|
* Small optimization for getTeamIDs (#919)Lunny Xiao2017-02-141-10/+12
| | | | | | * small optimization for getTeamIDs * rename getOrgTeamIDs to getUserTeamIDs and remove orderby
* Fix bug in removeOrgRepoEthan Koenig2017-02-041-2/+20
|
* Cleanup log messagingGabriel Jackson2017-02-021-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/orgEthan Koenig2017-01-271-22/+8
|
* fix xorm NewSession uncorrected usages (#774)Lunny Xiao2017-01-281-4/+6
|
* Fix FIXME and remove superfluous queries in models/org (#749)Ethan Koenig2017-01-251-61/+69
|
* Removes reliance on server specific SQL (#393)btrepp2017-01-141-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 Wu2017-01-111-9/+50
|
* Create missing database indexes (#596)Andrey Nering2017-01-061-1/+1
|
* fix bug #564 (#567)Lunny Xiao2017-01-031-1/+1
|
* Restrict creating organisations by user (#193)Schwobaland2016-12-311-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 Xiao2016-12-291-8/+11
|
* fix 500 when delete orgnization and resolved #486Lunny Xiao2016-12-271-6/+7
|
* Added sorting to organizations, repos & users page (#222)Bwko2016-12-241-6/+13
|
* Fix random string generator (#384)Denis Denisov2016-12-201-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.goLunny Xiao2016-11-281-5/+5
|
* Fixes typosBwko2016-11-271-1/+1
|
* Lint models/org.go & models.goBwko2016-11-261-14/+16
|
* optimization on database INLunny Xiao2016-11-121-5/+4
|
* bug fixed for 500 caused by get org users (#149)Lunny Xiao2016-11-121-2/+2
|
* Remove unused importThibault Meyer2016-11-101-1/+0
|
* Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queriesThibault Meyer2016-11-101-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 Santilli2016-11-101-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 queriesThibault Meyer2016-11-101-43/+67
|/
* Merge pull request #129 from lunny/lunny/SQL_instead_SqlLunny Xiao2016-11-101-2/+2
|\ | | | | use x.SQL instead of x.Sql
| * use x.SQL instead of x.SqlLunny Xiao2016-11-101-2/+2
| |
* | Ordering organizations and users by nameThibault Meyer2016-11-101-17/+30
|/
* And othersSandro Santilli2016-11-071-1/+1
|
* ACCESS_MODE_* -> AccessMode*Sandro Santilli2016-11-071-1/+1
|
* Ordering team by name ascending except for 'Owners' (#48)Thibault Meyer2016-11-061-4/+4
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-2/+2
|
* Verify list len before use it with IN (#3423)Thibault Meyer2016-08-101-2/+5
|
* Add org.getUserTeams to reduce redundant codeUnknwon2016-07-241-32/+29
|
* #1384 add pagination for repositoriesUnknwon2016-07-241-47/+102
|
* Refactor User.Id to User.IDUnknwon2016-07-241-23/+23
|
* #2903 use different reversed words and patterns for repository and userUnknwon2016-07-231-1/+1
|
* #3066 fix create organization ignores full name propertyUnknwon2016-07-231-1/+0
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-161-4/+4
|
* Fix listing team members (#3048)Kim Carlbäcker2016-05-061-1/+3
|