You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GitHubApi.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ class GitHubApi{
74
74
if(this.isLoggedIn()){
75
75
localStorage.setItem('PopupMessage-'+this.#STARTED+timestamp,'GitHub API rate limit reached\n424px\nWait until the <a href="https://docs.github.com/en/free-pro-team@latest/rest/reference/rate-limit" target="_blank">API rate limit</a> timer resets: <time class="countdown" datetime="'+newDate(timestamp)+'"></time>');
76
76
}else{
77
-
localStorage.setItem('PopupMessage-'+this.#STARTED+timestamp,'GitHub API rate limit reached\n371px\nGitHub has a lower <a href="https://docs.github.com/en/free-pro-team@latest/rest/reference/rate-limit" target="_blank">API rate limit</a> for unsigned requests. <a href="https://ai-tournaments.io/login">Login</a> to be able to continue to create matches or wait until the timer resets: <time class="countdown" datetime="'+newDate(timestamp)+'"></time>');
77
+
localStorage.setItem('PopupMessage-'+this.#STARTED+timestamp,'GitHub API rate limit reached\n371px\nGitHub has a lower <a href="https://docs.github.com/en/free-pro-team@latest/rest/reference/rate-limit" target="_blank">API rate limit</a> for unsigned requests. <a href="https://algorithmic.games/login">Login</a> to be able to continue to create matches or wait until the timer resets: <time class="countdown" datetime="'+newDate(timestamp)+'"></time>');
session.externalReplaysAccepted=(prompt('External replays are by default blocked for security reasons, since they are outside of AI-Tournaments control. So use them at your own risk. Only do this to URLs for code that you trust.\n\nWrite "'+passphrase+'" to allow external replay viewers.')??'').toLowerCase()===passphrase.toLowerCase();
448
+
session.externalReplaysAccepted=(prompt('External replays are by default blocked for security reasons, since they are outside of Algorithmic Games\' control. So use them at your own risk. Only do this to URLs for code that you trust.\n\nWrite "'+passphrase+'" to allow external replay viewers.')??'').toLowerCase()===passphrase.toLowerCase();
headers: {Accept: 'application/vnd.github.mercy-preview+json'}// TEMP: Remove when out of preview. https://docs.github.com/en/rest/reference/search#search-topics-preview-notices
'Welcome to the tournament!','Here you can participate in different games (known as Arenas) for a fun challenge to stay atop of the leaderboards. Read the <a href="https://github.com/AI-Tournaments#participate" target="_blank">Participate</a> section in the README to get started.\n'+
60
-
'If you want to you can join the community discussionsover at the <a href="https://discord.gg/jhUJNsN" target="_blank">Discord server</a>.\n'+
'Welcome to Algorithmic Games!','Here you can participate in different games (known as Arenas) for a fun challenge and try to stay atop on the leader boards. Read the <a href="https://github.com/AlgorithmicGames#participate" target="_blank">Participate</a> section in the README to get started.\n'+
60
+
'If you want to you join the discussions, head on over to the <a href="https://algorithmic.games/Community/Official/" target="_blank">Community handbook</a> and read where we are.\n'+
0 commit comments