Commit Graph

207 Commits (dd30d9d5c0f577cb6e084aae6de2752ad43474d8)

Author SHA1 Message Date
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 12 months ago
Earl Warren 1bfcdeef4c
Make pushUpdate error verbose (#28263) 1 year ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
silverwind ce83609ff6
Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
6543 e83f2cbbac
Add doctor dbconsistency fix to delete repos with no owner (#27290) 1 year ago
JakobDev 3dc0c962bf
Delete repos of org when purge delete user (#27273) 1 year ago
Lunny Xiao 9852c92e9a
Remove unnecessary parameter (#27671) 1 year ago
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
Dmitry Sharshakov 5e02e3b7ee
Add support for forking single branch (#25821) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
JakobDev 28f9b313ba
Updates to the API for archived repos (#27149) 1 year ago
Lunny Xiao 47b878858a
Search branches (#27055) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Nanguan Lin da50be7360
Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 1 year ago
Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 1 year ago
Lunny Xiao f064d716c3
Move feed notification service layer (#26908) 1 year ago
wxiaoguang e8aae43f56
Move web/api context related testing function into a separate package (#26859) 1 year ago
Zettat123 98f2bf23bc
Sync tags when adopting repos (#26816) 1 year ago
Chongyi Zheng ad43486cd3
Fix some slice append usages (#26778) 1 year ago
yp05327 f6e7798405
Add link to job details and tooltip to commit status in repo list in dashboard (#26326) 1 year ago
wxiaoguang c6b92c84fe
Sync repo's IsEmpty status correctly (#26517) 1 year ago
delvh bd6ef71854
Show branches and tags that contain a commit (#25180) 1 year ago
Zettat123 f3ed0ef692
Fix bugs in LFS meta garbage collection (#26122) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
Lunny Xiao 037c9895a7
Support copy protected branch from template repository (#25889) 1 year ago
Lunny Xiao 01c04607c7
Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) 1 year ago
wxiaoguang 236c645bf1
Refactor "Content" for file uploading (#25851) 1 year ago
wxiaoguang 22eeede885
Do not "guess" the file encoding/BOM when using API to upload files (#25828) 1 year ago
wxiaoguang f0bde0e4f9
Simplify the LFS GC logger usage (#25717) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao 65acd1e9ef
Fix branch commit message too long problem (#25588) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
Lunny Xiao d44a415bf0
Add Adopt repository event and handler (#25497) 1 year ago
wxiaoguang 4e2f1ee58d
Refactor web package and context package (#25298) 1 year ago
yp05327 22a39bb961
Fix profile render when the README.md size is larger than 1024 bytes (#25131) 1 year ago
Lunny Xiao 0d47b0ab1d
Remove duplicated functions when deleting a branch (#25128) 1 year ago
Lunny Xiao 11598885b3
Use RepositoryList instead of []*Repository (#25074) 1 year ago
wxiaoguang a90988d63f
Update repo's default branch when adding new files in an empty one (#25017) 2 years ago
Denys Konovalov 275d4b7e3f
API endpoint for changing/creating/deleting multiple files (#24887) 2 years ago
wxiaoguang 18f26cfbf7
Improve queue and logger context (#24924) 2 years ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
Yarden Shoham 4810fe55e3
Add status indicator on main home screen for each repo (#24638) 2 years ago