Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Better URL validation (#1507) | Lauris BH | 2017-04-19 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | * Add correct git branch name validation * Change git refname validation error constant name * Implement URL validation based on GoLang url.Parse method * Backward compatibility with older Go compiler * Add git reference name validation unit tests * Remove unused variable in unit test * Implement URL validation based on GoLang url.Parse method * Backward compatibility with older Go compiler * Add url validation unit tests | ||||
* | fix: gofmt errors. (#1106) | Bo-Yi Wu | 2017-03-03 | 1 | -2/+2 |
| | |||||
* | Oauth2 consumer (#679) | Willem van Dreumel | 2017-02-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider) | ||||
* | Avoid duplicate queries in auth (#827) | Ethan Koenig | 2017-02-05 | 1 | -57/+48 |
| | | | Avoid identical making calls to GetUserByID(..) in SignedInUser(..) | ||||
* | GitHub API Compliance (& linting) | Kim "BKC" Carlbäcker | 2016-12-02 | 1 | -0/+3 |
| | |||||
* | golint fixed for modules/auth | Lunny Xiao | 2016-11-27 | 1 | -2/+7 |
| | |||||
* | Update import paths from github.com/go-gitea to code.gitea.io (#135) | Sandro Santilli | 2016-11-10 | 1 | -4/+4 |
| | | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path | ||||
* | Change import reference to match gitea instead of gogs (#37) | Rémy Boulanouar | 2016-11-03 | 1 | -4/+4 |
| | |||||
* | Fixes #3110 (#3136) | Franz Schmidt | 2016-06-27 | 1 | -1/+1 |
| | |||||
* | Replace uuid module with original package | Unknwon | 2016-02-20 | 1 | -2/+2 |
| | |||||
* | typo fix | zhuharev | 2016-01-06 | 1 | -2/+2 |
| | |||||
* | work on #470 and fix miror JS issue when choose targets on compare and pull | Unknwon | 2015-10-29 | 1 | -4/+10 |
| | |||||
* | fix import path, fix #1782 | Unknwon | 2015-10-15 | 1 | -3/+3 |
| | |||||
* | support URL param to token, but still restrict to APIs | Unknwon | 2015-09-02 | 1 | -21/+23 |
| | |||||
* | #842 able to use access token replace basic auth | Unknwon | 2015-09-02 | 1 | -22/+28 |
| | |||||
* | #1487 Readme Template | Unknwon | 2015-08-28 | 1 | -0/+6 |
| | |||||
* | token recent activity | Unknwon | 2015-08-19 | 1 | -2/+7 |
| | |||||
* | work on #1493 | Unknwon | 2015-08-17 | 1 | -1/+1 |
| | |||||
* | WIP: create PR - choose branch | Unknwon | 2015-08-08 | 1 | -2/+2 |
| | |||||
* | allow anonymous SSH clone | Unknwon | 2015-08-05 | 1 | -3/+3 |
| | |||||
* | UI: basic label list | Unknwon | 2015-07-24 | 1 | -1/+7 |
| | | | | - create new label | ||||
* | #1128: API calls are not hidden behind sign in | Unknwon | 2015-07-15 | 1 | -1/+5 |
| | |||||
* | UI: install - new version | Unknwon | 2015-07-08 | 1 | -1/+8 |
| | |||||
* | Attempt #3 of ldap fixes | Gogs | 2015-02-27 | 1 | -5/+4 |
| | |||||
* | cmd: CMD option for port number of `gogs web` to prevent first time run conflict | Unknwon | 2015-02-01 | 1 | -0/+7 |
| | | | | | - routers: use new binding convention to simplify code - templates: able to set HTTP port number in install page | ||||
* | fix binding api broken | Unknwon | 2014-12-15 | 1 | -7/+7 |
| | |||||
* | Fix spelling errors in comments. | Joseph Crail | 2014-12-06 | 1 | -1/+1 |
| | |||||
* | work on #672 | Unknwon | 2014-12-05 | 1 | -1/+2 |
| | |||||
* | fix #165 | Unknwon | 2014-12-05 | 1 | -1/+19 |
| | |||||
* | more APIs on #12 | Unknwon | 2014-11-18 | 1 | -9/+9 |
| | |||||
* | #12, API: list user repos, list repo hooks | Unknwon | 2014-11-13 | 1 | -15/+15 |
| | |||||
* | add personal access token panel #12 | Unknwon | 2014-11-12 | 1 | -5/+23 |
| | |||||
* | work on #616 and update locales | Unknwon | 2014-11-10 | 1 | -14/+39 |
| | |||||
* | Use binding middleware | Unknwon | 2014-10-15 | 1 | -21/+21 |
| | |||||
* | Fix #340 | Unknwon | 2014-08-01 | 1 | -4/+12 |
| | |||||
* | New UI merge in progress | Unknwon | 2014-07-26 | 1 | -36/+139 |
| | |||||
* | Finish create organization team | Unknown | 2014-07-02 | 1 | -165/+31 |
| | |||||
* | merge all login methods | Lunny Xiao | 2014-05-11 | 1 | -0/+1 |
| | |||||
* | Clean names | Unknown | 2014-05-08 | 1 | -4/+4 |
| | |||||
* | Clean repo code | Unknown | 2014-05-05 | 1 | -14/+0 |
| | |||||
* | User code clean and ui improve | Unknown | 2014-05-05 | 1 | -46/+30 |
| | |||||
* | Clean api code | Unknown | 2014-05-05 | 1 | -3/+3 |
| | |||||
* | Merge branch 'dev-ldap' into dev | Lunny Xiao | 2014-05-05 | 1 | -0/+1 |
|\ | |||||
| * | basic authentications | Lunny Xiao | 2014-05-05 | 1 | -0/+1 |
| | | |||||
* | | Fix import path | Unknown | 2014-05-05 | 1 | -11/+12 |
| | | |||||
* | | Fix #149 | Unknown | 2014-05-01 | 1 | -1/+1 |
| | | |||||
* | | fix #91 | Unknown | 2014-05-01 | 1 | -1/+3 |
| | | |||||
* | | Add login by email | Unknown | 2014-04-27 | 1 | -1/+1 |
|/ | |||||
* | Move binding as subrepo | Unknown | 2014-04-13 | 1 | -12/+10 |
| | |||||
* | Add repo mirror and import | Unknown | 2014-04-12 | 1 | -1/+3 |
| |