Lunny Xiao
fbb424c61d
fix 500 when delete orgnization and resolved #486 ( #507 )
9 years ago
Denis Denisov
380e32e129
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
9 years ago
Lunny Xiao
21846d16e5
golint for models/org_team.go
9 years ago
Bwko
a4ece1f223
Fixes typos
9 years ago
Bwko
0b9cf10340
Lint models/org.go & models.go
9 years ago
Lunny Xiao
ade6d4a20f
optimization on database IN
9 years ago
Lunny Xiao
9bf28a2799
bug fixed for 500 caused by get org users ( #149 )
9 years ago
Thibault Meyer
b12f2a5916
Remove unused import
9 years ago
Thibault Meyer
a4454f5d0f
Rewrite XORM queries
9 years ago
Sandro Santilli
4247304f5a
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
9 years ago
Thibault Meyer
3a10a0c1ca
Ordering organizations and users by name
9 years ago
Lunny Xiao
7dcc3bc3d7
use x.SQL instead of x.Sql
9 years ago
Sandro Santilli
aadd7dcdc3
And others
9 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
9 years ago
Thibault Meyer
fe8bfa54de
Ordering team by name ascending except for 'Owners' ( #48 )
9 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
9 years ago
Thibault Meyer
8ad92bb8a4
Verify list len before use it with IN ( #3423 )
9 years ago
Unknwon
a562228c5e
Add org.getUserTeams to reduce redundant code
9 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
69f5308761
#2903 use different reversed words and patterns for repository and user
9 years ago
Unknwon
4f78abe7dc
#3066 fix create organization ignores full name property
9 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
9 years ago
Kim Carlbäcker
3c0c7a9f83
Fix listing team members ( #3048 )
9 years ago
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago
Unknwon
eed9966ad6
#2727 fix incompatible SQL in PostgreSQL
9 years ago
Unknwon
5335e671be
#2743 more fixes on SQL errors
9 years ago
Unknwon
d57a2b908a
#2743 and #2751 fix bad SQL generated by XORM
...
Use hand-written SQL to do complex query
9 years ago
Unknwon
c9901bbba5
#2743 workaround to fix XORM problem
9 years ago
Unknwon
97429a25ab
#2727 make IN clause compatible with Postgres
9 years ago
Unknwon
aa12135b97
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
fd92d91da3
Minor fix for #2578
9 years ago
ExMex
2cfe6f8c60
Admins and user itself sees private org relations on profile
9 years ago
Unknwon
ddf9fa06c7
Minor fix for #2530
9 years ago
Florian Kaiser
fb1708e1af
Remove unnecessary private functions
9 years ago
Florian Kaiser
90780a0d90
Use invalid value (-1) instead of 0 to prevent bug if auto increment starts with 0
10 years ago
Florian Kaiser
bba1847a8e
Everyone can see public repos
10 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
10 years ago
Florian Kaiser
5eafe2b17e
Only show repositories the user has access to, on the organization home
10 years ago
Florian Kaiser
295de51b99
Show all orgs on user profile, except the private one's
10 years ago
Unknwon
112a7cab31
#2497 incorrect error handle for team name
10 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
10 years ago
Unknwon
3362b3a44f
fix possible disclosure
10 years ago
Unknwon
4d31eb2c0d
#2155 fix org max repo limit default to -1
10 years ago
Antoine GIRARD
c98dad1cf3
New admin organization UI
10 years ago
Unknwon
3d9b98fae4
#1585 order owners list by last changed time
10 years ago
Unknwon
80701d45bb
#1193 Make organization emails non-mandatory
10 years ago
Unknwon
aa67de910a
fix #1558
10 years ago
Unknwon
ff35a37769
#1458 : Authorities were messed up when using mysql database
10 years ago