Commit Graph

141 Commits (f25fd5c8ebc83c664b5ac1752e1c4dd11edc02a2)

Author SHA1 Message Date
Lunny Xiao cf045b029c golint fixed for parts of routers root, dev, user and org dirs ()
* golint fixed for parts of routers root, dev and org dirs

* add user/auth.go golint fixed

* rename unnecessary exported to unexported and user dir golint fixed
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- 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
Sandro Santilli f6a11e0de1 More MixedCase consts
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
lstahlman 2c82fc3edb Fix for overall issues for organisations is limited to num_repos from the user ()
Unknwon cf6d321991 Ignore repository with issue disabled or use external tracker in dashboard issues
Unknwon 50422f1fc2 always use relative avatar link in the template
Unknwon e74630ae3b add pagination for repositories
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon 46e96c008c Use struct for UI settings
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.
Peter Smit 76f8904718 Introducing Collaboration Struct
Unknwon 0a697517ac work on
Unknwon c4820f119d work on
Unknwon d01f2f3c22 fix
Unknwon 1b66600bd0 Fix
Unknwon 22ab4fa1b0 fix
Unknwon 55dfe2c978 custom avatar upload
Unknwon 7ba9257a7f Add suburl support
Martin van Beurden 0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
tobyzxj ad041167f7 fix user's actions on domain/org/name-of-organization/dashboard
Unknwon 5fbf8531e6 Finish new home page of organization
Unknwon a8e05fdf1b Use toolbox
Unknwon 9813161411 Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
Unknwon 5e81383413 Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!!
Unknwon 8dd07c0ddd New UI merge in progress
Unknown 5dbfe3c26c Finish organization homepage
Unknown e0f9c628c5 Add create organization
Unknown 98f614a58e Work on issue1
Unknown 314193029a Use constants to name template file
Unknown 80055bde86 Code convention
Unknown 9100786beb Fix
Unknown 33ec0632ff Fix
Michael Litvak cca2a53d6f Fix issue link in issues page
The link assumes that the issue belongs to the signed in
user, which is not necessarily the case
I changed it to use repository owner name instead
Unknown a913aff1d0 Show collaborative repositories in dashboard
Unknown 25713ab209 Fix
Unknown 914ffa496f Show private repository activities in dashboard if has access
Unknown 33d32585b1 Add mention, read/unread support of issue tracker
Unknown 7407f9caf3 Finish issue design
Unknown 4b9b8024ba Clean oauth code
Unknown 5c2da610a2 Move binding as subrepo