aboutsummaryrefslogtreecommitdiff
path: root/models
Commit message (Collapse)AuthorAge
...
* #3417 wrong dashboard issue count for create by youUnknwon2016-08-09
|
* Add committer information to API and Webhooks. Also fixes #3271 (#3414)lstahlman2016-08-09
|
* #2907 Add commit timestamp to webhookUnknwon2016-08-09
|
* #3091 add config option for Git GCUnknwon2016-08-09
|
* Fix for #3401 Links of pull request comment email should use pulls URL (#3403)lstahlman2016-08-08
|
* #2825 early response 200 when ?go-get=1Unknwon2016-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
* #3393 fix missing sub-url prefix in relative avatar linkUnknwon2016-08-07
|
* Improve diff highlight (#3390)Andrey Nering2016-08-07
| | | | | | - Try to reduce memory allocations - Add possibility to disable diff highlight (can improve performance for large diffs) - Tweaking with cost for prettier (cleaner) diffs - Do not calculate diff when the number of removed lines in a block is not equal to the number of added lines (this usually resulted in ugly diffs)
* Fix #3315: Release dont use tag creation date (#3374)Thibault Meyer2016-08-06
| | | | | | | | | | * Fix #3315: Release dont use tag creation date * Simplify code and apply gofmt * remove useless block (ctx.Repo.GitRepo.GetTag) on EditReleasePost * apply gofmt on modified files
* #3348 always use relative avatar link in the templateUnknwon2016-08-05
|
* #3290 better code structure and batch minor improvementsUnknwon2016-08-03
|
* Additional API support for labels (#3290)lstahlman2016-08-03
| | | | | | | | | | * Add API support for labels. * Error handling for adding/replacing multiple issue labels * Revisions to function names and error handling. Use issue.ClearLabels in replace/clear functions * Additional code cleanup
* #3345 dump content directly to HTTP ResponseWriterUnknwon2016-07-30
|
* Diff patch (#3345)Dennis Chen2016-07-30
| | | | | | | | | | | | | | | | * Add support for .diff and .patch Add the ability to get text-diff and format-patch by adding .diff or .patch in the end of a commit url. Issue #2641 * models: git_diff: various fixes * Renames commitId to commitID. * Writes stderr to a bytes.Buffer and displays proper error message on command failure. * Various style changes. Signed-off-by: Dennis Chen <barracks510@gmail.com>
* models/release: Update Sha1 if tag already exists (#3331)마누엘2016-07-28
| | | | | | Since the release struct is initialized with the current `HEAD` of the current `release.Target` the commit id has to be updated if the tag commit already exists. Otherwise the linked commit on the release page will target the current `HEAD` at release time.
* #3327 fix wrong table name in JoinUnknwon2016-07-26
|
* #3281 fix x.Iterate returns nothing inside session scope with SQLite3Unknwon2016-07-26
|
* models/ssh_key: code cleaningUnknwon2016-07-26
|
* #1601 support delete issue commentUnknwon2016-07-26
|
* Add org.getUserTeams to reduce redundant codeUnknwon2016-07-24
|
* #1384 add pagination for repositoriesUnknwon2016-07-24
|
* Refactor User.Id to User.IDUnknwon2016-07-24
|
* Use struct for UI settingsUnknwon2016-07-24
|
* Remove redundant Unix timestamp method callUnknwon2016-07-23
| | | | Unix() already uses UTC as timezone
* conf: change default mirror checking interval to 10mUnknwon2016-07-23
|
* #2903 use different reversed words and patterns for repository and userUnknwon2016-07-23
|
* #3066 fix create organization ignores full name propertyUnknwon2016-07-23
|
* #3157 create user path before rename repository while transferUnknwon2016-07-23
| | | | os.Rename does not create parent directory automatically when not exist
* #3076 detect invalid tag name git errorUnknwon2016-07-23
|
* add IsSubmodule field to DiffFile and hide view file button on diff page for ↵Siarhei Navatski2016-07-23
| | | | submodules (#3097)
* avatar: make custom and generated avatars equal (#3301)Dennis Chen2016-07-21
| | | | | | Sets all avatars to use PNG image format. Keeps avatars consistent at 290x290px resolution. Signed-off-by: Dennis Chen <barracks510@gmail.com>
* #3291 fix SQLite3 session read/update conflict on create new issueUnknwon2016-07-21
|
* #3295 fix wrong logic judgementUnknwon2016-07-21
|
* Updated Issues and Issues Stats functions to include table aliases. This ↵lstahlman2016-07-17
| | | | addresses errors involving ambiguous column references when filtering issues by the view type "Mentioning you". (#3269)
* models/webhook: restrict deletion to be explicitly with repo and org IDUnknwon2016-07-17
|
* #2937 able to prohibit user loginUnknwon2016-07-16
|
* models/user_mail: refactor EmailAddressUnknwon2016-07-16
|
* Return avatar link as absolute url (#3235)Sandro Santilli2016-07-16
| | | | | Fixes relative urls coming from api/v1 See https://github.com/drone/drone/issues/1701
* #3274 fix can't get webhook detail of organizationUnknwon2016-07-16
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-16
|
* models/repo: remove redundant info for some repo methodsUnknwon2016-07-15
| | | | RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
* Ignore Response Body for Slack Hooks #3169 (#3256)Kim Carlbäcker2016-07-15
|
* #2709 validate username attribute fetched from LDAPUnknwon2016-07-12
|
* #2375 preserve cases for action contentUnknwon2016-07-09
|
* Minor fix for #3246Unknwon2016-07-09
|
* The pruning for the synchronized mirrors is a option now. Default value: ↵Pablo Saavedra2016-07-09
| | | | | | | | | | | | | enable_prune = true (#3246) Executed go fmt getEngine() not handles DB parameters (#2972) (#2974) Uses .AllCols() for Update in updateMirror() Spanish traslation removed Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
* Modify behaviour of repo-delete. (#3232)Pheng Heong TAN2016-07-09
| | | | | | | | | | Re: issues gogits/gogs#2863 and gogits/gogs#3231 As a result of modifications to the contents of the conf folder, `make bindata` was run, causing an update to bindata.go. Meta ----- This commit will be rebased onto the 'develop' branch.
* #3057 retrieve webhook with repo_idUnknwon2016-07-08
| | | | | This prevents user retrieve arbitrary webhook by changing URL to access webhook from other unauthorized repositories.
* #3229 disallow repository name . and ..Unknwon2016-07-08
| | | | Since . and .. has browser automatical behaviors, we need to disallow those names.