aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo
Commit message (Collapse)AuthorAgeFilesLines
* router/repo: code refactoringUnknwon2016-08-304-194/+192
|
* #3459 code quality improvementUnknwon2016-08-291-38/+14
|
* Load a set of predefined labels (#3459)Thibault Meyer2016-08-291-0/+52
| | | | | | | | | | | | | | | | | | | | | | * Can use a predefined set of labels * Change UI * Fix HTML file indentation * Avoid reading file from other directory (security issue) * Apply a better fix * Remove not used variable * Merge upstream/develop * Do modifications * Raname * remove binding + rename variable
* Web editor: fix cannot create new file in subdirectoryUnknwon2016-08-291-1/+1
|
* #3516 enforce line ending to be \n from web editorUnknwon2016-08-281-3/+2
|
* Web editor: improve edit fileUnknwon2016-08-282-10/+3
|
* Web editor: improve delete file processUnknwon2016-08-282-49/+87
|
* Web editor: improve edit file tooltipUnknwon2016-08-271-53/+39
|
* #2966 code cleanupUnknwon2016-08-261-1/+0
|
* Web editor: improve code qualityUnknwon2016-08-246-55/+47
|
* #3383 code cleanupUnknwon2016-08-241-12/+12
|
* General code quality improvementUnknwon2016-08-163-12/+23
|
* #2246 add HTMLURL to webhook typeUnknwon2016-08-163-16/+20
| | | | - Fill Milestone and Assignee field when available in webhook payload
* #3464 reproduce diff signsUnknwon2016-08-161-1/+1
|
* models/repo_editor: improve code qualityUnknwon2016-08-151-1/+1
|
* models/issue: improve quality and performance of NewIssue functionUnknwon2016-08-152-55/+5
|
* markdown: fix treating pure number as SHA1Unknwon2016-08-151-1/+5
| | | | - Detect non-exist commit and return 404 not 500
* #3466 fix response of pull request form validation errorUnknwon2016-08-151-6/+18
|
* Fix empty repository panic on send test webhookUnknwon2016-08-152-10/+22
|
* Fix outdated edit can’t overwrite changesUnknwon2016-08-151-1/+2
|
* Web editor: temporarily disable upload and quick fix for edit and newUnknwon2016-08-151-1/+0
| | | | Try to merge into develop branch ASAP, then continue minor fixes afterwards.
* Web editor: improve delete fileUnknwon2016-08-143-58/+18
|
* Web editor: improve edit file and diff previewUnknwon2016-08-144-237/+209
|
* Code clean up for new config optionsUnknwon2016-08-145-47/+26
|
* Squashed commit of the following:Richard Mahn2016-08-147-4/+777
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0afcb843d7ffd596991c4885cab768273a6eb42c Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 17:13:29 2016 -0600 Removed Upload stats as the upload table is just a temporary table commit 7ecd73ff5535612d79d471409173ee7f1fcfa157 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:42:41 2016 -0600 Fix for CodeMirror mode commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:03:33 2016 -0600 Made tabbing in editor use spaces commit 23af384c53206a8a40e11e45bf49d7a149c4adcd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:56:46 2016 -0600 Fix for data-url commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9 Merge: 7fc8a89 991ce42 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:42:53 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit 7fc8a89cb495478225b02d613e647f99a1489634 Merge: fd3d86c c03d040 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:40:00 2016 -0600 Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:39:44 2016 -0600 Code cleanup commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 29 15:38:23 2016 -0600 Code cleanup commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:36:01 2016 -0600 Code cleanup and fixes commit c2895dc742f25f8412879c9fa15e18f27f42f194 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:24:04 2016 -0600 Fixes per Unknwon's requests commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef Merge: 889e9fa ad7ea88 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 17:13:43 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go modules/setting/setting.go commit 889e9faf1bd8559a4979c8f46005d488c1a234d4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:09:18 2016 -0600 Fix in gogs.js commit 47603edf223f147b114be65f3bd27bc1e88827a5 Merge: bb57912 cf85e9e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:07:36 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit bb5791255867a71c11a77b639db050ad09c597a4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:02:18 2016 -0600 Update for using CodeMirror mode addon commit d10d128c51039be19e2af9c66c63db66a9f2ec6d Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 16:12:57 2016 -0600 Update for Edit commit 34a34982025144e3225e389f7849eb6273c1d576 Merge: fa1b752 1c7dcdd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 11:52:02 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go commit fa1b752be29cd455c5184ddac2ffe80b3489763e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 15 18:35:42 2016 -0600 Feature for editing, creating, uploading and deleting files
* Replace convert.To with APIFormat callsUnknwon2016-08-142-14/+9
|
* #2246 fully support of webhooks for pull requestUnknwon2016-08-145-54/+44
|
* On showing diff/file, use the tab_width specified on .editorconfig, if any ↵Andrey Nering2016-08-113-0/+27
| | | | | (#3241) Closes #3182
* Fix #3314: Cannot edit release with tag name contains slash (#3434)Thibault Meyer2016-08-111-2/+2
|
* Wiki mirroring implementation (#3233)Andrew2016-08-111-1/+1
| | | | | | | | | | | | | | | | | | | * Implement wiki mirroring, add Update mirrors operation to admin dashboard * bindata.go update after merge * Implement checking Git repo endpoint existence, support for BB included * Remove admin dashboard operation Fix bindata.go * Apply gofmt to repo model file * Try to remove bindata from PR * Revert accepted wiki names change in favor of better system * Remove unused imports
* #3408 minor code fixUnknwon2016-08-111-1/+1
|
* Add committer information to API and Webhooks. Also fixes #3271 (#3414)lstahlman2016-08-091-0/+4
|
* Little code refactoringUnknwon2016-08-091-15/+16
|
* Render the Code view on the server (minus syntax highlighting) (#2942)Rory McNamara2016-08-091-2/+18
| | | | | | | | | | | | | | | | * render code view server side * remove debug print * fix multiline selection bug * change string concatenation to bytes.Buffer for efficiency * Fix newlines added by previous for hljs * fix selection highlighting * make css changes in .less
* Fix #3315: Release dont use tag creation date (#3374)Thibault Meyer2016-08-061-0/+10
| | | | | | | | | | * 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
* #2593 allow render raw contentUnknwon2016-08-051-1/+1
| | | | Use URL query parameter render=1 to render content in raw mode.
* #2162 completely disable builtin issue tracker when enable external trackerUnknwon2016-08-041-1/+1
|
* #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
* routers/repo/issue: remove redundant format stringUnknwon2016-07-261-13/+13
|
* #1601 support delete issue commentUnknwon2016-07-261-11/+26
|
* Refactor User.Id to User.IDUnknwon2016-07-247-39/+39
|
* Use struct for UI settingsUnknwon2016-07-242-3/+3
|
* #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
|
* #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-171-0/+4
|
* models/webhook: restrict deletion to be explicitly with repo and org IDUnknwon2016-07-171-2/+2
|