Commit Graph

81 Commits

Author SHA1 Message Date
0bfd3b58b3 moved to storing DB ids rather than names of files/dirs for deletions 2021-02-14 16:18:22 +11:00
09d56c5cc5 added comments, also remove url_for on request.endpoint, was breaking when needing a param to be passed 2021-02-14 16:02:20 +11:00
27e881ea8c minor clean up on headings, alerts at top of /fix_dups route 2021-02-13 20:30:21 +11:00
49e0a5a797 now have a partial fix_dups path, it shows the content in a much more reasonable manner, and allows the GUI to select the files/paths to keep, HOWEVER, the form POST is not enabled, and I still need to process the form data -- right now, now sure how I know which files to delete vs keep -> will need hidden vars of options, not just the to_keep - then process them 2021-02-13 20:21:26 +11:00
1499f2ca61 fixed BUG-21: file stucture broken after rescan, and beginnings of new job for checking for duplicate files, and having the back-end job indicate to the front-end that there are duplicates, and the basic route is in the f/e, but not built yet 2021-02-11 20:09:24 +11:00
e6bc751844 added storage_path to settings 2021-02-09 19:37:30 +11:00
a2775baeeb trying diff size for sm-txt - better for larger monitor 2021-02-09 19:37:11 +11:00
b168b0c77b add year as path preprend for storage suggestion 2021-02-09 19:36:56 +11:00
893d48c8d5 using sm-txt to shrink action buttons at top of page, created basic move/del dbox to be more or less partially functional, without doing anything real 2021-02-07 20:44:55 +11:00
ca7064dd92 txt height modifier style for shrinking title bar text 2021-02-07 20:43:34 +11:00
6415b9d50d remove unneeded and complex jquery function 2021-02-06 17:02:46 +11:00
6b0a6f194e added in selection code, also temp disable of right-click menu for thumbs 2021-02-06 16:58:19 +11:00
dac9862171 created a highlight style in the bootstrap info colour 2021-02-06 16:20:47 +11:00
1e219fd2b8 now keep size over reloads of page, its hacky though 2021-02-02 01:15:28 +11:00
d4e3a1d93e use vars, not form to set initial form values, use new CreateSelect() to neaten up form creation, redo formatting to have 3 cols, left / centre / right justified, also disable prev button when offset is 0, to stop the button just reloading the same page over again 2021-02-02 00:24:47 +11:00
5703664019 changed to fixed number of images per load, rather than complicating with week/month/year retrieval 2021-02-01 23:13:38 +11:00
282c5ae721 fix up month, etc. view not having proper divs for heading rows 2021-01-31 18:32:30 +11:00
24437a5589 fix new bug where size button submits form and goes back to M with just return false on them 2021-01-31 18:29:42 +11:00
552ea7e614 keep last form values 2021-01-31 18:17:16 +11:00
2db7f59a40 made basic newest/oldest week/month/year part of gui actually retreive what we want, and have a title per grouping, but the grouping title is hard-coded for now, will need more data to do a better test, also hacky submit button for now until I decide how to enact the gui change requested 2021-01-30 23:26:52 +11:00
0c5654a45e first pass of new viewing files "button bar" 2021-01-30 15:39:55 +11:00
9d1370cd62 allow video files to be clickable, in FF it just works, imagine my chromes are just broke as they have partial nvidia optims that are broken 2021-01-29 00:10:05 +11:00
e3dcce4a53 if we have current_file_num > 0 but dont know total in num_files, at least show count to show progress 2021-01-29 00:02:56 +11:00
18b8a30140 Fixed BUG-11: we have changed to file_refimg_link table (from file_person_link), this means we now have some optimisations, and can definitely re-run AI jobs without crashing. Several optims could still be done - see TODO 2021-01-25 01:05:30 +11:00
42b4880b62 added basic view of which files were matched with which people 2021-01-22 21:14:17 +11:00
498e3d383f put menu item in for route to wakeup of job manager 2021-01-21 01:07:21 +11:00
f7a94f0b7d allow job log to have links embedded, and label num files when N/A better 2021-01-20 21:49:04 +11:00
6523500d54 use file progress as overall process in job list if applicable 2021-01-20 16:35:58 +11:00
0de95d56d5 fixed up JobExtra printout in class, also put it in job.py, and passed extras to templates/jobs.html to show the extra details on the jobs list page so we can see what path is imported for example 2021-01-20 00:05:56 +11:00
3a73b9546d KLUDGE around num_passes for now, jobs need a clean up before I finish the new wait_for jobs 2021-01-19 23:31:37 +11:00
31d45e80b6 moved over to new ENTRY based data structures for loading from DB and viewing content 2021-01-19 17:33:10 +11:00
2b9dedb9b9 change how we calculate active jobs, probably will remove it from pa_job_engine, safer with threads I think. But, mostyle, added in client / server socket comms between web FE and job manager, with better job creation message (including link to job detail) and when you view job detail it auto-refreshes every few seconds until job complete) 2021-01-17 12:35:28 +11:00
abff2d8bab finished moving GenerateFileData out of files.py into pa_job_manager.py 2021-01-17 11:31:06 +11:00
c5d8811671 actually create a job for scan now, and let the job manager do the work and send back output via new PA_JobManager_FE_Message table 2021-01-17 10:50:43 +11:00
e138ab22aa git commit, converted over to base.html pulling Status*, rather than every render_template calling it. Tightened up naming for job manager, fixed a few bugs in there with items like div by zero, created the active jobs link/badge in navbar, have it invoked each time by base.html template and it gets active jobs from DB, pa_job_manager now initiliases from an empty DB and can work out where it is at, no loop/thread/or actual job code yet. jobs.py has basics of a NewJob(), so next step is to force that job to be executed in pa_job_manager, but its tea time 2021-01-16 17:51:16 +11:00
2776fdc5b3 fixed bug with creating a person and seeing if they have a refimg yet, also tweaked formatting so when we have more than 5 refimages, they will look right in person.html 2021-01-15 17:22:22 +11:00
Cam
588980a260 Added the ability to add a reference image to a person, and connect the two in the db 2021-01-15 16:55:12 +11:00
Cam
7cda51c89b starting on doing AI with people and refimgs 2021-01-15 15:33:56 +11:00
665096f97d minor tweak to fix pixel alignment, its a serious hack, but it *seems to work 2021-01-15 14:44:31 +11:00
e884accd0a renamed importlog* to job* -- in db, python and html 2021-01-14 21:47:12 +11:00
2dc80d4399 import log lines also included, with appropriate DB / html 2021-01-14 12:09:32 +11:00
3684f279e4 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 2021-01-14 00:15:54 +11:00
2a7151dc66 tried to add a reference_images directory in git, that contains actual uploaded images and the modify/remove also deals with filesystem issues 2021-01-13 13:52:56 +11:00
5bf41ce6a8 token placholder for AI menu with html 2021-01-12 23:58:27 +11:00
ed3a85b8f0 added reference image class, also tweaked DB classes to have foreign keys, so you cant delete a person connected to a file (tested). Also made refimg class do some quirky bootstrap/jquery to get file dialogs not looking like crap 2021-01-12 23:58:12 +11:00
a3a95f636e now have a Person class & associated CReate/Update/Delete functions, and menu in base.html 2021-01-12 21:51:33 +11:00
2c170e2a9c not used anymore 2021-01-12 21:12:02 +11:00
684d057e59 added admin routes/code to allow a scan now and a forced scan 2021-01-12 18:45:13 +11:00
e83a40ee52 converted over to a flat settings table, no more key-value pairs of settings 2021-01-12 18:32:47 +11:00
86c7fbd0be made file_list.html better as well 2021-01-12 17:35:42 +11:00