Skip to content

Feature/launcher - #695

Open
J0shlerB0y wants to merge 138 commits into
developfrom
feature/LauncherUserManagement
Open

J0shlerB0y wants to merge 138 commits into
developfrom
feature/LauncherUserManagement

Conversation

@J0shlerB0y

Copy link
Copy Markdown
Contributor

No description provided.

 Views больше не регистрируются, они разворачиваются через DataTemplates в LauncherApp.axaml по типу VM

Корневые страницы (Login, DataBases, BaseManagement, UserManagement) добавляются при создании и не удаляются. Дополнительные страницы добавляются в конец через PushPage и удаляются PopPage/PopToRoot

 и прогресс создания базы
перевёл обратно на старый маппинг страниц
Делает то же, что MySqlDbCreateModel
для MariaDB, но физически выполняется на стороне облака:
первый gRPC-вызов CreateDataBase создаёт пустую схему;
второй FillDataBase прогоняет SQL-скрипт и шлёт
 прогресс назад. Каждое сообщение стрима транслируется в
 IProgressBarDisplayable, поэтому wizard-страница лаунчера
 выглядит идентично сценарию с MariaDB.

разделил интерфейс создания базы, для гтк, и ее наполнения моделью
…одействия

Адаптер, превращающий пару (CreationScript, UpdateConfiguration), которые исторически регистрируются в Autofac-контейнере проекта-потребителя как AsSelf, в реализацию IDbScriptsConfiguration. Нужен для GTK-десктоп-флоу: UpdaterDBAutofacModule → UserCreateDbController → MySqlDbCreateModel требуют IDbScriptsConfiguration, а сами приложения по-прежнему поставляют только CreationScript/UpdateConfiguration
Адаптер избавляет их от необходимости менять регистрацию контейнера
UpdateConfiguration опционален — если приложение его не регистрирует, отдаём пустой

 Конструирую MySqlDbCreateModel в UserCreateDbController явно — без Autofac TypedParameter, которым раньше прокидывался IDbCreateController. Теперь модель получает все сессионные зависимости в свой ctor.
убрана многопоточность и асинхронность, настроена конфигурация наличия возможности создать базу и мелкие доработки
IDbCreateController нигде не используется кроме UserCreateDbController.cs и тестов, так что его можно удалить
для импорта экспорта и открытия сессии для наполнения базы
commit a3639bf
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 31 11:51:24 2026 +0300

    тесты на phone и убрал с productId

commit cf079d3
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 31 11:50:48 2026 +0300

    удаление productId из пользователя

    +доработка phone

commit 87aa8e9
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 31 11:48:34 2026 +0300

    обновленные тесты облака

commit b203906
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Sun Aug 30 23:42:53 2026 +0300

    переработал бул занятости

commit 84984d5
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Sat Aug 29 13:19:49 2026 +0300

    launcherUsers единая последовательность и батчинг

commit f76004f
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Sat Aug 29 11:18:23 2026 +0300

    убрал LauncherColumnMapper

commit d465800
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Fri Aug 28 23:43:15 2026 +0300

    тесты доработки свободного и интеграционных

commit 94ba1c3
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Thu Aug 27 17:23:56 2026 +0300

    тесты доработки и дополнения

commit 5dc8b35
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Thu Aug 27 17:23:42 2026 +0300

    тесты на обработку ошибок

commit e66dd51
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Thu Aug 27 17:19:54 2026 +0300

    обработка потоковых ошибок и ошибок в dispatcher

commit d77e4b2
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Tue Aug 25 17:46:32 2026 +0300

    доработка

    по консистентности юзеров в метабазах

commit 005470e
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Tue Aug 25 16:48:45 2026 +0300

    доработки по синхронизации

commit 215f3e4
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 24 17:27:26 2026 +0300

    тесты на новые вьюшки

commit 9ff7d59
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 24 17:27:08 2026 +0300

    вьюшки для новых галочек

commit 079b53e
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 24 16:38:20 2026 +0300

    Update Privileges

commit 49f0b05
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 24 16:32:10 2026 +0300

    уменьшение тестов лаунчера с MariaDb

commit f34d922
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 24 16:29:41 2026 +0300

    переработка тестов облака

    сделал их значительно меньше

commit ad5c282
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 24 14:54:15 2026 +0300

    обновление прав на синхронизацию

    только админ со всеми привилегиями может видеть все базы, и не сможет затереть базу которую просто не видит, а не которой нет

commit 6d2f910
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Mon Aug 24 14:53:02 2026 +0300

    убрал ненужные поля, реальная сущность на метабазу

commit cfd566b
Author: J0shlerB0y <86416124+J0shlerB0y@users.noreply.github.com>
Date:   Fri Aug 21 20:50:21 2026 +0300

    тесты
@gitguardian

gitguardian Bot commented Sep 1, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
36471137 Triggered Generic Password 00b39be QS.Launcher/ViewModels/PageViewModels/UserCardVM.cs View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Comment thread QS.Cloud.Client/DataBase/QsCloudConnectionTypeBase.cs Outdated
Comment thread QS.Cloud.Client/QS.Cloud.Client.csproj Outdated
@J0shlerB0y
J0shlerB0y force-pushed the feature/LauncherUserManagement branch from a015088 to 897f6c0 Compare September 1, 2026 15:02

@Gankov Gankov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Посмотрел изменения по лаунчеру. Оставил замечания по обработке отказов, смене пароля, правам и нескольким граничным случаям.

Comment thread QS.Launcher/ViewModels/PageViewModels/Database/DatabasesVM.cs
Comment thread QS.Cloud.Client/DataBase/QSCloudProvider.cs Outdated
Comment thread QS.DbManagement/MariaDb/MariaDBProvider.cs
Comment thread QS.Launcher/ViewModels/PageViewModels/UserManagementVM.cs Outdated
Comment thread QS.DbManagement/MariaDb/MariaDBProvider.cs
Comment thread QS.Cloud.Client/Database/QSCloudProvider.cs
Comment thread QS.Updater.DB/DBScripts/Controllers/UserCreateDbController.cs Outdated
J0shlerB0y added a commit that referenced this pull request Sep 4, 2026
J0shlerB0y added a commit that referenced this pull request Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants