summaryrefslogtreecommitdiffstats
path: root/routers/web/repo/search.go
Commit message (Collapse)AuthorAgeFilesLines
* Remove `RequireHighlightJS` field, update plantuml example. (#19615)wxiaoguang2022-05-051-1/+0
|
* Update HTTP status codes to modern codes (#18063)KN4CK3R2022-03-231-1/+1
| | | | | | * 2xx/3xx/4xx/5xx -> http.Status... * http.StatusFound -> http.StatusTemporaryRedirect * http.StatusMovedPermanently -> http.StatusPermanentRedirect
* Automatically pause queue if index service is unavailable (#15066)Lauris BH2022-01-271-3/+8
| | | | | | * Handle keyword search error when issue indexer service is not available * Implement automatic disabling and resume of code indexer queue
* Related refactors to ctx.FormX functions (#16567)65432021-08-111-4/+3
| | | | | | | * use FormTrim if posible * speedup goGet * only convert if nessesary
* Rename ctx.Form() to ctx.FormString() and move code into own file (#16571)65432021-08-111-3/+3
| | | | | | | Followup from #16562 prepare for #16567 * Rename ctx.Form() to ctx.FormString() * Reimplement FormX func to need less code and cpu cycles * Move code into own file
* Rename context.Query to context.Form (#16562)Lunny Xiao2021-07-291-4/+4
|
* Refactor routers directory (#15800)Lunny Xiao2021-06-091-0/+55
* refactor routers directory * move func used for web and api to common * make corsHandler a function to prohibit side efects * rm unused func Co-authored-by: 6543 <6543@obermui.de>