From 3684f279e4b13447d917097c775ce64b428056d5 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Thu, 14 Jan 2021 00:15:54 +1100 Subject: [PATCH] first pass of import logging, its not being used, data is in real tables, but faked. will probably have to switch to gunicorn and threading to allow import and serving pages when we use slower AI routines --- TODO | 15 ++++++++++ files.py | 1 + importlog.py | 59 ++++++++++++++++++++++++++++++++++++++++ main.py | 1 + settings.py | 4 +-- templates/importlog.html | 45 ++++++++++++++++++++++++++++++ templates/imports.html | 22 +++++++++++++++ 7 files changed, 145 insertions(+), 2 deletions(-) create mode 100644 importlog.py create mode 100644 templates/importlog.html create mode 100644 templates/imports.html diff --git a/TODO b/TODO index 3f6eff4..9710e80 100644 --- a/TODO +++ b/TODO @@ -7,6 +7,21 @@ ### UI * use native file dialog box to set import_path in a "settings page" * basic browse the import path + * some sort of log of import like: + +State: finding files / found X files / AI for +Progress: overall # of passes +Progress: X of Y files +History: +