summaryrefslogtreecommitdiffstats
path: root/routers/user
Commit message (Collapse)AuthorAgeFilesLines
...
* Search bar for issues/pulls (#530)Ethan Koenig2017-01-251-2/+3
|
* Notifications: trying to get a better layout (#660)Andrey Nering2017-01-181-2/+2
| | | | | | | | | | | | | | * 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-162-8/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* docs: update translation on notification page for zh-CN (#649)xgitea2017-01-131-1/+1
| | | | | | * docs: update translation on notification page for zh-CN * use international resources
* Notifications: mark as read/unread and pin (#629)Andrey Nering2017-01-121-1/+34
| | | | | | | | | | * 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-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* Add pagination for notificationsAndrey Nering2017-01-031-3/+25
|
* Do not get count on /api routersAndrey Nering2017-01-021-0/+5
|
* Notifications - Step 2Andrey Nering2016-12-302-1/+54
|
* Tab on user profile to show starred repos (#519)Andrey Nering2016-12-291-5/+8
| | | | | | | | | | | | | | * Tab on user profile to show starred repos * Make golint happy and use transactions on StarRepo function * x -> sess * Use sess.Close() instead of sess.Rollback() * Add copyright * Fix lint
* Added minimum password length to app.ini (#223)Bwko2016-12-241-3/+8
|
* Bug fixes for Issues filters (#413)Ethan Koenig2016-12-241-1/+0
| | | Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
* resolved #394 (#396)Lunny Xiao2016-12-231-0/+3
|
* Fix random string generator (#384)Denis Denisov2016-12-202-4/+19
| | | | | | | | | | | * Remove unused custom-alphabet feature of random string generator Fix random string generator Random string generator should return error if it fails to read random data via crypto/rand * Fixes variable (un)initialization mixed assign Update test GetRandomString
* fixed vulnerabilities (#392)Lunny Xiao2016-12-151-2/+2
|
* Fixes typosBwko2016-11-272-2/+2
|
* Golint fixed for modules/setting (#262)Lunny Xiao2016-11-273-39/+39
| | | | | | * golint fixed for modules/setting * typo fixed and renamed UNIXSOCKET to UnixSocket
* golint fixed for parts of routers root, dev, user and org dirs (#167)Lunny Xiao2016-11-184-71/+113
| | | | | | | | * golint fixed for parts of routers root, dev and org dirs * add user/auth.go golint fixed * rename unnecessary exported to unexported and user dir golint fixed
* Normalize files with gofmtThibault Meyer2016-11-111-2/+2
|
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-104-21/+21
| | | | | | | - 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
* Support to last login featureJoubert RedRat2016-11-091-0/+7
|
* moreSandro Santilli2016-11-071-1/+1
|
* More MixedCase constsSandro Santilli2016-11-071-4/+4
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-034-21/+21
|
* Prevented user enumeration of valid users through HTTP status codes of login ↵LefsFlare2016-10-161-2/+4
| | | | (#3639) (#3654)
* router/repo: code refactoringUnknwon2016-08-301-1/+1
|
* #3448 redirect if any after sign inUnknwon2016-08-271-1/+8
|
* Fix for #3410 overall issues for organisations is limited to num_repos from ↵lstahlman2016-08-091-1/+1
| | | | the user (#3412)
* Add support for federated avatars (#3320)Sandro Santilli2016-08-071-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Ignore repository with issue disabled or use external tracker in dashboard ↵Unknwon2016-08-051-1/+2
| | | | issues
* #3348 always use relative avatar link in the templateUnknwon2016-08-051-1/+1
|
* #1384 add pagination for repositoriesUnknwon2016-07-242-55/+71
|
* Refactor User.Id to User.IDUnknwon2016-07-244-36/+41
|
* Use struct for UI settingsUnknwon2016-07-241-1/+1
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-162-13/+11
|
* Fix XORM IN condition table name parseUnknwon2016-03-271-1/+1
|
* Merge pull request #2823 from zacheryph/feature/local-only-password-resetUnknwon2016-03-141-0/+6
|\ | | | | Prevent `Forgot Password` for non local users
| * ensure we don’t try changing LDAP passswordsZachery Hostens2016-03-141-0/+6
| |
* | #1692 add CRUD issue APIsUnknwon2016-03-131-5/+0
| | | | | | | | | | - Fix go-gogs-client#10 - Related to #809
* | #1891 attempt to fix invalid csrf tokenUnknwon2016-03-121-0/+6
| |
* | Rename module: middleware -> contextUnknwon2016-03-114-49/+89
|/
* readd 'dashboard' to titleAlec S2016-03-101-1/+1
|
* Merge branch 'develop' of github.com:gogits/gogs into developAlec S2016-03-091-4/+13
|\
| * Allowing site admins to view private repositories in org/homeJan Christophersen2016-03-081-4/+13
| |
* | fix indentationAlec S2016-03-091-1/+1
| |
* | Remove dashboard keyword from titleAlec S2016-03-091-1/+1
| |
* | change page titles for user and org dashesAlec S2016-03-091-2/+2
|/
* Added: Ability to delete org avatar.Tamás Molnár2016-03-061-6/+3
|
* #1157 some avatar setting changesUnknwon2016-03-051-9/+27
| | | | - Allow to delete current avatar
* Fix panic when view profile without signinUnknwon2016-02-191-1/+1
| | | | Also fix that no matter who, still able to see organizations with private membership.