Yi EungJun 2014-07-16
Sync 'next' with v0.5.7
Reviewed-by: insanehong 
@2706761709972792ffb9850e71199cccc85a34c3
app/controllers/SvnApp.java
--- app/controllers/SvnApp.java
+++ app/controllers/SvnApp.java
@@ -126,7 +126,7 @@
 
         // Send the response.
         UserApp.currentUser().visits(project);
-        return sendResponse(status, response.getInputStream());
+        return sendResponse(request().method(), status, response.getInputStream());
     }
 
     private static PlayServletResponse startDavService(final String ownerName, String pathInfo) throws IOException {
@@ -154,9 +154,12 @@
         return response;
     }
 
-    private static Result sendResponse(int statusCode, PipedInputStream input) {
-        if (statusCode < 200 || statusCode == 204 || statusCode == 304) {
-            // 1xx, 204 and 304 MUST NOT include message body.
+    private static Result sendResponse(String requestMethod, int statusCode,
+            PipedInputStream input) {
+        if (statusCode < 200 || statusCode == 204 || statusCode == 304 ||
+                requestMethod.toUpperCase().equals("HEAD")) {
+            // a response requested by HEAD method and/or whose status code is
+            // 1xx, 204 or 304 MUST NOT include message body.
             return status(statusCode);
         } else if (statusCode == 205) {
             // 205 MUST include message body of zero length.
conf/messages
--- conf/messages
+++ conf/messages
@@ -258,7 +258,7 @@
 issue.voters.more = and {0} others
 issue.watch.start =Now you will get notifications about this issue
 label = Label
-label.add = Add aabel
+label.add = Add label
 label.addNewCategory = Add new category
 label.category = Category
 label.confirm.delete = Once you delete this label, those attached to issues will also be removed. Do you still want to delete the label?
conf/version.conf
--- conf/version.conf
+++ conf/version.conf
@@ -1,1 +1,1 @@
-app.version="0.5.6"
+app.version="0.5.7"
 
docs/ko/relnotes/0.5.7.txt (added)
+++ docs/ko/relnotes/0.5.7.txt
@@ -0,0 +1,8 @@
+Yobi v0.5.7 릴리즈 노트
+=======================
+
+v0.5.6 이후 버그수정
+--------------------
+
+* SVN 커밋이 안되는 문제 (serf를 사용하는 SVN 클라이언트에서만)
+* 사이트 메인에서 이벤트 목록이 잘못 정렬되는 문제
 
docs/relnotes/0.5.7.txt (added)
+++ docs/relnotes/0.5.7.txt
@@ -0,0 +1,8 @@
+Yobi v0.5.7 Release Notes
+=========================
+
+Fixes since v0.5.6
+------------------
+
+* SVN commit did not work for clients using serf.
+* Ordering of event list in the main page was incorrect.
Add a comment
List