aboutsummaryrefslogtreecommitdiff
path: root/routers/user
Commit message (Collapse)AuthorAge
* Refactoring: rename package routers -> routesUnknwon2017-06-11
|
* Refactoring: rename ctx -> cUnknwon2017-06-03
|
* user/setting: simplify codeUnknwon2017-04-07
|
* Refactoring: rename Signed -> LoggedUnknwon2017-04-06
|
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* Refactoring: rename and simplify pkg/tool functionsUnknwon2017-04-06
|
* 2fa: initial support (#945)Unknwon2017-04-06
|
* user/setting: reorder navbarUnknwon2017-04-05
|
* Refactoring: remove tool.TplNameUnknwon2017-04-05
|
* Refactoring: rename pkg/base -> pkg/toolUnknwon2017-04-05
|
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* user/setting: preserve user input with validation error (#1123)Unknwon2017-03-30
|
* cmd/web: fix routes requires sign in (#4359)Unknwon2017-03-30
| | | | | Redirect user to sign in page when visit private repository with public issues if user want to post comment or create new issue.
* org/dashboard: fix wrong repository count (#4351)Unknwon2017-03-28
| | | | Should not include count for inaccessible repositories.
* user/settings: fix bad error handle of leave organizationUnknwon2017-03-25
|
* user/settings: complete repositories panel (#4312)Unknwon2017-03-23
|
* user/settings: add repositories panel (#4312)Rob Richards2017-03-23
| | | | | | | * Add Repositories panel to user settings issue #4277 * modified personal repo settings format
* api/repo: fix incorrect permission values (#4309)Unknwon2017-03-18
|
* setting: add login status cookie (#2885)Unknwon2017-03-16
| | | | Added config options EnableLoginStatusCookie and LoginStatusCookieName under section '[security]'.
* dashboard/feeds: able to load more history (#2511)Unknwon2017-03-16
|
* setting: able to config dashboard news feed paging number (#4247)Unknwon2017-03-16
|
* models: rename ErrUserNotExist -> errors.UserNotExistUnknwon2017-03-16
|
* refactoring: modules/auth/*_form.go -> modules/formUnknwon2017-02-27
|
* models/access: hasAccess only need userID not user objectUnknwon2017-02-23
|
* user/profile: paging doesn't respect private repository count (#4082)Unknwon2017-02-15
|
* cookie: enhance cookie security (#3525)Unknwon2017-02-14
|
* auth: remove MD5 for secure cookie secret (#4117)Unknwon2017-02-13
| | | | Update vendor accordingly
* auth: few security improvementsUnknwon2017-02-11
|
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* Move models/mail.go to modules/mail.goUnknwon2017-01-30
| | | | To use interface to replace *models.User in avoiding cycle import.
* Add 'Organizations' page to user settings (#3587)Unknwon2017-01-27
| | | | User is now able to view full list of organizations belongs to.
* Setting orgs (#3587)Rémy Boulanouar2017-01-27
| | | | | | | | | | | | * Implement organizations listing in setting and allow user to create new organization. * Implement organizations listing in setting and allow user to create new organization. * Add space remove by mistake * Remove unused part of the template * Update display and behavior according to @Unknown remarks
* Fix dashboard issues/pull request countingUnknwon2016-12-27
|
* Fix dashboard issue/pull request scopingUnknwon2016-12-27
|
* Minor code fix for PR #3560Unknwon2016-12-27
|
* Fix assigned/created issues in dashboard. (#3560)hgaiser2016-12-27
| | | | | | | | | | | | | | | | | | * 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.
* Some code renamingUnknwon2016-12-22
|
* Fix vulnerabilities reported in #3959Unknwon2016-12-22
|
* Fix random string generator (#3953)leonklingele2016-12-21
| | | | | | | | * Remove unused custom-alphabet feature of random string generator * Fix modulo-biased random string generator * Random string generator should return error if it fails to read random data via crypto/rand
* Prevented user enumeration of valid users through HTTP status codes of login ↵LefsFlare2016-10-16
| | | | (#3639) (#3654)
* router/repo: code refactoringUnknwon2016-08-30
|
* #3448 redirect if any after sign inUnknwon2016-08-27
|
* Fix for #3410 overall issues for organisations is limited to num_repos from ↵lstahlman2016-08-09
| | | | the user (#3412)
* Add support for federated avatars (#3320)Sandro Santilli2016-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-05
| | | | issues
* #3348 always use relative avatar link in the templateUnknwon2016-08-05
|
* #1384 add pagination for repositoriesUnknwon2016-07-24
|
* Refactor User.Id to User.IDUnknwon2016-07-24
|
* Use struct for UI settingsUnknwon2016-07-24
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-16
|