Updated gitignore
This commit is contained in:
@@ -14,6 +14,9 @@ requests.json
|
|||||||
unalike.json
|
unalike.json
|
||||||
users.json
|
users.json
|
||||||
|
|
||||||
|
# Template unignore
|
||||||
|
!setup_help/*
|
||||||
|
|
||||||
# Files that are not appropriate for git
|
# Files that are not appropriate for git
|
||||||
created.txt
|
created.txt
|
||||||
description.txt
|
description.txt
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
<?php
|
|
||||||
// Server: irc.ppy.sh
|
|
||||||
// Port: 6667
|
|
||||||
// Username: username_with_underscores_instead_of_spaces
|
|
||||||
// Server Password: xxxxxxxx
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// -------------------------------------------
|
|
||||||
// You can just copy-paste your "IRC details"
|
|
||||||
// from https://osu.ppy.sh/p/irc to this file.
|
|
||||||
//
|
|
||||||
// Make sure to keep the first line as "<?php"
|
|
||||||
// without the quotes because it "hides" your
|
|
||||||
// sensitive information without further
|
|
||||||
// configuration.
|
|
||||||
//
|
|
||||||
// You can also keep it outside of your web
|
|
||||||
// directory and save it as a plain text file
|
|
||||||
// That way you will never have to worry
|
|
||||||
// about accidentally sharing sensitive
|
|
||||||
// information.
|
|
||||||
// -------------------------------------------
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<?php
|
|
||||||
// for api v1
|
|
||||||
$api_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // osu! API v1 key, get one at https://osu.ppy.sh/p/api
|
|
||||||
|
|
||||||
// for api v2
|
|
||||||
$client_id = "1234"; // osu! API v2 client ID, register one at https://osu.ppy.sh/home/account/edit#new-oauth-application
|
|
||||||
$client_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // v2 client secret, you will get one with registering a client ID
|
|
||||||
$callback_uri = "https://example.com/path/to/Unalike/OAuth/"; // the location where users will be redirected after logging in
|
|
||||||
// note that you will have to provide the same path when registering your client on the osu website!
|
|
||||||
|
|
||||||
// the comments are not needed for your live api_key.php file. the order of the lines are not important except for the very first line
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
// Copy this file to the unalike root and change the $local_secret variable to something unique.
|
|
||||||
$local_secret = "xxxxxSomethingUniqueHerePls12345";
|
|
||||||
|
|
||||||
// It is recommended to choose a long and complicated secret (at least a 100 characters long alphanumeric string)
|
|
||||||
|
|
||||||
// Using special characters is not advised because this is sent through the HTTP(S) protocol GET method with
|
|
||||||
// god knows what encoding...
|
|
||||||
+2
-2
@@ -13,8 +13,8 @@ from os import path
|
|||||||
# CONFIGURATION
|
# CONFIGURATION
|
||||||
|
|
||||||
# location of the account files
|
# location of the account files
|
||||||
account_path = "account.php" # take a look at "setup_help/account_template.php"
|
account_path = "account.php" # take a look at "setup_help/account.php"
|
||||||
local_secret_path = "local_secret.php" # take a look at "setup_help/local_secret_template.php"
|
local_secret_path = "local_secret.php" # take a look at "setup_help/local_secret.php"
|
||||||
|
|
||||||
# how many seconds should be between commands
|
# how many seconds should be between commands
|
||||||
global_irc_send_timeout = 4 # in seconds (3 didn't work sometimes, 7 should always work)
|
global_irc_send_timeout = 4 # in seconds (3 didn't work sometimes, 7 should always work)
|
||||||
|
|||||||
Reference in New Issue
Block a user