Skip to content

Установщик BiStudent-Setup.exe и автоматические релизы - #25

Merged
Felorez merged 4 commits into
Felorez:mainfrom
logreus-cloud:feature/installer
Oct 19, 2026
Merged

Felorez merged 4 commits into
Felorez:mainfrom
logreus-cloud:feature/installer

Conversation

@logreus-cloud

@logreus-cloud logreus-cloud commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Что сделано

  • Установщик. installer/BiStudent.iss (Inno Setup) собирает BiStudent-Setup.exe: ставится без прав администратора и без .NET. Ярлык BiStudent запускает сервер и открывает клиент, на новой базе создаются демо-данные (teacher / teacher123).
  • Релизы. После каждого push в main CI собирает установщик и публикует релиз v1.0.<номер сборки>. Последняя версия всегда лежит по ссылке releases/latest/download/BiStudent-Setup.exe, в README добавлен раздел «Скачать».
  • Починка CI. В main падали OneOffSlotBecomesRegular и JournalWithAncientStartReturnsQuickly: тест ставил пару 8:00–9:20 на сегодняшний день недели, а демо-расписание в тестовой базе занимает будни 8:30–17:40, поэтому в будни сервер отвечал «У преподавателя уже есть пара в это время». Тестовые пары перенесены на вечер.
  • Регистрация лица с телефона. На селфи лицо занимает почти весь кадр, и YuNet даёт ему 0.6–0.7 при пороге 0.85, поэтому сайт отвечал «В кадре нет лица». Если на полном кадре лиц нет, детекция повторяется на уменьшенных копиях (640/480/320 px). Добавлен тест на лицо во весь кадр.

Проверка

  • dotnet build -warnaserror без предупреждений, dotnet test: 208 из 208.
  • Установщик собран локально и поставлен в тестовую папку: сервер поднимается, вход teacher / teacher123 работает, сайт регистрации открывается, BiStudent.exe --self-test даёт OK.
  • Шаг CI с Inno Setup и gh release проверится на первом push в main после слияния.

logreus-cloud and others added 4 commits October 19, 2026 11:53
Phone selfies on the registration site are scaled to 1280 px, and a face
that big gets a YuNet score of 0.6-0.7, below the 0.85 threshold, so the
site answered "no face in frame". When the full-size frame has no faces,
detection is retried on 640/480/320 px copies and the results are scaled
back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VKfFePzqcEUGQQ4JyA4NQn
The test server seeds a demo schedule on weekdays from 8:30 to 17:40.
Two tests created an 8:00-9:20 lesson on today's weekday, which collides
with a demo lesson of the same teacher on weekdays and fails with
BadRequest. They passed only on Sundays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VKfFePzqcEUGQQ4JyA4NQn
Every push to main now builds BiStudent-Setup.exe with Inno Setup and
publishes it as a GitHub release, so the latest version is always at
releases/latest/download/BiStudent-Setup.exe. The installer needs no
admin rights or .NET; its shortcut starts the server and opens the
client, with demo data on a new database.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VKfFePzqcEUGQQ4JyA4NQn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VKfFePzqcEUGQQ4JyA4NQn
@Felorez
Felorez merged commit d290d50 into Felorez:main Oct 19, 2026
1 check passed
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