Skip to content

Commit cbdd2e2

Browse files
authored
Merge pull request #56 from topcoder-platform/dev
v1.0.4
2 parents 9af6af8 + f890395 commit cbdd2e2

File tree

88 files changed

+5752
-50
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+5752
-50
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ workflows:
7777
branches:
7878
only:
7979
- dev
80+
- submission-page
8081

8182
# Production builds are exectuted only on tagged commits to the
8283
# master branch.

config/dev.js

Lines changed: 38 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,51 +12,36 @@ module.exports = {
1212
/**
1313
* URL of Topcoder Connect Website
1414
*/
15-
SERVER_API_KEY: "79b2d5eb-c1fd-42c4-9391-6b2c9780d591",
1615
CONNECT_WEBSITE_URL: "https://connect.topcoder-dev.com",
1716

17+
SERVER_API_KEY: "79b2d5eb-c1fd-42c4-9391-6b2c9780d591",
1818
URL: {
19-
ARENA: "https://arena.topcoder-dev.com",
19+
/* Connector URL of the TC accounts App. */
20+
ACCOUNTS_APP_CONNECTOR: "https://accounts-auth0.topcoder-dev.com",
21+
22+
/* The remote address where the app is deployed. */
2023
APP: "https://community-app.topcoder-dev.com",
2124

2225
/* This is the same value as above, but it is used by topcoder-react-lib,
2326
* as a more verbose name for the param. */
2427
COMMUNITY_APP: "https://community-app.topcoder-dev.com",
2528

29+
PLATFORM_WEBSITE: "https://platform.topcoder-dev.com",
30+
ARENA: "https://arena.topcoder-dev.com",
2631
AUTH: "https://accounts-auth0.topcoder-dev.com",
2732
BASE: "https://www.topcoder-dev.com",
2833
HOME: "/my-dashboard",
2934
BLOG: "https://www.topcoder-dev.com/blog",
3035
BLOG_FEED: "https://www.topcoder.com/blog/feed/",
31-
3236
COMMUNITY: "https://community.topcoder-dev.com",
3337
FORUMS: "https://apps.topcoder-dev.com/forums",
3438
FORUMS_VANILLA: "https://vanilla.topcoder-dev.com",
3539
HELP:
36-
"https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles",
40+
"https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles",
3741
SUBMISSION_REVIEW: "https://submission-review.topcoder-dev.com",
3842

3943
THRIVE: "https://www.topcoder.com/thrive",
4044

41-
MEMBER: "https://members.topcoder-dev.com",
42-
ONLINE_REVIEW: "https://software.topcoder-dev.com",
43-
PAYMENT_TOOL: "https://payment.topcoder-dev.com",
44-
STUDIO: "https://studio.topcoder-dev.com",
45-
IOS: "https://ios.topcoder-dev.com",
46-
47-
/* Connector URL of the TC accounts App. */
48-
ACCOUNTS_APP_CONNECTOR: "https://accounts-auth0.topcoder-dev.com",
49-
50-
TCO: "https://www.topcoder.com/tco",
51-
TCO17: "https://tco17.topcoder.com/",
52-
TCO19: "https://community-app.topcoder-dev.com/__community__/tco19",
53-
WIPRO: "https://wipro.topcoder.com",
54-
55-
TOPGEAR: "https://dev-topgear.wipro.com",
56-
57-
COMMUNITY_API: "http://localhost:8000",
58-
COMMUNITY_APP_GITHUB_ISSUES:
59-
"https://github.com/topcoder-platform/community-app/issues",
6045
COMMUNITIES: {
6146
BLOCKCHAIN: "https://blockchain.topcoder-dev.com",
6247
COGNITIVE: "https://cognitive.topcoder-dev.com",
@@ -65,6 +50,8 @@ module.exports = {
6550
CS: "https://community-app.topcoder-dev.com/__community__/cs",
6651
},
6752

53+
/* Dedicated section to group together links to various articles in
54+
* Topcoder help center. */
6855
INFO: {
6956
DESIGN_CHALLENGES:
7057
"http://help.topcoder.com/hc/en-us/categories/202610437-DESIGN",
@@ -90,10 +77,28 @@ module.exports = {
9077
TEMPLATES_REPO: "https://github.com/topcoder-platform-templates",
9178
},
9279

80+
IOS: "https://ios.topcoder-dev.com",
81+
MEMBER: "https://members.topcoder-dev.com",
82+
ONLINE_REVIEW: "https://software.topcoder-dev.com",
83+
PAYMENT_TOOL: "https://payment.topcoder-dev.com",
84+
STUDIO: "https://studio.topcoder-dev.com",
85+
TCO: "https://www.topcoder.com/tco",
86+
TCO17: "https://tco17.topcoder.com/",
87+
TCO19: "https://community-app.topcoder-dev.com/__community__/tco19",
88+
89+
TOPGEAR: "https://dev-topgear.wipro.com",
90+
9391
USER_SETTINGS: "https://lc1-user-settings-service.herokuapp.com",
94-
EMAIL_VERIFY_URL: "http://www.topcoder-dev.com/settings/account/changeEmail",
92+
WIPRO: "https://wipro.topcoder.com",
93+
COMMUNITY_API: "http://localhost:8000",
94+
COMMUNITY_APP_GITHUB_ISSUES:
95+
"https://github.com/topcoder-platform/community-app/issues",
96+
EMAIL_VERIFY_URL:
97+
"http://www.topcoder-dev.com/settings/account/changeEmail",
9598
ABANDONMENT_EMBED:
9699
"https://43d132d5dbff47c59d9d53ad448f93c2.js.ubembed.com",
100+
// If a logged in user is a member of any of these groups, when they land on
101+
// their profile page (members/:handle), they'll be redirected to the "userProfile" url
97102
SUBDOMAIN_PROFILE_CONFIG: [
98103
{
99104
groupId: "20000000",
@@ -115,7 +120,6 @@ module.exports = {
115120
V3: "https://api.topcoder-dev.com/v3",
116121
V2: "https://api.topcoder-dev.com/v2",
117122
},
118-
119123
MOCK_TERMS_SERVICE: false,
120124
AV_SCAN_SCORER_REVIEW_TYPE_ID: "55bbb17d-aac2-45a6-89c3-a8d102863d05",
121125
PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID: "df51ca7d-fb0a-4147-9569-992fcf5aae48",
@@ -126,4 +130,13 @@ module.exports = {
126130
DEFAULT_SPACE_NAME: "default",
127131
DEFAULT_ENVIRONMENT: "master",
128132
},
133+
/* Filestack configuration for uploading Submissions
134+
* These are for the development back end */
135+
FILESTACK: {
136+
API_KEY: process.env.FILESTACK_API_KEY || "AzFINuQoqTmqw0QEoaw9az",
137+
REGION: "us-east-1",
138+
SUBMISSION_CONTAINER:
139+
process.env.FILESTACK_SUBMISSION_CONTAINER ||
140+
"topcoder-dev-submissions-dmz",
141+
},
129142
};

config/prod.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = {
2323
* as a more verbose name for the param. */
2424
COMMUNITY_APP: "https://community-app.topcoder.com",
2525

26+
PLATFORM_WEBSITE: "https://platform.topcoder.com",
2627
AUTH: "https://accounts-auth0.topcoder.com",
2728
BASE: "https://www.topcoder.com",
2829
HOME: "/my-dashboard",
@@ -126,4 +127,11 @@ module.exports = {
126127
DEFAULT_SPACE_NAME: "default",
127128
DEFAULT_ENVIRONMENT: "master",
128129
},
130+
FILESTACK: {
131+
API_KEY: process.env.FILESTACK_API_KEY || "AzFINuQoqTmqw0QEoaw9az",
132+
REGION: "us-east-1",
133+
SUBMISSION_CONTAINER:
134+
process.env.FILESTACK_SUBMISSION_CONTAINER ||
135+
"topcoder-dev-submissions-dmz",
136+
},
129137
};

0 commit comments

Comments
 (0)