Skip to content

Commit

Permalink
Merge branch 'main' into filter-people-mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jforseth210 authored Jan 29, 2025
2 parents 51a06b5 + 4fd8c1b commit 4e661a2
Show file tree
Hide file tree
Showing 30 changed files with 131 additions and 46 deletions.
6 changes: 3 additions & 3 deletions cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@immich/cli",
"version": "2.2.47",
"version": "2.2.48",
"description": "Command Line Interface (CLI) for Immich",
"type": "module",
"exports": "./dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions docker/hwaccel.transcoding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ services:
vaapi-wsl: # use this for VAAPI if you're running Immich in WSL2
devices:
- /dev/dri:/dev/dri
- /dev/dxg:/dev/dxg
volumes:
- /usr/lib/wsl:/usr/lib/wsl
environment:
Expand Down
4 changes: 4 additions & 0 deletions docs/static/archived-versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
[
{
"label": "v1.125.7",
"url": "https://v1.125.7.archive.immich.app"
},
{
"label": "v1.125.6",
"url": "https://v1.125.6.archive.immich.app"
Expand Down
8 changes: 4 additions & 4 deletions e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "immich-e2e",
"version": "1.125.6",
"version": "1.125.7",
"description": "",
"main": "index.js",
"type": "module",
Expand Down
19 changes: 19 additions & 0 deletions e2e/src/api/specs/user-admin.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,5 +356,24 @@ describe('/admin/users', () => {
expect(status).toBe(403);
expect(body).toEqual(errorDto.forbidden);
});

it('should restore a user', async () => {
const user = await utils.userSetup(admin.accessToken, createUserDto.create('restore'));

await deleteUserAdmin({ id: user.userId, userAdminDeleteDto: {} }, { headers: asBearerAuth(admin.accessToken) });

const { status, body } = await request(app)
.post(`/admin/users/${user.userId}/restore`)
.set('Authorization', `Bearer ${admin.accessToken}`);
expect(status).toBe(200);
expect(body).toEqual(
expect.objectContaining({
id: user.userId,
email: user.userEmail,
status: 'active',
deletedAt: null,
}),
);
});
});
});
2 changes: 1 addition & 1 deletion machine-learning/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "machine-learning"
version = "1.125.6"
version = "1.125.7"
description = ""
authors = ["Hau Tran <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion mobile/android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ platform :android do
build_type: 'Release',
properties: {
"android.injected.version.code" => 182,
"android.injected.version.name" => "1.125.6",
"android.injected.version.name" => "1.125.7",
}
)
upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab')
Expand Down
2 changes: 1 addition & 1 deletion mobile/ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ platform :ios do
desc "iOS Release"
lane :release do
increment_version_number(
version_number: "1.125.6"
version_number: "1.125.7"
)
increment_build_number(
build_number: latest_testflight_build_number + 1,
Expand Down
10 changes: 5 additions & 5 deletions mobile/openapi/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions mobile/openapi/lib/api/assets_api.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mobile/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: immich_mobile
description: Immich - selfhosted backup media file on mobile phone

publish_to: 'none'
version: 1.125.6+182
version: 1.125.7+182

environment:
sdk: '>=3.3.0 <4.0.0'
Expand Down
16 changes: 10 additions & 6 deletions open-api/immich-openapi-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@
}
],
"responses": {
"201": {
"200": {
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -1424,6 +1424,7 @@
},
"/assets/bulk-upload-check": {
"post": {
"description": "Checks if assets exist by checksums",
"operationId": "checkBulkUpload",
"parameters": [],
"requestBody": {
Expand Down Expand Up @@ -1459,14 +1460,15 @@
"api_key": []
}
],
"summary": "Checks if assets exist by checksums",
"summary": "checkBulkUpload",
"tags": [
"Assets"
]
}
},
"/assets/device/{deviceId}": {
"get": {
"description": "Get all asset of a device that are in the database, ID only.",
"operationId": "getAllUserAssetsByDeviceId",
"parameters": [
{
Expand Down Expand Up @@ -1504,14 +1506,15 @@
"api_key": []
}
],
"summary": "Get all asset of a device that are in the database, ID only.",
"summary": "getAllUserAssetsByDeviceId",
"tags": [
"Assets"
]
}
},
"/assets/exist": {
"post": {
"description": "Checks if multiple assets exist on the server and returns all existing - used by background backup",
"operationId": "checkExistingAssets",
"parameters": [],
"requestBody": {
Expand Down Expand Up @@ -1547,7 +1550,7 @@
"api_key": []
}
],
"summary": "Checks if multiple assets exist on the server and returns all existing - used by background backup",
"summary": "checkExistingAssets",
"tags": [
"Assets"
]
Expand Down Expand Up @@ -1903,6 +1906,7 @@
]
},
"put": {
"description": "Replace the asset with new file, without changing its id",
"operationId": "replaceAsset",
"parameters": [
{
Expand Down Expand Up @@ -1956,7 +1960,7 @@
"api_key": []
}
],
"summary": "Replace the asset with new file, without changing its id",
"summary": "replaceAsset",
"tags": [
"Assets"
],
Expand Down Expand Up @@ -7454,7 +7458,7 @@
"info": {
"title": "Immich",
"description": "Immich API",
"version": "1.125.6",
"version": "1.125.7",
"contact": {}
},
"tags": [],
Expand Down
4 changes: 2 additions & 2 deletions open-api/typescript-sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion open-api/typescript-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@immich/sdk",
"version": "1.125.6",
"version": "1.125.7",
"description": "Auto-generated TypeScript SDK for the Immich API",
"type": "module",
"main": "./build/index.js",
Expand Down
Loading

0 comments on commit 4e661a2

Please sign in to comment.