1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00
immich/mobile
Alex Phillips e171fec5aa
feat(server): support for read-only assets and importing existing items in the filesystem (#2715)
* Added read-only flag for assets, endpoint to trigger file import vs upload

* updated fixtures with new property

* if upload is 'read-only', ensure there is no existing asset at the designated originalPath

* added test for file import as well as detecting existing image at read-only destination location

* Added storage service test for a case where it should not move read-only assets

* upload doesn't need the read-only flag available, just importing

* default isReadOnly on import endpoint to true

* formatting fixes

* create-asset dto needs isReadOnly, so set it to false by default on create, updated api generation

* updated code to reflect changes in MR

* fixed read stream promise return type

* new index for originalPath, check for existing path on import, reglardless of user, to prevent duplicates

* refactor: import asset

* chore: open api

* chore: tests

* Added externalPath support for individual users, updated UI to allow this to be set by admin

* added missing var for externalPath in ui

* chore: open api

* fix: compilation issues

* fix: server test

* built api, fixed user-response dto to include externalPath

* reverted accidental commit

* bad commit of duplicate externalPath in user response  dto

* fixed tests to include externalPath on expected result

* fix: unit tests

* centralized supported filetypes, perform file type checking of asset and sidecar during file import process

* centralized supported filetype check method to keep regex DRY

* fixed typo

* combined migrations into one

* update api

* Removed externalPath from shared-link code, added column to admin user page whether external paths / import is enabled or not

* update mimetype

* Fixed detect correct mimetype

* revert asset-upload config

* reverted domain.constant

* refactor

* fix mime-type issue

* fix format

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-06-21 21:33:20 -05:00
..
.fvm chore(mobile): Upgrade to Flutter 3.10 (#2429) 2023-05-12 09:21:13 -05:00
.isar@6643d064ab chore(mobile): update isar (#2571) 2023-05-26 08:09:44 -05:00
android Version v1.62.1 2023-06-19 21:31:38 +00:00
assets feat(mobile): partner sharing (#2541) 2023-05-24 22:52:43 -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.62.1 2023-06-19 21:31:38 +00:00
lib feat(mobile): pinch to zoom on asset grid (#2905) 2023-06-21 21:13:23 -05:00
openapi feat(server): support for read-only assets and importing existing items in the filesystem (#2715) 2023-06-21 21:33:20 -05:00
scripts add fdroid isar build script (#2100) 2023-03-30 10:31:44 +02:00
test feature(mobile): hash assets & sync via checksum (#2592) 2023-06-10 13:13:59 -05:00
.gitignore chore(mobile): update isar (#2571) 2023-05-26 08:09:44 -05: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 feat(mobile): sync remote assets without thumbs (#2705) 2023-06-14 16:35:32 +02:00
pubspec.yaml Version v1.62.1 2023-06-19 21:31:38 +00:00
README.md

Immich Mobile Application - Flutter