Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added factory images #4725

Merged
merged 2 commits into from
Apr 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@
*/

public class DashboardRedirectionFilter implements Filter {
private static Pattern projectPattern = Pattern.compile("^/[^/]+?/.+");
private static Pattern projectPattern = Pattern.compile("^/(_app|[^/]+?)/.+");

@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

RewriteRule ^/api/(.*)$ /wsmaster/api/$1 [L]
RewriteRule ^/factory/resources/(.*)$ /_app/$1 [L]
RewriteRule ^/factory\\?(.*)$ /dashboard/#/load-factory/$1 [R,NE]
RewriteRule ^/factory/(.*)$ /dashboard/#/load-factory/$1 [R,NE]
RewriteRule ^/f/?(.*)$ /dashboard/#/load-factory/$1 [R,NE]
RewriteRule ^/f\\?(.*)$ /dashboard/#/load-factory/$1 [R,NE]

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions assembly/assembly-ide-war/src/main/webapp/_app/factory-review.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -27,6 +27,6 @@ public interface GitHubTemplates extends HostingServiceTemplates {
@DefaultMessage("https://github.com/{0}/{1}/pull/{2}")
String pullRequestUrlTemplate(String username, String repository, String pullRequestNumber);

@DefaultMessage("[![Review]({0}//{1}/factory/resources/codenvy-review.svg)]({2})")
@DefaultMessage("[![Review]({0}//{1}/factory/resources/factory-review.svg)]({2})")
String formattedReviewFactoryUrlTemplate(String protocol, String host, String reviewFactoryUrl);
}