photoprism/internal/commands
Michael Mayer 94b6631b3d Test: Use PascalCase names for all Go subtests in /internal
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-02 14:50:02 +02:00
..
catalog CLI: Skip help sub-commands in "photoprism show commands" output #5220 2025-09-21 19:51:22 +02:00
auth.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
auth_add.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
auth_add_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
auth_jwt.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
auth_jwt_inspect.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
auth_jwt_issue.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
auth_jwt_keys.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
auth_jwt_status.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
auth_jwt_test.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
auth_list.go Auth: Add "node" and "portal" roles, refactor session entity #98 2025-09-18 13:33:18 +02:00
auth_list_test.go Backend: Upgrade github.com/olekukonko/tablewriter from v0.0.5 to v1.0.7 2025-06-24 12:48:38 +02:00
auth_remove.go CLI: Add cluster operations and management commands #98 2025-09-16 18:09:09 +02:00
auth_remove_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
auth_reset.go CLI: Add cluster operations and management commands #98 2025-09-16 18:09:09 +02:00
auth_reset_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
auth_show.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
auth_show_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
auth_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
backup.go CLI: Update usage descriptions for Boolean command flags 2025-08-28 19:10:36 +02:00
cleanup.go CLI: Update usage descriptions for Boolean command flags 2025-08-28 19:10:36 +02:00
clients.go Auth: Add "instance" and "service" roles, fix entity/auth_client.go #98 2025-09-18 15:23:06 +02:00
clients_add.go API: Refactor JWT-based request authorization #98 #5230 2025-09-26 05:32:30 +02:00
clients_add_test.go Auth: Add alias for RoleNone and improve unit tests coverage #98 2025-09-18 17:10:39 +02:00
clients_flags_test.go Test: Use PascalCase names for all Go subtests in /internal 2025-10-02 14:50:02 +02:00
clients_list.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
clients_list_test.go Backend: Upgrade github.com/olekukonko/tablewriter from v0.0.5 to v1.0.7 2025-06-24 12:48:38 +02:00
clients_mod.go Backend: Refactor function calls with missing params... after Go update 2025-09-07 16:02:54 +02:00
clients_mod_test.go Auth: Add alias for RoleNone and improve unit tests coverage #98 2025-09-18 17:10:39 +02:00
clients_remove.go CLI: Add cluster operations and management commands #98 2025-09-16 18:09:09 +02:00
clients_remove_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
clients_reset.go CLI: Add cluster operations and management commands #98 2025-09-16 18:09:09 +02:00
clients_reset_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
clients_show.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
clients_show_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
cluster.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
cluster_exit_codes_test.go Config: Require secure cluster join tokens >= 24 chars #98 #5230 2025-09-26 11:01:48 +02:00
cluster_health.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
cluster_helpers.go Auth: Refactor cluster configuration and provisioning API endpoints #98 2025-09-24 08:28:38 +02:00
cluster_nodes_list.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
cluster_nodes_mod.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
cluster_nodes_remove.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
cluster_nodes_rotate.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
cluster_nodes_show.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
cluster_register.go Auth: Return and persist ClusterCIDR when registering a node #98 #5230 2025-09-26 06:17:31 +02:00
cluster_register_http_test.go Config: Require secure cluster join tokens >= 24 chars #98 #5230 2025-09-26 11:01:48 +02:00
cluster_summary.go Auth: Return and persist ClusterCIDR when registering a node #98 #5230 2025-09-26 06:17:31 +02:00
cluster_test.go Config: Require secure cluster join tokens >= 24 chars #98 #5230 2025-09-26 11:01:48 +02:00
cluster_theme_pull.go Auth: Refactor cluster configuration and provisioning API endpoints #98 2025-09-24 08:28:38 +02:00
cluster_theme_pull_oauth_test.go Config: Require secure cluster join tokens >= 24 chars #98 #5230 2025-09-26 11:01:48 +02:00
commands.go CLI: Add cluster operations and management commands #98 2025-09-16 18:09:09 +02:00
commands_test.go CLI: Add "photoprism vision reset" command to reset metadata #5233 2025-09-29 18:59:52 +02:00
config.go CLI: Upgrade github.com/urfave/cli from v1 to v2 #3168 2024-12-05 17:15:59 +01:00
connect.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
convert.go AI: Add "photoprism vision" CLI subcommands #127 #1090 2025-04-11 02:11:53 +02:00
copy.go CLI: Improve "photoprism dl" to download multiple URLs with auth #5219 2025-09-20 13:14:58 +02:00
download.go CLI: Add "photoprism dl --format-sort" flag and dl-method env variable 2025-09-26 15:51:50 +02:00
download_e2e_test.go CLI: Add "photoprism dl --format-sort" flag and dl-method env variable 2025-09-26 15:51:50 +02:00
download_format_test.go CLI: Add "photoprism dl --format-sort" flag and dl-method env variable 2025-09-26 15:51:50 +02:00
download_help_test.go CLI: Add "photoprism dl --format-sort" flag and dl-method env variable 2025-09-26 15:51:50 +02:00
download_impl.go CLI: Add "photoprism dl --format-sort" flag and dl-method env variable 2025-09-26 15:51:50 +02:00
download_impl_test.go CLI: Add "photoprism dl --format-sort" flag and dl-method env variable 2025-09-26 15:51:50 +02:00
download_method.go CLI: Add "photoprism dl --format-sort" flag and dl-method env variable 2025-09-26 15:51:50 +02:00
edition.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
edition_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
faces.go CLI: Update usage descriptions for Boolean command flags 2025-08-28 19:10:36 +02:00
find.go AI: Add Model.Provider value to set defaults by provider type #5232 2025-09-29 14:20:30 +02:00
find_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
flags.go AI: Automatically set model defaults and use default source #5232 #5233 2025-09-29 23:09:29 +02:00
import.go CLI: Improve "photoprism dl" to download multiple URLs with auth #5219 2025-09-20 13:14:58 +02:00
index.go CLI: Update usage descriptions for Boolean command flags 2025-08-28 19:10:36 +02:00
index_test.go Commands: Remove unstable assertion from index_test.go 2023-10-10 14:39:04 +02:00
jwt_helpers.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
migrate.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
migrations.go CLI: Improve "photoprism dl" to download multiple URLs with auth #5219 2025-09-20 13:14:58 +02:00
moments.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
optimize.go AI: Add "photoprism vision" CLI subcommands #127 #1090 2025-04-11 02:11:53 +02:00
passwd.go CLI: Update usage descriptions for Boolean command flags 2025-08-28 19:10:36 +02:00
passwd_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
places.go CLI: Add cluster operations and management commands #98 2025-09-16 18:09:09 +02:00
purge.go CLI: Update usage descriptions for Boolean command flags 2025-08-28 19:10:36 +02:00
report.go Security: Improve rate limit and HTTP proxy configuration #98 2022-10-12 14:57:33 +02:00
reset.go CLI: Add cluster operations and management commands #98 2025-09-16 18:09:09 +02:00
restore.go CLI: Correct indentation of backup and restore command descriptions 2025-04-25 08:34:43 +02:00
show.go CLI: Add "photoprism show commands" command to generate CLI docs #5220 2025-09-21 19:34:39 +02:00
show_commands.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
show_commands_test.go CLI: Add "photoprism show commands" command to generate CLI docs #5220 2025-09-21 19:34:39 +02:00
show_config.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_config_options.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_config_options_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
show_config_yaml.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_config_yaml_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
show_file_formats.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_json_test.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_metadata.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_search_filters.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_sources.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
show_thumb_sizes.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_thumb_sizes_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
show_video_sizes.go CLI: Flatten config options output when using the "--json" flag #5220 2025-09-21 16:52:56 +02:00
show_video_sizes_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
start.go Server: Move process handling and shutdown to separate package #4767 2025-02-04 19:05:26 +01:00
status.go CLI: Added JWT issuance and diagnostics sub commands #5230 2025-09-26 02:38:49 +02:00
stop.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
thumbs.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
users.go CLI: Improve usage descriptions of client/user management commands #98 2025-09-18 14:30:19 +02:00
users_add.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
users_add_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
users_flags_test.go Test: Use PascalCase names for all Go subtests in /internal 2025-10-02 14:50:02 +02:00
users_legacy.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
users_legacy_test.go Backend: Upgrade github.com/olekukonko/tablewriter from v0.0.5 to v1.0.7 2025-06-24 12:48:38 +02:00
users_list.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
users_list_test.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
users_mod.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
users_mod_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
users_remove.go CLI: Add cluster operations and management commands #98 2025-09-16 18:09:09 +02:00
users_remove_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
users_reset.go CLI: Add cluster operations and management commands #98 2025-09-16 18:09:09 +02:00
users_reset_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
users_show.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
users_show_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
users_test.go Backend: Upgrade github.com/olekukonko/tablewriter from v0.0.5 to v1.0.7 2025-06-24 12:48:38 +02:00
version.go CLI: Add RunWithTestContext function for command tests #3168 2024-12-06 09:08:38 +01:00
version_test.go Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
vision.go CLI: Add "photoprism vision reset" command to reset metadata #5233 2025-09-29 18:59:52 +02:00
vision_list.go AI: Configure vision model execution and scheduling #5232 #5233 #5234 2025-09-30 15:51:48 +02:00
vision_reset.go CLI: Ensure vision reset command and worker use same default src #5233 2025-10-01 08:52:28 +02:00
vision_reset_test.go CLI: Add "photoprism vision reset" command to reset metadata #5233 2025-09-29 18:59:52 +02:00
vision_run.go AI: Configure vision model execution and scheduling #5232 #5233 #5234 2025-09-30 15:51:48 +02:00
vision_save.go AI: Add "photoprism vision sources" CLI command #5123 2025-09-02 11:01:52 +02:00
vision_sources.go CLI: Refactor "photoprism vision" subcommands #5233 2025-09-29 21:39:36 +02:00
vision_sources_test.go CLI: Refactor "photoprism vision" subcommands #5233 2025-09-29 21:39:36 +02:00