aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/download.go
Commit message (Collapse)AuthorAge
* Refactoring: rename package routers -> routesUnknwon2017-06-11
|
* Refactoring: rename ctx -> cUnknwon2017-06-03
|
* repo/download: fix for downloading zero bytes files. (#4436)Jonas Östanbäck2017-05-29
| | | | | | Allocated buffer served to client and not properly truncated to number of bytes read. Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* Refactoring: rename pkg/base -> pkg/toolUnknwon2017-04-05
|
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* setting: add config option for raw file render mode (#3608)Unknwon2017-03-17
| | | | Added '[repository] ENABLE_RAW_FILE_RENDER_MODE'.
* release: able to add attchments to release (#1614)Unknwon2017-03-13
| | | | Added new config section '[release.attachment]’.
* router/repo: code refactoringUnknwon2016-08-30
|
* Web editor: improve code qualityUnknwon2016-08-24
|
* #2593 allow render raw contentUnknwon2016-08-05
| | | | 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-20
|
* #2842 add quotes to attachment file nameUnknwon2016-03-25
|
* Rename module: middleware -> contextUnknwon2016-03-11
|
* #2283 set text/plain for non-binary files in raw modeUnknwon2015-12-25
|
* rename import pathUnknwon2015-12-15
|
* move out git module and #1573 send push hookUnknwon2015-12-09
|
* Merge pull request #1485 from donbowman/mime-type无闻2015-08-14
|\ | | | | 43bfee0d4872932c1da185e8367e21795bc4ceb5 reverted my change
| * 43bfee0d4872932c1da185e8367e21795bc4ceb5 reverted my changeDon Bowman2015-08-13
| | | | | | | | | | | | 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-12
|/
* Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodingsVladimir Vissoultchev2015-07-29
|
* Raw text file view returns correct charset in content-type header if not utf-8Vladimir Vissoultchev2015-07-28
|
* don't set mime type to text/plain. This will break serving e.g. raw images,Don Bowman2015-04-08
| | | | | | | | | 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-31
|
* GetFile apiUnknwon2014-11-16
|
* Fix #605, fix #255, fix #101Unknwon2014-11-06
|
* Huge updates!!!!! Be careful to merge!!!!Unknwon2014-07-26
|
* New UI merge in progressUnknwon2014-07-26
|
* Fixed directory permissions for the zip download routerJan Oliver Oelerich2014-06-01
| | | If the archives/ directory is created with 0655, it results in a permission error.
* fix for new git apislene2014-05-28
|
* Fixed #209Unknown2014-05-25
|
* fix #195Unknown2014-05-16
|
* Fix #186Unknown2014-05-16
|
* zip archive downloadslene2014-04-16