Andrey Nering
638dd24cec
Fix HTTP headers for issue attachment download
...
- Download filename was wrong for files other than images. Example: It was `download` instead of `file.pdf`
- PDF was downloading instead of showing on browser
8 years ago
Bo-Yi Wu
5054020c1f
fix gofmt error.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Andrey Nering
739f07c98e
Remember diff view style ( #163 )
8 years ago
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
8 years ago
Matthias Loibl
90fb64b217
Improve formatting of admin command
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Matthias Loibl
5cd093aa46
Use cli Flags directly and not some helper funcs
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Sandro Santilli
aadd7dcdc3
And others
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Thomas Boerger
3e13e16b3f
Dropped client from version check
8 years ago
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)
8 years ago
Andrey Nering
bd898a10f8
Refactor editorconfig middleware
8 years ago
Matthias Loibl
953c099428
Add missing version & gogs package
8 years ago
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
8 years ago
Thomas Boerger
3dd14ee522
Fixed "net.UnixAddr composite literal uses unkeyed fields"
8 years ago
Thomas Boerger
5b5af7daee
Made linter happy in cmd folder
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
8ea63f8c50
Restore whitespace
8 years ago
Thibault Meyer
a79eb48de3
Fix SHA regexp and commit comparisons
8 years ago
Unknwon
491407ddf8
#3590 fix 404 for release draft edition
...
Closes #3591
8 years ago
Daniel Oaks
b3d9ca4ccd
Add the ability to explore organizations ( #3573 )
...
* Add ability to explore organizations
* Use right icon for org explore links
8 years ago
Unknwon
c2afdf2192
Minor code fix [CI SKIP]
8 years ago
Unknwon
16eb2eb6a3
Fix import path
8 years ago
Unknwon
e6ec1ca1f8
#3548 disable issue cannot edit label and milestonefor pull requests
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Kim "BKC" Carlbäcker
4f40019130
codegangsta/cli => urfave/cli ( #3546 )
8 years ago
Unknwon
2a13f682e0
Bump git-module required version
8 years ago
Thibault Meyer
92fb30c526
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
579e5e4fee
Web editor: disallow edit mirror repository
8 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
8 years ago
Unknwon
c30b856d14
#3505 use user’s info for committer and author
8 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
8 years ago
Thibault Meyer
2c5411b00c
Fix #3361 : Dumps are created world readable ( #3473 )
...
* Set dump file permission to 0600
* Typo
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
8 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
8 years ago
Unknwon
4a46613916
markdown: fix treating pure number as SHA1
...
- Detect non-exist commit and return 404 not 500
8 years ago
Unknwon
4a19fd6441
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
54e0ada9d5
Web editor: improve delete file
8 years ago
Unknwon
15845cb287
Code clean up for new config options
8 years ago
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
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
8 years ago
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
Unknwon
0f33b04c87
Add subcommand to create new user in CLI
8 years ago
Andrey Nering
fa12c282f6
Add Content-Disposition header for downloads ( #3439 )
8 years ago
Thibault Meyer
7eafe3213f
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
a47aef5460
#2852 code cleanup
8 years ago
Odin Ugedal
1dd003bd4c
Add initial support for unix sockets ( #2852 )
8 years ago
Thibault Meyer
53c573ed02
Fix #3314 : Cannot edit release with tag name contains slash ( #3434 )
8 years ago
Unknwon
7e9b42c87d
#2780 code clean up
8 years ago
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
8 years ago