Commit Graph
5740 Commits
Author SHA1 Message Date
Benjamin Aerni b61ab381b8 Fix PDF generation on PHP 8 (#1017)
We still need  to replace TFPDF
2021-08-28 10:27:28 -07:00
Mr. Timothy G Webb Sr e0089a09c8 Merge branch 'boxbilling:master' into master 2021-08-28 12:32:28 -04:00
Benjamin Aerni 98d87e4c8a Revert broken change (#1021) 2021-08-28 09:24:43 -07:00
Mr. Timothy G Webb Sr 5379e6d338 Update composer.lock to fix CVE-2015-4363 (#1020)
* Update composer.lock

Symfony/Finder update to version 6.0 due to vunerability

* Updated composer.lock

* Updated nelexa/zip
2021-08-28 09:00:12 -07:00
Mr. Timothy G Webb Sr ff317c117a Merge pull request #37 from timothygwebb/timothygwebb-patch-1
Update composer.lock to fix CVE-2015-4363
2021-08-28 11:47:04 -04:00
Timothy Webb d00249310d Updated nelexa/zip 2021-08-28 11:41:22 -04:00
Timothy Webb 7201b176db Updated composer.lock 2021-08-28 11:38:34 -04:00
Mr. Timothy G Webb Sr 14138cc3ce Update composer.lock
Symfony/Finder update to version 6.0 due to vunerability
2021-08-28 10:31:31 -04:00
Mr. Timothy G Webb Sr 0f5a83381c Update rb.php 2021-08-28 10:03:13 -04:00
Mr. Timothy G Webb Sr ca8e1f050a Merge branch 'master' into master 2021-08-28 09:51:43 -04:00
Hasta Dhana f67f619afb Fix typo (#1019)
Fix small typo
2021-08-26 17:26:00 -07:00
Benjamin Aerni 91f914ab2c Wave of code cleanup / formatting
* Some code cleanup

* More code cleanup / formatting

Now I'm gonna go to bed

* Fix typo

This is why we have tests

* Cleanup literal booleans

* Some more general code cleanup

* Github's GUI for merge conflicts is not very clear..

* Update PDF_ImageAlpha.php

* Revert potentially behavior changing changes that aren't tested
2021-08-25 10:35:00 -07:00
Yağızhan 515fe56ad3 Merge pull request #1014 from boxbilling/evrifaessa-patch-1
Removed the license fallback in mod.php
2021-08-25 06:32:41 +00:00
Yağızhan 31bc840789 Update Mod.php 2021-08-25 06:27:55 +00:00
Benjamin Aerni 7b52420d32 Delete OpenSRS and CNic Toolkit from repo (#1012)
* Delete OpenSRS from repo

Seems to be unused, and it is very very old. We can re-introduce it another time if we need it

* Delete CNic_Toolkit

None of our source code seems to reference this at all. I'm guessing this was included incase someone wanted to create their own integration and needed it
2021-08-24 23:11:54 -07:00
Benjamin AerniandYağızhan 8f842fb400 Fix our updater and use GitHub releases (#991)
* Updater works until the unzip process

* Use modern zip library

* Re-enable the json cache

* Simplifying

* Fix merge conflict

Co-authored-by: Yağızhan <yagizhan49@protonmail.com>
2021-08-24 05:49:16 -07:00
notbasetwo c898832713 Update path to stylesheet (#1009)
Incorrect path to stylesheet causes occasional error.
2021-08-23 17:10:26 -07:00
dependabot[bot] b32ee9ce3b Bump squizlabs/php_codesniffer from 2.9.2 to 3.6.0 in /src (#1008)
Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 2.9.2 to 3.6.0.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/2.9.2...3.6.0)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 15:34:39 -07:00
dependabot[bot] faa1e3e49b Bump grunt-contrib-cssmin from 3.0.0 to 4.0.0 (#1007)
Bumps [grunt-contrib-cssmin](https://github.com/gruntjs/grunt-contrib-cssmin) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/gruntjs/grunt-contrib-cssmin/releases)
- [Changelog](https://github.com/gruntjs/grunt-contrib-cssmin/blob/main/CHANGELOG)
- [Commits](https://github.com/gruntjs/grunt-contrib-cssmin/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: grunt-contrib-cssmin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 15:28:22 -07:00
dependabot[bot] f8d9ab5b3a Bump stripe/stripe-php from 7.92.0 to 7.94.0 in /src (#1006)
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 7.92.0 to 7.94.0.
- [Release notes](https://github.com/stripe/stripe-php/releases)
- [Changelog](https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/stripe-php/compare/v7.92.0...v7.94.0)

---
updated-dependencies:
- dependency-name: stripe/stripe-php
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 15:27:40 -07:00
dependabot[bot] 15d305decd Bump phpmailer/phpmailer from 6.5.0 to 6.5.1 in /src (#1005)
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.5.0 to 6.5.1.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.5.0...v6.5.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 15:27:13 -07:00
Benjamin Aerni 41784ea9a9 Initial dependabot configuration (#1004) 2021-08-23 15:24:49 -07:00
Benjamin Aerni 0f0bea7609 Fix "8192 Required parameter follows optional parameter" (#1003) 2021-08-23 11:39:48 -07:00
Benjamin Aerni 61823a1924 We now support PHP8, and no longer 7.2 or 7.3
* Attempt to enable PHP 8 tests with composer

* Attempt 2

* Remove PHP 7.2 and macOS from tests

* Try to set a timeout of 5 mins

* Drop support for less than PHP 7.4, also test PHP 8.1

* We will enable PHP 8.1 tests at a later date
2021-08-23 09:28:39 -07:00
Yağızhan 846fab6b89 Merge pull request #997 from boxbilling/evrifaessa-patch-1
Fix installer not going through step 3
2021-08-23 07:22:18 +00:00
Yağızhan 95bec9c696 Fix installer not going through step 3 2021-08-23 07:18:37 +00:00
Yağızhan a5fbb04f58 Merge pull request #996 from boxbilling/evrifaessa-patch-1
Fixed Gravatar filter crashing on PHP 8
2021-08-23 06:54:36 +00:00
Yağızhan b97a09bdb6 Fixed Gravatar filter crashing on PHP 8 2021-08-23 06:47:47 +00:00
Yağızhan a295388296 Merge pull request #995 from boxbilling/evrifaessa-patch-1
fixed gravatar size
2021-08-23 06:32:33 +00:00
Yağızhan 1f2f1806d1 fixed size 2021-08-23 06:23:14 +00:00
Benjamin Aerni 449f338607 Update RedBeanPHP to 5.7 and apply a hack to fix failing tests (#994) 2021-08-22 19:31:05 -07:00
Mr. Timothy G Webb Sr 5a253e195d Update rb.php
test problem
2021-08-22 21:47:19 -04:00
Mr. Timothy G Webb Sr 60157221e9 Update rb.php 2021-08-22 21:38:40 -04:00
Yağızhan 31f430885b Merge pull request #992 from boxbilling/gravatar
Re-implemented Gravatar
2021-08-22 15:18:45 +00:00
Yağızhan 2135c3e1a5 Re-implemented Gravatar 2021-08-22 15:16:51 +03:00
Benjamin Aerni 4deac2faaf Update CHANGELOG.md (#990) 2021-08-19 20:14:49 -07:00
Benjamin Aerni 389985b6d2 Some better security practices (#989)
* Use random_bytes instead of uniqid

* Base 64 encode password for CWP server account creation

* cURL should check the SSL with CWP servers
2021-08-19 18:32:29 -07:00
notbasetwo 378ed6a64c Update Countries in BoxBilling (#988)
* Removed UK from EU Countries

* Updated list of default countries

* Update EU VAT Rates

* Trigger CI

* Include GeoLite2 attribution
2021-08-19 14:13:42 -07:00
Mr. Timothy G Webb Sr 92348d38ce Update csrfp-config.php 2021-08-15 22:18:20 -04:00
Benjamin Aerni 18e86dfca6 Update SECURITY.md (#982) 2021-08-15 18:55:44 -07:00
Mr. Timothy G Webb Sr 0dce0726e4 Update csrfp-config.php 2021-08-15 21:43:37 -04:00
Benjamin Aerni ab0c511d27 Initial implementation of a CWP server manager (#923)
* Initial implementation of a CWP server manager

* Throw a server exception message upon API failure

* *Laughs in idiot*

I forgot this on the first one and then did the copy-paste thing
2021-08-14 07:52:07 -07:00
Yağızhan dd64723cae Merge pull request #977 from boxbilling/evrifaessa-patch-1
"Help" under "help"?
2021-08-14 07:49:37 +00:00
Yağızhan 3a10ae1a72 "Help" under "help"? 2021-08-14 07:42:04 +00:00
Yağızhan 08f5ab1aee Merge pull request #976 from boxbilling/csrf-fix
Fixing CSRF protector
2021-08-14 07:24:30 +00:00
Yağızhan 4db3a05a13 Using BB_URL instead 2021-08-14 10:19:08 +03:00
Yağızhan b364dc5451 Merge pull request #971 from boxbilling/evrifaessa-patch-1
Removed links to the dead forum of ours
2021-08-14 06:40:34 +00:00
Yağızhan 65a2710995 Merge pull request #975 from alenjohn05/patch-1
Fixes #974
2021-08-13 15:06:27 +03:00
Alen John f50b1d96da Added the Website Link in Readme.md
Added the Website Link in Readme.md
2021-08-13 17:18:22 +05:30
Yağızhan 323ec1c00d Removed forum link from admin footer popup 2021-08-13 09:07:12 +00:00