12 Commits (cb72c901b3250fa47c4b403182a3762685d57a02)

Author SHA1 Message Date
wxiaoguang b2ee5be52e
Refactor legacy code (#35708) 2 months ago
Lunny Xiao 65cd3f5309
Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 5 months ago
silverwind 1f35435b81
Run `gopls modernize` on codebase (#34751) 6 months ago
Lunny Xiao 32b97b3ce8
Uniform all temporary directories and allow customizing temp path (#32352) 9 months ago
Lunny Xiao 3fe449c21a
Use filepath.Join instead of path.Join for file system file operations (#33978) 9 months ago
delvh 778ad795fd
Refactor deletion (#28610) 2 years ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 3 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 3 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 3 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 4 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 4 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 5 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 5 years ago
Lunny Xiao 1dd3f19ee3
Use google/uuid to instead satori/go.uuid (#11943) 6 years ago
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database (#11925) 6 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 6 years ago
zeripath 296814e887 Refactor editor upload, update and delete to use git plumbing and add LFS support (#5702) 7 years ago