Commit Graph

69 Commits (48f5d519088c2b33b48eb35f6ef3261e3ec677a1)

Author SHA1 Message Date
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
Nick c4df10d219
Repair LFS web rendering. (#22195) 2 years ago
zeripath 6e22605793
Ensure that plain files are rendered correctly even when containing ambiguous characters (#22017) 2 years ago
Lunny Xiao 1b32ed014a
remove duplicated read file code (#22042) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
silverwind c2fb27beb4
Improvements for Content Copy (#21842) 2 years ago
Xinyu Zhou b4802b9b2e
Allow disable RSS/Atom feed (#21622) 2 years ago
silverwind eec1c71880
Show syntax lexer name in file view/blame (#21814) 2 years ago
Nolann 9f8e778918
Copy citation file content, in APA and BibTex format, on repo home page (#19999) 2 years ago
a1012112796 e1ce45eabf
adapt README_{Country}.md stype name in localizedExtensions (#21486) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
Neel c35531dd11
Fix #21406: Hide repo information from file view/blame mode (#21420) 2 years ago
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 2 years ago
KN4CK3R 4dc3b2ec57
Use Name instead of DisplayName in LFS Lock (#21415) 2 years ago
JakobDev cad8f1b1fe
Use correct branch for .editorconfig error (#21152) 2 years ago
JakobDev 23fbf5e1ee
Show .editorconfig errors in frontend (#21088) 2 years ago
luzpaz cb3b3e519f
Fix various typos (#21103) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
zeripath 99efa02edf
Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
Gary Wang c35535ce07
Support localized README (#20508) 2 years ago
silverwind ae3dde1c87
Rework file highlight rendering and fix yaml copy-paste (#19967) 2 years ago
Lunny Xiao 6554d5197f
Fix possible panic when repository is empty (#20509) 2 years ago
zeripath a2cfcdb91a
Slightly simplify LastCommitCache (#20444) 2 years ago
silverwind 7d20c8323a
Fix commit status icon when in subdirectory (#20285) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao bdde56c95c
Fix Readme render bug (#19992) 2 years ago
Lunny Xiao b01dce2a6e
Allow render HTML with css/js external links (#19017) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lauris BH f92b7a6331
Add support for rendering terminal output with colors (#19497) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
Lunny Xiao d71df01077
Refactor readme file renderer (#19502) 3 years ago
Gusted ee769f7459
Add logic to switch between source/rendered on Markdown (#19356) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
6543 bc0d2c8ada
RSS/Atom support for Repos (#19055) 3 years ago
Lunny Xiao f48771ae78
Fix template bug of LFS lock (#18784) 3 years ago
zeripath 76e3111596
Collaborator trust model should trust collaborators (#18539) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 21ed4fd8da
Add warning for BIDI characters in page renders and in diffs (#17562) 3 years ago
wxiaoguang 26070eb818
When the git repository on storage is changed, the repository modal should also be updated (#18088) 3 years ago
silverwind f58e687a83
Shorten page title in file view (#17987) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago