Commit Graph

81 Commits (c083d7656794ec0b4d856994daddd27e98841d70)

Author SHA1 Message Date
Unknwon 762ab056a2 Fix XORM IN condition table name parse
Unknwon 9bd9ad4205 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to 
Unknwon 514382e2eb Rename module: middleware -> context
Alec S 792c13cf0a readd 'dashboard' to title
Alec S af847ef94e Merge branch 'develop' of github.com:gogits/gogs into develop
Alec S bfed3ea7d3 fix indentation
Alec S affa3c2dbf Remove dashboard keyword from title
Alec S 6775ac7334 change page titles for user and org dashes
Jan Christophersen 72a8fa3bc8 Allowing site admins to view private repositories in org/home
Unknwon a1d97e8f5c Minor fix for
Florian Kaiser 45db167f7a Only show activities for repositories on dashboard, that the user has access to
Florian Kaiser 90e9e3c89d Only show repositories on organization dashboard, that the user has access to
Florian Kaiser c3ff476ed6 Remove unnecessary else-block
Florian Kaiser bead46363b Evaulate org/team permissions when using the issue/PR view
Florian Kaiser fdad234445 Remove unnecessary comments
Florian Kaiser bba1847a8e Everyone can see public repos
Florian Kaiser e35791b2b2 Only show teams the user has access to
Florian Kaiser 5eafe2b17e Only show repositories the user has access to, on the organization home
Unknwon a49af93faf APIs: Users Followers
- User profile un/follow
- List user's followers/following
Unknwon 33a99d587a fix
Unknwon 9cd16c5b12 add organization APIs
Adam Strzelecki e57b2dffa4 Admin should be able to see all organizations
This is follow-up for 56c66ee486 allowing admin
to see private repositories, even when not being member of them.
Unknwon 3ca544912f Drop /org/ URL path prefix in organization home page
Unknwon 52c8f69163 fix
Unknwon 3d14e73fd8 fix and data race in timming tasks
Unknwon 917d334ebd only show user's activities in profile
Unknwon f8ae161c74 fix
Unknwon 1559bd58e7 save custom avatar as PNG
Unknwon 603c7389b8 Dashboard issues lacks sorting
Unknwon 932dbccb67 fix import path, fix
Unknwon 83dc2468f5 finish initial version of pull request
Unknwon 8d73832bdf fix sql
Unknwon a329bbc215 new org dashboard issues
Unknwon f808df5a7b new user dahsboard issues
Unknwon b4c0b7b98b finish view issue without comments and ops
Unknwon 75aff60c90 finish create issue with milestone and assignee
Unknwon dea3a8c6a4 WIP: create PR - choose branch
Unknwon 2c507667bf Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
# Conflicts:
#	gogs.go
#	models/issue.go
#	templates/.VERSION
Unknwon 0705f55ce0 finish new milestone page
Unknwon e50982f5ec allow anonymous SSH clone
Unknwon eea9302d8f fix
stephen mcquay 73698d292a fix .keys route
This change fixes the output from /{{ username }}.keys so that it can work in
a ~/.ssh/authorized_keys file
Antoine GIRARD 96a71aaed8 Apply ng to issue dashboard
Unknwon 466facc009 : Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
Unknwon 588f3215c6 : dashboard no longer accessible when repo is missing
Peter Smit 0fa209d07b Update/simplify fix that owners also see actions on their repositories
Peter Smit 455fad0fbd Fix that owners also see actions on their repositories
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.

It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
Unknwon 6d0f3a07d4 code fix caution: undertest
Peter Smit 0d158e569b Change constants to UPPERCASE_WITH_UNDERSCORE style
Peter Smit 4e79adf6b5 Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.

The result does compile, but has not been tested. It may eat your kittens.