* Remove payment gateways we can't really maintain
I've moved these to their own separate repos so others can easily contribute to them if needed, however since we can't (and don't plan to) maintain these, it's best to remove them from the main repo and no longer ship them with every installation.
The only known-working one is TwoCheckout which I'll get added to the extension directory
* Fix the tests
* Remove Virtualmin and ISPConfig Server Managers
These don't work correctly and we don't currently have anyone to maintain them. I've taken the current versions and moved them to their own repositories so work can be continued on them at any point, but there's no reason for us to include them for the time being.
* Remove the ignored error for ISPConfig 3
* 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>
* Add feature to hide public FOSSBilling version and Company information
* Cleaned up
* Added Test cases for Version & Company information
* Fixed Authorization Mock
* Fixed Tests so isAdminLoggedIn is false when testing Public Access
* Cleaned up
* Implemented Suggested code and fixed tests.
* Removed manual Version for API.js string and replaced with twig filter "script_tag"
* Added Twig filter for Version and replaced guest.system_version
* Added Message to Admin Settings
* Now let's do all of that, but better
- A filter is the wrong way to get the system version to the front end
- The wording in the admin panel for these settings didn't correctly describe what they did and they had poor grammar
- The version check should be returning a string, not an array & the code can be significantly cleaned up.
- Inverting the behavior of these toggles means that existing installations will continue to have the same behavior as before without us forcibly changing it. Otherwise, we need to introduce a DB patch to add the new values with them being on to match what was the old behavior.
- For new installations, we can pretty safely turn these options off to give a bit more privacy / security and allow them to be turned back on if wanted.
- New installations can keep the current behavior. We will highlight that this feature is added & if it's something the administrator wants, they can adjust the settings for themselves
* Cursed spelling *angry hand movements*
* That should have never been an array to being with
---------
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Apply PHP Code Styling & Quality Changes
* Minor fix to the order of operations there
This.. isn't actually related to the PR I am editing, but the change that Rector made caused this to click in my brain. Now it'll log the error and then display the message, rather than displaying the message and never logging the error
---------
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* 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>
* Fixed Passwort Reset handling so the message is the same whether the E-Mail address exists or not.
* Fixed spelling & Test
* Fixed Typo
* Improved Staff PW Reset handling and removed both Exceptions to return true
* Improved grammar & wording
---------
Co-authored-by: Christoph Schläpfer <c.schlaepfer@datact.ch>
Co-authored-by: Anuril <ta@TAPC01.localdomain>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Because the app was not yet completely loaded when the dependency injector was used, there was an error.
I had to replicate the function in the Client instance within App.php.
* Fixed unnecessary check for _api_config
* Fixed unknown variable _api_config
* Pass DI to API Controller
* Remove unneeded var
---------
Co-authored-by: Anuril <ta@TAPC01.localdomain>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Small security fix that removes the cleartext password from log files and the "onEventAdminLoginFailed" event
* Do it better and less wrong
---------
Co-authored-by: Anuril <ta@TAPC01.localdomain>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* impl invoice customizing
* use invoice object instead of variables
* impl fossbilling native functions
* rename some variables
* update twig template
* impl support for custom file
* remove comment
* use di twig
* remove var
* use native format_datetime from twig
* remove dependency to old html code
* fix logoSource not being defined
Commited from my iPhone
* Minor fixes and misc changes
---------
Co-authored-by: Belle Aerni <belleaerni@gmail.com>