summaryrefslogtreecommitdiffstats
path: root/routers/repo/download.go
Commit message (Collapse)AuthorAgeFilesLines
* Download files to their original filename (#1676)silverwind2017-05-051-0/+2
|
* Fix empty file download (#1506)Lauris BH2017-04-201-1/+1
|
* Fix Chrome not liking commasAndrey Nering2016-11-261-0/+4
|
* Fix HTTP headers for issue attachment downloadAndrey Nering2016-11-261-7/+9
| | | | | - 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
* golint fixed for routers (#208)Lunny Xiao2016-11-241-0/+3
|
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-3/+3
| | | | | | | - 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
* Replace gogits/git-module dependency with go-gitea/git (#94)Sandro Santilli2016-11-061-1/+1
| | | | | | | | * Replace gogits/git-module dependency with go-gitea/git Fixes #92 * Remove git alias for git module import (not needed)
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-2/+2
|
* router/repo: code refactoringUnknwon2016-08-301-4/+2
|
* Web editor: improve code qualityUnknwon2016-08-241-3/+3
|
* #2593 allow render raw contentUnknwon2016-08-051-1/+1
| | | | Use URL query parameter render=1 to render content in raw mode.
* Set utf-8 charset for text files when serving raw content (#2898)Tamás Molnár2016-04-201-1/+1
|
* #2842 add quotes to attachment file nameUnknwon2016-03-251-1/+1
|
* Rename module: middleware -> contextUnknwon2016-03-111-4/+4
|
* #2283 set text/plain for non-binary files in raw modeUnknwon2015-12-251-0/+2
|
* rename import pathUnknwon2015-12-151-1/+1
|
* move out git module and #1573 send push hookUnknwon2015-12-091-3/+4
|
* Merge pull request #1485 from donbowman/mime-type无闻2015-08-141-6/+1
|\ | | | | 43bfee0d4872932c1da185e8367e21795bc4ceb5 reverted my change
| * 43bfee0d4872932c1da185e8367e21795bc4ceb5 reverted my changeDon Bowman2015-08-131-6/+1
| | | | | | | | | | | | 423b1c69be7828c331a47467b66217d190e916b9, which in turn causes all content to be served as text/plain. Let go decide what the mime type is (e.g. text/html instead of text/plain).
* | fix serve attachment content typeUnknwon2015-08-121-8/+12
|/
* Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodingsVladimir Vissoultchev2015-07-291-1/+1
|
* Raw text file view returns correct charset in content-type header if not utf-8Vladimir Vissoultchev2015-07-281-4/+11
|
* don't set mime type to text/plain. This will break serving e.g. raw images,Don Bowman2015-04-081-1/+0
| | | | | | | | | html, etc According to http://golang.org/pkg/net/http/#DetectContentType "If the Header does not contain a Content-Type line, Write adds a Content-Type set to the result of passing the initial 512 bytes of written data to DetectContentType."
* routers/repo: set raw page content type to 'text/plain' #828Unknwon2015-01-311-4/+4
|
* GetFile apiUnknwon2014-11-161-9/+19
|
* Fix #605, fix #255, fix #101Unknwon2014-11-061-5/+3
|
* Huge updates!!!!! Be careful to merge!!!!Unknwon2014-07-261-41/+32
|
* New UI merge in progressUnknwon2014-07-261-91/+40
|
* Fixed directory permissions for the zip download routerJan Oliver Oelerich2014-06-011-1/+1
| | | If the archives/ directory is created with 0655, it results in a permission error.
* fix for new git apislene2014-05-281-4/+16
|
* Fixed #209Unknown2014-05-251-12/+9
|
* fix #195Unknown2014-05-161-2/+2
|
* Fix #186Unknown2014-05-161-7/+35
|
* zip archive downloadslene2014-04-161-0/+68