Commit Graph

2171 Commits

Author SHA1 Message Date
w-e-w
eb007e5884 use the same datetime object for [date] and [datetime] 2022-10-24 10:28:42 +03:00
w-e-w
5a981310e6 replace_datetime() can now accept a datetime parameter 2022-10-24 10:28:42 +03:00
w-e-w
8f6af4ed65 remove lowercasing file_decoration as it is not needed anymore 2022-10-24 10:28:42 +03:00
w-e-w
00952fb4a8 add sanitize_filename() to datetime 2022-10-24 10:28:42 +03:00
w-e-w
480d8e7646 replace "srt.replace()" in apply_filename_pattern() with equivalent re.sub()
the file_decoration passed into apply_filename_pattern() is formatted to lowercase to increase compatibility
the use of case sensitive srt.replace()

but because the newly implemented "time format" is case sensitive
the lowercasing the file_decoration will cause time format to be broken

in order to resolve this issue
I decided to replace every srt.replace() and in if "str" in x to regular expression (case insensitive) equivalent
2022-10-24 10:28:42 +03:00
w-e-w
37dd6deafb filename pattern [datetime], extended customizable Format and Time Zone
format:
[datetime]
[datetime<Format>]
[datetime<Format><Time Zone>]
2022-10-24 10:28:42 +03:00
w-e-w
7d4a4db9ea modify unnecessary sting assignment as it's going to get overwritten 2022-10-24 10:28:42 +03:00
w-e-w
c5d90628a4 move "file_decoration" initialize section
into "if forced_filename is None:"
no need to initialize it if it's not going to be used
2022-10-24 10:28:42 +03:00
w-e-w
3be6b29d81 indent=4 config.json 2022-10-24 10:22:48 +03:00
AUTOMATIC
c623fa1f0b add extensions dir 2022-10-24 09:51:17 +03:00
AUTOMATIC
876a96f0f9 remove erroneous dir in the extension directory
remove loading .js files from scripts dir (they go into javascript)
load scripts after models, for scripts that depend on loaded models
2022-10-24 09:39:46 +03:00
AUTOMATIC1111
999929bea4
Merge pull request #3537 from yfszzx/Inspiron
Move out images browser from project
2022-10-24 09:28:37 +03:00
Trung Ngo
734986dde3 add callback after image is saved 2022-10-24 01:25:31 -05:00
Kris57
edc0c907fa fix ja translation 2022-10-24 09:20:05 +03:00
Kris57
71d14a4c40 cleanup ja translation 2022-10-24 09:20:05 +03:00
Kris57
e33a05f263 update ja translation 2022-10-24 09:20:05 +03:00
Kris57
a921badac3 update ja translation 2022-10-24 09:20:05 +03:00
Kris57
c6459986cb update ja translation 2022-10-24 09:20:05 +03:00
AUTOMATIC
6cbb04f7a5 fix #3517 breaking txt2img 2022-10-24 09:15:26 +03:00
不会画画的中医不是好程序员
68931242cf
Merge branch 'AUTOMATIC1111:master' into Inspiron 2022-10-24 14:09:27 +08:00
AngelBottomless
e9a410b535 check length for variance 2022-10-24 09:07:39 +03:00
AngelBottomless
0d2e1dac40 convert deque -> list
I don't feel this being efficient
2022-10-24 09:07:39 +03:00
AngelBottomless
348f89c8d4 statistics for pbar 2022-10-24 09:07:39 +03:00
AngelBottomless
40b56c9289 cleanup some code 2022-10-24 09:07:39 +03:00
AngelBottomless
b297cc3324 Hypernetworks - fix KeyError in statistics caching
Statistics logging has changed to {filename : list[losses]}, so it has to use loss_info[key].pop()
2022-10-24 09:07:39 +03:00
Vladimir Repin
f2cc3f32d5 fix whitespaces 2022-10-24 08:58:56 +03:00
Vladimir Repin
9741969325 Save properly processed image before color correction 2022-10-24 08:58:56 +03:00
Dynamic
dd25722d6c Finalize ko_KR.json 2022-10-24 08:55:33 +03:00
Dynamic
ae7c830c3a Translation complete 2022-10-24 08:55:33 +03:00
Dynamic
016712fc4c Update ko_KR.json
Updated translation for everything except the Settings tab
2022-10-24 08:55:33 +03:00
Dynamic
6cfe23a6f1 Rename ko-KR.json to ko_KR.json 2022-10-24 08:55:33 +03:00
Dynamic
499713c546 Updated file with basic template and added new translations
Translation done in txt2img-img2img windows and following scripts
2022-10-24 08:55:33 +03:00
Dynamic
e210b61d6a update ko-KR.json 2022-10-24 08:55:33 +03:00
Dynamic
1a96f856c4 update ko-KR.json
Translated all text on txt2img window, plus some extra
2022-10-24 08:55:33 +03:00
Dynamic
021b02751e Move ko-KR.json 2022-10-24 08:55:33 +03:00
Dynamic
e7eea55571 Update ko-KR.json 2022-10-24 08:55:33 +03:00
Dynamic
68e9e97899 Initial KR support - WIP
Localization WIP
2022-10-24 08:55:33 +03:00
judgeou
fe9740d2f5 update deepdanbooru version 2022-10-24 08:46:31 +03:00
yfszzx
f132923d5f merged 2022-10-24 11:35:51 +08:00
yfszzx
394c498621 test 2022-10-24 11:29:45 +08:00
不会画画的中医不是好程序员
9dd17b8601
fix add git add mistake 2022-10-24 11:19:49 +08:00
yfszzx
a889c93f23 paste_fields add to public 2022-10-24 11:13:16 +08:00
yfszzx
d7987ef9da add paste_fields to global 2022-10-24 11:06:58 +08:00
yfszzx
cef1b89aa2 remove browser to extension 2022-10-24 10:10:33 +08:00
yfszzx
124e44cf1e remove browser to extension 2022-10-24 09:51:56 +08:00
Dynamic
2ce44fc48e
Finalize ko_KR.json 2022-10-24 04:38:16 +09:00
Dynamic
6124575e18
Translation complete 2022-10-24 04:29:19 +09:00
Bruno Seoane
90f02c7522 Remove unused field and class 2022-10-23 16:05:54 -03:00
Bruno Seoane
1e625624ba Add folder processing endpoint
Also minor refactor
2022-10-23 16:01:16 -03:00
Bruno Seoane
866b36d705 Move processing's models into models.py
It didn't make sense to have two differente files for the same and
"models" is a more descriptive name.
2022-10-23 15:35:49 -03:00