Commit Graph

2403 Commits

Author SHA1 Message Date
cmdr2
28338612fa Pin versions: torch 1.13.1 and torchvision 0.14.1, and update stable-diffusion-sdkit which also pins the torch and torchvision versions for macOS 2023-03-17 10:07:22 +05:30
cmdr2
fe23cc558d
Merge pull request #1019 from JeLuF/zoom
When zooming, only show one copy of the image
2023-03-16 11:47:27 +05:30
cmdr2
394cb72e46
Merge branch 'beta' into zoom 2023-03-16 11:47:14 +05:30
cmdr2
57c85a64c7
Merge pull request #1018 from AssassinJN/patch-3
remove task from dome when removing images
2023-03-16 11:46:31 +05:30
cmdr2
a3f357732c formatting 2023-03-16 11:42:31 +05:30
cmdr2
ca99b87319 Filter NSFW images (if enabled) during live preview 2023-03-16 11:30:16 +05:30
cmdr2
3507f91090 Remove click event for preview image expansion, since it breaks Rabbit Hole 2023-03-16 11:12:10 +05:30
JeLuF
aa3bc864ee Also fix clicks into the image 2023-03-16 00:32:10 +01:00
JeLuF
db769dd995 When zooming, only show one copy of the image
Don't add a copy of the image for each live preview image shown
2023-03-16 00:08:24 +01:00
cmdr2
a0f2097b1b Move the createElement() function to utils.js 2023-03-15 21:30:12 +05:30
cmdr2
6298df14e7 Hide only the filtered-out button in a row, not the entire row 2023-03-15 21:20:56 +05:30
AssassinJN
2d0a76c5a4
remove task from dome when removing images
Changing the functionality to remove task from dom when all images have been removed. This will save system memory in the browser allowing better performance.
2023-03-15 11:13:26 -04:00
cmdr2
b7a7a7d31f Move similar image info buttons into a single row, using the new array API 2023-03-15 19:41:19 +05:30
cmdr2
841811e3bc Full screen button on images; Changelog 2023-03-15 19:25:55 +05:30
cmdr2
0679fb2b20
Merge pull request #1017 from ogmaresca/image-modal
Add image modal functionality
2023-03-15 18:45:17 +05:30
cmdr2
230f7b478a
Merge pull request #1013 from JeLuF/text-css
Hardcode CSS content type
2023-03-15 18:44:54 +05:30
Olivia Godone-Maresca
c8f8f329e3
Allow creating custom HTML elements for image info button plugins (#1007)
* Allow creating custom HTML elements for image info button plugins

* Allow arrays and labels

* Add spacing between buttons on the same row
2023-03-15 18:44:43 +05:30
cmdr2
9c4d702434
Merge pull request #1015 from JeLuF/issue-1012
Fix #1012 - Image Modifiers > Thumbnail Size slider remembers its pos…
2023-03-15 18:42:11 +05:30
Olivia Godone-Maresca
ab7d74d2fa Add a image modal function 2023-03-14 21:43:49 -04:00
JeLuF
c9ddf4d15f Fix #1012 - Image Modifiers > Thumbnail Size slider remembers its position but does not apply it at page load 2023-03-14 19:02:34 +01:00
JeLuF
7af620f66e Hardcode CSS content type
By default, uvicorn uses the 'Content Type' value from 'Computer\HKEY_CLASSES_ROOT\.css' for the Content-Type header in its responses. Some systems have this set to 'application/x-css', an outdated content type used in the early days of CSS. Modern browsers ignore stylesheets that don't have the content-type 'text/css'. This change hardcodes the Content-Type to 'text/css', ignoring the registry.
2023-03-14 18:49:31 +01:00
cmdr2
24b631500a
Merge pull request #1009 from JeLuF/BigX
Only delete task sections if they are no longer processing
2023-03-14 21:57:59 +05:30
cmdr2
c27d57831c changelog 2023-03-14 20:30:17 +05:30
cmdr2
30eb729973 Tweak preview slider width 2023-03-14 11:41:46 +05:30
cmdr2
7f24241372
Merge pull request #1005 from JeLuF/noplugins
Rename user hint
2023-03-14 10:42:59 +05:30
cmdr2
0ddcc98a57
Merge pull request #1004 from JeLuF/toosmall
Warn users about small image dimensions
2023-03-14 10:42:13 +05:30
cmdr2
9ca8cf810b
Merge pull request #1003 from patriceac/patch-50
Notify plugins when image tags get refreshed
2023-03-14 10:41:12 +05:30
JeLuF
3c2157111b
Download all: Add Metadata download (#923)
* Download all: Add Metadata download

* Harmonise capitalisation

* Add JSzip, download popup

* 'Save all' popup
- add ZIP download with JSON and folder support
- Popup to prevent accidental trigger of an image download
- Use FileSaver polyfill for better browser support

* remove debug output

* Make DownloadImages a tertiary button
2023-03-14 10:40:24 +05:30
patriceac
d26e646a94
Refresh the image count as user types (#936)
* Refresh the image count as user types

Currently I have to change the focus for the image count to refresh. This change makes it immediate. I've been wondering if 'change' should merely be replaced by 'keyup' but decided against it for accessibility reasons (people who might be using accessibility tools with alternative input methods).

* Add a debounce

Setting a debounce of 300ms on keyup.
2023-03-14 10:37:55 +05:30
patriceac
1fda12640f
Custom Image Modifiers dialog tweaks (#935)
* Custom Image Modifiers dialog tweaks

Couple minor usability improvements for the custom image modifiers dialog:
- set the focus to the textbox when opening the dialog
- pressing the Escape key closes the dialog

* Adding keyboard shortcuts

Escape to cancel the changes, Ctrl+Enter to confirm the changes. No change to the existing UI behavior using the mouse.

* Make the overlay focusable

Allows the keyboard shortcuts to work if user clicks on the main window rather than the textbox itself.

* Disable spell and grammar correction
2023-03-14 10:37:21 +05:30
cmdr2
05316ae25b
Merge pull request #965 from patriceac/patch-49
Fix the display of the preview scale slider
2023-03-14 10:36:45 +05:30
patriceac
079402cb2f
Fix restoration of weighted tasks with truncated modifiers (#956)
* Fix restoration of weighted tasks with truncated modifiers

* Reverting this change

Will create a separate PR for this as needed. Doesn't impact the other bug fix.

* Update utils.js
2023-03-14 10:36:21 +05:30
cmdr2
995bdc77b8
Merge pull request #938 from patriceac/patch-46
Make the image editor scrollable as needed
2023-03-14 10:35:59 +05:30
cmdr2
c52b72f500
Merge pull request #991 from JeLuF/modi
Fix autosave of modifiers image style
2023-03-14 10:35:34 +05:30
cmdr2
a4e496abc1
version 2023-03-14 10:34:52 +05:30
cmdr2
6cb981655e Fix a bug where the merge plugin wouldn't use the subfolder path of a model 2023-03-14 10:03:53 +05:30
JeLuF
2916a33fa2 Only delete task sections if they are no longer processing 2023-03-13 23:05:11 +01:00
JeLuF
ca555686ec Rename user hint 2023-03-12 22:31:14 +01:00
JeLuF
03256f6bba Warn users about small image dimensions
Show a warning if the user chooses width & height < 512px
2023-03-12 20:43:54 +01:00
patriceac
257b14ee09
Notify plugins when image tags get refreshed
Image modifiers may be temporarily hidden by plugins like searchable modifier search box, and when restoring a task (e.g. use settings) the image modifier s copied with the hidden class set, which makes it look like it's missing.

By notifying plugins that the image tags have been refreshed, it allows it to act accordingly (in this case by making sure image tags are visible).
2023-03-12 01:23:05 -08:00
cmdr2
a0dc82e1f9 mac link in readme 2023-03-12 13:19:13 +05:30
cmdr2
fc3c2925e5
Merge pull request #1000 from cmdr2/main
Main
2023-03-12 13:16:59 +05:30
cmdr2
6b3511e15d Mac download button 2023-03-12 13:16:19 +05:30
cmdr2
59183aceec
Update README.md 2023-03-12 11:53:32 +05:30
cmdr2
ec44a84915 Icon in windows installer for Start Menu and Desktop 2023-03-12 10:41:38 +05:30
cmdr2
1010837cfd
Merge pull request #999 from cmdr2/beta
Beta
2023-03-12 09:57:17 +05:30
cmdr2
aec7e6d32e changelog 2023-03-11 12:38:25 +05:30
cmdr2
bb0f7cd1cd Load mask from file 2023-03-11 12:37:51 +05:30
cmdr2
5dd92b1d3f sdkit 1.0.47 - mps buffer fix 2023-03-11 10:40:45 +05:30
cmdr2
7548f7cdbb revert mps buffer fix 2023-03-11 10:27:57 +05:30