Morgan Bazalgette
65861900cd
Handle refactor ( #3339 )
...
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
7 years ago
Morlinest
ddb7f59ef4
Add search mode option to /api/repo/search ( #2756 )
...
* 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
7 years ago
Lunny Xiao
6eeadb2082
Hide unactive on explore users and some refactors ( #2741 )
...
* 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
7 years ago
Antoine GIRARD
619b9b5547
Move swagger-ui under /api/v1 ( #2746 )
...
* Move swagger interface under /api/v1
* Update swagger-ui
* Add /api/swagger and prepare for multiple api version
* Update test links
* Fix footer link
7 years ago
Morlinest
ccd3577970
Fix repository search function ( #2689 )
...
* Fix and remove FIXME
* Respect membership visibility
* Fix/rewrite searchRepositoryByName function
* Add unit tests
* Add integration tests
* Remove Searcher completely
* Remove trailing space
7 years ago
Morlinest
dff26e25ca
Remove redudant functions and code ( #2652 )
...
* Remove redudant functions and code
7 years ago
Kazuki Sawada
43253202e9
Change default sort order ( #2647 )
...
* sort repositories by `updated_unix` in Explore
* Fix UI problem
* Added missing sort order "newest"
* Change default sort order
* fmt
7 years ago
Morlinest
9a75a5d59b
Use custom type and constants to hold order by options ( #2572 )
7 years ago
Lunny Xiao
f61a1d210c
Fix missing collabrative repos ( #2367 )
...
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
7 years ago
Antoine GIRARD
3edb0c5894
Generate swagger json ( #1402 )
...
- 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
8 years ago
Jorrit Klein Bramel
87efc8c6d4
Sort on repo size in admin panel ( #1654 )
...
* fix #1653 sort on repo size
* fix minor mistake in en-us locale
8 years ago
Bo-Yi Wu
95574a3640
fix: Admin can see all private repositories on Explore page. ( #1026 )
...
* fix: Admin can see all private repositories on Explore page.
* refactor: fix session
8 years ago
Bo-Yi Wu
9d2b830275
refactor: small optimize for sql query ( #940 )
...
* refactor: small optimize for sql query
* fix: get owner name if Searcher is not nil or user star page.
8 years ago
Bo-Yi Wu
3576e1ee73
fix: trim the whitespaces for the search keyword ( #893 )
8 years ago
Thiago Avelino
787fda53ef
UI config to toggle whether user email shows up in Explore Users ( #336 )
...
* UI config to toggle whether user email shows up in Explore Users
* Recommendation made by @tboerger
66a1c59fe7 (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)
8 years ago
Bwko
fa3abc22c0
Added sorting to organizations, repos & users page ( #222 )
8 years ago
Lunny Xiao
590a79ff8a
Resolved #296 ( #324 )
...
* resolved #296
* Indentation fixed
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
Thibault Meyer
3a10a0c1ca
Ordering organizations and users by name
8 years ago
Sandro Santilli
aadd7dcdc3
And others
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Daniel Oaks
b3d9ca4ccd
Add the ability to explore organizations ( #3573 )
...
* Add ability to explore organizations
* Use right icon for org explore links
8 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
9 years ago
Unknwon
46e96c008c
Use struct for UI settings
9 years ago
Unknwon
149d62a648
#13 fix admin can't search private repos
...
- update glide info
9 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
3fb1b6a608
drop oauth2 feature support
9 years ago
Unknwon
ed5a61153f
fix #1629
9 years ago
Unknwon
d023e81a8f
#1577 explore paginator problem
9 years ago
Unknwon
7714e792a4
minor fixes on #1551
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
10 years ago
Unknwon
216683004e
code fix for #908 , and work for #884
10 years ago
Raphael Randschau
3c65265871
Hide the registration button depending on the setting
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
Unknwon
ab7206d6b7
Fix #348
10 years ago
Unknwon
7af7584d25
Finish new reset password, etc.
11 years ago
Unknwon
e8c9bb2c66
Finish new collaboration page
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Unknown
9924e65ca1
In progress of name template name constant
11 years ago
fuxiaohei
bf703ef617
add dashboard context switch button
11 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago
Unknown
80055bde86
Code convention
11 years ago
Unknown
b1bdbd7f94
Almost done issue label #200
11 years ago
Unknown
c1eb4d894a
Clean api code
11 years ago
Unknown
c36e7d322e
Mirror updates
11 years ago
Unknown
4c1452574a
go get
11 years ago