gitea/routers/repo
Lauris BH 81702e6ec9 Detect charset and convert non UTF-8 files for display (#4950)
* Detect charset and convert non UTF-8 files for display

* Refactor and move function to correct module

* Revert unrelated changes

* More unrelated changes

* Duplicate content for small text to have better encoding detection

* Check if original content is valid before duplicating it
2018-09-29 16:33:54 +08:00
..
activity.go
attachment.go
branch.go
commit.go
download.go
editor.go
http.go
issue_dependency.go
issue_label_test.go
issue_label.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
issue.go
main_test.go
middlewares.go
pull_review.go Code review UI improvements and bugfixes (#4682) 2018-09-17 17:59:49 +03:00
pull.go
release_test.go
release.go
repo.go
search.go
setting_protected_branch.go
setting.go make sure to catch the right error so it is displayed as an error on the ui not a 500 (#4945) 2018-09-16 18:27:43 +03:00
settings_test.go
topic.go
view.go Detect charset and convert non UTF-8 files for display (#4950) 2018-09-29 16:33:54 +08:00
webhook.go
wiki_test.go
wiki.go