Aarni Koskela
8a178e6717
Refactor configure opts_onchange out
2023-05-19 17:35:51 +03:00
Aarni Koskela
8200e0c27b
Refactor configure_sigint_handler out
2023-05-19 17:35:51 +03:00
Aarni Koskela
1482c89376
Refactor validate_tls_options out, fix typo (keyfile was there twice)
2023-05-19 17:35:51 +03:00
Aarni Koskela
4897e5277b
Make load_scripts create new runners (removes reload_scripts)
2023-05-19 15:49:53 +03:00
Aarni Koskela
a0005121ae
Simplify CORS middleware configuration
2023-05-19 15:37:13 +03:00
Aarni Koskela
21ee46eea7
Deduplicate default extra network registration
2023-05-19 15:35:16 +03:00
Aarni Koskela
de3abc29ae
Fix typo "intialize"
2023-05-19 15:27:23 +03:00
Aarni Koskela
7569677e9e
Spel chek changelog some
2023-05-19 08:35:16 +03:00
Aarni Koskela
9c54b78d9d
Run eslint --fix (and normalize tabs to spaces)
2023-05-17 16:09:06 +03:00
Aarni Koskela
4f11f285f9
Add ESLint to CI
2023-05-17 16:09:06 +03:00
Aarni Koskela
13f4c62ba3
Add basic ESLint configuration for formatting
...
This doesn't enable any of ESLint's actual possible-issue linting,
but just style normalization based on the Prettier configuration (but without line length limits).
2023-05-17 16:09:06 +03:00
Aarni Koskela
315f109427
Copy s_min_uncond to Processed
...
Should fix #10416
2023-05-17 10:26:32 +03:00
Aarni Koskela
875990a232
Add option for /_stop route (for graceful shutdown)
2023-05-17 10:15:08 +03:00
Aarni Koskela
85b4f89926
Replace state.need_restart with state.server_command + replace poll loop with signal
2023-05-17 10:15:03 +03:00
Aarni Koskela
d9968e6108
launch.py: Don't involve shell for running Python or Git for output
...
Fixes Linux regression in 451d255b58
2023-05-14 20:39:19 +03:00
Aarni Koskela
cd6990c243
Make dump translations work again
2023-05-13 19:22:39 +03:00
Aarni Koskela
1f57b948b7
Move localization to its own script block and load it first
2023-05-13 19:15:13 +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
Aarni Koskela
451d255b58
Get rid of check_run + run_python
2023-05-12 20:54:06 +03:00
Aarni Koskela
55d222a9f4
launch.py: make git_tag() and commit_hash() work even when WEBUI_LAUNCH_LIVE_OUTPUT
2023-05-12 20:54:06 +03:00
Aarni Koskela
d4bd67bd67
Bump versions to avoid downgrading them
2023-05-11 23:12:43 +03:00
Aarni Koskela
da10de022f
Make live previews use JPEG only when the image is lorge enough
2023-05-11 20:54:40 +03:00
Aarni Koskela
49a55b410b
Autofix Ruff W (not W605) (mostly whitespace)
2023-05-11 20:29:11 +03:00
Aarni Koskela
431bc5a297
Reindent utils_test with 4 spaces
2023-05-11 18:26:34 +03:00
Aarni Koskela
098d2fda52
Reindent autocrop with 4 spaces
2023-05-11 18:26:04 +03:00
Aarni Koskela
5b592669f9
CI: use launch.py for dependencies too
2023-05-11 11:57:46 +03:00
Aarni Koskela
c702010e57
CI: use CPU wheel repo for PyTorch
2023-05-11 11:57:46 +03:00
Aarni Koskela
dd3ca9adf7
launch.py: make torch_index_url an envvar
2023-05-11 11:57:46 +03:00
Aarni Koskela
a09e1e6e18
launch.py: Use GitHub archive URLs for gfpgan, clip, openclip instead of git clones
2023-05-11 11:57:43 +03:00
Aarni Koskela
875bc27009
launch.py: Simplify run()
2023-05-11 11:57:41 +03:00
Aarni Koskela
49db24ce27
launch.py: Add debugging envvar to see install output
2023-05-11 11:57:36 +03:00
Aarni Koskela
1332c46b71
Drop fonts + font-roboto deps since we only use the single regular cut of Roboto
2023-05-11 10:07:28 +03:00
Aarni Koskela
df7070eca2
Deduplicate get_font code
2023-05-11 10:06:19 +03:00
Aarni Koskela
16e4d79122
paths_internal: deduplicate modules_path
2023-05-11 10:05:39 +03:00
Aarni Koskela
ef11c197b3
Update clean-fid to loosen transitive dependency pins
...
Diff: https://github.com/GaParmar/clean-fid/compare/bd92e684ff06819058083c5a9fddc6f712045d46...c8ffa420a3923e8fd87c1e75170de2cf59d2644b
2023-05-11 08:48:08 +03:00
Aarni Koskela
990ca80cb6
Replace pylint CI with ruff
2023-05-09 23:13:47 +03:00
Aarni Koskela
3ba6c3c83c
Fix up string formatting/concatenation to f-strings where feasible
2023-05-09 22:25:39 +03:00
Aarni Koskela
16f0739db0
Make localization.js do nothing if there's no localization to do
2023-05-04 20:18:01 +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
Aarni Koskela
fcc194afad
prompt-bracket-checker: Simplify + improve error reporting
2023-04-13 23:00:32 +03:00
Aarni Koskela
06f167da37
Extra networks: support .txt description sidecar file
2023-03-06 21:15:33 +02:00
Aarni Koskela
49b1dc5e07
Deduplicate extra network preview-search code
2023-03-06 21:00:34 +02:00
Aarni Koskela and GitHub
a77873974b
... also for tests.
2023-01-07 11:34:02 +02:00
Aarni Koskela and GitHub
0fc1848e40
CI: Use native actions/setup-python caching
2023-01-07 11:25:41 +02:00