Commit graph

13 commits

Author SHA1 Message Date
ngourdon
78721a4220 Adds missing methods in the admin user API (#173)
* add AdminListUsers to list all users

* add AdminDeleteUserPublicKey
2019-06-02 14:00:23 +03:00
Lunny Xiao
38803cbe75 Refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs (#171)
* refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs

* fix testing
2019-05-11 18:38:52 +03:00
John Olheiser
9c4f648599 MustChangePassword must be nillable (#150)
In order to enforce the same as CLI (default MustChangePassword true), the form option must be nillable so that it can default to true.
2019-02-26 14:44:19 +08:00
Segev Finer
4a15722a62 Increase Username MaxSize 35 -> 40 (#149)
Signed-off-by: Segev Finer <segev@codeocean.com>
2019-02-25 12:36:07 -05:00
John Olheiser
422568ae32 Add MustChangePassword field to add/edit user for API (#148)
Added JetBrains folder to .gitignore

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-02-25 07:08:46 +00:00
BetaCat
8718470818 Fix a format problem in admin_user.go (#118)
* Prepare for Prioritize issues & update .gitignore for goland users
Signed-off-by: Outman9946 <outman99@hotmail.com>

* Fix issues
Signed-off-by: BetaCat0 <outman99@hotmail.com>

* Fix a format problem
2018-09-01 00:14:12 +03:00
EnricoFerro
021567c9c1 Fix for missing field in EditUserOption (#114) 2018-08-23 17:32:09 +03:00
Vlad Temian
a184f2d334 Run go fmt for the entire project (#85) 2018-01-09 02:26:05 +02:00
Ethan Koenig
1da52cf95f Updates to swagger documentation (#77) 2017-11-12 11:10:33 +02:00
Ethan Koenig
fc9011e1a1 Require password when creating user (#74) 2017-10-02 08:08:12 +03:00
Antoine GIRARD
bc243ad6c2 Improve swagger doc (#67)
* Add some swagger response type

* Add some swagger parameters

* Add some swagger parameters

* Use HookList in place of []*Hook
2017-08-21 16:23:17 +08:00
Lunny Xiao
c9135ef778 fix most of all the lint errors 2016-11-10 17:44:00 +08:00
Thomas Boerger
4218c36205 Moved source files into subfolder 2016-11-07 11:26:36 -02:00
Renamed from admin_user.go (Browse further)