Skip to content

Conversation

@mesilov
Copy link
Owner

@mesilov mesilov commented Oct 6, 2024

Q A
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #6 ...
License MIT

Кирилл Храмов and others added 6 commits September 8, 2024 00:01
Added a PHP CLI service definition in `docker-compose.yaml` and created the appropriate Dockerfile. Enhanced Composer dependencies and updated Makefile with new commands for initializing and managing the application containers. Updated `.gitignore` to exclude Docker database files.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
@mesilov mesilov requested a review from camaxtly October 6, 2024 16:07
@mesilov mesilov marked this pull request as draft October 6, 2024 16:08
@mesilov mesilov self-assigned this Oct 6, 2024
@mesilov mesilov added the enhancement New feature or request label Oct 6, 2024
@mesilov mesilov added this to the Bitrix24Accounts milestone Oct 6, 2024
@mesilov
Copy link
Owner Author

mesilov commented Oct 6, 2024

@KarlsonComplete забирает актуальную версию веточки и открывает PR на неё из своей

Updated the Bitrix24Account class with UUID and member ID properties, leveraging Symfony and Doctrine annotations. Additionally, replaced the deprecated SDK package and adjusted the PHPUnit testsuite configuration.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
mesilov added 14 commits October 7, 2024 00:49
Removed custom Docker configurations for nginx, PHP-FPM, and PostgreSQL to streamline the Docker environment. Introduced a centralized environment configuration using .env and Symfony Dotenv. Additionally, refactored the Bitrix24Account entity and its repository to enhance code maintainability and align with best practices.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Added /docker/postgres directory to the .gitignore file to prevent it from being tracked by Git. This ensures that local PostgreSQL database files are not included in the repository.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
This change integrates the Bitrix24AccountRepository with the Bitrix24Account entity. The repository will handle database interactions specific to Bitrix24Account instances. This update enhances the modularity and maintainability of the codebase.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Introduced `Bitrix24AccountRepositoryTest` to ensure the repository's correct functionality. Modified the Makefile to run the functional tests suite with more detailed output including warnings.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
The /docker/postgres directory is no longer required to be ignored by Git. This change ensures that any important files in this directory can now be tracked and versioned.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Standardize usage of EntityManagerInterface and improve type inconsistencies. Apply `#[Override]` attribute in tests, and add null checks and validation for better robustness.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Replaced the 'make lint-phpstan' command with a direct call to 'vendor/bin/phpstan --memory-limit=2G analyse.' This change ensures better control over memory usage and eliminates the dependency on the Makefile.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Replaced `make lint-rector` with `vendor/bin/rector process --dry-run` for better control and customization of the Rector tool in CI pipeline. This change ensures a direct invocation of Rector with specified options without intermediary make tasks.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Add a new GitHub workflow for functional tests with specified environments and steps. Update `docker-compose.yaml` to reflect the new PostgreSQL database settings. Rename existing workflows for clarity and consistency.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Replaced the "make test-unit" command with a direct call to phpunit in the GitHub Actions workflow for better clarity and control over the test execution. This change uses the phpunit command with options for test suite, warnings, and formatted output.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Modified the functional test workflow to drop and recreate the database schema before running tests. This ensures a consistent test environment and improves test reliability.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Changed the environment variable names from POSTGRES_* to DATABASE_* in the tests-functional.yml file. This ensures consistency with other parts of the project and provides more descriptive variable names.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Include essential environment variables for the PostgreSQL database setup within the functional test GitHub Actions workflow. This ensures the tests have access to the correct database credentials.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Implemented commands and handlers for InstallStart, InstallFinish, Uninstall, ChangeDomainUrl, and RenewAuthToken use cases. Added testing and improved event handling in Bitrix24Account class.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
Copy link
Collaborator

@camaxtly camaxtly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

02-02-2025

KarlsonComplete and others added 4 commits February 6, 2025 23:21
@camaxtly camaxtly marked this pull request as ready for review February 16, 2025 15:30
Copy link
Collaborator

@camaxtly camaxtly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

16-02-2025

@camaxtly camaxtly merged commit 9d32b7e into main Feb 16, 2025
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Написать инструкцию как собрать dev-стенд для разработки библиотеки

4 participants