This repository was archived by the owner on Jan 23, 2025. It is now read-only.
File tree 6 files changed +27
-10
lines changed
java/main/com/topcoder/direct/services/configs
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@
45
45
SSO_DOMAIN = @ApplicationServer.SSO_DOMAIN@
46
46
47
47
JWT_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 {
58
58
public static String JWT_V3_COOKIE_KEY = bundle .getProperty ("JWT_V3_COOKIE_KEY" , "v3jwt" );
59
59
60
60
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" );
61
66
}
Original file line number Diff line number Diff line change 25
25
-
26
26
- Version 1.7 (TOPCODER - REMOVE TASKS TAB IN DIRECT APP)
27
27
- - 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
31
31
-
32
32
- Description: The new cockpit header and navigation.
33
33
--%>
34
34
<%@ page import =" com.topcoder.direct.services.configs.ServerConfiguration" %>
35
35
<%@ include file =" /WEB-INF/includes/taglibs.jsp" %>
36
36
37
+ <c:set var =" TCConnectURL" value =" <%= ServerConfiguration . TOPCODER_CONNECT_URL% >" />
38
+
37
39
<!-- topcoder maintenance module -->
38
40
<div id =" topcoder-maintenance-notification" >
39
41
<div class =" content" >
132
134
133
135
<ul >
134
136
<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 >
136
138
</li >
137
139
<s:if test =" %{#session.currentSelectDirectProjectID > 0 && sessionData.currentProjectContext.name != null}" >
138
140
<input type =" hidden" name =" topNavCurrentProjectId" value =" <s:property value='%{#session.currentSelectDirectProjectID}'/>" />
422
424
<c:if test =" ${ requestScope. CURRENT_TAB eq ' enterprise' and ! requestScope. NO_ENTERPRISE_DASHBOARD_TOP } " >
423
425
<div class =" topBtns" id =" enterpriseDashboardTop" >
424
426
<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 >
426
428
<a href =" ${ ctx } /launch/home" class =" launch" title =" Launch a new challenge for your project" >Launch Challenge</a >
427
429
</div >
428
430
</c:if >
Original file line number Diff line number Diff line change 32
32
- the data via ajax.
33
33
-
34
34
--%>
35
+ <%@ page import =" com.topcoder.direct.services.configs.ServerConfiguration" %>
35
36
<%@ include file =" /WEB-INF/includes/taglibs.jsp" %>
36
37
38
+ <c:set var =" TCConnectURL" value =" <%= ServerConfiguration . TOPCODER_CONNECT_URL% >" />
39
+
37
40
<div id =" area2" class =" dashboardPage" ><!-- the right column -->
38
41
39
42
<div class =" newSidebar" >
40
43
<div class =" topBtns" >
41
44
<a href =" ${ ctx } /copilot/launchCopilotContest" class =" copilot"
42
45
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 >
45
47
<a href =" ${ ctx } /launch/home" class =" launch" title =" Launch a new challenge for your project" >Launch
46
48
Challenge</a >
47
49
</div >
Original file line number Diff line number Diff line change 349
349
@aws_s3_secret_key@=
350
350
351
351
@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 397
397
@authorizationUrl@=http://api.topcoder-dev.com/v3/authorizations
398
398
@userGroupsApiEndpoint@=http://172.18.0.1:8080/v3/groups
399
399
@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