Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 1e6502c

Browse files
Merge pull request #530 from appirio-tech/revert-528-remove-project-creation-from-ui
Revert "Redirect project creation to Topcoder Connect"
2 parents 2c5362d + 82a2bbd commit 1e6502c

File tree

6 files changed

+9
-28
lines changed

6 files changed

+9
-28
lines changed

conf/ApplicationServer.properties

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,4 @@ SSO_HASH_SECRET = @ApplicationServer.SSO_HASH_SECRET@
4545
SSO_DOMAIN = @ApplicationServer.SSO_DOMAIN@
4646

4747
JWT_V3_COOKIE_KEY = @ApplicationServer.JWT_V3_COOKIE_KEY@
48-
JWT_COOKIE_KEY = @ApplicationServer.JWT_COOKIE_KEY@
49-
50-
TOPCODER_CONNECT_URL=@TopcoderConnectUrl@
48+
JWT_COOKIE_KEY = @ApplicationServer.JWT_COOKIE_KEY@

src/java/main/com/topcoder/direct/services/configs/ServerConfiguration.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,4 @@ public class ServerConfiguration extends ApplicationServer {
5858
public static String JWT_V3_COOKIE_KEY = bundle.getProperty("JWT_V3_COOKIE_KEY", "v3jwt");
5959

6060
public static String JWT_COOKIE_KEY = bundle.getProperty("JWT_COOKIE_KEY", "tcjwt");
61-
62-
/**
63-
* The Topcoder Connect URL
64-
*/
65-
public static String TOPCODER_CONNECT_URL = bundle.getProperty("TOPCODER_CONNECT_URL", "https://connect.topcoder.com");
6661
}

src/web/WEB-INF/includes/newHeader.jsp

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,15 @@
2525
-
2626
- Version 1.7 (TOPCODER - REMOVE TASKS TAB IN DIRECT APP)
2727
- - Remove tasks tab
28-
-
29-
- Version 1.4 (Quick72Hrs!! Topcoder - Remove VM Management Feature In Direct App version 1.0)
30-
- remove the vm related things
28+
-
29+
- Version 1.4 (Quick72Hrs!! Topcoder - Remove VM Management Feature In Direct App version 1.0)
30+
- remove the vm related things
3131
-
3232
- Description: The new cockpit header and navigation.
3333
--%>
3434
<%@ page import="com.topcoder.direct.services.configs.ServerConfiguration" %>
3535
<%@ include file="/WEB-INF/includes/taglibs.jsp" %>
3636

37-
<c:set var="TCConnectURL" value="<%=ServerConfiguration.TOPCODER_CONNECT_URL%>"/>
38-
3937
<!-- topcoder maintenance module -->
4038
<div id="topcoder-maintenance-notification">
4139
<div class="content">
@@ -66,7 +64,6 @@
6664
<div id="newHeader">
6765
<div class="topMenu">
6866
<ul class="menus">
69-
7067
<li <ui:isDashboardPage>class="current"</ui:isDashboardPage>>
7168
<span class="t"><a href="javascript:;">Dashboard</a> <i></i></span>
7269

@@ -135,7 +132,7 @@
135132

136133
<ul>
137134
<li>
138-
<a class="first" href="${TCConnectURL}" target="_blank">Start New</a>
135+
<a class="first" href="<s:url action="createNewProject" namespace="/"/>">Start New</a>
139136
</li>
140137
<s:if test="%{#session.currentSelectDirectProjectID > 0 && sessionData.currentProjectContext.name != null}">
141138
<input type="hidden" name="topNavCurrentProjectId" value="<s:property value='%{#session.currentSelectDirectProjectID}'/>"/>
@@ -425,7 +422,7 @@
425422
<c:if test="${requestScope.CURRENT_TAB eq 'enterprise' and !requestScope.NO_ENTERPRISE_DASHBOARD_TOP}">
426423
<div class="topBtns" id="enterpriseDashboardTop">
427424
<a href="${ctx}/copilot/launchCopilotContest" class="copilot" title="Finds a TopCoder Copilot for your project">Get a Copilot</a>
428-
<a href="${TCConnectURL}" target="_blank" class="start" title="Starts a new project">Start a Project</a>
425+
<a href="<s:url action="createNewProject" namespace="/"/>" class="start" title="Starts a new project">Start a Project</a>
429426
<a href="${ctx}/launch/home" class="launch" title="Launch a new challenge for your project">Launch Challenge</a>
430427
</div>
431428
</c:if>

src/web/WEB-INF/includes/right.jsp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,15 @@
3232
- the data via ajax.
3333
-
3434
--%>
35-
<%@ page import="com.topcoder.direct.services.configs.ServerConfiguration" %>
3635
<%@ include file="/WEB-INF/includes/taglibs.jsp" %>
3736

38-
<c:set var="TCConnectURL" value="<%=ServerConfiguration.TOPCODER_CONNECT_URL%>"/>
39-
4037
<div id="area2" class="dashboardPage"><!-- the right column -->
4138

4239
<div class="newSidebar">
4340
<div class="topBtns">
4441
<a href="${ctx}/copilot/launchCopilotContest" class="copilot"
4542
title="Finds a TopCoder Copilot for your project">Get a Copilot</a>
46-
<a href="${TCConnectURL}" target="_blank" class="start" title="Starts a new project">Start
43+
<a href="<s:url action="createNewProject" namespace="/"/>" class="start" title="Starts a new project">Start
4744
a Project</a>
4845
<a href="${ctx}/launch/home" class="launch" title="Launch a new challenge for your project">Launch
4946
Challenge</a>

token.properties.docker

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,4 @@
349349
@aws_s3_secret_key@=
350350

351351
@trialBillingId@ =
352-
@defaultGroupIdForTrial@ =
353-
354-
# The Topcoder Connect Url to which the projects creation will redirect
355-
@TopcoderConnectUrl@=https://connect.topcoder.com
352+
@defaultGroupIdForTrial@ =

token.properties.example

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,4 @@
397397
@authorizationUrl@=http://api.topcoder-dev.com/v3/authorizations
398398
@userGroupsApiEndpoint@=http://172.18.0.1:8080/v3/groups
399399
@trialBillingId@ = 3
400-
@defaultGroupIdForTrial@ = 12347
401-
402-
# The Topcoder Connect Url to which the projects creation will redirect
403-
@TopcoderConnectUrl@=https://connect.topcoder.com
400+
@defaultGroupIdForTrial@ = 12347

0 commit comments

Comments
 (0)