aboutsummaryrefslogtreecommitdiff
path: root/models/login_source.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
* auth: coding style and glitches fixes for GitHub login source (#5340)Unknwon2018-12-18
|
* auth: add new authentication source: GitHub, including GitHub Enterprise (#5340)haixunlu2018-12-18
| | | | | | * Add new Authentication Source: GitHub, including GitHub Enterprise. * Add vendor dependencies.
* login_source: add default authentication switch (#5338)haixunlu2018-09-13
| | | | | | | | | | | | | | | * 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.
* *: use jsoniter to replace encoding/jsonUnknwon2018-06-09
|
* models: skip JSON for fields skipped by XORMUnknwon2018-06-09
| | | | Reduce output JSON size by backup command
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* auth: support authentication source config file (#3142)Unknwon2018-04-12
|
* models: remove redundant tags for primary keysUnknwon2017-05-21
|
* models/login_source: add check for user for create/update on LDAP (#4405)Jon Lundy2017-05-21
| | | | | | | | * Add check for user for create/update * Update login_source.go * Update login_source.go
* 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
* models: rename ErrUserNotExist -> errors.UserNotExistUnknwon2017-03-16
|
* refactoring: experimental with models/errors packageUnknwon2017-03-12
|
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* Fix typos (#3852)Bo Zhang2016-12-21
|
* Fix panic when attempt login with non-exist userUnknwon2016-09-01
|
* models/login_source: code improvementUnknwon2016-08-31