Merge branch 'main' into dependabot/github_actions/actions/labeler-4

This commit is contained in:
Jaap Marcus authored and GitHub committed 2022-05-29 17:40:58 +02:00
commit f204e70710
178 files changed
+466 -482

No files matched your search

+4 -4
View File
@@ -1,8 +1,8 @@
<?php
function _writeHeader() {
$output = "# en_US translation of BoxBilling Application\n";
$output .= sprintf("# Copyright %s BoxBilling <info@boxbilling.org>\n", '2011 - '. date('Y'));
$output = "# en_US translation of FOSSBilling Application\n";
$output .= sprintf("# Copyright %s FOSSBilling <info@fossbilling.org>\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 <info@boxbilling.org>\\n\"\n";
$output .= "\"Language-Team: BoxBilling TM <info@boxbilling.org>\\n\"\n";
$output .= "\"Last-Translator: FOSSBilling TM <info@fossbilling.org>\\n\"\n";
$output .= "\"Language-Team: FOSSBilling TM <info@fossbilling.org>\\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";
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<project name="BoxBilling" default="build" basedir=".">
<project name="FOSSBilling" default="build" basedir=".">
<property environment="env" />
<property name="build.dir" value="${basedir}/build" />
<property name="dist.dir" value="${build.dir}/distribution" />
+1 -1
View File
@@ -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
+7 -7
View File
@@ -1,6 +1,6 @@
<?php
/**
* BoxBilling configuration file example.
* FOSSBilling configuration file example.
*
* If you are not using the web installer, you can rename this file
* to "bb-config.php" and fill in the values.
@@ -14,7 +14,7 @@ return [
'salt' => '',
/**
* 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
+1 -1
View File
@@ -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');
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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'])) {
+1 -1
View File
@@ -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);
}
}
+4 -4
View File
@@ -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,
);
+1 -1
View File
@@ -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()
{
+3 -3
View File
@@ -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';
+2 -2
View File
@@ -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,
@@ -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 <i>Account &gt; Settinggs &gt; MD5-Hash</i> 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 <i>Account &gt; Settinggs &gt; MD5-Hash</i> 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',
+1 -1
View File
@@ -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
*/
@@ -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;
}
@@ -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
*/
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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();
@@ -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',
@@ -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',
@@ -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',
@@ -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',
+4 -4
View File
@@ -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(
+3 -3
View File
@@ -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;
+1 -1
View File
@@ -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)
{
+1 -1
View File
@@ -12,7 +12,7 @@
class Server_Package
{
private $name = 'BoxBilling';
private $name = 'FOSSBilling';
private $quota = NULL;
private $bandwidth = NULL;
+4 -4
View File
@@ -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 \"<code>composer install</code>\" in order to install them. For detailed instruction, you can see <a href=\"https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies\">Composer's getting started guide</a>.<br /><br />If you have downloaded BoxBilling from <a href=\"https://github.com/boxbilling/boxbilling/releases\">GitHub releases</a>, this shouldn't happen.", 110);
throw new Exception("It seems like Composer packages are missing. You have to run \"<code>composer install</code>\" in order to install them. For detailed instruction, you can see <a href=\"https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies\">Composer's getting started guide</a>.<br /><br />If you have downloaded FOSSBilling from <a href=\"https://github.com/FOSSBilling/FOSSBilling/releases\">GitHub releases</a>, 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 <b><em>$configFile</em></b> 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.</p> <p>Please use the example config as reference <a target='_blank' href='https://raw.githubusercontent.com/boxbilling/boxbilling/master/src/bb-config-sample.php'>here</a>. You may need to manually restore a old config file or fix your existing one.</p>");
$msg = sprintf("Your <b><em>$configFile</em></b> 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.</p> <p>Please use the example config as reference <a target='_blank' href='https://raw.githubusercontent.com/FOSSBilling/FOSSBilling/master/src/bb-config-sample.php'>here</a>. You may need to manually restore a old config file or fix your existing one.</p>");
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 <b><em>/install</em></b> directory to start using BoxBilling.</p><p>Please delete the <b><em>/install</em></b> directory from your web server.', 102);
throw new Exception('For safety reasons, you have to delete the <b><em>/install</em></b> directory to start using FOSSBilling.</p><p>Please delete the <b><em>/install</em></b> directory from your web server.', 102);
}
$config = require_once $configPath;
+40 -48
View File
@@ -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 <info@boxbilling.org>\n"
"Language-Team: FOSSBilling TM <info@fossbilling.org>\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 <em>sendmail</em> by default or you can "
"FOSSBilling sends emails using <em>sendmail</em> 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. <strong>This action will delete any "
"existing tax rules</strong> 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 ""
"<strong>FTP root</strong> - 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"
+40 -48
View File
@@ -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 <info@boxbilling.org>\n"
"Language-Team: BoxBilling TM <info@boxbilling.org>\n"
"Last-Translator: FOSSBilling TM <info@fossbilling.org>\n"
"Language-Team: FOSSBilling TM <info@fossbilling.org>\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 <em>sendmail</em> by default or you can "
"FOSSBilling sends emails using <em>sendmail</em> 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. <strong>This action will delete any "
"existing tax rules</strong> 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 ""
"<strong>FTP root</strong> - 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"
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "activity",
"type": "mod",
"name": "Activity",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+3 -3
View File
@@ -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);
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "api",
"type": "mod",
"name": "API",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+3 -3
View File
@@ -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"
}
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "cart",
"type": "mod",
"name": "Shopping cart",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+1 -1
View File
@@ -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"
}
+1 -1
View File
@@ -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"
}
@@ -120,8 +120,8 @@
<div class="tab_content nopadding" id="tab-api-settings">
<div class="help">
<h3>{{ 'Adjust settings for currency rate updater'|trans }}</h3>
<p>BoxBilling uses data grabbed from <a href="https://www.ecb.europa.eu/home/html/index.en.html">European Central Bank</a> for conversions from Euro to other currencies, and <a href="https://currencylayer.com/">currencylayer</a> for conversations from US Dollar to other currencies.<br />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.<br />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.<br />You can <a href="https://currencylayer.com/product">grab your API key</a> from currencylayer's website. BoxBilling doesn't make any profits from your purchases on currencylayer.com</p>
<p><b>BoxBilling does not take any responsibilities for data grabbed from 3rd party sources, including European Central Bank and currencylayer.</b></p>
<p>FOSSBilling uses data grabbed from <a href="https://www.ecb.europa.eu/home/html/index.en.html">European Central Bank</a> for conversions from Euro to other currencies, and <a href="https://currencylayer.com/">currencylayer</a> for conversations from US Dollar to other currencies.<br />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.<br />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.<br />You can <a href="https://currencylayer.com/product">grab your API key</a> from currencylayer's website. FOSSBilling doesn't make any profits from your purchases on currencylayer.com</p>
<p><b>FOSSBilling does not take any responsibilities for data grabbed from 3rd party sources, including European Central Bank and currencylayer.</b></p>
</div>
<form method="post" action="{{ 'api/admin/currency/update_rate_settings'|link }}" class="mainForm save api-form" data-api-msg="Successfully updated settings">
<fieldset>
+1 -1
View File
@@ -3,6 +3,6 @@
"type": "mod",
"name": "Currency",
"icon_url": "icon.png",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
@@ -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.
*/
+3 -3
View File
@@ -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"
}
+2 -2
View File
@@ -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;
@@ -75,7 +75,7 @@
<div id="tab-email" class="tab_content nopadding">
<div class="help">
<h3>{{ 'Configure email options'|trans }}</h3>
<p>{{ 'BoxBilling sends emails using <em>sendmail</em> by default or you can configure your own SMTP server'|trans }}</p>
<p>{{ 'FOSSBilling sends emails using <em>sendmail</em> by default or you can configure your own SMTP server'|trans }}</p>
</div>
<form method="post" action="{{ 'api/admin/extension/config_save'|link }}" class="mainForm api-form" data-api-msg="Email settings updated">
@@ -32,7 +32,7 @@
<div id="template" class="tab_content nopadding">
<div class="help">
<h3>{{ 'Manage email template'|trans }}</h3>
<p>{{ '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 }}</p>
<p>{{ '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 }}</p>
</div>
<div class="body">
<form method="post" action="admin/email/template_update" class="mainForm save api-form" data-api-msg="{{ 'Template updated'|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 }}
@@ -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 }}
+1 -1
View File
@@ -3,6 +3,6 @@
"type": "mod",
"name": "Email",
"icon_url": "icon.png",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+2 -2
View File
@@ -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.
@@ -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 %}
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -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.
*/
+1 -1
View File
@@ -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.
*/
+2 -2
View File
@@ -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.
+2 -2
View File
@@ -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 = [
+1 -1
View File
@@ -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"
+7 -7
View File
@@ -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.
*
+3 -3
View File
@@ -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
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "extension",
"type": "mod",
"name": "Extensions",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
@@ -7,7 +7,7 @@
<link>{{ 'forum' | link }}</link>
<language>en</language>
<description>{{ company.description }}</description>
<generator>BoxBilling RSS Engine</generator>
<generator>FOSSBilling RSS Engine</generator>
<image>
<url>{{ company.logo_url }}</url>
<title>{{ company.name }}</title>
+3 -3
View File
@@ -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"
}
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "hook",
"type": "mod",
"name": "Event hooks subsystem",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "index",
"type": "mod",
"name": "Index page module",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+6 -6
View File
@@ -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
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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"
}
+3 -3
View File
@@ -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"
}
+3 -3
View File
@@ -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"
}
+1 -1
View File
@@ -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
*/
+2 -2
View File
@@ -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) {
+1 -1
View File
@@ -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"
}
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "page",
"type": "mod",
"name": "Page",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "product",
"type": "mod",
"name": "Product",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "profile",
"type": "mod",
"name": "Profile",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+2 -2
View File
@@ -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"
}
+2 -2
View File
@@ -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"
}
+2 -2
View File
@@ -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"
}
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "servicecustom",
"type": "mod",
"name": "Custom product type",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+1 -1
View File
@@ -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
*
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "servicedomain",
"type": "mod",
"name": "Domain product type",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
@@ -2,6 +2,6 @@
"id": "servicedownloadable",
"type": "mod",
"name": "Downloadable product type",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+1 -1
View File
@@ -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
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "servicehosting",
"type": "mod",
"name": "Hosting product type",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+1 -1
View File
@@ -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
*/
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "servicelicense",
"type": "mod",
"name": "License product",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
@@ -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"
}
+5 -5
View File
@@ -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;
}
+1 -1
View File
@@ -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'];
@@ -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 %}
</div>
<div class="fix"></div>
@@ -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 %}
</div>
<div class="fix"></div>
@@ -45,7 +45,7 @@
<tfoot>
<tr>
<td colspan="7">
<input type="submit" value="{{ 'Import selected SolusVM clients to BoxBilling'|trans }}" class="greyishBtn" />
<input type="submit" value="{{ 'Import selected SolusVM clients to FOSSBilling'|trans }}" class="greyishBtn" />
</td>
</tr>
</tfoot>
@@ -11,9 +11,9 @@
<div class="head"><h5 class="iFrames">{{ 'Import SolusVM servers'|trans }}</h5></div>
<div class="help">
<h5>{{ 'Read before importing servers'|trans }}</h5>
<p>SolusVM products must be configured before importing servers to BoxBilling</p>
<p>SolusVM products must be configured before importing servers to FOSSBilling</p>
<p>SolusVM clients must already be imported</p>
<p>SolusVM API does not return plan name. BoxBilling is not able to guess which product assign to imported servers</p>
<p>SolusVM API does not return plan name. FOSSBilling is not able to guess which product assign to imported servers</p>
{% for node in admin.servicesolusvm_get_nodes({ "by": "id" }) %}
<a href="{{ 'servicesolusvm/import/servers'|alink({'node_id' : node}) }}" class="btnIconLeft mr10 mt10"><span>Node: {{ node }}</span></a>
{% endfor %}
@@ -62,7 +62,7 @@
</tr>
<tr>
<td colspan="7">
<input type="submit" value="{{ 'Import selected SolusVM virtual server to BoxBilling'|trans }}" class="greyishBtn" />
<input type="submit" value="{{ 'Import selected SolusVM virtual server to FOSSBilling'|trans }}" class="greyishBtn" />
</td>
</tr>
</tfoot>
@@ -33,7 +33,7 @@
<div class="help">
<img src="/bb-modules/Servicesolusvm/icon.png" alt="SolusVM logo" class="" style="width: 150px; float: right; margin: 0 5px 0 10px;"/>
<h5>{{ 'Getting started with SolusVM'|trans }}</h5>
<p>{{ 'This guide will help you to get started selling SolusVM virtual servers with BoxBilling.'|trans }}</p>
<p>{{ 'This guide will help you to get started selling SolusVM virtual servers with FOSSBilling.'|trans }}</p>
</div>
<div class="body">
@@ -46,7 +46,7 @@
<div class="body">
<h2>{{ '2. Configure API'|trans }}</h2>
<p><a href="" onclick="$('#open-index-tab').click(); return false;">Configure SolusVM API</a> 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.</p>
<p><a href="" onclick="$('#open-index-tab').click(); return false;">Configure SolusVM API</a> 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.</p>
</div>
<div class="body">
@@ -56,7 +56,7 @@
<div class="body list arrowBlue">
<h2>{{ '4. Create SolusVM products'|trans }}</h2>
<p>Imagine that product on BoxBilling is SolusVM plan.</p>
<p>Imagine that product on FOSSBilling is SolusVM plan.</p>
<p><a href="{{'product'|alink({'type' : 'solusvm', 'title' : 'VPS-1'})}}#tab-new" target="_blank">Create products</a> in newly created category by selecting product type <strong>Solusvm</strong>.</p>
<p>Define product prices and switch to "Configuration" tab:</p>
<ul>
@@ -64,7 +64,7 @@
<li>Select node on which VPS will be created</li>
<li>Select plan</li>
<li>Define IPs amount for VPS server</li>
<li>Provide information about plan to BoxBilling so it can show these values to your clients. (SolusVM API does not provide this information)</li>
<li>Provide information about plan to FOSSBilling so it can show these values to your clients. (SolusVM API does not provide this information)</li>
<li>Provide slider information to be displayed on order form</li>
</ul>
<p><a href="{{ 'order'|link }}" target="_blank">Check order page</a> while creating products to see slider changes</p>
+3 -3
View File
@@ -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"
}
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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');
+1 -1
View File
@@ -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"
}
+1 -1
View File
@@ -2,6 +2,6 @@
"id": "stats",
"type": "mod",
"name": "Statistics",
"description": "BoxBilling core module",
"description": "FOSSBilling core module",
"version": "1.0.0"
}
+1 -1
View File
@@ -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"
}
+1 -1
View File
@@ -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
*
Loaded 100 of 178 files, more files were not shown because too many files have changed in this diff. Show more