forgejo/routers/web/repo
Giteabot a1029cb2ca
Fix EOL handling in web editor (#27141) (#27234)
Backport #27141 by @silverwind

Fixes https://github.com/go-gitea/gitea/issues/27136.

This does the following for Monaco's EOL setting:

1. Use editorconfig setting if present
2. Use the file's dominant line ending as detected by monaco, which uses
LF for empty file

Co-authored-by: silverwind <me@silverwind.io>
2023-09-24 22:10:38 +00:00
..
actions Artifacts retention and auto clean up (#26131) 2023-09-06 07:41:06 +00:00
setting Add RemoteAddress to mirrors (#26952) 2023-09-16 16:03:02 +00:00
activity.go
attachment.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
blame.go Support .git-blame-ignore-revs file (#26395) 2023-09-16 17:42:34 +00:00
branch.go Search branches (#27055) 2023-09-17 08:24:40 +00:00
cherry_pick.go
commit.go
compare.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
download.go
editor.go Fix EOL handling in web editor (#27141) (#27234) 2023-09-24 22:10:38 +00:00
editor_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
find.go
helper.go
helper_test.go
http.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
http_test.go
issue.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
issue_content_history.go
issue_dependency.go
issue_label.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
issue_label_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
issue_lock.go
issue_pin.go
issue_stopwatch.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
issue_test.go
issue_timetrack.go
issue_watch.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
main_test.go
middlewares.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
migrate.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
milestone.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
packages.go Fix the display of org level badges (#26504) 2023-09-06 14:38:14 +08:00
patch.go
projects.go
projects_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
pull.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
pull_review.go
release.go
release_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
render.go
repo.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
search.go
topic.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
treelist.go
view.go Add RemoteAddress to mirrors (#26952) 2023-09-16 16:03:02 +00:00
view_test.go
wiki.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
wiki_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00