Commit Graph

160 Commits

Author SHA1 Message Date
d42ac8c8b5 string / int strictness issue causing default size to not highlight button - fixed 2021-07-16 17:52:31 +10:00
6e6f59fdd5 more cases of not using px explicitly not working, fixed for icon overlays on search/file view 2021-07-16 17:16:19 +10:00
f30ca16552 added viewnext and viewprev routes and plumbed these in to the file viewer code. Viewer code now works has a prev/next button, and handles videos 2021-07-15 20:23:02 +10:00
d03f5c99b0 added <!DOCTYPE html> 2021-07-15 20:21:52 +10:00
f394e39c2f refimgs now contain face, orig_w, orig_h and face_locns. This is done via json.* to allow arrays to be saved/loaded back into face_locn - not useful for refimg as there has to be only 1, but tested for images where there will be many faces. This commit has a fair few changes. So overall, no more refimg menus/creation. You now create a person (the add button is hidden until you save), when you save you go back to the person you created rather than the list of persons. From there you can click add ref img, and it will create a thumbnail, and draw a green box around the face locations based on the data. Persons can have many refimgs, and they will all work the same, be formatted prettily no matter how many you have. Each refimg "tab" not only has the thumbnail, but also a red X click to delete button that will remove all refimg data and connection to the person table too. This all works/is tested. 2021-07-11 22:35:59 +10:00
32209d9ba6 added tiny thumbnails to person list 2021-07-11 22:30:01 +10:00
3c56cac1ef fix up selections to work with ctrl/shift and right-click -- its a bit clunky but works, redid numbering to make that work and condensed down to 1 common code block for context menu for figures and dirs now 2021-07-06 17:40:53 +10:00
2e06c0b285 moved class Refimg to person, and ditched all other routes/direct access to ref images, they are only a part of Person in UI now 2021-07-05 16:51:44 +10:00
d3df3ad754 make it clear if we are on DEV or PROD 2021-07-04 20:06:04 +10:00
388c3eed9b reference images are now added in person.py (and removed) as buttons on person page. Will need to re-think the whole of refimg.py 2021-07-04 20:05:15 +10:00
c1177b7c0f if > 100 logs, truncate them and add button to show all logs, and stop auto-refresh too 2021-07-03 12:29:01 +10:00
f6a92d749f added really large amounts to dups to process at once, so we can still get them all on a page if we really want 2021-07-01 21:56:59 +10:00
1cfb07903b slightly improve ai stats 2021-07-01 21:54:26 +10:00
78713a6767 updated stats to use new face tables and be more useful now amount of matches is in the thousands 2021-06-30 14:28:15 +10:00
4cb10c4a6b started hooking up right-click menu for Dir and Files all the way through to calling the new ScanFileForPerson() - which is still incomplete but does use the new Faces DB linkages and functions 2021-06-28 18:52:05 +10:00
c-d-p
26ba27cc0d updated files.py and files.html to add a context menu submenu to look for faces in an image. Doesnt work yet, but the context menu works 2021-06-27 14:27:46 +10:00
ce296426ab login code 2021-06-26 16:48:15 +10:00
371e2af64b added python ldap / login pages 2021-06-26 09:20:11 +10:00
a412164ef7 moved styles to force folder naming correctly from base to files.html so that file_list.html didnt end up with crud. Also allowed move DBox to handle multiple storage paths and passes chosen (or only) storage path through to web front-end then to back-end job 2021-06-24 17:33:09 +10:00
a45e07ef34 moved styles to force folder naming correctly from base to files.html so that file_list.html didnt end up with crud. Also allowed move DBox to handle multiple storage paths and passes chosen (or only) storage path through to web front-end then to back-end job 2021-06-24 17:31:47 +10:00
82f6b915de use bg-secondary for withdrawn jobs 2021-06-22 21:18:24 +10:00
6c3cdf79eb force the figcaption to break long words (even without spaces) 2021-06-22 21:06:24 +10:00
5bca620006 only show error color on actual Fail, so New, etc. does not go red 2021-06-22 20:54:08 +10:00
b84c671690 use bootstrap to style job errors, not direct css 2021-06-22 20:02:23 +10:00
eb574e3c75 moved InitValidation checks to log to a Job to show errors in front-end, and moved the creation of the symlinks to the InitValidation so we can restart paweb docker container and it will recreate the symlinks in static without needing an import. Also added token highlighting of a failed job 2021-06-22 19:30:04 +10:00
4dd5cd2f29 fixed BUG-36: view details showing all entries -- its a bit crap as its only import dir, but its functional again 2021-06-22 18:31:57 +10:00
decbcaec9a file_{ip|sp|rbp} now use functions to view flat or folder, and consistently offer Oldest/Newest (per files) and A to Z, Z to A (dir and files)... folder view only does A to Z / Oldest as alpha sort for dirs (dirs dont currently contain date metadata, so unless I add it, it wont work and I dont really think its useful anyway)... BUT, its added to the TODO for another day 2021-06-22 18:01:15 +10:00
26cd851325 view by folder now has same width for back "button" (hacked width in fa-stack css from font-awesome to force width:2em from 2.5em) - also made figcation wrap to keep horizontal folder spacing - seems much neater 2021-06-21 18:26:18 +10:00
2762f58f98 added quickhack of buttons on bottom of page to make navigation easier 2021-06-19 23:28:43 +10:00
18b9ae59be redid accounting for duplicates with more details around manual choices and fixed up the file counts that were based on subtractions, its all now accounted and includes removal of duplicates in rare case of files in import path and more than copy in storage path being double-counted 2021-06-19 17:16:47 +10:00
f275da33e0 if you go into a new dir (up or down), offset is put back to 0 2021-06-18 01:05:06 +10:00
9e5e74bcdb making this look usable on ipad and okay on larger desktop browser 2021-06-18 00:40:40 +10:00
beb1ae6eb8 making this look usable on ipad and okay on larger desktop browser 2021-06-18 00:40:13 +10:00
f8a9f056ed fix bug where back button goes missing if you go into an empty folder 2021-06-17 19:54:09 +10:00
b09d19570f improved DBox images/html, improved look of MoveDBox, started plumbing for pa_job_manager to do actual moves, all the data is there, just havent performed the FS or DB move. cleaned up duplicated DEBUGS that are straight before AddLogForJob... tweaked TODO appropriately 2021-06-14 18:30:52 +10:00
7c3c8977d6 refined right-click seln. If you have one or more highlights, dont mess with them. If you have none, then select the one you are over. Also finished TODO for view details menu option 2021-06-13 22:14:35 +10:00
ae5fb0f747 fixed 3 BUGS: BUG-31: can post move/del/restore DBoxes without highlighted files/content; BUG-33: can call move/del/restore on mixed content - prob. stop it? (e.g right-click from search with highlighted files in both Bin and non Bin locations); BUG-34: shift-clicking (left or right) from a non-highlighted state does not add the shift-clicked item. ALSO removed ability to right-click change sel... 2021-06-13 21:35:08 +10:00
93d0eec00e FIXED: BUG-29: when delete/restore from search view the popup shows a path icon - in wrong spot, move it or lose it AND put trash icon back in alert for location when in Bin, restore icon in that context was wrong 2021-06-12 17:25:47 +10:00
f776a6a3c1 fixed up commit where I removed the data on the POST, so del/restore stopped working 2021-06-12 17:06:24 +10:00
471ed3c972 FIXED: BUG-30: when restoring, the OK button is red not green in dbox, added new BUG-32: sometimes still getting extra directories in Bin, that just have a trailing slash (or 2 or 3, etc.) 2021-06-12 16:36:40 +10:00
68f0fdcc33 only show meaningful extra job content on job summary page - for now path* only 2021-06-11 23:32:48 +10:00
c3398ef77a for now made del/restore force a reload of main page, it still does not show you created the del/restore job, but it is better than nothing. Also fixed dumb bug I introduced when handling trash/restore icons and moved an if rather than copied it between the alert for dir in and buttons for del/restore 2021-06-11 19:03:37 +10:00
2451d25a0c spelling fix 2021-06-11 19:02:22 +10:00
0b6acd1899 changed to consistently use restore instead of awful undelete 2021-06-10 17:55:44 +10:00
804c7cbf56 made trash icon be red/Delete or green/Restore for GUI, plumbed this through modified DelDBox() and hooked it all so that you can either click the button, or right-click context menu and you will get the right del/restore dbox and that routes through via ajax to the right URL and actually deletes/restores. Also tweaked right-click to start context menu so that it is also a way to alter highlighting -- this honours ctrl and shift too 2021-06-10 17:45:08 +10:00
7bbea21981 switched over to smarter context menu, hooked up delete button to ajax call, but not context menu yet - nor undelete. Made contextmenu detect path of object and del/undel appropriately, which also fixes a few quirks/bugs with no data in DB and trying to find the path of the first/non-existant entry 2021-06-09 21:34:16 +10:00
9676738bdc made dialog be 75-100% to better fit content, added upstream-d URLs for jquery contextMenu 2021-06-09 21:32:53 +10:00
824aae3f94 clicking on the bg removes selection/highlights 2021-06-09 18:06:57 +10:00
8e4b5fe09b minor formatting fix to make dbox work better 2021-06-09 17:57:58 +10:00
060cf8acd2 put beginnings of undelete in context menu -> does nothing as yet, nor does delete for that matter. tweaked the alert displaying folder we are in to better show path icon and location, added a disabled back button in folder view so actual folders dont jumped around when you go into the first folder and a back button used to appear. Peak into first entry to see if we are viewing a Bin path and if so, then we could use undel.... In hindsight this is a hack that needs to be thought through per file (when I search it will break), but its a start for now and shows the right context menu when viewing a specific path. 2021-06-08 21:16:49 +10:00