Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion IMMICH-VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.5.3
v2.5.4
7 changes: 5 additions & 2 deletions docs/cli/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ $ immichpy albums get-all-albums [OPTIONS]
**Options**:

* `--asset-id TEXT`: Filter albums containing this asset ID (ignores shared parameter)
* `--shared [true|false]`: Filter by shared status: true = only shared, false = only own, undefined = all
* `--shared [true|false]`: Filter by shared status: true = only shared, false = not shared, undefined = all owned albums
* `--help`: Show this message and exit.

### `immichpy albums remove-asset-from-album`
Expand Down Expand Up @@ -1132,7 +1132,7 @@ $ immichpy assets update-assets [OPTIONS]
* `--date-time-original TEXT`: Original date and time
* `--date-time-relative FLOAT`: Relative time offset in seconds
* `--description TEXT`: Asset description
* `--duplicate-id TEXT`: Duplicate asset ID
* `--duplicate-id TEXT`: Duplicate ID
* `--ids TEXT`: Asset IDs to update [required]
* `--is-favorite [true|false]`: Mark as favorite
* `--latitude FLOAT`: Latitude coordinate
Expand Down Expand Up @@ -5806,6 +5806,9 @@ $ immichpy users-admin create-user-admin [OPTIONS]
* `--name TEXT`: User name [required]
* `--notify [true|false]`: Send notification email
* `--password TEXT`: User password [required]
* `--pin-code TEXT`: PIN code

Example: 123456
* `--quota-size-in-bytes INTEGER RANGE`: Storage quota in bytes [x>=0]
* `--should-change-password [true|false]`: Require password change on next login
* `--storage-label TEXT`: Storage label
Expand Down
2 changes: 1 addition & 1 deletion immichpy/cli/commands/albums.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def get_all_albums(
shared: Literal["true", "false"] | None = typer.Option(
None,
"--shared",
help="""Filter by shared status: true = only shared, false = only own, undefined = all""",
help="""Filter by shared status: true = only shared, false = not shared, undefined = all owned albums""",
),
) -> None:
"""List all albums
Expand Down
2 changes: 1 addition & 1 deletion immichpy/cli/commands/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def update_assets(
None, "--description", help="""Asset description"""
),
duplicate_id: str | None = typer.Option(
None, "--duplicate-id", help="""Duplicate asset ID"""
None, "--duplicate-id", help="""Duplicate ID"""
),
ids: list[str] = typer.Option(..., "--ids", help="""Asset IDs to update"""),
is_favorite: Literal["true", "false"] | None = typer.Option(
Expand Down
9 changes: 9 additions & 0 deletions immichpy/cli/commands/users_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ def create_user_admin(
None, "--notify", help="""Send notification email"""
),
password: str = typer.Option(..., "--password", help="""User password"""),
pin_code: str | None = typer.Option(
None,
"--pin-code",
help="""PIN code

Example: 123456""",
),
quota_size_in_bytes: int | None = typer.Option(
None, "--quota-size-in-bytes", help="""Storage quota in bytes""", min=0
),
Expand Down Expand Up @@ -58,6 +65,8 @@ def create_user_admin(
if notify is not None:
set_nested(json_data, ["notify"], notify.lower() == "true")
set_nested(json_data, ["password"], password)
if pin_code is not None:
set_nested(json_data, ["pin_code"], pin_code)
if quota_size_in_bytes is not None:
set_nested(json_data, ["quota_size_in_bytes"], quota_size_in_bytes)
if should_change_password is not None:
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/activities_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
14 changes: 7 additions & 7 deletions immichpy/client/generated/api/albums_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -1915,7 +1915,7 @@ async def get_all_albums(
shared: Annotated[
Optional[StrictBool],
Field(
description="Filter by shared status: true = only shared, false = only own, undefined = all"
description="Filter by shared status: true = only shared, false = not shared, undefined = all owned albums"
),
] = None,
_request_timeout: Union[
Expand All @@ -1936,7 +1936,7 @@ async def get_all_albums(

:param asset_id: Filter albums containing this asset ID (ignores shared parameter)
:type asset_id: UUID
:param shared: Filter by shared status: true = only shared, false = only own, undefined = all
:param shared: Filter by shared status: true = only shared, false = not shared, undefined = all owned albums
:type shared: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
Expand Down Expand Up @@ -1993,7 +1993,7 @@ async def get_all_albums_with_http_info(
shared: Annotated[
Optional[StrictBool],
Field(
description="Filter by shared status: true = only shared, false = only own, undefined = all"
description="Filter by shared status: true = only shared, false = not shared, undefined = all owned albums"
),
] = None,
_request_timeout: Union[
Expand All @@ -2014,7 +2014,7 @@ async def get_all_albums_with_http_info(

:param asset_id: Filter albums containing this asset ID (ignores shared parameter)
:type asset_id: UUID
:param shared: Filter by shared status: true = only shared, false = only own, undefined = all
:param shared: Filter by shared status: true = only shared, false = not shared, undefined = all owned albums
:type shared: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
Expand Down Expand Up @@ -2071,7 +2071,7 @@ async def get_all_albums_without_preload_content(
shared: Annotated[
Optional[StrictBool],
Field(
description="Filter by shared status: true = only shared, false = only own, undefined = all"
description="Filter by shared status: true = only shared, false = not shared, undefined = all owned albums"
),
] = None,
_request_timeout: Union[
Expand All @@ -2092,7 +2092,7 @@ async def get_all_albums_without_preload_content(

:param asset_id: Filter albums containing this asset ID (ignores shared parameter)
:type asset_id: UUID
:param shared: Filter by shared status: true = only shared, false = only own, undefined = all
:param shared: Filter by shared status: true = only shared, false = not shared, undefined = all owned albums
:type shared: bool
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/api_keys_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/assets_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/authentication_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/deprecated_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/download_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/duplicates_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/faces_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/jobs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/libraries_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/maintenance_admin_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/map_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/memories_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/notifications_admin_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/notifications_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/partners_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/people_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/plugins_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/queues_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/search_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/server_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/sessions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/shared_links_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/stacks_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/sync_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion immichpy/client/generated/api/system_config_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Immich API

The version of the OpenAPI document: 2.5.3
The version of the OpenAPI document: 2.5.4
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading