Unknwon
77275a9b31
models: rename Id to ID
6 years ago
Unknwon
0e6a6bf880
Refactoring: remove sessionRelease()
...
XORM supports automatic roll back in session Close() already.
8 years ago
Unknwon
ce6e8ed8fe
models: remove redundant tags for primary keys
8 years ago
Unknwon
ebd95dd082
models/org: reduce to 2 SQL executions for GetOrgIDsByUserID
...
This also addresses #4231 . It is now ignoring nonexistent
organizations returned from 'org_user' table.
This was a bug caused in older version that didn't cleanup
'org_user' table when delete an organization.
8 years ago
Unknwon
b06f299748
webhook: add fork event
8 years ago
Unknwon
e28bc7023f
modes/org: code format for PR #4194
8 years ago
dlob
aff8fb28bd
models/org: use XORM chain operations instead of raw SQL ( #4194 )
...
This also solved MSSQL pagination query syntax problem reported in #4176 .
8 years ago
Unknwon
0696d430c9
protect_branch: only list teams have write access
...
List teams without write access to the repository cause confusion
to make users think members of team could push to the branch.
8 years ago
Unknwon
6072e9a52c
repo: add protect branch whitelist ( #4177 )
...
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
c1e53cdc72
Minor fix for PR #3822
8 years ago
leonklingele
d96f2a7184
Fix random string generator ( #3953 )
...
* Remove unused custom-alphabet feature of random string generator
* Fix modulo-biased random string generator
* Random string generator should return error if it fails to read random data via crypto/rand
8 years ago
Unknwon
34b92cdb44
Fix #3905
8 years ago
Thibault Meyer
8ad92bb8a4
Verify list len before use it with IN ( #3423 )
8 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
9 years ago
Florian Kaiser
bba1847a8e
Everyone can see public repos
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Florian Kaiser
5eafe2b17e
Only show repositories the user has access to, on the organization home
9 years ago
Florian Kaiser
295de51b99
Show all orgs on user profile, except the private one's
9 years ago
Unknwon
112a7cab31
#2497 incorrect error handle for team name
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
3362b3a44f
fix possible disclosure
9 years ago
Unknwon
4d31eb2c0d
#2155 fix org max repo limit default to -1
9 years ago
Antoine GIRARD
c98dad1cf3
New admin organization UI
9 years ago
Unknwon
3d9b98fae4
#1585 order owners list by last changed time
9 years ago
Unknwon
80701d45bb
#1193 Make organization emails non-mandatory
9 years ago
Unknwon
aa67de910a
fix #1558
9 years ago
Unknwon
ff35a37769
#1458 : Authorities were messed up when using mysql database
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
10 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
466facc009
#1067 : Deleting users should remove them from collaborator lists
...
- fix delete user but repository watches are not decreased
10 years ago