aboutsummaryrefslogtreecommitdiff
path: root/routes/user
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
* 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
* templates: make state changing routes to POST method (#5541)Unknwon2018-12-06
| | | | - pkg/context: add ParamsUser to unify the injection process
* user/auth: flush and destroy session at logout (#5540)Unknwon2018-12-04
| | | | Reported by @cezar97.
* routes: fix open redirect vulnerability (#5355)Unknwon2018-09-28
| | | | Reported by @cezar97.
* auth: support set default login source (#5274)Unknwon2018-09-13
|
* 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.
* routes: fix open redirect vulnerability #5364 (#5365)chromium13372018-08-06
|
* repo: add changes to repository avatar feature (#5221)Unknwon2018-06-17
|
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* routes/user/setting: fix avatar email update error (#5245)Wei He2018-05-26
|
* routes/user/auth: improve coding styleUnknwon2018-05-21
|
* security: prevent same passcode from being reusedUnknwon2018-05-21
| | | | Reported by @cezar97.
* auth: support authentication source config file (#3142)Unknwon2018-04-12
|
* user/auth: fix page not redirect after loginUnknwon2017-10-22
|
* Refactoring: rename package routers -> routesUnknwon2017-06-11