Andrey Nering
43e4529fb4
Remember diff view style ( #163 )
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
Matthias Loibl
af072f5d0e
Use cli Flags directly and not some helper funcs
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Thomas Boerger
596a071393
Dropped client from version check
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
4a3ba92ee3
Add missing version & gogs package
8 years ago
Matthias Loibl
929972fc8d
Fix imports found by goimports.
8 years ago
Thomas Boerger
5fdf3b9ca6
Fixed "net.UnixAddr composite literal uses unkeyed fields"
8 years ago
Thomas Boerger
de7e7460d0
Made linter happy in cmd folder
8 years ago
Lunny Xiao
9a406e52cb
Merge branch 'master' into fix/3743-route-regexp-branchname
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
e72e6537f1
Restore whitespace
8 years ago
Thibault Meyer
282300f96a
Fix SHA regexp and commit comparisons
8 years ago
Unknwon
0ec0142604
#3590 fix 404 for release draft edition
Closes #3591
8 years ago
Daniel Oaks
bc0c810106
Add the ability to explore organizations ( #3573 )
* Add ability to explore organizations
* Use right icon for org explore links
8 years ago
Unknwon
1ed450764c
Minor code fix [CI SKIP]
8 years ago
Unknwon
2324548889
#3548 disable issue cannot edit label and milestonefor pull requests
8 years ago
Unknwon
288bd17939
Web editor: support upload files
8 years ago
Kim "BKC" Carlbäcker
2af18718d8
codegangsta/cli => urfave/cli ( #3546 )
8 years ago
Unknwon
216da310b7
Bump git-module required version
8 years ago
Thibault Meyer
9cc19873d7
Load a set of predefined labels ( #3459 )
* 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
8 years ago
Unknwon
244abbdf11
Web editor: disallow edit mirror repository
8 years ago
Unknwon
23a12b9711
Web editor: improve delete file process
8 years ago
Unknwon
060b0da36e
#3505 use user’s info for committer and author
8 years ago
Unknwon
a0c3de4966
#3383 code cleanup
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
ca313c82d3
models/issue: improve quality and performance of NewIssue function
8 years ago
Unknwon
1bd27947e0
markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
8 years ago
Unknwon
20b9702fb4
Web editor: temporarily disable upload and quick fix for edit and new
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
8 years ago
Unknwon
2f5b0be839
Web editor: improve delete file
8 years ago
Unknwon
83ccca5e24
Code clean up for new config options
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
8 years ago
Unknwon
6e37e3f3d7
Replace convert.To with APIFormat calls
8 years ago
Andrey Nering
3ff8ea2a94
Add Content-Disposition header for downloads ( #3439 )
8 years ago
Thibault Meyer
bc99ac3939
Fix #3321 : commit tag shortener ( #3418 )
* Fix #3321 : commit tag shortener
* Check short commit
* remove debug
* Edit unit tests
* Show 10-char short SHA
8 years ago
Unknwon
313ab83aeb
#2852 code cleanup
8 years ago
Odin Ugedal
628d040e44
Add initial support for unix sockets ( #2852 )
8 years ago
Thibault Meyer
45cca9d8ff
Fix #3314 : Cannot edit release with tag name contains slash ( #3434 )
8 years ago
Unknwon
31e654d0fb
#2780 code clean up
8 years ago
Unknwon
b04ef27a6a
#3233 code cleanup and minor issue fix
8 years ago
Unknwon
df062309eb
Fix only user has repo write access can comment
8 years ago
Thibault Meyer
0cecafa949
Fix typo CacheInternal -> CacheInterval ( #3432 )
8 years ago
Unknwon
acc3afee64
#2907 Add commit timestamp to webhook
8 years ago
Unknwon
b2dc3500bc
#3007 update git-module require version
8 years ago
Unknwon
770eadb221
#3406 fix regression of MustEnableIssues check
8 years ago
Unknwon
68a238261d
Fix 404 when comment on pulls and not using interal issue tracker
8 years ago
Sandro Santilli
d45afb5aeb
Add support for federated avatars ( #3320 )
* 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 a8cb93ae64
.
* 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
8 years ago
Unknwon
533f862e79
#2593 allow render raw content
Use URL query parameter render=1 to render content in raw mode.
9 years ago