diff --git a/.github/user_bug_report.md b/.github/user_bug_report.md index df09513..9e5f2a5 100755 --- a/.github/user_bug_report.md +++ b/.github/user_bug_report.md @@ -28,7 +28,7 @@ If applicable, add screenshots to help explain your problem. - System: [e.g. PC or iPhone11, ...] - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - - Orange Management Version [e.g. 22] + - KarakaVersion [e.g. 22] # Additional Information Add any other context about the problem here. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a8532c0..25248d1 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: if: steps.git-check.outputs.modified == 'true' run: | git config --global user.name 'Formatter Bot' - git config --global user.email 'formatter.bot@orange-management.email' + git config --global user.email 'formatter.bot@karaka.app' git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git commit -am "Automated formatting changes" git push @@ -84,29 +84,29 @@ jobs: with: fetch-depth: 1 ref: develop - repository: Orange-Management/Build + repository: Karaka/Build path: Build - name: Checkout Resource Repository uses: actions/checkout@master with: fetch-depth: 1 ref: develop - repository: Orange-Management/Resources + repository: Karaka/Resources path: Resources - name: Checkout phpOMS Repository uses: actions/checkout@master with: fetch-depth: 1 ref: develop - repository: Orange-Management/phpOMS + repository: Karaka/phpOMS path: phpOMS - - name: Checkout Orange-Management Repository + - name: Checkout Karaka Repository uses: actions/checkout@master with: fetch-depth: 1 ref: develop - repository: Orange-Management/Orange-Management - path: Orange-Management + repository: Karaka/Karaka + path: Karaka - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@master with: @@ -149,7 +149,7 @@ jobs: with: fetch-depth: 1 ref: develop - repository: Orange-Management/Build + repository: Karaka/Build path: Build - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@master diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cda9eb2..4acb7ce 100755 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ ## Code Style & Best Practices -For the code style and best practices please have a look at the developer-guide [https://github.comkaraka-management/Developer-Guide](https://github.comkaraka-management/Developer-Guide). Especially the `standards` should be followed for a successful pull request. +For the code style and best practices please have a look at the developer-guide [https://github.com/karaka-management/Developer-Guide](https://github.com/karaka-management/Developer-Guide). Especially the `standards` should be followed for a successful pull request. ## How Can I Contribute @@ -12,7 +12,7 @@ If you have a good idea for improvement feel free to create a new issue with all ### Issues -Feel free to grab any open issue implement it and create a new pull request. Most issues can be found in the code marked with `@todo` or in the [PROJECT.md](https://github.comkaraka-management/Docs/blob/master/Project/PROJECT.md) file. +Feel free to grab any open issue implement it and create a new pull request. Most issues can be found in the code marked with `@todo` or in the [PROJECT.md](https://github.com/karaka-management/Docs/blob/master/Project/PROJECT.md) file. ### Code Style diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 7265027..b04fc0d 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -226,7 +226,7 @@ final class ApiController extends Controller $resetLink = UriFactory::build('{/backend}reset?user=' . $account->getId() . '&token=' . $token); $mail = new Email(); - $mail->setFrom($emailSettings[SettingsEnum::MAIL_SERVER_ADDR], 'Orange-Management'); + $mail->setFrom($emailSettings[SettingsEnum::MAIL_SERVER_ADDR], 'Karaka'); $mail->addTo($account->email, \trim($account->name1 . ' ' . $account->name2 . ' ' . $account->name3)); $mail->subject = 'Karaka: Forgot Password'; $mail->body = ''; @@ -331,7 +331,7 @@ final class ApiController extends Controller $loginLink = UriFactory::build('{/backend}'); $mail = new Email(); - $mail->setFrom($emailSettings[SettingsEnum::MAIL_SERVER_ADDR], 'Orange-Management'); + $mail->setFrom($emailSettings[SettingsEnum::MAIL_SERVER_ADDR], 'Karaka'); $mail->addTo($account->email, \trim($account->name1 . ' ' . $account->name2 . ' ' . $account->name3)); $mail->subject = 'Karaka: Password reset'; $mail->body = ''; @@ -1860,7 +1860,7 @@ final class ApiController extends Controller public function apiCheckForUpdates(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { // this is only a temp... in the future this logic will change but for current purposes this is the easiest way to implement updates - $request = new HttpRequest(new HttpUri('https://api.github.com/repos/Orange-Management/Updates/contents')); + $request = new HttpRequest(new HttpUri('https://api.github.com/repos/Karaka/Updates/contents')); $request->setMethod(RequestMethod::GET); $request->header->set('User-Agent', 'spl1nes'); @@ -1913,7 +1913,7 @@ final class ApiController extends Controller { $this->apiUpdate([[ 'name' => 'temp.json', - 'download_url' => 'https://raw.githubusercontent.com/Orange-Management/' . ($request->getData('url') ?? ''), + 'download_url' => 'https://raw.githubusercontent.com/Karaka-Management/' . ($request->getData('url') ?? ''), ]]); } diff --git a/tests/Autoloader.php b/tests/Autoloader.php index 7475c3f..2a73074 100755 --- a/tests/Autoloader.php +++ b/tests/Autoloader.php @@ -34,7 +34,7 @@ final class Autoloader */ private static $paths = [ __DIR__ . '/../', - __DIR__ . '/../Orange-Management/', + __DIR__ . '/../Karaka/', __DIR__ . '/../../', ]; diff --git a/tests/phpunit_default.xml b/tests/phpunit_default.xml index 9208c99..4db1f21 100755 --- a/tests/phpunit_default.xml +++ b/tests/phpunit_default.xml @@ -31,7 +31,7 @@ - ../Orange-Management/Install/tests* + ../Karaka/Install/tests* ../tests*