|
|
ee1c9b5494
|
all override add and remove now use new datastructures, close to be able to test / augment as per TODO
|
2025-10-09 23:56:27 +11:00 |
|
|
|
071164d381
|
remove dead code
|
2025-10-07 23:42:17 +11:00 |
|
|
|
e5d6ce9b73
|
move MoveDBox into full javascript and fold it into internal/js/files_support.js, also remove unused parameter for MoveDBox, and use marshmallow to pass people in query_data - overall just cleaner more consistent code for existing functionality
|
2025-10-05 23:20:17 +11:00 |
|
|
|
e0654edd21
|
alter move_paths from a specific var passed in the render_template, to be folded into query_data var
|
2025-10-05 22:36:49 +11:00 |
|
|
|
24c2922f74
|
actually set NMO var based on marshmallow data
|
2025-10-05 22:21:57 +11:00 |
|
|
|
40f0b5d369
|
refactor most javascript code, moved what can be moved into files_support.js, made keydown() items only apply when I go to the viewer code
|
2025-10-04 23:25:46 +10:00 |
|
|
|
00e42447fc
|
make download link work with document.viewing rather than objs[current]
|
2025-10-04 10:43:00 +10:00 |
|
|
|
4138f392d3
|
clean up includes, double up of fullscreen var, and use of current still
|
2025-10-04 10:37:00 +10:00 |
|
|
|
b0c738fcc1
|
moved cFO() to changeOPT() into internal/js, transformed file_list_ip to work with new query_data model, made the Size buttons use modern bootstrap5 radio buttons and work again without the form for all file* routes. Removed a lot of dead code, moved code to resetNextPrev buttons to anytime we getPage, reducing code, handle setting OPT in jscript via a to_dict() for States. Overall, search and file_list_ip now work. Only main thing left is the override code
|
2025-10-02 23:11:14 +10:00 |
|
|
|
5a923359bc
|
remove dead viewing code
|
2025-10-02 17:54:31 +10:00 |
|
|
|
2e952deda0
|
added code to support changing noo/how_many/folders and do this with json data back and forth, update the UI, all works - only search is missing now. Lots of dead code can still be deleted
|
2025-10-01 23:48:19 +10:00 |
|
|
|
a0e06717ac
|
viewer now works for files_ip, still have broken bits everywhere - files_rbp, change_opts, do I want a back button? lots of dead/old code, probably cam move more js into *_support, and do I want to keep files_support separate to view_support
|
2025-09-30 00:29:11 +10:00 |
|
|
|
8e6342b627
|
quick add of files_div to be able to toggle beween files viewing and viewer itself, moved isMobile to support js, change eids to use query_data - for now, will remove when we consolidate to new approach
|
2025-09-28 21:48:11 +10:00 |
|
|
|
b67f2d9dcb
|
now allow files_sp paths to work (and support folders). Highlighting with folders is broken (likely dodgy ecnt). viewing still broken, but basic navigations is finally working with folders now
|
2025-09-27 12:42:01 +10:00 |
|
|
|
5842bf2ab8
|
set OPT values in jscript in files.html, added functions to draw figures on a page based on pageList (subset of entryList) & json data, and tweaked just grouping select as well to also use the draw figures func() in jscript. Needed to move out .figure click handler into the draw figures too. This is now semi-functional, images load, pages next/prev works, grouping works -- BUT only for files_ip -- folders wont work, search wont work, files_sp wont work, viewing a file wont work
|
2025-09-27 00:31:42 +10:00 |
|
|
|
be218c5049
|
first pass of using query data to allow display of files_ip only. Does use pass in list to do next/prev page (of the eids only). No images drawn at all. Definitely NOT, a usable version of PA at the moment
|
2025-09-26 19:32:09 +10:00 |
|
|
|
57e736a495
|
temporarily add some data capturing to dom for debugging, and remove superfluous condition in if
|
2025-09-20 14:47:52 +10:00 |
|
|
|
37c0125fbd
|
Fixed BUG-136, now can search with a * or % as wildcards, and fix bug where no search results broke pa
|
2024-12-31 15:13:17 +11:00 |
|
|
|
53ef671d34
|
added a isMobile() function that adds a shift and ctrl key to the files view, which can be clicked to fake a shift or ctrl key selection event on a tablet/mobile - first pass at this, its fairly usable. I might allow de-selecting the shift or ctrl key if they are pressed again before a selection is used, otherwise this is all functional. Note, I also changed the contextmenu to a click not mouse down on selection of an item in the menu. This is allows me to stop the propagation of the click event which was being trapped by the $(document).on( "click" ... and which we dont want - also exposes a BUG that when I click the context menu onto a different image it does not highlight the new image and some menu items process the original highlight, others the image under the context menu
|
2024-01-21 23:07:31 +11:00 |
|
|
|
262efd89d4
|
Fixed BUG-121: crashing when cannot find a match when searching
|
2024-01-01 11:49:41 +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 |
|
|
|
e26a731883
|
spc
|
2022-02-02 18:48:48 +11:00 |
|
|
|
24e49a613c
|
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:54:48 +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 |
|
|
|
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 |
|
|
|
fd16e80b78
|
tweaked bin icon for small/large displaying, added todo around viewing on phone and maybe datatables
|
2022-01-14 11:20:41 +11:00 |
|
|
|
27dadacd5c
|
add move on context menu for folders
|
2022-01-09 18:51:03 +11:00 |
|
|
|
fea5ae6c7d
|
set button state when choosing with right-click
|
2021-10-02 14:47:59 +10:00 |
|
|
|
3dafae334b
|
remove last remnants of rotate instead of transform, updated rot* svgs to have arrow point in direction of actual rotation, AND, fixed bug where when we rotate an image that has already had an exif_transform on it, then we have to do that and then the requested rotation - fixes why sometimes we rotate say 180 when we intended a 90 rotate. Also, when we transform, recalc md5 as file has changed
|
2021-10-01 22:16:28 +10:00 |
|
|
|
1685308430
|
add unknown_ftype - used for Unknown file types in viewer, or if no thumbnail for some reason & fixed issue with move_paths only working from button, not context menu
|
2021-09-29 16:56:10 +10:00 |
|
|
|
23c8d16a5b
|
fix BUG-64: can now move files into import or storage path
|
2021-09-26 21:14:08 +10:00 |
|
|
|
81264bd50d
|
stop trying to use loop.index for which ecnt, just use a dedicated var... stops the weirdness between folders/no folders when highlighting too -- fixed last bug with incorrect selections
|
2021-09-24 21:39:35 +10:00 |
|
|
|
d258c963f6
|
fix issue with OPT.how_many being an int, so it is not setting the "selected" string options in CreateSelect
|
2021-09-22 20:58:01 +10:00 |
|
|
|
a1f8afa781
|
AI submenu now has all at top
|
2021-09-22 19:19:21 +10:00 |
|
|
|
a67b0cc16c
|
Del key bound for delete on files page
|
2021-09-20 21:18:02 +10:00 |
|
|
|
ed04b5e92a
|
fix bug-59 - missing locn icon for videos, stupidly has a # in front of the filename!
|
2021-09-18 17:55:59 +10:00 |
|
|
|
10f8e4cc9d
|
aria-label to make lighthouse report better
|
2021-09-14 22:17:23 +10:00 |
|
|
|
479c6179c2
|
fix icon url needing to be passed as a jinja2 var
|
2021-09-05 22:23:08 +10:00 |
|
|
|
7c192b5d66
|
with MoveDBox going into js file, need to pass jinja2 var as a param
|
2021-09-05 21:34:13 +10:00 |
|
|
|
3472717d01
|
fixed BUG-44: quickly clicking in folder view can somehow end up with a view/<id> crash
|
2021-08-30 18:25:19 +10:00 |
|
|
|
10fcda0d7c
|
convert OPT from a dict to a class
|
2021-08-29 20:13:26 +10:00 |
|
|
|
1d3caf17de
|
complete rewrite of viewer, videos need to be fixed. Otherwise, viewer now loads entry data for all "how_many" images on the screen, and allows prev/next movement between images without a DB load for the current page of images, then as required, it will retrieve the prev/next "how_many" from the database via /viewlist route, and go back into view/<id> of the appropriate new image of the new list. Also prevents going below 0 and beyond end of DB for the first time.
|
2021-08-27 23:38:31 +10:00 |
|
|
|
652a89161d
|
include the js form the internal dir and viewer now has tooltips on buttons, and all buttons work, call the right javascript, send jobs to the pa_job_manager, and make image go gray with throbber, and on job completion, hide throbber, redraw the image in color and with the newly transformed image
|
2021-08-15 21:26:43 +10:00 |
|
|
|
59c72f9aee
|
moving to /internal for a js dir, icons.svg Ive built, etc. and added route in files.py, updates all html to use new path
|
2021-08-15 00:26:27 +10:00 |
|
|
|
b40ecbf208
|
put svgs in icons.svg and reference appropriately, still not happy with pa_logo, but otherwise all working
|
2021-07-25 13:19:01 +10:00 |
|
|
|
3757c942e6
|
more bootstrap 5 fixes
|
2021-07-22 19:54:18 +10:00 |
|
|
|
915063a7a7
|
semi fixed move dbox, the input group is still not right, but it will suffice, more use of svg and ditching font awesome
|
2021-07-22 00:50:45 +10:00 |
|
|
|
678e18b89d
|
disable next button when we have no more int he list -- doesnt deal with when we exactly land on the last image, and it seems we have 1 too many in the first set of images (have 10 on select, but see 11 on page - after next button though its 10 on the page
|
2021-07-20 19:08:32 +10:00 |
|
|
|
b9f05d64f8
|
okay this now works with bootstrap 5, I dont love the sz buttons / mixed black and white hover text needs love - probably own class with own styles, but I dont want to hard-code info color, need to work out how to do style / css using the right bs variable for info color
|
2021-07-20 19:03:14 +10:00 |
|