Bo-Yi Wu
9d8c8d095a
refactor: Add new deleteOrg func. ( #633 )
8 years ago
Andrey Nering
57b5bd07c9
Create missing database indexes ( #596 )
8 years ago
Lunny Xiao
08efcd2f26
fix bug #564 ( #567 )
8 years ago
Schwobaland
37837ccf97
Restrict creating organisations by user ( #193 )
* 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
8 years ago
Lunny Xiao
a950e79568
slight optimization for GetUserRepositories ( #498 )
8 years ago
Lunny Xiao
4940c21eec
fix 500 when delete orgnization and resolved #486
8 years ago
Bwko
af9ca1d20a
Added sorting to organizations, repos & users page ( #222 )
8 years ago
Denis Denisov
820c295d94
Fix random string generator ( #384 )
* 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
8 years ago
Lunny Xiao
779922bc61
golint for models/org_team.go
8 years ago
Bwko
fcde7de425
Fixes typos
8 years ago
Bwko
baf45e47ef
Lint models/org.go & models.go
8 years ago
Lunny Xiao
ae0c01e86d
optimization on database IN
8 years ago
Lunny Xiao
abaec03e67
bug fixed for 500 caused by get org users ( #149 )
8 years ago
Thibault Meyer
8cac8c6dde
Remove unused import
8 years ago
Thibault Meyer
b747797b29
Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries
# Conflicts:
# models/git_diff.go
# models/issue.go
# models/org.go
# models/pull.go
# models/repo.go
8 years ago
Thibault Meyer
5d29fda874
Rewrite XORM queries
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- 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
8 years ago
Lunny Xiao
00146d574d
Merge pull request #129 from lunny/lunny/SQL_instead_Sql
use x.SQL instead of x.Sql
8 years ago
Thibault Meyer
4356fe09dd
Ordering organizations and users by name
8 years ago
Lunny Xiao
4e8fff5273
use x.SQL instead of x.Sql
8 years ago
Sandro Santilli
0daccd049a
And others
8 years ago
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
8 years ago
Thibault Meyer
8ec34183a7
Ordering team by name ascending except for 'Owners' ( #48 )
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
b70363bb1d
Verify list len before use it with IN ( #3423 )
9 years ago
Unknwon
b85aba0b67
Add org.getUserTeams to reduce redundant code
9 years ago
Unknwon
027aebc72c
#1384 add pagination for repositories
9 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
ed22b6b01b
#2903 use different reversed words and patterns for repository and user
9 years ago
Unknwon
3b27731934
#3066 fix create organization ignores full name property
9 years ago
Unknwon
7b4e810eb5
#2854 fix no mail notification when issue is closed/reopened
9 years ago
Kim Carlbäcker
73137c2db2
Fix listing team members ( #3048 )
9 years ago
Unknwon
8328452c5a
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
2d90be9c2e
#13 finish user and repository search
Both are possible on explore and admin panel
9 years ago
Unknwon
bbfa25a992
#2727 fix incompatible SQL in PostgreSQL
9 years ago
Unknwon
3cc10a7cb2
#2743 more fixes on SQL errors
9 years ago
Unknwon
7989af0eba
#2743 and #2751 fix bad SQL generated by XORM
Use hand-written SQL to do complex query
9 years ago
Unknwon
53dcea5053
#2743 workaround to fix XORM problem
9 years ago
Unknwon
2e192cd647
#2727 make IN clause compatible with Postgres
9 years ago
Unknwon
de270d5d87
Fix panic when view profile without signin
Also fix that no matter who, still able to see organizations with private membership.
9 years ago
Unknwon
d471a759c6
Minor fix for #2578
9 years ago
ExMex
57f9ff45ee
Admins and user itself sees private org relations on profile
9 years ago
Unknwon
671ab5fcbc
Minor fix for #2530
9 years ago
Unknwon
2732046410
Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
Hide other teams & repos from organization page
9 years ago
Florian Kaiser
b68a8036e6
Remove unnecessary private functions
9 years ago
Florian Kaiser
b8095e4698
Use invalid value (-1) instead of 0 to prevent bug if auto increment starts with 0
9 years ago
Florian Kaiser
129747beec
Everyone can see public repos
9 years ago
Florian Kaiser
88ae14a8a6
Only show teams the user has access to
9 years ago
Florian Kaiser
08b69fc9a9
Only show repositories the user has access to, on the organization home
9 years ago
Florian Kaiser
cddcdf8c87
Show all orgs on user profile, except the private one's
9 years ago