Skip to content

Commit 731f4a0

Browse files
Merge branch 'develop' into ast-login-fix
2 parents acff5ad + dedd15a commit 731f4a0

File tree

40 files changed

+1772
-226
lines changed

40 files changed

+1772
-226
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ workflows:
350350
branches:
351351
only:
352352
- free
353+
- fix-country-setting-page
353354
# This is alternate dev env for parallel testing
354355
- "build-qa":
355356
context : org-global
@@ -370,8 +371,7 @@ workflows:
370371
filters: &filters-staging
371372
branches:
372373
only:
373-
- develop
374-
- ast-login-fix
374+
- develop
375375
# Production builds are exectuted
376376
# when PR is merged to the master
377377
# Don't change anything in this configuration

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

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)