kolaente
9eb5361ef5
Multiple assignees ( #3705 )
7 years ago
Lauris BH
cd0e313265
Fix branch deletion for squash or rebase merged pull requests ( #3425 )
7 years ago
Lauris BH
5be20e7d75
Change how merged PR commit info are prepared ( #3368 )
* Change how merged PR commits and diff are made
* Update code.gitea.io/git dependency
* Fix typo
* Remove unneeded local variable
7 years ago
Morgan Bazalgette
8c916631f0
Handle refactor ( #3339 )
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
7 years ago
Deyong Zhu
d6afab5416
Fix branch name escaping in compare url ( #3311 )
* Fixes #3303
7 years ago
Sandro Santilli
bf25effe8f
Serve .patch for pull requests ( #3305 )
* Serve .patch for pull requests
Closes #3259
Updates "git" module, for GetFormatPatch
* Handle io.Copy error
7 years ago
Lauris BH
c91f81de8d
Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge ( #3188 )
* Pull request options migration and UI in settings
* Add ignore whitespace functionality
* Fix settings if pull requests are disabled
* Fix migration transaction
* Merge with Rebase functionality
* UI changes and related functionality for pull request merging button
* Implement squash functionality
* Fix rebase merging
* Fix pull request merge tests
* Add squash and rebase tests
* Fix API method to reuse default message functions
* Some refactoring and small fixes
* Remove more hardcoded values from tests
* Remove unneeded check from API method
* Fix variable name and comment typo
* Fix reset commit count after PR merge
7 years ago
Sandro Santilli
b251b92200
Serve pull request .diff files ( #3293 )
* Serve pull request .diff files
Closes #3259
* Add test for pull request redirection and .diff access
* Typo
* There's no need to test for pr.BaseRepo being nil after calling GetBaseRepo
7 years ago
Ethan Koenig
a8af5abc02
Fix ignored errors when checking if organization, team member ( #3177 )
7 years ago
harry
41aa0418d2
Mention completion for issue editor. ( #3136 )
* new issue mention
* Mention completion on new issue and view issue page.
* Code format.
* Require tribute in pull request page.
7 years ago
Lauris BH
41db9040c1
Fix go-get, src and raw urls to new scheme ( #2978 )
7 years ago
Ethan Koenig
dcf55502cd
Fix files/commits of merged PRs ( #2937 )
7 years ago
Lunny Xiao
1c001f9aba
Fix fork repository cycle to self ( #2860 )
* fix fork repository cycle to self
* rename testForkRepo to traverseParentRepo
7 years ago
Lauris BH
39ea47b311
Fix so that user can still fork his own repository to owned organizations ( #2699 )
* Fix so that user can still fork his own repository to his organizations
* Fix to only use owned organizations
* Add integration test for forking own repository to owned organization
7 years ago
Kazuki Sawada
882168911f
Change pull description text ( #2075 ) ( #2646 )
* Change pull description text
* move duplicated code into helper function
7 years ago
Lunny Xiao
1c80057b53
improve protected branch to add whitelist support ( #2451 )
* improve protected branch to add whitelist support
* fix lint
* fix style check
* fix tests
* fix description on UI and import
* fix test
* bug fixed
* fix tests and languages
* move isSliceInt64Eq to util pkg; improve function names & typo
7 years ago
Ethan Koenig
e4e41c4830
Webhooks for repo creation/deletion ( #1663 )
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
7 years ago
Bwko
ff16a01408
Revert "Add ability to fork your own repos ( #761 )" ( #2193 )
8 years ago
Kim "BKC" Carlbäcker
c7eab506e0
Fix displaying commits and files of PR created from now deleted fork ( #2023 )
Fix displaying commits and files of PR created from now deleted fork
8 years ago
Lauris BH
3979a175bd
Make branch deletion URL more like GitHub's, fixes #1397 ( #1994 )
* Make branch deletion URL more like GitHub's, fixes #1397
* Add PR branch deletion integration test
* Do not allow deleting protected branch
* Change http error code to 403 if user has no write rights to repository
* Add check to not panic if forked repository has alrady been deleted
8 years ago
Lauris Bukšis-Haberkorns
b9e687eae2
Fix displaying commits and files of PR created from now deleted forked repository
8 years ago
Lauris BH
380ac258b0
Show commit status icon in commits table ( #1688 )
* Show commit status icon in commits table
* Add comments
* Fix icons
* Few more places where commit table is displayed
* Change integration test to use goquery for parsing html
* Add integration tests for commit table and status icons
* Fix status to return lates status correctly on all databases
* Rewrote lates commit status selects
8 years ago
Lunny Xiao
7f42f837d3
fix compare button failed when there is no fork repos ( #1104 )
8 years ago
Andrey Nering
ed6c1ff626
Notifying on open PR, and Close/Reopen/Merge issue or PR
8 years ago
Bwko
2b69823d30
Add ability to fork your own repos ( #761 )
8 years ago
Manuel Kuhlmann
d9f191f001
Rename .gogs to .gitea and comply with github template guidelines ( #568 ) ( #582 )
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
8 years ago
Lunny Xiao
fe77dc3b7e
bug fixed for fork repos ( #560 )
8 years ago
Lunny Xiao
939dfe8263
resolved #310 : hide fork to self ( #323 )
8 years ago
Lunny Xiao
e685609ea2
golint fixed for modules/auth
8 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
e134836804
golint fixed for routers ( #208 )
8 years ago
Andrey Nering
43e4529fb4
Remember diff view style ( #163 )
8 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Sandro Santilli
8212aa70ba
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Sandro Santilli
43349da21a
Replace GOGS with GITEA in variable names
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.
Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...
Closes #87
8 years ago
Sandro Santilli
3c9693defb
Replace gogits/git-module dependency with go-gitea/git ( #94 )
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
8 years ago
Sandro Santilli
4fb2e00b31
Merge branch 'master' into feature/goimports
8 years ago
Andrey Nering
5243e1f5f9
Refactor editorconfig middleware
8 years ago
Matthias Loibl
929972fc8d
Fix imports found by goimports.
8 years ago
Andrey Nering
7f39af230a
Fix 500 when repo has invalid .editorconfig
Creating a notice instead
8 years ago
Andrey Nering
d709866a8a
Show issue/PR number on title
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
38c02e6ece
#2246 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
8 years ago
Unknwon
e1ad5ebcf7
#3466 fix response of pull request form validation error
8 years ago
Richard Mahn
247e2fc567
Squashed commit of the following:
commit 0afcb843d7
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 7ecd73ff55
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591
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
9 years ago
Unknwon
f60f4fc56e
#2246 fully support of webhooks for pull request
8 years ago
Andrey Nering
10a5a8b7cf
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
Closes #3182
9 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
372a341e17
#2790 fix not detect diff style in pull request file changes
9 years ago