Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 8e24f85

Browse files
committed
Merge branch 'release'
2 parents 2048249 + 18a1672 commit 8e24f85

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

src/conf/tc-prod-nginx.conf

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ server {
1818

1919
client_max_body_size 100M;
2020

21+
location = / {
22+
proxy_pass https://wwwtc.wpengine.com/;
23+
proxy_set_header Host wwwtc.wpengine.com;
24+
proxy_set_header X-Real-IP $remote_addr;
25+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
26+
proxy_set_header X-Forwarded-Proto $scheme;
27+
}
28+
2129
location / {
2230
index index.php;
2331
try_files $uri $uri/ /index.php?$args;
@@ -33,7 +41,7 @@ server {
3341
}
3442

3543
location ~ ^/challenge-details/\d+/$ {
36-
index /challenge-details/index.html;
44+
index /challenge-details/index.html;
3745
}
3846

3947
location ~ ^/challenge-details/register(.*) {
@@ -46,7 +54,7 @@ server {
4654

4755
location /my-dashboard {
4856
try_files $uri /my-dashboard/index.html;
49-
root $root_base/dist/html;
57+
root $root_base/dist/html;
5058
}
5159

5260
location ~ ^/js/ {

src/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<ul class="submenu">
77
<li class="submenu-item"><a ng-click="$event.stopPropagation();" href="/sitemap" class="menu-link">SITEMAP</a></li>
88
<li class="submenu-item"><a ng-click="$event.stopPropagation();" href="/about" class="menu-link">ABOUT US</a></li>
9-
<li class="submenu-item"><a ng-click="$event.stopPropagation();" href="/contact-us" class="menu-link">CONTACT US</a></li>
9+
<li class="submenu-item"><a ng-click="$event.stopPropagation();" href="http://help.topcoder.com/hc/en-us/articles/219069687-Contact-Support" class="menu-link">CONTACT US</a></li>
1010
<li class="submenu-item"><a ng-click="$event.stopPropagation();" href="http://help.topcoder.com" target="_blank" class="menu-link">HELP CENTER</a></li>
1111
<li class="submenu-item"><a ng-click="$event.stopPropagation();" href="http://topcoder.com/community/how-it-works/privacy-policy/" class="menu-link">PRIVACY POLICY</a></li>
1212
<li class="submenu-item"><a ng-click="$event.stopPropagation();" href="http://topcoder.com/community/how-it-works/terms/" class="menu-link">TERMS</a></li>

src/js/app/challenges/services/challengeService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
// Add My Challenges Filter and Improve Filters challenge -- different api endpoint
187187
return UserChallengesService.getUserChallenges(listType === 'user-past' ? 'past' : 'active', params);
188188
} else {
189-
params.review = 'COMMUNITY,INTERNAL';
189+
params.review = 'COMMUNITY,INTERNAL,PEER';
190190
return Restangular.one('challenges').getList(listType, params);
191191
}
192192
}
@@ -378,4 +378,4 @@
378378
RestangularConfigurer.setBaseUrl(API_URL + '/dataScience/challenges');
379379
});
380380
}]);
381-
}(angular));
381+
}(angular));

wp/wp-content/themes/tcs-responsive/footer.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,11 @@ function _kms(u){
231231
</script>
232232
<!-- END KISSmetrics -->
233233

234+
<!-- Start of topcoder Zendesk Widget script -->
235+
<script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(c){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("https://assets.zendesk.com/embeddable_framework/main.js","topcoder.zendesk.com");
236+
/*]]>*/</script>
237+
<!-- End of topcoder Zendesk Widget script -->
238+
234239
<script>
235240
(function() {
236241
var headerApp = angular.module('tc.header', [])

0 commit comments

Comments
 (0)