0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 12:24:29 +01:00
gitea/routers/web
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
..
admin Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
auth Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
devtest
events
explore Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
feed
healthcheck Remove db.DefaultContext in routers/ and cmd/ (#26076) 2023-07-23 23:47:27 -04:00
misc
org Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
repo Fix EOL handling in web editor (#27141) (#27234) 2023-09-24 22:10:38 +00:00
shared Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
user Fix: treat tab "overview" as "repositories" in user profiles without readme (#27124) 2023-09-20 01:48:44 +00:00
base.go
goget.go
home.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
metrics.go
nodeinfo.go
swagger_json.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
web.go Make SSPI auth mockable (#27036) 2023-09-17 23:32:56 +00:00
webfinger.go