forgejo/modules/context
Gusted e4e3df6c66
Handle invalid issues (#18111)
* Handle invalid issues

- When you hover over a issue reference, and the issue doesn't exist, it
will just hang on the loading animation.
- This patch fixes that by showing them the pop-up with a "Error
occured" message.

* Add I18N

* refactor

* fix comment for lint

* fix unit test for i18n

* fix unit test for i18n

* add comments

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2021-12-28 21:28:27 +08:00
..
access_log.go
api.go Handle invalid issues (#18111) 2021-12-28 21:28:27 +08:00
api_org.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
api_test.go
auth.go Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00
captcha.go
context.go Instead of using routerCtx just escape the url before routing (#18086) 2021-12-25 00:50:49 +08:00
csrf.go
form.go
org.go Move accessmode into models/perm (#17828) 2021-11-28 12:58:28 +01:00
pagination.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
permission.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
private.go
repo.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
response.go
xsrf.go
xsrf_test.go