Commit Graph
5740 Commits
Author SHA1 Message Date
4Giedrius e22fa1a70e Finish 4.15.9 2015-03-23 15:39:17 +02:00
4Giedrius d561e568b4 Exceptions should be namespaced. Fixes #298 2015-03-23 15:39:06 +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 2509e2f032 Finish 4.15.8
update BoxBilling api.
2015-03-23 11:48:34 +02:00
Vaidas Lungis ee3a195524 fix BoxBilling api authorization 2015-03-23 11:44:17 +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 5a094f382a isset is not necessary as query will return array with needed array keys 2015-03-20 15:22:20 +02:00
Vaidas Lungis 3cb5b9a509 refactor News\Api\Admin:update() to decrease npath complexity 2015-03-20 15:19:34 +02:00
Vaidas Lungis a1ad4d5b59 refactor Currency\Api\Admin:create() to decrease npath complexity 2015-03-20 15:06:07 +02:00
Vaidas Lungis 2213b30bd9 refactor Forum\Api\Admin:update() to decrease npath complexity 2015-03-20 14:52:42 +02:00
Vaidas Lungis a21df3bc8d isset is not necessary as query will return array with needed array keys 2015-03-20 14:39: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 8c6008bbf0 use TRAVIS_TAG to get git commit tag
builds started to fail with error message "fatal: No names found, cannot describe anything."
develop branch does not have tags

http://docs.travis-ci.com/user/ci-environment/#Environment-variables
2015-03-20 08:19:09 +02:00
Vaidas Lungis 229851d651 do ant release on master branch only 2015-03-19 18:08:51 +02:00
Vaidas Lungis c3c2738c47 use TRAVIS_TAG to get git commit tag
builds started to fail with error message "fatal: No names found, cannot describe anything."
develop branch does not have tags

http://docs.travis-ci.com/user/ci-environment/#Environment-variables
2015-03-19 17:28:44 +02:00
Vaidas Lungis 2bc2b54381 fetch tags to get latest branch tag 2015-03-19 16:32:36 +02:00
Vaidas Lungis aad681b881 fix after runing integration tests.
added $this->di['api_request_data']->setRequest to Api_handler
2015-03-19 16:06:20 +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 84bd79e024 add per_page variable to article_get_list api call
issue #293
2015-03-19 10:35:19 +02:00
Vaidas Lungis a0e905949a code clean up 2015-03-18 17:28:18 +02:00
Vaidas Lungis 6e5919e427 set api in example module 2015-03-18 16:48:11 +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 5e119399b4 add Unknown api call exception 2015-03-18 16:02:29 +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 d154b96616 clean up code
Delete unused, commented code, inaccessible code
2015-03-18 11:29:47 +02:00
Vaidas Lungis ddfa2583d6 write tests for getSubscriptionFields, getOneTimePaymentFields, getInvoiceTitle 2015-03-17 15:18:48 +02:00
Vaidas Lungis 83c7aecd40 fix function name 2015-03-17 14:17:27 +02:00
Vaidas Lungis d188718063 update getHtml method 2015-03-17 14:14:20 +02:00
Vaidas Lungis fd6e34fe04 remove iframe width style if mobile browser detected
detection script from http://detectmobilebrowsers.com/
2015-03-17 11:21:46 +02:00
Vaidas Lungis e7b12103dc fix scrutinizer issues 2015-03-16 17:05:38 +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 1b456773d6 fix Undefined index warnings 2015-03-16 12:06:58 +02:00
Vaidas Lungis 48615ee39f create test for deposit invoice "mark as paid" action 2015-03-16 10:03:35 +02:00
Giedrius 4c922d62e9 Added @method annotation for magic method 2015-03-13 16:57:38 +02:00
Giedrius 45cb35de29 There must be no space before the colon in a DEFAULT statement 2015-03-13 16:57:37 +02:00
Vaidas Lungis 2a2abdd405 fix scrutinizer issues 2015-03-13 16:52:59 +02:00
Vaidas Lungis c9354904db fix scrutinizer issues 2015-03-13 16:30:36 +02:00
Giedrius 40c64fc47b Missing variable adedd 2015-03-13 15:49:40 +02:00
Vaidas Lungis 8f2fc3c7b6 Finish client-balance-gateway 2015-03-13 15:14:05 +02:00
Vaidas Lungis aa055419fe create new payment adapter ClientBalance 2015-03-13 15:03:44 +02:00