summaryrefslogtreecommitdiffstats
path: root/routers
Commit message (Collapse)AuthorAgeFilesLines
* #3348 always use relative avatar link in the templateUnknwon2016-08-051-1/+1
|
* routers/api: rename handlers to be unexportedUnknwon2016-08-041-19/+19
|
* #2162 completely disable builtin issue tracker when enable external trackerUnknwon2016-08-042-2/+9
|
* #3290 better code structure and batch minor improvementsUnknwon2016-08-033-123/+52
|
* Additional API support for labels (#3290)lstahlman2016-08-034-1/+360
| | | | | | | | | | * 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-301-6/+5
|
* Diff patch (#3345)Dennis Chen2016-07-301-1/+10
| | | | | | | | | | | | | | | | * 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>
* routers/repo/release: Use correct branch reference (#3330)마누엘2016-07-271-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | When calculating the current behind commit count the calculation should use the current release target to get the total commit count. Should the release target not exist anymore the calculation will return zero for the newest release on that target. Older releases on that target will then use that calculated commit count as reference. The only use case that is now somehow invalid is when the release target was merged / deleted after a tag on that release target: master 1 - - - - - - - 6 \ / branch 2 - 3 - 4 - 5 When `4` is the last tag on branch `branch` and the branch `branch` is not yet deleted the calculated numbers would be: 1 commits to branch since this release Now if the branch `branch` gets deleted the calculation function will not find the branch and use the commit count of the newest release (`4`) as reference resulting in: 0 commit to branch since this release This fixes #3326
* Added Full Name to CreateUser api call (#3333)Richard Mahn2016-07-271-0/+1
|
* routers/repo/issue: remove redundant format stringUnknwon2016-07-261-13/+13
|
* #1601 support delete issue commentUnknwon2016-07-261-11/+26
|
* #1384 add pagination for repositoriesUnknwon2016-07-244-60/+76
|
* Refactor User.Id to User.IDUnknwon2016-07-2429-128/+133
|
* Use struct for UI settingsUnknwon2016-07-249-12/+12
|
* #2790 fix not detect diff style in pull request file changesUnknwon2016-07-231-0/+1
|
* #3181 detect situation when base branch is deleted in pull requestUnknwon2016-07-231-0/+8
|
* api: fix panic if anonymous user request admin APIUnknwon2016-07-231-1/+1
| | | | Add sign in check before check user account level
* #3076 detect invalid tag name git errorUnknwon2016-07-231-3/+6
|
* Refresh repository mirror from database when the repository's name has ↵lstahlman2016-07-171-0/+9
| | | | changed. (#3276)
* Update locales and .gopmfileUnknwon2016-07-172-1/+5
|
* models/webhook: restrict deletion to be explicitly with repo and org IDUnknwon2016-07-173-27/+13
|
* api: delete repository webhooks (#3275)Dennis Chen2016-07-172-3/+15
| | | | | | | | Allows the deletion of a webhook from a repository at the /:user/:repo/hooks/:id endpoint. Solves drone/drone issue #1603. Signed-off-by: Dennis Chen <barracks510@gmail.com>
* #2937 able to prohibit user loginUnknwon2016-07-161-0/+1
|
* #3274 fix can't get webhook detail of organizationUnknwon2016-07-163-3/+8
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-169-88/+17
|
* models/repo: remove redundant info for some repo methodsUnknwon2016-07-153-3/+3
| | | | RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
* Add timestamps to repository api response (#3255)lstahlman2016-07-121-0/+2
| | | Additional properties: created_at, updated_at
* [Fix] Don't display way too large files #1513 (#3253)Kim Carlbäcker2016-07-121-12/+18
| | | | | | | | | | * Add MaxDisplayFileSize setting * Don't show files that are too large * Localized FileTooLarge * Change IsFileTooBig => IsFileTooLarge
* Extend the API to include more repository properties (#3249)lstahlman2016-07-111-0/+5
| | | | Adds description, stars_count, forks_count, watchers_count and open_issues_count.
* The pruning for the synchronized mirrors is a option now. Default value: ↵Pablo Saavedra2016-07-091-0/+1
| | | | | | | | | | | | | 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
* #3057 retrieve webhook with repo_idUnknwon2016-07-082-2/+2
| | | | | This prevents user retrieve arbitrary webhook by changing URL to access webhook from other unauthorized repositories.
* Use SecurityProtocol to replace UseSSL in LDAP configUnknwon2016-07-081-16/+35
| | | | Initially proposed by #2376 and fixes #3068 as well.
* #3058 #3059 support correct page size and link headerUnknwon2016-07-042-8/+23
|
* Do not show filename not have suffifx .mdUnknwon2016-07-011-2/+2
|
* Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174)Andrey Nering2016-06-292-4/+8
|
* Fixes #3110 (#3136)Franz Schmidt2016-06-271-1/+1
|
* Minor fix for #3194Unknwon2016-06-271-1/+5
| | | | - Update locale bindata
* Include repository owner name and description in html title (#3194)Sandro Santilli2016-06-271-1/+1
| | | Closes #3192
* repo/http: clean codeUnknwon2016-06-011-258/+194
|
* #809 fix wrong closed issue count when create closed issue via APIUnknwon2016-05-271-1/+7
| | | | Add start count corrector for Repository.NumClosedIssues
* #809 able to set issue state to closed when createUnknwon2016-05-111-0/+1
|
* PDF-Previews in file-lists now working (#3000)Kim Carlbäcker2016-04-261-1/+3
|
* Made the issue stats query more secure with parameterized placeholders (#2895)Thomas Boerger2016-04-261-1/+1
|
* Support alphanumeric issue style (ABC-1234) for external issue tracker (#2992)Cosmin Stroe2016-04-221-0/+1
|
* Set utf-8 charset for text files when serving raw content (#2898)Tamás Molnár2016-04-201-1/+1
|
* api/admin: add/remove organization team repositoryUnknwon2016-04-042-18/+74
|
* Fix XORM IN condition table name parseUnknwon2016-03-271-1/+1
|
* #2842 add quotes to attachment file nameUnknwon2016-03-251-1/+1
|
* #1692 add admin APIs to add/remove a user from teamsUnknwon2016-03-254-24/+75
|
* Fix status codeUnknwon2016-03-211-1/+1
|