Commit Graph

87 Commits (719bddcd76610a63dadc8555760072957a11cf30)

Author SHA1 Message Date
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 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 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 48ccd325a1
Move some functions into services/repository (#17660) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
6543 73394f435c
[API] List limited and private orgs if authentificated (#16866) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
zeripath 3183a465d7
Make modules/context.Context a context.Context (#16031) 4 years ago
KN4CK3R 8c8471e754
Addition to (Add Location, Website and Description to API #15675) (#15690) 4 years ago
6543 80d6c6d7de
[refactor] mailer service (#15072) 4 years ago
6543 290cf75f93
[refactor] Unify the export of user data via API (#15144) 4 years ago
6543 8d5c795cc4
[API] Add Restricted Field to User (#14630) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
6543 74a0481586
[Refactor] Passwort Hash/Set (#14282) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
6543 1bb5c09b5d
API: Admin EditUser: Make FullName, Email, Website & Location optional (#13562) 4 years ago
Chris Shyi d025d84d91
Add email validity check (#13475) 4 years ago
zeripath 7a7f56044a
Adopt repositories (#12920) 4 years ago
John Olheiser c6e4bc53aa
Check passwords against HaveIBeenPwned (#12716) 4 years ago
zeripath 2ae8c7ab1c
Add cron running API (#12421) 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446) 4 years ago
Cirno the Strongest 81324cf37c
Add pagination headers on endpoints that support total count from database (#11145) 5 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428) 5 years ago
6543 ea50f60df2
Prevent DeleteUser API abuse (#10125) 5 years ago
Andy Harrison d879353632 Minor typo fix (#10043) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 10055bd2b1 [API] add GET /orgs endpoint (#9560) 5 years ago
6543 6baa5d7588 [API] Add notification endpoint (#9488) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
Lunny Xiao daab245167
Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
Maxim Tkachenko db657192d0 Password Complexity Checks (#6230) 5 years ago
Lunny Xiao 5a438ee3c0
Move all mail related codes from models to services/mailer (#7200) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 5b902e2368 add pagination for admin api get orgs and fix only list public orgs bug (#7742) 5 years ago
renothing cbf231a675 fix wrong email when use gitea as OAuth2 provider (#7640) 5 years ago
Richard Mahn 43cf2f3b55 Fixes #7023 - API Org Visibility (#7028) 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
Richard Mahn 6db3dc7c02 Fixes #6881 - API users search fix (#6882) 6 years ago
zeripath 837116875e Return a UserList from /api/v1/admin/users (#6629) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
John Olheiser 7548037a64 Adds MustChangePassword to user create/edit API, defaults to true (#6193) 6 years ago
Shashvat Kedia 1b90692844 New API routes added (#5594) 6 years ago
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. (#4845) 6 years ago