74647bcdfb
remove duplicate lines of code
2025-11-18 21:13:02 +11:00
0ee55ee73d
fixed BUG-143, disable next/prev as first thing we do when going next/prev Page
2025-10-28 23:04:33 +11:00
89e8c5d9f7
fix BUG-125: right-click changes highlight if its not in the highlight set
2025-10-28 22:31:15 +11:00
76b0745cc3
remove face data after transform (BUG-142), also only reset viewing image if we are viewing, and remove debugs
2025-10-28 22:16:26 +11:00
bc2d4384c9
fix BUG-141, crashing pa_job_manager when transforming a non-Image
2025-10-28 22:04:47 +11:00
d247ecec54
fix up bug where sucess used instead of success, also if we delete/restore/move a file from inside the viewer, then adjust the files* divs, and go out of the viewer (back/up) and show updated files div
2025-10-27 22:06:54 +11:00
bb43cc5623
new TODOs
2025-10-27 22:04:31 +11:00
a6edbd184b
fixed mistaken removal of shift/ctrl buttons on mobiles for file* views
2025-10-26 20:30:44 +11:00
09e7b8eea7
one more old BUG gone, reordered file
2025-10-26 20:30:22 +11:00
f2ef55a58a
cleaned up old bugs that are fixed by new entry_amendments logic
2025-10-26 15:55:13 +11:00
4d7f3dfed9
Fixing BUGs 144/145, (needed a parseInt), and force MovedBox path selection to Storage always - if moving from Import path, likely storing, if in Storage path, likely moving inside the Storage area, user can always override
2025-10-26 15:44:13 +11:00
4421da0d1d
make move_files have EntryAmendments, do not remove from the UI instantly, and handle just like delete_files, remove restriction on forcing the page to go back to / on search, with new logic its not an issue, also force MoveDBox to start with Storage path rather than another, MOST moves should be to Storage, but should tweak this to be the opposite of current path type
2025-10-26 13:32:31 +11:00
6eba21e028
added BUG-143 around fast page changes
2025-10-25 20:26:32 +11:00
9bdd9d5b78
revamp whole EA flow. Server created EAs when we do certain jobs (transform, delete_files, restore_files), then instead of faking amendments in the jscript, get job creation to return EA from job ORM, then check is now generic for end of any amendment job, and when it finishes, use that to clear our amendments in document, and redraw through normal UI code. No smarts in client, all driven by state from server, and if we reload a page mid jobs, it has required state, and because an amendment job is still progressing, it runs check code again
2025-10-25 18:21:28 +11:00
d3ae9b788f
make sure loading viewer for the first time add query param to get latest version of img, and when we leave viewer reset document.viewing
2025-10-25 18:18:58 +11:00
1396cbab78
added removeEntryAmendment() and call that when transform/delete_files/restore_files
2025-10-25 18:13:19 +11:00
b7500e5170
use throbber gray, rather than white
2025-10-25 18:12:32 +11:00
392708bad9
reformat
2025-10-25 18:12:15 +11:00
90b3fe4c2f
try to warm the cache to help with restart / traefik not noticing
2025-10-25 18:06:38 +11:00
bd6c9c1fbd
code formatting
2025-10-25 10:52:30 +11:00
56771308a6
updated BUGs in general to remove older / fixed BUGs relating to the confusion of current/eids, etc.
...
update amendments in tables.sql to include job_id in entry_ammendment
added amend.py to move amendment-related code into its own file when we create a job (NewJob)
and that job matches an amendmentType (via job_name or job_name:amt <- where amt relates to how we do a transform_image), then
we enter a new EntryAmendment pa_job_mgr knows when a Transform job ends, and removes relevant EntryAmendment
files*.js use EntryAmendment data to render thumbnails with relevant AmendmentType
if a normal page load (like /files_ip), and there is an EntryAmendment, mark up the thumb, run the check jobs to look for completion of the job,
removeal of the EntryAmendment and update the entry based on 'transformed' image
OVERALL: this is a functioning version that uses EntryAmendments and can handle loading a new page with outstanding amendments
and 'deals' with it. This is a good base, but does not cater for remove_files or move_files
2025-10-20 19:31:57 +11:00
905910ecf0
updated BUGs in general to remove older / fixed BUGs relating to the confusion of current/eids, etc.
...
update amendments in tables.sql to include job_id in entry_ammendment
added amend.py to move amendment-related code into its own file
when we create a job (NewJob) and that job matches an amendmentType (via job_name or job_name:amt <- where amt relates to how we do a transform_image), then
we enter a new EntryAmendment
pa_job_mgr knows when a Transform job ends, and removes relevant EntryAmendment
files*.js use EntryAmendment data to render thumbnails with relevant AmendmentType and
if a normal page load (like /files_ip), and there is an EntryAmendment, mark
up the thumb, run the check jobs to look for completion of the job, removeal
of the EntryAmendment and update the entry based on 'transformed' image
OVERALL: this is a functioning version that uses EntryAmendments and can handle
loading a new page with outstanding amendments and 'deals' with it. This is a
good base, but does not cater for remove_files or move_files
2025-10-20 19:23:52 +11:00
a38c54812c
use amendments to render throbber/grayscale
2025-10-20 19:23:12 +11:00
dc6b831481
remove overkill use of make_response
2025-10-20 19:16:25 +11:00
8969cd452e
for now, store away amendment types into dom for client-side additions - still working on right place for the additions
2025-10-19 11:29:52 +11:00
d65f3b32d3
pass amendmentTypes to client in query_data, make query_data single func to remove duplicate code, reference new amend.py for class defintions
2025-10-19 11:29:10 +11:00
0b0035d1d2
adding job_name into amendment type, and updating inserts to match
2025-10-19 11:24:54 +11:00
80ceb7aaed
removed __repr__ from classes in files.py, and added in sqlalchemy class and marshmallow schemas for entry amendments, then load amendments on get_entry_by_id - so any page load (first or next/prev) will see amendments, we then display them into the files list and now add a white circle inside the throbber and overlay that with approrpiate icon/image - all of which is taken from amendment type and eid. tables.sql also updated to create the amendment data, tweaked icons.svg to remove hardcoded-colours for flip_[vh]
2025-10-15 23:06:05 +11:00
9cf47f4582
removed __repr__ from classes in files.py, and added in sqlalchemy class and marshmallow schemas for entry amendments
2025-10-15 22:52:17 +11:00
a683da13cc
gave whole of TODO a once over, removed old stuff
2025-10-12 23:49:35 +11:00
9ffb704648
fix bug where AI search used wrong query as I rewrote the search_term and lost AI: now compares original / OPT.search_term. Also, the union/sql did not work with otdering, rewrote this to use python code to remove duplicates from the 3 separate queries and remove duplicates (if any)
2025-10-12 21:23:45 +11:00
27e06a9462
any change of opts needs to invaldiate cache
2025-10-12 21:22:14 +11:00
4556afb3bb
changed token word
2025-10-12 19:34:00 +11:00
0eee594206
fix up bug with cache not working when we change how_many
2025-10-12 19:33:12 +11:00
78b112d050
when we change file options, make sure we call correct query data function - search needs GetSerachQueryData
2025-10-12 19:31:45 +11:00
97e738dc13
implemented a quick cache for flat view
2025-10-12 16:29:39 +11:00
b61f048dec
reverted partial client side back button logic, but also now tested / validated if somehow we are in a flat view and ask for entries and dont get all of them back, or we are in folder view and we try to go into a folder or back up a folder and we get no data as someone deleted it since we made the view, so then show appropriate client-side errors
2025-10-12 16:02:21 +11:00
e3f6b416ce
forgot to add js_vers for search, fixed
2025-10-12 13:24:53 +11:00
0ac0eedef9
handle going into Dirs and back from Dirs by doing logic of parent dir on server side, only return eids, and get normal code to handle rendering, no specific get_dir_entries route -> its not get_dir_eids, and the rest is normal code. Much cleaner/simpler. At this point I think the major rewrite it functional, commiting before more testing and then merge code and removed firstEntryOnPage bug (its now pageList[0])
2025-10-12 13:14:53 +11:00
cb5ff7e985
comments for clarity of root_eid=0 meaning no entries
2025-10-12 13:14:13 +11:00
517b5c6167
made more of the javascript hopefulyl honour versions, sort of works, not fully deployed consistently but works well enough for home use in dev. Also tweaked how the layout looks on a phone so that la / ra buttons on beside the image. Still oddly needs me to shrink that page, but it is now visually right - odd
2025-10-11 15:02:58 +11:00
16d28bc02e
first pass of versioning, working for files.html only for now
2025-10-11 12:47:53 +11:00
da0019ecdc
adding a get_version function that gets the mtime of the jscript file and then lets us embed that into the
...
<script src=>
Note, accidentally committed, partially tested
2025-10-11 12:27:59 +11:00
e4bf9606b9
move functions to appropriate file location for files/view support js, commented them better, removed some dead code
2025-10-11 12:13:44 +11:00
3a053bea49
found new todo around going back in folder view and sort order
2025-10-11 12:13:17 +11:00
1e421c3f22
move jscript logic out of template/html, into jscript so we can keep all logic into the included file, then I can force version on it and stop caching issues in mobiles, and a shift-reload will also get new code, rather than a container restart even on desktops
2025-10-11 11:11:51 +11:00
346defde8b
added a functional (small) up button in the viewer, all works
2025-10-11 09:19:51 +11:00
6419e20d7e
updated as I have fixed the restore/del from the viewer
2025-10-10 23:14:15 +11:00
b51d9e1776
make delete/restore button in viewer be the right colour, and go back to / when the success for the delete or restore finishes
2025-10-10 23:13:03 +11:00
fa2197adbe
fix up bug where empty file_rbp did not work and displayed in the wrong div
2025-10-10 23:03:23 +11:00