Commit Graph

56 Commits (forgejo-development)

Author SHA1 Message Date
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier () 2 years ago
sillyguodong 34399cfd7a
Make issue and code search support camel case () 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files () 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods () 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory () 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues () 3 years ago
yutotnh 3708ca8e28
fix: some typos () 3 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package () 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context () 3 years ago
zeripath 41fcf7b7de
Prevent dangling archiver goroutine () 3 years ago
6543 ddbbe6e15c
User specific repoID or xorm builder conditions for issue search () 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options () 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor () 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable () 3 years ago
zeripath a82fd98d53
Pause queues () 3 years ago
6543 54e9ee37a7
format with gofumpt () 3 years ago
Gusted 1d98d205f5
Enable deprecation error for v1.17.0 () 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs () 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo () 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user () 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows () 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code () 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login () 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package () 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db () 3 years ago
Lunny Xiao 43262226db
Fix data race in bleve indexer () 4 years ago
zeripath ba526ceffe
Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc () 4 years ago
Lauris BH f5abe2f563
Upgrade blevesearch dependency to v2.0.1 () 4 years ago
Lauris BH 0a3c3357f3
Sort issue search results by revelance () 4 years ago
zeripath 47dd1cb7ae
Refactor Logger () 4 years ago
Wim e14f6088f8
Remove hardcoded ES indexername () 5 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process () 5 years ago
zeripath b51fd30522
Log the indexer path on failure () 5 years ago
zeripath c32f3da33c
Handle panic in indexer initialisation better () 5 years ago
Lunny Xiao 5dbf36f356
Issue search support elasticsearch () 5 years ago
zeripath 1125d1453b
Stop hanging issue indexer initialisation from preventing shutdown () 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination () 5 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests () 5 years ago
zeripath 62eb1b0f25 Graceful Queues: Issue Indexing and Tasks () 5 years ago
zeripath 55cd33e124 Stop various tests from adding to the source tree () 5 years ago
Lunny Xiao 89b4e0477b
Refactor code indexer () 5 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others () 5 years ago
Lunny Xiao ba1acf5b50 fix issue indexer not triggered when migrating a repository () 5 years ago
Lunny Xiao 3bdce82ce9
upgrade levelqueue to 0.1.0 () 5 years ago
zeripath cbaa1de9ec Add Graceful shutdown for Windows and hooks for shutdown of goroutines () 5 years ago
Brad Albright 887a8fe242 Allow cross-repository dependencies on issues () 5 years ago
zeripath 167e8f18da
Restore Graceful Restarting & Socket Activation () 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron () 6 years ago
kolaente f9ec2f89f2 Add golangci () 6 years ago