diff --git a/build.php b/build.php index 425052e..a6827f8 100644 --- a/build.php +++ b/build.php @@ -2,4 +2,4 @@ require_once __DIR__ . '/vendor/autoload.php'; -\Aternos\Mclogs\Frontend\Assets\AssetLoader::getInstance()->writeCache(); \ No newline at end of file +\IndifferentKetchup\Iblogs\Frontend\Assets\AssetLoader::getInstance()->writeCache(); \ No newline at end of file diff --git a/composer.json b/composer.json index f01c4a4..df33ba8 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "aternos/mclogs", + "name": "indifferentketchup/iblogs", "description": "Paste, share and analyse Minecraft logs", "authors": [ { @@ -22,7 +22,7 @@ }, "autoload": { "psr-4": { - "Aternos\\Mclogs\\": "src/" + "IndifferentKetchup\\Iblogs\\": "src/" } } } diff --git a/src/Api/Action/AnalyseLogAction.php b/src/Api/Action/AnalyseLogAction.php index f5a22bc..a43ecce 100644 --- a/src/Api/Action/AnalyseLogAction.php +++ b/src/Api/Action/AnalyseLogAction.php @@ -1,12 +1,12 @@ 25000, ConfigKey::MONGODB_URL => 'mongodb://mongo:27017', - ConfigKey::MONGODB_DATABASE => 'mclogs', + ConfigKey::MONGODB_DATABASE => 'iblogs', ConfigKey::ID_LENGTH => 7, @@ -66,7 +66,7 @@ enum ConfigKey */ public function getEnvironmentVariable(): string { - return "MCLOGS_" . $this->name; + return "IBLOGS_" . $this->name; } /** diff --git a/src/Data/Deobfuscator.php b/src/Data/Deobfuscator.php index 3952a82..2339357 100644 --- a/src/Data/Deobfuscator.php +++ b/src/Data/Deobfuscator.php @@ -1,6 +1,6 @@ get(ConfigKey::ID_LENGTH); $newId = ""; diff --git a/src/Log.php b/src/Log.php index c5881b8..3b18c68 100644 --- a/src/Log.php +++ b/src/Log.php @@ -1,21 +1,21 @@ get(ConfigKey::STORAGE_TTL); + $ttl = \IndifferentKetchup\Iblogs\Config\Config::getInstance()->get(ConfigKey::STORAGE_TTL); $expires = time() + $ttl; return new UTCDateTime($expires * 1000); } diff --git a/src/Printer/FormatModification.php b/src/Printer/FormatModification.php index a4f425c..20e418d 100644 --- a/src/Printer/FormatModification.php +++ b/src/Printer/FormatModification.php @@ -1,6 +1,6 @@ @@ -586,7 +586,7 @@ $config = Config::getInstance();

Success application/json

-
+

Filter types

diff --git a/web/frontend/log.php b/web/frontend/log.php index 97c5fb1..a9d4349 100644 --- a/web/frontend/log.php +++ b/web/frontend/log.php @@ -1,13 +1,13 @@ get(\Aternos\Mclogs\Config\ConfigKey::FRONTEND_COLOR_ACCENT)); ?>" xmlns="http://www.w3.org/2000/svg"> + diff --git a/web/frontend/parts/footer.php b/web/frontend/parts/footer.php index 242c061..bf1097f 100644 --- a/web/frontend/parts/footer.php +++ b/web/frontend/parts/footer.php @@ -1,5 +1,5 @@ get(ConfigKey::LEGAL_IMPRINT); $privacyUrl = Config::getInstance()->get(ConfigKey::LEGAL_PRIVACY); @@ -19,10 +19,9 @@ $privacyUrl = Config::getInstance()->get(ConfigKey::LEGAL_PRIVACY); GitHub - Mod/Plugin - API + GitHub + API - developed by Aternos + based on mclogs by Aternos diff --git a/web/frontend/parts/head.php b/web/frontend/parts/head.php index bf35fbf..3607e93 100644 --- a/web/frontend/parts/head.php +++ b/web/frontend/parts/head.php @@ -1,17 +1,17 @@ getHTML(AssetType::CSS, "vendor/fontawesome/css/fontawesome.min.css"); ?> - getHTML(AssetType::CSS, "css/mclogs.css"); ?> + getHTML(AssetType::CSS, "css/iblogs.css"); ?>