* When you press the "Mark as paid" Button on the invoice, you can now enter a transaction id.
If the Payment gateway of the Invoice is "Custom" and it's enabled, the transaction ID will be used to add transactions that add funds in the amount of the invoice to the customer. Then, it will be marked as paid, just like with any other payment provider.
* Added processTransaction method to the Custom Payment Gateway.
* Fixed tests by removing unnecessary tests for Payment Adapters that don't have the processTransaction method.
---------
Co-authored-by: Christoph Schläpfer <chris+github@cleverly.ch>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
* Reworked Password-Reset flow
- No more Passwords sent via E-Mail
- Correct redirects.
* Fixed spelling & last redirect
* Small fixes and updated tests for pw-reset-flow
* Fixed tests for pw-reset-flow
* Fixed tests for the Password reset flow
* Fixed typos, resolved Feedback
* Renamed event before password reset
* Renamed event after password reset
* Tweak a few comments, send the reset email instantly
---------
Co-authored-by: Christoph Schläpfer <c.schlaepfer@datact.ch>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Prevent browser access to cron and other files
* Prevent access to PHP files + enhanced htaccess
* Remove browser related stuff from cron.php
* Added the .htaccess file to our cspell ignore list
* This PR Fixes#1405 and adds the functionality to configure if the downloadable product should update all orders with the product, or not.
It's configurable per Product.
* Fixed duplicate ID in Installer
* Add words to ignorelist
* This PR Fixes#1405 and adds the functionality to configure if the downloadable product should update all orders with the product, or not.
It's configurable per Product.
* Fixed duplicate ID in Installer
* Add words to ignorelist
* Add words to ignorelist
* Cleaned up Code
* Improved readability
* More cleanup
* Cspell fix
* Fixed missing :
* Made update_prodcts default
* Removed field update from sql and updater
* Removed default option code from Product code
---------
Co-authored-by: Anuril <ta@TAPC01.localdomain>
* Apply PHP Code Styling & Quality Changes
* Delete these
* Update .gitignore
* Fixes for PHPStan
* Ignore spelling in the gitnore
* Allow null for that type
Honestly doing so makes ZERO sense, but it matches the current behavior.
---------
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* 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
* 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
* 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.
* Implemented Monolog
* Doesn't need to look for BB_DEBUG. It won't be logged on prod anyway.
* Doesn't need to be an array
* -Box_LogStream
* Reverted squash
* Fixed a duplicate
* Type hinting
* This got lost in a merge commit
* Kind of distracted today. Good thing squash and merge exists.
* Cleaning
* Rebased composer.json & lockfile
* Enabled the check again
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* Implement a custom autoloader
* Remove unreachable line
* Spelling
* I missed that
* Just use the latest version of PHPStan
* Also setup the autoloader in the installer
* Implemented classmap capabilities
* Remove debug line, add PHPDocs
* Typo 7 removing dead code
* Fix the installer after the most recent commit
* Remove outdated installation steps
And link to the website instead
* Excuse me. Formatting please?
* Introduce a cspell workflow
* Update cspell.yml
* Update cspell.yml
* Why is it seemingly ignoring the config?
* Waiit a min
* Fixed a bunch of spelling mistakes
* And set it back to incremental mode
* That is actually supposed to be spelled wrong..
Because BoxBilling :)
* Capitalization
* I swear I fixed this as well
* Update cspell.json
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* Rename htaccess to be applied automatically
Rename the htaccess file, improve handling when .htaccess is missing, and remove from .gitignore so that rules are automatically applied on supported web servers.
* Clean up .gitignore file
* Update .htaccess to improve security
Update .htaccess file to improve general security, handle missing mod_rewrite, and to simplify the required rules.
* Improve HTTP and generic error handling
Improve handling of HTTP errors, and make the error handling code more generic to permit catching more errors.
* Remove outdated example web server config files
Remove the outdated and unmaintained example web server configuration files in favour of FOSSBilling/config-generator.
* Remove support for non-search engine friendly URLs
Remove support for non-search engine friendly URLs as these are depreciated.
* Revert "Remove support for non-search engine friendly URLs"
This reverts commit 724b1eb274.
* Update config migration backup handling
* 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