Commit Graph

464 Commits

Author SHA1 Message Date
missionfloyd dafe519363 Fix lint errors 2023-05-22 21:23:39 -06:00
missionfloyd 468056958b Add reorder hotkeys
Shifts selected items with ctrl+left/right
2023-05-22 20:46:25 -06:00
AUTOMATIC cc2f6e3b7b fix error in dragdrop logic 2023-05-22 15:40:10 +03:00
AUTOMATIC ee65e72931 repair file paste for Firefox from #10615
remove animation when pasting files into prompt
rework two dragdrop js files into one
2023-05-22 09:49:59 +03:00
AUTOMATIC1111 0cbcc4d828
Merge pull request #10611 from akx/disable-token-counters
Add option to disable token counters
2023-05-22 08:09:48 +03:00
AUTOMATIC1111 8137bdba61
Merge branch 'dev' into text-drag-fix 2023-05-22 07:15:34 +03:00
missionfloyd a862428902 Fix dragging text to prompt 2023-05-21 18:17:32 -06:00
Aarni Koskela 618c59b01d Add option to disable prompt token counters 2023-05-21 23:25:06 +03:00
Aarni Koskela 5ed970b949 Move token counters to separate JS file, fix names 2023-05-21 23:25:06 +03:00
AUTOMATIC 0cc05fc492 work on startup profile display 2023-05-21 00:41:41 +03:00
catboxanon 373903d851 hiresfix prompt: add classes, update css sel 2023-05-20 19:34:50 +00:00
Aarni Koskela 67d4360453 get_tab_index(): use a for loop with early-exit for performance 2023-05-19 13:06:12 +03:00
Aarni Koskela 563e88dd91 Replace args_to_array (and facsimiles) with Array.from 2023-05-19 13:05:26 +03:00
AUTOMATIC 994f56c3f9 linter fixes 2023-05-19 09:54:55 +03:00
Thottyottyotty 7b61acbd35 split visibility method and sort instead
split out the visibility method for pasting and use a sort inside the paste handler to prioritize on-screen fields rather than targeting ONLY on screen fields
2023-05-18 23:43:01 -07:00
AUTOMATIC bb80eea9d4 eslint the merged code 2023-05-18 10:03:48 +03:00
AUTOMATIC c08f229318 Merge branch 'eslint' into dev 2023-05-18 10:02:17 +03:00
AUTOMATIC 57b75f4a03 eslint related file edits 2023-05-18 09:59:10 +03:00
AUTOMATIC 973ae87309 Merge remote-tracking branch 'pieresimakp/img2img-detect-image-size' into dev 2023-05-17 23:49:39 +03:00
AUTOMATIC e5dd4b4ebf remove some code duplication from #9348 2023-05-17 23:27:06 +03:00
AUTOMATIC1111 04b4508a66
Merge branch 'dev' into improve-frontend-responsiveness 2023-05-17 23:18:56 +03:00
AUTOMATIC 30410fd355 simplify name pattern setting tooltips 2023-05-17 22:54:45 +03:00
AUTOMATIC 216b0fa6c9 when adding tooltips, do not scan whole document and instead only scan added elements 2023-05-17 18:26:53 +03:00
Aarni Koskela 9c54b78d9d Run `eslint --fix` (and normalize tabs to spaces) 2023-05-17 16:09:06 +03:00
Weiming e378590d33 Fix remove `textual inversion` prompt 2023-05-17 10:20:11 +08:00
AUTOMATIC a00e42556f add a bunch of descriptions and reword a lot of settings (sorry, localizers) 2023-05-14 11:04:21 +03:00
AUTOMATIC ce515b81c5 set up a system to provide extra info for settings elements in python rather than js
add a bit of spacing/styling to settings elements
add link info for token merging
2023-05-14 10:02:51 +03:00
AUTOMATIC1111 86ff43b930 Merge pull request #10335 from akx/l10n-dis-take-2
Localization fixes
2023-05-13 20:46:50 +03:00
Aarni Koskela cd6990c243 Make dump translations work again 2023-05-13 19:22:39 +03:00
Aarni Koskela 999a03e4a7 Wait for DOMContentLoaded until checking whether localization should be disabled
Refs https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/9955#issuecomment-1546587143
2023-05-13 15:12:30 +03:00
AUTOMATIC ad6ec02261 prevent Reload UI button/link from reloading the page when it's not yet ready 2023-05-09 11:42:47 +03:00
AUTOMATIC 11ae5399f6 make it so that custom context menu from contextMenu.js only disappears after user's click, ignoring non-user click events 2023-05-09 10:52:14 +03:00
AUTOMATIC 2b96a7b694 add links to wiki for filename pattern settings
add extended info for quicksettings setting
2023-05-08 16:46:35 +03:00
AUTOMATIC fc966c0299 do not show licenses page when user selects Show all pages in settings 2023-05-08 15:30:32 +03:00
AUTOMATIC 083dc3c76a directory hiding for extra networks: dirs starting with . will hide their cards on extra network tabs unless specifically searched for
create HTML for extra network pages only on demand
allow directories starting with . to still list their models for lora, checkpoints, etc
keep "search" filter for extra networks when user refreshes the page
2023-05-08 11:33:45 +03:00
AUTOMATIC1111 73d956454f
Merge branch 'dev' into tooltip 2023-05-08 09:01:25 +03:00
AUTOMATIC1111 67c884196d
Merge pull request #9955 from akx/noop-localization-unless-required
Make localization.js do nothing if there's no localization to do
2023-05-08 08:43:11 +03:00
AUTOMATIC1111 66428667c5
Merge pull request #10146 from missionfloyd/gamepad-option
Fix gamepad navigation
2023-05-08 08:09:12 +03:00
missionfloyd 85bd9b3d31 Work with multiple gamepads 2023-05-06 22:47:35 -06:00
missionfloyd 99f3bf07d2 gamepad repeat option 2023-05-06 22:16:51 -06:00
missionfloyd cca5782d18 Improve joypad performance 2023-05-06 22:00:13 -06:00
missionfloyd a46c23b10f Make gamepad navigation optional 2023-05-05 22:48:27 -06:00
w-e-w 381674739e add denoising strength filename pattern 2023-05-06 02:24:33 +09:00
Aarni Koskela 16f0739db0 Make localization.js do nothing if there's no localization to do 2023-05-04 20:18:01 +03:00
AUTOMATIC1111 50f63e2247
Merge branch 'dev' into js-misc-fixes 2023-05-01 14:39:46 +03:00
AUTOMATIC1111 6fbd85dd0c
Merge pull request #9969 from AUTOMATIC1111/restore_progress_fix
restore_progress fix
2023-05-01 14:09:32 +03:00
w-e-w 33e6bc34ff restore_progress fix
id wrong type
2023-05-01 19:59:52 +09:00
AUTOMATIC 67f5c2abb0 make it impossible to press the restore progress button after pressing it once 2023-05-01 13:58:10 +03:00
Aarni Koskela c714300265 Use substring instead of deprecated substr 2023-04-30 22:26:11 +03:00
Aarni Koskela 4bb441bb08 Remove redundant return 2023-04-30 22:26:11 +03:00
Aarni Koskela b7269f781c Mark Notification.requestPermission's retval as purposely ignored 2023-04-30 22:26:11 +03:00
Aarni Koskela f6a40a2ffa Fix unused variables 2023-04-30 22:26:11 +03:00
Aarni Koskela 8ccc27127b Fix a whole bunch of implicit globals 2023-04-30 22:08:52 +03:00
Aarni Koskela 34a6ad80d5 Use classList.toggle wherever possible 2023-04-30 14:48:02 +03:00
Aarni Koskela ee973dcf1d imageMaskFix.js: fix event listeners to not use anonymous trampoline 2023-04-30 14:46:03 +03:00
Aarni Koskela 13d8d65ef9 hints: don't process elements that already have a title 2023-04-30 14:46:03 +03:00
AUTOMATIC c48ab36cb9 alternate restore progress button implementation 2023-04-29 22:16:54 +03:00
AUTOMATIC bd9700405a Revert "Merge pull request #7595 from siutin/feature/restore-progress"
This reverts commit 80987c36f9, reversing
changes made to 2e78e65a22.
2023-04-29 22:15:20 +03:00
AUTOMATIC1111 15c4e78b44
Merge branch 'dev' into feature/restore-progress 2023-04-29 22:13:40 +03:00
AUTOMATIC1111 3baeefd30a
Merge pull request #9933 from w-e-w/dev
add missing filename pattern hints
2023-04-29 20:13:58 +03:00
AUTOMATIC1111 45371704f6
Merge pull request #7632 from papuSpartan/gamepad
Image viewer scrolling via analog stick
2023-04-29 19:43:34 +03:00
AUTOMATIC e40b2d947d change gradio callback from change to release in a bunch of places now that it's fixed in gradio 2023-04-29 19:39:22 +03:00
AUTOMATIC1111 b615a2ed11
Merge pull request #9108 from AUTOMATIC1111/img2img-scale-by
add "resize by" and "resize to" tabs to img2img
2023-04-29 18:21:28 +03:00
AUTOMATIC1111 78d0ee3bba
Merge branch 'dev' into extension-settings-backup 2023-04-29 17:22:24 +03:00
AUTOMATIC1111 263f0fb59c
Merge branch 'dev' into remove-watermark-option 2023-04-29 16:50:52 +03:00
w-e-w 7749f2d8ad hints [batch_number] [generation_number] 2023-04-29 22:47:38 +09:00
AUTOMATIC 1d11e89698 rework Negative Guidance minimum sigma to work with AND, add infotext and copypaste parameters support 2023-04-29 15:57:09 +03:00
w-e-w 720fc88273 hints [clip_skip] 2023-04-29 20:55:01 +09:00
AUTOMATIC1111 43dd2378af
Merge branch 'dev' into generation_params_fix 2023-04-29 13:24:50 +03:00
AUTOMATIC1111 87535fcf29
Merge branch 'dev' into Branch_AddNewFilenameGen 2023-04-29 13:10:46 +03:00
AUTOMATIC1111 09069918e8
Merge pull request #9750 from TFWol/patch-1
Remove old code roll random artists
2023-04-29 11:15:26 +03:00
AUTOMATIC1111 7393fdefd5
Merge pull request #9060 from AlUlkesh/master
fix: lightboxModal, selectedTab
2023-04-29 10:46:10 +03:00
AUTOMATIC1111 d2f3f40a86
Merge pull request #9227 from bbonvi/master
fix disappearing live previews and progressbar during slow tasks
2023-04-29 10:29:47 +03:00
missionfloyd 0e071ae504 Custom delimiters 2023-04-25 08:08:57 -06:00
bbonvi 8ae8aeca75 pull progress for 40 seconds
for some extreme network conditions 20 seconds may not be enough
2023-04-24 13:12:49 +06:00
missionfloyd c1fdba5904
Remove hyphen, underscore delimiters 2023-04-21 13:44:31 -06:00
missionfloyd 27d02597c7
Remove parentheses if weight == 1 2023-04-21 01:37:29 -06:00
missionfloyd 7ef5551634 Update delimiters 2023-04-20 02:24:38 -06:00
missionfloyd ee172c0fc1 Simplify finding word boundaries
This also makes it work with prompts without spaces between words
2023-04-20 01:34:13 -06:00
missionfloyd fbd34a6847 Use string.contains() instead of regex 2023-04-20 01:12:59 -06:00
missionfloyd e735be8b5b Automatically select current word 2023-04-19 22:04:34 -06:00
TFWol 33365f15bf
Remove old code roll random artists
Removed context menu entry that used to be for rolling artists from the now removed artists.csv.

It was probably meant to be removed at commit 6d805b6.
2023-04-19 14:23:46 -07:00
tqwuliao 02e3518807 Add new FilenameGenerator [hasprompt<prompt1|default><prompt2>..] 2023-04-15 23:20:08 +08:00
Sakura-Luna 57a3d146e3 Tooltip localization support 2023-04-14 14:09:33 +08:00
space-nuko 7201d940a4 Improve frontend responsiveness for some buttons 2023-04-03 21:27:48 -05:00
Liam 54fd00ff8f fixed logic for updating the displayed generation params when the image modal is closed 2023-04-03 13:28:20 -04:00
bbonvi c938b172a4 fix missing live preview and progress during certain tasks
Sometimes tasks take longer than 5 seconds to start,
resulting in missing progress bar and livepreviews,
so we have to keep pulling for progress a bit longer (5s -> 20s).
2023-03-31 19:34:58 +06:00
siutin 70ab21e67d keep randomId simpler 2023-03-30 17:20:09 +08:00
siutin 90366b8d85 tool button 2023-03-30 17:20:09 +08:00
siutin 4242e194e4 add a button to restore the current progress 2023-03-30 17:20:09 +08:00
space-nuko f3320b802c Various UI fixes in config state tab 2023-03-29 18:35:25 -05:00
space-nuko ad5afcaae0 Save/restore working webui/extension configs 2023-03-29 16:55:33 -05:00
AlUlkesh 5a25826d84 try both versions of appendChild 2023-03-28 23:28:46 +02:00
AUTOMATIC d667fc435f add "resize by" and "resize to" tabs to img2img 2023-03-28 22:23:40 +03:00
AUTOMATIC 433b3ab701 Revert "Merge pull request #7931 from space-nuko/img2img-enhance"
This reverts commit 4268759370, reversing
changes made to 1b63afbedc.
2023-03-28 20:36:57 +03:00
AUTOMATIC1111 4268759370
Merge pull request #7931 from space-nuko/img2img-enhance
Add `Upscale by` and `Upscaler` options to img2img
2023-03-28 20:21:25 +03:00
space-nuko 4414d36bf6
Merge branch 'master' into img2img-enhance 2023-03-28 10:59:12 -04:00
space-nuko 082613036a
Merge branch 'master' into remove-watermark-option 2023-03-27 16:26:23 -05:00
AlUlkesh 9ecf347133 fix: lightboxModal, selectedTab 2023-03-27 20:01:19 +02:00
space-nuko fc8e1008ea Make disable configurable between builtin/extra extensions 2023-03-27 12:44:49 -04:00