summaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
* fix leave team 404 (#1154)Lunny Xiao2017-03-091-1/+1
|
* Log config pretty printer (#1097)Jonas2017-03-021-1/+1
| | | Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* fix: Add str2html on DisplayName of Org. (#1091)Bo-Yi Wu2017-03-015-5/+5
|
* Fix for #828: Embed build tags (#1051)Jonas2017-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | * Fix for #828 Add build tags to ldflags and print in version output Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Reworked formatBuiltWith function Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Add tags to version information in admin panel Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Added new variable for use on admin page. Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Fixed incorrect indentation
* Fix for #1037: Corrected process ID placeholder to PID from Pid (#1048)Jonas2017-02-251-1/+1
| | | Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* Removed footer copyright year (#829)Lunny Xiao2017-02-241-1/+1
| | | | | | | | * change footer copyright year from 2016 to 2017 * add 2016 copyright back * remove the copyright year
* Fixes 1019, install page SMTP user is required to (#1020)puffybsd2017-02-241-3/+3
| | | | | to be an email address. Signed-off-by: P.B. <puffybsd@yahoo.com>
* Take back control of hooks (#1006)Lunny Xiao2017-02-231-1/+1
| | | | | | | | | | | | | | | | * git: delegate all server-side Git hooks (#1623) * create hooks directories * take control hooks back * fix lint * bug fixed and minor changes * fix imports style * fix migration scripts
* Oauth2 consumer (#679)Willem van Dreumel2017-02-2211-98/+239
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-214-24/+105
| | | | | | | | | | | | | | | | | | | | * 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
* Security: fix XSS attack on alert (#973)Lunny Xiao2017-02-191-3/+3
|
* Security: fix XSS attack on milestone (#976)Lunny Xiao2017-02-193-9/+9
| | | Reported by Miguel Ángel Jimeno.
* fix docker link on install page (#964)Lunny Xiao2017-02-181-1/+1
|
* Fix all the bugs in issues and pulls on dashboard (#943)Lunny Xiao2017-02-171-1/+1
| | | | | | | | * fix all the bugs in issues and pulls on dashboard * small fix and refactor * add method getRepoIDs for IssueList
* fix: fill in ssh key title on setting of repo (#950)Bo-Yi Wu2017-02-161-2/+2
| | | | | * fix: fill in ssh key title on setting of repo * fix: Don't overwrite ssh key title if exist.
* Security: prevent XSS attach on wiki pageUnknwon2017-02-161-5/+6
| | | | Reported by Miguel Ángel Jimeno.
* Fix assigned issues dashboard (#920)Lunny Xiao2017-02-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | * Fix assigned/created issues in dashboard. (#3560) * Fix assigned/created issues in dashboard. * Use GetUserIssueStats for getting all Dashboard stats. * Use gofmt to format the file properly. * Replace &Issue{} with new(Issue). * Check if user has access to given repository. * Remove unnecessary filtering of issues. * Return 404 error if invalid repository is given. * Use correct number of issues in paginater. * fix issues on dashboard
* feat: Able to disable non-admin to create new organization (#927)Bo-Yi Wu2017-02-141-0/+2
|
* feat: support search bar on star tab of user profile. (#917)Bo-Yi Wu2017-02-144-12/+14
| | | | | | | | | | | | | | * feat: support search bar on star tab of user profile. * fix: update testing. * fix: Using loadAttributes * fix: remove empty line. * remove LOWER Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Markdown rendering overhaul (#186)Andrew Boyarshin2017-02-143-3/+25
| | | | | | | | | | | | * 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: add git version on admin panel. (#921)Bo-Yi Wu2017-02-131-0/+5
|
* Implement basic Open Graph support. (#901)Andrew2017-02-111-0/+24
|
* Bug fixed for deleted label in issue comment (#904)Lunny Xiao2017-02-111-8/+10
| | | | | | * bug fixed for deleted label in issue comment * fix indent
* Add delete branch track on pull request comments (#888)Lunny Xiao2017-02-111-0/+10
| | | | | | * add delete branch track on pull request comments * don't change vendor
* feat: fill in ssh key title automatically. (#863)Bo-Yi Wu2017-02-091-2/+2
|
* Allow rendering alerts in dashboard (#856)Sandro Santilli2017-02-081-0/+1
| | | NOTE: useful when logging in via OpenID and connecting to user
* show tags on dashboard issues (#860)Lunny Xiao2017-02-071-0/+4
|
* social_register_hepler_msg -> social_register_helper_msg (#855)Sandro Santilli2017-02-071-1/+1
| | | | | | * social_register_hepler_msg -> social_register_helper_msg * register_hepler_msg -> register_helper_msg
* feat: support paginater on star tab of user profile. (#845)Bo-Yi Wu2017-02-072-4/+5
|
* Fixes #794 by moving emoji tag to the correct span (#848)Stephen Brown2017-02-061-2/+2
| | | Signed-off-by: Stephen Brown <steve@evolvedlight.co.uk>
* Add checkbox to search for all the branches by commit message (#813)Zsombor2017-02-051-0/+1
| | | and updating the vendor directory
* track issue title changes (#841)Lunny Xiao2017-02-051-0/+10
|
* Redirects for renamed repos (#807)Ethan Koenig2017-02-051-1/+1
| | | | | | * Redirects for renamed repos * Remove unused phrase from locales
* Add units concept for modulable functions of a repository (#742)Lunny Xiao2017-02-042-21/+41
| | | | | | | | | | | | | | | | * Add units concept for modulable functions of a repository * remove unused comment codes & fix lints and tests * remove unused comment codes * use struct config instead of map * fix lint * rm wrong files * fix tests
* feat: Add search bar on user profile page. (#787)Bo-Yi Wu2017-02-041-0/+1
|
* Track assignee for issue (#808)Lunny Xiao2017-02-031-0/+13
| | | | | | | | * track assignee for issue * fix lint * use getUserByID instead Get
* add milestone changed traker on issue view (#804)Lunny Xiao2017-02-011-1/+10
|
* Track labels changed on issue view & resolved #542 (#788)Lunny Xiao2017-01-301-1/+10
| | | | | | * 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-302-4/+8
|
* Small UI fixesAndrey Nering2017-01-281-2/+4
|
* Fix color: closed PR was showing as purple instead of redAndrey Nering2017-01-281-4/+8
|
* Add ability to fork your own repos (#761)Bwko2017-01-261-1/+1
|
* Fix to reflect selected branch for fork (#762)Bwko2017-01-261-1/+1
| | | | PullRequestCtx.HeadInfo did not contain the current selected branch causing issue #304
* refactor: move js to bottom and move css to top. (#689)Bo-Yi Wu2017-01-252-38/+48
|
* Search bar for issues/pulls (#530)Ethan Koenig2017-01-253-22/+36
|
* Add option to app.ini to enable local import paths (#724)Bwko2017-01-231-1/+1
|
* add scroolbars to wide graphs. (#608)Kjell Kvinge2017-01-221-1/+1
| | | | | | * Add scrollbars to graph and revlist if needed. * Add border
* Fix: Pagenation on dashboard->issues does not work well (#698)Kazuki Sawada2017-01-191-3/+3
|
* Notifications: trying to get a better layout (#660)Andrey Nering2017-01-182-70/+75
| | | | | | | | | | | | | | * i18n button titles * Improvements on notification page layout * Notification count badge fixes * Make table <tr> clickable * Fix octicon aligment * Fix use of AppSubUrl
* Two factor authentication support (#630)Andrew2017-01-165-0/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | * Initial commit for 2FA support Signed-off-by: Andrew <write@imaginarycode.com> * Add vendored files * Add missing depends * A few clean ups * Added improvements, proper encryption * Better encryption key * Simplify "key" generation * Make 2FA enrollment page more robust * Fix typo * Rename twofa/2FA to TwoFactor * UNIQUE INDEX -> UNIQUE