summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--models/publickey.go2
-rw-r--r--public/config.codekit11
-rw-r--r--public/img/gogs-large-resize.pngbin0 -> 52238 bytes
4 files changed, 13 insertions, 2 deletions
diff --git a/README.md b/README.md
index b57a885857..fad07ce502 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gogits/gogs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
-Gogs (Go Git Service) is a painless self-hosted Git service.
+![](public/img/gogs-large-resize.png)
##### Current version: 0.6.11 Beta
diff --git a/models/publickey.go b/models/publickey.go
index ad92d64fec..6c0ffc0c78 100644
--- a/models/publickey.go
+++ b/models/publickey.go
@@ -153,7 +153,7 @@ func parseKeyString(content string) (string, error) {
if len(lines) == 1 {
// Parse openssh format
- parts := strings.Fields(lines[0])
+ parts := strings.SplitN(lines[0], " ", 3)
switch len(parts) {
case 0:
return "", errors.New("Empty key")
diff --git a/public/config.codekit b/public/config.codekit
index 63f5efa4d1..ce4ef36eff 100644
--- a/public/config.codekit
+++ b/public/config.codekit
@@ -149,6 +149,17 @@
"outputPathIsSetByUser": 0,
"processed": 1
},
+ "\/img\/gogs-large-resize.png": {
+ "fileType": 32768,
+ "ignore": 0,
+ "ignoreWasSetByUser": 0,
+ "initialSize": 52238,
+ "inputAbbreviatedPath": "\/img\/gogs-large-resize.png",
+ "outputAbbreviatedPath": "\/img\/gogs-large-resize.png",
+ "outputPathIsOutsideProject": 0,
+ "outputPathIsSetByUser": 0,
+ "processed": 1
+ },
"\/img\/gogs-lg.png": {
"fileType": 32768,
"ignore": 0,
diff --git a/public/img/gogs-large-resize.png b/public/img/gogs-large-resize.png
new file mode 100644
index 0000000000..8b6fbc97d7
--- /dev/null
+++ b/public/img/gogs-large-resize.png
Binary files differ