Commit Graph

38 Commits (ec3d467f15a683b305ac165c3eba6683628dcb25)

Author SHA1 Message Date
6543 7fd0a5b276
Refactor to use optional.Option for issue index search option (#29739) 8 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
Zettat123 c42083a339
Allow non-admin users to delete review requests (#29057) 9 months ago
Nanguan Lin 1eae2aadae
Fix issue not showing on default board and add test (#27720) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
Nanguan Lin 2f8e1604f8
Fix review request number and add more tests (#27104) 1 year ago
Nanguan Lin 7cdbe65a2c
Add tests for db indexer in indexer_test.go (#27087) 1 year ago
Nanguan Lin 0de09d3afc
Remove the useless function `GetUserIssueStats` and move relevant tests to `indexer_test.go` (#27067) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Jason Song 1e76a824bc
Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 1 year ago
techknowlogick cb01b8691d
Add open/closed field support for issue index (#25708) 1 year ago
Jason Song 375fd15fbf
Refactor indexer (#25174) 1 year ago
Lunny Xiao c355728a6f
Remove unnecessary code (#24610) 2 years ago
Lunny Xiao 5cf7da63ee
Refactor config provider (#24245) 2 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 2 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Gusted 1d98d205f5
Enable deprecation error for v1.17.0 (#18341) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 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
Lauris BH 0a3c3357f3
Sort issue search results by revelance (#14353) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784) 5 years ago
zeripath 62eb1b0f25 Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
zeripath 55cd33e124 Stop various tests from adding to the source tree (#9515) 5 years ago
Brad Albright 887a8fe242 Allow cross-repository dependencies on issues (#7901) 5 years ago
zeripath 167e8f18da
Restore Graceful Restarting & Socket Activation (#7274) 5 years ago
Lunny Xiao e7d7dcb090 Issue indexer queue redis support (#6218) 6 years ago
Lunny Xiao 15ecc08475 fix bug when set indexer as db and add tests (#6173) 6 years ago
Lunny Xiao 477ef46251
Add more tests and docs for issue indexer, add db indexer type for searching from database (#6144) 6 years ago
Lunny Xiao 0751153613
refactor issue indexer, add some testing and fix a bug (#6131) 6 years ago