This repository was archived by the owner on Feb 7, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 161
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-and edit NetworkTimingsParser.php
-added a test to check the operation of products and transactions between themselves
- the test works with the help of services
-add improvements to the method DEAL_PRODUCT_ROW so that it can use the currency
…l.get,crm.deal.productrows.get)
… это путем замены области видимости с private на protected в DealProductRowItemResult.php.(Так можно делать ?)
-delete var_dump
- edit method in DealProductRows.php(work)
- edit test (delete testBatch)
…(Теперь в тестах можем и указывать валюту или не указывать). - убрал лишние методы - поправил тесты - добавил в AbstractCrmItem.php остальные поля связанные с деньгами.
237 add phpmoney
The Request ID parameter is now included in query strings in addition to the header field for improved tracking. This change was made to accommodate for the current version of the Bitrix24 API that does not use Request ID from headers. A corresponding `getQueryStringParameterName` method was also added to the `RequestIdGeneratorInterface`. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Add Request ID to query string parameters
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
add windows platforms in unit-tests
# Conflicts: # CHANGELOG.md # src/Core/Batch.php # src/Services/CRM/Common/Result/AbstractCrmItem.php
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
…ifields 338 fix return type for crm multifields
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
change query string parameter name
New classes related to Catalog scope services have been created and integrated into the existing structure. This includes product-related result classes `ProductResult`, `ProductsResult`, `ProductItemResult` and service classes `Product` and `Batch`. Additionally, a `CatalogServiceBuilder` is added to construct the catalog service, and a `ProductType` enumeration has been defined to set product types. The commit also includes an update in the `CHANGELOG.md`. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Updated workflow configurations to support both Ubuntu and Windows OS. The changes cover PHPUnit tests, PHPStan, Vendor integration, and Integration tests by adding matrix-operating-system variables. These modifications also include updates in the supported PHP versions, and disabling the "fail-fast" strategy to ensure tests across all OS complete before reporting. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
This commit updates the PHP version requirement in composer.json to allow either 8.2.* or 8.3.*, reflecting its compatibility with both. Moreover, the README file has been significantly refactored, removing unnecessary content, correcting a typo, and reorganizing the architecture section. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
This update adds new catalog service-related functions in the CatalogServiceBuilder file and introduces several methods for product service. These methods include functions to add, delete, and retrieve products. Additionally, several integration tests have been introduced to ensure the correct functioning of these new methods. Also, an example phpstan static analyzer command's been added to Makefile, and PHP requirement has been adjusted to support PHP 8.2. Plus, the README file has been refactored for clarity and better organization. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Implement catalog scope services
306 beta 1
The data provider methods used in various test cases have been changed to static. This change was applied to "CredentialsTest", "ApplicationStatusTest", "ApplicationProfileTest", "DefaultRequestIdGeneratorTest", and "TimeTest". An additional command has also been added to the Makefile for running unit tests. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Constants in DefaultRequestIdGenerator were refactored to remove 'string' and 'array' type declarations. These changes conform to PHP constants declaration rules, which do not require type specification. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
The constant CRM_USERFIELD_PREFIX in the AbstractCrmItem class has been updated to remove the 'string' type declaration, in accordance with PHP's constants declaration rules which do not require specifying the type. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
The constant CRM_USERFIELD_PREFIX in the AbstractCatalogItem class has been updated to remove the 'string' type declaration, keeping in line with PHP's convention for declaring constants which does not require specifying the type. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
The release date for version 2.0-beta.1 in the CHANGELOG.md file has been updated. Additionally, the PHP support information has also been changed to reflect the added support for PHP 8.2 and 8.3, and the removal of support for PHP 8.0 and 8.1. Signed-off-by: mesilov <mesilov.maxim@gmail.com>
bitrix24-php-sdk beta 1 build
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
Symfony\Component\Uid\UuidrequirementsBitrix24\SDK\Application\Contracts, nowadded
Bitrix24AccountBitrix24\SDK\Core\Credentials\Scope::initFromStringBitrix24\SDK\Application\ApplicationStatus::initFromStringBitrix24\SDK\Services\CRM\Common\Result\SystemFields\Types\Phoneuser,user_basic,user_brief,user.userfieldandservices add scope user support
Bitrix24\SDK\Services\User\Service\User::fields- get user fieldsBitrix24\SDK\Services\User\Service\User::current- get current userBitrix24\SDK\Services\User\Service\User::add- add userBitrix24\SDK\Services\User\Service\User::get- get userBitrix24\SDK\Services\User\Service\User::update- update userBitrix24\SDK\Services\User\Service\User::search- search users\Bitrix24\SDK\Services\CRM\Contact\Service\Batch::update()for batch update contactsDealStageSemanticIdBitrix24\SDK\Services\CRM\Duplicates\Service\Duplicatex-request-idheader supportEmailPhoneWebsiteIMChanged
BatchInterfacerenamedto
Bitrix24\SDK\Core\Contracts\BatchOperationsInterfaceBitrix24\SDK\Services\Telephony\Requests\Eventsmoved to separated namespaces:Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallInitto
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallInit\OnVoximplantCallInitBitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallStartto
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallStart\OnVoximplantCallStartBitrix24\SDK\Services\Telephony\Requests\Events\OnExternalCallStartto
Bitrix24\SDK\Services\Telephony\Requests\Events\OnExternalCallStart\OnExternalCallStartBitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallEndto
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallEnd\OnVoximplantCallEndBitrix24\SDK\Application\Contracts\Bitrix24Account\Bitrix24AccountInterface:getContactPersonrenamed togetContactPersonIdgetApplicationVersionupdateApplicationVersiongetApplicationScopeapplicationInstalledapplicationUninstalledmarkAsDeactivatedgetBitrix24UserIdmarkAccountAsDeletedmarkAsActiveBitrix24\SDK\Application\Contracts\Bitrix24Account\Bitrix24AccountRepositoryInterface:saveAccountrenamed tosavedeleteAccountrenamed todeletefindAccountByMemberIdrenamed tofindByMemberIdgetAccountByMemberIdrenamed togetByMemberIdfindAccountByContactPersonIdrenamed tofindByContactPersonIdfindAccountByDomainUrlrenamed tofindByDomainUrlfindAllActivefindAllDeactivatedBugfix
ShowFieldsDescriptionCommandmetadata reader CLI commandApplicationProfilewith empty scopeCorewith auth attempt to non-exists portaletc
bin/console