Commit Graph

315 Commits

Author SHA1 Message Date
05c08938d8 create build-time random string for SECRET_KEY for prod 2023-01-15 23:17:05 +11:00
ef9f26189a another large clean up of code, all POSTs are now using make_response() and returning json OR are for a form that flask handles with rendering direct html. Where there is a POST with json response, the jscript now calls CheckForJobs() to show it in the F/E. Removed several debugs. Fixed up undocumented BUG where import datetime was wrong, and prefix/suffix also to offer directories near the date of an image. Removed unused routes for clearing messages 2023-01-12 16:47:43 +11:00
a29cbb143c 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. Finally converted most of the older POST responses to formal json 2023-01-11 13:50:05 +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
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
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
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
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
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
fe1200ca65 add about template including 15 recent commits by default 2022-12-31 14:29:56 +11:00
1afaa338a8 finished basic about page, and including 15 recent commits by default 2022-12-31 14:28:05 +11:00
59de7c294b remove use of tmp_locn, use explicit coords, sizes - partial BUG-108 fix 2022-12-23 13:32:19 +11:00
dbcdfd44dd remove use of tmp_locn, use explicit coords, sizes - partial BUG-108 fix 2022-12-23 13:28:24 +11:00
ab6c91d540 use new face_top, etc. rather than tmp_locn, partial fix for BUG-108 2022-12-23 13:20:45 +11:00
6189b500c1 temp fix for another face_locn bug 2022-12-23 10:51:55 +11:00
93252a3fc9 no longer have fullscreen in pa_user_state 2022-09-22 14:24:34 +10:00
25919f5a5c fix BUG-104, dont process keybindings when DBox with text inputs is shown 2022-09-20 23:08:45 +10:00
d833f724f1 formatting 2022-08-03 17:54:16 +10:00
8646b3b8c2 quick fix/hack for unmatched faces 2022-07-19 21:23:32 +10:00
f62eaef1cd fixed BUG-96 (no longer wrapped name of file for image viewer) 2022-07-17 16:45:11 +10:00
3193b86f9f general clean up of lazy dt/dd tag use, also added estimate remainging in the dd for run time, rather than elsewhere 2022-07-17 15:57:22 +10:00
4f01125bcc improved login page to be responsive, also made pretty fname remove paths now we have only 1 imp/sto/bin path -- reduces fname size which is a small help to BUG-96 2022-07-16 17:10:05 +10:00
6d1801dce9 remove debug 2022-07-15 17:15:15 +10:00
3710b573ea added auto-rotate to settings, not used in job mgr yet 2022-07-13 00:26:24 +10:00
8921e5dbcd Fixed BUG-89 -- face_locn -> tmp_locn 2022-07-10 20:28:58 +10:00
1507addf38 quick add of row/container-fluid for margins - prob. should remove table too one day 2022-07-10 15:19:59 +10:00
b9465d6f8b spacing 2022-06-19 23:04:04 +10:00
b935aa8ab8 can now add/remove overrides (manual or no matchx3) in any sequence of load/reload, or back-to-back and it all works 2022-06-13 18:30:13 +10:00
83819a0cb3 minor clean-ups, link-primary now has cursor set via role=button (go figure?) and face distance is not undefined on override, its deliberately set to N/A 2022-06-12 17:09:45 +10:00
a53d4896b0 now have functional add/remove manual override to existing person 2022-06-11 22:41:31 +10:00
b0779c2704 reorder scans/db rebuild (affects dev only), also removed unmatched faces from prod until it works - newer view pref code broke it 2022-06-10 16:50:34 +10:00
18ec0f87f5 fixed BUG-86 - last places changed from locn to tmp_locn 2022-06-10 16:49:03 +10:00
e9ab49c60a with viewer, unmatched face now has img data / thumbnail, so we know what it really looks like when we choose to override - still major WIP, tables.sql also has some override types, but not convinced I have design yet 2022-02-06 23:21:23 +11:00
645d419748 moved JoblogSearch to internal/js/ as it does not need any jinja processing, added button and hotkey to show logs, and brief logs into dbox - it works, but needs prettying up 2022-02-06 11:36:25 +11:00
83eff02910 added plumbing for viewer to have a joblog search for the current file 2022-02-05 23:23:10 +11:00
8b3844d882 formatting 2022-02-02 21:11:29 +11:00
e26a731883 spc 2022-02-02 18:48:48 +11:00
79a817fa90 removed useless [0] for face_locn in refimg code 2022-01-31 21:08:33 +11:00
39781d8fe3 remove debug 2022-01-30 23:46:15 +11:00
e022b49a92 remove old route for /search and fix issue where searching for empty string was failing 2022-01-30 23:42:38 +11:00
c6efd29a48 removed fullscreen and added default_search_noo 2022-01-30 23:02:42 +11:00