Commit graph mt5-manager/main.py
Author SHA1 Message Date
dbed2c48f9 Edit article part 4, add testing section and screenshots
Article:
- edit all sections, shorten schema drift story,
  drop the useful-links and warning sections, keep first-level TOC only
- add "Тестирование" with three 750 px screenshots (docs/images)
- add "Содержание архива" with file versions

Code:
- ServiceStateWriter.mq5: use TERMINAL_DATA_PATH (portable-only), replace
  ExecutePragma() with DatabaseExecute(), use built-in
  ERR_DATABASE_NO_MORE_DATA, align comments with the article
- deploy_service.py: skip compilation when .ex5 is newer than the source
- bump versions: main.py 0.3.0, config.py 0.2.0, static/script.js 0.2.0

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:19:21 +03:00
98ea068262 Fix FastAPI/Starlette compatibility errors in main.py
Path()'s example kwarg is deprecated in favor of examples (list) in
the installed FastAPI version. Separately, the installed Starlette
(1.3.1) removed the old TemplateResponse(name, context) calling
convention entirely, requiring request as the first positional
argument instead of a 'request' key in the context dict - the old
form crashed index() with "unhashable type: dict" from get_template().
2026-07-27 13:17:22 +03:00
ab5af0bf82 Fixes
Код для /create пока тоже просто игнорируем, дойдем до него в пятой части цикла

Код в 56-58 main.py убираем, так как эта информация будет получена главной страницей через ajax-запросы

Формат времени везде сделаем в секундах, нам не нужна милисекундная точность
2026-07-27 12:34:18 +03:00
4e17cd52f0 Draft version 2026-07-25 20:52:51 +03:00
196f293699 Add comments 2025-11-20 14:02:48 +03:00
10e904932f Add comments 2025-11-17 21:13:30 +03:00
1f1d25c97a Move Config class to separate file 2025-11-11 12:15:50 +03:00
7146211ccd Add and rename config items 2025-10-30 09:59:38 +03:00
6452cd47b3 Add displaying information about instances 2025-10-21 16:08:01 +03:00
1716aa02ba Add collecting info via mt5 library 2025-10-16 20:41:52 +03:00
22fdc9551f Add docs for routes 2025-10-14 23:54:26 +03:00
824919d493 Add comments 2025-10-14 16:04:37 +03:00
1b4e35f9aa Add comments 2025-10-14 14:59:40 +03:00
1e7b1eb29b Add param name to routes /start and /end 2025-10-14 14:12:34 +03:00
00eeb2f761 Add separate files 2025-10-10 10:16:59 +03:00
cf7338f189 Add start/stop routes 2025-10-07 21:48:20 +03:00
0dd5fb2427 First viable version 2025-10-06 23:34:05 +03:00
1dfdcc6451 Add one GET-request handler 2025-10-04 15:10:53 +03:00
d0df6f0569 Revert "Draft version" to initial state 2025-10-04 12:27:40 +03:00
bc9e08c9e7 Draft version 2025-10-04 12:05:29 +03:00