| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename pkg -> internal
* Rename routes -> route
* Move route -> internal/route
* Rename models -> db
* Move db -> internal/db
* Fix route2 -> route
* Move cmd -> internal/cmd
* Bump version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove vendor
* Enable Go modules
* ci: add command to fetch dependencies
* ci: update setting
* ci: update settings
* Require Go 1.11
* Rename module name to gogs.io/gogs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* api/v1: don't allow multiple tokens with same name
Fail with 422 Unprocessable Entity if the token name
already exist
ref: https://github.com/gogs/gogs/issues/5587
* Move new token error type to models/errors/token
* Remove "useless" ListAccessTokensByName function
* Add an i18n entry for token_name_exists
|
|
|
|
| |
- pkg/context: add ParamsUser to unify the injection process
|
|
|
|
| |
Reported by @cezar97.
|
|
|
|
| |
Reported by @cezar97.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add default Authentication Switch.
* adjust the code accroding to reviews
* #1. Remove redudant logic.
#2, Fix a bug in "Edit" panel.
* Remove unused logic
* Fix local authentication files are not flushed.
* refactor according to review.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Reported by @cezar97.
|
| |
|
| |
|
|
|