Commit Graph

  • 13aab072db use full path for current_file I think its more meaningful, and also extra optimisation - if same md5 hash, dont redo thumbnail Damien De Paoli 2021-09-21 13:46:22 +10:00
  • 68b84a2b07 prevent div by zero error, when job is > 5 minutes, and no progress yet Damien De Paoli 2021-09-21 13:45:45 +10:00
  • 9f90cdaaac fix up all the dumb bugs I introduced and clearly never tested when I tweaked the remove file/dir after if you move files on the FS out from under PA Damien De Paoli 2021-09-21 00:37:39 +10:00
  • 79c7e5a2a8 dont offer force scan delete data & rebuild in PROD - wont do that again Damien De Paoli 2021-09-21 00:36:55 +10:00
  • 7a370a62cf might fix gif thumb bug Damien De Paoli 2021-09-21 00:36:28 +10:00
  • a67b0cc16c Del key bound for delete on files page Damien De Paoli 2021-09-20 21:18:02 +10:00
  • 0d9d1c01db remove prints Damien De Paoli 2021-09-20 21:10:14 +10:00
  • de6ba62b67 user prefs now in table (per user/path combo) and works Damien De Paoli 2021-09-20 21:08:46 +10:00
  • d142c80ef1 more todos after M used it for real Damien De Paoli 2021-09-20 21:08:20 +10:00
  • f4ed6fe8dd more bugs Damien De Paoli 2021-09-20 21:07:18 +10:00
  • 1d87314f42 more BUGs/TODOs after talking it through with M. Damien De Paoli 2021-09-19 12:09:43 +10:00
  • ed04b5e92a fix bug-59 - missing locn icon for videos, stupidly has a # in front of the filename! Damien De Paoli 2021-09-18 17:55:59 +10:00
  • 3f21f3d1f5 fix not setting in progress when we should on 2 more jobs Damien De Paoli 2021-09-18 17:55:32 +10:00
  • 5b4bbeec46 order ai stats, and remember to put a container div in for formatting Damien De Paoli 2021-09-17 18:38:39 +10:00
  • c4f1a25750 new BUG Damien De Paoli 2021-09-17 18:38:36 +10:00
  • 92928c4a79 more TODOs Damien De Paoli 2021-09-17 18:38:28 +10:00
  • fe7627c89c DEBUG is now a boolean to fix occasionaly debug when I did not want it Damien De Paoli 2021-09-17 18:08:55 +10:00
  • 85902bbc3c redo Status SetMessage so it defaults to success and danger is a force in the setting of the message, to fix BUG-52 where a success message ended up with danger colour somehow -- might not perfectly fix it, but its neater and if it does not fix it, then its a timing issue I am not sure how to test/fix Damien De Paoli 2021-09-16 21:18:09 +10:00
  • 67b1c0dd49 fix BUG-53 video/image viewer switching had spacing and name wrong Damien De Paoli 2021-09-16 21:06:05 +10:00
  • 85dd7d7bd1 fix bug with commit logs every log, rather than actually every 5 seconds as intentended. Damien De Paoli 2021-09-16 20:22:50 +10:00
  • 4d0addb87b removing extra session.commits, and optimsing run_ai_on - dont reprocess faces if no new refimgs since last scan -- so we had set last_ai_scan on FILE as well Damien De Paoli 2021-09-16 19:25:23 +10:00
  • e536b9217f provided estimate on logs jobs Damien De Paoli 2021-09-16 19:23:22 +10:00
  • 1377618ce9 fix BUG-58: set created_on when we create a refimg Damien De Paoli 2021-09-16 19:23:04 +10:00
  • bbb222b363 set created_on when we create a refimg Damien De Paoli 2021-09-16 19:22:35 +10:00
  • 0c41aa48fc add LAST_AI_SCAN to FILE, and switched back to dev settings Damien De Paoli 2021-09-16 19:22:12 +10:00
  • c59e23efda provide estimates, format dates better Damien De Paoli 2021-09-16 19:20:43 +10:00
  • 5db1cf9e32 add estimate to job Damien De Paoli 2021-09-15 18:10:07 +10:00
  • a068133149 fixed bug where job is not set to "In Progress" for run_ai_on Damien De Paoli 2021-09-15 18:09:52 +10:00
  • 3b8ce90af2 clean up old TODOs Damien De Paoli 2021-09-15 00:25:51 +10:00
  • b6f672b575 ai stats has divs not tables, so more compact/responsive, also stats now have clickable link to appropriate AI:<tag> search Damien De Paoli 2021-09-15 00:23:25 +10:00
  • 10f8e4cc9d aria-label to make lighthouse report better Damien De Paoli 2021-09-14 22:17:23 +10:00
  • 235c1237d7 todos around ai stats Damien De Paoli 2021-09-14 18:16:26 +10:00
  • 303676f9b0 bug-57, viewing list of search and going past page_size gets wrong data Damien De Paoli 2021-09-14 18:16:09 +10:00
  • 301b3d220b fixed BUG-54/55, viewer now works in PROD, current_file being set in run_ai_on job, added "new" bug-53 re video fname not being set properly when next/prev in viewer Damien De Paoli 2021-09-14 17:56:06 +10:00
  • 14950e2f02 more BUGS, 53 was not a bug :) Damien De Paoli 2021-09-14 17:26:29 +10:00
  • 56f3853bfc removed unneeded ref to font-awesome, added compression, ttl for static files, several small cleanups on labels, etc. for lighthouse improvements Damien De Paoli 2021-09-14 17:22:42 +10:00
  • 6e96c83d9e put title on progress bars so on hover you get the details, useful when you have 1 of 10000 on a slow job Damien De Paoli 2021-09-14 17:06:47 +10:00
  • 532c6997c5 prod version for now Damien De Paoli 2021-09-13 17:56:53 +10:00
  • ed7a404d1b fixed BUGS 50 and 51 now that I am trying in PROD again Damien De Paoli 2021-09-13 17:56:41 +10:00
  • 6a1cbb7aad need Werkzeug for secure_filename usage Damien De Paoli 2021-09-13 17:56:08 +10:00
  • 238a813ccc fix BUG-50, remove secret_token use, it caused every new instance of Flask to auth - mild irritation, BUT, caused each gunicorn thread to have a different key -- this does not work, back to a random static val and live with it Damien De Paoli 2021-09-13 17:55:49 +10:00
  • 5bb2195239 fix BUG-51, its ENV not env and production not Production Damien De Paoli 2021-09-13 17:54:59 +10:00
  • 2f5e3a4d40 fix import line for PROD, more strict? Damien De Paoli 2021-09-13 17:54:36 +10:00
  • f59c62354e new bugs, now we are trying this in prod for the first time in months Damien De Paoli 2021-09-13 17:40:36 +10:00
  • 444b206c64 use better face distance sorting/matching algo Damien De Paoli 2021-09-12 18:35:04 +10:00
  • f71e3d6144 fix bug with 2 captions when video caption has to be outside <video> tag Damien De Paoli 2021-09-12 18:28:37 +10:00
  • c503bd71ac fix bug with 2 captions when video caption has to be outside <video> tag Damien De Paoli 2021-09-12 18:28:31 +10:00
  • e25cb9fd02 more comments for js files Damien De Paoli 2021-09-07 21:50:01 +10:00
  • 1b11fba0a8 comments for files*js Damien De Paoli 2021-09-06 22:03:11 +10:00
  • 57281be3d1 use tooltips for settings, to explain path usage in particular Damien De Paoli 2021-09-06 19:16:24 +10:00
  • 35a096c79d added name for videos Damien De Paoli 2021-09-06 19:15:58 +10:00
  • ae067b81ce not worth fixing json* invocations, only 2, and the fix is either forcing a mutable pickle type or TypeDecorator -- both a bit complex than its worth Damien De Paoli 2021-09-06 18:12:26 +10:00
  • 5d7eed68eb fix BUG-49 (images in DBox no horizontally spaced) and fixed spacing between images and buttons Damien De Paoli 2021-09-05 22:44:25 +10:00
  • 479c6179c2 fix icon url needing to be passed as a jinja2 var Damien De Paoli 2021-09-05 22:23:08 +10:00
  • 9d094f9437 fixed BUG-45, and new accidental bug where I button-mashed a "now" variable to "ynw" somehow Damien De Paoli 2021-09-05 21:59:41 +10:00
  • a64b651118 use new base_path Setting, but have not tested use of absolute paths instead of relative paths, also need better tooltips for the paths -- AND, still have odd trailing slash due to SymLinkName, etc. being too complex Damien De Paoli 2021-09-05 21:58:54 +10:00
  • 7c192b5d66 with MoveDBox going into js file, need to pass jinja2 var as a param Damien De Paoli 2021-09-05 21:34:13 +10:00
  • acd965f5c3 put back MoveDBox() in, accidentally deleted it Damien De Paoli 2021-09-05 21:33:46 +10:00
  • 2d4130ed30 fix comment Damien De Paoli 2021-09-05 21:32:15 +10:00
  • eb0145467f fixed bugs 47, 48, 49 and reduced complexity of dup counting as well. Now removes dirs than become empty due to duplicate removals Damien De Paoli 2021-09-04 19:50:49 +10:00
  • 4a9c3b4aa3 minor clean up of screen content Damien De Paoli 2021-09-04 19:50:27 +10:00
  • cf455cca29 added BUGS Damien De Paoli 2021-09-04 19:48:29 +10:00
  • 423f9af2c4 fixed BUG-44: quickly clicking in folder view can somehow end up with a view/<id> crash Damien De Paoli 2021-08-30 18:25:26 +10:00
  • 3472717d01 fixed BUG-44: quickly clicking in folder view can somehow end up with a view/<id> crash Damien De Paoli 2021-08-30 18:25:19 +10:00
  • 7b672206d2 alert in form fails in bs5?, so made it a div Damien De Paoli 2021-08-30 18:24:55 +10:00
  • 5ca8424e58 use class PA / inheritance on dup classes Damien De Paoli 2021-08-30 18:24:31 +10:00
  • 8f7d6bd77c new bug with clicking on dirs too quick Damien De Paoli 2021-08-30 18:24:01 +10:00
  • 8c3531d99a use PA class for __repr__ inheritence for Status Damien De Paoli 2021-08-30 17:55:15 +10:00
  • dc4ff64600 viewer hotkeys are in tooltip now Damien De Paoli 2021-08-30 17:47:33 +10:00
  • 78170cace7 fixed bug in viewer where video needs to be resized after prev/next move, also updated TODO Damien De Paoli 2021-08-30 17:42:58 +10:00
  • 10fcda0d7c convert OPT from a dict to a class Damien De Paoli 2021-08-29 20:13:26 +10:00
  • f9bd558727 moved most of the js out to internal/js/view_support.js Damien De Paoli 2021-08-28 21:45:28 +10:00
  • c38929d884 viewer now deals with videos and images when next/prev, AND, fullscreen is maintained on videos and handles when escape gets you out as well... Damien De Paoli 2021-08-28 13:26:07 +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. Damien De Paoli 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 Damien De Paoli 2021-08-15 21:26:43 +10:00
  • 40c0e3631c no need for one-off copy of icons.svg, its now in internal/ Damien De Paoli 2021-08-15 00:33:50 +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 Damien De Paoli 2021-08-15 00:26:27 +10:00
  • 50ca3098ae adding in static content like icons, js and explicitly ignoring the parts of static we should: Bin, Import, Storage, upstream Damien De Paoli 2021-08-14 23:08:55 +10:00
  • 6e2d04cd76 updated comments Damien De Paoli 2021-08-12 23:22:05 +10:00
  • 0180703ae4 updated comments Damien De Paoli 2021-08-12 20:03:13 +10:00
  • 0c1691d495 updated comments, use secrets to generate SECRET_KEY Damien De Paoli 2021-08-11 18:20:37 +10:00
  • 06f3fcccd1 updated comments Damien De Paoli 2021-08-11 18:12:04 +10:00
  • 7bd4552727 updated comments Damien De Paoli 2021-08-11 18:05:54 +10:00
  • 7db988d752 PROD_HOST comes from shared not also defined in main, also was still referencing book cert - not really a combo that was likely as we used gunicorn not flask in prod, and gunicorn has correct cert set on cmdline Damien De Paoli 2021-08-11 17:49:32 +10:00
  • b21d4f78e5 updated comments Damien De Paoli 2021-08-11 17:44:19 +10:00
  • 5258a7c915 updated comments Damien De Paoli 2021-08-11 17:33:04 +10:00
  • a8f5dc4e62 updated comments Damien De Paoli 2021-08-11 17:29:53 +10:00
  • 5c3087739d updated comments Damien De Paoli 2021-08-11 17:28:03 +10:00
  • eb5fc0aa84 updated comments Damien De Paoli 2021-08-11 17:01:12 +10:00
  • 61c85acf3c updated comments Damien De Paoli 2021-08-10 21:33:23 +10:00
  • 03a2b4a9d9 updated comments Damien De Paoli 2021-08-10 21:31:09 +10:00
  • d49af24fee spacing Damien De Paoli 2021-08-08 16:18:28 +10:00
  • ae0d27b284 first pass of usable fullscreen, will need arrow keys to remember state, or realistically pre-load? but for now you can fullscreen the image you are on Damien De Paoli 2021-07-31 22:49:40 +10:00
  • 902830ad95 viewer now has (non-functional) buttons for rotation, flip, fullscreen, and Ive put icons.svg into the repo as its hand-crafted upstream content so I cant really just download it anymore Damien De Paoli 2021-07-31 22:40:12 +10:00
  • 6ce92c3398 remove debug Damien De Paoli 2021-07-29 21:47:27 +10:00
  • 10b2c5cc34 more work on viewer Damien De Paoli 2021-07-29 21:45:11 +10:00
  • c0a8ab8f79 allowed view prev/next to remember settings (fname, faces, distance) and use new CreateSelect() for AI menu, also make fname toggle actually do that Damien De Paoli 2021-07-29 21:44:54 +10:00
  • 7926ab3455 allowed view prev/next to remember settings (fname, faces, distance) Damien De Paoli 2021-07-29 21:42:58 +10:00
  • dc35417933 allowed CreateSelect to take list of values for options - used in cnn/hog AI model menu in viewer Damien De Paoli 2021-07-29 21:42:35 +10:00
  • 566985a477 put face file link here so we can see model in viewer Damien De Paoli 2021-07-29 21:41:42 +10:00