Commit Graph

43 Commits (09f2e1e1a26039bbff09348403e99269d907aa28)

Author SHA1 Message Date
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
finga 67bc04fe21
Fix problem when database ID is not incremented as expected (#17229) 3 years ago
Lunny Xiao 91e21d4fca
Move twofactor to models/login (#17143) 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
zeripath e0853d4a21
Add API Token Cache (#16547) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
zeripath b8e4ce754e
Only check access tokens if they are likely to be tokens (#16164) 3 years ago
silverwind 1e6fa57acb
Use single shared random string generation function (#15741) 4 years ago
6543 d5b6931dbe
[API] Delete Token accept names too (#12366) 4 years ago
Lunny Xiao 1dd3f19ee3
Use google/uuid to instead satori/go.uuid (#11943) 4 years ago
6543 ad5c43ae5d
Reject duplicate AccessToken names (#10994) 5 years ago
6543 b65e954f73
FIX Pagination of ListAccessTokens and GetIssueWatchers (#10449) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
techknowlogick 46373e7657
Hash App token (#6724) 6 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
Ethan Koenig aa962deec0 Replace deprecated Id method with ID (#2655) 7 years ago
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs (#2628) 7 years ago
Lunny Xiao 005900baea Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 7 years ago
Andrey Nering 84b7d29d34 Create missing database indexes (#596) 8 years ago
Lunny Xiao b4c794058a fixed vulnerabilities (#392) 8 years ago
Bwko 081c2a9395 Lint models/token.go (#244) 8 years ago
Thibault Meyer a4454f5d0f
Rewrite XORM queries 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon 250be011c7 Remove redundant Unix timestamp method call 8 years ago
Franz Schmidt 8b35c194ec Fixes #3110 (#3136) 9 years ago
Unknwon ad513a20e9 #2302 Replace time.Time with Unix Timestamp (int64) 9 years ago
Unknwon ac78bae7b5 Replace uuid module with original package 9 years ago
zhuharev 0d5dc8a064 typo fix 9 years ago
Unknwon 52ec80fa18 finish all new user settings UI 9 years ago
Unknwon 2ac8e11f46 #842 able to use access token replace basic auth 9 years ago
Unknwon 03b85b73af token recent activity 9 years ago
Unknwon 4c7b6414eb new access token UI 9 years ago
Unknwon 407385db7e work on #1493 9 years ago
Unknwon ba77a3b0b4 routers/repo/http.go: allow HTTP push/pull by token for #845 10 years ago
Christopher Brickley d0827e5d5e allow http push by token - #842 10 years ago
Unknwon 8c9338a537 add personal access token panel #12 10 years ago