Don Bowman
423b1c69be
don't set mime type to text/plain. This will break serving e.g. raw images,
...
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."
10 years ago
Linquize
f26f8d5afa
Set Content-Type to text/plain for http status 401
...
This is because git command line shows the failure reason only if Content-Type is text/plain.
10 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
5169a0e025
mirror fix of #1105
10 years ago
Linquize
3a977fc0ae
Allow to migrate through git:// protocol
10 years ago
Unknwon
466facc009
#1067 : Deleting users should remove them from collaborator lists
...
- fix delete user but repository watches are not decreased
10 years ago
Unknwon
fc6db829b2
fix read access team visibility of private repo
10 years ago
Unknwon
588f3215c6
#1040 : dashboard no longer accessible when repo is missing
10 years ago
Unknwon
4aafeace23
fix HTTP/HTTPS push update func call panic #1037 and `http: multiple response.WriteHeader calls`
10 years ago
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
10 years ago
Filippo Valsorda
5d5d774e03
Handle submodules without a .gitmodules entry - fix #1023
10 years ago
Unknwon
18c0697329
routers/repo/setting.go: fix LDAP cannot validate password #1006
10 years ago
Gogs
fab038b175
Attempt #3 of ldap fixes
10 years ago
Unknwon
8896c82d34
models: fix issue with transfer repository
...
README: fix typo
10 years ago
Raphael Randschau
1f61340fa3
Properly calculate the number of open issues per label
10 years ago
Unknwon
ee68a826a5
v4 migration, merge 'dev', clean code and mirror fix
10 years ago
Unknwon
04164eada3
models: able to rename user with diff letter cases #981
...
- templates/org: mirror fix on name output
- routers: add missing error check
10 years ago
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
10 years ago
Peter Smit
e6fc58a744
Remove GoGet option from repository and handle it with ?go-get=1 instead
...
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
10 years ago
Peter Smit
ed89b39984
Updating context and fixing permission issues
...
The boolean flags in the repo context have been replaced with mode and two methods
Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
10 years ago
Peter Smit
f9454cc32c
Make sure that a mirror can't be written to by http or ssh
10 years ago
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
10 years ago
Peter Smit
0a4cda0dd4
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago
Unknwon
ba77a3b0b4
routers/repo/http.go: allow HTTP push/pull by token for #845
10 years ago
Unknwon
5a99e9a37b
models/action.go: add action reopen for #462
...
- models/issue.go: format comment type names
10 years ago
Unknwon
afccd0a3ee
models/action.go: mirror fix on #892
...
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
10 years ago
Peter Smit
4e79adf6b5
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Tony Tsang
fc6d80d619
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
10 years ago
Unknwon
32152d2363
routers/repo: set raw page content type to 'text/plain' #828
10 years ago
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
10 years ago
Peter Smit
76f8904718
Introducing Collaboration Struct
10 years ago
Christopher Brickley
d0827e5d5e
allow http push by token - #842
10 years ago
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
10 years ago
Peter Smit
d016eaaa09
Fix #807 parse the userinfo with the golang tools
...
Note, this is now only fixed with Go version >= 1.4.2, see this bug in Go: 07d86b1f2d
10 years ago
Unknwon
677b1ec627
fix #808
10 years ago
Thomas Laroche
e948c7c262
Fix #795
10 years ago
Unknwon
1a5aa5e0c0
fix #741
10 years ago
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon
2f3a7e53cb
fix #735
10 years ago
codeskyblue
db6c0ebf76
fix git clone error when repo has upper case name
10 years ago
Unknwon
bc8721fb6c
Finish new UI for release page
10 years ago
Unknwon
9a1fe801e5
fix #711
10 years ago
Joseph Crail
39c068400e
Fix spelling errors in comments.
10 years ago
dennis-smurf
528c075ad6
Added issue link rendering in commit messages
10 years ago
Unknwon
a43164877c
fix #664
10 years ago
fuxiaohei
79dae254cf
add milestone page design
10 years ago
Unknwon
32dcaefafa
fox #620
10 years ago
fuxiaohei
d1a60e3643
add pull-request and labels page design
10 years ago
Unknwon
a0f9197b45
GetFile api
10 years ago