Kevin Turner
52a8ad1c18
chore: rename model.size to model.file_size
...
to disambiguate from RAM size or pixel size
2025-04-10 09:53:03 +10:00
Kevin Turner
9590e8ff39
feat: expose model storage size
2025-04-10 09:53:03 +10:00
psychedelicious
38e7b23d18
feat(api): put all validatoin run data into single object
2025-04-04 11:38:04 +11:00
psychedelicious
571710fab6
feat(app): add optional published_workflow_id to enqueue payloads and queue item
2025-04-04 11:38:04 +11:00
psychedelicious
08ee08557b
feat(app): add noop api validation run stuff to routes and methods
2025-04-03 12:42:28 +11:00
Mary Hipp
4a83700fe4
if clientSideUploading is enabled, handle bulk uploads using that flow
2025-03-28 10:52:27 -04:00
jazzhaiku
be04743649
Merge branch 'main' into taxonomy
2025-03-26 15:09:26 +11:00
Billy
182580ff69
Imports
2025-03-26 12:55:10 +11:00
psychedelicious
73dbebbcc3
feat(api): add route to get app config and set config fields
2025-03-26 11:39:21 +11:00
psychedelicious
0a836d6fc1
feat(app): add method and route to get workflow library counts by category
2025-03-12 12:11:00 +11:00
psychedelicious
bad5023238
tweak(app): 'is_recent' -> 'has_been_opened'
2025-03-12 12:11:00 +11:00
Mary Hipp
df305c0b99
allow opened_at to be nullable for workflows that the user has never opened
2025-03-12 12:11:00 +11:00
psychedelicious
3ff529c718
revert(app): use OR logic for workflow library filtering
2025-03-12 08:00:18 +11:00
psychedelicious
b733d3897e
feat(app): revised workflow library filtering by tag
...
- Replace `get_counts` method with `get_tag_counts_with_filter` which gets the counts for a list of tags, filtering by a list of selected tags
- Update `get_many` logic to apply tag filtering with AND logic, to match the new `get_tag_counts_with_filter` method
- Update workflow library router
2025-03-12 08:00:18 +11:00
psychedelicious
7f0452173b
feat(api): use extract_metadata_from_image in upload router
2025-03-07 11:45:49 +11:00
psychedelicious
2d3a2f9842
feat(app): add update_opened_at method for workflows
...
This method simply sets the `opened_at` attribute to the current time.
Previously `opened_at` was set when calling `get`, but that is not correct. We `get` workflows often, even when not opening them. So this needs to be a separate thing
2025-03-07 08:44:15 +11:00
psychedelicious
e8aed67cf1
feat(app): add workflow library get_counts method
...
Get the counts of workflows for the given tags and/or categories. Made a separate method bc get_many will deserialize all matching workflows, which is unnecessary for this use case.
2025-03-07 08:44:15 +11:00
psychedelicious
b39774a57c
feat(app): add searching by tags to workflow library APIs
2025-03-07 08:44:15 +11:00
Mary Hipp
2594eed1af
add comments
2025-03-07 08:44:15 +11:00
Mary Hipp
e8db1c1d5a
break out actions, start on marketplace categories
2025-03-07 08:44:15 +11:00
Mary Hipp
d5c5e8e8ed
another new workflow library
2025-03-07 08:44:15 +11:00
psychedelicious
445f122f37
fix(api): allow deleting a workflow even if the thumbnail file doesn't exist
2025-03-06 10:57:54 +11:00
Mary Hipp
b0593eda92
ruff
2025-03-06 10:41:47 +11:00
Mary Hipp
ab4433da2f
refactor workflow thumbnails to be separate flow/endpoints
2025-03-06 10:41:47 +11:00
Mary Hipp
d4423aa16f
WIP workflow thumbnails - how to add to redux state?
2025-03-06 10:41:47 +11:00
psychedelicious
f3dd44044a
experiment(app): run enqueue_batch async in a thread
2025-03-03 14:40:48 +11:00
psychedelicious
559654f0ca
revert(app): get_all_board_image_names_for_board requires board_id
2025-02-27 10:19:13 +11:00
psychedelicious
ef95f4962c
feat(app): extend "all image names for board" apis
...
The method and route now supports:
- "none" as a board ID, sentinel value for uncategorized
- Optionally specify image categories
- Optionally specify is_intermediate
2025-02-26 18:25:23 +11:00
psychedelicious
675ac348de
feat(app): add retry queue item functionality
...
Retrying a queue item means cloning it, resetting all execution-related state. Retried queue items reference the item they were retried from by id. This relationship is not enforced by any DB constraints.
- Add `retried_from_item_id` to `session_queue` table in DB in a migration.
- Add `retry_items_by_id` method to session queue service. Accepts a list of queue item IDs and clones them (minus execution state). Returns a list of retried items. Items that are not in a canceled or failed state are skipped.
- Add `retry_items_by_id` HTTP endpoint that maps 1-to-1 to the queue service method.
- Add `queue_items_retried` event, which includes the list of retried items.
2025-02-18 09:14:03 +11:00
Riku
47dc954385
feat(app): add cancel all except current queue item functionality
2025-02-04 12:23:23 +11:00
Ryan Dick
cc9d215a9b
Add endpoint for emptying the model cache. Also, adds a threading lock to the ModelCache to make it thread-safe.
2025-01-30 09:18:28 -05:00
psychedelicious
81da5210f0
feat(api): add seed field to dynamicprompts
2025-01-20 08:57:42 +11:00
Ryan Dick
1321fac8f2
Remove get_cache_size() and set_cache_size() endpoints. These were unused by the frontend and refer to cache fields that are no longer accessible.
2025-01-07 01:06:20 +00:00
Mary Hipp
7d6c443d6f
fix(api): limit board_name length to 300 characters
2025-01-06 10:49:49 +11:00
Ryan Dick
83ea6420e2
Move CacheStats to its own file.
2024-12-24 14:23:18 +00:00
Riku
159b00a490
fix(app): adjust session queue api type
2024-12-01 20:06:05 -08:00
Mary Hipp
908db31e48
feat(api,ui): allow Whats New module to get content from back-end
2024-11-05 15:30:17 -05:00
Mary Hipp
bcb41399ca
feat(ui,api): support for HF tokens in UI, handle Unauthorized and Forbidden errors
2024-10-31 15:47:14 +11:00
maryhipp
9cd47fa857
(api): update names of starter models, add ability to track previous_names so it does not mess up logic that prevents dupe starter model installs
2024-10-24 23:34:06 +11:00
psychedelicious
abf46eaacd
feat(api): compare name/base/type when checking if starter model is installed
2024-10-15 15:58:11 -04:00
Mary Hipp
5bd87ca89b
feat(ui,api): add starter bundles to MM
2024-10-15 15:58:11 -04:00
Mary Hipp
acfeb4a276
undo changes that made category optional
2024-10-11 17:37:57 -04:00
Mary Hipp
f9bc29203b
ruff
2024-10-11 17:23:34 -04:00
Mary Hipp
9933cdb6b7
(api) fix missing sort params being drilled down, add case insensitivity to name sorting
2024-10-11 17:23:34 -04:00
Mary Hipp
3eee1ba113
remove prints
2024-10-08 10:08:50 -04:00
Mary Hipp
96dd1d5102
(api) update workflow list route to work with certain params optional so we can get all at once
2024-10-08 10:08:50 -04:00
Mary Hipp
6e6c555765
change order of infill methods
2024-09-23 13:57:20 -04:00
psychedelicious
9b0dd52792
feat(app): add get_queue_counts_by_destination
...
This allows the frontend to check if there are, for example, pending canvas generations.
2024-09-18 06:40:47 +03:00
psychedelicious
480856a528
feat(app): cancel by destination, not origin
...
When resetting the canvas or staging area, we don't want to cancel generations that are going to the gallery - only those going to the canvas.
Thus the method should not cancel by origin, but instead cancel by destination.
Update the queue method and route.
2024-09-06 22:56:24 +10:00
psychedelicious
257b18230a
tidy(app): clean up app changes for canvas v2
2024-09-06 22:56:24 +10:00