stash/internal/api
KennyG 17fe7b1092 Refactor clear behavior in settings.
- Updated GraphQL schema to change `defaultPerformerGender` type to `GenderEnum` and added a new field `clearDefaultPerformerGender` for clearing the setting.
- Modified `applyDefaultPerformerGenderInput` function to accept the new input structure, allowing for clearer handling of gender updates and clearing.
- Enhanced the `SettingsInterfacePanel` to implement the new logic for saving default performer gender, improving user experience when setting or clearing the default gender.

These changes streamline the configuration process and improve the clarity of gender handling in the application.
2026-05-01 09:39:33 -04:00
..
loaders Expand folder select hierarchy based on initial selected folder (#6738) 2026-03-23 16:15:23 +11:00
urlbuilders feat: include api key in funscript url (#6760) 2026-04-24 14:59:24 +10:00
authentication.go [Feature] Reveal file in system file manager from file info panel (#6587) 2026-02-23 12:51:35 +11:00
bool_map.go Add support for disabling plugins (#4141) 2023-10-16 16:15:12 +11:00
changeset_translator.go Bugfix: Add Trimspace to New Objects (#6226) 2025-11-27 07:48:56 +11:00
check_version.go Bug Fix: Update Macos Version Check (#6289) 2025-11-18 15:06:25 +11:00
context_keys.go Gallery scrubber (#5133) 2024-08-28 08:59:41 +10:00
custom_fields.go Add support for removing custom field keys (#6362) 2025-12-04 07:28:06 +11:00
dir_list.go Add filtering to folder select (#4277) 2023-11-20 13:00:28 +11:00
doc.go Add package docs and project vision/goals (#5169) 2024-08-28 09:01:39 +10:00
error.go Error logging improvements (#3768) 2023-05-26 09:49:00 +10:00
fields.go Add findFiles and findFile graphql queries (#5941) 2025-06-24 13:05:17 +10:00
images.go Feature: AVIF support (#6288) 2025-11-28 07:19:32 +11:00
input.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
json.go Fix custom field numbers not filtering correctly (#5685) 2025-02-26 14:04:51 +11:00
json_test.go Performer custom fields (#5487) 2024-12-03 13:49:55 +11:00
locale.go I18N: Add Estonian, Russian first-level langs, add many preview langs (#3176) 2022-11-22 18:27:47 -05:00
models.go Add findFiles and findFile graphql queries (#5941) 2025-06-24 13:05:17 +10:00
plugin_map.go Improve client-side graphql scalar types (#4511) 2024-02-07 09:49:32 +11:00
resolver.go Exclude zip folders when browsing scenes and galleries (#6740) 2026-03-24 15:03:58 +11:00
resolver_model_config.go Improve client-side graphql scalar types (#4511) 2024-02-07 09:49:32 +11:00
resolver_model_file.go Add findFiles and findFile graphql queries (#5941) 2025-06-24 13:05:17 +10:00
resolver_model_folder.go Exclude zip folders when browsing scenes and galleries (#6740) 2026-03-24 15:03:58 +11:00
resolver_model_gallery.go Backend support for gallery custom fields (#6592) 2026-02-23 07:39:28 +11:00
resolver_model_gallery_chapter.go SQLite model refactoring (#3791) 2023-06-15 12:46:09 +10:00
resolver_model_image.go Backend support for image custom fields (#6598) 2026-02-24 07:41:40 +11:00
resolver_model_movie.go Backend support for Group custom fields (#6596) 2026-02-23 11:53:12 +11:00
resolver_model_performer.go Convert career length fields to dates (#6682) 2026-03-17 15:48:30 +11:00
resolver_model_plugin.go UI plugin dependencies (#4307) 2023-11-27 13:41:04 +11:00
resolver_model_saved_filter.go Saved filter refactor (#4054) 2023-09-01 10:04:56 +10:00
resolver_model_scene.go feat: include api key in funscript url (#6760) 2026-04-24 14:59:24 +10:00
resolver_model_scene_marker.go SQLite model refactoring (#3791) 2023-06-15 12:46:09 +10:00
resolver_model_studio.go Studio custom fields backend support (#6156) 2026-02-05 09:01:29 +11:00
resolver_model_tag.go Tag custom fields support for backend (#6546) 2026-02-06 12:35:05 +11:00
resolver_mutation_configure.go Refactor clear behavior in settings. 2026-05-01 09:39:33 -04:00
resolver_mutation_dlna.go Separate graphql API from rest of the system (#2503) 2022-09-06 07:03:40 +00:00
resolver_mutation_file.go Fix missing folder corruption during scanning (#6608) 2026-02-27 07:42:53 +11:00
resolver_mutation_gallery.go Backend support for gallery custom fields (#6592) 2026-02-23 07:39:28 +11:00
resolver_mutation_group.go Refactor bulk edit dialogs (#6647) 2026-03-14 17:56:31 +11:00
resolver_mutation_image.go Backend support for image custom fields (#6598) 2026-02-24 07:41:40 +11:00
resolver_mutation_job.go Model refactor, part 2 (#4092) 2023-09-11 12:24:15 +10:00
resolver_mutation_metadata.go Include blobs in backup (#6586) 2026-02-20 09:13:55 +11:00
resolver_mutation_migrate.go Try to create backup directory during migrate. Log warning on failure (#6808) 2026-04-08 11:30:32 +10:00
resolver_mutation_movie.go Bugfix: Add Trimspace to New Objects (#6226) 2025-11-27 07:48:56 +11:00
resolver_mutation_package.go Manager refactor, part 1 (#4298) 2023-11-28 13:56:46 +11:00
resolver_mutation_performer.go add default performer gender configuration option 2026-04-26 14:52:34 -04:00
resolver_mutation_plugin.go Fix setting pointers corrupting config in memory (#4868) 2024-05-23 10:56:18 +10:00
resolver_mutation_saved_filter.go Bugfix: Add Trimspace to New Objects (#6226) 2025-11-27 07:48:56 +11:00
resolver_mutation_scene.go Scene custom field backend support (#6584) 2026-02-18 16:50:32 +11:00
resolver_mutation_scraper.go Manager refactor, part 1 (#4298) 2023-11-28 13:56:46 +11:00
resolver_mutation_stash_box.go FR: Tags Tagger (#6559) 2026-02-25 11:39:14 +11:00
resolver_mutation_studio.go Feature Request: Add organized flag to studios (#6303) 2026-02-19 09:05:17 +11:00
resolver_mutation_tag.go Merge tag values dialog (#6552) 2026-02-11 11:27:57 +11:00
resolver_mutation_tag_test.go Improve plugin hook cyclic detection (#4625) 2024-02-28 08:29:25 +11:00
resolver_query_configuration.go add default performer gender configuration option 2026-04-26 14:52:34 -04:00
resolver_query_dlna.go Separate graphql API from rest of the system (#2503) 2022-09-06 07:03:40 +00:00
resolver_query_find_file.go Handle modified files where the case of the filename changed on case-insensitive filesystems (#6327) 2025-12-02 12:53:37 +11:00
resolver_query_find_folder.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_find_gallery.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_find_group.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_find_image.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_find_movie.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_find_performer.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_find_saved_filter.go Default view filters (#4962) 2024-06-18 10:51:52 +10:00
resolver_query_find_scene.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_find_scene_marker.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_find_studio.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_find_tag.go Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
resolver_query_job.go Fix WebSocket UTF-8 error for non-UTF-8 file paths in subscriptions (#6810) 2026-04-10 13:42:42 +10:00
resolver_query_logs.go Separate graphql API from rest of the system (#2503) 2022-09-06 07:03:40 +00:00
resolver_query_metadata.go Separate graphql API from rest of the system (#2503) 2022-09-06 07:03:40 +00:00
resolver_query_package.go Use slices package from the stdlib when possible (#5360) 2024-10-29 11:26:23 +11:00
resolver_query_plugin.go Separate graphql API from rest of the system (#2503) 2022-09-06 07:03:40 +00:00
resolver_query_scene.go SQLite model refactoring (#3791) 2023-06-15 12:46:09 +10:00
resolver_query_scraper.go Match exact tag names for batch tagger and show exact matches first for query (#6739) 2026-03-23 16:29:49 +11:00
resolver_subscription_job.go Separate graphql API from rest of the system (#2503) 2022-09-06 07:03:40 +00:00
resolver_subscription_logging.go Fix WebSocket UTF-8 error for non-UTF-8 file paths in subscriptions (#6810) 2026-04-10 13:42:42 +10:00
routes.go Model refactor, part 3 (#4152) 2023-10-16 14:26:34 +11:00
routes_custom.go Plugin assets, external scripts and CSP overrides (#4260) 2023-11-19 10:41:16 +11:00
routes_downloads.go Manager refactor, part 1 (#4298) 2023-11-28 13:56:46 +11:00
routes_gallery.go Use gallery updated at for cover mod time (#5225) 2024-09-05 16:45:15 +10:00
routes_group.go Rename movie group backend (#5044) 2024-07-04 11:36:05 +10:00
routes_image.go Use gallery updated at for cover mod time (#5225) 2024-09-05 16:45:15 +10:00
routes_performer.go Add SFW content mode option (#6262) 2025-11-18 11:13:35 +11:00
routes_plugin.go Add handler for /plugin/{}/assets (#5907) 2025-06-03 20:35:29 +10:00
routes_scene.go FR: Add Delete Button For Scene Covers (#6444) 2026-01-14 14:13:41 +11:00
routes_studio.go Manager refactor, part 1 (#4298) 2023-11-28 13:56:46 +11:00
routes_tag.go Manager refactor, part 1 (#4298) 2023-11-28 13:56:46 +11:00
scraped_content.go Handle marshalling scraped movie to group (#5974) 2025-06-30 07:51:53 +10:00
server.go Feature: Add "Troubleshooting Mode" (#6343) 2026-01-27 14:26:26 +11:00
session.go Login page internationalisation (#5765) 2025-03-27 11:56:43 +11:00
stash_box.go Add rate limit to stashbox connection (#5764) 2025-03-27 11:54:00 +11:00
timestamp.go Add support for disabling plugins (#4141) 2023-10-16 16:15:12 +11:00
timestamp_test.go Remove railsTimeLayout from ParseDateStringAsTime (#4333) 2023-12-01 22:28:38 +02:00
types.go Scene play and o-counter history view and editing (#4532) 2024-02-22 11:28:18 +11:00