diff --git a/README.md b/README.md index 4f55f556b..73fec5abe 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,9 @@ Don't hesitate to create an [issue](https://github.com/FOSSBilling/FOSSBilling/i FOSSBilling is open source software and is released under the Apache v2.0 license. See [LICENSE](https://github.com/FOSSBilling/FOSSBilling/blob/master/LICENSE) for the full license terms. -This product includes GeoLite2 data created by MaxMind, available from [https://www.maxmind.com](https://www.maxmind.com). +This product includes the following third party work: +- GeoLite2 data created by MaxMind, available from [https://www.maxmind.com](https://www.maxmind.com). +- Open Source Iconography by [Pictogrammers](https://pictogrammers.com/) licensed under the [Pictogrammers Free License](https://pictogrammers.com/docs/general/license/). ## Links diff --git a/src/modules/Activity/manifest.json b/src/modules/Activity/manifest.json index bdd806931..636f8cd5a 100644 --- a/src/modules/Activity/manifest.json +++ b/src/modules/Activity/manifest.json @@ -1,7 +1,7 @@ { - "id": "activity", - "type": "mod", - "name": "Activity", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "activity", + "type": "mod", + "name": "Activity", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Api/manifest.json b/src/modules/Api/manifest.json index 75051ca4e..40bbdccac 100644 --- a/src/modules/Api/manifest.json +++ b/src/modules/Api/manifest.json @@ -1,7 +1,7 @@ { - "id": "api", - "type": "mod", - "name": "API", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "api", + "type": "mod", + "name": "API", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Branding/icon.svg b/src/modules/Branding/icon.svg new file mode 100644 index 000000000..5e568549f --- /dev/null +++ b/src/modules/Branding/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Branding/manifest.json b/src/modules/Branding/manifest.json index eede6be57..518f830fc 100644 --- a/src/modules/Branding/manifest.json +++ b/src/modules/Branding/manifest.json @@ -1,11 +1,12 @@ { - "id": "branding", - "type": "mod", - "name": "Branding", - "description": "Show your support by voluntarily displaying references to FOSSBilling.", - "homepage_url": "https://fossbilling.org", - "author": "FOSSBilling", - "author_url": "https://fossbilling.org", - "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", - "version": "0.0.1" + "id": "branding", + "type": "mod", + "name": "Branding", + "description": "Show your support by voluntarily displaying references to FOSSBilling.", + "icon_url": "icon.svg", + "homepage_url": "https://fossbilling.org", + "author": "FOSSBilling", + "author_url": "https://fossbilling.org", + "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", + "version": "0.0.1" } diff --git a/src/modules/Cart/manifest.json b/src/modules/Cart/manifest.json index 80b60a350..138384d87 100644 --- a/src/modules/Cart/manifest.json +++ b/src/modules/Cart/manifest.json @@ -1,7 +1,7 @@ { - "id": "cart", - "type": "mod", - "name": "Shopping cart", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "cart", + "type": "mod", + "name": "Shopping cart", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Client/icon.png b/src/modules/Client/icon.png deleted file mode 100644 index 219d8fa0c..000000000 Binary files a/src/modules/Client/icon.png and /dev/null differ diff --git a/src/modules/Client/icon.svg b/src/modules/Client/icon.svg new file mode 100644 index 000000000..a47fb4f25 --- /dev/null +++ b/src/modules/Client/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Client/manifest.json b/src/modules/Client/manifest.json index e8685432a..3e97a6b45 100644 --- a/src/modules/Client/manifest.json +++ b/src/modules/Client/manifest.json @@ -1,8 +1,8 @@ { - "id": "client", - "type": "mod", - "name": "Client", - "description": "FOSSBilling core module", - "icon_url": "icon.png", - "version": "1.0.0" -} \ No newline at end of file + "id": "client", + "type": "mod", + "name": "Client", + "description": "FOSSBilling core module", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Cookieconsent/icon.svg b/src/modules/Cookieconsent/icon.svg new file mode 100644 index 000000000..373e8b709 --- /dev/null +++ b/src/modules/Cookieconsent/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Cookieconsent/manifest.json b/src/modules/Cookieconsent/manifest.json index e4a162c22..1c0587443 100644 --- a/src/modules/Cookieconsent/manifest.json +++ b/src/modules/Cookieconsent/manifest.json @@ -1,7 +1,8 @@ { - "id": "cookieconsent", - "type": "mod", - "name": "Cookie Consent", - "description": "Show cookie consent message to comply with European Cookie Law", - "version": "1.0.0" -} \ No newline at end of file + "id": "cookieconsent", + "type": "mod", + "name": "Cookie Consent", + "description": "Show cookie consent message to comply with European Cookie Law", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Cron/icon.png b/src/modules/Cron/icon.png deleted file mode 100644 index fd707a8b7..000000000 Binary files a/src/modules/Cron/icon.png and /dev/null differ diff --git a/src/modules/Cron/icon.svg b/src/modules/Cron/icon.svg new file mode 100644 index 000000000..e172a48f7 --- /dev/null +++ b/src/modules/Cron/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Cron/manifest.json b/src/modules/Cron/manifest.json index 835dea491..05533a61a 100644 --- a/src/modules/Cron/manifest.json +++ b/src/modules/Cron/manifest.json @@ -1,8 +1,8 @@ { - "id": "cron", - "type": "mod", - "name": "Scheduled Tasks", - "description": "FOSSBilling core module", - "icon_url": "icon.png", - "version": "1.0.0" -} \ No newline at end of file + "id": "cron", + "type": "mod", + "name": "Scheduled Tasks", + "description": "FOSSBilling core module", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Currency/icon.png b/src/modules/Currency/icon.png deleted file mode 100644 index 8427588db..000000000 Binary files a/src/modules/Currency/icon.png and /dev/null differ diff --git a/src/modules/Currency/icon.svg b/src/modules/Currency/icon.svg new file mode 100644 index 000000000..a723114b7 --- /dev/null +++ b/src/modules/Currency/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Currency/manifest.json b/src/modules/Currency/manifest.json index 81a179a52..c65fe8c52 100644 --- a/src/modules/Currency/manifest.json +++ b/src/modules/Currency/manifest.json @@ -1,8 +1,8 @@ { - "id": "currency", - "type": "mod", - "name": "Currency", - "icon_url": "icon.png", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "currency", + "type": "mod", + "name": "Currency", + "icon_url": "icon.svg", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Custompages/icon.png b/src/modules/Custompages/icon.png deleted file mode 100644 index e0a3493e7..000000000 Binary files a/src/modules/Custompages/icon.png and /dev/null differ diff --git a/src/modules/Custompages/icon.svg b/src/modules/Custompages/icon.svg new file mode 100644 index 000000000..28231e3c9 --- /dev/null +++ b/src/modules/Custompages/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Custompages/manifest.json b/src/modules/Custompages/manifest.json index c6755d7e9..1f9b879da 100644 --- a/src/modules/Custompages/manifest.json +++ b/src/modules/Custompages/manifest.json @@ -1,12 +1,12 @@ { - "id": "custompages", - "type": "mod", - "name": "Custom Pages", - "description": "This module allows you to create custom pages.", - "homepage_url": "https://fossbilling.org/", - "author": "FOSSBilling", - "icon_url": "icon.png", - "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" -} + "id": "custompages", + "type": "mod", + "name": "Custom Pages", + "description": "This module allows you to create custom pages.", + "homepage_url": "https://fossbilling.org/", + "author": "FOSSBilling", + "icon_url": "icon.svg", + "author_url": "https://fossbilling.org/", + "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", + "version": "1.0.0" +} diff --git a/src/modules/Dashboard/icon.svg b/src/modules/Dashboard/icon.svg new file mode 100644 index 000000000..e1151ed09 --- /dev/null +++ b/src/modules/Dashboard/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Dashboard/manifest.json b/src/modules/Dashboard/manifest.json index 4418ef422..c31217a10 100644 --- a/src/modules/Dashboard/manifest.json +++ b/src/modules/Dashboard/manifest.json @@ -1,7 +1,8 @@ { - "id": "dashboard", - "type": "mod", - "name": "Client Dashboard Module", - "description": "Displays a dashboard for clients that are loggedin", - "version": "1.0.0" -} \ No newline at end of file + "id": "dashboard", + "type": "mod", + "name": "Client Dashboard Module", + "description": "Displays a dashboard for clients that are authenticated", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Email/icon.png b/src/modules/Email/icon.png deleted file mode 100644 index bf061311b..000000000 Binary files a/src/modules/Email/icon.png and /dev/null differ diff --git a/src/modules/Email/icon.svg b/src/modules/Email/icon.svg new file mode 100644 index 000000000..7959026f6 --- /dev/null +++ b/src/modules/Email/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Email/manifest.json b/src/modules/Email/manifest.json index c0e1cc1a2..73ddfc52f 100644 --- a/src/modules/Email/manifest.json +++ b/src/modules/Email/manifest.json @@ -1,8 +1,8 @@ { - "id": "email", - "type": "mod", - "name": "Email", - "icon_url": "icon.png", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "email", + "type": "mod", + "name": "Email", + "icon_url": "icon.svg", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Embed/icon.svg b/src/modules/Embed/icon.svg new file mode 100644 index 000000000..0f08f5df6 --- /dev/null +++ b/src/modules/Embed/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Embed/manifest.json b/src/modules/Embed/manifest.json index a804dd81a..5b672ff63 100644 --- a/src/modules/Embed/manifest.json +++ b/src/modules/Embed/manifest.json @@ -1,11 +1,12 @@ { - "id": "embed", - "type": "mod", - "name": "Embed parts", - "description": "Provides ability to embed parts of FOSSBilling to other websites", - "homepage_url": "http://github.com/boxbilling/", - "author": "FOSSBilling", - "author_url": "http://extensions.fossbilling.org/", - "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", - "version": "1.0.1" -} \ No newline at end of file + "id": "embed", + "type": "mod", + "name": "Embed parts", + "description": "Provides ability to embed parts of FOSSBilling to other websites", + "icon_url": "icon.svg", + "homepage_url": "https://github.com/FOSSBilling", + "author": "FOSSBilling", + "author_url": "http://extensions.fossbilling.org/", + "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", + "version": "1.0.1" +} diff --git a/src/modules/Example/icon.png b/src/modules/Example/icon.png deleted file mode 100644 index adb19cc36..000000000 Binary files a/src/modules/Example/icon.png and /dev/null differ diff --git a/src/modules/Example/icon.svg b/src/modules/Example/icon.svg new file mode 100644 index 000000000..f3d530d81 --- /dev/null +++ b/src/modules/Example/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Example/manifest.json b/src/modules/Example/manifest.json index ed4b034bd..744b2203e 100644 --- a/src/modules/Example/manifest.json +++ b/src/modules/Example/manifest.json @@ -1,12 +1,12 @@ { - "id": "example", - "type": "mod", - "name": "Example", - "description": "An example module for developers to get started.", - "icon_url": "icon.png", - "homepage_url": "https://fossbilling.org", - "author": "FOSSBilling", - "author_url": "https://fossbilling.org/", - "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", - "version": "4.22.0" -} \ No newline at end of file + "id": "example", + "type": "mod", + "name": "Example", + "description": "An example module for developers to get started.", + "icon_url": "icon.svg", + "homepage_url": "https://fossbilling.org", + "author": "FOSSBilling", + "author_url": "https://fossbilling.org/", + "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", + "version": "4.22.0" +} diff --git a/src/modules/Extension/html_admin/mod_extension_index.html.twig b/src/modules/Extension/html_admin/mod_extension_index.html.twig index 7ef4a99bc..86d5f387e 100644 --- a/src/modules/Extension/html_admin/mod_extension_index.html.twig +++ b/src/modules/Extension/html_admin/mod_extension_index.html.twig @@ -46,7 +46,14 @@ {% for ext in admin.extension_get_list %} - {{ ext.name }} + {% set icon_filename = ext.icon_url|split('/')|last %} + {% if (icon_filename != 'cog.svg') and (icon_filename|split('.')|last == 'svg') %} +
+ {% include '../../../modules/' ~ ext.id ~ '/' ~ icon_filename %} +
+ {% else %} + {{ ext.name }} + {% endif %} {{ ext.name }} {{ ext.version }}
diff --git a/src/modules/Extension/manifest.json b/src/modules/Extension/manifest.json index 776bd22b3..57eadbc19 100644 --- a/src/modules/Extension/manifest.json +++ b/src/modules/Extension/manifest.json @@ -1,7 +1,7 @@ { - "id": "extension", - "type": "mod", - "name": "Extensions", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "extension", + "type": "mod", + "name": "Extensions", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Formbuilder/icon.svg b/src/modules/Formbuilder/icon.svg new file mode 100644 index 000000000..3cf2538df --- /dev/null +++ b/src/modules/Formbuilder/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Formbuilder/manifest.json b/src/modules/Formbuilder/manifest.json index c142321bd..faa56022d 100644 --- a/src/modules/Formbuilder/manifest.json +++ b/src/modules/Formbuilder/manifest.json @@ -1,7 +1,8 @@ { - "id": "formbuilder", - "type": "mod", - "name": "Form Builder", - "description": "Adds ability to create custom forms to be used anywhere", - "version": "1.0.0" -} \ No newline at end of file + "id": "formbuilder", + "type": "mod", + "name": "Form Builder", + "description": "Adds ability to create custom forms to be used anywhere", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Hook/manifest.json b/src/modules/Hook/manifest.json index 322c9db57..f60e7d01d 100644 --- a/src/modules/Hook/manifest.json +++ b/src/modules/Hook/manifest.json @@ -1,7 +1,7 @@ { - "id": "hook", - "type": "mod", - "name": "Event hooks subsystem", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "hook", + "type": "mod", + "name": "Event hooks subsystem", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Index/manifest.json b/src/modules/Index/manifest.json index 75229bb6c..9c9397b68 100644 --- a/src/modules/Index/manifest.json +++ b/src/modules/Index/manifest.json @@ -1,7 +1,7 @@ { - "id": "index", - "type": "mod", - "name": "Index page module", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "index", + "type": "mod", + "name": "Index page module", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Invoice/icon.png b/src/modules/Invoice/icon.png deleted file mode 100644 index fd049f491..000000000 Binary files a/src/modules/Invoice/icon.png and /dev/null differ diff --git a/src/modules/Invoice/icon.svg b/src/modules/Invoice/icon.svg new file mode 100644 index 000000000..e14c2a0f3 --- /dev/null +++ b/src/modules/Invoice/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Invoice/manifest.json b/src/modules/Invoice/manifest.json index f8ce0b4bc..a9423ecbf 100644 --- a/src/modules/Invoice/manifest.json +++ b/src/modules/Invoice/manifest.json @@ -1,8 +1,8 @@ { - "id": "invoice", - "type": "mod", - "name": "Invoices", - "description": "FOSSBilling core module", - "icon_url": "icon.png", - "version": "1.0.0" -} \ No newline at end of file + "id": "invoice", + "type": "mod", + "name": "Invoices", + "description": "FOSSBilling core module", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Kb/icon.svg b/src/modules/Kb/icon.svg new file mode 100644 index 000000000..6e2a45253 --- /dev/null +++ b/src/modules/Kb/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Kb/manifest.json b/src/modules/Kb/manifest.json index fc70a30c5..7b83e8ad3 100644 --- a/src/modules/Kb/manifest.json +++ b/src/modules/Kb/manifest.json @@ -1,11 +1,12 @@ { - "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.fossbilling.org/", - "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", - "version": "1.0.0" -} \ No newline at end of file + "id": "kb", + "type": "mod", + "name": "Knowledge Base", + "description": "Knowledge base module for FOSSBilling", + "homepage_url": "https://github.com/FOSSBilling", + "icon_url": "icon.svg", + "author": "FOSSBilling", + "author_url": "http://extensions.fossbilling.org/", + "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", + "version": "1.0.0" +} diff --git a/src/modules/Massmailer/icon.svg b/src/modules/Massmailer/icon.svg new file mode 100644 index 000000000..0d4823dc0 --- /dev/null +++ b/src/modules/Massmailer/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Massmailer/manifest.json b/src/modules/Massmailer/manifest.json index 76ff6c797..662a84624 100644 --- a/src/modules/Massmailer/manifest.json +++ b/src/modules/Massmailer/manifest.json @@ -1,8 +1,8 @@ { - "id": "massmailer", - "type": "mod", - "name": "Mass Mail Tool", - "icon_url": "icon.png", - "description": "Send batch email to filtered clients", - "version": "1.0.0" -} \ No newline at end of file + "id": "massmailer", + "type": "mod", + "name": "Mass Mail Tool", + "icon_url": "icon.svg", + "description": "Send batch email to filtered clients", + "version": "1.0.0" +} diff --git a/src/modules/News/icon.svg b/src/modules/News/icon.svg new file mode 100644 index 000000000..0767d3855 --- /dev/null +++ b/src/modules/News/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/News/manifest.json b/src/modules/News/manifest.json index e918e829d..e534c883d 100644 --- a/src/modules/News/manifest.json +++ b/src/modules/News/manifest.json @@ -1,11 +1,12 @@ { - "id": "news", - "type": "mod", - "name": "News", - "description": "News module for FOSSBilling", - "homepage_url": "http://github.com/boxbilling/", - "author": "FOSSBilling", - "author_url": "http://extensions.fossbilling.org/", - "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", - "version": "1.0.0" -} \ No newline at end of file + "id": "news", + "type": "mod", + "name": "News", + "description": "News module for FOSSBilling", + "homepage_url": "https://github.com/FOSSBilling", + "icon_url": "icon.svg", + "author": "FOSSBilling", + "author_url": "http://extensions.fossbilling.org/", + "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", + "version": "1.0.0" +} diff --git a/src/modules/Notification/icon.svg b/src/modules/Notification/icon.svg new file mode 100644 index 000000000..69515ef58 --- /dev/null +++ b/src/modules/Notification/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Notification/manifest.json b/src/modules/Notification/manifest.json index bfaa6c964..3d40123be 100644 --- a/src/modules/Notification/manifest.json +++ b/src/modules/Notification/manifest.json @@ -1,7 +1,8 @@ { - "id": "notification", - "type": "mod", - "name": "Notification Center", - "description": "Important messages for staff members", - "version": "1.0.0" -} \ No newline at end of file + "id": "notification", + "type": "mod", + "name": "Notification Center", + "description": "Important messages for staff members", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Order/icon.png b/src/modules/Order/icon.png deleted file mode 100644 index 0f04b0a0c..000000000 Binary files a/src/modules/Order/icon.png and /dev/null differ diff --git a/src/modules/Order/icon.svg b/src/modules/Order/icon.svg new file mode 100644 index 000000000..3f950d778 --- /dev/null +++ b/src/modules/Order/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Order/manifest.json b/src/modules/Order/manifest.json index 41a3019e1..78675a2cf 100644 --- a/src/modules/Order/manifest.json +++ b/src/modules/Order/manifest.json @@ -1,8 +1,8 @@ -{"icon_url": "icon.png", - "id": "order", - "type": "mod", - "name": "Orders", - "description": "FOSSBilling core module", - "icon_url": "icon.png", - "version": "1.0.0" -} \ No newline at end of file +{ + "id": "order", + "type": "mod", + "name": "Orders", + "description": "FOSSBilling core module", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Orderbutton/icon.svg b/src/modules/Orderbutton/icon.svg new file mode 100644 index 000000000..87c8a88a7 --- /dev/null +++ b/src/modules/Orderbutton/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Orderbutton/manifest.json b/src/modules/Orderbutton/manifest.json index 9a5dd4f82..fa60eca71 100644 --- a/src/modules/Orderbutton/manifest.json +++ b/src/modules/Orderbutton/manifest.json @@ -1,7 +1,8 @@ { - "id": "orderbutton", - "type": "mod", - "name": "Order Button", - "description": "Provides ability to easily attach order form to any template. It is used by huraga template by default. ", - "version": "1.0.0" -} \ No newline at end of file + "id": "orderbutton", + "type": "mod", + "name": "Order Button", + "description": "Provides ability to easily attach order form to any template. It is used by huraga template by default. ", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Page/manifest.json b/src/modules/Page/manifest.json index bb301b5af..92af2be0e 100644 --- a/src/modules/Page/manifest.json +++ b/src/modules/Page/manifest.json @@ -1,7 +1,7 @@ { - "id": "page", - "type": "mod", - "name": "Page", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "page", + "type": "mod", + "name": "Page", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Paidsupport/icon.png b/src/modules/Paidsupport/icon.png deleted file mode 100644 index 60cd35f26..000000000 Binary files a/src/modules/Paidsupport/icon.png and /dev/null differ diff --git a/src/modules/Paidsupport/icon.svg b/src/modules/Paidsupport/icon.svg new file mode 100644 index 000000000..e21f8e358 --- /dev/null +++ b/src/modules/Paidsupport/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Paidsupport/manifest.json b/src/modules/Paidsupport/manifest.json index b5bb1b798..bb2df0460 100644 --- a/src/modules/Paidsupport/manifest.json +++ b/src/modules/Paidsupport/manifest.json @@ -1,12 +1,12 @@ { - "id": "paidsupport", - "type": "mod", - "name": "Paid support module", - "description": "Module enables paid support service for your clients.", - "icon_url": "icon.png", - "homepage_url": "http://github.com/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" -} \ No newline at end of file + "id": "paidsupport", + "type": "mod", + "name": "Paid support module", + "description": "Module enables paid support service for your clients.", + "icon_url": "icon.svg", + "homepage_url": "https://github.com/FOSSBilling", + "author": "FOSSBilling", + "author_url": "http://github.com/boxbilling/", + "license": "GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", + "version": "1.0.3" +} diff --git a/src/modules/Product/manifest.json b/src/modules/Product/manifest.json index 84129dae1..72100fe08 100644 --- a/src/modules/Product/manifest.json +++ b/src/modules/Product/manifest.json @@ -1,7 +1,7 @@ { - "id": "product", - "type": "mod", - "name": "Product", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "product", + "type": "mod", + "name": "Product", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Profile/manifest.json b/src/modules/Profile/manifest.json index e13484f91..6cfdd1566 100644 --- a/src/modules/Profile/manifest.json +++ b/src/modules/Profile/manifest.json @@ -1,7 +1,7 @@ { - "id": "profile", - "type": "mod", - "name": "Profile", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "profile", + "type": "mod", + "name": "Profile", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Queue/icon.svg b/src/modules/Queue/icon.svg new file mode 100644 index 000000000..6e88ca903 --- /dev/null +++ b/src/modules/Queue/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Queue/manifest.json b/src/modules/Queue/manifest.json index 47863c6a9..675c08a62 100644 --- a/src/modules/Queue/manifest.json +++ b/src/modules/Queue/manifest.json @@ -1,11 +1,12 @@ { - "id": "queue", - "type": "mod", - "name": "Queue Manager", - "description": "Execute long running tasks in queue", - "homepage_url": "http://github.com/boxbilling/", - "author": "FOSSBilling", - "author_url": "http://extensions.fossbilling.org/", - "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", - "version": "1.0.0" -} \ No newline at end of file + "id": "queue", + "type": "mod", + "name": "Queue Manager", + "description": "Execute long running tasks in queue", + "icon_url": "icon.svg", + "homepage_url": "https://github.com/FOSSBilling", + "author": "FOSSBilling", + "author_url": "http://extensions.fossbilling.org/", + "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", + "version": "1.0.0" +} diff --git a/src/modules/Redirect/icon.svg b/src/modules/Redirect/icon.svg new file mode 100644 index 000000000..aca54d44c --- /dev/null +++ b/src/modules/Redirect/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Redirect/manifest.json b/src/modules/Redirect/manifest.json index 5453117e7..e3983836c 100644 --- a/src/modules/Redirect/manifest.json +++ b/src/modules/Redirect/manifest.json @@ -1,10 +1,10 @@ { - "id": "redirect", - "type": "mod", - "name": "Redirect", - "icon_url": "icon.png", - "description": "Manage redirects", - "author": "FOSSBilling", - "author_url": "https://www.fossbilling.org", - "version": "1.0.0" -} \ No newline at end of file + "id": "redirect", + "type": "mod", + "name": "Redirect", + "description": "Manage redirects", + "icon_url": "icon.svg", + "author": "FOSSBilling", + "author_url": "https://www.fossbilling.org", + "version": "1.0.0" +} diff --git a/src/modules/Seo/icon.png b/src/modules/Seo/icon.png deleted file mode 100644 index b96b41b50..000000000 Binary files a/src/modules/Seo/icon.png and /dev/null differ diff --git a/src/modules/Seo/icon.svg b/src/modules/Seo/icon.svg new file mode 100644 index 000000000..f30c633e6 --- /dev/null +++ b/src/modules/Seo/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Seo/manifest.json b/src/modules/Seo/manifest.json index 597ca21e1..759bae1be 100644 --- a/src/modules/Seo/manifest.json +++ b/src/modules/Seo/manifest.json @@ -1,12 +1,12 @@ { - "id": "seo", - "type": "mod", - "name": "SEO Tools", - "description": "Ping sitemap to Google, Yahoo and Bing", - "icon_url": "icon.png", - "homepage_url": "http://github.com/boxbilling/", - "author": "FOSSBilling", - "author_url": "http://extensions.fossbilling.org/", - "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", - "version": "1.0.0" + "id": "seo", + "type": "mod", + "name": "SEO Tools", + "description": "Ping sitemap to Google, Yahoo and Bing", + "icon_url": "icon.svg", + "homepage_url": "https://github.com/FOSSBilling", + "author": "FOSSBilling", + "author_url": "http://extensions.fossbilling.org/", + "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", + "version": "1.0.0" } diff --git a/src/modules/Servicecustom/manifest.json b/src/modules/Servicecustom/manifest.json index 2cf4126f4..562ba7843 100644 --- a/src/modules/Servicecustom/manifest.json +++ b/src/modules/Servicecustom/manifest.json @@ -1,7 +1,7 @@ { - "id": "servicecustom", - "type": "mod", - "name": "Custom product type", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "servicecustom", + "type": "mod", + "name": "Custom product type", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Servicedomain/manifest.json b/src/modules/Servicedomain/manifest.json index b616a3a9d..7494d8ff4 100644 --- a/src/modules/Servicedomain/manifest.json +++ b/src/modules/Servicedomain/manifest.json @@ -1,7 +1,7 @@ { - "id": "servicedomain", - "type": "mod", - "name": "Domain product type", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "servicedomain", + "type": "mod", + "name": "Domain product type", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Servicedownloadable/manifest.json b/src/modules/Servicedownloadable/manifest.json index f7fd987e9..2984936b7 100644 --- a/src/modules/Servicedownloadable/manifest.json +++ b/src/modules/Servicedownloadable/manifest.json @@ -1,7 +1,7 @@ { - "id": "servicedownloadable", - "type": "mod", - "name": "Downloadable product type", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "servicedownloadable", + "type": "mod", + "name": "Downloadable product type", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Servicehosting/manifest.json b/src/modules/Servicehosting/manifest.json index da17d79a6..de44026d6 100644 --- a/src/modules/Servicehosting/manifest.json +++ b/src/modules/Servicehosting/manifest.json @@ -1,7 +1,7 @@ { - "id": "servicehosting", - "type": "mod", - "name": "Hosting product type", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "servicehosting", + "type": "mod", + "name": "Hosting product type", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Servicelicense/manifest.json b/src/modules/Servicelicense/manifest.json index 5dc05a31f..a25137a8e 100644 --- a/src/modules/Servicelicense/manifest.json +++ b/src/modules/Servicelicense/manifest.json @@ -1,7 +1,7 @@ { - "id": "servicelicense", - "type": "mod", - "name": "License product", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "servicelicense", + "type": "mod", + "name": "License product", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Servicemembership/icon.svg b/src/modules/Servicemembership/icon.svg new file mode 100644 index 000000000..e84aecc87 --- /dev/null +++ b/src/modules/Servicemembership/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Servicemembership/manifest.json b/src/modules/Servicemembership/manifest.json index bcfe034ea..68de5c60e 100644 --- a/src/modules/Servicemembership/manifest.json +++ b/src/modules/Servicemembership/manifest.json @@ -1,11 +1,12 @@ { - "id": "servicemembership", - "type": "mod", - "name": "Membership Product", - "description": "Sell membership subscriptions to clients", - "homepage_url": "http://github.com/boxbilling/", - "author": "FOSSBilling", - "author_url": "http://extensions.fossbilling.org/", - "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", - "version": "1.0.0" -} \ No newline at end of file + "id": "servicemembership", + "type": "mod", + "name": "Membership Product", + "description": "Sell membership subscriptions to clients", + "icon_url": "icon.svg", + "homepage_url": "https://github.com/FOSSBilling", + "author": "FOSSBilling", + "author_url": "http://extensions.fossbilling.org/", + "license": "https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE", + "version": "1.0.0" +} diff --git a/src/modules/Spamchecker/icon.png b/src/modules/Spamchecker/icon.png deleted file mode 100644 index 119b123ec..000000000 Binary files a/src/modules/Spamchecker/icon.png and /dev/null differ diff --git a/src/modules/Spamchecker/icon.svg b/src/modules/Spamchecker/icon.svg new file mode 100644 index 000000000..0b43f0b08 --- /dev/null +++ b/src/modules/Spamchecker/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Spamchecker/manifest.json b/src/modules/Spamchecker/manifest.json index 104487ce8..cd0f7654a 100644 --- a/src/modules/Spamchecker/manifest.json +++ b/src/modules/Spamchecker/manifest.json @@ -1,13 +1,13 @@ { - "id": "spamchecker", - "type": "mod", - "name": "SpamChecker", - "description": "Uses stopforumspam.com and reCAPTCHA to stop spam", - "icon_url": "icon.png", - "project_url": "https://fossbilling.org/", - "homepage_url": "https://fossbilling.org/", - "author": "FOSSBilling", - "author_url": "https://fossbilling.org/", - "license": "Free for commercial and non-commercial use (Apache License or GPL 2)", - "version": "4.22.0" -} \ No newline at end of file + "id": "spamchecker", + "type": "mod", + "name": "SpamChecker", + "description": "Uses stopforumspam.com and reCAPTCHA to stop spam", + "icon_url": "icon.svg", + "project_url": "https://fossbilling.org/", + "homepage_url": "https://fossbilling.org/", + "author": "FOSSBilling", + "author_url": "https://fossbilling.org/", + "license": "Free for commercial and non-commercial use (Apache License or GPL 2)", + "version": "4.22.0" +} diff --git a/src/modules/Staff/icon.png b/src/modules/Staff/icon.png deleted file mode 100644 index 25e5f9216..000000000 Binary files a/src/modules/Staff/icon.png and /dev/null differ diff --git a/src/modules/Staff/icon.svg b/src/modules/Staff/icon.svg new file mode 100644 index 000000000..48426f488 --- /dev/null +++ b/src/modules/Staff/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Staff/manifest.json b/src/modules/Staff/manifest.json index fb2889cdc..c5a9398e8 100644 --- a/src/modules/Staff/manifest.json +++ b/src/modules/Staff/manifest.json @@ -1,8 +1,8 @@ { - "id": "staff", - "type": "mod", - "name": "Staff", - "description": "FOSSBilling core module", - "icon_url": "icon.png", - "version": "1.0.0" -} \ No newline at end of file + "id": "staff", + "type": "mod", + "name": "Staff", + "description": "FOSSBilling core module", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Stats/manifest.json b/src/modules/Stats/manifest.json index 4744bd0bf..afd682284 100644 --- a/src/modules/Stats/manifest.json +++ b/src/modules/Stats/manifest.json @@ -1,7 +1,7 @@ { - "id": "stats", - "type": "mod", - "name": "Statistics", - "description": "FOSSBilling core module", - "version": "1.0.0" -} \ No newline at end of file + "id": "stats", + "type": "mod", + "name": "Statistics", + "description": "FOSSBilling core module", + "version": "1.0.0" +} diff --git a/src/modules/Support/icon.png b/src/modules/Support/icon.png deleted file mode 100644 index 2da1dfaa8..000000000 Binary files a/src/modules/Support/icon.png and /dev/null differ diff --git a/src/modules/Support/icon.svg b/src/modules/Support/icon.svg new file mode 100644 index 000000000..fd18a414f --- /dev/null +++ b/src/modules/Support/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Support/manifest.json b/src/modules/Support/manifest.json index ad990b9c1..66e33536d 100644 --- a/src/modules/Support/manifest.json +++ b/src/modules/Support/manifest.json @@ -1,8 +1,8 @@ { - "id": "support", - "type": "mod", - "name": "Support", - "description": "FOSSBilling core module", - "icon_url": "icon.png", - "version": "1.0.0" -} \ No newline at end of file + "id": "support", + "type": "mod", + "name": "Support", + "description": "FOSSBilling core module", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/System/html_admin/mod_system_index.html.twig b/src/modules/System/html_admin/mod_system_index.html.twig index 630f43026..51501dcc2 100644 --- a/src/modules/System/html_admin/mod_system_index.html.twig +++ b/src/modules/System/html_admin/mod_system_index.html.twig @@ -18,7 +18,20 @@
- {{ ext.name }} {{ ext.name }} + {% set icon_filename = ext.icon_url|split('/')|last %} + {% if (icon_filename != 'cog.svg') and (icon_filename|split('.')|last == 'svg') %} +
+
+ {% include '../../../modules/' ~ ext.id ~ '/' ~ icon_filename %} +
+ {{ ext.name }} +
+ {% else %} +
+ {{ ext.name }} + {{ ext.name }} +
+ {% endif %}
diff --git a/src/modules/System/icon.png b/src/modules/System/icon.png deleted file mode 100644 index 4d8098b7b..000000000 Binary files a/src/modules/System/icon.png and /dev/null differ diff --git a/src/modules/System/icon.svg b/src/modules/System/icon.svg new file mode 100644 index 000000000..f71630a39 --- /dev/null +++ b/src/modules/System/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/System/manifest.json b/src/modules/System/manifest.json index 24c05fd8e..55e496011 100644 --- a/src/modules/System/manifest.json +++ b/src/modules/System/manifest.json @@ -1,8 +1,8 @@ { - "id": "system", - "type": "mod", - "name": "System", - "description": "FOSSBilling core module", - "icon_url": "icon.png", - "version": "1.0.0" -} \ No newline at end of file + "id": "system", + "type": "mod", + "name": "System", + "description": "FOSSBilling core module", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Theme/icon.png b/src/modules/Theme/icon.png deleted file mode 100644 index eff49f10e..000000000 Binary files a/src/modules/Theme/icon.png and /dev/null differ diff --git a/src/modules/Theme/icon.svg b/src/modules/Theme/icon.svg new file mode 100644 index 000000000..728cd94ef --- /dev/null +++ b/src/modules/Theme/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Theme/manifest.json b/src/modules/Theme/manifest.json index 3df19038e..704fe45c0 100644 --- a/src/modules/Theme/manifest.json +++ b/src/modules/Theme/manifest.json @@ -1,8 +1,8 @@ { - "id": "theme", - "type": "mod", - "name": "Theme", - "description": "FOSSBilling core module", - "icon_url": "icon.png", - "version": "1.0.0" -} \ No newline at end of file + "id": "theme", + "type": "mod", + "name": "Theme", + "description": "FOSSBilling core module", + "icon_url": "icon.svg", + "version": "1.0.0" +} diff --git a/src/modules/Wysiwyg/icon.png b/src/modules/Wysiwyg/icon.png deleted file mode 100644 index 4de0e208b..000000000 Binary files a/src/modules/Wysiwyg/icon.png and /dev/null differ diff --git a/src/modules/Wysiwyg/icon.svg b/src/modules/Wysiwyg/icon.svg new file mode 100644 index 000000000..e287c6a5f --- /dev/null +++ b/src/modules/Wysiwyg/icon.svg @@ -0,0 +1 @@ + diff --git a/src/modules/Wysiwyg/manifest.json b/src/modules/Wysiwyg/manifest.json index a4d2464c1..8ab69cd65 100644 --- a/src/modules/Wysiwyg/manifest.json +++ b/src/modules/Wysiwyg/manifest.json @@ -1,8 +1,8 @@ { - "id": "wysiwyg", - "type": "mod", - "name": "Wysiwyg", - "description": "Allows the use of client-side editors to edit content. It simplifies the installation and integration of the editor of your choice.", - "icon_url": "icon.png", - "version": "1.0.0" -} \ No newline at end of file + "id": "wysiwyg", + "type": "mod", + "name": "Wysiwyg", + "description": "Integrates a What You See Is What You Get (WYSIWYG) editor to your admin panel.", + "icon_url": "icon.svg", + "version": "1.0.0" +}