* 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>
* 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
* Caught a typo
* New ExtensionDirectory class
* Tests
* Tests and error handling
* Stuff
* Literally the same outcome anyway. Will write this in the future.
* Removed tests for a function that does nothing
* "stable" -> "release"
* Fix misnamed exception errors
* Update class name to ExtensionManager
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* 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 :)
* Replace custom Twig bb_date/bb_datetime filters
Replace bb_date and bb_datetime Twig filters with format_date / format_datetime to better support i18n and customisability.
* Update templates to use format_date/format_datetime
Update all templates to use format_date/format_datetime (where appropriate and where not already used).
* Update locale configuration options
Update configuration options to include new locale settings, and ensure new options are used throughout.
* Add reset button to admin theme date picker
Add a reset button to the admin_default theme date picker to allow dates to be cleared, and fix an issue with Order module not allow blank dates. Resolves#938.
* Replace guzzlehttp/guzzle with symfony/http-client
Replace guzzlehttp/guzzle with symfony/http-client to standardise around one globally available HTTP client.
* Replace Box\Curl library and native cURL with symfony/http-client
Replace the Box\Curl library and native cURL with symfony/http-client to standardise around one well supported HTTP client, reduce unnecessary code, and improve compatibility.
* Remove obsolete functionality from Spamchecker module
Remove obsolete functions from Spamchecker module which depended upon cURL.
* Move RedBeanPHP to composer
* Remove missed references to rb.php
* This *should* fix the tests
* Update DummyBean.php
* Remove payment adapter tests
They.. honestly didn't test much and are proving to cause issues when moving rb.php to composer
* 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>
Similar to Box_Request.
Purpose - use it when need to get param item from api call request.
Instead of
$c1 = isset($data['custom_1']) ? $data['custom_1'] : NULL ;
Use
$ci = $this->di['api_request_data']->get('custom_1' [, $defaultValue]);
This way we can reduce nPath complexity