Commit Graph
356 Commits
Author SHA1 Message Date
Belle Aerni 20c23b051e Invalidate existing sessions during PW reset (#1435) 2023-07-20 13:23:44 +01:00
Belle Aerni 325155bccd Fix minor errors (#1443) 2023-07-20 13:12:54 +01:00
Belle Aerni 9975f0c5d6 Minor improvements to the themes list (#1447) 2023-07-18 13:05:00 +02:00
Belle Aerni c83f80cc2d Fix / improve flawed email confirmation system (#1451)
* Fix / improve flawed email confirmation system

* Don't check email confirmation during login

This will prevent them from being able to change it if they had a typo and is not needed now that it's checked on page-load

* Removed the unneeded test
2023-07-18 13:04:39 +02:00
FOSSBilling BotandFOSSBilling Bot f5baf5d337 Update CKEditor and Related Dependencies (#1444)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-14 16:43:58 +02:00
Belle Aerni ee623529ca Minor improvements to cron (#1436)
* Minor improvements to cron

* I swear these tests are high sometimes

Seriously. Why did this check pass before?

* Update Service.php

* Update ServiceTest.php
2023-07-14 17:03:22 +03:00
FOSSBilling BotandFOSSBilling Bot f27b9f133f Update CKEditor and Related Dependencies (#1431)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-11 21:39:11 +02:00
FOSSBilling BotandFOSSBilling Bot 8f373d9afc Update CKEditor and Related Dependencies (#1425)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-10 20:46:12 -07:00
FOSSBilling BotandFOSSBilling Bot 677061075e Update CKEditor and Related Dependencies (#1417)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-07 15:14:48 -07:00
FOSSBilling BotandFOSSBilling Bot df136232c5 Update CKEditor and Related Dependencies (#1410)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-05 18:34:37 -07:00
Belle Aerni 5d862a7f18 Make tables sortable in the admin panel (#1406) 2023-07-04 14:35:44 +02:00
Belle Aerni b06d6b08f4 Fix resetting an ordered API key from admin panel (#1404) 2023-07-04 15:19:03 +03:00
Belle AerniandJohn @ S4 20e38a162f Exception messages cleanup (#1376)
* Misc exception messages improvements

* Cleanup / improve server manager exceptions

* Tests :)

* Some registrar exception cleanup

* Clean up payment gateway exceptions

* Some other misc improvements

* Update Resellerclub.php

* Fix typo in Namecheap error message

---------

Co-authored-by: John @ S4 <64874788+John-S4@users.noreply.github.com>
2023-07-03 14:54:23 -07:00
Belle Aerni 3dccf978ad Fix some malformed search statements (#1400)
* Fix some malformed search statements

* Fix these stupidly written tests
2023-07-02 22:55:56 +03:00
Guillaume ARNOUX 776af1750f ✨Add prefix for generated users (#1378)
* ✨Add prefix for generated users

adding a customizable prefix for users whose name is automatically generated during an order

* fix spelling mistake
2023-07-02 22:54:57 +03:00
Belle AerniandAbhishek Morla f6348643d2 Escape HTML in company info (#1401)
Co-authored-by: Abhishek Morla <abhishekmorla87@gmail.com>
2023-07-02 22:53:03 +03:00
Belle Aerni 52a53efa48 Cleanup the PDF generator code a bit (#1402)
* Cleanup the PDF generator code a bit

* Fixed a few var names I missed
2023-07-02 08:17:54 +02:00
Belle Aerni 06b010138c Allow IPs to be whitelisted from rate limiting (#1382)
* Allow IPs to be whitelisted from rate limiting

* Minor formatting change
2023-06-30 19:34:21 -07:00
Jaap MarcusandBelle Aerni 2ddb7438ee Limit "LIMIT" to numbers only + Disable upload theme (#1392)
* Prevent non numeric values being used in limits

Potential abuse for Sql injection
Only allow integers to be used


Adjust exception

* Disable upload assets via Theme pages

File upload was removed in an earlier PR

* Make sure the test run fine

* Fix the tests

* Use limit instead of per_page

* And another fix

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-06-30 22:51:50 +02:00
FOSSBilling BotandFOSSBilling Bot cf00611d45 Update CKEditor and Related Dependencies (#1389)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-30 22:00:45 +02:00
FOSSBilling BotandFOSSBilling Bot d232a88a54 Update CKEditor and Related Dependencies (#1385)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-29 13:57:16 -07:00
Belle Aerni 6548ae92e1 Created a new API key product type (#1272)
* Created a new API key product type

* Make the CI happy + a few minor fixes

* Improvements to the generation options

Plus generalized improvements to the config pages

* Fix my typo

* Final touches

At least, I hope they are the final touches. We will see after reviews :P

* Cleanup and minor improvements

* Minor fix

* Move to HTML email templates + add logo

* This doesn't / shouldn't return the ID anymore

It's no longer used as things were switched to the order ID

* Update the model to reflect DB changes

* Misc. cleanup + added some missing types
2023-06-28 11:14:20 -07:00
FOSSBilling BotandFOSSBilling Bot e0906d15cd Update CKEditor and Related Dependencies (#1381)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-28 16:12:23 +03:00
Belle Aerni 3752db5096 Beef up invoice & ticket hash generation (#1309)
* Beef up invoice & ticket hash generation

* Update test for the new length
2023-06-22 09:51:27 +03:00
Avaneesh Kumar 375bb1fe13 Add check for null value in isBirthdayValid invocation (#1354)
* if condition to check for null birthdays in /admin/client/update

* removing redundant null coalescing
2023-06-21 11:12:01 -07:00
Belle Aerni 789e57c89c Prevent deprecation errors when adding products to cart (#1340)
* Prevent deprecation errors when adding products to cart

* Minor fix
2023-06-21 11:10:57 -07:00
Avaneesh Kumar e4c68854f1 Renamed phonestate_cc to city in admin/client/update (#1352) 2023-06-21 10:55:06 -07:00
Belle Aerni ef0200c45a Fix disabling client signups / email changing (#1347)
* Fix disabling client signups / email changing

* Right - I needed to invert these params for the tests
2023-06-20 05:31:00 -07:00
Belle Aerni b9c35a1747 Replace Box_Session and improve session handling (#1332)
* Replace Box_Session and improve session handling

* Improve weights, capitalize class name correctly

* Make the tests pass, update the SQL structure

* Tweak to the fingerprint class, fix more tests

* Regenerate session IDs when logging in

* Improve readability

* Update ServiceTest.php

* Tweak weights and added Huntr badge to the readme

* Improve readability, add PHPDocs, and updated weight

* Update SECURITY.md
2023-06-19 04:14:29 -07:00
Belle Aerni c49beb0eb8 Replace default email templates with HTML ones (#1302)
* Start replacing email templates with HTML ones

* Updated some more

* Spelling

* Completed some more email templates

* Completed the rest of them

* Fix spelling

* Some minor fixes + improvements
2023-06-19 11:46:56 +03:00
Belle Aerni cde0f219f1 Fix order popup breaking Huraga layout (#1339) 2023-06-19 10:30:41 +03:00
Belle Aerni 6df45bab4c Fix & improve formbuilder layout + update last patch (#1324) 2023-06-13 19:07:16 -07:00
Guillaume ARNOUX e154086ec5 fix some input types (#1326) 2023-06-13 19:37:02 +02:00
Belle Aerni 9bf8c6875c Minor fix to the client update API (#1322) 2023-06-12 06:14:01 -07:00
Belle Aerni a02b1b32fe Re-check promo code validity during checkout (#1316)
* Re-check promo code validity during checkout

* Add tools mock to the failing test

* Properly resolve issue with the tests
2023-06-12 06:30:45 +02:00
Belle Aerni b65a75fcf7 Validate add-on configs before adding to cart (#1313)
* Validate addon configs before adding to cart

* Fix spelling mistake
2023-06-12 06:30:20 +02:00
Belle Aerni 64d60e254a Apply discount credits to account balance (#1312) 2023-06-12 06:29:09 +02:00
Belle Aerni b95f92554e Fix logical error in Servicedownloadable module (#1311)
* Fix logical error in Servicedownloadable module

* Fix the tests now
2023-06-12 06:28:36 +02:00
Belle Aerni 56a64fefdd Prevent checkouts with disabled products (#1308) 2023-06-12 06:28:00 +02:00
Belle Aerni 748d93e112 Prevent upgrade requests for invalid upgrades (#1310) 2023-06-11 19:33:20 -07:00
Jaap Marcus 8946f2c4f1 fix/do-not-translate-product_title (#1291)
return __trans(':product_title', [':product_title' => $product->title]);

is the same as 

 return $product->title);

And prevent users from making mistakes
2023-06-08 02:30:39 -07:00
Belle Aerni ddb1a48e7f Fix issues with updating clients (#1288)
* Fix issues with updating clients

* Remove accidentally duplicated line
2023-06-08 02:30:29 -07:00
FOSSBilling BotandFOSSBilling Bot 46b6d34a12 Update CKEditor and Related Dependencies (#1296)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-07 05:59:55 -07:00
FOSSBilling BotandFOSSBilling Bot 5f9a7497f5 Update CKEditor and Related Dependencies (#1290)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-02 14:47:48 +02:00
Adam Daley 3a37470e30 Improve Central Alerts Error Handling (#1271)
Improve Central Alerts error handling to prevent failure when remote system unavailable and from other potential system errors. Resolves #1270.
2023-05-30 16:46:32 -07:00
Adam Daley 0e5109a0a5 Refactor System Updater (#1252)
* Refactor System Updater

Refactor Box/Update to clean things up, merge related functionality, improve error checking, and move to FOSSBilling namespace.

Also refactor foss-update.php into core class, `UpdatePatcher`.

* Refactor file system actions to use Symfony Filesystem

Refactor file system actions to use Symfony Filesystem component, and declare all used resources at start of files rather than duplicating throughout.
2023-05-26 15:30:39 +01:00
FOSSBilling BotandFOSSBilling Bot 43874cab1e Update CKEditor and Related Dependencies (#1258)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-05-23 18:58:27 +01:00
FOSSBilling BotandFOSSBilling Bot bf15567cd4 Update CKEditor and Related Dependencies (#1254)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-05-23 14:14:10 +03:00
Belle Aerni 62f6feaef7 Minor improvements to the ticket view (#1251)
* Minor improvements to the ticket view

* Also make those only one table body

Makes the stripes more consistent and imo looks better this way
2023-05-20 14:20:50 +01:00
Adam Daley 8708d9d895 Fix error with PHPUnit tests (#1217)
Fix error with PHPUnit tests introduced by changes to `FOSSBilling\Validate` class.
2023-05-08 14:06:09 -07:00