stash/internal/api
WithoutPants 2b29207f1e
Upgrade go to 1.25.9 and golangci-lint (#6869)
* Bump go version in go.mod
* Update compiler image.

Changed github download url since existing one didn't have version 12 of the SDK.

* Update macOS requirements in README for v0.32.0
* Update lint action
* Bump golangci-lint version
* Migrate golangci-lint config
* Fix QF1012 errors

(Use fmt.Fprintf(...) instead of WriteString(fmt.Sprintf(...)))

* Fix QF1003 errors

(could use tagged switch)

* Fix ST1005 errors

(error string capitalisation)

* Fix ST1011 errors

(seconds suffix)

* Fix QF1006 errors

(lift into loop condition)

* Fix QF1002 errors

(switch condition)

* Fix gocritic error

(deprecated paragraph)

* Fix incorrect nolint directive

* Ignore specific checks

noctx should be addressed in a later PR
---------
Co-authored-by: DogmaDragon <103123951+DogmaDragon@users.noreply.github.com>
Co-authored-by: feederbox826 <me@feederbox.cc>
2026-04-29 10:13:58 +10: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
changeset_translator.go
check_version.go Upgrade go to 1.25.9 and golangci-lint (#6869) 2026-04-29 10:13:58 +10:00
context_keys.go
custom_fields.go
dir_list.go
doc.go
error.go
fields.go
images.go
input.go
json.go
json_test.go
locale.go
models.go
plugin_map.go
resolver.go Exclude zip folders when browsing scenes and galleries (#6740) 2026-03-24 15:03:58 +11:00
resolver_model_config.go
resolver_model_file.go
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
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
resolver_model_saved_filter.go
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
resolver_model_studio.go
resolver_model_tag.go
resolver_mutation_configure.go Allow stash path to non-existing directory (#6644) 2026-03-05 07:59:13 +11:00
resolver_mutation_dlna.go
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
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
resolver_mutation_package.go Upgrade go to 1.25.9 and golangci-lint (#6869) 2026-04-29 10:13:58 +10:00
resolver_mutation_performer.go Upgrade go to 1.25.9 and golangci-lint (#6869) 2026-04-29 10:13:58 +10:00
resolver_mutation_plugin.go
resolver_mutation_saved_filter.go
resolver_mutation_scene.go
resolver_mutation_scraper.go
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
resolver_mutation_tag_test.go
resolver_query_configuration.go Custom sprite generation (#6588) 2026-02-20 15:09:59 +11:00
resolver_query_dlna.go
resolver_query_find_file.go
resolver_query_find_folder.go
resolver_query_find_gallery.go
resolver_query_find_group.go
resolver_query_find_image.go
resolver_query_find_movie.go
resolver_query_find_performer.go
resolver_query_find_saved_filter.go
resolver_query_find_scene.go
resolver_query_find_scene_marker.go
resolver_query_find_studio.go
resolver_query_find_tag.go
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
resolver_query_metadata.go
resolver_query_package.go
resolver_query_plugin.go
resolver_query_scene.go
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
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
routes_custom.go
routes_downloads.go
routes_gallery.go
routes_group.go
routes_image.go
routes_performer.go
routes_plugin.go
routes_scene.go
routes_studio.go
routes_tag.go
scraped_content.go
server.go
session.go
stash_box.go
timestamp.go
timestamp_test.go
types.go