Commit graph

7 commits

Author SHA1 Message Date
Lauris BH
3c45cf8494
Add detected file language to code search ()
Move langauge detection to separate module to be more reusable

Add option to disable vendored file exclusion from file search

Allways show all language stats for search
2020-02-20 16:53:55 -03:00
Lunny Xiao
89b4e0477b
Refactor code indexer ()
* Refactor code indexer

* fix test

* fix test

* refactor code indexer

* fix import

* improve code

* fix typo

* fix test and make code clean

* fix lint
2019-12-23 20:31:16 +08:00
Mario Lubenka
fcbac38d6f Unifies pagination template usage () () 2019-04-20 00:15:19 -04:00
Lunny Xiao
9e5d0a09eb
Global code search support ()
* add global code search on explore

* fix bug when no anyone public repos

* change the icon

* fix typo and add UnitTypeCode check for login non-admin user

* fix ui description when no match
2018-03-16 22:04:33 +08:00
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
2018-01-10 23:34:17 +02:00
Lauris BH
0d4c63fd70
Fix go-get, src and raw urls to new scheme () 2017-11-27 02:58:54 +02:00
Ethan Koenig
5866eb2321 Code/repo search ()
Indexed search of repository contents (for default branch only)
2017-10-27 09:10:54 +03:00