- Properly set application/json content-type on api calls\r
- Make days back filter choices a setting\r
- Changed default days back filter setting to 7 days\r
+ - Set rel="nofollow" on compressed download links\r
- Improved page title\r
- Updated Polish translation\r
- Updated Japanese translation\r
\r
contributors:\r
- Bandarupalli Satyanarayana\r
- - Chad H.\r
+ - Chad Horohoe\r
- Christian Aistleitner\r
- David Ostrovsky\r
- Egbert Teeselink\r
- Lukasz Jader\r
- Martijn Laan\r
- Matthias Bauer\r
- - Micha�l Pailloncy\r
+ - Michael Pailloncy\r
- Michael Schaefers\r
- Oliver Doepner\r
- Philip Boutros\r
- Thomas Pummer\r
- William Whittle\r
- Yukihiko Sawanobori\r
- - github/akquinet\r
- - github/dapengme\r
+ - github/akquinet\r
+ - github/dapengme\r
\r
dependencyChanges:\r
- JGit 3.0.0-SNAPSHOT\r
- Iconic font\r
- AngularJS 1.0.7\r
- - FreeMarker 2.3.19\r
+ - FreeMarker 2.3.19\r
\r
settings:\r
- { name: 'git.daemonBindInterface', defaultValue: 'localhost' }\r
\r
String href = DownloadZipServlet.asLink(baseUrl, repositoryName,\r
objectId, path, format);\r
- Component c = new LinkPanel("compressedLink", null, format.name(), href);\r
+ LinkPanel c = new LinkPanel("compressedLink", null, format.name(), href);\r
+ c.setNoFollow();\r
item.add(c);\r
Label lb = new Label("linkSep", "|");\r
lb.setVisible(counter > 0);\r
*/\r
package com.gitblit.wicket.panels;\r
\r
+import org.apache.wicket.Component;\r
import org.apache.wicket.PageParameters;\r
import org.apache.wicket.behavior.SimpleAttributeModifier;\r
import org.apache.wicket.markup.html.WebPage;\r
link.add(new Label("label", labelModel));\r
add(link);\r
}\r
+ \r
+ public void setNoFollow() {\r
+ Component c = get("link");\r
+ c.add(new SimpleAttributeModifier("rel", "nofollow"));\r
+ }\r
\r
}\r