From a024491296578f00893857d3b704e9f28d7b9524 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Mon, 13 Mar 2017 11:24:02 +0900 Subject: [PATCH 01/27] Remove optimization option once --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index d219ff3a2..cf4c1303e 100644 --- a/build.sbt +++ b/build.sbt @@ -59,7 +59,7 @@ libraryDependencies ++= Seq( ) // Compiler settings -scalacOptions := Seq("-deprecation", "-language:postfixOps", "-opt:_") +scalacOptions := Seq("-deprecation", "-language:postfixOps") javacOptions in compile ++= Seq("-target", "8", "-source", "8") javaOptions in Jetty += "-Dlogback.configurationFile=/logback-dev.xml" From 0401488ab1355fd1648ca4f94cd6374967e920cd Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Mon, 13 Mar 2017 13:00:06 +0900 Subject: [PATCH 02/27] Fix styles --- src/main/twirl/gitbucket/core/settings/edithooks.scala.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/twirl/gitbucket/core/settings/edithooks.scala.html b/src/main/twirl/gitbucket/core/settings/edithooks.scala.html index 7df7107d9..812b929b8 100644 --- a/src/main/twirl/gitbucket/core/settings/edithooks.scala.html +++ b/src/main/twirl/gitbucket/core/settings/edithooks.scala.html @@ -33,9 +33,9 @@
- + +
From 7b8a5a482adb57ac93b257eefb6df09ada71670e Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Mon, 13 Mar 2017 13:00:54 +0900 Subject: [PATCH 03/27] (refs #1479)Url encode the branch name --- .../core/settings/branches.scala.html | 8 ++-- .../core/settings/branchprotection.scala.html | 44 +++++++++---------- .../webapp/assets/common/css/gitbucket.css | 14 ------ 3 files changed, 25 insertions(+), 41 deletions(-) diff --git a/src/main/twirl/gitbucket/core/settings/branches.scala.html b/src/main/twirl/gitbucket/core/settings/branches.scala.html index 75331a15e..69c3e19f5 100644 --- a/src/main/twirl/gitbucket/core/settings/branches.scala.html +++ b/src/main/twirl/gitbucket/core/settings/branches.scala.html @@ -46,14 +46,12 @@

- +
@protectedBranchList.map { branch => } @@ -64,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/main/twirl/gitbucket/core/settings/branchprotection.scala.html b/src/main/twirl/gitbucket/core/settings/branchprotection.scala.html index 9fb7137ae..5bd54131d 100644 --- a/src/main/twirl/gitbucket/core/settings/branchprotection.scala.html +++ b/src/main/twirl/gitbucket/core/settings/branchprotection.scala.html @@ -33,30 +33,30 @@ Sorry, we couldn’t find any status checks in the last week for this repository.
Please create a commit status by API (Learn more about status checks on GitHub) - }else{ -
@branch - - Edit - + Edit
} - - + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @repository.map { repository => } - +
diff --git a/src/main/twirl/gitbucket/core/pulls/compare.scala.html b/src/main/twirl/gitbucket/core/pulls/compare.scala.html index d97b36f0e..d390c17a2 100644 --- a/src/main/twirl/gitbucket/core/pulls/compare.scala.html +++ b/src/main/twirl/gitbucket/core/pulls/compare.scala.html @@ -43,7 +43,7 @@ }
@if(commits.nonEmpty && context.loginAccount.isDefined){ diff --git a/src/main/twirl/gitbucket/core/pulls/conversation.scala.html b/src/main/twirl/gitbucket/core/pulls/conversation.scala.html index 85e862c9c..1785c8929 100644 --- a/src/main/twirl/gitbucket/core/pulls/conversation.scala.html +++ b/src/main/twirl/gitbucket/core/pulls/conversation.scala.html @@ -21,7 +21,7 @@ @@ -63,4 +63,4 @@ $(function(){ }); } }); - \ No newline at end of file + diff --git a/src/main/twirl/gitbucket/core/repo/delete.scala.html b/src/main/twirl/gitbucket/core/repo/delete.scala.html index 57190ab82..fc7e77136 100644 --- a/src/main/twirl/gitbucket/core/repo/delete.scala.html +++ b/src/main/twirl/gitbucket/core/repo/delete.scala.html @@ -50,10 +50,10 @@ } } - - + + \ No newline at end of file + diff --git a/src/main/twirl/gitbucket/core/repo/editor.scala.html b/src/main/twirl/gitbucket/core/repo/editor.scala.html index cafbd29a1..282d0602a 100644 --- a/src/main/twirl/gitbucket/core/repo/editor.scala.html +++ b/src/main/twirl/gitbucket/core/repo/editor.scala.html @@ -72,9 +72,9 @@ } } - - - + + +