Skip to content

Commit 41174f1

Browse files
committed
ggtracker info cleanup
1 parent cddf617 commit 41174f1

29 files changed

+61
-62
lines changed

LICENSE.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Copyright (c) 2012-2014 GGTracker, Inc.
2-
31
All Blizzard IP (for example, unit names) that appears in this
42
codebase is property of Blizzard.
53

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ It'll work, but there will be no matches, no players. To make it more
5252
interesting, you can simply point your ggtracker at the production
5353
ESDB server like so:
5454

55-
`ESDB_HOST=api.ggtracker.com ESDB_MATCHBLOBS_BUCKET=gg2-matchblobs-prod foreman start web`
55+
`ESDB_HOST=api.gggreplays.com ESDB_MATCHBLOBS_BUCKET=gg2-matchblobs-prod foreman start web`
5656

5757
And then go to http://localhost:3000/matches in your browser. If you
5858
see recent matches, it's working!

app/assets/javascripts/angular/controllers/match.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function($scope, $window, $route, $location, $element, Match) {
7070
history.back();
7171
},
7272
error: function() {
73-
alert("Sorry, this match could not be deleted for some reason. Please contact hello@ggtracker.com and they'll take care of it for you.");
73+
alert("Sorry, this match could not be deleted for some reason. Please contact gggreplays@gmail.com and they'll take care of it for you.");
7474
}
7575
});
7676
}

app/assets/javascripts/angular/controllers/player.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ gg.controller('PlayerController', ['$scope', '$window', 'Player', function ($sco
3939
alert("Got it! It usually takes about ten minutes to retrieve match details. Whenever you upload a new replay we will retrieve match details for you again.");
4040
},
4141
error: function() {
42-
alert("Sorry, we couldn't process your Character Code for some reason. Please contact hello@ggtracker.com and they'll take care of it for you.");
42+
alert("Sorry, we couldn't process your Character Code for some reason. Please contact gggreplays@gmail.com and they'll take care of it for you.");
4343
}
4444
});
4545
}

app/assets/javascripts/angular/directives/account.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ gg.directive('uaccount', ['Account', function(Account) {
3636
alert("We have started deleting your matches.");
3737
},
3838
error: function() {
39-
alert("Sorry, your matches could not be deleted for some reason. Please contact hello@ggtracker.com and we will beat the person responsible.");
39+
alert("Sorry, your matches could not be deleted for some reason. Please contact gggreplays@gmail.com and we will beat the person responsible.");
4040
}
4141

4242
// next steps through the code:

app/assets/javascripts/setdocdomain.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Proxino.log("gg.js domain was " + document.domain);
2-
// weird, was ggtracker.com even though script was served via CDN
2+
// weird, was gggreplays.com even though script was served via CDN
33
if (location.hostname.match(/^[0-9.]*$/) == null) {
4-
// only set document.domain if our location is a hostname like ggtracker.com or
4+
// only set document.domain if our location is a hostname like gggreplays.com or
55
// ggtracker.test. But if it's an IP address, dont bother.
66
document.domain = /(\w+)(.\w+)?$/.exec(location.hostname)[0];
77
}

app/controllers/home_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ def hiring_leaderboard
6868
$leaders_age = Time.now
6969
end
7070

71-
@recruiting_url = "http://ggtracker.com/hiring"
71+
@recruiting_url = "http://gggreplays.com/hiring"
7272
if signed_in?
73-
@recruiting_url = "http://ggtracker.com/hiring?ref=#{current_user.id}"
73+
@recruiting_url = "http://gggreplays.com/hiring?ref=#{current_user.id}"
7474
end
7575
end
7676
end

app/controllers/matches_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def show
4343
# and there is only one match, then we are in business!
4444
#
4545
# then the prev match can be:
46-
# ggtracker.com/matches/prev?identity=<esdb_identity_id>&match=<esdb_match_id>
47-
# ggtracker.com/matches/next?identity=<esdb_identity_id>&match=<esdb_match_id>
46+
# gggreplays.com/matches/prev?identity=<esdb_identity_id>&match=<esdb_match_id>
47+
# gggreplays.com/matches/next?identity=<esdb_identity_id>&match=<esdb_match_id>
4848
# api.esdb.net/api/v1/matches/prev?identity=<esdb_identity_id>&match=<esdb_match_id>
4949
# api.esdb.net/api/v1/matches/next?identity=<esdb_identity_id>&match=<esdb_match_id>
5050
#

app/controllers/replays_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def drop
3535
xml.instruct!
3636
xml.uploadResult(docVersion: '1.0') {
3737
xml.errorCode(403)
38-
xml.message('Uploading from Sc2gears requires a GGTracker Pro subscription. See http://ggtracker.com/go_pro for more.')
38+
xml.message('Uploading from Sc2gears requires a GGTracker Pro subscription. See http://gggreplays.com/go_pro for more.')
3939
xml.replayUrl('')
4040
}
4141
render(xml: xml.target!, status: 200) and return

app/views/home/_go_pro.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
It's $5/month, <a class="action button" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q4LPUP7WZQ3ZE&<% if current_user.present? %>custom=<%= current_user.id %><% end %>">sign up for GGTRACKER PRO</a></li>
1818
</p>
1919
<br><br><br><br><br><br><br>
20-
<p class="small">Players who are currently Grandmaster are entitled to GGTracker Pro for free. Just email dsjoerg at ggtracker dot com or <a href="http://twitter.com/GGGReplays">tweet</a>.</p><br>
20+
<p class="small">Players who are currently Grandmaster are entitled to GGTracker Pro for free. Just email dsjoerg at ggtracker dot com or <a href="http://twitter.com/GGGReplays_SC2">tweet</a>.</p><br>
2121
<p class="small">We also offer an <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3QMACJDPHS4EL&custom=<% if current_user.present? %>custom=<%= current_user.id %><% end %>">Annual Subscription</a> for $40/year.</p><br>
2222
<p class="small">If GGTracker Pro isn't for you, you can still help by telling three friends. &nbsp;&nbsp; (Hat tip <a href="http://www.twitch.tv/tumescentpie">TumescentPie</a>)</p>

0 commit comments

Comments
 (0)