aboutsummaryrefslogtreecommitdiff
path: root/templates/user
Commit message (Collapse)AuthorAge
* auth: coding style and glitches fixes for GitHub login source (#5340)Unknwon2018-12-18
|
* templates: rename template function Str2html -> Str2HTMLUnknwon2018-12-10
|
* templates: make state changing routes to POST method (#5541)Unknwon2018-12-06
| | | | - pkg/context: add ParamsUser to unify the injection process
* templates/user/dashboard: include 'org' query parameter in new mirror URL ↵Samuel Cochran2018-11-29
| | | | (#5534)
* templates/user/profile: added rel="me" to website link on user profile (#5485)Federico Culloca2018-11-12
| | | | | | | | * Added rel="me" to website link on user profile See issue #5008 * Added `nofollow` as per feedback
* auth: support set default login source (#5274)Unknwon2018-09-13
|
* login_source: add default authentication switch (#5338)haixunlu2018-09-13
| | | | | | | | | | | | | | | * Add default Authentication Switch. * adjust the code accroding to reviews * #1. Remove redudant logic. #2, Fix a bug in "Edit" panel. * Remove unused logic * Fix local authentication files are not flushed. * refactor according to review.
* templates: hide dashboard org creation when not allowed (#5393)Jakob Lykke Andersen2018-09-11
| | | | | The admin -> DISABLE_REGULAR_ORG_CREATION setting hides organization creation in the header, but not in the dashboard.
* templates: add 'rel=noopener noreferrer' to <a> tags (#5319)cezar972018-07-02
| | | Signed-off-by: cezar97 <cezar97@protonmail.com>
* repo: add changes to repository avatar feature (#5221)Unknwon2018-06-17
|
* repo: support avatars (#5221)Sergey Dryabzhinsky2018-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First code for repository avatars * Last code for repository avatars - add new option for repo avatars location on filesystem - add route catch in web - add new fields to repo model - add migration - update settings handlers - update repo header template * Update locale messages * Add repo avatars to home page * Add repo avatars to organization right panel * Show repo avatars in repo list * Remove AvatarEamil field, remove Gravatar support, use generic locale messages * Fix migration * Fix seed and not used tool * Revert public css changes, add them to less files * Latest lessc (2.6.0) don't put result into file but output to stdout So redirect output to file * Simplify things: - migration don't needed, and table changes too - just upload file to repo avatar storage - or generate random image * Fix repo image seed - name not unique * Get rid of not needed model fields * Class value is enough, remove height attribute * Don't generate random avatar for repository - use html and semantic ui icons if no avatar found * Update styles and templates for repo - use repo icon as default avatar - use globe icon for public repos - add micro style for repo avatars at dashboard * Remvoe redundant empty line * Fix nl2br filter - must return string * Fix css style for micro-repo-avatar in dashboard list * Remove `|len`, works fine w/o it. * Update after review 2: - use static route for repository avatar - format images settings block in settings * Update after review 2: - no random avatar for repo * Update after review 2: - no random avatar for repo 2 - update imports - update UploadAvatar* functions * Update after review 2: - update templates * Fix trace call * Remove unused immport since we use static route for repo avatars.
* mirror: show sync feeds on dashboard (#2017)Unknwon2018-05-30
|
* templates/user/dashboard: make page more concise for user's ↵Michael Li2018-05-08
| | | | activity/issues/PR information (#5209)
* pkg/template: fix Gravatar URLs are badly generated (#5157)Unknwon2018-04-18
|
* auth: support authentication source config file (#3142)Unknwon2018-04-12
|
* templates/user/dashboard/issues: show labels to each issue (#4976)James2018-03-07
| | | | | | | | | | | | * add issue labels * remove hyperlink from issue label * wrap labels in right aligned span * put issues with div put the issue labels within a div so they don't interfere with the number of comments
* templates/user/auth/login: disable password autocomplete (#5068)Andres D2018-03-06
| | | As gogs can be linked with PAM it is recommended to disable the autocomplete on the password input.
* templates/user/settings: fix delete email button (#4998)Larry Li2018-03-06
|
* user/setting: improve UIUnknwon2017-04-07
|
* Refactoring: rename Signed -> LoggedUnknwon2017-04-06
|
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}Unknwon2017-04-06
|
* Refactoring: rename and simplify pkg/tool functionsUnknwon2017-04-06
|
* user/settings/security: add token description about 2FAUnknwon2017-04-06
|
* 2fa: initial support (#945)Unknwon2017-04-06
|
* Refactoring: rename pkg/base -> pkg/toolUnknwon2017-04-05
|
* css: font-family fixes for ChineseUnknwon2017-03-31
|
* user/setting: preserve user input with validation error (#1123)Unknwon2017-03-30
|
* org/dashboard: fix wrong repository count (#4351)Unknwon2017-03-28
| | | | Should not include count for inaccessible repositories.
* user/settings: minor input style fix (#4327)Unknwon2017-03-23
|
* 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
* user/settings: fix cannot change profile for non-local users (#4313)Unknwon2017-03-20
|
* user/dashboard: hide More button if reached end on first loadUnknwon2017-03-20
|
* dashboard/feeds: able to load more history (#2511)Unknwon2017-03-16
|
* security: fix vulnerability in changing usernameUnknwon2017-03-07
| | | | Reported by João Arnaut.
* templates/user/profile: fix link to avatar settings (#4251)Unknwon2017-03-06
|
* webhook: add fork eventUnknwon2017-02-27
|
* dashboard: add delete branch and tag news feedsUnknwon2017-02-27
|
* repo: able to perform initial commit on behave of actual userUnknwon2017-02-27
|
* settings: fix organization panel CSSUnknwon2017-02-18
|
* 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
|
* 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.
* Fix template nil errorUnknwon2016-08-14
|
* Fix template error [CI SKIP]Unknwon2016-08-14
|
* #3320 code cleanupUnknwon2016-08-07
|
* 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