Commit Graph

265 Commits

Author SHA1 Message Date
063c75809a more thoughts now we have a new CPU in mara 2024-03-10 13:40:23 +11:00
98d33b4880 have a solution for multi-select on tablet/phone now 2024-01-28 23:27:20 +11:00
a8ee7b4f89 added TODO for touch and multi-select 2024-01-21 18:14:53 +11:00
9c4da5ec6f add allow actions for wrong person to TODO 2024-01-01 11:49:03 +11:00
48353f0486 have changed the rotation code to use jpegtran so its lossless 2023-11-11 22:28:29 +11:00
024b99d313 added TODO re: newer pg/sqlalchmemy 2023-09-27 14:31:37 +10:00
21a16c3253 a few random new todos 2023-04-09 13:08:16 +10:00
2b478ed505 made SafePath and ensured initital paths and move_paths have valid paths, and all filenames have to be found via os.walk so should be impossible to write to parts of the FS that are unsafe 2023-02-03 16:57:39 +11:00
4b1bbcb2bf broad (small) changes to make style of all routes and jobs to be consistent, e.g. use underscords between words 2023-01-15 23:17:59 +11:00
f1c43906ab delete & restore files now clean up UI and dont reload page by default. For all moves/deletes/restores that start on a search view, they now reload the page instead of just cleaning up the UI as searching by name will cause the UI to need complex redrawing, easier to live with the reload for now 2023-01-15 13:32:25 +11:00
f875b50dc8 fixed BUG-114 -> only show path-specific existing options in movedbox. Added test doc to read to TODO 2023-01-13 16:48:35 +11:00
5c64470d38 reordered/rethink TODO 2023-01-12 17:19:37 +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
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
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
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
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
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
1afaa338a8 finished basic about page, and including 15 recent commits by default 2022-12-31 14:28:05 +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
b681ba8522 update 2022-12-23 13:42:17 +11:00
8fa93c0ecf added version to F/E todo 2022-12-23 10:52:14 +11:00
71ec54807a remove last remnants of Paths, now only 1 directory per path AND created a new db-container subdir that takes the latest postgres image and adds a crontab / uses cron to run a bkup_users.sh script that dumps the person, refimg and linkage table so that if we ever blow the DB away, we dont lose the users 2022-09-17 22:40:50 +10:00
c1bb0d3820 added todo for users.sql job 2022-08-06 12:12:19 +10:00
20c76609cd fixed up some missing try/excepts on os. calls 2022-08-06 12:02:10 +10:00
e1f0f54eee tweaked pa_exifautotran to only be called on jpegs, not all image types 2022-08-03 17:58:06 +10:00
8575423a7e BUG-103 thumbnails not rotating, fixed (was a Samsung dodgy photo, and over-caution util to rotate, fixed by tweaking my own verson of that util 2022-08-02 18:50:50 +10:00
5221e330c1 Fixed BUG-102 cant switch to folder view 2022-08-02 17:55:10 +10:00
a8af00fe66 big change to get metadata working fully in DB and on Filesystem, and recover from most common scenarios, improved GUI as well for allowing an immediate search after adding refimg as well 2022-08-01 23:44:38 +10:00
391b61f3c4 first pass at keeping overrides on face delete - should at least stop code crashing if you try to delete faces from DB and they still had a matching override 2022-07-28 21:23:34 +10:00
96810fa1e3 can now do an AI search if we add refimg to new/existing person, cleaned up that dialog to look better with buttons for those options rather than a link. Noticed BUG-100, 2 x mich in one image 2022-07-28 18:16:10 +10:00
6135481395 I think the 0 choices 0 files-havent seen it in months, let it go 2022-07-28 17:29:52 +10:00
750b903a9d using python unbuffered (-u) on job mgr to force output into log file 2022-07-21 22:56:50 +10:00
8646b3b8c2 quick fix/hack for unmatched faces 2022-07-19 21:23:32 +10:00
fd79ee2cf4 fix BUG-98 (user cancel of a job not dealing with dependant jobs) & constrain the width of the chosen face in DBox for overrides/create refimg 2022-07-19 20:45:54 +10:00
382647a91b now can create a new person and refimg from viewer - all works 2022-07-17 23:03:46 +10:00
fc62bd274e video tag in browser not dealing with mpeg1/2 is not a bug, its a potential todo item 2022-07-17 18:31:59 +10:00
cf1851fe85 updated several BUGS/TODOs in previous commits 2022-07-17 16:46:35 +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
3cd1bf056a added ability to auto-rotate jpegs as we import them. The auto-rotation uses /usr/bin/exifautotran which rotates losslessly, and we optimised to then not also re-rotate the thumbmail. This address a few bugs in the 90s, including the one where Mandys photos were not getting faces (they were rotated), and without really doing anything the odd one where we sometimes lost tmp_locn on first load after db recreation - I cant reproduce so ignoring it 2022-07-15 18:01:54 +10:00