Commit Graph

33 Commits (9a93b1816e0bc65101e7ad7ca66786fb38a8e628)

Author SHA1 Message Date
wxiaoguang 5cddab4f74
Make wiki default branch name changable (#29603) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 11 months ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
wxiaoguang 2814f2fea1
Fix incorrect test code for error handling (#27139) 1 year ago
Earl Warren f7c64976d5
services/wiki: Close() after error handling (#27129) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
wxiaoguang c2e0143bfe
Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 1 year ago
Earl Warren 02d5f422ea
add some Wiki unit tests (#26260) 1 year ago
wxiaoguang db582d97ef
Improve wiki user title test (#24559) 2 years ago
wxiaoguang 60e7963141
Fix inconsistent wiki path converting. (#24277) 2 years ago
wxiaoguang b39a5bbbd6
Make wiki title supports dashes and improve wiki name related features (#24143) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
6543 a33ff822ff
[refactor] Use const for wiki DefaultBranch (#21466) 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 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
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath e51c73ae5c
Fix 500 on first wiki page (#16586) 3 years ago
6543 b26c3b482f
Add TestPrepareWikiFileName (#16487) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
KN4CK3R 3d7d750a99
Fix individual tests (addition to #15802) (#15818) 4 years ago
Lunny Xiao b9309e52f0 Move wiki related funtions from models to services/wiki (#9355) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
zeripath ce8de35334 Remove local clones & make hooks run on merge/edit/upload (#6672) 6 years ago
Bo-Yi Wu c58e1e437b test: reduce testing time. (#3885) 7 years ago
Lauris BH 283e87d814
Fix rendering of wiki page list if wiki repo contains other files (#3454) 7 years ago
Lauris BH be1330ec89 Remove hardcoded paths to fix randomly failing tests (#3347) 7 years ago
Ethan Koenig 91f3d77ceb Unit tests for wiki routers (#3022) 7 years ago
Ethan Koenig b7ebaf6d20 Various wiki bug fixes (#2996) 7 years ago
Ethan Koenig 7765593018 Better settings for unit tests (#795) 8 years ago
Ethan Koenig bb76285762 Unit tests for models/wiki 8 years ago