Commit Graph
12 Commits
Author SHA1 Message Date
Yağızhan d909d77f7e -Unnecessary whitespace in the class headers (#1219) 2023-05-07 13:24:29 -07:00
Yağızhan 412e4a9fbd Standardized the class headers (#1212) 2023-05-06 13:06:17 +01:00
Adam Daley e54569d2cd Introduce namespaces and strict typing for FOSSBilling library classes (#1206) 2023-05-04 01:02:06 +01:00
Yağızhan 950e4dccef Type hinting the DI methods and variables (#1201) 2023-05-01 21:01:35 +03:00
Yağızhan a406876cb7 Minor PHPDoc update (#1145)
* Dropped Box_FileCacheException

* Minor PHPDoc update
2023-04-22 17:40:11 +01:00
Belle Aerni 9faa981c58 Replace usage of array_get (#989)
* Replace usage of array_get

* Fixes

* And a few more

* Remove remaining references

* Update Service.php

* Few more fixes

* Fix.. I think?

* Fix Client / Invoice updates

* Fix stats

* Fix issues noticed during code review

* More fixes

* And some more fixes :)
2023-03-27 23:44:30 -07:00
imgbot[bot]andImgBotApp 4d91f387d6 [ImgBot] Optimize images (#880)
*Total -- 84.07kb -> 66.40kb (21.02%)

/src/themes/huraga/assets/img/template_logo.png -- 20.97kb -> 9.30kb (55.66%)
/src/themes/huraga/assets/img/loader.gif -- 8.92kb -> 6.78kb (23.91%)
/src/themes/admin_default/images/patbg2.png -- 1.08kb -> 0.91kb (15.32%)
/src/themes/huraga/assets/img/logo.png -- 25.87kb -> 22.49kb (13.05%)
/src/themes/admin_default/assets/icons/arrow-up.svg -- 0.41kb -> 0.39kb (4.57%)
/src/themes/huraga/assets/img/fb_wallet.svg -- 1.35kb -> 1.30kb (3.77%)
/src/themes/admin_default/assets/icons/copy.svg -- 0.41kb -> 0.39kb (3.61%)
/src/themes/admin_default/assets/icons/heart.svg -- 0.38kb -> 0.36kb (2.86%)
/src/themes/admin_default/assets/icons/plus.svg -- 0.22kb -> 0.21kb (2.68%)
/src/modules/Orderbutton/assets/img/assets/loaders/loader2.gif -- 4.08kb -> 4.02kb (1.53%)
/src/themes/huraga/assets/img/logo.svg -- 3.58kb -> 3.53kb (1.42%)
/src/themes/huraga/assets/img/logo_white.svg -- 3.72kb -> 3.67kb (1.36%)
/src/modules/Wysiwyg/icon.svg -- 0.15kb -> 0.15kb (1.29%)
/src/modules/Dashboard/icon.svg -- 0.15kb -> 0.15kb (1.28%)
/src/modules/Orderbutton/assets/img/assets/loaders/loader1.gif -- 0.59kb -> 0.59kb (0.99%)
/src/modules/Spamchecker/icon.svg -- 0.23kb -> 0.22kb (0.87%)
/src/modules/Massmailer/icon.svg -- 0.24kb -> 0.23kb (0.83%)
/src/modules/Email/icon.svg -- 0.24kb -> 0.23kb (0.83%)
/src/modules/Embed/icon.svg -- 0.25kb -> 0.24kb (0.8%)
/src/modules/Redirect/icon.svg -- 0.26kb -> 0.25kb (0.76%)
/src/modules/Currency/icon.svg -- 0.27kb -> 0.27kb (0.71%)
/src/modules/Branding/icon.svg -- 0.28kb -> 0.28kb (0.7%)
/src/modules/Formbuilder/icon.svg -- 0.29kb -> 0.29kb (0.67%)
/src/modules/News/icon.svg -- 0.30kb -> 0.30kb (0.66%)
/src/modules/Invoice/icon.svg -- 0.31kb -> 0.31kb (0.62%)
/src/modules/Staff/icon.svg -- 0.38kb -> 0.37kb (0.52%)
/src/modules/Servicemembership/icon.svg -- 0.38kb -> 0.38kb (0.51%)
/src/modules/Custompages/icon.svg -- 0.40kb -> 0.40kb (0.49%)
/src/modules/Orderbutton/icon.svg -- 0.40kb -> 0.40kb (0.48%)
/src/modules/Example/icon.svg -- 0.42kb -> 0.42kb (0.47%)
/src/modules/Notification/icon.svg -- 0.42kb -> 0.42kb (0.46%)
/src/modules/Seo/icon.svg -- 0.48kb -> 0.47kb (0.41%)
/src/modules/Order/icon.svg -- 0.49kb -> 0.49kb (0.4%)
/src/modules/Queue/icon.svg -- 0.50kb -> 0.50kb (0.39%)
/src/modules/Cron/icon.svg -- 0.51kb -> 0.51kb (0.38%)
/src/modules/Kb/icon.svg -- 0.52kb -> 0.51kb (0.38%)
/src/modules/Support/icon.svg -- 0.63kb -> 0.63kb (0.31%)
/src/modules/Theme/icon.svg -- 0.64kb -> 0.64kb (0.3%)
/src/modules/Client/icon.svg -- 0.66kb -> 0.66kb (0.3%)
/src/modules/Cookieconsent/icon.svg -- 0.71kb -> 0.71kb (0.27%)
/src/modules/System/icon.svg -- 0.98kb -> 0.98kb (0.2%)
/src/modules/Paidsupport/icon.svg -- 1.02kb -> 1.02kb (0.19%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-03-01 23:35:16 -08:00
ShamshidandYağızhan cdca4b7e50 Add/replace modules icon and update manifest (#872)
* add/replace modules icon and update manifest entry

* update modules manifest homepage_url

* include svg to set color via css

* +Attribution

---------

Co-authored-by: Yağızhan <yagizhan49@protonmail.com>
2023-03-01 19:46:57 -08:00
Belle Aerni 774f0d5c95 Use Rector to modernize code for PHP 8.0 2023-01-12 00:40:54 -08:00
Belle Aerni ee1e4e955e Capitalize module names 2022-12-08 01:34:08 -08:00
Belle Aerni 8821d50cff Created a CSRF token system (#526)
* Implement a basic CSRF token system

* Update forms for all modules

* Added to the theme forms

* Create a config option for CSRF prevention

* Slightly rework the filter

* Let's actually use a global var

* Added the token to API hrefs

* Fixup

* Remove old reference

* Added the token to the installer twig globals

* The token isn't actually needed in the installer

* Fix client searching

* Whoops - those need quotes
2022-12-06 18:47:14 +01:00
Belle Aerni edd6f72634 Drop the "BB" prefix 2022-11-28 17:22:50 +03:00