Morgan Bazalgette
65861900cd
Handle refactor (#3339)
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
6 年前
Deyong Zhu
d663cef2a5
Fix branch name escaping in compare url (#3311)
* Fixes #3303
6 年前
Sandro Santilli
44053532bb
Serve .patch for pull requests (#3305)
* Serve .patch for pull requests
Closes #3259
Updates "git" module, for GetFormatPatch
* Handle io.Copy error
6 年前
Lauris BH
8ac1501ad7
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
6 年前
Sandro Santilli
a192f3052e
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
6 年前
Ethan Koenig
515cdaa85d
Fix ignored errors when checking if organization, team member (#3177)
6 年前
harry
03ec35ed79
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.
6 年前
Lauris BH
0d4c63fd70
Fix go-get, src and raw urls to new scheme (#2978)
6 年前
Ethan Koenig
40c545ddbc
Fix files/commits of merged PRs (#2937)
6 年前
Lunny Xiao
cdc4600725
Fix fork repository cycle to self (#2860)
* fix fork repository cycle to self
* rename testForkRepo to traverseParentRepo
6 年前
Lauris BH
1ec4dc6c1d
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
6 年前
Kazuki Sawada
e1266a19c8
Change pull description text (#2075) (#2646)
* Change pull description text
* move duplicated code into helper function
6 年前
Lunny Xiao
1739e84ac0
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
6 年前
Ethan Koenig
b689bb6180
Webhooks for repo creation/deletion (#1663)
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
6 年前
Bwko
8f171210b9
Revert "Add ability to fork your own repos (#761)" (#2193)
7 年前
Lauris BH
0a5dc640a1
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
7 年前
Lauris Bukšis-Haberkorns
63504bf132
Fix displaying commits and files of PR created from now deleted forked repository
7 年前
Lauris BH
79494047b0
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
7 年前
Lunny Xiao
d2165a5890
fix compare button failed when there is no fork repos (#1104)
7 年前
Andrey Nering
27d30f1a61
Notifying on open PR, and Close/Reopen/Merge issue or PR
7 年前
Bwko
e08421017c
Add ability to fork your own repos (#761)
7 年前
Manuel Kuhlmann
dc3ff9f2ab
Rename .gogs to .gitea and comply with github template guidelines (#568) (#582)
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
7 年前
Lunny Xiao
70900bd167
bug fixed for fork repos (#560)
7 年前
Lunny Xiao
2343feadd4
resolved #310: hide fork to self (#323)
7 年前
Lunny Xiao
ec87a75c00
golint fixed for modules/auth
7 年前
Lunny Xiao
94da472717
Golint fixed for modules/setting (#262)
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
7 年前
Lunny Xiao
5b998a6680
golint fixed for modules/auth
7 年前
Lunny Xiao
3917ed45de
golint fixed for routers (#208)
7 年前
Andrey Nering
739f07c98e
Remember diff view style (#163)
7 年前
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
7 年前
Sandro Santilli
4247304f5a
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
7 年前
Sandro Santilli
80eea77953
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
7 年前
Sandro Santilli
b7263f31a5
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
7 年前
Sandro Santilli
6e4252dad4
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)
7 年前
Andrey Nering
bd898a10f8
Refactor editorconfig middleware
7 年前
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
7 年前
Andrey Nering
984fa8d83b
Fix 500 when repo has invalid .editorconfig
Creating a notice instead
7 年前
Andrey Nering
87b593f93e
Show issue/PR number on title
7 年前
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs (#37)
7 年前
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
7 年前
Unknwon
61e27dedf7
#3466 fix response of pull request form validation error
7 年前
Richard Mahn
d0a0239bac
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 7fc8a89cb4
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 fd3d86ca6b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21
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 889e9faf1b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf22
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 bb57912558
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a3498202
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 fa1b752be2
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
7 年前
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
7 年前
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any (#3241)
Closes #3182
7 年前
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 年前
Unknwon
256cd6374a
#2790 fix not detect diff style in pull request file changes
8 年前
Unknwon
4b5e09e4d6
#3181 detect situation when base branch is deleted in pull request
8 年前
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
8 年前
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
8 年前
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174)
8 年前