This repository was archived by the owner on Jan 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +27
-10
lines changed
java/main/com/topcoder/direct/services/configs Expand file tree Collapse file tree 6 files changed +27
-10
lines changed Original file line number Diff line number Diff line change @@ -45,4 +45,6 @@ SSO_HASH_SECRET = @ApplicationServer.SSO_HASH_SECRET@
4545SSO_DOMAIN = @ApplicationServer.SSO_DOMAIN@
4646
4747JWT_V3_COOKIE_KEY = @ApplicationServer.JWT_V3_COOKIE_KEY@
48- JWT_COOKIE_KEY = @ApplicationServer.JWT_COOKIE_KEY@
48+ JWT_COOKIE_KEY = @ApplicationServer.JWT_COOKIE_KEY@
49+
50+ TOPCODER_CONNECT_URL =@TopcoderConnectUrl@
Original file line number Diff line number Diff line change @@ -58,4 +58,9 @@ 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" );
6166}
Original file line number Diff line number Diff line change 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+
3739<!-- topcoder maintenance module -->
3840<div id =" topcoder-maintenance-notification" >
3941 <div class =" content" >
132134
133135 <ul >
134136 <li >
135- <a class =" first" href =" <s:url action= " createNewProject " namespace= " / " /> " >Start New</a >
137+ <a class =" first" href =" ${ TCConnectURL } " target = " _blank " >Start New</a >
136138 </li >
137139 <s:if test =" %{#session.currentSelectDirectProjectID > 0 && sessionData.currentProjectContext.name != null}" >
138140 <input type =" hidden" name =" topNavCurrentProjectId" value =" <s:property value='%{#session.currentSelectDirectProjectID}'/>" />
422424 <c:if test =" ${ requestScope. CURRENT_TAB eq ' enterprise' and ! requestScope. NO_ENTERPRISE_DASHBOARD_TOP } " >
423425 <div class =" topBtns" id =" enterpriseDashboardTop" >
424426 <a href =" ${ ctx } /copilot/launchCopilotContest" class =" copilot" title =" Finds a TopCoder Copilot for your project" >Get a Copilot</a >
425- <a href =" <s:url action= " createNewProject " namespace= " / " /> " class =" start" title =" Starts a new project" >Start a Project</a >
427+ <a href =" ${ TCConnectURL } " target = " _blank " class =" start" title =" Starts a new project" >Start a Project</a >
426428 <a href =" ${ ctx } /launch/home" class =" launch" title =" Launch a new challenge for your project" >Launch Challenge</a >
427429 </div >
428430 </c:if >
Original file line number Diff line number Diff line change 3232 - the data via ajax.
3333 -
3434--%>
35+ <%@ page import =" com.topcoder.direct.services.configs.ServerConfiguration" %>
3536<%@ include file =" /WEB-INF/includes/taglibs.jsp" %>
3637
38+ <c:set var =" TCConnectURL" value =" <%= ServerConfiguration . TOPCODER_CONNECT_URL% >" />
39+
3740<div id =" area2" class =" dashboardPage" ><!-- the right column -->
3841
3942 <div class =" newSidebar" >
4043 <div class =" topBtns" >
4144 <a href =" ${ ctx } /copilot/launchCopilotContest" class =" copilot"
4245 title =" Finds a TopCoder Copilot for your project" >Get a Copilot</a >
43- <a href =" <s:url action=" createNewProject " namespace=" /" />" class =" start" title =" Starts a new project" >Start
44- a Project</a >
46+ <a href =" ${ TCConnectURL } " target =" _blank" class =" start" title =" Starts a new project" >Start a Project</a >
4547 <a href =" ${ ctx } /launch/home" class =" launch" title =" Launch a new challenge for your project" >Launch
4648 Challenge</a >
4749 </div >
Original file line number Diff line number Diff line change 349349@aws_s3_secret_key@=
350350
351351@trialBillingId@ =
352- @defaultGroupIdForTrial@ =
352+ @defaultGroupIdForTrial@ =
353+
354+ # The Topcoder Connect Url to which the projects creation will redirect
355+ @TopcoderConnectUrl@=https://connect.topcoder-dev.com
Original file line number Diff line number Diff line change 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
400+ @defaultGroupIdForTrial@ = 12347
401+
402+ # The Topcoder Connect Url to which the projects creation will redirect
403+ @TopcoderConnectUrl@=https://connect.topcoder.com
You can’t perform that action at this time.
0 commit comments