aboutsummaryrefslogtreecommitdiff
path: root/models/token.go
Commit message (Collapse)AuthorAge
* internal: move packages under this directory (#5836)Unknwon2019-10-24
| | | | | | | | | | | | | | | | | | * 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
* Enable Go modules (#5835)Unknwon2019-10-23
| | | | | | | | | | | | | | | | * 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
* models/token: generate bindata and simplify code (#5820)Unknwon2019-10-15
|
* token: disallow multiple tokens with same name (#5820)Frode Aannevik2019-10-15
| | | | | | | | | | | | | | | * 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
* models: skip JSON for fields skipped by XORMUnknwon2018-06-09
| | | | Reduce output JSON size by backup command
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* models: remove redundant tags for primary keysUnknwon2017-05-21
|
* Refactoring: rename and simplify pkg/tool functionsUnknwon2017-04-06
|
* Refactoring: rename pkg/base -> pkg/toolUnknwon2017-04-05
|
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* Some code renamingUnknwon2016-12-22
|
* Fix vulnerabilities reported in #3959Unknwon2016-12-22
|
* Remove redundant Unix timestamp method callUnknwon2016-07-23
| | | | Unix() already uses UTC as timezone
* Fixes #3110 (#3136)Franz Schmidt2016-06-27
|
* #2302 Replace time.Time with Unix Timestamp (int64)Unknwon2016-03-09
|
* Replace uuid module with original packageUnknwon2016-02-20
|
* typo fixzhuharev2016-01-06
|
* finish all new user settings UIUnknwon2015-09-10
|
* #842 able to use access token replace basic authUnknwon2015-09-02
|
* token recent activityUnknwon2015-08-19
|
* new access token UIUnknwon2015-08-19
|
* work on #1493Unknwon2015-08-17
|
* routers/repo/http.go: allow HTTP push/pull by token for #845Unknwon2015-02-07
|
* allow http push by token - #842Christopher Brickley2015-01-08
|
* add personal access token panel #12Unknwon2014-11-12