summaryrefslogtreecommitdiffstats
path: root/templates/user
Commit message (Collapse)AuthorAgeFilesLines
* Center-aligned login topbar (#1880)Ethan Koenig2017-06-062-2/+2
| | | | | | * Center-aligned login topbar * Center-align OpenID login
* Display all organization from user settings (#1739)Rémy Boulanouar2017-06-022-0/+38
| | | | | | | | | | | | | | * Display all organization from user settings * fix Tab selection * Update locale_en-US.ini * Add a condition for display Create organization button * Remove french translation * Remove unnecessary admin flag
* xxx_active_code_live setting in printed in hours and minutes instead … (#1814)Jonas Östanbäck2017-05-292-3/+3
| | | | | | * xxx_active_code_live setting in printed in hours and minutes instead of just hours * Update app.ini description of xxx_code_lives settings
* Merge pull request #1750 from andreynering/dashboard-search-org-reposAndrey Nering2017-05-271-23/+0
|\ | | | | More fixes for dashboard search
| * Remove colaborative repo panelAndrey Nering2017-05-181-23/+0
| |
* | Fix invalid reference in feeds template (#1820)Ethan Koenig2017-05-271-1/+1
| | | | | | | | | | | | | | | | * Fix invalid reference in feeds template * Comment for GetActAvatar * Add integration test
* | Make side nav on dashboard stackable (#1778)Patrick G2017-05-231-1/+1
|/
* Change two factor code entry box from text to number (#1733)Patrick G2017-05-161-1/+1
|
* Add new text for reset password flash (#1718)Jonas Östanbäck2017-05-141-1/+1
| | | | | * Forgot password should use ResetPwdCodeLives, not ActiveCodeLives * Improve documentation for different send mail functions related to password reset * Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
* Hide the create organization button (in dashboard/organization section) (#1705)Jun Hsieh ♞2017-05-121-0/+2
| | | when the user has no such permission.
* Improve dashboard repo search (#1652)Andrey Nering2017-05-091-22/+20
| | | | | | | | | | * Add VueJS * Improve dashboard search * Fix tab switching * Fix input autofocus
* Additional OAuth2 providers (#1010)Willem van Dreumel2017-05-012-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add google+ * sort signin oauth2 providers based on the name so order is always the same * update auth tip for google+ * add gitlab provider * add bitbucket provider (and some go fmt) * add twitter provider * add facebook provider * add dropbox provider * add openid connect provider incl. new format of tips section in "Add New Source" * lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow) * imports according to goimport and code style * make it possible to set custom urls to gitlab and github provider (only these could have a different host) * split up oauth2 into multiple files * small typo in comment * fix indention * fix indentation * fix new line before external import * fix layout of signin part * update "broken" dependency
* Handle display of GPG key without end date (#1628)Antoine GIRARD2017-04-281-2/+2
|
* fix #1521 (#1621)Lunny Xiao2017-04-271-1/+1
|
* Rework SSH key management UI to add GPG (#1293)Antoine GIRARD2017-04-265-76/+148
| | | | | | | | | | | | | | | | | | | | | | | * Rework SSH key management UI to add GPG * Add more detail to gpg key display * Update CHANGELOG.md * Implement deletion UI * Implement adding gpg UI * Various fixes - Fix duplicate entry in locale - Re-generate hash before verification since they are consumed * Add missing translation * Split template * Catch not found/verified email error
* Autofocus on 2fa passcode fields (#1460)Jonas2017-04-072-2/+2
| | | | | | * Autofocus on 2fa passcode field * Autofocus on 2fa scratch code field
* Simplify settings pages with item list (#1389)Antoine GIRARD2017-03-305-67/+57
| | | | | | | | | | * Remove point column on ssh key setting page * Remove un-used css * Some cleaning * Use octicon-key
* Changed text when password reset disabled. (#1364)Jonas2017-03-221-1/+1
| | | Fixes #1340
* Reduce conditionals in signin/signup inner formsSandro Santilli2017-03-202-3/+3
| | | | by always using SignInLink and SignUpLink in the form action
* Show user OpenID URIs in their profile (#1314)Sandro Santilli2017-03-202-0/+26
|
* Add captcha support to OpenID based signupSandro Santilli2017-03-201-0/+10
|
* Use readonly input form to show the validated OpenID URI (#1308)Sandro Santilli2017-03-202-12/+4
|
* Use font-awesome OpenID icon more (#1320)Sandro Santilli2017-03-192-3/+4
|
* Fix inconsistency in layout (#1316)Patrick G2017-03-181-36/+32
|
* Login via OpenID-2.0 (#618)Sandro Santilli2017-03-1710-51/+296
|
* Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)Patrick G2017-03-1511-417/+374
|
* Rename /forget_password url to /forgot_passwordSandro Santilli2017-03-144-5/+5
| | | | | | | | | Also renames `forgot_password` translation key to `forgot_password_title` and `forget_password` to `forgot_password` Includes entry in CHANGELOG about the breaking change (and some markdown fixes in there)
* Show a link to password reset from password change and delete account (#862)Sandro Santilli2017-03-112-0/+4
| | | | | | | It's helpful when you forgot your password thus cannot change it (can happen if you log in via OAuth2 or OpenID) Also make sure that both the delete-account and password-change links to forgot-password will have the primary email pre-filled
* Oauth2 consumer (#679)Willem van Dreumel2017-02-228-97/+185
| | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* 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 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: support search bar on star tab of user profile. (#917)Bo-Yi Wu2017-02-141-0/+1
| | | | | | | | | | | | | | * 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>
* 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-071-0/+1
|
* feat: Add search bar on user profile page. (#787)Bo-Yi Wu2017-02-041-0/+1
|
* feat: add search repository on dashboard. (#773)Bo-Yi Wu2017-01-301-4/+7
|
* Small UI fixesAndrey Nering2017-01-281-2/+4
|
* Fix color: closed PR was showing as purple instead of redAndrey Nering2017-01-281-4/+8
|
* 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-181-69/+74
| | | | | | | | | | | | | | * 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
* Notifications: mark as read/unread and pin (#629)Andrey Nering2017-01-121-22/+54
| | | | | | | | | | * Use relative URLs * Notifications - Mark as read/unread * Feature of pinning a notification * On view issue, do not mark as read a pinned notification
* Add Keep email private (see issue #571). (#571)derSuessmann2017-01-082-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Add site-wide option DEFAULT_KEEP_EMAIL_PRIVATE. - Add the new option to the install and admin/config pages. - Add the new option to app.ini in the service section. - Add the new option to the settings struct. - Add English text strings to i18n. - Add field KeepEmailPrivate to user struct. - Add field KeepEmailPrivate to user form. - Add option to UI. - Add using noreply email address if user has "Keep Email Private". An email address <LowerName>@<NO_REPLY_ADDRESS> is now used in commit messages (and hopefully all other git log relevant places). The change relies on the fact that git commands should use user.NetGitSig(). - Add hiding of email address in UI, if user has set "Keep Email Private". - Add condition to show email address only on explore/users and user pages, if user has not set "Keep Email Private". - Add noreply email in API if set "Keep Email Private". - Add a new service setting NO_REPLY_ADDRESS. The value of this setting is used as the domain part for the user's email address in git log, iff he decides to keep his email address private. If the user decides to keep his email address private and this option is not set 'noreply.example.org' is used, which no MTA should send email to. Add NO_REPLY_ADDRESS to conf/app.ini.
* Merge pull request #539 from andreynering/notifications-step-2Andrey Nering2017-01-051-0/+70
|\ | | | | Notifications - Step 2
| * Add pagination for notificationsAndrey Nering2017-01-031-2/+4
| |
| * Showing index in front of issue titleAndrey Nering2017-01-021-1/+1
| |
| * Notifications - Step 2Andrey Nering2016-12-301-0/+68
| |