aboutsummaryrefslogtreecommitdiffstats
path: root/services/user/user.go
Commit message (Expand)AuthorAgeFilesLines
* Refactor DeleteInactiveUsers, fix bug and add tests (#30206) (#30222)Giteabot2024-04-011-25/+20
* Move some asymkey functions to service layer (#28894)Lunny Xiao2024-03-041-3/+3
* Add user blocking (#29028)KN4CK3R2024-03-041-1/+1
* Unify user update methods (#28733)KN4CK3R2024-02-041-4/+1
* Forbid removing the last admin user (#28337)yp053272024-01-151-1/+6
* Use db.Find instead of writing methods for every object (#28084)Lunny Xiao2023-11-241-1/+1
* Delete repos of org when purge delete user (#27273)JakobDev2023-10-191-22/+8
* Remove unnecessary parameter (#27671)Lunny Xiao2023-10-181-1/+1
* Replace more db.DefaultContext (#27628)Lunny Xiao2023-10-151-2/+2
* Penultimate round of `db.DefaultContext` refactor (#27414)JakobDev2023-10-111-1/+1
* Even more `db.DefaultContext` refactor (#27352)JakobDev2023-10-031-1/+1
* Another round of `db.DefaultContext` refactor (#27103)JakobDev2023-09-251-2/+2
* Next round of `db.DefaultContext` refactor (#27089)JakobDev2023-09-161-1/+1
* move repository deletion to service layer (#26948)Lunny Xiao2023-09-081-1/+2
* fix incorrect repo url when changed the case of ownername (#25733)hiifong2023-07-141-1/+1
* Refactor rename user and rename organization (#24052)Lunny Xiao2023-05-211-52/+82
* Improve avatar uploading / resizing / compressing, remove Fomantic card modul...wxiaoguang2023-05-131-5/+2
* add user rename endpoint to admin api (#22789)techknowlogick2023-03-141-0/+16
* Move delete user to service (#22478)Lunny Xiao2023-02-131-1/+1
* Unify hashing for avatar (#22289)Gusted2023-01-021-6/+1
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
* Add `context.Context` to more methods (#21546)KN4CK3R2022-11-191-1/+1
* Allow detect whether it's in a database transaction for a context.Context (#2...Lunny Xiao2022-11-121-2/+2
* Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551)delvh2022-10-241-14/+14
* Add system setting table with cache and also add cache supports for user sett...Lunny Xiao2022-10-171-3/+3
* Fix: Actor is required to get user repositories (#20443)Dhruv Manilawala2022-07-211-0/+1
* Add option to purge users (#18064)zeripath2022-07-141-4/+102
* Move almost all functions' parameter db.Engine to context.Context (#19748)Lunny Xiao2022-05-201-2/+2
* Add Package Registry (#16510)KN4CK3R2022-03-301-1/+9
* Move organization related structs into sub package (#18518)Lunny Xiao2022-03-291-1/+2
* Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/mo...wxiaoguang2022-03-221-2/+2
* Move keys to models/asymkey (#17917)Lunny Xiao2021-12-101-5/+7
* Move repository model into models/repo (#17933)Lunny Xiao2021-12-101-1/+2
* Move user related model into models/user (#17781)Lunny Xiao2021-11-241-6/+6
* Remove unnecessary attributes of User struct (#17745)Lunny Xiao2021-11-221-0/+65
* Use a standalone struct name for Organization (#17632)Lunny Xiao2021-11-191-1/+1
* Move user/org deletion to services (#17673)KN4CK3R2021-11-191-0/+106