Commit Graph
5740 Commits
Author SHA1 Message Date
evrifaessa b88353be55 Added dependency 2022-10-26 20:17:47 +03:00
evrifaessa 5e484aaecc +intl 2022-10-26 20:10:46 +03:00
Belle Aerni c62d1d6db4 Fix old references to _pagination.html.twig (#387)
* Fix old references to _pagination.html.twig

* Update README.md
2022-10-25 22:56:27 +02:00
Belle Aerni ea30d5b160 Validate Emails Addresses & Other Security Tweaks(#385)
* Use generatePassword rather than a shortened hash

* Tweak how cron credentials are created

* Use the standard PHP function to validate emails

* Validate and sanitize emails

* Fix typos

* Use idn_to_ascii when validating emails

* Only use idn_to_ascii when validating the email

* Fix tests

* More text fixing

* We should only have one more failure now

* sighs

* Disable that since it's failing for no reason
2022-10-25 02:09:33 -07:00
Belle Aerni 7f5aa45a46 Migrate config during the update process (#384) 2022-10-24 22:11:03 +02:00
Belle Aerni 2708df7000 Sync markitup to the latest version (1.1.15) (#371) 2022-10-24 08:37:28 +02:00
Yağızhan ae506d1c7c Changed the position of blocks (#380) 2022-10-24 00:06:48 +02:00
Yağızhan 0c0321a182 Renamed _pagination.html.twig to partial_pagination.html.twig (#382)
* Rename _pagination.html.twig to partial_pagination.html.twig

* Rename _search.html.twig to partial_search.html.twig

* Rename _sidebar.html.twig to partial_sidebar.html.twig

* Rename partial_sidebar.html.twig to _sidebar.html.twig

* Rename partial_search.html.twig to _search.html.twig
2022-10-23 13:51:02 -07:00
Belle Aerni f4dcab8b68 More Cleanup (#381)
* Fix remaining refences to bb-admin

* Drop old patches

* Rename to foss-update

* Fix issue #379
2022-10-23 21:47:33 +02:00
Yağızhan 39201ab181 Blog -> News (#378) 2022-10-23 12:20:15 -07:00
Yağızhan 23d8531b52 Added toggles for the sidebar links of news and knowledge base (#377)
* Added toggles for the sidebar links of news and kb

* For some reason Twig was problematic about this

* While we're at it
2022-10-23 21:00:01 +02:00
John @ S4 0d0c642651 Merge pull request #374 from BelleNottelling/releaseprep
More Cleanup
2022-10-23 17:48:35 +03:00
Belle Aerni 404f0510ab Fix old references to .phtml 2022-10-23 03:27:58 -07:00
Belle Aerni 806cacbba8 Fix Macro "table_search" is not defined
Seen when trying to go to admin/extension/settings/support
2022-10-23 03:14:25 -07:00
Belle Aerni e5d3b49295 Fix more missing icons 2022-10-23 03:06:32 -07:00
Belle Aerni 38cb5de32c Cleanly handle maintenance mode not being configured 2022-10-23 02:48:40 -07:00
Belle Aerni d66751d24d Check PW strength in two more locations 2022-10-23 02:36:36 -07:00
Belle Aerni cc1882053b Define a maximum password length of 256 2022-10-23 02:27:40 -07:00
Belle Aerni 1b210e963d Huraga: show a dashboard when not logged in (#370)
* Huraga: show a dashboard when not logged in

* Update settings_data.json.example
2022-10-23 08:34:23 +02:00
Belle Aerni 32507b9bf4 Fix client PW reset (#372) 2022-10-23 07:59:43 +02:00
Belle Aerni f7abf20039 Adjust Password Requirements (#369)
* Increase password requirements & check them more

* This should fix tests

* Actually fix tests
2022-10-22 08:46:00 +02:00
Belle Aerni 557a5dcbf2 Miscellaneous Changes (#368)
* Corrected "powered by" link in admin panel

* Fix changing the admin theme

https://github.com/boxbilling/boxbilling/pull/1346

* Avoid strtolower(): Passing null to parameter #1 ($string) of type string is deprecated

* Also use isset

* Avoid json_decode(): Passing null to parameter #1 ($json) of type string is deprecated
2022-10-20 22:12:02 +02:00
Belle Aerni 88f1b9996b Fix typo (#367) 2022-10-20 19:00:09 +02:00
Yağızhan 5c6a76bd06 Merge pull request #364 from BelleNottelling/patch-1 2022-10-20 07:16:55 +03:00
Belle Aerni 1ae6a35812 Fix typo & error with service domain manage page 2022-10-19 16:04:04 -07:00
Belle Aerni c24c856062 Use the cryptographically secure random_int() (#362)
* Replace rand() with random_int()

* Replace mt_rand() with random_int()

* Whoops
2022-10-18 20:32:13 -07:00
Belle Aerni 6f75976467 Apply workaround for SVG images on PDFs (#359) 2022-10-18 21:56:56 +02:00
Belle Aerni e10c5ee4e5 Replace utf8_encode with mb_convert_encoding (#361)
* Replace deprecated utf8_encode with mb_convert_encoding

* Update README.md

* Delete AuthorizeNet.php
2022-10-18 12:48:25 -07:00
Belle Aerni 1aec4ade28 Replace strftime() with date() (#360)
strftime is depreciated as of PHP 8.1
2022-10-18 09:16:26 -07:00
John @ S4 fe6cb31e59 Merge pull request #353 from BelleNottelling/mpdf
Use dompdf for PDF generation
2022-10-17 09:03:26 +03:00
Belle Aerni 4c21ee7cb4 Replace GetClass (#342)
https://php.watch/versions/8.0/deprecated-reflectionparameter-methods#getClass
2022-10-17 06:38:57 +02:00
Belle Aerni dff8f103cd Replace usage of filter_var with htmlspecialchars (#356) 2022-10-17 05:56:20 +02:00
Belle Aerni 51b9b322b4 Is this an okay solution? 2022-10-16 14:07:31 -07:00
Belle Aerni 4ebd03739d Always display quantity on the PDF invoice 2022-10-16 14:02:31 -07:00
Belle Aerni 3bae8cf900 Format -$5 as -$5 instead of $-5 2022-10-16 14:02:11 -07:00
Belle Aerni 101b9b02ce Removed old font files & more CSS work 2022-10-16 13:14:38 -07:00
John @ S4 96f7d9a7f0 Merge pull request #350 from FOSSBilling/dependabot/composer/src/friendsofphp/php-cs-fixer-3.12.0
Bump friendsofphp/php-cs-fixer from 3.11.0 to 3.12.0 in /src
2022-10-16 18:49:59 +03:00
Belle Aerni e9d6947495 Various Changes to Defaults (#343)
* Various fixes to BoxBilling refences in default SQL content

* Various updates to the content_test sql

* billing-admin by default for the admin page

* Let's just use /admin for the admin panel

* Update install.php
2022-10-14 07:23:30 +02:00
Belle Aerni 6d76657a10 Update composer.lock using PHP 8.0 2022-10-13 21:17:06 -07:00
Belle Aerni 184c3e7dd0 Update composer.lock 2022-10-13 21:04:44 -07:00
Belle Aerni 3f9ccaf4ef Basically everything is in place
Besides half decent styling
2022-10-13 20:57:31 -07:00
Belle Aerni ed0dec0667 Continued to work on it 2022-10-13 19:53:03 -07:00
Belle Aerni 7d459edad3 Let's actually go with dompdf 2022-10-13 14:31:26 -07:00
Belle Aerni 518f38abf6 Going to temporarily drop PSR/log to 2.0.0 since mpdf requires it 2022-10-13 13:56:35 -07:00
Belle Aerni 9b484f0c42 Testing replacing TFPDF with mPDF 2022-10-13 13:44:26 -07:00
Yağızhan ff9d90fd81 Merge pull request #351 from FOSSBilling/dependabot/npm_and_yarn/postcss-8.4.18
Bump postcss from 8.4.17 to 8.4.18
2022-10-13 13:36:02 +03:00
dependabot[bot] 489587b3ea Bump postcss from 8.4.17 to 8.4.18
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.17 to 8.4.18.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.17...8.4.18)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 09:47:45 +00:00
dependabot[bot] 95a2a751dd Bump friendsofphp/php-cs-fixer from 3.11.0 to 3.12.0 in /src
Bumps [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FriendsOfPHP/PHP-CS-Fixer/compare/v3.11.0...v3.12.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 09:47:41 +00:00
Yağızhan cb613bfeab Use action secrets instead (#348)
* Use action secrets instead

* Let's also use secrets for the bucket name
2022-10-12 18:29:06 +02:00
dependabot[bot] 7862ec3922 Bump @xmldom/xmldom from 0.8.2 to 0.8.3 (#347)
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.8.2...0.8.3)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 16:22:27 +02:00