|
|
7a17d91779
|
now use eval() for GetEntries*Fold*, and much better fix for bug where next/prev was breaking with inputs with spaces in names -- dont need those inputs anyway, JUST pass next or prev and the rest comes from pa_user_state now
|
2022-01-29 18:53:30 +11:00 |
|
|
|
8e82271e2a
|
start of noo for Search, and rewrite of GetEnt* to use eval(), search and flat done, but also fixed OLD bug I just noticed where prev/next buttons would not work when sorting by "A to Z", etc. as the value of the form.input has a space in it and serializeArray() was not dealing with it properly
|
2022-01-29 18:06:21 +11:00 |
|
|
|
8722448f2d
|
reorder
|
2022-01-29 08:20:15 +11:00 |
|
|
|
5d0cdec3ba
|
cleanup
|
2022-01-28 21:01:09 +11:00 |
|
|
|
fee993711f
|
hacked /files_ip for now, this whole page is a bit of a mess, not sure we keep it - and its a kludge to assume its in the file_ip path -- only will work if img is in import path and we are viewing in flat mode, but at least this means we dont break the app, just get a confused viewer message. Also use tmp_locn rather than face.locn for viewlist to fix BUG-82
|
2022-01-28 20:48:56 +11:00 |
|
|
|
9a480dccd8
|
update decision to ditch multiple dir per path
|
2022-01-28 19:59:37 +11:00 |
|
|
|
ec4747ba2e
|
added last_used to pa_user_state
|
2022-01-28 19:58:52 +11:00 |
|
|
|
3903f7704c
|
remove debugs, and added last_used to pa_user_state
|
2022-01-28 19:58:40 +11:00 |
|
|
|
f509786977
|
remove debugs, only calc num_entries in Flat view once
|
2022-01-28 19:57:48 +11:00 |
|
|
|
47039ec35c
|
partial fix for various BUGs with going past the end of a viewing list... we now keep num_entries (of files) in pa_user_state, and use it to stop going before first or past last entry, even from viewlist, so this fixes many isseus... Final bug(s) are relating to multiple Dirs in a Path and its feeling too complex for no real gain, going to remove the feature, but for now, this version works / can be made to PROD
|
2022-01-28 15:52:35 +11:00 |
|
|
|
297b12b2b1
|
fix bug where viewer does not disable ra / la if viewlist causes us to land on first/last image
|
2022-01-28 14:45:07 +11:00 |
|
|
|
52f6063bc1
|
remove debug
|
2022-01-28 13:26:22 +11:00 |
|
|
|
3acc967101
|
fix up not sending import/storage versions of noo/folders
|
2022-01-28 13:25:55 +11:00 |
|
|
|
0751cc6010
|
clarified bug-82, fixed issue with AI scan optimising still scanning when it should not, finalised back button work for view/viewlist
|
2022-01-27 21:44:29 +11:00 |
|
|
|
07b339f5ab
|
current, first_eid, last_eid now work for Flat view of Paths, folder view next
|
2022-01-27 17:06:31 +11:00 |
|
|
|
55724ccd59
|
removed use of last_entry_in_db (boolean) and replaced with use of current/first_eid/last_eid in PA_USER_STATE so it persists across reloads/back buttons, and allows full use of ajax data retrieval in the background for the viewer (so fullscreen stays across page loads), and the next/prev buttons are set on the image load, not after they have been pressed "one too many times"
|
2022-01-27 14:27:52 +11:00 |
|
|
|
08ca9b4e74
|
partial implementation of first_eid, last_eid -- I think the vals work -- they do for searches anyway, but not stored in pa_user_state yet
|
2022-01-25 00:48:14 +11:00 |
|
|
|
65ebfe2d31
|
DONE - todo to have force rescan delete face from DB
|
2022-01-23 14:54:49 +11:00 |
|
|
|
8ac9af7067
|
fixes for pa_user_state and distinct files fix bug-81 and old BUG-56
|
2022-01-23 14:44:57 +11:00 |
|
|
|
0f44af4ec3
|
clean up of unneeded viewing hidden vars, now we retrieve data from pa_user_state
|
2022-01-23 14:41:54 +11:00 |
|
|
|
868ae25e6d
|
quick fix for BUG-81 / need to test with PROD dataset
|
2022-01-23 14:41:32 +11:00 |
|
|
|
fe35ed0d02
|
final todo for today
|
2022-01-23 01:08:17 +11:00 |
|
|
|
4b89831e0f
|
remove debug
|
2022-01-23 01:08:00 +11:00 |
|
|
|
2e4b1ed9d2
|
defaults in PAuser include noo/folders for import/storage separated, defaults are stored into PAUser in DB, changable in GUI, used as the defaults for new PA_User_States. Also disabled search noo, search folders as they are hard-coded in the ORM retreive anyway
|
2022-01-22 23:26:14 +11:00 |
|
|
|
0f4632e240
|
changing options on files_*, search, also next/prev all now use POST->redirect model, so should allow back/forward browser buttons to work - commit so we can test in PROD
|
2022-01-22 21:36:58 +11:00 |
|
|
|
491663f1c9
|
update comment
|
2022-01-21 18:21:21 +11:00 |
|
|
|
b58afa3a5c
|
clean up of states, to support multiple searches/views, and this will at least work for back/forward in prod - I believe. Still needs defaults from prefs, AND, remove unneeded variables from template/* and set those default values based on prefs
|
2022-01-21 16:48:05 +11:00 |
|
|
|
a856bcd6b2
|
clean up of notes, comments, BUGs, etc.
|
2022-01-20 17:49:58 +11:00 |
|
|
|
3010f8b6f4
|
BUG-77 removed, if it happens again will look at it - I think it was a one-off DB artefact of moving versions. BUG-60 tightened up description, BUG-80 removed as a duplicate of BUG-56 -- just the newer form, and since States move its different again, just fix BUG-56 :)
|
2022-01-20 17:47:46 +11:00 |
|
|
|
9ca24358d0
|
fixed BUG-74 and 79 with new States model
|
2022-01-20 17:37:37 +11:00 |
|
|
|
78acb9bd66
|
big clean up of Options -> States, total rework, now actually handles pa_user_state -> States as Import/Storage/Bin/Search or View. If Search has orig_search_term saved. If view, has orig_ptype (and orig_search_term if orig_ptype is Search) -- removed OPT.paths -> these are now worked out when we GetEntries based on pa_user_state. This now allows us to GET all URLs for image viewing allowing me to use the back-button without issues in PROD - well we will see once I commit :)
|
2022-01-20 17:25:01 +11:00 |
|
|
|
5461cb4036
|
improve /view naming
|
2022-01-20 14:18:27 +11:00 |
|
|
|
2dab42d712
|
renamed pa_pref to better named pa_user_state, changed code to adapt and made new_view and viewlist work with newer Options/pa_user_state - still more work but it should be functional again
|
2022-01-20 14:14:14 +11:00 |
|
|
|
4fa7b4b2d3
|
renamed pa_pref to better named pa_user_state, changed code to adapt and made new_view and viewlist work with newer Options/pa_user_state - still more work but it should be functional again
|
2022-01-20 14:13:50 +11:00 |
|
|
|
94780119c4
|
back out new viewer, it does not work in PROD for storage at all
|
2022-01-20 11:37:55 +11:00 |
|
|
|
10e2c26159
|
add view_eids in pa_prefs for new GET viewer
|
2022-01-20 11:37:15 +11:00 |
|
|
|
30a2fa6d99
|
quick fix for view being a POST, its now redirected to a GET, but I want to fix up the viewlist properly as well, should work for now though
|
2022-01-20 11:26:09 +11:00 |
|
|
|
c800bebaab
|
fix syntax
|
2022-01-20 10:20:33 +11:00 |
|
|
|
758be89883
|
one more optim issue
|
2022-01-20 10:17:22 +11:00 |
|
|
|
4b8beb766e
|
I think this was my first sql alchemy :), using much better DB .one() method
|
2022-01-20 10:17:10 +11:00 |
|
|
|
fae1c0666d
|
more back-forward button cleanups
|
2022-01-20 10:16:38 +11:00 |
|
|
|
b5f6a33518
|
made stale jobs POST redirect to /jobs, more back-forward button cleanups and honestly a better Ux anyway
|
2022-01-20 10:10:32 +11:00 |
|
|
|
04726ed386
|
redirecting jobs to /jobs after they run, more work with back/forward
|
2022-01-19 23:16:54 +11:00 |
|
|
|
505a5fa813
|
made search a POST to /search be a redirect to a GET /search/<search_term> so that it works with back/forward buttons in the browser
|
2022-01-19 22:40:47 +11:00 |
|
|
|
a2091f0194
|
remove onpopstate stuff, and updated TODO with better way to deal with this
|
2022-01-19 21:18:50 +11:00 |
|
|
|
f8cff5f73e
|
make optimisation from scan do run_ai_on_path IF there are newer reference images than the last scan even if we dont find new files in the scan itself
|
2022-01-19 15:37:27 +11:00 |
|
|
|
2b923f0b60
|
fix BUG that made job mgr break in prod (with DEBUG not even defined, its now False in Prod)
|
2022-01-19 01:20:40 +11:00 |
|
|
|
2af93312e1
|
fix minor syntax, and make sure checkdups waits for getfiledetails not run_ai_on, to avoid the ai job failing due to no ref images, and then withdrawing the checkdups and the ai job cannot create a duplicate
|
2022-01-18 22:11:39 +11:00 |
|
|
|
5fee1b8e30
|
remove debugs
|
2022-01-18 22:02:47 +11:00 |
|
|
|
b327ddff7b
|
optimise to not go past scan job if it does not find any new files, also now print out if we find new files into scan log, fix up first attempt at debug being off/on with "production" or not
|
2022-01-18 22:01:39 +11:00 |
|