diff --git a/bin/gettext_header.php b/bin/gettext_header.php index ec0601dfd..b97bdb329 100644 --- a/bin/gettext_header.php +++ b/bin/gettext_header.php @@ -1,8 +1,8 @@ \n", '2011 - '. date('Y')); + $output = "# en_US translation of FOSSBilling Application\n"; + $output .= sprintf("# Copyright %s FOSSBilling \n", '2011 - '. date('Y')); $output .= "#\n"; $output .= "#, fuzzy\n"; $output .= "msgid \"\"\n"; @@ -10,8 +10,8 @@ function _writeHeader() { $output .= "\"Project-Id-Version: 4\\n\"\n"; $output .= "\"POT-Creation-Date: " . date("Y-m-d H:iO") . "\\n\"\n"; $output .= "\"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\\n\"\n"; - $output .= "\"Last-Translator: BoxBilling TM \\n\"\n"; - $output .= "\"Language-Team: BoxBilling TM \\n\"\n"; + $output .= "\"Last-Translator: FOSSBilling TM \\n\"\n"; + $output .= "\"Language-Team: FOSSBilling TM \\n\"\n"; $output .= "\"MIME-Version: 1.0\\n\"\n"; $output .= "\"Content-Type: text/plain; charset=utf-8\\n\"\n"; $output .= "\"Content-Transfer-Encoding: 8bit\\n\"\n"; diff --git a/bin/install.sh b/bin/install.sh index 6b9254b8c..1a40c2457 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -1,6 +1,6 @@ #!/bin/sh -URLBASE="http://www.boxbilling.org/version/latest.zip" +URLBASE="https://www.fossbilling.org/version/latest.zip" wget -O latest.zip $URLBASE unzip -o latest.zip diff --git a/bin/update.sh b/bin/update.sh index 88fe172db..75fe3c61a 100644 --- a/bin/update.sh +++ b/bin/update.sh @@ -1,6 +1,6 @@ #!/bin/sh -UPDATE_URL="http://www.boxbilling.org/version/latest_update.zip" +UPDATE_URL="https://www.fossbilling.org/version/latest_update.zip" wget -O update.zip -q $UPDATE_URL unzip -o update.zip diff --git a/build.xml b/build.xml index 9037296b5..db05dea0e 100644 --- a/build.xml +++ b/build.xml @@ -1,6 +1,6 @@ - + diff --git a/data/class-header.txt b/data/class-header.txt index 234fdf029..8837bacf3 100755 --- a/data/class-header.txt +++ b/data/class-header.txt @@ -2,7 +2,7 @@ /** * BoxBilling * - * @copyright BoxBilling, Inc (http://www.boxbilling.org) + * @copyright BoxBilling, Inc (https://www.fossbilling.org) * @license Apache-2.0 * * Copyright BoxBilling, Inc diff --git a/src/bb-config-sample.php b/src/bb-config-sample.php index 1cfa8a120..afa18e882 100755 --- a/src/bb-config-sample.php +++ b/src/bb-config-sample.php @@ -1,6 +1,6 @@ '', /** - * Full URL where BoxBilling is installed with trailing slash. + * Full URL where FOSSBilling is installed with trailing slash. */ 'url' => 'http://localhost/', @@ -69,7 +69,7 @@ return [ 'timezone' => 'UTC', /** - * BoxBilling locale. + * FOSSBilling locale. */ 'locale' => 'en_US', @@ -108,9 +108,9 @@ return [ 'host' => getenv('DB_HOST') ?: '127.0.0.1', /** - * The name of the database for BoxBilling. + * The name of the database for FOSSBilling. */ - 'name' => getenv('DB_NAME') ?: 'boxbilling', + 'name' => getenv('DB_NAME') ?: 'fossbilling', /** * Database username. @@ -135,7 +135,7 @@ return [ ], 'api' => [ - // All requests made to the API must have referrer request header with the same URL as the BoxBilling installation + // All requests made to the API must have referrer request header with the same URL as the FOSSBilling installation 'require_referrer_header' => false, // Empty array will allow all IPs to access the API @@ -174,7 +174,7 @@ return [ * @since 4.22.0 * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent */ - 'user_agent' => 'Mozilla/5.0 (RedHatEnterpriseLinux; Linux x86_64; BoxBilling; +http://boxbilling.org) Gecko/20100101 Firefox/93.0', + 'user_agent' => 'Mozilla/5.0 (RedHatEnterpriseLinux; Linux x86_64; FOSSBilling; +https://fossbilling.org) Gecko/20100101 Firefox/93.0', /** * Default request timeout diff --git a/src/bb-cron.php b/src/bb-cron.php index ad73a0280..285f84a94 100644 --- a/src/bb-cron.php +++ b/src/bb-cron.php @@ -16,7 +16,7 @@ $di['translate'](); try { if ('cli' == php_sapi_name()) { - echo "\e[33m- Welcome to BoxBilling.\n"; + echo "\e[33m- Welcome to FOSSBilling.\n"; } $interval = $argv[1] ?? null; $service = $di['mod_service']('cron'); diff --git a/src/bb-library/Api/Handler.php b/src/bb-library/Api/Handler.php index 038b87d11..87cbc5fa9 100644 --- a/src/bb-library/Api/Handler.php +++ b/src/bb-library/Api/Handler.php @@ -69,7 +69,7 @@ final class Api_Handler implements InjectionAwareInterface $service = $this->di['mod']('extension')->getService(); if(!$service->isExtensionActive('mod',$mod)) { - throw new \Box_Exception('BoxBilling module :mod is not installed/activated',array(':mod'=>$mod), 715); + throw new \Box_Exception('FOSSBilling module :mod is not installed/activated',array(':mod'=>$mod), 715); } // permissions check diff --git a/src/bb-library/Box/Extension.php b/src/bb-library/Box/Extension.php index 21857ee26..3f5922c66 100644 --- a/src/bb-library/Box/Extension.php +++ b/src/bb-library/Box/Extension.php @@ -45,7 +45,7 @@ const TYPE_HOOK = 'hook'; const TYPE_TRANSLATION = 'translation'; - private $_url = 'https://extensions.boxbilling.org/api/'; + private $_url = 'https://extensions.fossbilling.org/api/'; public function getExtension($id, $type = Box_Extension::TYPE_MOD) { @@ -87,7 +87,7 @@ $json = json_decode($response, 1); if(is_null($json)) { - throw new \Box_Exception('Unable to connect to BoxBilling extensions site.', null, 1545); + throw new \Box_Exception('Unable to connect to FOSSBilling extensions site.', null, 1545); } if(isset($json['error']) && is_array($json['error'])) { diff --git a/src/bb-library/Box/Mail.php b/src/bb-library/Box/Mail.php index 53c190d69..f437ac30e 100644 --- a/src/bb-library/Box/Mail.php +++ b/src/bb-library/Box/Mail.php @@ -190,7 +190,7 @@ class Box_Mail $this->addHeader('Return-Path', $this->_from); $this->addHeader('Content-type', 'text/html;charset=utf-8'); $this->addHeader('Content-Transfer-Encoding', '8bit'); - $this->addHeader('X-mailer', 'BoxBilling/'.Box_Version::VERSION); + $this->addHeader('X-mailer', 'FOSSBilling/'.Box_Version::VERSION); mail($this->_to,$subject,$this->_bodyHtml,$this->_headers); } } diff --git a/src/bb-library/Box/Mod.php b/src/bb-library/Box/Mod.php index a23525832..a371afec9 100644 --- a/src/bb-library/Box/Mod.php +++ b/src/bb-library/Box/Mod.php @@ -89,14 +89,14 @@ class Box_Mod 'type' => 'mod', 'name' => $this->mod, 'description' => NULL, - 'homepage_url' => 'https://github.com/boxbilling/', - 'author' => 'BoxBilling', - 'author_url' => 'https://extensions.boxbilling.org/', + 'homepage_url' => 'https://fossbilling.org/', + 'author' => 'FOSSBilling', + 'author_url' => 'https://extensions.fossbilling.org/', 'license' => 'N/A', 'version' => '1.0', 'icon_url' => NULL, 'download_url' => NULL, - 'project_url' => 'https://extensions.boxbilling.org/', + 'project_url' => 'https://extensions.fossbilling.org/', "minimum_boxbilling_version" => NULL, "maximum_boxbilling_version" => NULL, ); diff --git a/src/bb-library/Box/Requirements.php b/src/bb-library/Box/Requirements.php index 52945370d..8620c1938 100644 --- a/src/bb-library/Box/Requirements.php +++ b/src/bb-library/Box/Requirements.php @@ -121,7 +121,7 @@ class Box_Requirements implements \Box\InjectionAwareInterface } /** - * What extensions must be loaded for BoxBilling to function correctly + * What extensions must be loaded for FOSSBilling to function correctly */ public function extensions() { diff --git a/src/bb-library/Box/Update.php b/src/bb-library/Box/Update.php index b31e98701..cfca9cc08 100644 --- a/src/bb-library/Box/Update.php +++ b/src/bb-library/Box/Update.php @@ -80,7 +80,7 @@ class Box_Update } /** - * Check if we need to update current BoxBilling version + * Check if we need to update current FOSSBilling version * @return bool */ public function getCanUpdate() @@ -123,10 +123,10 @@ class Box_Update public function performUpdate() { if(!$this->getCanUpdate()) { - throw new LogicException('You have latest version of BoxBilling. You do not need to update.'); + throw new LogicException('You have latest version of FOSSBilling. You do not need to update.'); } - error_log('Started BoxBilling auto-update script'); + error_log('Started FOSSBilling auto-update script'); $latest_version = $this->getLatestVersion(); $latest_version_archive = BB_PATH_CACHE.DIRECTORY_SEPARATOR.$latest_version.'.zip'; diff --git a/src/bb-library/Box/Version.php b/src/bb-library/Box/Version.php index 4f5fcf8d7..9b5900327 100644 --- a/src/bb-library/Box/Version.php +++ b/src/bb-library/Box/Version.php @@ -16,8 +16,8 @@ final class Box_Version const VERSION = '0.0.1'; /** - * Compare the specified BoxBilling version string $version - * with the current Box_Version::VERSION of BoxBilling. + * Compare the specified FOSSBilling version string $version + * with the current Box_Version::VERSION of FOSSBilling. * * @param string $version A version string (e.g. "0.7.1"). * @return integer -1 if the $version is older, diff --git a/src/bb-library/Payment/Adapter/AuthorizeNet.php b/src/bb-library/Payment/Adapter/AuthorizeNet.php index d466ae26d..3de67f6da 100644 --- a/src/bb-library/Payment/Adapter/AuthorizeNet.php +++ b/src/bb-library/Payment/Adapter/AuthorizeNet.php @@ -40,7 +40,7 @@ class Payment_Adapter_AuthorizeNet extends Payment_AdapterAbstract return array( 'supports_one_time_payments' => true, 'supports_subscriptions' => false, - 'description' => 'To setup Authorize.net merchant account in BoxBilling you need to go to Account > Settinggs > MD5-Hash and enter your own secret hash values. To receive instant payment notifications, copy "IPN callback URL" to Authorize.net "Account->Silent Post URL"', + 'description' => 'To setup Authorize.net merchant account in FOSSBilling you need to go to Account > Settinggs > MD5-Hash and enter your own secret hash values. To receive instant payment notifications, copy "IPN callback URL" to Authorize.net "Account->Silent Post URL"', 'form' => array( 'apiLoginId' => array('text', array( 'label' => 'API Login ID', diff --git a/src/bb-library/Payment/Adapter/Custom.php b/src/bb-library/Payment/Adapter/Custom.php index cc45b0284..963e88ceb 100644 --- a/src/bb-library/Payment/Adapter/Custom.php +++ b/src/bb-library/Payment/Adapter/Custom.php @@ -55,7 +55,7 @@ class Payment_Adapter_Custom * @param int $invoice_id * @param bool $subscription * - * @since BoxBilling v2.9.15 + * @since FOSSBilling v2.9.15 * * @return string - html form with auto submit javascript */ diff --git a/src/bb-library/Payment/Adapter/PayPalEmail.php b/src/bb-library/Payment/Adapter/PayPalEmail.php index 0d3f12025..f21b472a8 100644 --- a/src/bb-library/Payment/Adapter/PayPalEmail.php +++ b/src/bb-library/Payment/Adapter/PayPalEmail.php @@ -242,7 +242,7 @@ class Payment_Adapter_PayPalEmail implements \Box\InjectionAwareInterface ($post_contents ? 'POST' : 'GET')." $path HTTP/1.1", "Host: $host", 'Connection: Close', - 'User-Agent: BoxBilling' + 'User-Agent: FOSSBilling' ); if (!empty($phd)) { if (!is_array($phd)) { @@ -385,7 +385,7 @@ class Payment_Adapter_PayPalEmail implements \Box\InjectionAwareInterface $data['last_name'] = $buyer['last_name']; $data['zip'] = $buyer['zip']; $data['state'] = $buyer['state']; - $data['bn'] = "BoxBilling_SP"; + $data['bn'] = "FOSSBilling_SP"; return $data; } @@ -405,7 +405,7 @@ class Payment_Adapter_PayPalEmail implements \Box\InjectionAwareInterface $data['cmd'] = '_xclick'; $data['amount'] = $this->moneyFormat($invoice['subtotal'], $invoice['currency']); $data['tax'] = $this->moneyFormat($invoice['tax'], $invoice['currency']); - $data['bn'] = "BoxBilling_SP"; + $data['bn'] = "FOSSBilling_SP"; $data['charset'] = "utf-8"; return $data; } diff --git a/src/bb-library/Payment/Adapter/TwoCheckout.php b/src/bb-library/Payment/Adapter/TwoCheckout.php index cc65e120f..b8656da6c 100644 --- a/src/bb-library/Payment/Adapter/TwoCheckout.php +++ b/src/bb-library/Payment/Adapter/TwoCheckout.php @@ -72,7 +72,7 @@ class Payment_Adapter_TwoCheckout implements \Box\InjectionAwareInterface * @param int $invoice_id * @param bool $subscription * - * @since BoxBilling v2.9.11 + * @since FOSSBilling v2.9.11 * * @return string - html form with auto submit javascript */ @@ -102,11 +102,11 @@ class Payment_Adapter_TwoCheckout implements \Box\InjectionAwareInterface /** * Process transaction received from payment gateway * - * @since BoxBilling v2.9.11 + * @since FOSSBilling v2.9.11 * * @param Api_Admin $api_admin * @param int $id - transaction id to process - * @param int $gateway_id - payment gateway id on BoxBilling + * @param int $gateway_id - payment gateway id on FOSSBilling * * @return mixed */ diff --git a/src/bb-library/Payment/AdapterAbstract.php b/src/bb-library/Payment/AdapterAbstract.php index 5b05745bc..1ff20b10d 100644 --- a/src/bb-library/Payment/AdapterAbstract.php +++ b/src/bb-library/Payment/AdapterAbstract.php @@ -69,7 +69,7 @@ abstract class Payment_AdapterAbstract /** * IPN notification url. Payment gateway posts data to this URL - * to inform BoxBilling about payment + * to inform FOSSBilling about payment */ if(!$this->getParam('notify_url')) { throw new Payment_Exception('IPN Notification URL for payment gateway was not set', array(), 6003); diff --git a/src/bb-library/Payment/Invoice.php b/src/bb-library/Payment/Invoice.php index 56a47e06a..fdd7c1a3b 100644 --- a/src/bb-library/Payment/Invoice.php +++ b/src/bb-library/Payment/Invoice.php @@ -12,7 +12,7 @@ class Payment_Invoice { - private $id = NULL; // BoxBilling Invoice Id + private $id = NULL; // FOSSBilling Invoice Id private $number = NULL; // Invoice number for accounting private $currency = 'USD'; private $items = array(); diff --git a/src/bb-library/Registrar/Adapter/Netearthone.php b/src/bb-library/Registrar/Adapter/Netearthone.php index 6ea2bff99..27325cc6d 100644 --- a/src/bb-library/Registrar/Adapter/Netearthone.php +++ b/src/bb-library/Registrar/Adapter/Netearthone.php @@ -26,7 +26,7 @@ class Registrar_Adapter_Netearthone extends Registrar_Adapter_Resellerclub public static function getConfig() { return array( - 'label' => 'Manages domains on NetEarthOne via API. NetEarthOne requires your server IP in order to work. Login to the NetEarthOne control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where BoxBilling is installed to authorize it for API access.', + 'label' => 'Manages domains on NetEarthOne via API. NetEarthOne requires your server IP in order to work. Login to the NetEarthOne control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where FOSSBilling is installed to authorize it for API access.', 'form' => array( 'userid' => array('text', array( 'label' => 'Reseller ID. You can get this at NetEarthOne control panel Settings > Personal information > Primary profile > Reseller ID', diff --git a/src/bb-library/Registrar/Adapter/Resellbiz.php b/src/bb-library/Registrar/Adapter/Resellbiz.php index 0c0e5db5f..474ec0fa3 100644 --- a/src/bb-library/Registrar/Adapter/Resellbiz.php +++ b/src/bb-library/Registrar/Adapter/Resellbiz.php @@ -26,7 +26,7 @@ class Registrar_Adapter_Resellbiz extends Registrar_Adapter_Resellerclub public static function getConfig() { return array( - 'label' => 'Manages domains on Resell.biz via API. Resell.biz requires your server IP in order to work. Login to the Resell.biz control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where BoxBilling is installed to authorize it for API access.', + 'label' => 'Manages domains on Resell.biz via API. Resell.biz requires your server IP in order to work. Login to the Resell.biz control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where FOSSBilling is installed to authorize it for API access.', 'form' => array( 'userid' => array('text', array( 'label' => 'Reseller ID. You can get this at Resell.biz control panel Settings > Personal information > Primary profile > Reseller ID', diff --git a/src/bb-library/Registrar/Adapter/Resellerclub.php b/src/bb-library/Registrar/Adapter/Resellerclub.php index 68a3f078f..831f861fe 100644 --- a/src/bb-library/Registrar/Adapter/Resellerclub.php +++ b/src/bb-library/Registrar/Adapter/Resellerclub.php @@ -55,7 +55,7 @@ class Registrar_Adapter_Resellerclub extends Registrar_AdapterAbstract public static function getConfig() { return array( - 'label' => 'Manages domains on ResellerClub via API. ResellerClub requires your server IP in order to work. Login to the ResellerClub control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where BoxBilling is installed to authorize it for API access.', + 'label' => 'Manages domains on ResellerClub via API. ResellerClub requires your server IP in order to work. Login to the ResellerClub control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where FOSSBilling is installed to authorize it for API access.', 'form' => array( 'userid' => array('text', array( 'label' => 'Reseller ID. You can get this at ResellerClub control panel Settings > Personal information > Primary profile > Reseller ID', diff --git a/src/bb-library/Registrar/Adapter/Resellerid.php b/src/bb-library/Registrar/Adapter/Resellerid.php index 523184122..35007987c 100644 --- a/src/bb-library/Registrar/Adapter/Resellerid.php +++ b/src/bb-library/Registrar/Adapter/Resellerid.php @@ -26,7 +26,7 @@ class Registrar_Adapter_Resellerid extends Registrar_Adapter_Resellerclub public static function getConfig() { return array( - 'label' => 'Manages domains on ResellerID via API. ResellerID requires your server IP in order to work. Login to the ResellerID control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where BoxBilling is installed to authorize it for API access.', + 'label' => 'Manages domains on ResellerID via API. ResellerID requires your server IP in order to work. Login to the ResellerID control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where FOSSBilling is installed to authorize it for API access.', 'form' => array( 'userid' => array('text', array( 'label' => 'Reseller ID. You can get this at ResellerID control panel Settings > Personal information > Primary profile > Reseller ID', diff --git a/src/bb-library/Registrar/Adapter/srsx.php b/src/bb-library/Registrar/Adapter/srsx.php index b4ad5e5c4..7e4ee5a18 100644 --- a/src/bb-library/Registrar/Adapter/srsx.php +++ b/src/bb-library/Registrar/Adapter/srsx.php @@ -7,13 +7,13 @@ * This source file is subject to the license that is bundled * with this package in the file LICENSE.txt * It is also available through the world-wide-web at this URL: - * http://www.boxbilling.org/LICENSE.txt + * https://www.fossbilling.org/LICENSE.txt * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@boxbilling.org so we can send you a copy immediately. * - * @copyright Copyright (c) 2010-2020 BoxBilling (https://www.boxbilling.org) - * @license http://www.boxbilling.org/LICENSE.txt + * @copyright Copyright (c) 2010-2020 BoxBilling (https://www.fossbilling.org) + * @license https://www.fossbilling.org/LICENSE.txt * @version $Id$ * Created by bayamsoftware.com & @timothygwebb * For free hosting please visit host.bayamsoftware.com @@ -61,7 +61,7 @@ class Registrar_Adapter_srsx extends Registrar_Adapter_Resellerclub public static function getConfig() { return array( - 'label' => 'Manages domains on SRSX via API. ResellerClub requires your server IP in order to work. Login to the ResellerClub control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where BoxBilling is installed to authorize it for API access.', + 'label' => 'Manages domains on SRSX via API. ResellerClub requires your server IP in order to work. Login to the ResellerClub control panel (the url will be in the email you received when you signed up with them) and then go to Settings > API and enter the IP address of the server where FOSSBilling is installed to authorize it for API access.', 'form' => array( 'resellerId' => array('text', array( diff --git a/src/bb-library/Server/Client.php b/src/bb-library/Server/Client.php index 21db3377e..3dd96bc92 100644 --- a/src/bb-library/Server/Client.php +++ b/src/bb-library/Server/Client.php @@ -14,9 +14,9 @@ class Server_Client { private $id = NULL; private $email = NULL; - private $full_name = 'BoxBilling Client'; - private $company = 'BoxBilling'; - private $www = 'www.boxbilling.org'; + private $full_name = 'FOSSBilling Client'; + private $company = 'FOSSBilling'; + private $www = 'www.fossbilling.org'; private $address_1 = NULL; private $address_2 = NULL; private $street = NULL; diff --git a/src/bb-library/Server/Manager/CWP.php b/src/bb-library/Server/Manager/CWP.php index fa4dc876e..11d37f47b 100644 --- a/src/bb-library/Server/Manager/CWP.php +++ b/src/bb-library/Server/Manager/CWP.php @@ -129,7 +129,7 @@ class Server_Manager_CWP extends Server_Manager } /** - * Package name must match on both CWP and BoxBilling! + * Package name must match on both CWP and FOSSBilling! */ public function createAccount(Server_Account $a) { diff --git a/src/bb-library/Server/Package.php b/src/bb-library/Server/Package.php index 3f8e37b3f..23104ecaf 100755 --- a/src/bb-library/Server/Package.php +++ b/src/bb-library/Server/Package.php @@ -12,7 +12,7 @@ class Server_Package { - private $name = 'BoxBilling'; + private $name = 'FOSSBilling'; private $quota = NULL; private $bandwidth = NULL; diff --git a/src/bb-load.php b/src/bb-load.php index b51ffdbe0..4a182cc6e 100644 --- a/src/bb-load.php +++ b/src/bb-load.php @@ -64,7 +64,7 @@ function handler_exception($e) $whoops = new \Whoops\Run(); $prettyPage = new \Whoops\Handler\PrettyPageHandler(); $prettyPage->setPageTitle('An error ocurred'); - $prettyPage->addDataTable('BoxBilling environment', [ + $prettyPage->addDataTable('FOSSBilling environment', [ 'PHP Version' => phpversion(), 'Error code' => $e->getCode(), ]); @@ -228,7 +228,7 @@ set_error_handler('handler_error'); // Check for Composer packages if (!file_exists(BB_PATH_VENDOR)) { - throw new Exception("It seems like Composer packages are missing. You have to run \"composer install\" in order to install them. For detailed instruction, you can see Composer's getting started guide.

If you have downloaded BoxBilling from GitHub releases, this shouldn't happen.", 110); + throw new Exception("It seems like Composer packages are missing. You have to run \"composer install\" in order to install them. For detailed instruction, you can see Composer's getting started guide.

If you have downloaded FOSSBilling from GitHub releases, this shouldn't happen.", 110); } // Multisite support. Load new configuration depending on the current hostname @@ -261,13 +261,13 @@ if (!file_exists($configPath) || 0 == filesize($configPath)) { } $configFile = pathinfo($configPath, PATHINFO_BASENAME); - $msg = sprintf("Your $configFile file seems to be invalid. It's possible that your preexisting configuration file may not contain the required configuration parameters or have become corrupted. BoxBilling needs to have a valid configuration file present in order to function properly.

Please use the example config as reference here. You may need to manually restore a old config file or fix your existing one.

"); + $msg = sprintf("Your $configFile file seems to be invalid. It's possible that your preexisting configuration file may not contain the required configuration parameters or have become corrupted. FOSSBilling needs to have a valid configuration file present in order to function properly.

Please use the example config as reference here. You may need to manually restore a old config file or fix your existing one.

"); throw new Exception($msg, 101); } // Try to check if /install directory still exists, even after the installation was completed if (file_exists($configPath) && 0 !== filesize($configPath) && file_exists(BB_PATH_ROOT.'/install/index.php')) { - throw new Exception('For safety reasons, you have to delete the /install directory to start using BoxBilling.

Please delete the /install directory from your web server.', 102); + throw new Exception('For safety reasons, you have to delete the /install directory to start using FOSSBilling.

Please delete the /install directory from your web server.', 102); } $config = require_once $configPath; diff --git a/src/bb-locale/en_US/LC_MESSAGES/messages.po b/src/bb-locale/en_US/LC_MESSAGES/messages.po index 92818ec99..f316e4965 100644 --- a/src/bb-locale/en_US/LC_MESSAGES/messages.po +++ b/src/bb-locale/en_US/LC_MESSAGES/messages.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: 4\n" "POT-Creation-Date: 2015-02-27 08:07+0000\n" "PO-Revision-Date: 2021-08-10 09:00+0300\n" -"Language-Team: BoxBilling TM \n" +"Language-Team: FOSSBilling TM \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -348,7 +348,7 @@ msgstr "" msgid "Invalid module name" msgstr "" -msgid "BoxBilling module :mod is not installed/activated" +msgid "FOSSBilling module :mod is not installed/activated" msgstr "" msgid "You do not have access to :mod module" @@ -372,7 +372,7 @@ msgstr "" msgid "CURL extension is not enabled" msgstr "" -msgid "Unable to connect to BoxBilling extensions site." +msgid "Unable to connect to FOSSBilling extensions site." msgstr "" msgid "" @@ -398,7 +398,7 @@ msgstr "" msgid "FTP Username/Password incorrect for :usernmae" msgstr "" -msgid "BoxBilling license key must be defined in bb-config.php file." +msgid "FOSSBilling license key must be defined in bb-config.php file." msgstr "" msgid "License is not valid" @@ -1032,7 +1032,7 @@ msgstr "" msgid "You have failed to login too many times. Contact support." msgstr "" -msgid "You have latest version of BoxBilling. You do not need to update." +msgid "You have latest version of FOSSBilling. You do not need to update." msgstr "" msgid "Extension id was not passed" @@ -1062,7 +1062,7 @@ msgstr "" msgid "Visit extension site for update information." msgstr "" -msgid "BoxBilling core modules can not be managed" +msgid "FOSSBilling core modules can not be managed" msgstr "" msgid "Could not extract extension zip file" @@ -1091,12 +1091,12 @@ msgid "" "manually" msgstr "" -msgid "BoxBilling core modules can not be installed or removed" +msgid "FOSSBilling core modules can not be installed or removed" msgstr "" msgid "" "Module can not be installed. It requires at least :min version of " -"BoxBilling. You are using :v" +"FOSSBilling. You are using :v" msgstr "" msgid "path parameter is missing" @@ -1550,9 +1550,6 @@ msgstr "" msgid "Only pending and failed setup orders can be deleted." msgstr "" -msgid "This feature is available in BoxBilling PRO version." -msgstr "" - msgid "Currency could not be determined for order" msgstr "" @@ -1661,7 +1658,7 @@ msgstr "" msgid "Order id is required" msgstr "" -msgid "BoxBilling license order not found" +msgid "FOSSBilling license order not found" msgstr "" msgid "Order is not activated" @@ -2171,11 +2168,6 @@ msgstr "" msgid "Country :code phone code is not registered" msgstr "" -msgid "" -"You have reached free version limit. Upgrade to PRO version of BoxBilling if " -"you want this limit removed." -msgstr "" - msgid "Theme code is missing" msgstr "" @@ -2315,7 +2307,7 @@ msgid "License plugins" msgstr "" msgid "" -"BoxBilling gives you ability to provide your own license generation script. " +"FOSSBilling gives you ability to provide your own license generation script. " "Follow instructions bellow to install new license plugin" msgstr "" @@ -2328,7 +2320,7 @@ msgstr "" msgid "Create your plugin and place it to" msgstr "" -msgid "BoxBilling will automatically detect new plugin" +msgid "FOSSBilling will automatically detect new plugin" msgstr "" msgid "Read" @@ -2799,7 +2791,7 @@ msgid "Configure email options" msgstr "" msgid "" -"BoxBilling sends emails using sendmail by default or you can " +"FOSSBilling sends emails using sendmail by default or you can " "configure your own SMTP server" msgstr "" @@ -3137,7 +3129,7 @@ msgid "Automatic VAT Tax Rules Setup" msgstr "" msgid "" -"If you would like BoxBilling to automatically setup the EU VAT tax rules for " +"If you would like FOSSBilling to automatically setup the EU VAT tax rules for " "you for all EU Member States then simply enter your VAT Label & local VAT " "rate below and click the submit button. This action will delete any " "existing tax rules and configure the VAT rates for all EU countries." @@ -3500,7 +3492,7 @@ msgid "" msgstr "" msgid "" -"External application can control every aspect of BoxBilling using this API " +"External application can control every aspect of FOSSBilling using this API " "key." msgstr "" @@ -3588,7 +3580,7 @@ msgid "Node" msgstr "" msgid "" -"Make sure BoxBilling can connect to SolusVM master server and check if nodes " +"Make sure FOSSBilling can connect to SolusVM master server and check if nodes " "are configured for selected virtualizator type. Refresh page if you have " "changed virtualization type to see new nodes." msgstr "" @@ -3597,7 +3589,7 @@ msgid "Plan" msgstr "" msgid "" -"Make sure BoxBilling can connect to SolusVM master server and check if plans " +"Make sure FOSSBilling can connect to SolusVM master server and check if plans " "are configured for selected virtualizator type." msgstr "" @@ -3928,7 +3920,7 @@ msgid "Adding new payment gateway" msgstr "" msgid "" -"Although BoxBilling ships with most popular payment gateways, you can " +"Although FOSSBilling ships with most popular payment gateways, you can " "install other gateways." msgstr "" @@ -3951,7 +3943,7 @@ msgid "Select uploaded file name and click on install." msgstr "" msgid "" -"Payment gateway will be installed in BoxBilling and can be configured in " +"Payment gateway will be installed in FOSSBilling and can be configured in " "\"Payment gateways\" tab." msgstr "" @@ -4084,7 +4076,7 @@ msgstr "" msgid "Save" msgstr "" -msgid "BoxBilling license management" +msgid "FOSSBilling license management" msgstr "" msgid "License order ID" @@ -4226,7 +4218,7 @@ msgid "Loading ..." msgstr "" msgid "" -"This staff member is used by BoxBilling to perform system tasks and can not " +"This staff member is used by FOSSBilling to perform system tasks and can not " "be removed." msgstr "" @@ -4305,7 +4297,7 @@ msgstr "" msgid "Created" msgstr "" -msgid "Import selected SolusVM clients to BoxBilling" +msgid "Import selected SolusVM clients to FOSSBilling" msgstr "" msgid "Connection port" @@ -4358,11 +4350,11 @@ msgstr "" msgid "Language" msgstr "" -msgid "BoxBilling in your language" +msgid "FOSSBilling in your language" msgstr "" msgid "" -"Although BoxBilling displays in U.S. English by default, the software has " +"Although FOSSBilling displays in U.S. English by default, the software has " "the built-in capability to be used in any language. Follow instructions " "bellow to install new language." msgstr "" @@ -4370,7 +4362,7 @@ msgstr "" msgid "Check if your language translation file is available at" msgstr "" -msgid "BoxBilling extensions site" +msgid "FOSSBilling extensions site" msgstr "" msgid "Download language files and place them to" @@ -4380,11 +4372,11 @@ msgid "" "Language will be automatically available and can be changed in client area" msgstr "" -msgid "Installing BoxBilling in Your Language" +msgid "Installing FOSSBilling in Your Language" msgstr "" msgid "" -"to learn how to install files that will transform BoxBilling so it displays " +"to learn how to install files that will transform FOSSBilling so it displays " "in your language." msgstr "" @@ -4404,7 +4396,7 @@ msgid "Removing language" msgstr "" msgid "" -"Removing languages from BoxBilling is really simple. Just delete language " +"Removing languages from FOSSBilling is really simple. Just delete language " "folder you wish from" msgstr "" @@ -4606,7 +4598,7 @@ msgid "Manage email template" msgstr "" msgid "" -"Most email templates receives parameters from BoxBilling. You can browse " +"Most email templates receives parameters from FOSSBilling. You can browse " "them on \"Variables\" tab. Copy variable name to email template and hit " "preview to see parsed content. Please note that values will be different " "when actual email is sent." @@ -5080,10 +5072,10 @@ msgstr "" msgid "Invalidate cache" msgstr "" -msgid "FTP layer for BoxBilling" +msgid "FTP layer for FOSSBilling" msgstr "" -msgid "FTP is used to manage BoxBilling modules and updates." +msgid "FTP is used to manage FOSSBilling modules and updates." msgstr "" msgid "FTP settings updated" @@ -5119,10 +5111,10 @@ msgstr "" msgid "" "FTP root - This is generally the directory in which " -"BoxBilling is installed. This setting is very important to be setup " +"FOSSBilling is installed. This setting is very important to be setup " "correctly as it very specifically depends on the Host server settings. In " -"can be just / BUT it might be htdocs/boxbilling, public_html/, /public_html/" -"boxbilling or other. It is a variable that BoxBilling has absolutely no " +"can be just / BUT it might be htdocs/fossbilling, public_html/, /public_html/" +"fossbilling or other. It is a variable that FOSSBilling has absolutely no " "control over. You will need to clarify this with your host." msgstr "" @@ -5153,7 +5145,7 @@ msgstr "" msgid "Extensions" msgstr "" -msgid "Update BoxBilling" +msgid "Update FOSSBilling" msgstr "" msgid "Learn more about extensions" @@ -5175,7 +5167,7 @@ msgid "Automatic update" msgstr "" msgid "" -"Automatic updater is a tool to update BoxBilling to latest version in one " +"Automatic updater is a tool to update FOSSBilling to latest version in one " "click. Works on these hosting environments where PHP has permissions to " "overwrite files uploaded via FTP." msgstr "" @@ -5188,11 +5180,11 @@ msgid "" "installation environment" msgstr "" -msgid "Extending BoxBilling" +msgid "Extending FOSSBilling" msgstr "" msgid "" -"BoxBilling gives developers all the capabilities to customize, integrate & " +"FOSSBilling gives developers all the capabilities to customize, integrate & " "extend the core system into your own website & applications." msgstr "" @@ -5252,7 +5244,7 @@ msgstr "" msgid "" "This guide will help you to get started selling SolusVM virtual servers with " -"BoxBilling." +"FOSSBilling." msgstr "" msgid "1. Configure your SolusVm server" @@ -5805,7 +5797,7 @@ msgstr "" msgid "Client ID" msgstr "" -msgid "Import selected SolusVM virtual server to BoxBilling" +msgid "Import selected SolusVM virtual server to FOSSBilling" msgstr "" msgid "Vps hostname" @@ -6078,7 +6070,7 @@ msgstr "" msgid "Print" msgstr "" -msgid "BoxBilling license" +msgid "FOSSBilling license" msgstr "" msgid "1. Configure API" diff --git a/src/bb-locale/messages.pot b/src/bb-locale/messages.pot index 104f8840e..de4f3bdcf 100644 --- a/src/bb-locale/messages.pot +++ b/src/bb-locale/messages.pot @@ -7,8 +7,8 @@ msgstr "" "Project-Id-Version: 4\n" "POT-Creation-Date: 2015-02-27 08:07+0000\n" "PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" -"Last-Translator: BoxBilling TM \n" -"Language-Team: BoxBilling TM \n" +"Last-Translator: FOSSBilling TM \n" +"Language-Team: FOSSBilling TM \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -347,7 +347,7 @@ msgstr "" msgid "Invalid module name" msgstr "" -msgid "BoxBilling module :mod is not installed/activated" +msgid "FOSSBilling module :mod is not installed/activated" msgstr "" msgid "You do not have access to :mod module" @@ -371,7 +371,7 @@ msgstr "" msgid "CURL extension is not enabled" msgstr "" -msgid "Unable to connect to BoxBilling extensions site." +msgid "Unable to connect to FOSSBilling extensions site." msgstr "" msgid "" @@ -397,7 +397,7 @@ msgstr "" msgid "FTP Username/Password incorrect for :usernmae" msgstr "" -msgid "BoxBilling license key must be defined in bb-config.php file." +msgid "FOSSBilling license key must be defined in bb-config.php file." msgstr "" msgid "License is not valid" @@ -1031,7 +1031,7 @@ msgstr "" msgid "You have failed to login too many times. Contact support." msgstr "" -msgid "You have latest version of BoxBilling. You do not need to update." +msgid "You have latest version of FOSSBilling. You do not need to update." msgstr "" msgid "Extension id was not passed" @@ -1061,7 +1061,7 @@ msgstr "" msgid "Visit extension site for update information." msgstr "" -msgid "BoxBilling core modules can not be managed" +msgid "FOSSBilling core modules can not be managed" msgstr "" msgid "Could not extract extension zip file" @@ -1090,12 +1090,12 @@ msgid "" "manually" msgstr "" -msgid "BoxBilling core modules can not be installed or removed" +msgid "FOSSBilling core modules can not be installed or removed" msgstr "" msgid "" "Module can not be installed. It requires at least :min version of " -"BoxBilling. You are using :v" +"FOSSBilling. You are using :v" msgstr "" msgid "path parameter is missing" @@ -1549,9 +1549,6 @@ msgstr "" msgid "Only pending and failed setup orders can be deleted." msgstr "" -msgid "This feature is available in BoxBilling PRO version." -msgstr "" - msgid "Currency could not be determined for order" msgstr "" @@ -1660,7 +1657,7 @@ msgstr "" msgid "Order id is required" msgstr "" -msgid "BoxBilling license order not found" +msgid "FOSSBilling license order not found" msgstr "" msgid "Order is not activated" @@ -2170,11 +2167,6 @@ msgstr "" msgid "Country :code phone code is not registered" msgstr "" -msgid "" -"You have reached free version limit. Upgrade to PRO version of BoxBilling if " -"you want this limit removed." -msgstr "" - msgid "Theme code is missing" msgstr "" @@ -2314,7 +2306,7 @@ msgid "License plugins" msgstr "" msgid "" -"BoxBilling gives you ability to provide your own license generation script. " +"FOSSBilling gives you ability to provide your own license generation script. " "Follow instructions bellow to install new license plugin" msgstr "" @@ -2327,7 +2319,7 @@ msgstr "" msgid "Create your plugin and place it to" msgstr "" -msgid "BoxBilling will automatically detect new plugin" +msgid "FOSSBilling will automatically detect new plugin" msgstr "" msgid "Read" @@ -2798,7 +2790,7 @@ msgid "Configure email options" msgstr "" msgid "" -"BoxBilling sends emails using sendmail by default or you can " +"FOSSBilling sends emails using sendmail by default or you can " "configure your own SMTP server" msgstr "" @@ -3136,7 +3128,7 @@ msgid "Automatic VAT Tax Rules Setup" msgstr "" msgid "" -"If you would like BoxBilling to automatically setup the EU VAT tax rules for " +"If you would like FOSSBilling to automatically setup the EU VAT tax rules for " "you for all EU Member States then simply enter your VAT Label & local VAT " "rate below and click the submit button. This action will delete any " "existing tax rules and configure the VAT rates for all EU countries." @@ -3499,7 +3491,7 @@ msgid "" msgstr "" msgid "" -"External application can control every aspect of BoxBilling using this API " +"External application can control every aspect of FOSSBilling using this API " "key." msgstr "" @@ -3587,7 +3579,7 @@ msgid "Node" msgstr "" msgid "" -"Make sure BoxBilling can connect to SolusVM master server and check if nodes " +"Make sure FOSSBilling can connect to SolusVM master server and check if nodes " "are configured for selected virtualizator type. Refresh page if you have " "changed virtualization type to see new nodes." msgstr "" @@ -3596,7 +3588,7 @@ msgid "Plan" msgstr "" msgid "" -"Make sure BoxBilling can connect to SolusVM master server and check if plans " +"Make sure FOSSBilling can connect to SolusVM master server and check if plans " "are configured for selected virtualizator type." msgstr "" @@ -3927,7 +3919,7 @@ msgid "Adding new payment gateway" msgstr "" msgid "" -"Although BoxBilling ships with most popular payment gateways, you can " +"Although FOSSBilling ships with most popular payment gateways, you can " "install other gateways." msgstr "" @@ -3950,7 +3942,7 @@ msgid "Select uploaded file name and click on install." msgstr "" msgid "" -"Payment gateway will be installed in BoxBilling and can be configured in " +"Payment gateway will be installed in FOSSBilling and can be configured in " "\"Payment gateways\" tab." msgstr "" @@ -4083,7 +4075,7 @@ msgstr "" msgid "Save" msgstr "" -msgid "BoxBilling license management" +msgid "FOSSBilling license management" msgstr "" msgid "License order ID" @@ -4225,7 +4217,7 @@ msgid "Loading ..." msgstr "" msgid "" -"This staff member is used by BoxBilling to perform system tasks and can not " +"This staff member is used by FOSSBilling to perform system tasks and can not " "be removed." msgstr "" @@ -4304,7 +4296,7 @@ msgstr "" msgid "Created" msgstr "" -msgid "Import selected SolusVM clients to BoxBilling" +msgid "Import selected SolusVM clients to FOSSBilling" msgstr "" msgid "Connection port" @@ -4357,11 +4349,11 @@ msgstr "" msgid "Language" msgstr "" -msgid "BoxBilling in your language" +msgid "FOSSBilling in your language" msgstr "" msgid "" -"Although BoxBilling displays in U.S. English by default, the software has " +"Although FOSSBilling displays in U.S. English by default, the software has " "the built-in capability to be used in any language. Follow instructions " "bellow to install new language." msgstr "" @@ -4369,7 +4361,7 @@ msgstr "" msgid "Check if your language translation file is available at" msgstr "" -msgid "BoxBilling extensions site" +msgid "FOSSBilling extensions site" msgstr "" msgid "Download language files and place them to" @@ -4379,11 +4371,11 @@ msgid "" "Language will be automatically available and can be changed in client area" msgstr "" -msgid "Installing BoxBilling in Your Language" +msgid "Installing FOSSBilling in Your Language" msgstr "" msgid "" -"to learn how to install files that will transform BoxBilling so it displays " +"to learn how to install files that will transform FOSSBilling so it displays " "in your language." msgstr "" @@ -4403,7 +4395,7 @@ msgid "Removing language" msgstr "" msgid "" -"Removing languages from BoxBilling is really simple. Just delete language " +"Removing languages from FOSSBilling is really simple. Just delete language " "folder you wish from" msgstr "" @@ -4605,7 +4597,7 @@ msgid "Manage email template" msgstr "" msgid "" -"Most email templates receives parameters from BoxBilling. You can browse " +"Most email templates receives parameters from FOSSBilling. You can browse " "them on \"Variables\" tab. Copy variable name to email template and hit " "preview to see parsed content. Please note that values will be different " "when actual email is sent." @@ -5079,10 +5071,10 @@ msgstr "" msgid "Invalidate cache" msgstr "" -msgid "FTP layer for BoxBilling" +msgid "FTP layer for FOSSBilling" msgstr "" -msgid "FTP is used to manage BoxBilling modules and updates." +msgid "FTP is used to manage FOSSBilling modules and updates." msgstr "" msgid "FTP settings updated" @@ -5118,10 +5110,10 @@ msgstr "" msgid "" "FTP root - This is generally the directory in which " -"BoxBilling is installed. This setting is very important to be setup " +"FOSSBilling is installed. This setting is very important to be setup " "correctly as it very specifically depends on the Host server settings. In " "can be just / BUT it might be htdocs/boxbilling, public_html/, /public_html/" -"boxbilling or other. It is a variable that BoxBilling has absolutely no " +"boxbilling or other. It is a variable that FOSSBilling has absolutely no " "control over. You will need to clarify this with your host." msgstr "" @@ -5152,7 +5144,7 @@ msgstr "" msgid "Extensions" msgstr "" -msgid "Update BoxBilling" +msgid "Update FOSSBilling" msgstr "" msgid "Learn more about extensions" @@ -5174,7 +5166,7 @@ msgid "Automatic update" msgstr "" msgid "" -"Automatic updater is a tool to update BoxBilling to latest version in one " +"Automatic updater is a tool to update FOSSBilling to latest version in one " "click. Works on these hosting environments where PHP has permissions to " "overwrite files uploaded via FTP." msgstr "" @@ -5187,11 +5179,11 @@ msgid "" "installation environment" msgstr "" -msgid "Extending BoxBilling" +msgid "Extending FOSSBilling" msgstr "" msgid "" -"BoxBilling gives developers all the capabilities to customize, integrate & " +"FOSSBilling gives developers all the capabilities to customize, integrate & " "extend the core system into your own website & applications." msgstr "" @@ -5251,7 +5243,7 @@ msgstr "" msgid "" "This guide will help you to get started selling SolusVM virtual servers with " -"BoxBilling." +"FOSSBilling." msgstr "" msgid "1. Configure your SolusVm server" @@ -5804,7 +5796,7 @@ msgstr "" msgid "Client ID" msgstr "" -msgid "Import selected SolusVM virtual server to BoxBilling" +msgid "Import selected SolusVM virtual server to FOSSBilling" msgstr "" msgid "Vps hostname" @@ -6077,7 +6069,7 @@ msgstr "" msgid "Print" msgstr "" -msgid "BoxBilling license" +msgid "FOSSBilling license" msgstr "" msgid "1. Configure API" diff --git a/src/bb-modules/Activity/manifest.json b/src/bb-modules/Activity/manifest.json index c3a3df6ed..bdd806931 100644 --- a/src/bb-modules/Activity/manifest.json +++ b/src/bb-modules/Activity/manifest.json @@ -2,6 +2,6 @@ "id": "activity", "type": "mod", "name": "Activity", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Api/Controller/Client.php b/src/bb-modules/Api/Controller/Client.php index 3ecc92573..a3e643831 100644 --- a/src/bb-modules/Api/Controller/Client.php +++ b/src/bb-modules/Api/Controller/Client.php @@ -11,7 +11,7 @@ */ /** - * This file connects BoxBilling client area interface and API. + * This file connects FOSSBilling client area interface and API. */ namespace Box\Mod\Api\Controller; @@ -123,7 +123,7 @@ class Client implements InjectionAwareInterface private function checkHttpReferer() { - // snake oil: check request is from the same domain as BoxBilling is installed if present + // snake oil: check request is from the same domain as FOSSBilling is installed if present $check_referer_header = isset($this->_api_config['require_referrer_header']) ? (bool) $this->_api_config['require_referrer_header'] : false; if ($check_referer_header) { $url = strtolower(BB_URL); @@ -265,7 +265,7 @@ class Client implements InjectionAwareInterface header('Cache-Control: no-cache, must-revalidate'); header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Content-type: application/json; charset=utf-8'); - header('X-BoxBilling-Version: '.\Box_Version::VERSION); + header('X-FOSSBilling-Version: '.\Box_Version::VERSION); header('X-RateLimit-Span: '.$this->_api_config['rate_span']); header('X-RateLimit-Limit: '.$this->_api_config['rate_limit']); header('X-RateLimit-Remaining: '.$this->_requests_left); diff --git a/src/bb-modules/Api/manifest.json b/src/bb-modules/Api/manifest.json index 8dd8e6913..75051ca4e 100644 --- a/src/bb-modules/Api/manifest.json +++ b/src/bb-modules/Api/manifest.json @@ -2,6 +2,6 @@ "id": "api", "type": "mod", "name": "API", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Branding/manifest.json b/src/bb-modules/Branding/manifest.json index 69b09a8da..7767f9cbd 100644 --- a/src/bb-modules/Branding/manifest.json +++ b/src/bb-modules/Branding/manifest.json @@ -2,10 +2,10 @@ "id": "branding", "type": "mod", "name": "Branding", - "description": "Show your support by voluntarily displaying references to BoxBilling.", + "description": "Show your support by voluntarily displaying references to FOSSBilling.", "homepage_url": "https://boxbilling.org", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "https://boxbilling.org", - "license": "https://www.boxbilling.org/license.txt", + "license": "https://www.fossbilling.org/license.txt", "version": "4.22.0" } diff --git a/src/bb-modules/Cart/manifest.json b/src/bb-modules/Cart/manifest.json index aaa567496..80b60a350 100644 --- a/src/bb-modules/Cart/manifest.json +++ b/src/bb-modules/Cart/manifest.json @@ -2,6 +2,6 @@ "id": "cart", "type": "mod", "name": "Shopping cart", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Client/manifest.json b/src/bb-modules/Client/manifest.json index 0b7bc25d4..e8685432a 100644 --- a/src/bb-modules/Client/manifest.json +++ b/src/bb-modules/Client/manifest.json @@ -2,7 +2,7 @@ "id": "client", "type": "mod", "name": "Client", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "icon_url": "icon.png", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Cron/manifest.json b/src/bb-modules/Cron/manifest.json index 788586f48..2ffbf89e3 100644 --- a/src/bb-modules/Cron/manifest.json +++ b/src/bb-modules/Cron/manifest.json @@ -2,7 +2,7 @@ "id": "cron", "type": "mod", "name": "Scheduled tasks", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "icon_url": "icon.png", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Currency/html_admin/mod_currency_settings.html.twig b/src/bb-modules/Currency/html_admin/mod_currency_settings.html.twig index 811a18038..6b60e6579 100644 --- a/src/bb-modules/Currency/html_admin/mod_currency_settings.html.twig +++ b/src/bb-modules/Currency/html_admin/mod_currency_settings.html.twig @@ -120,8 +120,8 @@

{{ 'Adjust settings for currency rate updater'|trans }}

-

BoxBilling uses data grabbed from European Central Bank for conversions from Euro to other currencies, and currencylayer for conversations from US Dollar to other currencies.
If you choose Euro as your default currency, data from European Central Bank will be used, if you choose US Dollar, data from currencylayer will be used.
While European Central Bank decided to keep it's API free to everyone, you won't need an autorization key to use ECB's data. However, you'll need an API key to use currencylayer.
You can grab your API key from currencylayer's website. BoxBilling doesn't make any profits from your purchases on currencylayer.com

-

BoxBilling does not take any responsibilities for data grabbed from 3rd party sources, including European Central Bank and currencylayer.

+

FOSSBilling uses data grabbed from European Central Bank for conversions from Euro to other currencies, and currencylayer for conversations from US Dollar to other currencies.
If you choose Euro as your default currency, data from European Central Bank will be used, if you choose US Dollar, data from currencylayer will be used.
While European Central Bank decided to keep it's API free to everyone, you won't need an autorization key to use ECB's data. However, you'll need an API key to use currencylayer.
You can grab your API key from currencylayer's website. FOSSBilling doesn't make any profits from your purchases on currencylayer.com

+

FOSSBilling does not take any responsibilities for data grabbed from 3rd party sources, including European Central Bank and currencylayer.

diff --git a/src/bb-modules/Currency/manifest.json b/src/bb-modules/Currency/manifest.json index a31316c37..81a179a52 100644 --- a/src/bb-modules/Currency/manifest.json +++ b/src/bb-modules/Currency/manifest.json @@ -3,6 +3,6 @@ "type": "mod", "name": "Currency", "icon_url": "icon.png", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Custompages/Controller/Client.php b/src/bb-modules/Custompages/Controller/Client.php index e0844510f..f7413b270 100644 --- a/src/bb-modules/Custompages/Controller/Client.php +++ b/src/bb-modules/Custompages/Controller/Client.php @@ -11,7 +11,7 @@ */ /** - * This file connects BoxBilling client area interface and API + * This file connects FOSSBilling client area interface and API * Class does not extend any other class. */ diff --git a/src/bb-modules/Custompages/manifest.json b/src/bb-modules/Custompages/manifest.json index 553fd5e7b..c6755d7e9 100644 --- a/src/bb-modules/Custompages/manifest.json +++ b/src/bb-modules/Custompages/manifest.json @@ -3,10 +3,10 @@ "type": "mod", "name": "Custom Pages", "description": "This module allows you to create custom pages.", - "homepage_url": "https://github.com/boxbilling/", - "author": "BoxBilling", + "homepage_url": "https://fossbilling.org/", + "author": "FOSSBilling", "icon_url": "icon.png", - "author_url": "https://github.com/boxbilling/", + "author_url": "https://fossbilling.org/", "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", "version": "1.0.0" } diff --git a/src/bb-modules/Email/Service.php b/src/bb-modules/Email/Service.php index fb239bfeb..b41195ea3 100644 --- a/src/bb-modules/Email/Service.php +++ b/src/bb-modules/Email/Service.php @@ -278,9 +278,9 @@ class Service implements \Box\InjectionAwareInterface private function _getVarsString() { $str = '{% apply markdown %}'.PHP_EOL.PHP_EOL; - $str .= 'This email template was automatically generated by BoxBilling extension. '.PHP_EOL; + $str .= 'This email template was automatically generated by FOSSBilling extension. '.PHP_EOL; $str .= 'Template is ready to be modified. '.PHP_EOL; - $str .= 'Email template is just like BoxBilling theme file. '.PHP_EOL; + $str .= 'Email template is just like FOSSBilling theme file. '.PHP_EOL; $str .= 'Use **admin** and **guest** API calls to get additional information using variables passed to template.'.PHP_EOL.PHP_EOL; $str .= 'Example API usage in email template:'.PHP_EOL.PHP_EOL; $str .= '{{ guest.system_version }}'.PHP_EOL.PHP_EOL; diff --git a/src/bb-modules/Email/html_admin/mod_email_settings.html.twig b/src/bb-modules/Email/html_admin/mod_email_settings.html.twig index 34f2030c1..966db839c 100644 --- a/src/bb-modules/Email/html_admin/mod_email_settings.html.twig +++ b/src/bb-modules/Email/html_admin/mod_email_settings.html.twig @@ -75,7 +75,7 @@

{{ 'Configure email options'|trans }}

-

{{ 'BoxBilling sends emails using sendmail by default or you can configure your own SMTP server'|trans }}

+

{{ 'FOSSBilling sends emails using sendmail by default or you can configure your own SMTP server'|trans }}

diff --git a/src/bb-modules/Email/html_admin/mod_email_template.html.twig b/src/bb-modules/Email/html_admin/mod_email_template.html.twig index c8df7206a..562bb72b4 100644 --- a/src/bb-modules/Email/html_admin/mod_email_template.html.twig +++ b/src/bb-modules/Email/html_admin/mod_email_template.html.twig @@ -32,7 +32,7 @@

{{ 'Manage email template'|trans }}

-

{{ 'Most email templates receives parameters from BoxBilling. You can browse them on "Variables" tab. Copy variable name to email template and hit preview to see parsed content. Please note that values will be different when actual email is sent.'|trans }}

+

{{ 'Most email templates receives parameters from FOSSBilling. You can browse them on "Variables" tab. Copy variable name to email template and hit preview to see parsed content. Please note that values will be different when actual email is sent.'|trans }}

@@ -189,7 +189,7 @@ You can event use IF statements in email templates: {% if 1 == 2 %}This will nev *** -Accessing Admin API can get information about your BoxBilling, for example how many clients you have: +Accessing Admin API can get information about your FOSSBilling, for example how many clients you have: {% set stats = admin.stats_get_summary %} **Total clients:** {{ stats.clients_total }} diff --git a/src/bb-modules/Email/html_email/mod_email_test.html.twig b/src/bb-modules/Email/html_email/mod_email_test.html.twig index c8346bff2..901371dec 100644 --- a/src/bb-modules/Email/html_email/mod_email_test.html.twig +++ b/src/bb-modules/Email/html_email/mod_email_test.html.twig @@ -1,9 +1,9 @@ -{% block subject %}[{{ guest.system_company.name }}] BoxBilling Email Test{% endblock %} +{% block subject %}[{{ guest.system_company.name }}] FOSSBilling Email Test{% endblock %} {% block content %} {% apply markdown %} Hi {{ staff.name }}, -If you are reading this email, BoxBilling is **configured properly** +If you are reading this email, FOSSBilling is **configured properly** and is **able to send emails**. {{ guest.system_company.signature }} diff --git a/src/bb-modules/Email/manifest.json b/src/bb-modules/Email/manifest.json index 8804f845b..c0e1cc1a2 100644 --- a/src/bb-modules/Email/manifest.json +++ b/src/bb-modules/Email/manifest.json @@ -3,6 +3,6 @@ "type": "mod", "name": "Email", "icon_url": "icon.png", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Embed/README.md b/src/bb-modules/Embed/README.md index 85e9084bf..6dfb642c7 100644 --- a/src/bb-modules/Embed/README.md +++ b/src/bb-modules/Embed/README.md @@ -1,4 +1,4 @@ -# Embed and integrate parts of BoxBilling to your website +# Embed and integrate parts of FOSSBilling to your website -Module purpose is to give ability for users to include parts of BoxBilling +Module purpose is to give ability for users to include parts of FOSSBilling to other websites. \ No newline at end of file diff --git a/src/bb-modules/Embed/html_admin/mod_embed_index.html.twig b/src/bb-modules/Embed/html_admin/mod_embed_index.html.twig index 9df927e1f..4afbb7cd2 100644 --- a/src/bb-modules/Embed/html_admin/mod_embed_index.html.twig +++ b/src/bb-modules/Embed/html_admin/mod_embed_index.html.twig @@ -1,5 +1,5 @@ {% extends request.ajax ? "layout_blank.html.twig" : "layout_default.html.twig" %} -{% block meta_title %}Embed parts of BoxBilling{% endblock %} +{% block meta_title %}Embed parts of FOSSBilling{% endblock %} {% set active_menu = 'system' %} {% block content %} diff --git a/src/bb-modules/Embed/manifest.json b/src/bb-modules/Embed/manifest.json index b24f8d438..acfc8ecd2 100644 --- a/src/bb-modules/Embed/manifest.json +++ b/src/bb-modules/Embed/manifest.json @@ -2,9 +2,9 @@ "id": "embed", "type": "mod", "name": "Embed parts", - "description": "Provides ability to embed parts of BoxBilling to other websites", + "description": "Provides ability to embed parts of FOSSBilling to other websites", "homepage_url": "http://github.com/boxbilling/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "http://extensions.boxbilling.org/", "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", "version": "1.0.1" diff --git a/src/bb-modules/Example/Controller/Admin.php b/src/bb-modules/Example/Controller/Admin.php index 416be5f07..693e30679 100644 --- a/src/bb-modules/Example/Controller/Admin.php +++ b/src/bb-modules/Example/Controller/Admin.php @@ -11,7 +11,7 @@ */ /** - * This file connects BoxBilling admin area interface and API + * This file connects FOSSBilling admin area interface and API * Class does not extend any other class. */ diff --git a/src/bb-modules/Example/Controller/Client.php b/src/bb-modules/Example/Controller/Client.php index 9f6d4b60a..7cb697fe1 100644 --- a/src/bb-modules/Example/Controller/Client.php +++ b/src/bb-modules/Example/Controller/Client.php @@ -11,7 +11,7 @@ */ /** - * This file connects BoxBilling client area interface and API + * This file connects FOSSBilling client area interface and API * Class does not extend any other class. */ diff --git a/src/bb-modules/Example/README.md b/src/bb-modules/Example/README.md index 69ea646ec..389ac5588 100644 --- a/src/bb-modules/Example/README.md +++ b/src/bb-modules/Example/README.md @@ -1,10 +1,10 @@ # Example module README file -This module provides a starting point for the developers on creating their BoxBilling module. +This module provides a starting point for the developers on creating their FOSSBilling module. Explore the files and comments in the code to understand the structure of the module better. See the social links on [our website](https://boxbilling.org) if you need further information. -In general, we use modules to extend the functionality of BoxBilling. +In general, we use modules to extend the functionality of FOSSBilling. All modules can communicate with the other modules using their API endpoints. diff --git a/src/bb-modules/Example/Service.php b/src/bb-modules/Example/Service.php index f738a6a1c..c686a273b 100644 --- a/src/bb-modules/Example/Service.php +++ b/src/bb-modules/Example/Service.php @@ -125,7 +125,7 @@ class Service } /** - * Example event hook. Any module can hook to any BoxBilling event and perform actions. + * Example event hook. Any module can hook to any FOSSBilling event and perform actions. * * Make sure extension is enabled before testing this event. * @@ -156,7 +156,7 @@ class Service // @note To debug parameters by throwing an exception // throw new Exception(print_r($params, 1)); - // Use RedBean ORM in any place of BoxBilling where API call is not enough + // Use RedBean ORM in any place of FOSSBilling where API call is not enough // First we need to find if we already have a counter for this IP // We will use extension_meta table to store this data. $values = [ diff --git a/src/bb-modules/Example/manifest.json b/src/bb-modules/Example/manifest.json index 3956dcbd4..7233475ad 100644 --- a/src/bb-modules/Example/manifest.json +++ b/src/bb-modules/Example/manifest.json @@ -5,7 +5,7 @@ "description": "An example module for developers to get started.", "icon_url": "icon.png", "homepage_url": "https://boxbilling.org", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "https://boxbilling.org/", "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", "version": "4.22.0" diff --git a/src/bb-modules/Extension/Api/Admin.php b/src/bb-modules/Extension/Api/Admin.php index 4828a6648..1a0b5bdce 100644 --- a/src/bb-modules/Extension/Api/Admin.php +++ b/src/bb-modules/Extension/Api/Admin.php @@ -34,7 +34,7 @@ class Admin extends \Api_Abstract /** * Get list of extensions from extensions.boxbilling.org - * which can be installed on current version of BoxBilling. + * which can be installed on current version of FOSSBilling. * * @param string $type - mod, gateway ... * @@ -84,7 +84,7 @@ class Admin extends \Api_Abstract } /** - * Update BoxBilling core. + * Update FOSSBilling core. * * @return bool * @@ -95,13 +95,13 @@ class Admin extends \Api_Abstract { $updater = $this->di['updater']; if (!$updater->getCanUpdate()) { - throw new \Box_Exception('You have latest version of BoxBilling. You do not need to update.', null, 930); + throw new \Box_Exception('You have latest version of FOSSBilling. You do not need to update.', null, 930); } $new_version = $updater->getLatestVersion(); $updater->performUpdate(); - $this->di['logger']->info('Updated BoxBilling from %s to %s', \Box_Version::VERSION, $new_version); + $this->di['logger']->info('Updated FOSSBilling from %s to %s', \Box_Version::VERSION, $new_version); return true; } @@ -178,7 +178,7 @@ class Admin extends \Api_Abstract } /** - * Completely remove extension from BoxBilling. + * Completely remove extension from FOSSBilling. * * @param string $type - extensions type: mod, theme, gateway ... * @param string $id - extension id @@ -236,7 +236,7 @@ class Admin extends \Api_Abstract } /** - * Universal method for BoxBilling extensions + * Universal method for FOSSBilling extensions * to retrieve configuration from database * It is recommended to store your extension configuration * using this method. Automatic decryption is available @@ -262,7 +262,7 @@ class Admin extends \Api_Abstract } /** - * Universal method for BoxBilling extensions + * Universal method for FOSSBilling extensions * to update or save extension configuration to database * Always pass all configuration parameters to this method. * diff --git a/src/bb-modules/Extension/Service.php b/src/bb-modules/Extension/Service.php index c196ef1e3..5927e9ae0 100644 --- a/src/bb-modules/Extension/Service.php +++ b/src/bb-modules/Extension/Service.php @@ -381,7 +381,7 @@ class Service implements InjectionAwareInterface case \Box_Extension::TYPE_MOD: $mod = $ext->name; if ($this->isCoreModule($mod)) { - throw new \Box_Exception('BoxBilling core modules can not be managed'); + throw new \Box_Exception('FOSSBilling core modules can not be managed'); } try { @@ -508,12 +508,12 @@ class Service implements InjectionAwareInterface $mod = $this->di['mod']($ext->name); if ($mod->isCore()) { - throw new \Box_Exception('BoxBilling core modules can not be installed or removed'); + throw new \Box_Exception('FOSSBilling core modules can not be installed or removed'); } $info = $mod->getManifest(); if (isset($info['minimum_boxbilling_version']) && Box_Version::compareVersion($info['minimum_boxbilling_version']) > 0) { - throw new \Box_Exception('Module can not be installed. It requires at least :min version of BoxBilling. You are using :v', [':min' => $info['minimum_boxbilling_version'], ':v' => Box_Version::VERSION]); + throw new \Box_Exception('Module can not be installed. It requires at least :min version of FOSSBilling. You are using :v', [':min' => $info['minimum_boxbilling_version'], ':v' => Box_Version::VERSION]); } // Allow install module even if no installer exists diff --git a/src/bb-modules/Extension/manifest.json b/src/bb-modules/Extension/manifest.json index 7574be111..776bd22b3 100644 --- a/src/bb-modules/Extension/manifest.json +++ b/src/bb-modules/Extension/manifest.json @@ -2,6 +2,6 @@ "id": "extension", "type": "mod", "name": "Extensions", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Forum/html_client/mod_forum_rss.html.twig b/src/bb-modules/Forum/html_client/mod_forum_rss.html.twig index aa2332153..7788361a1 100644 --- a/src/bb-modules/Forum/html_client/mod_forum_rss.html.twig +++ b/src/bb-modules/Forum/html_client/mod_forum_rss.html.twig @@ -7,7 +7,7 @@ {{ 'forum' | link }} en {{ company.description }} - BoxBilling RSS Engine + FOSSBilling RSS Engine {{ company.logo_url }} {{ company.name }} diff --git a/src/bb-modules/Forum/manifest.json b/src/bb-modules/Forum/manifest.json index 2fea2a980..0d6efe281 100644 --- a/src/bb-modules/Forum/manifest.json +++ b/src/bb-modules/Forum/manifest.json @@ -2,11 +2,11 @@ "id": "forum", "type": "mod", "name": "Forum", - "description": "Forum for BoxBilling", + "description": "Forum for FOSSBilling", "icon_url": "icon.png", "homepage_url": "http://github.com/boxbilling/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "http://extensions.boxbilling.org/", - "license": "http://www.boxbilling.org/license.txt", + "license": "https://www.fossbilling.org/license.txt", "version": "1.2.0" } \ No newline at end of file diff --git a/src/bb-modules/Hook/manifest.json b/src/bb-modules/Hook/manifest.json index eb74fd372..322c9db57 100644 --- a/src/bb-modules/Hook/manifest.json +++ b/src/bb-modules/Hook/manifest.json @@ -2,6 +2,6 @@ "id": "hook", "type": "mod", "name": "Event hooks subsystem", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Index/manifest.json b/src/bb-modules/Index/manifest.json index 6937d6596..75229bb6c 100644 --- a/src/bb-modules/Index/manifest.json +++ b/src/bb-modules/Index/manifest.json @@ -2,6 +2,6 @@ "id": "index", "type": "mod", "name": "Index page module", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Invoice/Api/Admin.php b/src/bb-modules/Invoice/Api/Admin.php index 78459a70c..ce695a046 100644 --- a/src/bb-modules/Invoice/Api/Admin.php +++ b/src/bb-modules/Invoice/Api/Admin.php @@ -393,11 +393,11 @@ class Admin extends \Api_Abstract * @optional int $invoice_id - new invoice id * @optional string $txn_id - transaction id on payment gateway * @optional string $txn_status - transaction status on payment gateway - * @optional int $gateway_id - Payment gateway ID on BoxBilling + * @optional int $gateway_id - Payment gateway ID on FOSSBilling * @optional float $amount - Transaction amount - * @optional string $currency - Currency code. Must be available on BoxBilling - * @optional string $type - Currency code. Must be available on BoxBilling - * @optional string $status - Transaction status on BoxBilling + * @optional string $currency - Currency code. Must be available on FOSSBilling + * @optional string $type - Currency code. Must be available on FOSSBilling + * @optional string $status - Transaction status on FOSSBilling * @optional bool $validate_ipn - Flag to enable and disable IPN validation for this transaction * @optional string $note - Custom note * @@ -419,8 +419,8 @@ class Admin extends \Api_Abstract /** * Create custom transaction. * - * @param int $bb_invoice_id - BoxBilling invoice id - * @param int $bb_gateway_id - BoxBilling gateway id + * @param int $bb_invoice_id - FOSSBilling invoice id + * @param int $bb_gateway_id - FOSSBilling gateway id * * @optional array $get - $_GET data * @optional array $post - $_POST data diff --git a/src/bb-modules/Invoice/Service.php b/src/bb-modules/Invoice/Service.php index 8fbd8b07d..ccd2346cf 100644 --- a/src/bb-modules/Invoice/Service.php +++ b/src/bb-modules/Invoice/Service.php @@ -1187,7 +1187,7 @@ class Service implements InjectionAwareInterface $r = ($subscribe) ? $adapter->recurrentPayment($mpi) : $adapter->singlePayment($mpi); $this->di['logger']->info('Went to pay for invoice #%s via %s', $invoice->id, $gtw->gateway); - // @bug https://github.com/boxbilling/BoxBilling/issues/108 + // @bug https://github.com/boxbilling/boxbilling/issues/108 if ('html' != $adapter->getType()) { $r = (array) $r; } diff --git a/src/bb-modules/Invoice/manifest.json b/src/bb-modules/Invoice/manifest.json index e4a825dcb..f8ce0b4bc 100644 --- a/src/bb-modules/Invoice/manifest.json +++ b/src/bb-modules/Invoice/manifest.json @@ -2,7 +2,7 @@ "id": "invoice", "type": "mod", "name": "Invoices", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "icon_url": "icon.png", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Kb/manifest.json b/src/bb-modules/Kb/manifest.json index b1236ddb0..a516a732e 100644 --- a/src/bb-modules/Kb/manifest.json +++ b/src/bb-modules/Kb/manifest.json @@ -2,10 +2,10 @@ "id": "kb", "type": "mod", "name": "Knowledge base", - "description": "Knowledge base module for BoxBilling", + "description": "Knowledge base module for FOSSBilling", "homepage_url": "http://github.com/boxbilling/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "http://extensions.boxbilling.org/", - "license": "http://www.boxbilling.org/license.txt", + "license": "https://www.fossbilling.org/license.txt", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/News/manifest.json b/src/bb-modules/News/manifest.json index 4088c2a2e..92f3995fe 100644 --- a/src/bb-modules/News/manifest.json +++ b/src/bb-modules/News/manifest.json @@ -2,10 +2,10 @@ "id": "news", "type": "mod", "name": "News", - "description": "News module for BoxBilling", + "description": "News module for FOSSBilling", "homepage_url": "http://github.com/boxbilling/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "http://extensions.boxbilling.org/", - "license": "http://www.boxbilling.org/license.txt", + "license": "https://www.fossbilling.org/license.txt", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Notification/Api/Admin.php b/src/bb-modules/Notification/Api/Admin.php index 0d7c96c0d..d62630aec 100644 --- a/src/bb-modules/Notification/Api/Admin.php +++ b/src/bb-modules/Notification/Api/Admin.php @@ -14,7 +14,7 @@ * Notifications center management. * * Notifications are important messages for staff messages to get informed - * about important events on BoxBilling. + * about important events on FOSSBilling. * * For example cron job can inform staff members */ diff --git a/src/bb-modules/Order/Service.php b/src/bb-modules/Order/Service.php index c54bef73a..5824492ab 100644 --- a/src/bb-modules/Order/Service.php +++ b/src/bb-modules/Order/Service.php @@ -643,7 +643,7 @@ class Service implements InjectionAwareInterface /** * activate all addons on initial activation. * - * @see https://github.com/boxbilling/BoxBilling/issues/54 + * @see https://github.com/boxbilling/boxbilling/issues/54 */ public function activateOrderAddons(\Model_ClientOrder $order) { @@ -904,7 +904,7 @@ class Service implements InjectionAwareInterface $this->renewFromOrder($order); // activate all addons on initial activation - // @see https://github.com/boxbilling/BoxBilling/issues/54 + // @see https://github.com/boxbilling/boxbilling/issues/54 if ($order->group_master && \Model_ClientOrder::STATUS_PENDING_SETUP == $order->status) { $list = $this->getOrderAddonsList($order); foreach ($list as $addon) { diff --git a/src/bb-modules/Order/manifest.json b/src/bb-modules/Order/manifest.json index 9d6017682..41a3019e1 100644 --- a/src/bb-modules/Order/manifest.json +++ b/src/bb-modules/Order/manifest.json @@ -2,7 +2,7 @@ "id": "order", "type": "mod", "name": "Orders", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "icon_url": "icon.png", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Page/manifest.json b/src/bb-modules/Page/manifest.json index bc705c65f..bb301b5af 100644 --- a/src/bb-modules/Page/manifest.json +++ b/src/bb-modules/Page/manifest.json @@ -2,6 +2,6 @@ "id": "page", "type": "mod", "name": "Page", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Paidsupport/manifest.json b/src/bb-modules/Paidsupport/manifest.json index 461aa79ae..b5bb1b798 100644 --- a/src/bb-modules/Paidsupport/manifest.json +++ b/src/bb-modules/Paidsupport/manifest.json @@ -5,7 +5,7 @@ "description": "Module enables paid support service for your clients.", "icon_url": "icon.png", "homepage_url": "http://github.com/boxbilling/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "http://github.com/boxbilling/", "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", "version": "1.0.3" diff --git a/src/bb-modules/Product/manifest.json b/src/bb-modules/Product/manifest.json index c003fbe71..84129dae1 100644 --- a/src/bb-modules/Product/manifest.json +++ b/src/bb-modules/Product/manifest.json @@ -2,6 +2,6 @@ "id": "product", "type": "mod", "name": "Product", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Profile/manifest.json b/src/bb-modules/Profile/manifest.json index d23448d29..e13484f91 100644 --- a/src/bb-modules/Profile/manifest.json +++ b/src/bb-modules/Profile/manifest.json @@ -2,6 +2,6 @@ "id": "profile", "type": "mod", "name": "Profile", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Queue/manifest.json b/src/bb-modules/Queue/manifest.json index f82caaab3..4b273e467 100644 --- a/src/bb-modules/Queue/manifest.json +++ b/src/bb-modules/Queue/manifest.json @@ -4,8 +4,8 @@ "name": "Queue manager", "description": "Execute long running tasks in queue", "homepage_url": "http://github.com/boxbilling/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "http://extensions.boxbilling.org/", - "license": "http://www.boxbilling.org/license.txt", + "license": "https://www.fossbilling.org/license.txt", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Redirect/manifest.json b/src/bb-modules/Redirect/manifest.json index 4f7393e21..5453117e7 100644 --- a/src/bb-modules/Redirect/manifest.json +++ b/src/bb-modules/Redirect/manifest.json @@ -4,7 +4,7 @@ "name": "Redirect", "icon_url": "icon.png", "description": "Manage redirects", - "author": "BoxBilling", - "author_url": "http://www.boxbilling.org", + "author": "FOSSBilling", + "author_url": "https://www.fossbilling.org", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Seo/manifest.json b/src/bb-modules/Seo/manifest.json index 736ad55af..e5a63d07d 100644 --- a/src/bb-modules/Seo/manifest.json +++ b/src/bb-modules/Seo/manifest.json @@ -5,8 +5,8 @@ "description": "Ping sitemap to Google, Yahoo and Bing", "icon_url": "icon.png", "homepage_url": "http://github.com/boxbilling/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "http://extensions.boxbilling.org/", - "license": "http://www.boxbilling.org/license.txt", + "license": "https://www.fossbilling.org/license.txt", "version": "1.0.0" } diff --git a/src/bb-modules/Servicecustom/manifest.json b/src/bb-modules/Servicecustom/manifest.json index d5447b83c..2cf4126f4 100644 --- a/src/bb-modules/Servicecustom/manifest.json +++ b/src/bb-modules/Servicecustom/manifest.json @@ -2,6 +2,6 @@ "id": "servicecustom", "type": "mod", "name": "Custom product type", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Servicedomain/Api/Admin.php b/src/bb-modules/Servicedomain/Api/Admin.php index 4819b06c0..e5087a6df 100644 --- a/src/bb-modules/Servicedomain/Api/Admin.php +++ b/src/bb-modules/Servicedomain/Api/Admin.php @@ -20,7 +20,7 @@ class Admin extends \Api_Abstract /** * Update domain service. * Does not send actions to domain registrar. Used to sync domain details - * on BoxBilling. + * on FOSSBilling. * * @param int $order_id - domain order id * diff --git a/src/bb-modules/Servicedomain/manifest.json b/src/bb-modules/Servicedomain/manifest.json index b400e5e0e..b616a3a9d 100644 --- a/src/bb-modules/Servicedomain/manifest.json +++ b/src/bb-modules/Servicedomain/manifest.json @@ -2,6 +2,6 @@ "id": "servicedomain", "type": "mod", "name": "Domain product type", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Servicedownloadable/manifest.json b/src/bb-modules/Servicedownloadable/manifest.json index a05f13f9d..f7fd987e9 100644 --- a/src/bb-modules/Servicedownloadable/manifest.json +++ b/src/bb-modules/Servicedownloadable/manifest.json @@ -2,6 +2,6 @@ "id": "servicedownloadable", "type": "mod", "name": "Downloadable product type", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Servicehosting/Api/Admin.php b/src/bb-modules/Servicehosting/Api/Admin.php index 3144bedc3..f6efc4449 100644 --- a/src/bb-modules/Servicehosting/Api/Admin.php +++ b/src/bb-modules/Servicehosting/Api/Admin.php @@ -121,7 +121,7 @@ class Admin extends \Api_Abstract } /** - * Update account information on BoxBilling database. + * Update account information on FOSSBilling database. * This does not send actions to real account on hosting server. * * @param int $order_id - Hosting account order id diff --git a/src/bb-modules/Servicehosting/manifest.json b/src/bb-modules/Servicehosting/manifest.json index 8140661ee..da17d79a6 100644 --- a/src/bb-modules/Servicehosting/manifest.json +++ b/src/bb-modules/Servicehosting/manifest.json @@ -2,6 +2,6 @@ "id": "servicehosting", "type": "mod", "name": "Hosting product type", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Servicelicense/Service.php b/src/bb-modules/Servicelicense/Service.php index c37e998c7..96d1a5ed7 100644 --- a/src/bb-modules/Servicelicense/Service.php +++ b/src/bb-modules/Servicelicense/Service.php @@ -450,7 +450,7 @@ class Service implements InjectionAwareInterface /** * Return error code in result field if related to license error - * If error comes from BoxBilling core use $result['error'] field. + * If error comes from FOSSBilling core use $result['error'] field. * * @since v2.7.1 */ diff --git a/src/bb-modules/Servicelicense/manifest.json b/src/bb-modules/Servicelicense/manifest.json index 7cd8210c9..5dc05a31f 100644 --- a/src/bb-modules/Servicelicense/manifest.json +++ b/src/bb-modules/Servicelicense/manifest.json @@ -2,6 +2,6 @@ "id": "servicelicense", "type": "mod", "name": "License product", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Servicemembership/manifest.json b/src/bb-modules/Servicemembership/manifest.json index c2c74ab00..626d710e6 100644 --- a/src/bb-modules/Servicemembership/manifest.json +++ b/src/bb-modules/Servicemembership/manifest.json @@ -4,8 +4,8 @@ "name": "Membership product", "description": "Sell membership subscriptions to clients", "homepage_url": "http://github.com/boxbilling/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "http://extensions.boxbilling.org/", - "license": "http://www.boxbilling.org/license.txt", + "license": "https://www.fossbilling.org/license.txt", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Servicesolusvm/Api/Admin.php b/src/bb-modules/Servicesolusvm/Api/Admin.php index 619b51dee..e6845ea7f 100644 --- a/src/bb-modules/Servicesolusvm/Api/Admin.php +++ b/src/bb-modules/Servicesolusvm/Api/Admin.php @@ -464,7 +464,7 @@ class Admin extends \Api_Abstract } /** - * Import selected servers to BoxBilling. + * Import selected servers to FOSSBilling. * * @return string - log information regarding import process */ @@ -529,7 +529,7 @@ class Admin extends \Api_Abstract // create service $model = $this->di['db']->dispense('service_solusvm'); - $model->cluster_id = 1; // for future if ever BoxBilling supports multiple master servers + $model->cluster_id = 1; // for future if ever FOSSBilling supports multiple master servers $model->client_id = $client->id; $model->hostname = $server['hostname']; $model->template = $server['template']; @@ -561,13 +561,13 @@ class Admin extends \Api_Abstract } } - $this->di['logger']->info('Imported VPS from SolusVM to BoxBilling'); + $this->di['logger']->info('Imported VPS from SolusVM to FOSSBilling'); return $log; } /** - * Import selected clients to BoxBilling. + * Import selected clients to FOSSBilling. * * @return string - log information regarding import process */ @@ -609,7 +609,7 @@ class Admin extends \Api_Abstract } } - $this->di['logger']->info('Imported clients from SolusVM to BoxBilling'); + $this->di['logger']->info('Imported clients from SolusVM to FOSSBilling'); return $log; } diff --git a/src/bb-modules/Servicesolusvm/Service.php b/src/bb-modules/Servicesolusvm/Service.php index dc3bb6e91..6fa67f20f 100644 --- a/src/bb-modules/Servicesolusvm/Service.php +++ b/src/bb-modules/Servicesolusvm/Service.php @@ -306,7 +306,7 @@ class Service implements InjectionAwareInterface $result = $this->_getApi()->vserver_create($type, $node, $nodegroup, $hostname, $password, $username, $plan, $template, $ips, $hvmt, $custommemory, $customdiskspace, $custombandwidth, $customcpu, $customextraip, $issuelicense); - $model->cluster_id = 1; // for future if ever BoxBilling supports multiple master servers + $model->cluster_id = 1; // for future if ever FOSSBilling supports multiple master servers $model->vserverid = $result['vserverid']; $model->virtid = $result['virtid']; $model->nodeid = $result['nodeid']; diff --git a/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_config.html.twig b/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_config.html.twig index 5a3475247..6abb67730 100644 --- a/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_config.html.twig +++ b/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_config.html.twig @@ -35,7 +35,7 @@ {% if nodes %} {{ mf.selectbox('config[node]', nodes, product.config.node, 0, 'Select node') }} {% else %} - {{ 'Make sure BoxBilling can connect to SolusVM master server and check if nodes are configured for selected virtualizator type. Refresh page if you have changed virtualization type to see new nodes.'|trans }} + {{ 'Make sure FOSSBilling can connect to SolusVM master server and check if nodes are configured for selected virtualizator type. Refresh page if you have changed virtualization type to see new nodes.'|trans }} {% endif %}
@@ -48,7 +48,7 @@ {% if plans %} {{ mf.selectbox('config[plan]', plans, product.config.plan, 0, 'Select plan') }} {% else %} - {{ 'Make sure BoxBilling can connect to SolusVM master server and check if plans are configured for selected virtualizator type.'|trans }} + {{ 'Make sure FOSSBilling can connect to SolusVM master server and check if plans are configured for selected virtualizator type.'|trans }} {% endif %}
diff --git a/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_import_clients.html.twig b/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_import_clients.html.twig index 524fed40d..92ae61ed5 100644 --- a/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_import_clients.html.twig +++ b/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_import_clients.html.twig @@ -45,7 +45,7 @@ - + diff --git a/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_import_servers.html.twig b/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_import_servers.html.twig index f50bc0c9b..e95647254 100644 --- a/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_import_servers.html.twig +++ b/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_import_servers.html.twig @@ -11,9 +11,9 @@
{{ 'Import SolusVM servers'|trans }}
{{ 'Read before importing servers'|trans }}
-

SolusVM products must be configured before importing servers to BoxBilling

+

SolusVM products must be configured before importing servers to FOSSBilling

SolusVM clients must already be imported

-

SolusVM API does not return plan name. BoxBilling is not able to guess which product assign to imported servers

+

SolusVM API does not return plan name. FOSSBilling is not able to guess which product assign to imported servers

{% for node in admin.servicesolusvm_get_nodes({ "by": "id" }) %} Node: {{ node }} {% endfor %} @@ -62,7 +62,7 @@ - + diff --git a/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_settings.html.twig b/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_settings.html.twig index 5efd3b3f1..e9a302e15 100644 --- a/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_settings.html.twig +++ b/src/bb-modules/Servicesolusvm/html_admin/mod_servicesolusvm_settings.html.twig @@ -33,7 +33,7 @@
SolusVM logo
{{ 'Getting started with SolusVM'|trans }}
-

{{ 'This guide will help you to get started selling SolusVM virtual servers with BoxBilling.'|trans }}

+

{{ 'This guide will help you to get started selling SolusVM virtual servers with FOSSBilling.'|trans }}

@@ -46,7 +46,7 @@

{{ '2. Configure API'|trans }}

-

Configure SolusVM API and test if BoxBilling can connect successfully. To create an API user login to SolusVM admin area and click Configuration > API Access from the top menu then select Add API User.

+

Configure SolusVM API and test if FOSSBilling can connect successfully. To create an API user login to SolusVM admin area and click Configuration > API Access from the top menu then select Add API User.

@@ -56,7 +56,7 @@

{{ '4. Create SolusVM products'|trans }}

-

Imagine that product on BoxBilling is SolusVM plan.

+

Imagine that product on FOSSBilling is SolusVM plan.

Create products in newly created category by selecting product type Solusvm.

Define product prices and switch to "Configuration" tab:

    @@ -64,7 +64,7 @@
  • Select node on which VPS will be created
  • Select plan
  • Define IPs amount for VPS server
  • -
  • Provide information about plan to BoxBilling so it can show these values to your clients. (SolusVM API does not provide this information)
  • +
  • Provide information about plan to FOSSBilling so it can show these values to your clients. (SolusVM API does not provide this information)
  • Provide slider information to be displayed on order form

Check order page while creating products to see slider changes

diff --git a/src/bb-modules/Servicesolusvm/manifest.json b/src/bb-modules/Servicesolusvm/manifest.json index 65ecbbb75..a37f61ef8 100644 --- a/src/bb-modules/Servicesolusvm/manifest.json +++ b/src/bb-modules/Servicesolusvm/manifest.json @@ -2,11 +2,11 @@ "id": "servicesolusvm", "type": "mod", "name": "SolusVM product", - "description": "Sell virtual servers using SolusVM extension for BoxBilling", + "description": "Sell virtual servers using SolusVM extension for FOSSBilling", "icon_url": "icon.png", "homepage_url": "http://github.com/boxbilling/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "http://extensions.boxbilling.org/", - "license": "http://www.boxbilling.org/license.txt", + "license": "https://www.fossbilling.org/license.txt", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Spamchecker/manifest.json b/src/bb-modules/Spamchecker/manifest.json index 6c60c893c..e538979a3 100644 --- a/src/bb-modules/Spamchecker/manifest.json +++ b/src/bb-modules/Spamchecker/manifest.json @@ -6,7 +6,7 @@ "icon_url": "icon.png", "project_url": "https://boxbilling.org/", "homepage_url": "https://boxbilling.org/", - "author": "BoxBilling", + "author": "FOSSBilling", "author_url": "https://boxbilling.org/", "license": "Free for commercial and non-commercial use (Apache License or GPL 2)", "version": "4.22.0" diff --git a/src/bb-modules/Staff/Api/Guest.php b/src/bb-modules/Staff/Api/Guest.php index ad6d0428e..d5dbe1109 100644 --- a/src/bb-modules/Staff/Api/Guest.php +++ b/src/bb-modules/Staff/Api/Guest.php @@ -23,7 +23,7 @@ class Guest extends \Api_Abstract * the system. * Database structure must be installed before calling this action. * bb-config.php file must already be present and configured. - * Used by automated BoxBilling installer. + * Used by automated FOSSBilling installer. * * @param string $email - admin email * @param string $password - admin password diff --git a/src/bb-modules/Staff/Service.php b/src/bb-modules/Staff/Service.php index 0315e3c06..230eb83fe 100644 --- a/src/bb-modules/Staff/Service.php +++ b/src/bb-modules/Staff/Service.php @@ -660,16 +660,16 @@ class Service implements InjectionAwareInterface $admin_url = $this->di['url']->adminLink('/'); $content = "Hi $admin_name, ".PHP_EOL; - $content .= 'You have successfully setup BoxBilling at '.BB_URL.PHP_EOL; + $content .= 'You have successfully setup FOSSBilling at '.BB_URL.PHP_EOL; $content .= 'Access client area at: '.$client_url.PHP_EOL; $content .= 'Access admin area at: '.$admin_url.' with login details:'.PHP_EOL; $content .= 'Email: '.$admin_email.PHP_EOL; $content .= 'Password: '.$admin_pass.PHP_EOL.PHP_EOL; $content .= 'Read FossBilling documentation to get started http://docs.fossbilling.org/'.PHP_EOL; - $content .= 'Thank You for using BoxBilling.'.PHP_EOL; + $content .= 'Thank You for using FOSSBilling.'.PHP_EOL; - $subject = sprintf('BoxBilling is ready at "%s"', BB_URL); + $subject = sprintf('FOSSBilling is ready at "%s"', BB_URL); $systemService = $this->di['mod_service']('system'); $from = $systemService->getParamValue('company_email'); diff --git a/src/bb-modules/Staff/manifest.json b/src/bb-modules/Staff/manifest.json index 2727d62c0..fb2889cdc 100644 --- a/src/bb-modules/Staff/manifest.json +++ b/src/bb-modules/Staff/manifest.json @@ -2,7 +2,7 @@ "id": "staff", "type": "mod", "name": "Staff", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "icon_url": "icon.png", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Stats/manifest.json b/src/bb-modules/Stats/manifest.json index 831e47214..4744bd0bf 100644 --- a/src/bb-modules/Stats/manifest.json +++ b/src/bb-modules/Stats/manifest.json @@ -2,6 +2,6 @@ "id": "stats", "type": "mod", "name": "Statistics", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Support/manifest.json b/src/bb-modules/Support/manifest.json index 785c1bdbe..ad990b9c1 100644 --- a/src/bb-modules/Support/manifest.json +++ b/src/bb-modules/Support/manifest.json @@ -2,7 +2,7 @@ "id": "support", "type": "mod", "name": "Support", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "icon_url": "icon.png", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/System/Api/Admin.php b/src/bb-modules/System/Api/Admin.php index f02432477..fc5e467a0 100644 --- a/src/bb-modules/System/Api/Admin.php +++ b/src/bb-modules/System/Api/Admin.php @@ -92,7 +92,7 @@ class Admin extends \Api_Abstract } /** - * Parse string like BoxBilling template. + * Parse string like FOSSBilling template. * * @param string $_tpl - Template text to be parsed * diff --git a/src/bb-modules/System/Api/Guest.php b/src/bb-modules/System/Api/Guest.php index 7083897fd..20f79a1ea 100644 --- a/src/bb-modules/System/Api/Guest.php +++ b/src/bb-modules/System/Api/Guest.php @@ -20,7 +20,7 @@ namespace Box\Mod\System\Api; class Guest extends \Api_Abstract { /** - * Get BoxBilling version. + * Get FOSSBilling version. * * @return string */ diff --git a/src/bb-modules/System/Service.php b/src/bb-modules/System/Service.php index 8033e6a7c..bd1f55d25 100644 --- a/src/bb-modules/System/Service.php +++ b/src/bb-modules/System/Service.php @@ -222,7 +222,7 @@ class Service $updater = $this->di['updater']; if ($updater->getCanUpdate()) { $version = $updater->getLatestVersion(); - $msgs['info'][] = sprintf('BoxBilling %s is available for download.', $version); + $msgs['info'][] = sprintf('FOSSBilling %s is available for download.', $version); } } catch (\Exception $e) { error_log($e->getMessage()); @@ -238,11 +238,11 @@ class Service } if ('0.0.1' == $this->getVersion()) { - $msgs['info'][] = 'BoxBilling couldn\'t find valid version information. This is okay if you downloaded BoxBilling directly from the master branch, instead of a released version. But beware, the master branch may not be stable enough for production use.'; + $msgs['info'][] = 'FOSSBilling couldn\'t find valid version information. This is okay if you downloaded FOSSBilling directly from the master branch, instead of a released version. But beware, the master branch may not be stable enough for production use.'; } if (!extension_loaded('openssl')) { - $msgs['info'][] = sprintf('BoxBilling requires %s extension to be enabled on this server for security reasons.', 'php openssl'); + $msgs['info'][] = sprintf('FOSSBilling requires %s extension to be enabled on this server for security reasons.', 'php openssl'); } return $this->di['array_get']($msgs, $type, []); diff --git a/src/bb-modules/System/html_admin/mod_system_settings.html.twig b/src/bb-modules/System/html_admin/mod_system_settings.html.twig index c69cffb53..ee7f7e1b8 100644 --- a/src/bb-modules/System/html_admin/mod_system_settings.html.twig +++ b/src/bb-modules/System/html_admin/mod_system_settings.html.twig @@ -409,8 +409,8 @@ ZW=Zimbabwe
-

{{ 'FTP layer for BoxBilling'|trans }}

-

{{ 'FTP is used to manage BoxBilling modules and updates.'|trans }}

+

{{ 'FTP layer for FOSSBilling'|trans }}

+

{{ 'FTP is used to manage FOSSBilling modules and updates.'|trans }}

@@ -448,7 +448,7 @@ ZW=Zimbabwe
- +
diff --git a/src/bb-modules/System/manifest.json b/src/bb-modules/System/manifest.json index 80373ebe0..24c05fd8e 100644 --- a/src/bb-modules/System/manifest.json +++ b/src/bb-modules/System/manifest.json @@ -2,7 +2,7 @@ "id": "system", "type": "mod", "name": "System", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "icon_url": "icon.png", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-modules/Theme/Service.php b/src/bb-modules/Theme/Service.php index 12b962f1b..35f9cb457 100644 --- a/src/bb-modules/Theme/Service.php +++ b/src/bb-modules/Theme/Service.php @@ -344,8 +344,8 @@ class Service implements InjectionAwareInterface 'name' => $theme, 'version' => '1.0', 'description' => 'Theme', - 'author' => 'BoxBilling', - 'author_url' => 'http://www.boxbilling.org', + 'author' => 'FOSSBilling', + 'author_url' => 'https://www.fossbilling.org', ]; } diff --git a/src/bb-modules/Theme/manifest.json b/src/bb-modules/Theme/manifest.json index 7cba2ca85..3df19038e 100644 --- a/src/bb-modules/Theme/manifest.json +++ b/src/bb-modules/Theme/manifest.json @@ -2,7 +2,7 @@ "id": "theme", "type": "mod", "name": "Theme", - "description": "BoxBilling core module", + "description": "FOSSBilling core module", "icon_url": "icon.png", "version": "1.0.0" } \ No newline at end of file diff --git a/src/bb-themes/admin_default/html/_sidebar.html.twig b/src/bb-themes/admin_default/html/_sidebar.html.twig index da1f65878..818a19204 100644 --- a/src/bb-themes/admin_default/html/_sidebar.html.twig +++ b/src/bb-themes/admin_default/html/_sidebar.html.twig @@ -57,9 +57,9 @@ diff --git a/src/bb-themes/admin_default/html/layout_default.html.twig b/src/bb-themes/admin_default/html/layout_default.html.twig index 781e2c878..394a7a3f1 100644 --- a/src/bb-themes/admin_default/html/layout_default.html.twig +++ b/src/bb-themes/admin_default/html/layout_default.html.twig @@ -49,7 +49,7 @@