50 Commits

Author SHA1 Message Date
bigcat88
283cd27bdc
final adjustments 2025-09-18 10:05:32 +03:00
bigcat88
1a37d1476d
refactor(6): fully batched initial scan 2025-09-17 20:29:29 +03:00
bigcat88
f9602457d6
optimization: initial scan speed(batching metadata[filename]) 2025-09-17 16:47:27 +03:00
bigcat88
85ef08449d
optimization: initial scan speed(batching tags) 2025-09-17 14:08:57 +03:00
bigcat88
5b6810a2c6
fixed hash calculation during model loading in ComfyUI 2025-09-17 13:25:56 +03:00
bigcat88
621faaa195
refactor(5): use less DB queries to create seed asset 2025-09-17 10:46:21 +03:00
bigcat88
d0aa64d57b
refactor(4): use one query to init DB with all tags for assets 2025-09-16 21:18:18 +03:00
bigcat88
a336c7c165
refactor(1): use general fast_asset_file_check helper for fast check 2025-09-16 19:19:18 +03:00
bigcat88
77332d3054
optimization: fast scan: commit to the DB in chunks 2025-09-16 14:21:40 +03:00
bigcat88
0be513b213
fix: escape "_" symbol in all other places 2025-09-15 20:26:48 +03:00
bigcat88
f1fb7432a0
fix+test: escape "_" symbol in assets filtering 2025-09-15 19:19:47 +03:00
bigcat88
f3cf99d10c
fix+test: escape "_" symbol in tags filtering 2025-09-15 17:29:27 +03:00
bigcat88
5f187fe6fb
optimization: make list_unhashed_candidates_under_prefixes single-query instead of N+1 2025-09-15 12:46:35 +03:00
bigcat88
025fc49b4e
optimization: DB Queries (Tags) 2025-09-15 10:26:13 +03:00
bigcat88
a7f2546558
fix: use ".rowcount" instead of ".returning" on SQLite 2025-09-14 17:55:02 +03:00
bigcat88
6cfa94ec58
fixed metadata[filename] feature + new tests for this 2025-09-14 16:28:14 +03:00
bigcat88
a2ec1f7637
simplify code 2025-09-14 15:31:42 +03:00
bigcat88
0b795dc7a7
removed non-needed code 2025-09-14 15:14:24 +03:00
bigcat88
47f7c7ee8c
rework + add test for concurrent AssetInfo delete 2025-09-14 15:08:29 +03:00
bigcat88
37b81e6658
fixed new PgSQL bug 2025-09-14 14:30:38 +03:00
bigcat88
975650060f
concurrency upload test + fixed 2 related bugs 2025-09-14 09:39:23 +03:00
bigcat88
4a713654cd
added more tests for the Assets logic 2025-09-14 09:10:59 +03:00
bigcat88
bb9ed04758
global refactoring; add support for Assets without the computed hash 2025-09-13 16:39:08 +03:00
bigcat88
0df1ccac6f
GitHub CI test for Assets 2025-09-10 16:22:22 +03:00
bigcat88
357193f7b5
fixed metadata filtering + tests 2025-09-09 19:12:11 +03:00
bigcat88
dfb5703d40
feat: remove Asset when there is no references left + bugfixes + more tests 2025-09-09 15:10:07 +03:00
bigcat88
e3311c9229
feat: support for in-memory SQLite databases 2025-09-08 18:15:09 +03:00
bigcat88
3fa0fc496c
fix: use UPSERT to eliminate rare race condition during ingesting many small files in parallel 2025-09-08 18:13:32 +03:00
bigcat88
6282d495ca
corrected detection of missing files for assets 2025-09-07 22:08:38 +03:00
bigcat88
b8ef9bb92c
add detection of the missing files for existing assets 2025-09-07 16:49:39 +03:00
bigcat88
2d9be462d3
add support for assets duplicates 2025-09-06 19:22:51 +03:00
bigcat88
789a62ce35
assume that DB packages always present; refactoring & cleanup 2025-09-06 17:44:01 +03:00
bigcat88
bf8363ec87
always autofill "filename" in the metadata 2025-08-29 19:48:42 +03:00
bigcat88
6b86be320a
use UUID instead of autoincrement Integer for Assets ID field 2025-08-28 08:22:54 +03:00
bigcat88
bdf4ba24ce
removed not needed "assets.updated_at" column 2025-08-27 21:58:17 +03:00
bigcat88
871e41aec6
removed not needed "refcount" column 2025-08-27 21:36:31 +03:00
bigcat88
eb7008a4d3
removed not used "added_by" column 2025-08-27 21:26:35 +03:00
bigcat88
026b7f209c
add "--multi-user" support 2025-08-27 19:47:55 +03:00
bigcat88
7c1b0be496
add Get Asset endpoint 2025-08-27 09:58:12 +03:00
bigcat88
6fade5da38
add AssetsResolver support 2025-08-26 20:58:04 +03:00
bigcat88
09dabf95bc
refactoring: use the same code for "scan task" and realtime DB population 2025-08-25 13:31:56 +03:00
bigcat88
a82577f64a
auto-creation of tags and fixed population DB when cloned asset is already present 2025-08-24 16:36:01 +03:00
bigcat88
f2ea0bc22c
added create_asset_from_hash endpoint 2025-08-24 14:15:21 +03:00
bigcat88
0755e5320a
remove timezone; download asset, delete asset endpoints 2025-08-24 12:36:20 +03:00
bigcat88
8d46bec951
use Pydantic for output; finished Tags endpoints 2025-08-24 11:02:30 +03:00
bigcat88
f92307cd4c
dev: Everything is Assets 2025-08-23 19:21:52 +03:00
pythongosssss
54cf14cbbb Merge remote-tracking branch 'origin/master' into pysssss-model-db 2025-08-03 16:36:49 +01:00
pythongosssss
50c605e957
Add support for sqlite database (#8444)
* Add support for sqlite database

* fix
2025-06-11 16:43:39 -04:00
pythongosssss
9da6aca0d0 Add additional db model metadata fields and model downloading function 2025-06-01 15:32:13 +01:00
pythongosssss
1cb3c98947 Implement database & model hashing 2025-06-01 15:32:02 +01:00