151 Commits (565eb1811c67a8df89a22d65f5e725f88470de6d)

Author SHA1 Message Date
Lunny Xiao 7a9a5c8a69 Fix assigned issues dashboard (#920)
* Fix assigned/created issues in dashboard. (#3560)

* Fix assigned/created issues in dashboard.

* Use GetUserIssueStats for getting all Dashboard stats.

* Use gofmt to format the file properly.

* Replace &Issue{} with new(Issue).

* Check if user has access to given repository.

* Remove unnecessary filtering of issues.

* Return 404 error if invalid repository is given.

* Use correct number of issues in paginater.

* fix issues on dashboard
7 years ago
Lunny Xiao 8a421b1fd7 Add units concept for modulable functions of a repository (#742)
* Add units concept for modulable functions of a repository

* remove unused comment codes & fix lints and tests

* remove unused comment codes

* use struct config instead of map

* fix lint

* rm wrong files

* fix tests
8 years ago
Bo-Yi Wu a90a215662 feat: Add search bar on user profile page. (#787) 8 years ago
Ethan Koenig 400b6fd61c Cache ctxUser in retrieveFeeds(..) (#826) 8 years ago
Ethan Koenig da1b6164fe Fix FIXME and remove superfluous queries in models/org (#749) 8 years ago
Ethan Koenig 833f8b94c2 Search bar for issues/pulls (#530) 8 years ago
Ethan Koenig d0932ef147 Bug fixes for Issues filters (#413)
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
8 years ago
Lunny Xiao a12da66dfb resolved #394 (#396) 8 years ago
Bwko a4ece1f223 Fixes typos 8 years ago
Lunny Xiao 94da472717 Golint fixed for modules/setting (#262)
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao cf045b029c golint fixed for parts of routers root, dev, user and org dirs (#167)
* 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
8 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
8 years ago
Sandro Santilli f6a11e0de1 More MixedCase consts 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
lstahlman 2c82fc3edb Fix for #3410 overall issues for organisations is limited to num_repos from the user (#3412) 8 years ago
Unknwon cf6d321991 Ignore repository with issue disabled or use external tracker in dashboard issues 8 years ago
Unknwon 50422f1fc2 #3348 always use relative avatar link in the template 8 years ago
Unknwon e74630ae3b #1384 add pagination for repositories 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon 46e96c008c Use struct for UI settings 8 years ago
Unknwon 762ab056a2 Fix XORM IN condition table name parse 8 years ago
Unknwon 9bd9ad4205 #1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
8 years ago
Unknwon 514382e2eb Rename module: middleware -> context 8 years ago
Alec S 792c13cf0a readd 'dashboard' to title 8 years ago
Alec S af847ef94e Merge branch 'develop' of github.com:gogits/gogs into develop 8 years ago
Alec S bfed3ea7d3 fix indentation 8 years ago
Alec S affa3c2dbf Remove dashboard keyword from title 8 years ago
Alec S 6775ac7334 change page titles for user and org dashes 8 years ago
Jan Christophersen 72a8fa3bc8 Allowing site admins to view private repositories in org/home 8 years ago
Unknwon a1d97e8f5c Minor fix for #2567 9 years ago
Florian Kaiser 45db167f7a Only show activities for repositories on dashboard, that the user has access to 9 years ago
Florian Kaiser 90e9e3c89d Only show repositories on organization dashboard, that the user has access to 9 years ago
Florian Kaiser c3ff476ed6 Remove unnecessary else-block 9 years ago
Florian Kaiser bead46363b Evaulate org/team permissions when using the issue/PR view 9 years ago
Florian Kaiser fdad234445 Remove unnecessary comments 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
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon 33a99d587a fix #2223 9 years ago
Unknwon 9cd16c5b12 #1692 add organization APIs 9 years ago
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.
9 years ago
Unknwon 3ca544912f #1944 Drop /org/ URL path prefix in organization home page 9 years ago
Unknwon 52c8f69163 fix #650 9 years ago
Unknwon 3d14e73fd8 fix #1119 and data race in timming tasks 9 years ago
Unknwon 917d334ebd only show user's activities in profile 9 years ago
Unknwon f8ae161c74 fix #1302 9 years ago
Unknwon 1559bd58e7 save custom avatar as PNG 9 years ago
Unknwon 603c7389b8 #1459 Dashboard issues lacks sorting 9 years ago
Unknwon 932dbccb67 fix import path, fix #1782 9 years ago
Unknwon 83dc2468f5 finish initial version of pull request 9 years ago
Unknwon 8d73832bdf fix sql 9 years ago
Unknwon a329bbc215 new org dashboard issues 9 years ago
Unknwon f808df5a7b new user dahsboard issues 9 years ago
Unknwon b4c0b7b98b finish view issue without comments and ops 9 years ago
Unknwon 75aff60c90 finish create issue with milestone and assignee 9 years ago
Unknwon dea3a8c6a4 WIP: create PR - choose branch 9 years ago
Unknwon 2c507667bf Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
# Conflicts:
#	gogs.go
#	models/issue.go
#	templates/.VERSION
9 years ago
Unknwon 0705f55ce0 finish new milestone page 9 years ago
Unknwon e50982f5ec allow anonymous SSH clone 9 years ago
Unknwon eea9302d8f fix #1204 9 years ago
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
9 years ago
Antoine GIRARD 96a71aaed8 Apply ng to issue dashboard 9 years ago
Unknwon 466facc009 #1067: Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
9 years ago
Unknwon 588f3215c6 #1040: dashboard no longer accessible when repo is missing 9 years ago
Peter Smit 0fa209d07b Update/simplify fix that owners also see actions on their repositories 10 years ago
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
10 years ago
Unknwon 6d0f3a07d4 code fix #941 caution: undertest 10 years ago
Peter Smit 0d158e569b Change constants to UPPERCASE_WITH_UNDERSCORE style 10 years ago
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.
10 years ago
Peter Smit 76f8904718 Introducing Collaboration Struct 10 years ago
Unknwon 0a697517ac work on #754 10 years ago
Unknwon c4820f119d work on #754 10 years ago
Unknwon d01f2f3c22 fix #751 10 years ago
Unknwon 1b66600bd0 Fix #652 10 years ago
Unknwon 22ab4fa1b0 fix #139 10 years ago
Unknwon 55dfe2c978 custom avatar upload 10 years ago
Unknwon 7ba9257a7f Add suburl support 10 years ago
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
10 years ago
tobyzxj ad041167f7 fix user's actions on domain/org/name-of-organization/dashboard 10 years ago
Unknwon 5fbf8531e6 Finish new home page of organization 10 years ago
Unknwon a8e05fdf1b Use toolbox 10 years ago
Unknwon 9813161411 Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page 10 years ago
Unknwon 5e81383413 Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module 10 years ago
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 10 years ago
Unknwon 8dd07c0ddd New UI merge in progress 10 years ago
Unknown 5dbfe3c26c Finish organization homepage 10 years ago
Unknown e0f9c628c5 Add create organization 10 years ago
Unknown 98f614a58e Work on #249 issue1 10 years ago
Unknown 314193029a Use constants to name template file 10 years ago
Unknown 80055bde86 Code convention 10 years ago
Unknown 9100786beb Fix #185 10 years ago
Unknown 33ec0632ff Fix #183 10 years ago
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
10 years ago
Unknown a913aff1d0 Show collaborative repositories in dashboard 10 years ago
Unknown 25713ab209 Fix #167 10 years ago
Unknown 914ffa496f Show private repository activities in dashboard if has access 10 years ago
Unknown 33d32585b1 Add mention, read/unread support of issue tracker 10 years ago
Unknown 7407f9caf3 Finish issue design 10 years ago
Unknown 4b9b8024ba Clean oauth code 10 years ago