Commit Graph
717 Commits
Author SHA1 Message Date
Belle Aerni 4379beb74c Created config option to disable auto cron 2022-10-28 10:03:41 -07:00
Belle Aerni 7ff27fa77e Round before displaying min since 2022-10-27 20:46:01 -07:00
Belle Aerni 51fb8bd1dd Updated wording 2022-10-27 17:55:23 -07:00
Belle Aerni 0b1eba4506 workaround since I don't want to complicate it 2022-10-27 17:52:29 -07:00
Belle Aerni 99ac8e2e91 Automatically execute cron when
When it hasn't run in at least 15 minutes
2022-10-27 17:31:25 -07:00
Belle Aerni 1edbd83e65 Fix currency 2022-10-26 17:33:54 -07:00
Belle Aerni 844fea6b01 Fix the rest 2022-10-26 17:30:48 -07:00
Belle Aerni c62ac3bbf0 Fix breadcrumbs for default modules 2022-10-26 15:14:15 -07: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 2708df7000 Sync markitup to the latest version (1.1.15) (#371) 2022-10-24 08:37:28 +02:00
Yağızhan 39201ab181 Blog -> News (#378) 2022-10-23 12:20:15 -07:00
Belle Aerni 404f0510ab Fix old references to .phtml 2022-10-23 03:27:58 -07:00
Belle Aerni e5d3b49295 Fix more missing icons 2022-10-23 03:06:32 -07:00
Belle Aerni d66751d24d Check PW strength in two more locations 2022-10-23 02:36:36 -07: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
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 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
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 9b484f0c42 Testing replacing TFPDF with mPDF 2022-10-13 13:44:26 -07:00
Belle Aerni 1bb888fc86 Small bugfix to the PDF generator (#341)
* Better handle paths for logo in PDF generation

* Fix typos and specify supported image formats
2022-10-12 10:09:03 +02:00
Benjamin Aerni 821de61ca5 Removed files that were re-introduced 2022-10-11 12:10:27 -07:00
Benjamin Aerni 4f96a7b1fc Corrected edit icon path 2022-10-11 12:00:46 -07:00
Benjamin Aerni 9d6d4e7c66 Corrected delete icon path 2022-10-11 12:00:46 -07:00
Benjamin Aerni b120a9a57d Corrected path to the refresh icon 2022-10-11 12:00:10 -07:00
Benjamin Aerni 487f7c2af3 Corrected icon on the cron settings page 2022-10-11 12:00:10 -07:00
Benjamin Aerni 39fb79d794 Corrected the default icon after the admin theme change 2022-10-11 12:00:10 -07:00
Yağızhan 1d87580108 Huraga dependency cleanup (#318)
* Bootstrap v2.3.1 -> v2.3.2

* Moved Font Awesome to its own file

* A quick patch to the labeler

* Bootstrap v2.3.1 -> v2.3.2

* http:// -> https://

* Update robots.txt
2022-10-03 21:30:44 +02:00
evrifaessa ba2cfcdcd1 Fixed tabs not rendering correctly 2022-10-03 21:18:12 +03:00
Michael Varrieur 9ee57d788f Remove additional mod_asset_url 2022-10-02 14:40:52 -04:00
Michael Varrieur 5c055fc0b3 Missed plugins in jGrowl path 2022-10-02 14:38:27 -04:00
Michael Varrieur 7f341f16ca Refactor OrderButton module to use asset_url more and mod_asset_url less 2022-10-02 14:31:41 -04:00
evrifaessa 5c49ffc65d Dropped the forum module. 2022-09-30 20:56:37 +03:00
AnyxandBenjamin Aerni 4e8d83eafb 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 <belleaerni@gmail.com>
2022-09-30 05:09:02 +02:00
DataLores 669b714202 Fix Invoice PDF Render with relative path logo
Bugfix from bb-1282. The system module prepends baseUrl when rendering the company[logo_url] value which is used in all html templates. This built-in PHP function strips the base url for the purpose of rendering an on-disk path for the image transform library used in the PDF module.
2022-09-25 20:05:45 -04:00
DataLores 9fb04bbaf7 BugFix Issue #262 Prevent cron from paying deposit invoice with credits (#265)
Deposit invoices types are generated during client add funds and should only be payable via payment gateways with valid transactions.
2022-09-25 11:12:43 +02:00
evrifaessa d3e57f41c6 Added markItUp again 2022-09-22 21:56:11 +03:00