Commit Graph

1166 Commits (cc0b0e8e3d65e8a703685a95a43c9010cdeb96d2)

Author SHA1 Message Date
awsr e1febfd92c Logging adjustment 2025-12-01 16:45:23 -08:00
awsr 9ae7c1a7c7 Generalize the SimpleFunctionQueue class 2025-12-01 16:20:23 -08:00
awsr 766aa6c728 Change from ternary to make things easier to read 2025-12-01 15:55:40 -08:00
awsr 8fa791a22f Remove extra parentheses
Looks like they snuck in when refactoring to inline declaration.
2025-12-01 05:26:06 -08:00
awsr 6cab50e584 Overhaul custom element styling
Large performance improvement due to only needing a single style source instead of creating and parsing thousands of style elements.
2025-12-01 05:18:23 -08:00
awsr 35cd563c7d Minor rename and logic adjustment
Only add to the hashes Set when guard is in place.
2025-11-30 22:59:26 -08:00
awsr b25cf56181 Rename and remove redundant logic 2025-11-30 22:05:14 -08:00
awsr 143558df4b Fix typo and missing return 2025-11-30 22:02:03 -08:00
awsr a1f6611da2 Fix typo and change log level 2025-11-30 21:57:59 -08:00
awsr d458ff1073 Change timeout handling to act as just a failsafe 2025-11-30 21:57:45 -08:00
awsr b4e5db478f
Merge updated gallery maintenance system (#3)
* Add eslint rule for class members
* Finalize gallery maintenance system
  - Adds a simple function queue in lieu of the Web Locks API in order to work in the (probably unlikely) event that SD.Next is accessed over regular HTTP but not from localhost.
  - Removes overlay message progress update since it's incompatible with the new method.
2025-11-30 21:27:56 -08:00
awsr 29a4793302 Much faster performance for normal runs
- May result in the initial run being slower in some circumstances.
2025-11-29 03:19:33 -08:00
awsr c3986172d5 Don't run on error 2025-11-29 01:09:43 -08:00
awsr eb4f4c683c Improve error handling 2025-11-28 14:26:03 -08:00
awsr 1b5295dd5e Remove redundant check 2025-11-28 13:37:48 -08:00
awsr 9ceed935ce Naming changes and additional check 2025-11-28 13:21:24 -08:00
awsr 8bf7fb50ed Restore accidental line deletion 2025-11-27 20:27:47 -08:00
awsr 7e2bf5eb13 Update JSDoc 2025-11-27 19:30:44 -08:00
awsr 8197cbefaa Update names/info and ensure folder is string 2025-11-27 18:34:11 -08:00
awsr d7ddc953b9 Switch to folder-based database cleanup 2025-11-26 22:13:58 -08:00
vladmandic 0da06b642a fix networks refresh
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-25 10:35:47 -05:00
awsr 691339773e
[hotfix] Fix cache clearing when switching folders (#4421)
* Update submodules

* Revert "Update submodules"

This reverts commit 1679ddeeea.

* Fix cache clearing when switching folders

This is more of a temporary hotfix since it will affect switching between gallery folders quickly and it'll kick off when viewing small folders.
2025-11-25 09:58:45 -05:00
awsr 8cceb12085
Minor margin adjustments
Makes it less likely for elements to overflow on mobile UI.
2025-11-24 18:34:02 -08:00
vladmandic d89ccf5ba8 linting
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-23 13:23:16 -05:00
awsr 412d857e73 Minor code layout adjustment 2025-11-22 16:18:37 -08:00
awsr 1b4bdda3a2 Add function documentation 2025-11-22 15:53:13 -08:00
awsr 538cad1aad Simplify init
- Doesn't need advanced handling anymore because the overlay is now fully dynamic.
2025-11-22 15:15:41 -08:00
awsr 7caba3287f Reorganize functions for readability 2025-11-22 15:11:46 -08:00
awsr 43de9f98e3 Improve overlay function
- Rename variables to be more descriptive.
- Change run threshold to 500.
- Make overlay fully dynamic.
2025-11-22 15:09:07 -08:00
awsr b476a31e71 Update error handling and logging 2025-11-22 14:34:12 -08:00
awsr cfae4a5f1f Show blocking overlay when running cleanup 2025-11-22 05:19:15 -08:00
awsr 6f15a04fe0 Simpler method for getting key count 2025-11-21 05:29:48 -08:00
awsr f2eddd7f7d Changed threshold to 100 entries before cleanup 2025-11-21 05:00:19 -08:00
awsr 2f9cf121bc Remove old entries from gallery cache
Removes excess thumbnail data when the IndexedDB has at least 200 more entries than is loaded by the gallery.
2025-11-21 04:58:21 -08:00
Vladimir Mandic 4ffc1b6097 add nano-banana
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-13 13:14:55 -05:00
Vladimir Mandic 7c5d1505b8 set defaults for version dct
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-12 14:18:45 -05:00
Vladimir Mandic 8fb037d4d4 wrap all internal api calls with auth check and use token when possible
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 18:13:47 -05:00
Vladimir Mandic f383a2babc fix password field
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 17:14:08 -05:00
Vladimir Mandic 233abb8856 lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 16:24:24 -05:00
Vladimir Mandic 385de2f0af better detect input source
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 16:07:57 -05:00
awsr 5436649075 Fix backslash errors 2025-11-09 15:31:47 -08:00
awsr 2613c3eb22 Ensure lora tags don't break HTML
Plus & for formatting safety
2025-11-09 15:19:11 -08:00
awsr 49d50accc5 Better error message info 2025-11-09 14:35:11 -08:00
Vladimir Mandic e7e41d30cf
Merge pull request #4381 from vladmandic/dev
refresh branch
2025-11-08 11:59:06 -05:00
Vladimir Mandic d292c85df0 strong-enforce auth check on all api endpoints
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-08 11:41:24 -05:00
Vladimir Mandic f2835499b1 kanvas bindings
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-07 12:21:48 -05:00
Vladimir Mandic ae2ce9c8c9 wait for server options to be ready before initializing ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-05 14:37:49 -05:00
Vladimir Mandic 8bb941b4fd increase ui init timeout
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-04 20:24:42 -05:00
Vladimir Mandic fc92b64dcf increase ui init timeout
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-04 20:22:57 -05:00
Vladimir Mandic 9927b3e62c controlnet allow processor to keep aspect-ratio for override images based on i2i or t2i resolution
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-04 09:37:18 -05:00
Vladimir Mandic 05261e708a ability to disable parts of the app
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-03 19:36:55 -05:00
Vladimir Mandic ca0b5a31bf add quantized models to reference
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-25 11:17:12 -04:00
Vladimir Mandic adbff39ca5 reference models add distilled and community sections
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-23 20:59:48 -04:00
Vladimir Mandic f4a8776108 fix full-screen image-viewer toolbar actions with control tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-22 14:35:41 -04:00
Vladimir Mandic f69b4c5589 disabling live preview should not disable progress updates
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-21 11:07:47 -04:00
Vladimir Mandic d012ad5556 image viewer refocus on close
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-06 17:59:38 -04:00
Vladimir Mandic 58b0ab9da6 unified video save
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-05 20:17:32 -04:00
Vladimir Mandic c530167cbe qwen multi-image edits
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-04 18:06:50 -04:00
Vladimir Mandic 00fa1dc59e add online/offline since
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-29 11:46:00 -04:00
Vladimir Mandic eb025eaf31 remove split-attention and add attention slicing option
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-28 18:01:34 -04:00
Vladimir Mandic 07a66b4815 ui add server connection status indicators
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-26 13:25:17 -04:00
Vladimir Mandic 7bc6edf483 ui add connection monitor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-26 13:17:52 -04:00
Vladimir Mandic c96af0d428 fix lora filter by model type
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-24 12:55:11 -04:00
Vladimir Mandic d351fdb98f add more job state updates and update history tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-13 10:54:04 -04:00
Vladimir Mandic 55947c54d7 add modernui vars to standardui css
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-12 22:19:04 -04:00
Vladimir Mandic 1c5b3a47e2 job history
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-12 22:14:07 -04:00
Vladimir Mandic 7940217764 add models_not_to_quant option
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-11 12:31:07 -04:00
Vladimir Mandic d673c58c10 fix drop image to prompt in modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-08 09:42:26 -04:00
Vladimir Mandic ff9a7e5444 fix reprocess workflow for control with hires
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-06 11:28:44 -04:00
Vladimir Mandic 069b7063e8 improve ui active tab detect
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 15:02:58 -04:00
Vladimir Mandic 72a9094b42 better model version detect and experimental pydantic v2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 12:41:40 -04:00
Vladimir Mandic 61a70baa36 update modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-02 08:41:22 -04:00
Vladimir Mandic e40275741d
Merge branch 'dev' into master 2025-09-01 11:41:07 -04:00
Chia-Jung Hsu c6689d9f20 Fix APIs for preview and log in reverse proxy 2025-09-01 15:30:40 +02:00
Vladimir Mandic 11c72d5402 remove standardui previews
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-31 16:35:49 -04:00
Vladimir Mandic 5f6edafc8b modernui mobile optimizations
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-30 14:34:41 -04:00
Vladimir Mandic ee3a0a5a65 update modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-28 11:16:33 -04:00
Vladimir Mandic 70319ee7db lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-27 09:52:28 -04:00
Vladimir Mandic e700f9beb4
Merge pull request #4138 from CalamitousFelicitousness/patch-1
Fix sticking hints and tabs losing hints on click
2025-08-27 08:53:04 -04:00
CalamitousFelicitousness 3beb0d2a21 Video gallery support in default UI 2025-08-27 00:45:39 +01:00
CalamitousFelicitousness e54f5142e5 Cleanup and final lint 2025-08-26 19:28:21 +01:00
CalamitousFelicitousness 8eabbe31a1
Merge branch 'dev' into patch-1 2025-08-26 17:23:19 +01:00
CalamitousFelicitousness 3ab9614a41
Another setHints.js update - efficient event delegation
Fixes the DOM recreation in an unnoticeable way
2025-08-26 17:20:38 +01:00
CalamitousFelicitousness 64e798f0ea Update to resolve conflicts 2025-08-26 00:40:25 +01:00
CalamitousFelicitousness 04b7b7652c Fix Gradio removing event listeners and clearing
attributes on tab change breaking hints
2025-08-25 20:36:42 +01:00
Vladimir Mandic ecf3df2aab style networks folders
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-25 13:19:34 -04:00
Vladimir Mandic c133b85fd1
Merge pull request #4152 from Artheriax/base-model-filtering
Filter on base model in networks tab
2025-08-25 12:53:17 -04:00
Vladimir Mandic 7f46d08a2c match network version
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-25 12:27:03 -04:00
Vladimir Mandic b1ad9fb650 simplify loader
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-25 11:16:09 -04:00
Pablo Hellmann 9bdbb12839 migrated to sdnext.css 2025-08-25 16:32:39 +02:00
Pablo Hellmann b666c2726d Update black-teal.css 2025-08-25 13:44:53 +02:00
Pablo Hellmann 39d7d0334b First implementation 2025-08-24 16:31:45 +02:00
CalamitousFelicitousness 4c8bf3f66a
Update extraNetworks.js
Additional fix for lastTab updating with an empty string. This could cause the issue to reemerge if one of the three tabs was the initial tab upon startup.
2025-08-23 04:29:19 +01:00
CalamitousFelicitousness 84df9f7b4d
extraNetworks.js fix for networks menu with process caption gallery tabs
More robust code by adding a simple check to ensure that searchTextarea is not null, added a check for debugging if it ever fails again

Fixed getENActiveTab, expression tabName in ['process', 'caption', 'gallery'] will always solve as false, making network menus inoperable when in either of these tabs.
2025-08-23 03:53:43 +01:00
CalamitousFelicitousness 3214e7c569
Update sdnext.css
Fix for model tags in default UI being buried under card underneath it.
2025-08-21 14:27:47 +01:00
Vladimir Mandic 74da5095f0 fix and regenerate locales
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-20 14:40:39 -04:00
CalamitousFelicitousness 857858ee6e
Update setHints.js to avoid sticking hints
As described in #4137, this add a simple click handler to hide the hint when the mouse button is pressed.
2025-08-20 16:53:04 +01:00
Vladimir Mandic 03b5a55dd9
Merge pull request #4132 from CalamitousFelicitousness/dev
Add reload notice to hints
2025-08-20 08:52:16 -04:00
CalamitousFelicitousness bbb81fac40
Fix network keywords in default UI
Fixes keywords not showing up in default UI on hover over card
2025-08-20 13:13:04 +01:00
CalamitousFelicitousness a44f1c1401
Update sdnext.css 2025-08-19 23:58:51 +01:00