Commit Graph

41 Commits (253737eb364192e31c8be1fc9bd9581331ca37a9)

Author SHA1 Message Date
wxiaoguang c2e0143bfe
Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 1 year ago
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132) 1 year ago
6543 8995046110
Less naked returns (#25713) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang 62ab55bacc
Improve wiki sidebar and TOC (#25460) 1 year ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
Matthew Walowski ff5629268c
Pass 'not' to commit count (#24473) 2 years ago
wxiaoguang b39a5bbbd6
Make wiki title supports dashes and improve wiki name related features (#24143) 2 years ago
wxiaoguang 1ab16e48cc
Improve Wiki TOC (#24137) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
6543 a33ff822ff
[refactor] Use const for wiki DefaultBranch (#21466) 2 years ago
Aaron F 3963625b6e
Webhook for Wiki changes (#20219) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
zeripath 58a4407acb
Remove follow from commits by file (#20765) 2 years ago
zeripath 99efa02edf
Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
zeripath ac88f21ecc
Automatically render wiki TOC (#19873) 2 years ago
zeripath 9f5ddca57c
Set the LastModified header for raw files (#18356) 3 years ago
wxiaoguang 7b089c465d
Remove `RequireHighlightJS` field, update plantuml example. (#19615) 3 years ago
Lunny Xiao 5651c650c0
When view _Siderbar or _Footer, just display once (#19501) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
wxiaoguang d4c789dfc1
Refactor repo clone button and repo clone links, fix JS error on empty repo page (#19208) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath 21ed4fd8da
Add warning for BIDI characters in page renders and in diffs (#17562) 3 years ago
wxiaoguang a38ba634a4
Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 3 years ago
wxiaoguang 0a9fcf63a4
Clean legacy SimpleMDE code (#17926) 3 years ago
wxiaoguang aa79738a66
Fix the bug: no wiki page can be created if the repo didn't have any page yet. (#17894) 3 years ago
n 6791aae8de
Add hints for special Wiki pages (#17283) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
zeripath 9119d24573
Ensure wiki repos are all closed (#16886) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao e3c626834b
Let package git depend on setting but not opposite (#15241) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 3 years ago
Lunny Xiao 9d99f6ab19
Refactor renders (#15175) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
zeripath 814ca9ffea
Allow different HardBreaks settings for documents and comments (#11515) 5 years ago
mrsdizzie 5789e60316
Use default commit message for wiki edits (#11550) 5 years ago
mrsdizzie b2b86ea870
Support view individual commit for wiki pages (#11415) 5 years ago
zeripath 90919bb37e
Show Signer in commit lists and add basic trust (#10425) 5 years ago
Lunny Xiao c58edc7c78 Fix wiki raw view on sub path (#10002) 5 years ago