summaryrefslogtreecommitdiffstats
path: root/routers/home.go
Commit message (Collapse)AuthorAgeFilesLines
* Add search mode option to /api/repo/search (#2756)Morlinest2017-10-271-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | * Add repo type option to /api/repo/search * Add tests and fix result of collaborative filter in specific condition * Fix/optimize search & tests * Improve integration tests * Fix lint errors * Fix unit tests * Change and improve internal implementation of repo search * Use NonexistentID * Make search api more general * Change mirror and fork search behaviour * Fix tests & typo in comment
* Hide unactive on explore users and some refactors (#2741)Lunny Xiao2017-10-241-49/+18
| | | | | | | | | | | | | | | | | | | | | | | | * hide unactive on explore users and some refactors * fix test for removed Organizations * fix test for removed Organizations * fix imports * fix logic bug * refactor the toConds * Rename TestOrganizations to TestSearchUsers and add tests for users * fix other tests * fix other tests * fix watchers tests * fix comments and remove unused code
* Move swagger-ui under /api/v1 (#2746)Antoine GIRARD2017-10-211-7/+0
| | | | | | | | | | | | * Move swagger interface under /api/v1 * Update swagger-ui * Add /api/swagger and prepare for multiple api version * Update test links * Fix footer link
* Fix repository search function (#2689)Morlinest2017-10-171-1/+0
| | | | | | | | | | | | | | | | * Fix and remove FIXME * Respect membership visibility * Fix/rewrite searchRepositoryByName function * Add unit tests * Add integration tests * Remove Searcher completely * Remove trailing space
* Remove redudant functions and code (#2652)Morlinest2017-10-101-34/+23
| | | * Remove redudant functions and code
* Change default sort order (#2647)Kazuki Sawada2017-10-051-3/+9
| | | | | | | | | | | | * sort repositories by `updated_unix` in Explore * Fix UI problem * Added missing sort order "newest" * Change default sort order * fmt
* Use custom type and constants to hold order by options (#2572)Morlinest2017-09-221-9/+9
|
* Fix missing collabrative repos (#2367)Lunny Xiao2017-08-241-11/+13
| | | | | | | | * fix missing collabrative repos * fix bug of collabrative * fix SQL quotes
* Generate swagger json (#1402)Antoine GIRARD2017-05-021-0/+7
| | | | | | | - Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
* Sort on repo size in admin panel (#1654)Jorrit Klein Bramel2017-05-021-0/+4
| | | | | | * fix #1653 sort on repo size * fix minor mistake in en-us locale
* fix: Admin can see all private repositories on Explore page. (#1026)Bo-Yi Wu2017-02-261-7/+6
| | | | | | * fix: Admin can see all private repositories on Explore page. * refactor: fix session
* refactor: small optimize for sql query (#940)Bo-Yi Wu2017-02-151-11/+3
| | | | | | * refactor: small optimize for sql query * fix: get owner name if Searcher is not nil or user star page.
* fix: trim the whitespaces for the search keyword (#893)Bo-Yi Wu2017-02-111-4/+4
|
* UI config to toggle whether user email shows up in Explore Users (#336)Thiago Avelino2017-01-011-0/+1
| | | | | | | | | | | | | | | | | | * UI config to toggle whether user email shows up in Explore Users * Recommendation made by @tboerger https://github.com/go-gitea/gitea/pull/336/commits/66a1c59fe730eff019ce100673c6800cce7d102d#r94122732 * fixed typo, rename ShowUserEmailInExplore to ShowUserEmail * Fixed typo merged conflict * Hide email in the user profile page if you are active ShowUserEmail ref https://github.com/go-gitea/gitea/pull/336#issuecomment-269843725 * Please replace MustBool() with MustBool(true)
* Added sorting to organizations, repos & users page (#222)Bwko2016-12-241-17/+58
|
* Resolved #296 (#324)Lunny Xiao2016-12-011-20/+34
| | | | | | * resolved #296 * Indentation fixed
* Golint fixed for modules/setting (#262)Lunny Xiao2016-11-271-1/+1
| | | | | | * golint fixed for modules/setting * typo fixed and renamed UNIXSOCKET to UnixSocket
* golint fixed for parts of routers root, dev, user and org dirs (#167)Lunny Xiao2016-11-181-9/+22
| | | | | | | | * 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
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-5/+5
| | | | | | | - 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
* Ordering organizations and users by nameThibault Meyer2016-11-101-2/+2
|
* And othersSandro Santilli2016-11-071-2/+2
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-5/+5
|
* Add the ability to explore organizations (#3573)Daniel Oaks2016-09-011-3/+19
| | | | | | * Add ability to explore organizations * Use right icon for org explore links
* #1384 add pagination for repositoriesUnknwon2016-07-241-4/+4
|
* Use struct for UI settingsUnknwon2016-07-241-2/+2
|
* #13 fix admin can't search private reposUnknwon2016-03-151-25/+51
| | | | - update glide info
* #13 finish user and repository searchUnknwon2016-03-111-11/+94
| | | | Both are possible on explore and admin panel
* Rename module: middleware -> contextUnknwon2016-03-111-4/+4
|
* drop oauth2 feature supportUnknwon2015-09-171-5/+0
|
* fix #1629Unknwon2015-09-121-0/+1
|
* #1577 explore paginator problemUnknwon2015-09-041-1/+1
|
* minor fixes on #1551Unknwon2015-09-011-1/+10
|
* WIP: create PR - choose branchUnknwon2015-08-081-1/+1
|
* code fix for #908, and work for #884Unknwon2015-02-061-1/+0
|
* Hide the registration button depending on the settingRaphael Randschau2015-02-051-0/+1
|
* Add suburl supportUnknwon2014-09-191-1/+1
|
* Allow Gogs to run from a suburl behind a reverse proxy. e.g. ↵Martin van Beurden2014-09-181-1/+1
| | | | | | | | | | | | | | 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
* Fix #348Unknwon2014-09-051-1/+25
|
* Finish new reset password, etc.Unknwon2014-08-091-1/+6
|
* Finish new collaboration pageUnknwon2014-08-071-0/+5
|
* New UI merge in progressUnknwon2014-07-261-0/+38
|
* Setup templates structureUnknown2014-02-141-13/+0
|
* Init commitUnknown2014-02-121-2/+6
|
* Init commitUnknown2014-02-121-0/+9