summaryrefslogtreecommitdiffstats
path: root/templates/user/settings
Commit message (Collapse)AuthorAgeFilesLines
* Two factor authentication support (#630)Andrew2017-01-163-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add Keep email private (see issue #571). (#571)derSuessmann2017-01-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* Fixes xss, clickjacking & password autocompletionBwko2016-11-291-4/+4
|
* #3320 code cleanupUnknwon2016-08-071-2/+2
|
* Add support for federated avatars (#3320)Sandro Santilli2016-08-073-26/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for federated avatars Fixes #3105 Removes avatar fetching duplication code Adds an "Enable Federated Avatar" checkbox in user settings (defaults to unchecked) Moves avatar settings all in the same form, making local and remote avatars mutually exclusive Renames UploadAvatarForm to AvatarForm as it's not anymore only for uploading * Run gofmt on all modified files * Move Avatar form in its own page * Add go-libravatar dependency to vendor/ dir Hopefully helps with accepting the contribution. See also #3214 * Revert "Add go-libravatar dependency to vendor/ dir" This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82. * Make federated avatar setting a global configuration Removes the per-user setting * Move avatar handling back to base tool, disable federated avatar in offline mode * Format, handle error * Properly set fallback host * Use unsupported github.com mirror for importing go-libravatar * Remove comment showing life exists outside of github.com ... pity, but contribution would not be accepted otherwise * Use Combo for Get and Post methods over /avatar * FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR * Fix persistance of federated avatar lookup checkbox at install time * Federated Avatars -> Enable Federated Avatars * Use len(string) == 0 instead of string == "" * Move import line where it belong See https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md Pity the import url is still the unofficial one, but oh well... * Save a line (and waste much more expensive time) * Remove redundant parens * Remove an empty line * Remove empty lines * Reorder lines to make diff smaller * Remove another newline Unknwon review got me start a fight against newlines * Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE On re-reading the diff I figured what Unknwon meant here: https://github.com/gogits/gogs/pull/3320/files#r73741106 * Remove newlines that weren't there before my intervention
* #1157 some avatar setting changesUnknwon2016-03-051-2/+2
| | | | - Allow to delete current avatar
* #2154 disable change user for non-local usersUnknwon2015-12-111-2/+7
| | | | - #2153 remove require for gravatar
* #1938 #1374 disable password change for non-local usersUnknwon2015-12-101-0/+6
|
* Indent all templates with tabsAdam Strzelecki2015-12-087-369/+369
| | | | | | | | | | | | This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
* fix #2101Unknwon2015-12-041-4/+0
|
* drop oauth2 feature supportUnknwon2015-09-173-54/+0
|
* finish all new user settings UIUnknwon2015-09-103-94/+103
|
* new user profile settings UIUnknwon2015-09-062-89/+72
| | | | Signed-off-by: Unknwon <u@gogs.io>
* finish new org settings pageUnknwon2015-09-061-12/+3
|
* add webhook recent deliveriesUnknwon2015-08-272-2/+2
|
* add confirmation to delete ssh keyUnknwon2015-08-202-58/+89
|
* token recent activityUnknwon2015-08-191-1/+1
|
* fix access token styleUnknwon2015-08-191-1/+1
|
* new access token UIUnknwon2015-08-191-51/+80
|
* new delete account UI and password confirmationUnknwon2015-08-192-31/+75
|
* #334: Add Deployment Key SupportUnknwon2015-08-061-1/+1
|
* fix #1156Unknwon2015-03-261-3/+1
|
* #1098 Hide gravatar email field if gravatar is disabled (or offline mode)Unknwon2015-03-241-0/+2
|
* templates/user/settings/emial.tmpl: little fix on UIUnknwon2015-02-211-3/+3
| | | | | - routers/user: little code format - conf/locale: update French locale
* Remove the "PHP" style formatting functionPeter Smit2015-02-163-3/+3
| | | | | | The "PHP" formatting function doesn't add anything, except an undocumented date format. All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
* public/ng/css: code fix on #895Unknwon2015-02-032-2/+2
| | | | - templates/user/settings: fix email panel nav highlight
* fix settings/email html&cssAlexey Makhov2015-02-031-7/+9
|
* Fix #799 by adding a tooltip for all dates in all settings/panelsPeter Smit2015-01-023-3/+3
|
* Forgot to i18n "Primary"Peter Smit2014-12-221-1/+1
|
* Create English locale keys for multiple e-mails featurePeter Smit2014-12-221-2/+2
| | | | | Also, change all current 'emails' to 'e-mails'. Still todo: some CSS for the user/settings/email page, but that is not my specialty
* Finish method for having multiple emails/user.Peter2014-12-172-0/+59
| | | | | All basics are implemented. Missing are the right (localized) strings and the page markup could have a look at by a frontend guy.
* fix #675Unknwon2014-11-271-1/+1
|
* more on change avatarUnknwon2014-11-211-2/+7
|
* custom avatar uploadUnknwon2014-11-211-43/+57
|
* add personal access token panel #12Unknwon2014-11-123-3/+62
|
* work on #616 and update localesUnknwon2014-11-101-1/+1
|
* UI: Confirmation boxUnknwon2014-09-282-4/+11
|
* Add modal to change usernameUnknwon2014-09-261-1/+8
| | | | Signed-off-by: Unknwon <joe2010xtmf@163.com>
* Add suburl supportUnknwon2014-09-196-11/+11
|
* Allow Gogs to run from a suburl behind a reverse proxy. e.g. ↵Martin van Beurden2014-09-186-11/+11
| | | | | | | | | | | | | | http://mydomain.com/gogs/ Conflicts: modules/setting/setting.go Conflicts: templates/repo/release/list.tmpl templates/user/dashboard/dashboard.tmpl Conflicts: routers/repo/setting.go
* UI fixUnknwon2014-09-131-0/+4
|
* Finish new admin users pagesUnknwon2014-08-291-1/+1
|
* Mirror issue fixUnknwon2014-08-272-19/+0
|
* Page: Manage social accountsUnknwon2014-08-091-2/+17
|
* Finish new web hook pagesUnknwon2014-08-091-1/+1
|
* Finish new hooks list pageUnknwon2014-08-092-20/+22
|
* Huge updates!!!!! Be careful to merge!!!!Unknwon2014-07-262-0/+19
|
* New UI merge in progressUnknwon2014-07-266-0/+206