Commit Graph

1158 Commits

Author SHA1 Message Date
2be2c504b2 Huge change, removed Status class and all "alert" messages are now shown as BS toast() and are via the DB and handled async in the F/E in jscript via Ajax. Fixed BUG-113 where toasts() were repeating. Removed many of the explicit alert messages (other than errors) and hooked {New|Finish}Job to consistently send messages to the F/E. Other messages (F/E without a job, like save settings) now use this model as well 2023-01-11 13:48:50 +11:00
829f38f223 added BUG-113: with a stale job, we keep checking each 1 second, and so we keep creating new status messages 2023-01-10 17:54:34 +11:00
dc96dce02d remove white space on status message 2023-01-10 17:47:33 +11:00
0784861331 added persistent and cant_close to PA_JobManager_FE_Message, used them from pa_job_manager to set status messages with persistence/close buttons appropriately for items like fix_dups/stale_jobs. When "fixing" now, the persistent Status message stays, but its now positioned approx. below the navbar on the right and is ok. Started on changing status to a more sensible naming conventions (away from alert to level) - more work to complete this 2023-01-10 17:45:02 +11:00
56c2d586b6 clean up how we create toasts() [no longer try to reuse dom elements, just add new ones each time], support persistent notifications and close button or not [via separate booleans], created a clear message route and use that now in templates/base.html to clear FE messages. This will break for check dups as I am not setting persistence / close buttons correctly for those jobs, that is next. Converted move_files to new format 2023-01-09 13:13:51 +11:00
1ba9bf4312 renamed toast.js to jobs.js and moved Job related calls to jobs.py form files.py AND get job.py to allow job_mgr msgs to go to F/E via a POST of /checkforjobs (picked up in templates/base.html). move files also calls new CheckForJobs() to pick up when move job finishes without needing a page reload 2023-01-06 17:37:15 +11:00
e1c0622be6 reordered todo 2023-01-05 21:02:00 +11:00
62f476e80f toast now used for JM messages that are successful, its a hack but good enough for now added TODO to do this all properly one day 2023-01-05 20:49:48 +11:00
a64b449327 created toast.js with a StatusMsg() func that dynamically adds toasts that can stack as we need more, and changed over code to use it 2023-01-04 23:36:20 +11:00
3384c5337a created toast.js with a StatusMsg() func that dynamically adds toasts that can stack as we need more, and changed over the move_files to use it 2023-01-04 23:33:01 +11:00
c3971eb495 first-pass of popups for job creation for more than just move files, and fix BUG-112 (after move highlighting is broken) 2023-01-04 12:26:25 +11:00
7e115902fc new BUG-112 - after move highliting is broken when I stay on the same page 2023-01-04 12:24:19 +11:00
0eeb68658b move files now has bs toast pop for success and stays on the page you are on for more moves 2023-01-03 22:46:29 +11:00
972eac5b5b first pass of move_files not redirecting to / and staying put for an other move_files, works, but needs success/toast 2023-01-03 15:48:13 +11:00
385a0ce17f popped PROD!!! just above DB refresh of prod command as a reminder 2023-01-03 15:47:37 +11:00
ae38307e5f better soln for BUG-109 proposed 2023-01-03 15:47:13 +11:00
022ec457a6 remove old "storage" directory from DEV and therefore from .*ignore 2023-01-03 15:46:48 +11:00
d136e9f4a1 consistent div/dl use (fix formatting of BUGs being too far left) 2023-01-03 12:58:49 +11:00
fd4f9905e1 using tabbed pane for the 3 different info parts on about, removed debugs, cleaned up ignore files to remove the new files for the about info 2023-01-03 12:08:57 +11:00
0684f4725a build process (via Dockerfile) now timestamps build and that is exposed on about page 2023-01-03 11:46:53 +11:00
be3e2ae19e improved about page to include BUGs and TODO, still better formatting required,and build date to be handled separate to last commit date 2023-01-03 00:34:03 +11:00
06846b86c5 fixed BUG-105, unmatched faces now ignores overridden faces 2023-01-02 22:42:22 +11:00
5db204d72c minor html fixup (div closing) 2023-01-02 22:42:04 +11:00
7d7f76ba33 about page now extends base (so has navbar -oops), and DEV finds last file change time 2022-12-31 15:54:25 +11:00
b952fe82f6 large refactor of code to use venv (in .python) for DEV, to use consistent python versions with PROD, sepcifically flask 2.2.2 to address the deprecation of FLASK_ENV -> replaced with ENV. Fixed up git and dockerignores to be more stringent 2022-12-31 15:42:03 +11:00
8232943621 added internal/git-log.txt to .gitignore if there in DEV for testing. Removed timezone from Date in About, and redid columns to 3 and 9 for better spacing in About 2022-12-31 14:35:52 +11:00
385665b702 BUG-111 also included a TODO for deprecation warning of FLASK_ENV, moved that to TODO list 2022-12-31 14:30:54 +11:00
fe1200ca65 add about template including 15 recent commits by default 2022-12-31 14:29:56 +11:00
2687be3979 also fixed BUG-111 (circular import issues which blocked git installation in Prod container) 2022-12-31 14:29:36 +11:00
1afaa338a8 finished basic about page, and including 15 recent commits by default 2022-12-31 14:28:05 +11:00
70c449d859 move the choices for AI models in SelectField to be delayed to when SettingsForm is created to avoid gunicorn barfing on init -- its all circular import issues I think, but this is bearable for now 2022-12-29 13:06:21 +11:00
9de6e21eaa made main() a func, not sure it matters tbh, also reordered an import, but to no affect 2022-12-29 13:05:19 +11:00
1da4f410fd fixed import of MovePathDetails to the rest of path imports 2022-12-29 13:03:02 +11:00
dc415c24f4 fixed upgrade / import issues, now upgrading and including git 2022-12-29 13:02:36 +11:00
b273cd2e25 spacing 2022-12-29 12:55:24 +11:00
ec95cbfd47 tinkering with git commit logs being stored during build, and hit a BUG - back to functional, but cant do git yet 2022-12-28 21:36:28 +11:00
dc80db45f8 revert tmp chg 2022-12-28 19:56:43 +11:00
adb344f2c9 tmp add TEST/ 2022-12-28 19:52:02 +11:00
c0fe5e6504 when we build, stick last 5 commits into a file for showing in F/E 2022-12-28 19:51:34 +11:00
063e3d1a04 quick test / reorder commands 2022-12-28 19:51:03 +11:00
2a1afce92a more info for BUG-109 2022-12-28 19:50:29 +11:00
a320f1e5e6 fix BUG-110 (Enter key not submitting MoveDBox 2022-12-28 13:58:03 +11:00
dba7efe94d update 2022-12-28 13:57:40 +11:00
2a1e2d7d5d cleaned up code around json, *locn -> transitioned to top, right, bottom, left to finally fix ORM replacing [ with { <- FIXES BUG-108 2022-12-23 16:18:27 +11:00
81fea4f6f3 remove temporary code to fix faces (move coords from locn to top, right, etc.) 2022-12-23 16:04:51 +11:00
46c0f3a06f remove temporary code to fix faces (move coords from locn to top, right, etc.) 2022-12-23 16:04:46 +11:00
6774bb101f extra details for BUG 2022-12-23 16:03:41 +11:00
405da8dc8f remove LOCN for BUG-108 2022-12-23 15:20:53 +11:00
20b656985f added BUG-109, add/del/re-add override and then rebuild DB from scratch causes duplicate/crash in pa_job_mgr 2022-12-23 14:52:02 +11:00
ac24c98bed store individual coords for face data - partial fix for BUG-108 2022-12-23 14:51:28 +11:00