DominikDoom
8a574ec5e1
Isolate result type / class
2025-07-12 18:39:06 +02:00
DominikDoom
0608706e7d
Fix more broken/missed references
2025-07-10 19:03:09 +02:00
DominikDoom
8eb5176ab4
Move CFG to top level for shorter access, add hacky jsdoc typedef
2025-07-10 18:22:18 +02:00
DominikDoom
bdbda299f7
Refactor whole script to use isolated globals
2025-07-10 17:52:20 +02:00
DominikDoom
4d6e5b14ac
Use new TAC.Globals namespace for CFG
2025-07-10 14:07:13 +02:00
DominikDoom
61d799a908
Merge branch 'main' into refactor-class-scope
2025-07-10 12:20:36 +02:00
DominikDoom
9155e4d42c
Prevent db response errors from breaking the regular completion
2024-04-14 12:01:15 +02:00
DominikDoom
3e2ee75f37
Move the previously global util functions to TacUtils class & update references
...
(to prevent naming conflicts and have cleaner modularization)
2024-04-13 19:38:32 +02:00
DominikDoom
d1eea880f3
Rename API call functions on JS side to prevent name conflicts
...
Fixes #282
2024-04-13 17:27:10 +02:00
DominikDoom
ef59cff651
Move last used date check guard to SQL side, implement max cap
...
- Server side date comparison and cap check further improve js sort performance
- The alias check has also been moved out of calculateUsageBias to support the new cap system
2024-03-16 16:44:43 +01:00
DominikDoom
a454383c43
Merge branch 'main' into feature-sort-by-frequent-use
2024-03-03 13:52:32 +01:00
DominikDoom
d4041096c9
Merge pull request #275 from Symbiomatrix/wildcard
2024-03-03 13:43:27 +01:00
DominikDoom
a966be7546
Merge branch 'main' into feature-sort-by-frequent-use
2024-01-26 16:21:15 +01:00
DominikDoom
d37e37acfa
Added option to autocomplete style names
...
To be used in tandem with https://github.com/SirVeggie/extension-style-vars
Closes #268
2024-01-26 16:16:04 +01:00
DominikDoom
d496569c9a
Cache sort key for small performance increase
2024-01-19 20:17:14 +01:00
DominikDoom
20b6635a2a
WIP usage info table
...
Might get replaced with gradio depending on how well it works
2023-12-04 15:00:19 +01:00
DominikDoom
e82e958c3e
Fix alias check for non-aliased tag types
2023-11-29 18:15:59 +01:00
DominikDoom
4df90f5c95
Don't frequency sort alias results by default
...
with an option to enable it if desired
2023-11-29 18:04:50 +01:00
DominikDoom
a156214a48
Last used & min count settings
...
Also some performance improvements
2023-11-29 17:45:51 +01:00
DominikDoom
15478e73b5
Count positive / negative prompt usage separately
2023-11-29 15:22:41 +01:00
DominikDoom
4fba7baa69
Merge branch 'main' into feature-sort-by-frequent-use
2023-10-06 18:36:24 +02:00
DominikDoom
44c5450b28
Fix special characters breaking wiki link urls
2023-10-06 14:54:29 +02:00
DominikDoom
5fd48f53de
Fix csv parsing for unclosed quotes
...
Fixes #245
2023-10-06 14:44:03 +02:00
DominikDoom
363895494b
Fix hide after insert race condition
2023-10-01 23:17:12 +02:00
DominikDoom
ffc0e378d3
Add different sorting functions
2023-10-01 22:44:35 +02:00
DominikDoom
440f109f1f
Use POST + body to get around URL length limit
2023-10-01 22:30:47 +02:00
DominikDoom
80fb247dbe
Sort results by usage count
2023-10-01 21:44:24 +02:00
DominikDoom
030a83aa4d
Use query parameter instead of path to fix wildcard subfolder issues
2023-09-26 11:55:12 +02:00
DominikDoom
581bf1e6a4
Use composite key with name & type to prevent collisions
2023-09-26 11:35:24 +02:00
DominikDoom
74ea5493e5
Add rest of utils functions
2023-09-26 10:58:46 +02:00
DominikDoom
6cf9acd6ab
Catch sqlite exceptions, add tag list endpoint
2023-09-24 20:06:40 +02:00
DominikDoom
b44c36425a
Fix db load version comparison, add sort options
2023-09-24 17:59:14 +02:00
DominikDoom
11ffed8afc
Merge branch 'feature-sorting' into feature-sort-by-frequent-use
2023-09-15 16:37:34 +02:00
DominikDoom
2846d79b7d
Small cleanup, add reverse option
...
Properly add text at the end on non-reverse numeric
2023-09-13 19:39:48 +02:00
DominikDoom
783a847978
Fix typo
2023-09-13 16:37:44 +02:00
DominikDoom
44effca702
Add sorting to javascript side
...
Now uses the sortKey if available. Elements without a sortKey will always use name as fallback.
Removed sort direction API again since it needs to be modeled case-by-case in the javascript anyway.
2023-09-13 14:03:49 +02:00
DominikDoom
0a8e7d7d84
Stub API setup for tag usage stats
2023-09-12 14:10:15 +02:00
DominikDoom
4d4f23e551
Formatting
2023-09-09 14:43:55 +02:00
DominikDoom
f63bbf947f
Fix API endpoint to work with symlinks / external folders
...
Fixes #217
2023-08-07 22:15:48 +02:00
DominikDoom
995a5ecdba
Live preview images for extra networks
...
Same as the thumbnails in the extra networks tab, just in a small preview window during completion
2023-08-07 18:50:55 +02:00
DominikDoom
0260765b27
Add support for dynamic-prompts yaml wildcards
2023-07-29 16:13:23 +02:00
DominikDoom
2e271aea5c
Support for new webui 1.5.0 lora features
...
Prefers trigger words over the model-keyword ones
Uses custom per-lora multiplier if set
2023-07-26 14:38:51 +02:00
DominikDoom
a95f422f10
Merge branch 'feature-rubytext' into main
...
Live translation feature, pretty WIP so expect some bugs
2023-05-15 19:06:09 +02:00
DominikDoom
cc67adf82f
Fix quicksettings dropdown changes not being detected
...
Fixes #176
2023-05-09 14:42:32 +02:00
DominikDoom
5d5db7bafe
Fix for gradio 3.16
...
Should resolve part of #175
2023-05-07 20:45:20 +02:00
DominikDoom
40edb89974
Fix model name not being detected after startup
...
Fixes #174
2023-05-06 20:09:24 +02:00
DominikDoom
84b6a0394e
Fix more bugs related to replacing
...
Also some involving parentheses
2023-05-02 17:46:04 +02:00
DominikDoom
b18823e88f
Sliding window search, fix double replacement
2023-05-02 17:46:04 +02:00
Dominik Reh
d29298e0cc
Move anti-caching parameter to load function
...
For less repetition and shorter paths in the higher level functions.
Active by default, but can be disabled.
2023-02-10 11:59:06 +01:00
Dominik Reh
cbeced9121
Extract file load to queue
...
This enables other parsers to keep their load function in the same file
2023-02-10 11:55:56 +01:00