Commit Graph
496 Commits
Author SHA1 Message Date
Vaidas Lungis 5636f0848f refactor Servicehosting/Service::createServer to decrease npath complexity 2015-03-24 13:36:41 +02:00
Vaidas Lungis f87685baf7 refactor Servicehosting/Service::updateServer to decrease npath complexity 2015-03-24 13:30:53 +02:00
Vaidas Lungis 3766df064d refactor Profile/Service::updateClient to decrease npath complexity 2015-03-24 13:19:56 +02:00
Vaidas Lungis 718a014b55 refactor Product/Service::createPromo to decrease npath complexity 2015-03-24 12:40:07 +02:00
Vaidas Lungis 0c926e7824 refactor Product/Service::updatePromo to decrease npath complexity 2015-03-24 12:20:01 +02:00
Vaidas Lungis 2808e26310 refactor Order\Service:activateOrder() to decrease npath complexity 2015-03-23 16:33:59 +02:00
Vaidas Lungis caeef66961 refactor Order\Service:updateOrder() to decrease npath complexity 2015-03-23 16:06:29 +02:00
Vaidas Lungis 29bec44f57 refactor Invoice\Service:updateInvoice() to decrease npath complexity 2015-03-23 13:34:10 +02:00
Vaidas Lungis 6fdddccd93 Finish 4.15.8
update BoxBilling api.
2015-03-23 11:51:49 +02:00
Vaidas Lungis 9ce7cb75af refactor Email\Api\Admin:send() to decrease npath complexity 2015-03-20 16:53:08 +02:00
Vaidas Lungis b1ac6c5684 refactor Servicedomain\Api\Guest:tlds() to decrease npath complexity 2015-03-20 16:33:09 +02:00
Vaidas Lungis 229222ef83 refactor Currency\Api\Guest:format() to decrease npath complexity 2015-03-20 16:16:33 +02:00
Vaidas Lungis a1ad4d5b59 refactor Currency\Api\Admin:create() to decrease npath complexity 2015-03-20 15:06:07 +02:00
Vaidas Lungis 9d83d4bc1f refactor Client\Api\Guest:create() to decrease npath complexity 2015-03-20 14:35:35 +02:00
Vaidas Lungis 503d9d286b refactor Client\Api\Client:update() to decrease npath complexity 2015-03-20 12:56:34 +02:00
Vaidas Lungis 5467375430 isset is not necessary as query will return array with needed array keys 2015-03-20 10:42:48 +02:00
Vaidas Lungis aef2620bbb update Box\Mod\Kb\Api\Guest test 2015-03-19 15:54:37 +02:00
Vaidas Lungis afd10566f8 update Box\Mod\Kb\Api\Guest test 2015-03-19 15:54:02 +02:00
Vaidas Lungis 167f4edb61 Refactor Client\Admin\Api:update()
replace if statments with $di['api_request_data']
2015-03-19 15:49:25 +02:00
Vaidas Lungis c172a80e3e create Box\Mod\Api\Request class and add it to DI
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
2015-03-19 15:32:01 +02:00
Vaidas Lungis f3c64472c5 hash cron user password 2015-03-18 16:42:40 +02:00
Vaidas Lungis f5fcfd66df refactor $app->getApiAdmin to $this->di['is_admin_logged'] or $this->di['api_admin']
getApiAdmin() is deprecated
2015-03-18 16:34:50 +02:00
Vaidas Lungis 998ffd04c7 refactor $app->getApiClient(); to $api = $this->di['api_client'] or $this->di['is_client_logged'];
getApiClient is deprecated
2015-03-18 14:31:44 +02:00
Vaidas Lungis e4748de1c4 refactor $api = $app->getApiGuest(); to $api = $this->di['api_guest'];
getApiGuest is deprecated
2015-03-18 14:10:29 +02:00
Vaidas Lungis ddfa2583d6 write tests for getSubscriptionFields, getOneTimePaymentFields, getInvoiceTitle 2015-03-17 15:18:48 +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
Vaidas Lungis aa055419fe create new payment adapter ClientBalance 2015-03-13 15:03:44 +02:00
Vaidas Lungis 2ecde5cd45 create isInvoiceDepositType() 2015-03-12 18:08:03 +02:00
Vaidas Lungis 425ec293e6 fix unit test Warning: Missing argument 1 2015-03-12 14:25:51 +02:00
Giedrius 486f5079b7 Added missing DI in integration tests 2015-03-12 10:13:25 +02:00
Giedrius 69a082c7ae Domainservice hook test fix 2015-03-12 10:07:00 +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
Teodor 6e728d699c Update ServiceTest.php 2015-03-09 00:11:28 +02:00
Vaidas Lungis 8611bd997e create tests from order settings Expiration date 2015-03-06 14:43:53 +02:00
Vaidas Lungis b4ccfec5c3 remove deprecated code.
deprecated since 2012, v2.12.5
2015-03-06 14:08:52 +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 f890f5cfd7 add interkassa duplicate transaction check 2015-03-04 17:37:02 +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
4Giedrius c44bc2ed28 'Undefined' notice in unit tests fixed 2015-03-03 17:47:37 +02:00
4Giedrius c025f24840 When admin turns on email confirmation, old users will have to verify emails as well. Resolve #281 2015-03-03 17:47:36 +02:00
Vaidas Lungis 34c1ccae07 update unit test after removing BluePay adapter 2015-03-03 16:55:38 +02:00
Vaidas Lungis 87cf41126e fix undefined index in unit tests 2015-03-03 16:27:27 +02:00
4Giedrius 2eb22ff359 Test updated to match newest changes 2015-02-27 12:48:46 +02:00
Vaidas Lungis 9b755b966a fix #271 : funds are not added when admin marks invoice as paid
invoice type deposit
2015-02-26 10:56:35 +02:00
4Giedrius dbf15e8fc6 Finish 4.15.3 2015-02-23 16:23:18 +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 73111ee594 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:17 +02:00