wxiaoguang
0cbaa0b662
Remove incorrect "db.DefaultContext" usages ( #35366 )
4 months ago
TheFox0x7
e9f5105e95
Migrate to urfave v3 ( #34510 )
...
migrate cli to urfave v3
add more cli tests
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
6 months ago
Eric Hawicz
166ec1b4c3
Add "--fullname" arg to gitea admin user create ( #34241 )
...
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
8 months ago
Kemal Zebari
55a69ae4c6
Add new CLI flags to set name and scopes when creating a user with access token ( #34080 )
...
Resolves #33474 .
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
9 months ago
TheFox0x7
0fde8ecd55
Enable testifylint rules ( #34075 )
...
enable testifylint rules disabled in:
https://github.com/go-gitea/gitea/pull/34054
9 months ago
mscherer
063c23e1bc
Add a option "--user-type bot" to admin user create, improve role display ( #27885 )
...
Partially solve #13044
Fix #33295
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
10 months ago
wxiaoguang
d3cdef88ad
Add some tests to clarify the "must-change-password" behavior ( #30693 )
...
Follow #30472 :
When a user is created by command line `./gitea admin user create`:
Old behavior before #30472 : the first user (admin or non-admin) doesn't
need to change password.
Revert to the old behavior before #30472
2 years ago