Skip to content

Commit 0e45664

Browse files
Merge branch 'develop' into fix-country-setting-page
2 parents 36fce9e + 69fb08a commit 0e45664

File tree

38 files changed

+1513
-95
lines changed

38 files changed

+1513
-95
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ workflows:
363363
branches:
364364
only:
365365
- free
366-
- fix-country-setting-page
367366
# This is stage env for production QA releases
368367
- "build-prod-staging":
369368
context : org-global

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ ARG TC_M2M_GRANT_TYPE
6464
ARG TC_M2M_AUTH0_PROXY_SERVER_URL
6565
ARG TC_M2M_AUTH0_URL
6666
ARG AUTH_SECRET
67+
ARG VALID_ISSUERS
6768

6869
ARG COMMUNITY_APP_URL
6970
ARG GSHEETS_API_KEY
@@ -124,6 +125,7 @@ ENV TC_M2M_GRANT_TYPE=$TC_M2M_GRANT_TYPE
124125
ENV TC_M2M_AUTH0_PROXY_SERVER_URL=$TC_M2M_AUTH0_PROXY_SERVER_URL
125126
ENV TC_M2M_AUTH0_URL=$TC_M2M_AUTH0_URL
126127
ENV AUTH_SECRET=$AUTH_SECRET
128+
ENV VALID_ISSUERS=$VALID_ISSUERS
127129

128130
ENV CONTENTFUL_MANAGEMENT_TOKEN=$CONTENTFUL_MANAGEMENT_TOKEN
129131
ENV CONTENTFUL_EDU_SPACE_ID=$CONTENTFUL_EDU_SPACE_ID

__tests__/shared/components/GUIKit/Datepicker/__snapshots__/index.jsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ exports[`Default render 1`] = `
3838
isRTL={false}
3939
keepFocusOnInput={false}
4040
keepOpenOnDateSelect={false}
41+
maxDate={null}
42+
minDate={null}
4143
monthFormat="MMMM YYYY"
4244
navNext={
4345
<IconNext

automated-smoke-test/conf.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ exports.config = {
4141
// '../temp/test-suites/tc-header.spec.js',
4242
// '../temp/test-suites/tc-footer.spec.js',
4343
// '../temp/test-suites/tc-preferences.spec.js',
44-
'../temp/test-suites/tc-challenge-listing.spec.js',
45-
// '../temp/test-suites/tc-challenge-detail.spec.js',
44+
'../temp/test-suites/tc-challenge-listing.spec.js',
45+
'../temp/test-suites/tc-challenge-detail.spec.js',
4646
// '../temp/test-suites/tc-my-dashboard.spec.js',
4747
// '../temp/test-suites/tc-member-profile.spec.js',
4848
],

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ docker build -t $TAG \
5151
--build-arg GROWSURF_CAMPAIGN_ID=$GROWSURF_CAMPAIGN_ID \
5252
--build-arg GSHEETS_API_KEY=$GSHEETS_API_KEY \
5353
--build-arg OPTIMIZELY_SDK_KEY=$OPTIMIZELY_SDK_KEY \
54-
--build-arg COMMUNITY_APP_URL=$COMMUNITY_APP_URL .
54+
--build-arg COMMUNITY_APP_URL=$COMMUNITY_APP_URL \
55+
--build-arg VALID_ISSUERS=$VALID_ISSUERS .
5556

5657
# Copies "node_modules" from the created image, if necessary for caching.
5758
docker create --name app $TAG

config/custom-environment-variables.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ module.exports = {
8383

8484
JWT_AUTH: {
8585
SECRET: 'AUTH_SECRET',
86+
AUTH_SECRET: 'AUTH_SECRET',
8687
VALID_ISSUERS: 'VALID_ISSUERS',
8788
},
8889

config/default.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,12 @@ module.exports = {
251251
RECRUITCRM_API_KEY: '',
252252
GROWSURF_API_KEY: '',
253253
SENDGRID_API_KEY: '',
254+
JWT_AUTH: {
255+
SECRET: 'mysecret',
256+
AUTH_SECRET: 'mysecret',
257+
VALID_ISSUERS: '["https://api.topcoder-dev.com", "https://api.topcoder.com", "https://topcoder-dev.auth0.com/", "https://auth.topcoder-dev.com/","https://topcoder.auth0.com/","https://auth.topcoder.com/"]',
258+
},
254259
},
255-
256260
GROWSURF_CAMPAIGN_ID: '',
257261
GROWSURF_COOKIE: '_tc_gigs_ref',
258262
GROWSURF_COOKIE_SETTINGS: {
@@ -429,5 +433,5 @@ module.exports = {
429433
OPTIMIZELY: {
430434
SDK_KEY: '7V4CJhurXT3Y3bnzv1hv1',
431435
},
432-
PLATFORM_SITE_URL: 'https://platform.topcoder.com',
436+
PLATFORM_SITE_URL: 'https://platform.topcoder-dev.com',
433437
};

config/production.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,5 @@ module.exports = {
214214
TC_EDU_SEARCH_PATH: '/search',
215215
TC_EDU_SEARCH_BAR_MAX_RESULTS_EACH_GROUP: 3,
216216
ENABLE_RECOMMENDER: true,
217+
PLATFORM_SITE_URL: 'https://platform.topcoder.com',
217218
};

0 commit comments

Comments
 (0)