@@ -76,6 +76,82 @@ module.exports = function() {
76
76
77
77
}
78
78
} ,
79
+ 'qa-beta' : {
80
+ 'CONSTANTS' : {
81
+ API_URL : process . env . API_URL || 'https://api.topcoder-qa.com/v3.0.0-BETA' ,
82
+ API_URL_V2 : process . env . API_URL_V2 || 'https://api.topcoder-qa.com/v2' ,
83
+ ASSET_PREFIX : process . env . ASSET_PREFIX || '' ,
84
+ auth0Callback : process . env . auth0Callback || 'https://api.topcoder-qa.com/pub/callback.html' ,
85
+ // auth0Callback: process.env.auth0Callback || 'https://www.topcoder-qa.com/reg2/callback.action',
86
+ auth0Domain : process . env . auth0Domain || 'topcoder-qa.auth0.com' ,
87
+ BLOG_LOCATION : 'https://www.topcoder-qa.com/feed/?post_type=blog' ,
88
+ clientId : process . env . clientId || 'EVOgWZlCtIFlbehkq02treuRRoJk12UR' ,
89
+ COMMUNITY_URL : '//community.topcoder-qa.com' ,
90
+ domain : process . env . domain || 'topcoder-qa.com' ,
91
+ ENVIRONMENT : process . env . ENVIRONMENT || 'qa' ,
92
+ FORUMS_APP_URL : '//apps.topcoder-qa.com/forums' ,
93
+ HELP_APP_URL : 'help.topcoder-qa.com' ,
94
+ MAIN_URL : 'https://www.topcoder-qa.com' ,
95
+ ARENA_URL : '//arena.topcoder-qa.com' ,
96
+ NEW_CHALLENGES_URL : 'https://www.topcoder.com/challenges/develop/upcoming/' ,
97
+ NEW_RELIC_APPLICATION_ID : process . env . NEW_RELIC_APPLICATION_ID || '' ,
98
+ PHOTO_LINK_LOCATION : 'https://community.topcoder-qa.com' ,
99
+ submissionDownloadPath : '/review/actions/DownloadContestSubmission?uid=' ,
100
+ SWIFT_PROGRAM_ID : 3445 ,
101
+ SWIFT_PROGRAM_URL : 'apple.topcoder-qa.com' ,
102
+ UPCOMING_SRMS_URL : 'https://www.topcoder.com/challenges/data/upcoming/' ,
103
+
104
+ // EVENTS
105
+ EVENT_USER_LOGGED_IN : 'user_logged_in' ,
106
+ EVENT_USER_LOGGED_OUT : 'user_logged_out' ,
107
+ EVENT_PROFILE_UPDATED : 'profile_updated' ,
108
+
109
+ STATE_LOADING : 'loading' ,
110
+ STATE_ERROR : 'error' ,
111
+ STATE_READY : 'ready' ,
112
+
113
+ BUSY_PROGRESS_MESSAGE : 'Processing..'
114
+
115
+ }
116
+ } ,
117
+ 'production-beta' : {
118
+ 'CONSTANTS' : {
119
+ API_URL : process . env . API_URL || 'https://api.topcoder.com/v3.0.0-BETA' ,
120
+ API_URL_V2 : process . env . API_URL_V2 || 'https://api.topcoder.com/v2' ,
121
+ ASSET_PREFIX : process . env . ASSET_PREFIX || 'https://s3.amazonaws.com/app.topcoder-dev.com' ,
122
+ auth0Callback : process . env . auth0Callback || 'https://api.topcoder.com/pub/callback.html' ,
123
+ // auth0Callback: process.env.auth0Callback || 'https://www.topcoder.com/reg2/callback.action',
124
+ auth0Domain : process . env . auth0Domain || 'topcoder.auth0.com' ,
125
+ BLOG_LOCATION : 'https://www.topcoder.com/feed/?post_type=blog' ,
126
+ clientId : process . env . clientId || 'JFDo7HMkf0q2CkVFHojy3zHWafziprhT' ,
127
+ COMMUNITY_URL : '//community.topcoder.com' ,
128
+ domain : process . env . domain || 'topcoder.com' ,
129
+ ENVIRONMENT : process . env . ENVIRONMENT || 'production' ,
130
+ FORUMS_APP_URL : '//apps.topcoder.com/forums' ,
131
+ HELP_APP_URL : 'help.topcoder.com' ,
132
+ MAIN_URL : 'https://www.topcoder.com' ,
133
+ ARENA_URL : '//arena.topcoder.com' ,
134
+ NEW_CHALLENGES_URL : 'https://www.topcoder.com/challenges/develop/upcoming/' ,
135
+ NEW_RELIC_APPLICATION_ID : process . env . NEW_RELIC_APPLICATION_ID || '' ,
136
+ PHOTO_LINK_LOCATION : 'https://community.topcoder.com' ,
137
+ submissionDownloadPath : '/review/actions/DownloadContestSubmission?uid=' ,
138
+ SWIFT_PROGRAM_ID : 3445 ,
139
+ SWIFT_PROGRAM_URL : 'apple.topcoder.com' ,
140
+ UPCOMING_SRMS_URL : 'https://www.topcoder.com/challenges/data/upcoming/' ,
141
+
142
+ // EVENTS
143
+ EVENT_USER_LOGGED_IN : 'user_logged_in' ,
144
+ EVENT_USER_LOGGED_OUT : 'user_logged_out' ,
145
+ EVENT_PROFILE_UPDATED : 'profile_updated' ,
146
+
147
+ STATE_LOADING : 'loading' ,
148
+ STATE_ERROR : 'error' ,
149
+ STATE_READY : 'ready' ,
150
+
151
+ BUSY_PROGRESS_MESSAGE : 'Processing..'
152
+
153
+ }
154
+ } ,
79
155
'production' : {
80
156
'CONSTANTS' : {
81
157
API_URL : process . env . API_URL || 'https://api.topcoder.com/v3' ,
0 commit comments