Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Conversation

mesilov
Copy link
Owner

@mesilov mesilov commented Jun 30, 2024

No description provided.

mesilov and others added 30 commits October 31, 2022 14:44
…tRepository

add contracts account repository for Bitrix24
…-root-folder

add security file in root folder
…iconnector

317 add new scope code biconnector
Signed-off-by: mesilov <[email protected]>
fix typehint in DealCategoryItemResult
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
Signed-off-by: mesilov <[email protected]>
mesilov added 9 commits July 25, 2024 01:38
Implemented detailed application installation status management in the `ApplicationInstallationInterface` with corresponding methods. Introduced `ApplicationInstallationStatus` enum to define possible states. Included updates to contact person handling and external ID management.

Signed-off-by: mesilov <[email protected]>
Introduced the ability to set and get the Bitrix24 partner ID for contact persons. Updated tests and documentation to support this new functionality, ensuring comprehensive test coverage and proper documentation.

Signed-off-by: mesilov <[email protected]>
Extended the ContactPerson entities and their respective tests to include the bitrix24PartnerId/UUid field. This change ensures that we can store and retrieve Bitrix24 partner UUIDs for contact persons, enhancing our data handling capabilities.

Signed-off-by: mesilov <[email protected]>
Implemented ApplicationInstallationReferenceEntityImplementation for testing ApplicationInstallationInterface. Updated ApplicationInstallationInterface with new methods for managing portal license family and users count. Added tests to validate the new implementation and methods.

Signed-off-by: mesilov <[email protected]>
Introduce validation logic to check the status before changing
application installation status to active or deleted. Also,
added extensive unit tests to cover these new behaviors for
better reliability and clarity.

Signed-off-by: mesilov <[email protected]>
Added precondition checks for application status changes. Enhanced documentation for clarity in interface methods with new constraints. Comprehensive tests for `markAsActive`, `markAsBlocked`, and other status-related methods were introduced to ensure correct behavior.

Signed-off-by: mesilov <[email protected]>
Initialize 'comment' to null, validate 'externalId' input, and introduce ApplicationInstallationRepositoryInterface for persistence operations. Added new exception handling for application installation not found scenarios. Includes in-memory repository implementation and associated tests.

Signed-off-by: mesilov <[email protected]>
Added a new method `getById` to `ApplicationInstallationRepositoryInterface`. Renamed the test path prefix to `Unit`. Included various new tests for application installations, updating and reorganizing the existing structure.

Signed-off-by: mesilov <[email protected]>
Introduced the `Bitrix24PartnerStatus` enum to define partner statuses, and a `Bitrix24PartnerInterface` to standardize partner management operations, including partner creation, status changes, and retrieving partner information. This standardization aims to streamline interactions with Bitrix24 partner entities.

Signed-off-by: mesilov <[email protected]>
@mesilov mesilov marked this pull request as draft August 5, 2024 20:23
mesilov added 5 commits August 6, 2024 23:00
Introduce Bitrix24 Partner entity classes and a repository interface with in-memory implementations for testing. Added tests cover save, delete, getById, and associated functions to ensure data persistence operations work correctly.

Signed-off-by: mesilov <[email protected]>
Locking the phpstan version to 1.11.7 ensures stable and consistent builds. This change avoids potential issues from future updates to the phpstan package.

Signed-off-by: mesilov <[email protected]>
Replaced Fabric::getLogger with Psr\Log\NullLogger in multiple InMemory repository implementations for consistent logging behavior in unit tests. Adjusted test suite configuration to display warnings.

Signed-off-by: mesilov <[email protected]>
Updated README for better clarity and readability by adjusting formatting and adding new sections. Improved instructions for running tests and included additional examples for application setup in Bitrix24.

Signed-off-by: mesilov <[email protected]>
…ts-and-add-documentation-for-use-cases

refactor app contracts and add documentation for use cases
@mesilov mesilov changed the base branch from master to 2.x August 6, 2024 19:55
mesilov added 12 commits August 11, 2024 01:40
Updated the release date for version 2.0-beta.3 from July 1, 2024, to August 15, 2024. Additionally, noted the migration from `DateTimeImmutable` to `CarbonImmutable` from the Carbon library.

Signed-off-by: mesilov <[email protected]>
Replace all instances of DateTimeImmutable with CarbonImmutable for improved functionality and better date manipulation capabilities. Adjusted corresponding function calls and tests to align with CarbonImmutable's interface.

Signed-off-by: mesilov <[email protected]>
Updated CRM models to include new discount-related fields and types. Improved type annotation consistency by switching to CarbonImmutable for date fields. Enhanced integration tests to cover new discount properties and validation.

Signed-off-by: mesilov <[email protected]>
This commit introduces new enums for CRM Activity types and directions. Also, it adds a data filter class to handle field exclusion by prefix, and updates integration tests to use these new enums. These changes improve the code maintainability and readability in the CRM module.

Signed-off-by: mesilov <[email protected]>
Introduced a new trait `CustomBitrix24Assertions` for verifying Bitrix24 API fields against PHPDoc annotations. Incorporated the new assertion in `ContactTest` and adjusted `composer.json` to include necessary dependencies.

Signed-off-by: mesilov <[email protected]>
Implemented API metadata attributes for service and method documentation. Added GenerateCoverageDocumentationCommand to generate API coverage documentation in Markdown format. This enhances maintainability and provides comprehensive API documentation automatically.

Signed-off-by: mesilov <[email protected]>
Added `ApiServiceMetadata` and `ApiEndpointMetadata` annotations to relevant classes and methods. Updated methods to handle system and personal notifications, including new functionalities for deleting and marking notifications as read or unread.

Signed-off-by: mesilov <[email protected]>
This commit deletes legacy example files and directories that are no longer needed. The removed files include outdated webhook, telephony, and workflow examples that had hardcoded values and were not aligned with the current project architecture.

Signed-off-by: mesilov <[email protected]>
Deleted outdated local application files including .env, activity-handler.php, and robot-handler.php. Updated README with detailed instructions and examples on working with webhooks and local applications. Added a new composer.json for dependency management in the local-application directory.

Signed-off-by: mesilov <[email protected]>
Relocated the "Sponsors" section to improve the document's structure. This ensures that sponsorship details are positioned closer to the contributors' section, enhancing logical flow.

Signed-off-by: mesilov <[email protected]>
Update CHANGELOG.md for new target release date
@mesilov mesilov marked this pull request as ready for review August 27, 2024 18:58
@mesilov mesilov merged commit af52132 into 2.x Aug 27, 2024
16 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

2.x issue related with 2.x sdk version improvement 💰 sponsored задача оплачена ⏳ WIP work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish bitrix24-php-sdk beta 3

1 participant