aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/index.js
Commit message (Collapse)AuthorAgeFilesLines
* Oauth2 consumer (#679)Willem van Dreumel2017-02-221-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Protected branches system (#339)Denis Denisov2017-02-211-0/+37
| | | | | | | | | | | | | | | | | | | | * Protected branches system * Moved default branch to branches section (`:org/:reponame/settings/branches`). * Initial support Protected Branch. - Admin does not restrict - Owner not to limit - To write permission restrictions * reformat tmpl * finished the UI and add/delete protected branch response * remove unused comment * indent all the template files and remove ru translations since we use crowdin * fix the push bug
* fix: fill in ssh key title on setting of repo (#950)Bo-Yi Wu2017-02-161-4/+4
| | | | | * fix: fill in ssh key title on setting of repo * fix: Don't overwrite ssh key title if exist.
* Markdown rendering overhaul (#186)Andrew Boyarshin2017-02-141-0/+2
| | | | | | | | | | | | * Markdown rendering overhaul Cleaned up and squashed commits into single one. Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com> * Fix markdown API, add markdown module and API tests, improve code coverage Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* feat: fill in ssh key title automatically. (#863)Bo-Yi Wu2017-02-091-0/+9
|
* track issue title changes (#841)Lunny Xiao2017-02-051-0/+1
|
* Fixed form control is not focusable #687 (#837)Shyim2017-02-041-2/+2
|
* add milestone changed traker on issue view (#804)Lunny Xiao2017-02-011-0/+6
|
* fix bug caused by #788 (#799)Lunny Xiao2017-01-301-1/+3
|
* Track labels changed on issue view & resolved #542 (#788)Lunny Xiao2017-01-301-0/+4
| | | | | | * track labels changed on issue view & resolved #542 * add missing head comment & sort & fix refresh
* feat: add search repository on dashboard. (#773)Bo-Yi Wu2017-01-301-0/+9
|
* Notifications: trying to get a better layout (#660)Andrey Nering2017-01-181-0/+5
| | | | | | | | | | | | | | * i18n button titles * Improvements on notification page layout * Notification count badge fixes * Make table <tr> clickable * Fix octicon aligment * Fix use of AppSubUrl
* Fix #646 (#669)Shyim2017-01-141-5/+8
|
* Fix: Issues cannot be created with labels (#622)Kazuki Sawada2017-01-101-3/+3
| | | Signed-off-by: Kazuki Sawada <kazuki@6715.jp>
* Fix install.tmpl input default value (#611)vz2017-01-091-0/+6
| | | | | | | | * Fix install.tmpl input default value * Update db_user to gitea * Add when INSTALL_LOCK = false
* Fix wrong anchors for non-latin headings (#3981) (#512)Bwko2016-12-311-1/+1
| | | | | | Change Javascript regular expression to match non-latin characters The regex comes from here: http://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters#comment22322603_150078 And this patch should fixed these two issues: #3919 #3843
* Enables mssql support (#383)btrepp2016-12-241-12/+12
| | | | | | | | | | | | | | | | | | | * Enables mssql support Port of dlobs work in gogs. Enables options in index.js Enables MSSQL as a database option in go. Sets ID to 0 on initial migration. Required for MSSQL insert statements. Signed-off-by: Beau Trepp <beautrepp@gmail.com> * Vendors in denisenkom/go-mssqldb Includes golang.org/x/crypto/md4 as this is required by go-msssqldb Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* Fix for #361, renamed username to loginBwko2016-12-071-1/+1
|
* Replace Gogs to Gitea in installation optionsJoubert RedRat2016-11-071-2/+2
|
* Set default less and css to new default nameJoubert RedRat2016-11-041-0/+1453