Skip to content

Commit f7b8420

Browse files
Merge pull request #6323 from topcoder-platform/develop
Release v1.15.12
2 parents 4e3281b + 967e5fc commit f7b8420

File tree

9 files changed

+36
-49
lines changed

9 files changed

+36
-49
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,21 +349,21 @@ workflows:
349349
filters:
350350
branches:
351351
only:
352-
- csp-headers
352+
- free
353353
# This is alternate dev env for parallel testing
354354
- "build-qa":
355355
context : org-global
356356
filters:
357357
branches:
358358
only:
359-
- thrive-rss
359+
- free
360360
# This is beta env for production soft releases
361361
- "build-prod-beta":
362362
context : org-global
363363
filters:
364364
branches:
365365
only:
366-
- csp-headers
366+
- free
367367
# This is stage env for production QA releases
368368
- "build-prod-staging":
369369
context : org-global

config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ module.exports = {
117117
HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
118118
SUBMISSION_REVIEW: 'https://submission-review.topcoder-dev.com',
119119

120-
THRIVE: 'https://www.topcoder.com/thrive',
120+
THRIVE: 'https://community-app.topcoder-dev.com/thrive',
121121

122122
COMMUNITIES: {
123123
BLOCKCHAIN: 'https://blockchain.topcoder-dev.com',

config/production.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ module.exports = {
5050

5151
COMMUNITY_API: 'http://localhost:8000',
5252

53+
THRIVE: 'https://www.topcoder.com/thrive',
54+
5355
COMMUNITIES: {
5456
BLOCKCHAIN: 'https://blockchain.topcoder.com',
5557
COGNITIVE: 'https://cognitive.topcoder.com',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"supertest": "^3.1.0",
154154
"tc-core-library-js": "github:appirio-tech/tc-core-library-js#v2.6.3",
155155
"tc-ui": "^1.0.12",
156-
"topcoder-react-lib": "1.2.5",
156+
"topcoder-react-lib": "1.2.6",
157157
"topcoder-react-ui-kit": "2.0.1",
158158
"topcoder-react-utils": "0.7.8",
159159
"turndown": "^4.0.2",

src/shared/components/Settings/Account/MyAccount/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ export default class MyAccount extends ConsentComponent {
782782
<div styleName="field col-2">
783783
<div styleName="validation-bar" className="form-field">
784784
<div styleName={`password toggle-password ${focus['new-password-input'] ? 'focus' : ''}`}>
785-
<input id="new-password-input" styleName="password-input" ref={this.newPasswordRef} onChange={this.checkPassword} onFocus={this.onPasswordFocus} onBlur={this.onPasswordBlur} name="password" type={passwordInputType['new-password-input']} placeholder="RE-TYPE YOUR NEW PASSWORD" minLength="8" maxLength="64" required />
785+
<input id="new-password-input" styleName="password-input" ref={this.newPasswordRef} onChange={this.checkPassword} onFocus={this.onPasswordFocus} onBlur={this.onPasswordBlur} name="password" type={passwordInputType['new-password-input']} placeholder="TYPE YOUR NEW PASSWORD" minLength="8" maxLength="64" required />
786786
<label htmlFor="newPasswordCheckbox" styleName="passwordCheckbox">
787787
<input type="checkbox" id="newPasswordCheckbox" styleName="newPasswordCheckbox" onChange={() => this.toggleTypeAttribute('new-password-input')} />
788788
Show
@@ -818,7 +818,7 @@ export default class MyAccount extends ConsentComponent {
818818
<div styleName="field col-2">
819819
<div styleName="validation-bar" className="form-field">
820820
<div styleName={`password toggle-password ${focus['re-new-password-input'] ? 'focus' : ''}`}>
821-
<input id="re-new-password-input" styleName="password-input" ref={this.reNewPasswordRef} onChange={this.checkPassword} onFocus={this.onPasswordFocus} onBlur={this.onPasswordBlur} name="re-password" type={passwordInputType['re-new-password-input']} placeholder="TYPE YOUR NEW PASSWORD" minLength="8" maxLength="64" required />
821+
<input id="re-new-password-input" styleName="password-input" ref={this.reNewPasswordRef} onChange={this.checkPassword} onFocus={this.onPasswordFocus} onBlur={this.onPasswordBlur} name="re-password" type={passwordInputType['re-new-password-input']} placeholder="RE-TYPE YOUR NEW PASSWORD" minLength="8" maxLength="64" required />
822822
<label htmlFor="reNewPasswordCheckbox" styleName="passwordCheckbox">
823823
<input type="checkbox" id="reNewPasswordCheckbox" styleName="newPasswordCheckbox" onChange={() => this.toggleTypeAttribute('re-new-password-input')} />
824824
Show

src/shared/components/challenge-detail/Specification/index.jsx

Lines changed: 24 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -363,53 +363,37 @@ export default function ChallengeDetailsView(props) {
363363
</div>
364364
)
365365
}
366-
<article>
367-
<h2>
368-
Payments
369-
</h2>
370-
{
371-
isWipro ? (
372-
<div>
373-
<p>
374-
For employees of Wipro Technologies, following are the
375-
payment terms. Winner/s would be awarded the prize money on
376-
successful completion and acceptance of the submission by
377-
the stakeholder. Accumulated prize money for the month will
378-
be paid through Wipro payroll as part of subsequent month’s
379-
salary (eg. Aug month challenge winners payment will be
380-
credited as part Sept month salary). For payment of prize
381-
money, respective country currency conversion shall be
382-
considered as per Wipro standard currency conversion
383-
guidelines. Please refer to policy document at
384-
&zwnj;
385-
<a
386-
href="https://wipro365.sharepoint.com/sites/wipro-people-policies/wipro%20policies/TopGear-RewardPoints-Policy.pdf"
387-
rel="noopener noreferrer"
388-
target="_blank"
389-
>
390-
https://wipro365.sharepoint.com/sites/wipro-people-policies/wipro%20policies/TopGear-RewardPoints-Policy.pdf
391-
</a>
392-
&zwnj;
393-
for details regarding the policy.
394-
</p>
395-
</div>
396-
) : (
366+
{isWipro && (
367+
<article>
368+
<h2>
369+
Payments
370+
</h2>
371+
<div>
397372
<p>
398-
Topcoder will compensate members in accordance with our standard payment policies, unless
399-
otherwise specified in this challenge. For information on payment policies, setting up your profile to
400-
receive payments, and general payment questions, please refer to
373+
For employees of Wipro Technologies, following are the
374+
payment terms. Winner/s would be awarded the prize money on
375+
successful completion and acceptance of the submission by
376+
the stakeholder. Accumulated prize money for the month will
377+
be paid through Wipro payroll as part of subsequent month’s
378+
salary (eg. Aug month challenge winners payment will be
379+
credited as part Sept month salary). For payment of prize
380+
money, respective country currency conversion shall be
381+
considered as per Wipro standard currency conversion
382+
guidelines. Please refer to policy document at
401383
&zwnj;
402384
<a
403-
href="https://www.topcoder.com/thrive/articles/Payment%20Policies%20and%20Instructions"
385+
href="https://wipro365.sharepoint.com/sites/wipro-people-policies/wipro%20policies/TopGear-RewardPoints-Policy.pdf"
404386
rel="noopener noreferrer"
405387
target="_blank"
406388
>
407-
Payment Policies and Instructions
408-
</a>.
389+
https://wipro365.sharepoint.com/sites/wipro-people-policies/wipro%20policies/TopGear-RewardPoints-Policy.pdf
390+
</a>
391+
&zwnj;
392+
for details regarding the policy.
409393
</p>
410-
)
411-
}
412-
</article>
394+
</div>
395+
</article>
396+
)}
413397
</div>
414398
</div>
415399
<SideBar

src/shared/components/challenge-detail/Specification/styles.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ $tc-link-visited: #0c4e98;
421421
.challenge-specs-main {
422422
@include roboto-regular;
423423

424+
width: 100%;
424425
padding: 0 20px;
425426
max-width: 720px;
426427
align-self: center;

src/shared/components/challenge-detail/ThriveArticles/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function ThriveArticles({ articles }) {
2020

2121
const getPageUrl = article => (article.externalArticle && article.contentUrl
2222
? article.contentUrl
23-
: `${config.TC_EDU_BASE_PATH}${config.TC_EDU_ARTICLES_PATH}/${article.slug || article.title}`);
23+
: `${config.URL.THRIVE}${config.TC_EDU_ARTICLES_PATH}/${article.slug || article.title}`);
2424

2525
const items = map(articles, (a, idx) => (
2626
<div styleName="article" key={idx}>

src/shared/containers/Profile.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class ProfileContainer extends React.Component {
9696
handleParam,
9797
} = this.props;
9898

99-
if (loadingError) {
99+
if (loadingError || (info && info.status !== 'ACTIVE')) {
100100
return <Error404 />;
101101
}
102102

0 commit comments

Comments
 (0)