From 4e8d83eafb060639cb415ac1bda0dbdc36aab31e Mon Sep 17 00:00:00 2001 From: Anyx Date: Fri, 30 Sep 2022 06:09:02 +0300 Subject: [PATCH] Default to Huraga Green & update naming/URL (#295) * Default to Huraga Green & update naming/URL * Apply the code from the Orderbutton module that defaults to Huraga Green to all templates that request Huraga's color scheme. Replace incorrect setting. * Replace some old references to BoxBilling and boxbilling.org with the FOSSBilling ones. Update LICENSE URLs. * Fix broken test Co-authored-by: Benjamin Aerni --- src/bb-library/Registrar/Adapter/srsx.php | 6 +++--- src/bb-modules/Branding/manifest.json | 2 +- src/bb-modules/Forum/manifest.json | 2 +- src/bb-modules/Kb/manifest.json | 2 +- src/bb-modules/News/manifest.json | 2 +- .../Order/html_client/mod_order_index.html.twig | 2 +- .../Order/html_client/mod_order_product.html.twig | 2 +- .../html_client/mod_orderbutton_index.html.twig | 4 ++-- .../html_client/mod_orderbutton_js.html.twig | 4 ++-- .../html_client/mod_page_preview_markdown.html.twig | 8 +++++++- src/bb-modules/Queue/manifest.json | 2 +- src/bb-modules/Seo/manifest.json | 2 +- src/bb-modules/Servicemembership/manifest.json | 2 +- src/bb-modules/Servicesolusvm/manifest.json | 2 +- src/bb-modules/Theme/Service.php | 2 +- src/bb-modules/Wysiwyg/Api/Admin.php | 8 +++++--- src/bb-themes/admin_default/manifest.json | 2 +- src/bb-themes/huraga/html/layout_default.html.twig | 8 +++++++- src/bb-themes/huraga/html/layout_public.html.twig | 8 +++++++- src/install/sql/content.sql | 12 ++++++------ src/install/sql/content_test.sql | 12 ++++++------ tests/bb-library/Box/Box_MailTest.php | 6 +++--- tests/bb-library/Box/Box_RequestTest.php | 2 +- .../Adapter/Payment_Adapter_InterkassaTest.php | 10 +++++----- tests/bb-modules/Activity/Controller/AdminTest.php | 2 +- tests/bb-modules/Client/ServiceTest.php | 10 +++++----- tests/bb-modules/Email/ServiceTest.php | 4 ++-- tests/bb-modules/Example/Controller/AdminTest.php | 2 +- tests/bb-modules/Extension/ServiceTest.php | 2 +- tests/bb-modules/Invoice/ServicePayGatewayTest.php | 6 +++--- tests/bb-modules/Servicelicense/Api/GuestTest.php | 4 ++-- tests/bb-modules/Servicelicense/ServiceTest.php | 6 +++--- tests/bb-modules/Staff/Api/GuestTest.php | 4 ++-- tests/bb-modules/Staff/ServiceTest.php | 4 ++-- tests/bb-modules/Theme/ServiceTest.php | 4 ++-- tests/fixtures/admins.xml | 2 +- tests/fixtures/emails.xml | 2 +- tests/fixtures/extensions.xml | 10 +++++----- tests/fixtures/initial.xml | 2 +- tests/fixtures/mod_cart.xml | 6 +++--- tests/fixtures/mod_example.xml | 2 +- tests/fixtures/mod_invoice.xml | 4 ++-- tests/fixtures/mod_support.xml | 4 ++-- tests/fixtures/orders.xml | 6 +++--- tests/fixtures/serviceboxbillinglicense.xml | 2 +- tests/fixtures/services.xml | 10 +++++----- tests/fixtures/transactions.xml | 2 +- .../bb-library/Payment/Adapter/PayPalEmailTest.php | 6 +++--- .../bb-modules/mod_client/Api_ClientTest.php | 2 +- .../bb-modules/mod_profile/Api_AdminTest.php | 2 +- 50 files changed, 121 insertions(+), 101 deletions(-) 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 @@
-