-
Notifications
You must be signed in to change notification settings - Fork 1
Add application install #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
8b5f5e0
- Добавил сущность ApplicationInstallation.php
KarlsonComplete de8b7fa
- Реализовал большинство методов для сущности ApplicationInstallation
KarlsonComplete 235f52a
Добавил репозиторий и написал методы для ApplicationInstall
KarlsonComplete 848b1a2
Добавил 3 метку в домен
KarlsonComplete a943adc
Поправил сущности
KarlsonComplete ae6dde2
Маппинг сущности applicationInstallation
KarlsonComplete e12cf66
- Поправил сущность инсталяции
KarlsonComplete 34d49c0
- Тесты на репозиторий
KarlsonComplete 1f29be1
- Поправил домен и провел правки по комментам.
KarlsonComplete c58be6e
- Поправил тесты на репозиторий
KarlsonComplete da750c5
- Поправил тесты на репозиторий
KarlsonComplete cb71267
- Добавил юнит тесты из sdk
KarlsonComplete 5f04b1d
- Протестировал unit тесты.
KarlsonComplete fc85738
- Юзанул ректор и cs-fixer
KarlsonComplete edb04f3
- Юзанул ректор и cs-fixer
KarlsonComplete 5eef873
- Добавил в сущность метод для выброса события установки
KarlsonComplete 50e64f4
- Поправил тест на установку (включающий в себя аккаунт битрикс 24)
KarlsonComplete 6fe5e16
- Обновил тест на установку (включающий в себя аккаунт битрикс 24)
KarlsonComplete bb67297
- Начал писать тест переустановки приложения
KarlsonComplete a42d3a1
- Правки для теста переустановки
KarlsonComplete 231526f
- Правки по битрикс 24 аккаунту убрали (дату создания / дату обновлен…
KarlsonComplete 12c486e
Правки установки
KarlsonComplete 68f4056
Правки для установки
KarlsonComplete f5f72c3
Добавил деинсталяцию
KarlsonComplete 1aef0f8
Правки
KarlsonComplete 1782b40
-Ушли в аккаунте от applicationToken в методах installed/uninstalled
KarlsonComplete 0f6d191
-Добавили обработку события OnAppInstall
KarlsonComplete d0b6d5c
.
KarlsonComplete db88723
.
KarlsonComplete ff436cd
.
KarlsonComplete 93bf8a3
.
KarlsonComplete d454f71
.
KarlsonComplete 559a52f
Поправил тесты
KarlsonComplete 77c4196
Добавил док блок
KarlsonComplete c8a882c
.
KarlsonComplete 595dab7
Обновили методы в установщике.
KarlsonComplete 12dde13
Обновили методы в установщике.
KarlsonComplete 7e4eb8f
.
KarlsonComplete b854025
.
KarlsonComplete 93169ef
.
KarlsonComplete 76b386b
Ректор + Фиксер.
KarlsonComplete cdfc42a
-Поправил handler деинсталяции.
KarlsonComplete dace51a
.
KarlsonComplete bbf598e
.
KarlsonComplete 0fe2002
Дописал юнит тесты для установщика.
KarlsonComplete 1e13af8
Ректор + Фиксер
KarlsonComplete d273379
Правки
KarlsonComplete ded8f7a
.
KarlsonComplete 6fc9d0a
Правки.
KarlsonComplete 75c5ed4
Merge pull request #40 from KarlsonComplete/add-application-install
camaxtly File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
config/xml/Bitrix24.Lib.ApplicationInstallations.Entity.ApplicationInstallation.dcm.xml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" | ||
| xmlns:xs="https://www.w3.org/2001/XMLSchema" | ||
| xmlns:orm="https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> | ||
| <entity name="Bitrix24\Lib\ApplicationInstallations\Entity\ApplicationInstallation" | ||
| table="application_installation"> | ||
| <id name="id" type="uuid" column="id"> | ||
|
|
||
| </id> | ||
|
|
||
| <field name="status" enum-type="string" column="status" nullable="false"/> | ||
|
|
||
| <field name="createdAt" type="carbon_immutable" column="created_at_utc" precision="3" nullable="false"/> | ||
|
|
||
| <field name="updatedAt" type="carbon_immutable" column="update_at_utc" precision="3" nullable="false"/> | ||
|
|
||
| <field name="bitrix24AccountId" type="uuid" column="bitrix_24_account_id" nullable="false" unique="true"/> | ||
|
|
||
| <field name="contactPersonId" type="uuid" column="contact_person_id" nullable="true"/> | ||
|
|
||
| <field name="bitrix24PartnerContactPersonId" type="uuid" column="bitrix_24_partner_contact_person_id" | ||
| nullable="true"/> | ||
|
|
||
| <field name="bitrix24PartnerId" type="uuid" column="bitrix_24_partner_id" nullable="true"/> | ||
|
|
||
| <field name="externalId" type="string" column="external_id" nullable="true"/> | ||
|
|
||
| <field name="portalLicenseFamily" enum-type="string" column="portal_license_family" nullable="false"/> | ||
|
|
||
| <field name="portalUsersCount" type="integer" column="portal_users_count" nullable="true"/> | ||
|
|
||
| <field name="applicationToken" type="string" column="application_token" nullable="true"/> | ||
|
|
||
| <field name="comment" type="text" column="comment" nullable="true"/> | ||
|
|
||
|
|
||
| <embedded name="applicationStatus" class="Bitrix24\SDK\Application\ApplicationStatus"/> | ||
| </entity> | ||
| </doctrine-mapping> | ||
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
7 changes: 7 additions & 0 deletions
7
config/xml/Bitrix24.SDK.Application.ApplicationStatus.dcm.xml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" | ||
| xmlns:xs="https://www.w3.org/2001/XMLSchema" | ||
| xmlns:orm="https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> | ||
| <embeddable name="Bitrix24\SDK\Application\ApplicationStatus"> | ||
| <field name="statusCode" type="json" nullable="true" column="status_code"/> | ||
| </embeddable> | ||
| </doctrine-mapping> |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.