Commit Graph

120 Commits (46d19c4676efe5201c5de790bcb963bfc93a95c7)

Author SHA1 Message Date
Bo-Yi Wu 04b3e8cbdc
refactor: reduce sql query in retrieveFeeds ()
Morgan Bazalgette 65861900cd Handle refactor ()
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound

* Change Handle(403) to NotFound, avoid using macaron's NotFound
Antoine GIRARD 84feb016f5 Remove useless fmt.Errorf("%v", err) ()
Ethan Koenig 4c9341f689 Fix bugs in issue dashboard stats ()
Ethan Koenig 68179dc676 Remove unnecessary function call ()
Ethan Koenig c0a7899416 Sort repos in issues dashboard sidebar ()
* Sort repos in issues dashboard sidebar

* Sort repos by name
Lunny Xiao e41da3845d fix duplicated feed ()
Bwko 1a5fe4326f Add collaborative repositories to the dashboard ()
* Add collaborative repositories to the dashboard

Remove some unused code from the Dashboard func

* fix some bug and some refactor

* fix tests
Morlinest e08d1fcc15 Fix variable name typo ()
Morlinest 951fb572a7 Fix and improve dashboard repo UI ()
* Fix and improve dashboard repo UI

* Change order of scripts loading

* Remove "mirror" tab

* Remove single tab panel for "org user"

* Add localization strings

* Create vue component and change event for search

* Add "mirrors" filter
Ethan Koenig 7e0654bd9e Fix counts on issues dashboard ()
* Fix counts on issues dashboard

* setupSess -> setupSession

* Unit test

* Load repo owners for issues
Jonas Franz 441986a473 Fix "Dashboard shows deleted comments" ()
Ethan Koenig afe1f1c4af Fix 500 in public activity page ()
Ethan Koenig 9ddc35e343 Cache ctx.User in retrieveFeeds ()
Ethan Koenig 4e5ee2b67a Fix user profile activity feed ()
* Fix user profile activity feed

* gofmt, and avoid overlapping database connections
Ethan Koenig 0c332f0480 Fix activity feed ()
* Fix activity feed

Preserve actions after user/repo name change

* Add missing comment

* Fix migration, and remove fields completely

* Tests
silverwind 237270ef50 Orgs: fix org page title when full name is not defined ()
Lunny Xiao 847527fd6d Fix all the bugs in issues and pulls on dashboard ()
* fix all the bugs in issues and pulls on dashboard

* small fix and refactor

* add method getRepoIDs for IssueList
Lunny Xiao 9c645b54dc bug fixed on issues and pulls
Lunny Xiao 7a9a5c8a69 Fix assigned issues dashboard ()
* Fix assigned/created issues in dashboard. ()

* 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
Lunny Xiao 8a421b1fd7 Add units concept for modulable functions of a repository ()
* 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
Bo-Yi Wu a90a215662 feat: Add search bar on user profile page. ()
Ethan Koenig 400b6fd61c Cache ctxUser in retrieveFeeds(..) ()
Ethan Koenig da1b6164fe Fix FIXME and remove superfluous queries in models/org ()
Ethan Koenig 833f8b94c2 Search bar for issues/pulls ()
Ethan Koenig d0932ef147 Bug fixes for Issues filters ()
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
Lunny Xiao a12da66dfb resolved ()
Bwko a4ece1f223 Fixes typos
Lunny Xiao 94da472717 Golint fixed for modules/setting ()
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
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