diff --git a/src/bb-library/Registrar/Adapter/srsx.php b/src/bb-library/Registrar/Adapter/srsx.php
index 7e4ee5a18..c63320ab1 100644
--- a/src/bb-library/Registrar/Adapter/srsx.php
+++ b/src/bb-library/Registrar/Adapter/srsx.php
@@ -5,15 +5,15 @@
* LICENSE
*
* This source file is subject to the license that is bundled
- * with this package in the file LICENSE.txt
+ * with this package in the file LICENSE
* It is also available through the world-wide-web at this URL:
- * https://www.fossbilling.org/LICENSE.txt
+ * https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE
* 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.fossbilling.org)
- * @license https://www.fossbilling.org/LICENSE.txt
+ * @license https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE
* @version $Id$
* Created by bayamsoftware.com & @timothygwebb
* For free hosting please visit host.bayamsoftware.com
diff --git a/src/bb-modules/Branding/manifest.json b/src/bb-modules/Branding/manifest.json
index 4a335919b..eede6be57 100644
--- a/src/bb-modules/Branding/manifest.json
+++ b/src/bb-modules/Branding/manifest.json
@@ -6,6 +6,6 @@
"homepage_url": "https://fossbilling.org",
"author": "FOSSBilling",
"author_url": "https://fossbilling.org",
- "license": "https://fossbilling.org/license.txt",
+ "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE",
"version": "0.0.1"
}
diff --git a/src/bb-modules/Forum/manifest.json b/src/bb-modules/Forum/manifest.json
index 0d6efe281..8c3ff2aee 100644
--- a/src/bb-modules/Forum/manifest.json
+++ b/src/bb-modules/Forum/manifest.json
@@ -7,6 +7,6 @@
"homepage_url": "http://github.com/boxbilling/",
"author": "FOSSBilling",
"author_url": "http://extensions.boxbilling.org/",
- "license": "https://www.fossbilling.org/license.txt",
+ "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE",
"version": "1.2.0"
}
\ No newline at end of file
diff --git a/src/bb-modules/Kb/manifest.json b/src/bb-modules/Kb/manifest.json
index a516a732e..c8c51a037 100644
--- a/src/bb-modules/Kb/manifest.json
+++ b/src/bb-modules/Kb/manifest.json
@@ -6,6 +6,6 @@
"homepage_url": "http://github.com/boxbilling/",
"author": "FOSSBilling",
"author_url": "http://extensions.boxbilling.org/",
- "license": "https://www.fossbilling.org/license.txt",
+ "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE",
"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 92f3995fe..b0576cdc2 100644
--- a/src/bb-modules/News/manifest.json
+++ b/src/bb-modules/News/manifest.json
@@ -6,6 +6,6 @@
"homepage_url": "http://github.com/boxbilling/",
"author": "FOSSBilling",
"author_url": "http://extensions.boxbilling.org/",
- "license": "https://www.fossbilling.org/license.txt",
+ "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE",
"version": "1.0.0"
}
\ No newline at end of file
diff --git a/src/bb-modules/Order/html_client/mod_order_index.html.twig b/src/bb-modules/Order/html_client/mod_order_index.html.twig
index 92508deb8..a25f39f78 100644
--- a/src/bb-modules/Order/html_client/mod_order_index.html.twig
+++ b/src/bb-modules/Order/html_client/mod_order_index.html.twig
@@ -19,7 +19,7 @@
-
+
diff --git a/src/bb-modules/Order/html_client/mod_order_product.html.twig b/src/bb-modules/Order/html_client/mod_order_product.html.twig
index f73ede48c..4bd332cac 100644
--- a/src/bb-modules/Order/html_client/mod_order_product.html.twig
+++ b/src/bb-modules/Order/html_client/mod_order_product.html.twig
@@ -19,7 +19,7 @@
-
+
diff --git a/src/bb-modules/Orderbutton/html_client/mod_orderbutton_index.html.twig b/src/bb-modules/Orderbutton/html_client/mod_orderbutton_index.html.twig
index ded8c6f18..8e7906265 100644
--- a/src/bb-modules/Orderbutton/html_client/mod_orderbutton_index.html.twig
+++ b/src/bb-modules/Orderbutton/html_client/mod_orderbutton_index.html.twig
@@ -1,5 +1,5 @@
-{% if request.theme_color %}
- {% set theme_color = 'css/huraga-'~request.theme_color~'.css' %}
+{% if settings.color_scheme %}
+ {% set theme_color = 'css/huraga-'~settings.color_scheme~'.css' %}
{% else %}
{% set theme_color = 'css/huraga-green.css' %}
{% endif %}
diff --git a/src/bb-modules/Orderbutton/html_client/mod_orderbutton_js.html.twig b/src/bb-modules/Orderbutton/html_client/mod_orderbutton_js.html.twig
index 423510910..20eb6a770 100644
--- a/src/bb-modules/Orderbutton/html_client/mod_orderbutton_js.html.twig
+++ b/src/bb-modules/Orderbutton/html_client/mod_orderbutton_js.html.twig
@@ -4,7 +4,7 @@
{% set width = request.width | default("600")%}
{% set height = request.height | default("700")%}
{% set background_color = request.background_color | default("black")%}
-{% set theme_color = request.theme_color | default('green')%}
+{% set theme_color = settings.color_scheme | default('green')%}
{% set loader_nr = request.loader | default("8")%}
{% set loader_url = ('img/assets/loaders/loader'~loader_nr~'.gif') %}
{% set border_radius = request.border_radius | default(0) %}
@@ -55,7 +55,7 @@
orderbutton.prototype.srclink = function(){
var params = [
- { name: "theme_color", value: "{{request.theme_color | default('green')}}" },
+ { name: "theme_color", value: "{{settings.color_scheme | default('green')}}" },
{ name: "loader", value: "1" }
];
var product_id = this.getDataProductId();
diff --git a/src/bb-modules/Page/html_client/mod_page_preview_markdown.html.twig b/src/bb-modules/Page/html_client/mod_page_preview_markdown.html.twig
index a00220b40..eb49ae28e 100644
--- a/src/bb-modules/Page/html_client/mod_page_preview_markdown.html.twig
+++ b/src/bb-modules/Page/html_client/mod_page_preview_markdown.html.twig
@@ -1,9 +1,15 @@
+{% if settings.color_scheme %}
+ {% set theme_color = 'css/huraga-'~settings.color_scheme~'.css' %}
+{% else %}
+ {% set theme_color = 'css/huraga-green.css' %}
+{% endif %}
+
{{ post.content|bbmd }}
diff --git a/src/bb-modules/Queue/manifest.json b/src/bb-modules/Queue/manifest.json
index 4b273e467..7ea7dbc17 100644
--- a/src/bb-modules/Queue/manifest.json
+++ b/src/bb-modules/Queue/manifest.json
@@ -6,6 +6,6 @@
"homepage_url": "http://github.com/boxbilling/",
"author": "FOSSBilling",
"author_url": "http://extensions.boxbilling.org/",
- "license": "https://www.fossbilling.org/license.txt",
+ "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE",
"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 e5a63d07d..87f651d4d 100644
--- a/src/bb-modules/Seo/manifest.json
+++ b/src/bb-modules/Seo/manifest.json
@@ -7,6 +7,6 @@
"homepage_url": "http://github.com/boxbilling/",
"author": "FOSSBilling",
"author_url": "http://extensions.boxbilling.org/",
- "license": "https://www.fossbilling.org/license.txt",
+ "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE",
"version": "1.0.0"
}
diff --git a/src/bb-modules/Servicemembership/manifest.json b/src/bb-modules/Servicemembership/manifest.json
index 626d710e6..fe68b8423 100644
--- a/src/bb-modules/Servicemembership/manifest.json
+++ b/src/bb-modules/Servicemembership/manifest.json
@@ -6,6 +6,6 @@
"homepage_url": "http://github.com/boxbilling/",
"author": "FOSSBilling",
"author_url": "http://extensions.boxbilling.org/",
- "license": "https://www.fossbilling.org/license.txt",
+ "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE",
"version": "1.0.0"
}
\ No newline at end of file
diff --git a/src/bb-modules/Servicesolusvm/manifest.json b/src/bb-modules/Servicesolusvm/manifest.json
index a37f61ef8..da4a1e756 100644
--- a/src/bb-modules/Servicesolusvm/manifest.json
+++ b/src/bb-modules/Servicesolusvm/manifest.json
@@ -7,6 +7,6 @@
"homepage_url": "http://github.com/boxbilling/",
"author": "FOSSBilling",
"author_url": "http://extensions.boxbilling.org/",
- "license": "https://www.fossbilling.org/license.txt",
+ "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE",
"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 dd83840b5..784a6f8b0 100644
--- a/src/bb-modules/Theme/Service.php
+++ b/src/bb-modules/Theme/Service.php
@@ -274,7 +274,7 @@ class Service implements InjectionAwareInterface
$theme = $this->di['db']->getCell("SELECT value FROM setting WHERE param = 'theme' ");
}
- return !empty($theme) ? $theme : 'boxbilling';
+ return !empty($theme) ? $theme : 'huraga';
}
public function getThemes($client = true)
diff --git a/src/bb-modules/Wysiwyg/Api/Admin.php b/src/bb-modules/Wysiwyg/Api/Admin.php
index c1e29c855..85d8386e6 100644
--- a/src/bb-modules/Wysiwyg/Api/Admin.php
+++ b/src/bb-modules/Wysiwyg/Api/Admin.php
@@ -1,11 +1,13 @@
@@ -15,7 +21,7 @@
{% block opengraph %}{% endblock %}
-
+
diff --git a/src/bb-themes/huraga/html/layout_public.html.twig b/src/bb-themes/huraga/html/layout_public.html.twig
index de6ce4d8e..a546c01a8 100644
--- a/src/bb-themes/huraga/html/layout_public.html.twig
+++ b/src/bb-themes/huraga/html/layout_public.html.twig
@@ -1,3 +1,9 @@
+{% if settings.color_scheme %}
+ {% set theme_color = 'css/huraga-'~settings.color_scheme~'.css' %}
+{% else %}
+ {% set theme_color = 'css/huraga-green.css' %}
+{% endif %}
+
@@ -13,7 +19,7 @@
-
+
diff --git a/src/install/sql/content.sql b/src/install/sql/content.sql
index b4432eec3..fc7d6e8af 100644
--- a/src/install/sql/content.sql
+++ b/src/install/sql/content.sql
@@ -133,12 +133,12 @@ LOCK TABLES `extension` WRITE;
INSERT INTO `extension` (`id`, `type`, `name`, `status`, `version`, `manifest`)
VALUES
- (1,'mod','forum','installed','1.0.0','{\"id\":\"forum\",\"type\":\"mod\",\"name\":\"Forum\",\"description\":\"Forum for FOSSBilling\",\"homepage_url\":\"http:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/extensions.boxbilling.org\\/\",\"license\":\"http:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (2,'mod','kb','installed','1.0.0','{\"id\":\"kb\",\"type\":\"mod\",\"name\":\"Knowledge base\",\"description\":\"Knowledge base module for FOSSBilling\",\"homepage_url\":\"http:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/extensions.boxbilling.org\\/\",\"license\":\"http:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (3,'mod','news','installed','1.0.0','{\"id\":\"news\",\"type\":\"mod\",\"name\":\"News\",\"description\":\"News module for FOSSBilling\",\"homepage_url\":\"http:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/extensions.boxbilling.org\\/\",\"license\":\"http:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (4,'mod','branding','installed','1.0.0','{\"id\":\"branding\",\"type\":\"mod\",\"name\":\"Branding\",\"description\":\"FOSSBilling branding module.\",\"homepage_url\":\"http:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/extensions.boxbilling.org\\/\",\"license\":\"http:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (5,'mod','redirect','installed','1.0.0','{\"id\":\"redirect\",\"type\":\"mod\",\"name\":\"Redirect\",\"description\":\"Manage redirects\",\"homepage_url\":\"https:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/www.fossbilling.org\",\"license\":\"GPL version 2 or later - http:\\/\\/www.gnu.org\\/licenses\\/old-licenses\\/gpl-2.0.html\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (6,'mod','wysiwyg','installed','4.22','{\"id\":\"wysiwyg\",\"type\":\"mod\",\"name\":\"WYSIWYG\",\"description\":\"Integrates a What You See Is What You Get (WYSIWYG) editor to your admin panel.\",\"homepage_url\":\"https:\/\/github.com\/boxbilling\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\/\/extensions.boxbilling.org\/\",\"license\":\"GPL version 2 or later - http:\/\/www.gnu.org\/licenses\/old-licenses\/gpl-2.0.html\",\"version\":\"4.22\",\"icon_url\":\"\/bb-modules\/Wysiwyg\/icon.png\",\"download_url\":null,\"project_url\":\"https:\/\/extensions.boxbilling.org\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}');
+ (1,'mod','forum','installed','1.0.0','{\"id\":\"forum\",\"type\":\"mod\",\"name\":\"Forum\",\"description\":\"Forum for FOSSBilling\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/fossbilling.org\\/\",\"license\":\"https:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (2,'mod','kb','installed','1.0.0','{\"id\":\"kb\",\"type\":\"mod\",\"name\":\"Knowledge base\",\"description\":\"Knowledge base module for FOSSBilling\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/fossbilling.org\\/\",\"license\":\"https:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (3,'mod','news','installed','1.0.0','{\"id\":\"news\",\"type\":\"mod\",\"name\":\"News\",\"description\":\"News module for FOSSBilling\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/fossbilling.org\\/\",\"license\":\"https:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (4,'mod','branding','installed','1.0.0','{\"id\":\"branding\",\"type\":\"mod\",\"name\":\"Branding\",\"description\":\"FOSSBilling branding module.\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/fossbilling.org\\/\",\"license\":\"https:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (5,'mod','redirect','installed','1.0.0','{\"id\":\"redirect\",\"type\":\"mod\",\"name\":\"Redirect\",\"description\":\"Manage redirects\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/www.fossbilling.org\",\"license\":\"GPL version 2 or later - https:\\/\\/www.gnu.org\\/licenses\\/old-licenses\\/gpl-2.0.html\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (6,'mod','wysiwyg','installed','4.22','{\"id\":\"wysiwyg\",\"type\":\"mod\",\"name\":\"WYSIWYG\",\"description\":\"Integrates a What You See Is What You Get (WYSIWYG) editor to your admin panel.\",\"homepage_url\":\"https:\/\/github.com\/FOSSBilling\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\/\/fossbilling.org\/\",\"license\":\"GPL version 2 or later - https:\/\/www.gnu.org\/licenses\/old-licenses\/gpl-2.0.html\",\"version\":\"4.22\",\"icon_url\":\"\/bb-modules\/Wysiwyg\/icon.png\",\"download_url\":null,\"project_url\":\"https:\/\/fossbilling.org\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}');
/*!40000 ALTER TABLE `extension` ENABLE KEYS */;
UNLOCK TABLES;
diff --git a/src/install/sql/content_test.sql b/src/install/sql/content_test.sql
index e41e5d3e2..9e9d1aab7 100644
--- a/src/install/sql/content_test.sql
+++ b/src/install/sql/content_test.sql
@@ -162,12 +162,12 @@ LOCK TABLES `extension` WRITE;
INSERT INTO `extension` (`id`, `type`, `name`, `status`, `version`, `manifest`)
VALUES
- (1,'mod','forum','installed','1.0.0','{\"id\":\"forum\",\"type\":\"mod\",\"name\":\"Forum\",\"description\":\"Forum for FOSSBilling\",\"homepage_url\":\"http:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/extensions.boxbilling.org\\/\",\"license\":\"http:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (2,'mod','kb','installed','1.0.0','{\"id\":\"kb\",\"type\":\"mod\",\"name\":\"Knowledge base\",\"description\":\"Knowledge base module for FOSSBilling\",\"homepage_url\":\"http:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/extensions.boxbilling.org\\/\",\"license\":\"http:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (3,'mod','news','installed','1.0.0','{\"id\":\"news\",\"type\":\"mod\",\"name\":\"News\",\"description\":\"News module for FOSSBilling\",\"homepage_url\":\"http:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/extensions.boxbilling.org\\/\",\"license\":\"http:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (4,'mod','branding','installed','1.0.0','{\"id\":\"branding\",\"type\":\"mod\",\"name\":\"Branding\",\"description\":\"FOSSBilling branding module. Can be deactivated by PRO license owners only.\",\"homepage_url\":\"http:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/extensions.boxbilling.org\\/\",\"license\":\"http:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (5,'mod','redirect','installed','1.0.0','{\"id\":\"redirect\",\"type\":\"mod\",\"name\":\"Redirect\",\"description\":\"Manage redirects\",\"homepage_url\":\"https:\\/\\/github.com\\/boxbilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"http:\\/\\/www.fossbilling.org\",\"license\":\"GPL version 2 or later - http:\\/\\/www.gnu.org\\/licenses\\/old-licenses\\/gpl-2.0.html\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/extensions.boxbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
- (6,'mod','wysiwyg','installed','4.22','{\"id\":\"wysiwyg\",\"type\":\"mod\",\"name\":\"Wysiwyg\",\"description\":\"Integrates a What You See Is What You Get (WYSIWYG) editor to your admin panel.\",\"homepage_url\":\"https:\/\/github.com\/boxbilling\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\/\/extensions.boxbilling.org\/\",\"license\":\"GPL version 2 or later - http:\/\/www.gnu.org\/licenses\/old-licenses\/gpl-2.0.html\",\"version\":\"4.22\",\"icon_url\":\"\/bb-modules\/Wysiwyg\/icon.png\",\"download_url\":null,\"project_url\":\"https:\/\/extensions.boxbilling.org\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}');
+ (1,'mod','forum','installed','1.0.0','{\"id\":\"forum\",\"type\":\"mod\",\"name\":\"Forum\",\"description\":\"Forum for FOSSBilling\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/fossbilling.org\\/\",\"license\":\"https:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (2,'mod','kb','installed','1.0.0','{\"id\":\"kb\",\"type\":\"mod\",\"name\":\"Knowledge base\",\"description\":\"Knowledge base module for FOSSBilling\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/fossbilling.org\\/\",\"license\":\"https:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (3,'mod','news','installed','1.0.0','{\"id\":\"news\",\"type\":\"mod\",\"name\":\"News\",\"description\":\"News module for FOSSBilling\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/fossbilling.org\\/\",\"license\":\"https:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (4,'mod','branding','installed','1.0.0','{\"id\":\"branding\",\"type\":\"mod\",\"name\":\"Branding\",\"description\":\"FOSSBilling branding module. Can be deactivated.\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/fossbilling.org\\/\",\"license\":\"https:\\/\\/www.fossbilling.org\\/license.txt\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (5,'mod','redirect','installed','1.0.0','{\"id\":\"redirect\",\"type\":\"mod\",\"name\":\"Redirect\",\"description\":\"Manage redirects\",\"homepage_url\":\"https:\\/\\/github.com\\/FOSSBilling\\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\\/\\/www.fossbilling.org\",\"license\":\"GPL version 2 or later - https:\\/\\/www.gnu.org\\/licenses\\/old-licenses\\/gpl-2.0.html\",\"version\":\"1.0.0\",\"icon_url\":null,\"download_url\":null,\"project_url\":\"https:\\/\\/fossbilling.org\\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}\n'),
+ (6,'mod','wysiwyg','installed','4.22','{\"id\":\"wysiwyg\",\"type\":\"mod\",\"name\":\"Wysiwyg\",\"description\":\"Integrates a What You See Is What You Get (WYSIWYG) editor to your admin panel.\",\"homepage_url\":\"https:\/\/github.com\/FOSSBilling\/\",\"author\":\"FOSSBilling\",\"author_url\":\"https:\/\/fossbilling.org\/\",\"license\":\"GPL version 2 or later - https:\/\/www.gnu.org\/licenses\/old-licenses\/gpl-2.0.html\",\"version\":\"4.22\",\"icon_url\":\"\/bb-modules\/Wysiwyg\/icon.png\",\"download_url\":null,\"project_url\":\"https:\/\/fossbilling.org\/\",\"minimum_boxbilling_version\":null,\"maximum_boxbilling_version\":null}');
/*!40000 ALTER TABLE `extension` ENABLE KEYS */;
UNLOCK TABLES;
diff --git a/tests/bb-library/Box/Box_MailTest.php b/tests/bb-library/Box/Box_MailTest.php
index a8edc4338..4413bcf02 100644
--- a/tests/bb-library/Box/Box_MailTest.php
+++ b/tests/bb-library/Box/Box_MailTest.php
@@ -61,7 +61,7 @@ class Box_MailTest extends PHPUnit\Framework\TestCase
public function testsetFrom()
{
- $context = 'jobs@boxbilling.org';
+ $context = 'jobs@fossbilling.org';
$mail = new Box_Mail();
$result = $mail->setFrom($context);
@@ -83,7 +83,7 @@ class Box_MailTest extends PHPUnit\Framework\TestCase
public function testsetReplyTo()
{
- $context = 'do-not-reply@boxbilling.org';
+ $context = 'do-not-reply@fossbilling.org';
$mail = new Box_Mail();
$result = $mail->setReplyTo($context);
@@ -92,7 +92,7 @@ class Box_MailTest extends PHPUnit\Framework\TestCase
public function testaddTo()
{
- $context = 'bcc@boxbilling.org';
+ $context = 'bcc@fossbilling.org';
$mail = new Box_Mail();
$result = $mail->addTo($context);
diff --git a/tests/bb-library/Box/Box_RequestTest.php b/tests/bb-library/Box/Box_RequestTest.php
index 309e7499c..3dc1d1877 100644
--- a/tests/bb-library/Box/Box_RequestTest.php
+++ b/tests/bb-library/Box/Box_RequestTest.php
@@ -124,7 +124,7 @@ class Box_RequestTest extends PHPUnit\Framework\TestCase
public function testHeader()
{
$input = array (
- 'Host' => 'www.boxbilling.vm',
+ 'Host' => 'www.fossbilling.vm',
'Connection' => 'keep-alive',
'Content-Length' => '18',
'User-Agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36',
diff --git a/tests/bb-library/Payment/Adapter/Payment_Adapter_InterkassaTest.php b/tests/bb-library/Payment/Adapter/Payment_Adapter_InterkassaTest.php
index 0e5d43c0e..292417082 100644
--- a/tests/bb-library/Payment/Adapter/Payment_Adapter_InterkassaTest.php
+++ b/tests/bb-library/Payment/Adapter/Payment_Adapter_InterkassaTest.php
@@ -8,11 +8,11 @@ class Payment_Adapter_InterkassaTest extends PHPUnit\Framework\TestCase {
public function setup(): void
{
$this->defaultConfig = array(
- 'url' => 'boxbilling.test',
- 'return_url' => 'boxbilling.test',
- 'notify_url' => 'boxbilling.test',
- 'cancel_url' => 'boxbilling.test',
- 'redirect_url' => 'boxbilling.test',
+ 'url' => 'fossbilling.test',
+ 'return_url' => 'fossbilling.test',
+ 'notify_url' => 'fossbilling.test',
+ 'cancel_url' => 'fossbilling.test',
+ 'redirect_url' => 'fossbilling.test',
'ik_co_id' => '64C18529-4B94-0B5D-7405-F2752F2B716C',
'ik_secret_key' => 'RhAAaJ2AwydMbKzN',
diff --git a/tests/bb-modules/Activity/Controller/AdminTest.php b/tests/bb-modules/Activity/Controller/AdminTest.php
index e6358ba6e..33de64d7e 100644
--- a/tests/bb-modules/Activity/Controller/AdminTest.php
+++ b/tests/bb-modules/Activity/Controller/AdminTest.php
@@ -27,7 +27,7 @@ class AdminTest extends \BBTestCase {
$urlMock = $this->getMockBuilder('Box_Url')->getMock();
$urlMock->expects($this->atLeastOnce())
->method('adminLink')
- ->willReturn('http://boxbilling.org/index.php?_url=/' . $link);
+ ->willReturn('https://fossbilling.org/index.php?_url=/' . $link);
$di['url'] = $urlMock;
$controllerAdmin = new \Box\Mod\Activity\Controller\Admin();
diff --git a/tests/bb-modules/Client/ServiceTest.php b/tests/bb-modules/Client/ServiceTest.php
index 3b529e08f..2347b70ea 100644
--- a/tests/bb-modules/Client/ServiceTest.php
+++ b/tests/bb-modules/Client/ServiceTest.php
@@ -66,7 +66,7 @@ class ServiceTest extends \BBTestCase {
$toolsMock = $this->getMockBuilder('\Box_Tools')->getMock();
$toolsMock->expects($this->atLeastOnce())->method('url')
- ->will($this->returnValue('boxbilling.org/index.php/client/confirm-email/'));
+ ->will($this->returnValue('fossbilling.org/index.php/client/confirm-email/'));
$di = new \Box_Di();
$di['db'] = $database;
@@ -1016,7 +1016,7 @@ class ServiceTest extends \BBTestCase {
public function testauthorizeClient_DidntFoundEmail()
{
- $email = 'example@boxbilling.vm';
+ $email = 'example@fossbilling.vm';
$password = '123456';
$dbMock = $this->getMockBuilder('\Box_Database')->getMock();
@@ -1037,7 +1037,7 @@ class ServiceTest extends \BBTestCase {
public function testauthorizeClient()
{
- $email = 'example@boxbilling.vm';
+ $email = 'example@fossbilling.vm';
$password = '123456';
$clientModel = new \Model_Client();
@@ -1070,7 +1070,7 @@ class ServiceTest extends \BBTestCase {
public function testauthorizeClientEmailRequiredNotConfirmed()
{
- $email = 'example@boxbilling.vm';
+ $email = 'example@fossbilling.vm';
$password = '123456';
$clientModel = new \Model_Client();
@@ -1108,7 +1108,7 @@ class ServiceTest extends \BBTestCase {
public function testauthorizeClientEmailRequiredConfirmed()
{
- $email = 'example@boxbilling.vm';
+ $email = 'example@fossbilling.vm';
$password = '123456';
$clientModel = new \Model_Client();
diff --git a/tests/bb-modules/Email/ServiceTest.php b/tests/bb-modules/Email/ServiceTest.php
index 04ceb63cb..25bf73d21 100644
--- a/tests/bb-modules/Email/ServiceTest.php
+++ b/tests/bb-modules/Email/ServiceTest.php
@@ -464,7 +464,7 @@ class ServiceTest extends \BBTestCase
'list' => array(
0 => array(
'id' => 1,
- 'email' => 'staff@boxbilling.org',
+ 'email' => 'staff@fossbilling.org',
'name' => 'George'
)
)
@@ -480,7 +480,7 @@ class ServiceTest extends \BBTestCase
->will($this->returnValue($clientModel));
$clientApiArray = array(
'id' => 1,
- 'email' => 'staff@boxbilling.org',
+ 'email' => 'staff@fossbilling.org',
'first_name' => 'John',
'last_name' => 'Smith'
);
diff --git a/tests/bb-modules/Example/Controller/AdminTest.php b/tests/bb-modules/Example/Controller/AdminTest.php
index 65d67cb8c..ec68d50de 100644
--- a/tests/bb-modules/Example/Controller/AdminTest.php
+++ b/tests/bb-modules/Example/Controller/AdminTest.php
@@ -26,7 +26,7 @@ class AdminTest extends \BBTestCase {
$urlMock = $this->getMockBuilder('Box_Url')->getMock();
$urlMock->expects($this->atLeastOnce())
->method('adminLink')
- ->willReturn('http://boxbilling.org/index.php?_url=/' . $link);
+ ->willReturn('http://fossbilling.org/index.php?_url=/' . $link);
$di['url'] = $urlMock;
$controller = new \Box\Mod\Example\Controller\Admin();
diff --git a/tests/bb-modules/Extension/ServiceTest.php b/tests/bb-modules/Extension/ServiceTest.php
index bff2e56b2..137724210 100644
--- a/tests/bb-modules/Extension/ServiceTest.php
+++ b/tests/bb-modules/Extension/ServiceTest.php
@@ -274,7 +274,7 @@ class ServiceTest extends \BBTestCase {
$urlMock = $this->getMockBuilder('Box_Url')->getMock();
$urlMock->expects($this->atLeastOnce())
->method('adminLink')
- ->willReturn('http://boxbilling.org/index.php?_url=/' . $link);
+ ->willReturn('http://fossbilling.org/index.php?_url=/' . $link);
$di['url'] = $urlMock;
$di = new \Box_Di();
diff --git a/tests/bb-modules/Invoice/ServicePayGatewayTest.php b/tests/bb-modules/Invoice/ServicePayGatewayTest.php
index 11faf2262..2159a171a 100644
--- a/tests/bb-modules/Invoice/ServicePayGatewayTest.php
+++ b/tests/bb-modules/Invoice/ServicePayGatewayTest.php
@@ -167,7 +167,7 @@ class ServicePayGatewayTest extends \BBTestCase {
$serviceMock->expects($this->atLeastOnce())
->method('getDescription');
- $url = 'http://boxbilling.vm/';
+ $url = 'http://fossbilling.vm/';
$expected = array(
'id' => null,
'code' => null,
@@ -331,7 +331,7 @@ class ServicePayGatewayTest extends \BBTestCase {
->method('link');
$di = new \Box_Di();
- $di['config'] = array('url' => 'http://boxbilling.vm/', 'debug' => true);
+ $di['config'] = array('url' => 'http://fossbilling.vm/', 'debug' => true);
$di['tools'] = $toolsMock;
$di['url'] = $urlMock;
$serviceMock->setDi($di);
@@ -367,7 +367,7 @@ class ServicePayGatewayTest extends \BBTestCase {
->method('link');
$di = new \Box_Di();
- $di['config'] = array('url' => 'http://boxbilling.vm/', 'debug' => true);
+ $di['config'] = array('url' => 'http://fossbilling.vm/', 'debug' => true);
$di['tools'] = $toolsMock;
$di['url'] = $urlMock;
$serviceMock->setDi($di);
diff --git a/tests/bb-modules/Servicelicense/Api/GuestTest.php b/tests/bb-modules/Servicelicense/Api/GuestTest.php
index 98444c9d1..d1c720833 100644
--- a/tests/bb-modules/Servicelicense/Api/GuestTest.php
+++ b/tests/bb-modules/Servicelicense/Api/GuestTest.php
@@ -27,12 +27,12 @@ class GuestTest extends \BBTestCase {
{
$data = array(
'license' => 'license1234',
- 'host' => 'boxbilling.org',
+ 'host' => 'fossbilling.org',
'version' => 1,
);
$licenseResult = array(
- 'licensed_to' => 'boxbilling.org',
+ 'licensed_to' => 'fossbilling.org',
'created_at' => '2011-12-31',
'expires_at' => '2020-01+01',
'valid' => true,
diff --git a/tests/bb-modules/Servicelicense/ServiceTest.php b/tests/bb-modules/Servicelicense/ServiceTest.php
index e346eccd6..f6fd75c49 100644
--- a/tests/bb-modules/Servicelicense/ServiceTest.php
+++ b/tests/bb-modules/Servicelicense/ServiceTest.php
@@ -515,7 +515,7 @@ class ServiceTest extends \BBTestCase
{
$serviceLicenseModel = new \Model_ServiceLicense();
$serviceLicenseModel->loadBean(new \RedBeanPHP\OODBBean());
- $serviceLicenseModel->hosts = '["boxbilling.org"]';
+ $serviceLicenseModel->hosts = '["fossbilling.org"]';
$value = 'site.com';
$dbMock = $this->getMockBuilder('\Box_Database')->getMock();
@@ -535,7 +535,7 @@ class ServiceTest extends \BBTestCase
{
$serviceLicenseModel = new \Model_ServiceLicense();
$serviceLicenseModel->loadBean(new \RedBeanPHP\OODBBean());
- $serviceLicenseModel->hosts = '["boxbilling.org"]';
+ $serviceLicenseModel->hosts = '["fossbilling.org"]';
$serviceLicenseModel->validate_host = 'example.com';
$value = 'site.com';
@@ -634,7 +634,7 @@ class ServiceTest extends \BBTestCase
$data = array(
'license_key' => '123456Licence',
'validate_ip' => '1.1.1.1',
- 'validate_host' => 'boxbilling.org',
+ 'validate_host' => 'fossbilling.org',
'validate_version' => '1.0',
'validate_path' => '/usr',
'ips' => '2.2.2.2\n',
diff --git a/tests/bb-modules/Staff/Api/GuestTest.php b/tests/bb-modules/Staff/Api/GuestTest.php
index c96d43b04..4c9e298a4 100644
--- a/tests/bb-modules/Staff/Api/GuestTest.php
+++ b/tests/bb-modules/Staff/Api/GuestTest.php
@@ -54,7 +54,7 @@ class GuestTest extends \BBTestCase
$apiMock->setService($serviceMock);
$data = array(
- 'email' => 'example@boxbilling.org',
+ 'email' => 'example@fossbilling.org',
'password' => 'EasyToGuess',
);
$result = $apiMock->create($data);
@@ -74,7 +74,7 @@ class GuestTest extends \BBTestCase
$this->api->setDi($di);
$data = array(
- 'email' => 'example@boxbilling.org',
+ 'email' => 'example@fossbilling.org',
'password' => 'EasyToGuess',
);
diff --git a/tests/bb-modules/Staff/ServiceTest.php b/tests/bb-modules/Staff/ServiceTest.php
index 0c5a0f3c7..75f03707f 100644
--- a/tests/bb-modules/Staff/ServiceTest.php
+++ b/tests/bb-modules/Staff/ServiceTest.php
@@ -1585,7 +1585,7 @@ class ServiceTest extends \BBTestCase
public function testauthorizeAdmin_DidntFoundEmail()
{
- $email = 'example@boxbilling.vm';
+ $email = 'example@fossbilling.vm';
$password = '123456';
$dbMock = $this->getMockBuilder('\Box_Database')->getMock();
@@ -1606,7 +1606,7 @@ class ServiceTest extends \BBTestCase
public function testauthorizeAdmin()
{
- $email = 'example@boxbilling.vm';
+ $email = 'example@fossbilling.vm';
$password = '123456';
$model = new \Model_Admin();
diff --git a/tests/bb-modules/Theme/ServiceTest.php b/tests/bb-modules/Theme/ServiceTest.php
index 51573d996..0fc8ebe26 100644
--- a/tests/bb-modules/Theme/ServiceTest.php
+++ b/tests/bb-modules/Theme/ServiceTest.php
@@ -369,7 +369,7 @@ class ServiceTest extends \BBTestCase {
public function testgetCurrentAdminAreaTheme()
{
$configMock = array(
- 'url' => 'boxbilling.org/'
+ 'url' => 'fossbilling.org/'
);
$dbMock = $this->getMockBuilder('\Box_Database')->getMock();
$dbMock->expects($this->atLeastOnce())
@@ -418,7 +418,7 @@ class ServiceTest extends \BBTestCase {
$result = $this->service->getCurrentClientAreaThemeCode();
$this->assertIsString($result);
- $this->assertEquals('boxbilling', $result);
+ $this->assertEquals('huraga', $result);
}
public function testuploadAssets()
diff --git a/tests/fixtures/admins.xml b/tests/fixtures/admins.xml
index 86a161245..caf6cc5d2 100644
--- a/tests/fixtures/admins.xml
+++ b/tests/fixtures/admins.xml
@@ -5,6 +5,6 @@
-
+
\ No newline at end of file
diff --git a/tests/fixtures/emails.xml b/tests/fixtures/emails.xml
index 62743a0a7..1297fbbb8 100644
--- a/tests/fixtures/emails.xml
+++ b/tests/fixtures/emails.xml
@@ -5,6 +5,6 @@
-
+
\ No newline at end of file
diff --git a/tests/fixtures/extensions.xml b/tests/fixtures/extensions.xml
index 333bb4de4..8b9fe9ed4 100644
--- a/tests/fixtures/extensions.xml
+++ b/tests/fixtures/extensions.xml
@@ -1,8 +1,8 @@
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/fixtures/initial.xml b/tests/fixtures/initial.xml
index 8e88b9c32..19cf61745 100644
--- a/tests/fixtures/initial.xml
+++ b/tests/fixtures/initial.xml
@@ -31,6 +31,6 @@
-
+
\ No newline at end of file
diff --git a/tests/fixtures/mod_cart.xml b/tests/fixtures/mod_cart.xml
index 6df43faf5..0f63a6143 100644
--- a/tests/fixtures/mod_cart.xml
+++ b/tests/fixtures/mod_cart.xml
@@ -91,10 +91,10 @@
-
-
+
+
-
+
\ No newline at end of file
diff --git a/tests/fixtures/mod_example.xml b/tests/fixtures/mod_example.xml
index 72b1b9ba3..782495a48 100644
--- a/tests/fixtures/mod_example.xml
+++ b/tests/fixtures/mod_example.xml
@@ -8,7 +8,7 @@
-
+
\ No newline at end of file
diff --git a/tests/fixtures/mod_invoice.xml b/tests/fixtures/mod_invoice.xml
index 428a5a8b1..4d8513eb9 100644
--- a/tests/fixtures/mod_invoice.xml
+++ b/tests/fixtures/mod_invoice.xml
@@ -14,10 +14,10 @@
-
+
-
+
\ No newline at end of file
diff --git a/tests/fixtures/mod_support.xml b/tests/fixtures/mod_support.xml
index 725a8f6e8..db5002216 100644
--- a/tests/fixtures/mod_support.xml
+++ b/tests/fixtures/mod_support.xml
@@ -1,12 +1,12 @@
-
+
-
+
\ No newline at end of file
diff --git a/tests/fixtures/orders.xml b/tests/fixtures/orders.xml
index 37807d61c..fcb880e70 100644
--- a/tests/fixtures/orders.xml
+++ b/tests/fixtures/orders.xml
@@ -81,11 +81,11 @@
-
+
-
-
+
+
\ No newline at end of file
diff --git a/tests/fixtures/serviceboxbillinglicense.xml b/tests/fixtures/serviceboxbillinglicense.xml
index 4ac2299cf..6d8d09770 100644
--- a/tests/fixtures/serviceboxbillinglicense.xml
+++ b/tests/fixtures/serviceboxbillinglicense.xml
@@ -10,6 +10,6 @@
-
+
\ No newline at end of file
diff --git a/tests/fixtures/services.xml b/tests/fixtures/services.xml
index 8370eff9e..be3d2e411 100644
--- a/tests/fixtures/services.xml
+++ b/tests/fixtures/services.xml
@@ -39,12 +39,12 @@
-
-
-
-
+
+
+
+
-
+
\ No newline at end of file
diff --git a/tests/fixtures/transactions.xml b/tests/fixtures/transactions.xml
index 30ca2f955..8f70f10ca 100644
--- a/tests/fixtures/transactions.xml
+++ b/tests/fixtures/transactions.xml
@@ -37,7 +37,7 @@
-
+
diff --git a/tests/integration/bb-library/Payment/Adapter/PayPalEmailTest.php b/tests/integration/bb-library/Payment/Adapter/PayPalEmailTest.php
index e94055ad1..b3a1b2604 100644
--- a/tests/integration/bb-library/Payment/Adapter/PayPalEmailTest.php
+++ b/tests/integration/bb-library/Payment/Adapter/PayPalEmailTest.php
@@ -21,13 +21,13 @@ class Payment_Adapter_PayPalEmailTest extends BBDbApiTestCase
$adapter->getHtml($this->api_admin, 1, false);
$adapter->getHtml($this->api_admin, 2, true);
- $subscr_payment = json_decode('{"get":{"bb_gateway_id":"1","bb_invoice_id":"1"},"post":{"transaction_subject":"Subscription for FOSSBilling Pro License","payment_date":"11:24:34 Mar 08, 2012 PST","txn_type":"subscr_payment","subscr_id":"S-9X268688JL8514304","last_name":"Doe","residence_country":"GB","item_name":"Subscription for FOSSBilling Pro License","payment_gross":"5.95","mc_currency":"USD","business":"clients@boxbilling.org","payment_type":"instant","protection_eligibility":"Ineligible","verify_sign":"A2QxLKJxNBOK3utJMiCwOkOiLG3tAo4.KtJCsCemU7s98tgtW37-hOOx","payer_status":"verified","payer_email":"john.doe@gmail.com","txn_id":"6SR32195AP993094V","receiver_email":"clients@boxbilling.org","first_name":"John","payer_id":"9W3LMGTFS5RTY","receiver_id":"79PMKLAHPL5YH","item_number":"BOX05697","payment_status":"Completed","payment_fee":"0.47","mc_fee":"0.47","mc_gross":"5.95","charset":"windows-1252","notify_version":"3.4","ipn_track_id":"54b4dbrfvg396"},"http_raw_post_data":"transaction_subject=Subscription+for+FOSSBilling+Pro+License&payment_date=11%3A24%3A34+Mar+08%2C+2012+PST&txn_type=subscr_payment&subscr_id=S-9X268688JL8514304&last_name=Doe&residence_country=GB&item_name=Subscription+for+FOSSBilling+Pro+License&payment_gross=5.95&mc_currency=USD&business=clients%40boxbilling.org&payment_type=instant&protection_eligibility=Ineligible&verify_sign=A2QxLKJxNBOK3utOLuCwOkOiLG3tAo4.KtJCsCemU7db97vtW37-hOOx&payer_status=verified&payer_email=mitcheyDoe%40gmail.com&txn_id=6SR99524AP993094V&receiver_email=clients%40boxbilling.org&first_name=John&payer_id=9W3MDRHPS5RTY&receiver_id=79PMKLAHYN3HN&item_number=BOX05697&payment_status=Completed&payment_fee=0.47&mc_fee=0.47&mc_gross=5.95&charset=windows-1252¬ify_version=3.4&ipn_track_id=54b4dbfade396"}', 1);
+ $subscr_payment = json_decode('{"get":{"bb_gateway_id":"1","bb_invoice_id":"1"},"post":{"transaction_subject":"Subscription for FOSSBilling Pro License","payment_date":"11:24:34 Mar 08, 2012 PST","txn_type":"subscr_payment","subscr_id":"S-9X268688JL8514304","last_name":"Doe","residence_country":"GB","item_name":"Subscription for FOSSBilling Pro License","payment_gross":"5.95","mc_currency":"USD","business":"clients@fossbilling.org","payment_type":"instant","protection_eligibility":"Ineligible","verify_sign":"A2QxLKJxNBOK3utJMiCwOkOiLG3tAo4.KtJCsCemU7s98tgtW37-hOOx","payer_status":"verified","payer_email":"john.doe@gmail.com","txn_id":"6SR32195AP993094V","receiver_email":"clients@fossbilling.org","first_name":"John","payer_id":"9W3LMGTFS5RTY","receiver_id":"79PMKLAHPL5YH","item_number":"BOX05697","payment_status":"Completed","payment_fee":"0.47","mc_fee":"0.47","mc_gross":"5.95","charset":"windows-1252","notify_version":"3.4","ipn_track_id":"54b4dbrfvg396"},"http_raw_post_data":"transaction_subject=Subscription+for+FOSSBilling+Pro+License&payment_date=11%3A24%3A34+Mar+08%2C+2012+PST&txn_type=subscr_payment&subscr_id=S-9X268688JL8514304&last_name=Doe&residence_country=GB&item_name=Subscription+for+FOSSBilling+Pro+License&payment_gross=5.95&mc_currency=USD&business=clients%40fossbilling.org&payment_type=instant&protection_eligibility=Ineligible&verify_sign=A2QxLKJxNBOK3utOLuCwOkOiLG3tAo4.KtJCsCemU7db97vtW37-hOOx&payer_status=verified&payer_email=mitcheyDoe%40gmail.com&txn_id=6SR99524AP993094V&receiver_email=clients%40fossbilling.org&first_name=John&payer_id=9W3MDRHPS5RTY&receiver_id=79PMKLAHYN3HN&item_number=BOX05697&payment_status=Completed&payment_fee=0.47&mc_fee=0.47&mc_gross=5.95&charset=windows-1252¬ify_version=3.4&ipn_track_id=54b4dbfade396"}', 1);
$adapter->processTransaction($this->api_admin, 1, $subscr_payment, 1);
- $web_accept = json_decode('{"get":{"bb_gateway_id":"1","bb_invoice_id":"1"},"post":{"transaction_subject":"Payment for invoice BOX05623","payment_date":"08:26:14 Mar 01, 2012 PST","txn_type":"web_accept","last_name":"Doe","residence_country":"US","item_name":"Payment for invoice BOX05623","payment_gross":"5.95","mc_currency":"USD","business":"sales@boxbilling.org","payment_type":"instant","protection_eligibility":"Ineligible","verify_sign":"A.DRDmKsJOHhCaHehJk34EQqLY1rAuZ0ksJDt.45zrn5eO7JxP0.4QP.","payer_status":"verified","tax":"0.00","payer_email":"john.doe@gmail.com","txn_id":"8X786252873429051","quantity":"1","receiver_email":"clients@boxbilling.org","first_name":"John","payer_id":"29NE5SEU5VR2E","receiver_id":"79PMKLAHPL5YH","item_number":"BOX05623","handling_amount":"0.00","payment_status":"Completed","payment_fee":"0.44","mc_fee":"0.44","shipping":"0.00","mc_gross":"5.95","custom":"","charset":"windows-1252","notify_version":"3.4","ipn_track_id":"6fd845df6f247"},"http_raw_post_data":"transaction_subject=Payment+for+invoice+BOX05623&payment_date=08%3A26%3A14+Mar+01%2C+2012+PST&txn_type=web_accept&last_name=Doe&residence_country=LT&item_name=Payment+for+invoice+BOX05623&payment_gross=5.95&mc_currency=USD&business=sales%40boxbilling.org&payment_type=instant&protection_eligibility=Ineligible&verify_sign=A.DRDmKsJOHhCaHehJr9EQqLY1rAuZ0ksJDt.45zrn5eO7JxP0.4QP.&payer_status=verified&tax=0.00&payer_email=fordnox%40gmail.com&txn_id=8X786252873429051&quantity=1&receiver_email=clients%40boxbilling.org&first_name=John&payer_id=29NE5SEU5VR2E&receiver_id=79PMKLAHYN3HN&item_number=BOX05623&handling_amount=0.00&payment_status=Completed&payment_fee=0.44&mc_fee=0.44&shipping=0.00&mc_gross=5.95&custom=&charset=windows-1252¬ify_version=3.4&ipn_track_id=6fd802df6f247"}', 1);
+ $web_accept = json_decode('{"get":{"bb_gateway_id":"1","bb_invoice_id":"1"},"post":{"transaction_subject":"Payment for invoice BOX05623","payment_date":"08:26:14 Mar 01, 2012 PST","txn_type":"web_accept","last_name":"Doe","residence_country":"US","item_name":"Payment for invoice BOX05623","payment_gross":"5.95","mc_currency":"USD","business":"sales@fossbilling.org","payment_type":"instant","protection_eligibility":"Ineligible","verify_sign":"A.DRDmKsJOHhCaHehJk34EQqLY1rAuZ0ksJDt.45zrn5eO7JxP0.4QP.","payer_status":"verified","tax":"0.00","payer_email":"john.doe@gmail.com","txn_id":"8X786252873429051","quantity":"1","receiver_email":"clients@fossbilling.org","first_name":"John","payer_id":"29NE5SEU5VR2E","receiver_id":"79PMKLAHPL5YH","item_number":"BOX05623","handling_amount":"0.00","payment_status":"Completed","payment_fee":"0.44","mc_fee":"0.44","shipping":"0.00","mc_gross":"5.95","custom":"","charset":"windows-1252","notify_version":"3.4","ipn_track_id":"6fd845df6f247"},"http_raw_post_data":"transaction_subject=Payment+for+invoice+BOX05623&payment_date=08%3A26%3A14+Mar+01%2C+2012+PST&txn_type=web_accept&last_name=Doe&residence_country=LT&item_name=Payment+for+invoice+BOX05623&payment_gross=5.95&mc_currency=USD&business=sales%40fossbilling.org&payment_type=instant&protection_eligibility=Ineligible&verify_sign=A.DRDmKsJOHhCaHehJr9EQqLY1rAuZ0ksJDt.45zrn5eO7JxP0.4QP.&payer_status=verified&tax=0.00&payer_email=fordnox%40gmail.com&txn_id=8X786252873429051&quantity=1&receiver_email=clients%40fossbilling.org&first_name=John&payer_id=29NE5SEU5VR2E&receiver_id=79PMKLAHYN3HN&item_number=BOX05623&handling_amount=0.00&payment_status=Completed&payment_fee=0.44&mc_fee=0.44&shipping=0.00&mc_gross=5.95&custom=&charset=windows-1252¬ify_version=3.4&ipn_track_id=6fd802df6f247"}', 1);
$adapter->processTransaction($this->api_admin, 1, $web_accept, 1);
- $refund_ipn = json_decode('{"get":{"bb_gateway_id":"1","bb_invoice_id":"1"},"post":{"transaction_subject":"Subscription for FOSSBilling Pro License","payment_date":"17:42:05 Mar 13, 2012 PDT", "txn_type":"subscr_payment","subscr_id":"S-9X268688JL8514304","last_name":"Doe","residence_country":"GB","item_name":"Subscription for FOSSBilling Pro License","payment_gross":"-5.95","mc_currency":"USD","business":"clients@boxbilling.org","payment_type":"instant","protection_eligibility":"Ineligible","verify_sign":"ArFZ5DF1pEd4euI2jpvbEwe5Q4BiAB46zG6F4TMlFNMtpDC7L5z6VPsB","payer_email":"mitcheyDoe@gmail.com","txn_id":"33R88456DU653693H","receiver_email":"clients@boxbilling.org","first_name":"John","parent_txn_id":"6SR99524AP993094V","payer_id":"9W3LMGTFS5RTY","receiver_id":"79PMKLAHPL5YH","reason_code":"refund","item_number":"BOX05697","payment_status":"Refunded","payment_fee":"-0.17","mc_fee":"-0.17","mc_gross":"-5.95","charset":"windows-1252","notify_version":"3.4","ipn_track_id":"71f325984a82e"},"http_raw_post_data":"transaction_subject=Subscription+for+FOSSBilling+Pro+License&payment_date=17%3A42%3A05+Mar+13%2C+2012+PDT&subscr_id=S-9X268688JL8514304&last_name=Doe&residence_country=GB&item_name=Subscription+for+FOSSBilling+Pro+License&payment_gross=-5.95&mc_currency=USD&business=clients%40boxbilling.org&payment_type=instant&protection_eligibility=Ineligible&verify_sign=ArFZ5DF1pEd6dfI2jpvbEwe5Q4BiAB46zG6F4TMlFNMtpDC7L5z6VPsB&payer_email=mitcheyDoe%40gmail.com&txn_id=33R88456DU653693H&receiver_email=clients%40boxbilling.org&first_name=John&parent_txn_id=6SR99524AP993094V&payer_id=9W3MDRHPS5RTY&receiver_id=79PMKLAHYN3HN&reason_code=refund&item_number=BOX05697&payment_status=Refunded&payment_fee=-0.17&mc_fee=-0.17&mc_gross=-5.95&charset=windows-1252¬ify_version=3.4&ipn_track_id=71f784354a82e"}', 1);
+ $refund_ipn = json_decode('{"get":{"bb_gateway_id":"1","bb_invoice_id":"1"},"post":{"transaction_subject":"Subscription for FOSSBilling Pro License","payment_date":"17:42:05 Mar 13, 2012 PDT", "txn_type":"subscr_payment","subscr_id":"S-9X268688JL8514304","last_name":"Doe","residence_country":"GB","item_name":"Subscription for FOSSBilling Pro License","payment_gross":"-5.95","mc_currency":"USD","business":"clients@fossbilling.org","payment_type":"instant","protection_eligibility":"Ineligible","verify_sign":"ArFZ5DF1pEd4euI2jpvbEwe5Q4BiAB46zG6F4TMlFNMtpDC7L5z6VPsB","payer_email":"mitcheyDoe@gmail.com","txn_id":"33R88456DU653693H","receiver_email":"clients@fossbilling.org","first_name":"John","parent_txn_id":"6SR99524AP993094V","payer_id":"9W3LMGTFS5RTY","receiver_id":"79PMKLAHPL5YH","reason_code":"refund","item_number":"BOX05697","payment_status":"Refunded","payment_fee":"-0.17","mc_fee":"-0.17","mc_gross":"-5.95","charset":"windows-1252","notify_version":"3.4","ipn_track_id":"71f325984a82e"},"http_raw_post_data":"transaction_subject=Subscription+for+FOSSBilling+Pro+License&payment_date=17%3A42%3A05+Mar+13%2C+2012+PDT&subscr_id=S-9X268688JL8514304&last_name=Doe&residence_country=GB&item_name=Subscription+for+FOSSBilling+Pro+License&payment_gross=-5.95&mc_currency=USD&business=clients%40fossbilling.org&payment_type=instant&protection_eligibility=Ineligible&verify_sign=ArFZ5DF1pEd6dfI2jpvbEwe5Q4BiAB46zG6F4TMlFNMtpDC7L5z6VPsB&payer_email=mitcheyDoe%40gmail.com&txn_id=33R88456DU653693H&receiver_email=clients%40fossbilling.org&first_name=John&parent_txn_id=6SR99524AP993094V&payer_id=9W3MDRHPS5RTY&receiver_id=79PMKLAHYN3HN&reason_code=refund&item_number=BOX05697&payment_status=Refunded&payment_fee=-0.17&mc_fee=-0.17&mc_gross=-5.95&charset=windows-1252¬ify_version=3.4&ipn_track_id=71f784354a82e"}', 1);
$adapter->processTransaction($this->api_admin, 1, $refund_ipn, 1);
}
diff --git a/tests/integration/bb-modules/mod_client/Api_ClientTest.php b/tests/integration/bb-modules/mod_client/Api_ClientTest.php
index 0817b2451..e382fc70a 100644
--- a/tests/integration/bb-modules/mod_client/Api_ClientTest.php
+++ b/tests/integration/bb-modules/mod_client/Api_ClientTest.php
@@ -13,7 +13,7 @@ class Api_ClientTest extends BBDbApiTestCase
$this->assertIsArray($array);
$data = array(
- 'email' => 'newEmail@boxbilling.org',
+ 'email' => 'newEmail@fossbilling.org',
'first_name' => 'John',
'last_name' => 'Doe',
'gender' => 'male',
diff --git a/tests/integration/bb-modules/mod_profile/Api_AdminTest.php b/tests/integration/bb-modules/mod_profile/Api_AdminTest.php
index cad5c41ee..f722d3cd1 100644
--- a/tests/integration/bb-modules/mod_profile/Api_AdminTest.php
+++ b/tests/integration/bb-modules/mod_profile/Api_AdminTest.php
@@ -15,7 +15,7 @@ class Api_Admin_ProfileTest extends BBDbApiTestCase
$this->assertTrue($bool);
$data = array(
- 'email' => 'demo@boxbilling.org',
+ 'email' => 'demo@fossbilling.org',
'name' => 'Demo Admin',
'signature' => 'New Signature',
);