Commit Graph

52 Commits (4b20b51f8260cb012581493d1143033dd3936aa6)

Author SHA1 Message Date
Lunny Xiao 58a03e9fad
Fix bug on avatar (#31008) 6 months ago
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
Zettat123 0fe9f93eb4
Check the token's owner and repository when registering a runner (#30406) 8 months ago
wxiaoguang a008486f5c
Refactor DeleteInactiveUsers, fix bug and add tests (#30206) 8 months ago
Zettat123 136dd99e86
Skip email domain check when admins edit user emails (#29609) 9 months ago
Lunny Xiao e2277d07ca
Move some asymkey functions to service layer (#28894) 9 months ago
KN4CK3R c337ff0ec7
Add user blocking (#29028) 9 months ago
KN4CK3R 688d4a1f71
Unify password changing and invalidate auth tokens (#27625) 10 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
yp05327 ce0225c1b8
Forbid removing the last admin user (#28337) 10 months ago
Lunny Xiao 70c4aad8e1
Move more functions to db.Find (#28419) 10 months ago
delvh 778ad795fd
Refactor deletion (#28610) 11 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Earl Warren 59f9ef9fee
Remove action runners on user deletion (#27902) 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
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 f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Earl Warren 7bde2bf809
add unit test for user renaming (#26261) 1 year ago
hiifong 4628aa5251
fix incorrect repo url when changed the case of ownername (#25733) 1 year ago
Lunny Xiao c59a057297
Refactor rename user and rename organization (#24052) 2 years ago
wxiaoguang 82224c54e0
Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2 years ago
techknowlogick 03591f0f95
add user rename endpoint to admin api (#22789) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
Lunny Xiao f2772b5920
Move delete user to service (#22478) 2 years ago
Gusted 96797fed31
Unify hashing for avatar (#22289) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Dhruv Manilawala 3df33799c1
Fix: Actor is required to get user repositories (#20443) 2 years ago
zeripath bffa303020
Add option to purge users (#18064) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 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
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago