1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00
immich/mobile
Jonathan Jogenfors 1b54c4f8e7
feat(server): Add support for client-side hashing (#2072)
* Modify controller DTOs

* Can check duplicates on server side

* Remove deviceassetid and deviceid

* Remove device ids from file uploader

* Add db migration for removed device ids

* Don't sanitize checksum

* Convert asset checksum to string

* Make checksum not optional for asset

* Use enums when rejecting duplicates

* Cleanup

* Return of the device id, but optional

* Don't use deviceId for upload folder

* Use checksum in thumb path

* Only use asset id in thumb path

* Openapi generation

* Put deviceAssetId back in asset response dto

* Add missing checksum in test fixture

* Add another missing checksum in test fixture

* Cleanup asset repository

* Add back previous /exists endpoint

* Require checksum to not be null

* Correctly set deviceId in db

* Remove index

* Fix compilation errors

* Make device id nullabel in asset response dto

* Reduce PR scope

* Revert asset service

* Reorder imports

* Reorder imports

* Reduce PR scope

* Reduce PR scope

* Reduce PR scope

* Reduce PR scope

* Reduce PR scope

* Update openapi

* Reduce PR scope

* refactor: asset bulk upload check

* chore: regenreate open-api

* chore: fix tests

* chore: tests

* update migrations and regenerate api

* Feat: use checksum in web file uploader

* Change to wasm-crypto

* Use crypto api for checksumming in web uploader

* Minor cleanup of file upload

* feat(web): pause and resume jobs

* Make device asset id not nullable again

* Cleanup

* Device id not nullable in response dto

* Update API specs

* Bump api specs

* Remove old TODO comment

* Remove NOT NULL constraint on checksum index

* Fix requested pubspec changes

* Remove unneeded import

* Update server/apps/immich/src/api-v1/asset/asset.service.ts

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* Update server/apps/immich/src/api-v1/asset/asset-repository.ts

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* Remove unneeded check

* Update server/apps/immich/src/api-v1/asset/asset-repository.ts

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* Remove hashing in the web uploader

* Cleanup file uploader

* Remove varchar from asset entity fields

* Return 200 from bulk upload check

* Put device asset id back into asset repository

* Merge migrations

* Revert pubspec lock

* Update openapi specs

* Merge upstream changes

* Fix failing asset service tests

* Fix formatting issue

* Cleanup migrations

* Remove newline from pubspec

* Revert newline

* Checkout main version

* Revert again

* Only return AssetCheck

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
2023-05-24 16:08:21 -05:00
..
.fvm chore(mobile): Upgrade to Flutter 3.10 (#2429) 2023-05-12 09:21:13 -05:00
.isar@70da4e0bbd fix(mobile): add isar source code as a git submodule for F-Droid build (#1985) 2023-03-12 22:50:55 -05:00
android Version v1.57.1 2023-05-23 09:21:22 +00:00
assets [Localizely] Translations update (#2471) 2023-05-18 15:10:22 -05:00
fonts feat(mobile) Add in app logging to show app's log information (#1014) 2022-11-27 14:34:19 -06:00
integration_test refactor(mobile): migrate all Hive boxes to Isar database (#2036) 2023-03-22 20:36:44 -05:00
ios Version v1.57.1 2023-05-23 09:21:22 +00:00
lib chore(mobile): remove hive (#2497) 2023-05-20 20:42:19 -05:00
openapi feat(server): Add support for client-side hashing (#2072) 2023-05-24 16:08:21 -05:00
scripts add fdroid isar build script (#2100) 2023-03-30 10:31:44 +02:00
test feat(mobile): lazy loading of assets (#2413) 2023-05-17 12:36:02 -05:00
.gitignore feat(mobile): iOS background sync (#1758) 2023-02-20 05:59:50 +00:00
.metadata Optimize android's Gradle settings and clean up mobile source code (#240) 2022-06-22 00:23:35 -05:00
analysis_options.yaml Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
flutter_01.png feat: Add description (#2237) 2023-04-13 10:22:06 -05:00
flutter_native_splash.yaml fix(mobile): Added flutter native splash and splash screens (#1520) 2023-02-06 00:41:07 -06:00
makefile feat(mobile): Archive feature on mobile (#2258) 2023-04-17 00:02:07 -05:00
pubspec.lock chore(mobile): remove hive (#2497) 2023-05-20 20:42:19 -05:00
pubspec.yaml Version v1.57.1 2023-05-23 09:21:22 +00:00
README.md Update readme 2022-02-07 23:55:30 -06:00

Immich Mobile Application - Flutter