0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 03:14:39 +01:00
gitea/routers/web/repo
silverwind 3a187eace5
Fix EOL handling in web editor (#27141)
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
2023-09-24 19:51:02 +00:00
..
actions
setting Updates to the API for archived repos (#27149) 2023-09-21 23:43:29 +00:00
activity.go
attachment.go
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
download.go
editor.go Fix EOL handling in web editor (#27141) 2023-09-24 19:51:02 +00:00
editor_test.go
find.go
helper.go
helper_test.go
http.go
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
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
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
patch.go
projects.go
projects_test.go
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
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
wiki_test.go