gitea/modules
Gusted ab1379743e
Fix nil checking on typed interface ()
* Fix nil checking on typed interface

- Partially resoles 
- Resolves SA4023 errors.
- Ensure correctly that typed interface are nil.

* Remove unnecessary code

`NewBleveIndexer` will never return nil, even on errors.

* Patch `NewBleveIndexer`

* Fix low-level functions

* Remove deadcode

* Fix GetSession

* Close Elastic search when err isn't nil

* Update elastic_search.go

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2021-11-15 21:16:11 +08:00
..
activitypub
analyze
appstate Decouple unit test code from business code () 2021-11-12 22:36:47 +08:00
auth
avatar
base
cache
charset
context Move EmailAddress & UserRedirect into models/user/ () 2021-11-11 15:03:30 +08:00
convert Add migration from GitBucket () 2021-11-14 20:11:10 +01:00
cron Move webhook into models/webhook/ () 2021-11-10 13:13:16 +08:00
csv
doctor Move unit into models/unit/ () 2021-11-09 20:57:58 +01:00
emoji
eventsource
generate
git
gitgraph
graceful
hcaptcha
highlight
hostmatcher Only allow webhook to send requests to allowed hosts () 2021-11-01 16:39:52 +08:00
httpcache
httplib
indexer Fix nil checking on typed interface () 2021-11-15 21:16:11 +08:00
json
lfs
log
markup
matchlist
metrics
migrations Add migration from GitBucket () 2021-11-14 20:11:10 +01:00
nosql
notification Decouple unit test code from business code () 2021-11-12 22:36:47 +08:00
options
password
pprof
private
process
proxy
public
queue
recaptcha
references
repofiles Decouple unit test code from business code () 2021-11-12 22:36:47 +08:00
repository Remove unnecassary calls to `filepath.Join` () 2021-11-15 14:02:53 +08:00
secret
session
setting Use correct defaultValue for stracktrace () 2021-11-05 13:25:05 +02:00
ssh Fix ipv6 parsing for builtin ssh server () 2021-11-06 14:23:32 +08:00
storage
structs Add migration from GitBucket () 2021-11-14 20:11:10 +01:00
svg
sync
task Correctly handle failed migrations () 2021-11-13 19:28:50 +08:00
templates Add QueryEscape to general funcmap () 2021-11-02 23:00:30 +08:00
test
timeutil
translation
typesniffer
unittestbridge Decouple unit test code from business code () 2021-11-12 22:36:47 +08:00
updatechecker
upload
uri
user
util Only allow webhook to send requests to allowed hosts () 2021-11-01 16:39:52 +08:00
validation
web