Commit Graph

15 Commits (fa73cbf5a7e84fab50ad5c8f3095b4dec8b4e879)

Author SHA1 Message Date
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago
Gusted 33e19c8004
Don't update email for organisation (#18905) 3 years ago
Lunny Xiao 6621710deb
Fix update user (#18878) 3 years ago
Lunny Xiao f1b1472632
Fix ldap user sync missed email in email_address table (#18786) 3 years ago
Lunny Xiao dc988eae0c
Fix bug for get user by email (#18833) 3 years ago
Gusted 7a42e35741
Pass correct context (#18638) 3 years ago
singuliere 8bd89ca294
preserve users if restoring a repository on the same Gitea instance (#18604) 3 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
Lunny Xiao 67d73882f4
Fix update user bug (#18250) 3 years ago
Gusted 623c93ff46
Increase Salt randomness (#18179) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 3 years ago
a1012112796 ba57e30f13
fix 500 error while use a reserved name in org rename (#17878) 3 years ago
Lunny Xiao 371ebce252
Fix database inconsistent when admin change user email (#17549) 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
techknowlogick 499b05da22
Add user settings key/value DB table (#16834) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
KN4CK3R edbaa5d3f0
Added GetUserByIDCtx. (#17602) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
wxiaoguang a5b4720b91
Update `User` model comments about permissions (#17583) 3 years ago
Gusted 3a693bd18c
Use provided database Engine (#17595) 3 years ago
wxiaoguang 7bcbdd0707
Add user status filter to admin user management page (#16770) 3 years ago
Jimmy Praet 29acb3213b
Fix broken Activities link in team dashboard (#17255) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 3 years ago
6543 8e18b412c3
Skip AllowedUserVisibilityModes validation on update user if it is an organisation (#16988) 3 years ago
Lunny Xiao b88dbe1208
Use a common quote to instead of check database type (#16817) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
zeripath 33a8eec33e
Retry rename on lock induced failures (#16435) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
6543 290f458d46
Reserve user/repo pattern for rss feature (#16323) 3 years ago
6543 0b27b93728
Make allowed Visiblity modes configurable for Users (#16271) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
6543 889dea8fc1
Remove User.GetOrganizations() (#14032) 3 years ago
Lunny Xiao b9d611e917
Always store primary email address into email_address table and also the state (#15956) 4 years ago
silverwind 8ab815ae93
Unregister non-matching serviceworkers (#15834) 4 years ago
silverwind 1e6fa57acb
Use single shared random string generation function (#15741) 4 years ago