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