84 Commits
Author SHA1 Message Date
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
Yağızhan d909d77f7e -Unnecessary whitespace in the class headers (#1219) 2023-05-07 13:24:29 -07:00
Yağızhan 412e4a9fbd Standardized the class headers (#1212) 2023-05-06 13:06:17 +01:00
Adam Daley e54569d2cd Introduce namespaces and strict typing for FOSSBilling library classes (#1206) 2023-05-04 01:02:06 +01:00
Adam Daley 053f22a8bb Remove Box DI class in favour of native dependencies (#1193) 2023-04-30 08:47:52 +01:00
Belle Aerni 0a5fb92b05 Various improvements to translatable strings (#1108)
* Various improvements to translatable strings

* Tests
2023-04-15 03:51:18 -07:00
Belle Aerni 9faa981c58 Replace usage of array_get (#989)
* 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 :)
2023-03-27 23:44:30 -07:00
Adam Daley 9fb19e02d7 Improve date/datetime format handling and customisability (#948)
* 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.
2023-03-24 23:16:07 +00:00
Adam de0bed20ec Replace various HTTP client implementations with symfony/http-client (#861)
* 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.
2023-03-15 11:11:28 +01:00
Belle Aerni edb163f442 BB_PATH --> PATH 2022-11-28 17:22:51 +03:00
Belle Aerni ee676ca33a Update file references 2022-11-28 17:22:50 +03:00
evrifaessa d6b79c6d4a Remainings of the SolusVM module. 2022-11-22 22:15:53 +03: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
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
evrifaessa db6a1946ce Updated tests. 2022-09-24 20:04:39 +03:00
Yağızhan b89d916471 Removed links and tests related to the file manager (#270)
* Removed mod_filemanager tests

* Removed link to the removed file manager
2022-09-19 22:05:55 +02:00
Yağızhan 2a5d525859 Updated tests (#177) 2022-07-22 12:35:03 +02:00
S4 Hosting b5427fdd46 Copyright and license notices changed to correctly comply with Apache 2.0 2022-05-31 14:51:44 +03:00
CatFlip™ 1dea204c0c Literal and link references
All literal ("BoxBilling") references and link ("www.boxbilling.org") were replaced. Also replaced all fossbiling.org "http://" by "https://"
2022-05-26 17:55:34 -05:00
andpavlenko 3380a10178 Task #1276 - Rename templates to native Twig extension 2022-04-21 13:49:37 +00:00
Yağızhan 97fc3f3079 boxbilling.com -> boxbilling.org 2021-10-16 13:08:49 +03:00
Benjamin Aerni eb1dcce42b Fix a couple obvious errors (#936)
Also deleted payza as it was shut down
2021-08-07 23:07:57 -07:00
samapraku 8a1718c606 Upgrade tests to PHPUnit 9 2020-08-18 21:12:03 +02:00
Vaidas Lungis 282ec40399 update Invoice doBatchPaidInvoiceActivation()
optimize for cron
2015-05-22 14:35:24 +03:00
Vaidas Lungis 5785d55d59 create test case for second domain product restriction.
related c6d1cc3728
2015-04-27 13:34:52 +03:00
Vaidas Lungis a87fdfdbfe calculate correct domain product starting price value.
Default product_payment  table record created after setup of new domain product.
2015-04-27 13:34:08 +03:00
Vaidas Lungis 1be4c40cb6 change MySql reserved words in table columns
Table mod_email_queue column "from"
Table mod_email_queue column "to"
Table queue  column "mod'
2015-04-20 13:45:28 +03:00
Vaidas Lungis 2b165891aa update tests after checkRequiredParamsForArray() refactor
[ci skip]
2015-03-30 12:44:49 +03:00
4Giedrius 3743ea64a2 $di['array_get'] default return value changed to null 2015-03-26 15:50:49 +02:00
4Giedrius dca4b89576 Integration tests updated 2015-03-26 15:36:28 +02:00
Vaidas Lungis 82664f4358 improve testOrderExpiration_SettingFrom_greater_ExpireIsGreater test 2015-03-25 11:38:46 +02:00
Vaidas Lungis 81d87b983a fix invalid db find statement
create integration client remove test
2015-03-16 13:35:08 +02:00
Vaidas Lungis 48615ee39f create test for deposit invoice "mark as paid" action 2015-03-16 10:03:35 +02:00
Giedrius 486f5079b7 Added missing DI in integration tests 2015-03-12 10:13:25 +02:00
Vaidas Lungis 72e80f8c0a update invoice onAfterAdminCronRun hook content
remove_after_days setting is set in settings table.
2015-03-09 10:56:06 +02:00
Vaidas Lungis 8611bd997e create tests from order settings Expiration date 2015-03-06 14:43:53 +02:00
Vaidas Lungis a6622c693d 4.15.5
update payment adapters

Conflicts:
	tests/fixtures/mod_invoice.xml
	tests/fixtures/transactions.xml
2015-03-04 18:08:53 +02:00
Vaidas Lungis ee487e2d49 add paypal duplicate transaction check 2015-03-04 17:17:57 +02:00
4Giedrius ccb3ac3b0e Removed testbecomePartner_Exception() method in tests due to cURL error it was causing 2015-03-04 12:31:52 +02:00
Vaidas Lungis 31ba57b407 Deposit invoice should be marked as paid and do not charge for it after transaction received 2015-03-04 12:05:12 +02:00
Vaidas Lungis 05ca95bc90 4.15.2
paidsupport module updates:
 - ticket price and error message configuration fields are required;
 - Set default values after extension install;
 - Delete extension config after uninstall;
 - Helpdesk must be selected to activate paid support.
 issue #271
2015-02-23 12:11:18 +02:00
Vaidas Lungis c6306ea759 helpdesk must be selected to apply paid support. 2015-02-23 10:55:55 +02:00
Vaidas Lungis 4fc32c3a06 Finish compatibility-MySQL-5.6
MySQL 5.6 versions default sql_mode value is STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION

Conflicts:
	CHANGELOG.md
2015-02-19 17:38:14 +02:00
4Giedrius 630335ff1e Integration tests added for updating tax rules 2015-02-18 16:26:43 +02:00
Vaidas Lungis 675393c891 Finish 4.14.6
fix public ticket staff issue
2015-02-18 10:16:50 +02:00
Vaidas Lungis 21acd9edcd runCrons() must use api_system instead of api_admin
issue with running cron via cron job
2015-02-17 09:31:13 +02:00
Vaidas Lungis c8abd00a3c add configuration to select helpdesk for paid support module 2015-02-13 13:55:54 +02:00
Raul Rodriguez 3fb3d32292 fix admin API currency_get() method return 2015-02-12 17:10:10 +01:00
Vaidas Lungis 5119de6bda create PaidSupport module 2015-02-12 09:30:58 +02:00