This change introduces a cross-language import progress API for Immich imports and exposes a new query command to report live progress. A new ImportProgress model captures active state, totals, and bytes downloaded, allowing consuming code to display import status to users. - Adds ImportProgress data type and progress tracking during import - Exposes get_immich_import_progress command in Android and Rust - Updates permissions and schemas to include allow-get-immich-import-progress
476 lines
5.3 KiB
Markdown
476 lines
5.3 KiB
Markdown
## Default Permission
|
|
|
|
Allow the LockScreenWallpaper app to manage its wallpaper collection
|
|
|
|
#### This default permission set includes the following:
|
|
|
|
- `allow-get-state`
|
|
- `allow-get-gallery`
|
|
- `allow-select-images`
|
|
- `allow-delete-image`
|
|
- `allow-get-image-ids`
|
|
- `allow-delete-images`
|
|
- `allow-set-image-crop`
|
|
- `allow-set-setting`
|
|
- `allow-set-interval`
|
|
- `allow-next-wallpaper`
|
|
- `allow-get-immich-connection`
|
|
- `allow-connect-immich`
|
|
- `allow-disconnect-immich`
|
|
- `allow-get-immich-albums`
|
|
- `allow-get-immich-assets`
|
|
- `allow-import-immich-assets`
|
|
- `allow-get-immich-import-progress`
|
|
|
|
## Permission Table
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Identifier</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-connect-immich`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the connect_immich command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-connect-immich`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the connect_immich command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-delete-image`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the delete_image command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-delete-image`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the delete_image command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-delete-images`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the delete_images command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-delete-images`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the delete_images command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-disconnect-immich`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the disconnect_immich command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-disconnect-immich`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the disconnect_immich command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-get-gallery`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the get_gallery command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-get-gallery`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the get_gallery command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-get-image-ids`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the get_image_ids command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-get-image-ids`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the get_image_ids command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-get-immich-albums`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the get_immich_albums command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-get-immich-albums`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the get_immich_albums command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-get-immich-assets`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the get_immich_assets command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-get-immich-assets`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the get_immich_assets command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-get-immich-connection`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the get_immich_connection command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-get-immich-connection`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the get_immich_connection command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-get-immich-import-progress`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the get_immich_import_progress command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-get-immich-import-progress`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the get_immich_import_progress command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-get-state`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the get_state command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-get-state`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the get_state command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-import-immich-assets`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the import_immich_assets command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-import-immich-assets`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the import_immich_assets command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-next-wallpaper`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the next_wallpaper command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-next-wallpaper`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the next_wallpaper command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-select-images`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the select_images command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-select-images`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the select_images command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-set-image-crop`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the set_image_crop command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-set-image-crop`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the set_image_crop command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-set-interval`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the set_interval command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-set-interval`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the set_interval command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:allow-set-setting`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the set_setting command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`wallpaper:deny-set-setting`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the set_setting command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|