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

Commit f438480

Browse files
committed
fix menu
1 parent c152bc3 commit f438480

File tree

4 files changed

+11
-16
lines changed

4 files changed

+11
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In this configuration, we'll run the direct app in a docker container locally bu
2222
3. Run `docker-compose up` from the `root dir` containing the `docker-compose.yml` file
2323

2424

25-
This will start the app with an endpoint available on port 443. You can now go to https://docker.topcoder-dev.com/direct/enterpriseDashboard/activeContests.action
25+
This will start the app with an endpoint available on port 443. You can now go to https://docker.topcoder-dev.com/direct/allProjects.action
2626

2727
> NOTE: the SSL certificate is self-signed as will generate a warning/error when you access the site for the first time. Just accept it and continue.
2828

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<div id="newHeader">
6767
<div class="topMenu">
6868
<ul class="menus">
69-
<li <ui:isDashboardPage>class="current"</ui:isDashboardPage>>
69+
<li class="hide" <ui:isDashboardPage>class="current"</ui:isDashboardPage>>
7070
<span class="t"><a href="javascript:;">Dashboard</a> <i></i></span>
7171

7272
<div class="flyout lv1">
@@ -213,7 +213,7 @@
213213
</div>
214214
</li>
215215

216-
<li <ui:isReportPage>class="current"</ui:isReportPage>>
216+
<li class="hide" <ui:isReportPage>class="current"</ui:isReportPage>>
217217
<span class="t"><a href="javascript:;">Reporting</a> <i></i></span>
218218

219219
<div class="flyout lv1">
@@ -250,7 +250,7 @@
250250

251251
<ul>
252252
<c:if test="${tcdirect:isSuperAdmin() || tcdirect:isTCAccounting() || tcdirect:isTCStaff() || tcdirect:isScorecardAdmin()}">
253-
<li class="trigger" id="adminGeneralMenu">
253+
<li class="hide" id="adminGeneralMenu">
254254
<a class="first" href="javascript:;">General <span class="arrow"></span></a>
255255

256256
<div class="flyout lv2">

app/src/web/index.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
22
<%
3-
response.sendRedirect("https://"+request.getServerName()+"/direct/enterpriseDashboard/activeContests.action");
3+
response.sendRedirect("https://"+request.getServerName()+"/direct/allProjects.action");
44
%>

token.properties.docker

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ database.INFORMIXSERVER=informixoltp_tcp
1919
###############################
2020
# bugs database configuration #
2121
###############################
22-
bugs.connection.string=jdbc:informix-sqli://tc-informix:2021/informixoltp:INFORMIXSERVER=informixoltp_tcp;
22+
bugs.connection.string=jdbc:informix-sqli://tc-informixdb:2021/informixoltp:INFORMIXSERVER=informixoltp_tcp;
2323
bugs.database.username=informix
2424
bugs.database.password=1nf0rm1x
2525
bugs.database.driver=com.informix.jdbc.IfxDriver
@@ -246,15 +246,10 @@ ApplicationServer.STUDIO_SERVICES_CONTEXT_FACTORY=org.jboss.security.jndi.LoginI
246246
ApplicationServer.STUDIO_SERVICES_PKG_PREFIXES=org.jboss.naming:org.jnp.interfaces
247247
ApplicationServer.STUDIO_SERVICES_JNDI_NAME=StudioServiceBean/remote
248248

249-
ApplicationServer.SSO_COOKIE_KEY=tcsso
250-
ApplicationServer.SSO_HASH_SECRET=GKDKJF80dbdc541fe829898aa01d9e30118bab5d6b9fe94fd052a40069385f5628
251-
ApplicationServer.SSO_DOMAIN=topcoder.com
252-
253-
254249
###########################
255250
# Scorecard Configuration #
256251
###########################
257-
scorecardUrl=jdbc:informix-sqli://tc-informix:2021/tcs_catalog:INFORMIXSERVER=informixoltp_tcp;DB_LOCALE=en_us.utf8
252+
scorecardUrl=jdbc:informix-sqli://tc-informixdb:2021/tcs_catalog:INFORMIXSERVER=informixoltp_tcp;DB_LOCALE=en_us.utf8
258253

259254
################################
260255
# ppt and analytics activation #
@@ -319,13 +314,13 @@ contestUpdateMessageTemplatePath=contest_update_sns_message.txt
319314
#####################################
320315
# Auth0 #
321316
#####################################
322-
DOMAIN_AUTH0 = sma.auth0.com
323-
CLIENT_ID_AUTH0 =
317+
DOMAIN_AUTH0 = topcoder-dev.auth0.com
318+
CLIENT_ID_AUTH0 = JFDo7HMkf0q2CkVFHojy3zHWafziprhT
324319
CLIENT_SECRET_AUTH0 =
325320
JWT_V3_SECRET = secret
326-
REG_SERVER_NAME= tc.cloud.topcoder.com
321+
REG_SERVER_NAME= www.topcoder-dev.com
327322
LDAP_AUTH0_CONNECTION_NAME=vm-ldap-connection
328-
JWT_VALID_ISSUERS = https://api.topcoder.com, https://sma.auth0.com, https://newtc.auth0.com, https://topcoder-newauth.auth0.com/
323+
JWT_VALID_ISSUERS = https://api.topcoder.com,https://sma.auth0.com,https://newtc.auth0.com,https://topcoder-newauth.auth0.com/
329324

330325
ApplicationServer.SSO_COOKIE_KEY=tcsso_vm
331326
ApplicationServer.SSO_HASH_SECRET=GKDKJF80dbdc541fe829898aa01d9e30118bab5d6b9fe94fd052a40069385f5628

0 commit comments

Comments
 (0)