Commit Graph

50 Commits (4774151e5339431dcd7fde70f084e7a0ff0b6cf6)

Author SHA1 Message Date
charles 3269b04d61
Notify the user when the file path contains leading or trailing spaces and fix the error message for invalid file names. (#31507) 5 months ago
Lunny Xiao b6f15c7948
Add missed return after `ctx.ServerError` (#31130) 9 months ago
silverwind a3d9f0d915
Fix all rounded borders, change affected tab menus to pills (#30707) 10 months ago
Lunny Xiao 538790ad1d
Put an edit file button on pull request files to allow a quick operation (#29697) 11 months ago
wxiaoguang 226231ea27
Fix some pending problems (#29985) 11 months ago
buckybytes 16e360099d
Editor error message misleading due to re-used key. (#29859) 11 months ago
wxiaoguang 27deea7330
Make PR form use toast to show error message (#29545) 12 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 12 months ago
KN4CK3R 553d46e6f6
Do not double close reader (#29354) 1 year ago
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165) 1 year ago
silverwind 60e4a98ab0
Preserve BOM in web editor (#28935) 1 year ago
Nanguan Lin 37ed92d6fd
Revert "Fix EOL handling in web editor" (#28101) 1 year ago
yp05327 3945c26722
Improve tree not found page (#26570) 1 year ago
silverwind 3a187eace5
Fix EOL handling in web editor (#27141) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
wxiaoguang c6b92c84fe
Sync repo's IsEmpty status correctly (#26517) 2 years ago
wxiaoguang 4fc4f6e634
Refactor "editorconfig" (#26391) 2 years ago
wxiaoguang 236c645bf1
Refactor "Content" for file uploading (#25851) 2 years ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 2 years ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 2 years ago
Lunny Xiao 54259dbf37
Fix blank dir message when uploading files from web editor (#25391) 2 years ago
Denys Konovalov 275d4b7e3f
API endpoint for changing/creating/deleting multiple files (#24887) 2 years ago
Brecht Van Lommel 1bfa37ada2
Create pull request for base after editing file, if not enabled on fork (#24841) 2 years ago
wxiaoguang e422342eeb
Allow adding new files to an empty repo (#24164) 2 years ago
Yoan Blanc 9b416b2e36
Use graceful editorconfig loader to reduce errors when loading malformed editorconfigs (#21257) 2 years ago
wxiaoguang 5cc0801de9
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2 years ago
Brecht Van Lommel 84daddc2fa
Editor preview support for external renderers (#23333) 2 years ago
wxiaoguang ce9dee5a1e
Introduce path Clean/Join helper functions (#23495) 2 years ago
Lunny Xiao b116418f05
Use CleanPath instead of path.Clean (#23371) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 3 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 3 years ago
wxiaoguang 7b089c465d
Remove `RequireHighlightJS` field, update plantuml example. (#19615) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath 6b0a71230d
Stop trimming preceding and suffixing spaces from editor filenames (#18334) 3 years ago
wxiaoguang a38ba634a4
Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
wxiaoguang 0a9fcf63a4
Clean legacy SimpleMDE code (#17926) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
KN4CK3R f99d50fc9f
Read expected buffer size (#17409) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
AJ ONeal b9a0e33238
Pre-fill suggested New File 'name' and 'content' with Query Params (#16556) 4 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 4 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago