mirror of
https://github.com/samsonjs/immich.git
synced 2026-06-25 05:09:12 +00:00
* 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> |
||
|---|---|---|
| .. | ||
| 1645130759468-CreateUserTable.ts | ||
| 1645130777674-CreateDeviceInfoTable.ts | ||
| 1645130805273-CreateAssetsTable.ts | ||
| 1645130817965-CreateExifTable.ts | ||
| 1645130870184-CreateSmartInfoTable.ts | ||
| 1646249209023-AddExifTextSearchColumn.ts | ||
| 1646249734844-CreateExifTextSearchIndex.ts | ||
| 1646709533213-AddRegionCityToExIf.ts | ||
| 1646710459852-AddLocationToExifTextSearch.ts | ||
| 1648317474768-AddObjectColumnToSmartInfo.ts | ||
| 1649643216111-CreateSharedAlbumAndRelatedTables.ts | ||
| 1652633525943-UpdateUserTableWithAdminAndName.ts | ||
| 1653214255670-UpdateAssetTableWithWebpPath.ts | ||
| 1654299904583-UpdateAssetTableWithEncodeVideoPath.ts | ||
| 1655401127251-RenameSharedAlbums.ts | ||
| 1656338626260-RenameIsFirstLoggedInColumn.ts | ||
| 1656888591977-RenameAssetAlbumIdSequence.ts | ||
| 1656888918620-DropExifTextSearchableColumn.ts | ||
| 1656889061566-MatchMigrationsWithTypeORMEntities.ts | ||
| 1658860470248-AddExifImageNameAsSearchableText.ts | ||
| 1661011331242-AddCaption.ts | ||
| 1661528919411-ChangeExifFileSizeInByteToBigInt.ts | ||
| 1661881837496-AddAssetChecksum.ts | ||
| 1661971370662-UpdateAssetTableWithNewUniqueConstraint.ts | ||
| 1662427365521-FixTimestampDataTypeInAssetTable.ts | ||
| 1665540663419-CreateSystemConfigTable.ts | ||
| 1667762360744-AddingDeletedAtColumnInUserEntity.ts | ||
| 1668383120461-AddLivePhotosRelatedColumnToAssetTable.ts | ||
| 1668835311083-UpdateUserTableForOIDC.ts | ||
| 1670104716264-OAuthId.ts | ||
| 1670257571385-CreateTagsTable.ts | ||
| 1670607437008-TruncateOldConfigItems.ts | ||
| 1670633210032-AddUserEmailUniqueConstraint.ts | ||
| 1672109862870-DropSaltColumn.ts | ||
| 1672502270115-AddAPIKeys.ts | ||
| 1673150490490-AddSharedLinkTable.ts | ||
| 1673907194740-AddMorePermissionToSharedLink.ts | ||
| 1674263302005-RemoveVideoCodecConfigOption.ts | ||
| 1674342044239-CreateUserTokenEntity.ts | ||
| 1674757936889-AlterExifExposureTimeToString.ts | ||
| 1674774248319-TruncateAPIKeys.ts | ||
| 1674939383309-AddSharedLinkUserForeignKeyConstraint.ts | ||
| 1675667878312-AddUpdatedAtColumnToAlbumsUsersAssets.ts | ||
| 1675701909594-AddAlbumUserForeignKeyConstraint.ts | ||
| 1675808874445-APIKeyUUIDPrimaryKey.ts | ||
| 1675812532822-FixAlbumEntityTypeORM.ts | ||
| 1676437878377-AppleContentIdentifier.ts | ||
| 1676680127415-FixAssetRelations.ts | ||
| 1676721296440-AssetCreatedAtField.ts | ||
| 1676848629119-ExifEntityDefinitionFixes.ts | ||
| 1676848694786-SharedLinkEntityDefinitionFixes.ts | ||
| 1676852143506-SmartInfoEntityDefinitionFixes.ts | ||
| 1677497925328-AddExifTimeZone.ts | ||
| 1677535643119-AddIndexForAlbumInSharedLinkTable.ts | ||
| 1677613712565-AlbumThumbnailRelation.ts | ||
| 1677971458822-AddCLIPEncodeDataColumn.ts | ||
| 1679751316282-UpdateTranscodeOption.ts | ||
| 1679901204458-ClipEmbeddingFloat4.ts | ||
| 1680632845740-AddIsArchivedColumn.ts | ||
| 1680694465853-RemoveRedundantConstraints.ts | ||
| 1681144628393-AddOriginalFileNameToAssetTable.ts | ||
| 1681159594469-RemoveImageNameFromEXIFTable.ts | ||
| 1682371561743-FixNullableRelations.ts | ||
| 1682371791038-AddDeviceInfoToUserToken.ts | ||
| 1682710252424-DropDeviceInfoTable.ts | ||
| 1683808254676-AddPartnersTable.ts | ||
| 1684255168091-AddFacialTables.ts | ||
| 1684273840676-AddSidecarFile.ts | ||
| 1684328185099-RequireChecksumNotNull.ts | ||
| 1684410565398-AddStorageLabel.ts | ||
| 1684867360825-AddUserTokenAndAPIKeyCascades.ts | ||
| 1685044328272-AddSharedLinkCascade.ts | ||
| 1685370430343-UserDatesTimestamptz.ts | ||
| 1685731372040-RemoveInvalidCoordinates.ts | ||
| 1686584273471-ImportAsset.ts | ||
| 1686762895180-AddThumbhashColumn.ts | ||