Alex Tran
dc58702923
update
2023-07-11 21:17:59 -05:00
Jason Rasmussen
120727889f
refactor(server): calculate asset type server-side
2023-07-10 15:12:43 -04:00
Jason Rasmussen
6180828ed2
refactor(server): mime types ( #3197 )
...
* refactor(server): mime type check
* chore: open api
* chore: remove duplicate test
2023-07-10 12:56:45 -05:00
kasgel
50f26374e3
fix(server): enable transcoding of audioless videos ( #3147 )
...
* Fix: enable transcoding of audioless videos
* Fix: enable transcoding of audioless videos & typing
* Fix: enable transcoding of audioless videos & formatting
* fix: do not always transcode if there is no audio stream
2023-07-09 15:15:34 -05:00
Jason Rasmussen
398bd04ffd
refactor(server): upload config ( #3148 )
2023-07-08 23:37:40 -05:00
Mert
8349a28ed8
refactor(server): modularize getFfmpegOptions
( #3138 )
...
* refactored `getFfmpegOptions`
refactor transcoding, make separate service
* fixed enum casing
* use `Logger` instead of `console.log`
* review suggestions
* use enum for `getHandler`
* fixed formatting
* Update server/src/domain/media/media.util.ts
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
* Update server/src/domain/media/media.util.ts
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
* More specific imports, renamed codec classes
* simplified code
* removed unused import
* added tests
* added base implementation for bitrate and threads
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-07-08 21:43:11 -05:00
Mert
a5cc408469
fix(server): thumbnail content type not being passed to stream handle ( #3137 )
...
* asset mimetype instead of application/octet-stream
* use thumbnail mimetype instead
* narrowed openapi spec
* thumbnail format validation
* JPEG fallback, `getThumbnailPath` returns format
* return content type in `getThumbnailPath`
* moved `format` validation to dto
* removed unused import
* moved fallback warning
* added `ApiOkResponse`
2023-07-08 15:07:56 -05:00
Alex
812cb3d940
Revert "fix(server): use thumbnail content type instead of application/octet-stream ( #3075 )" ( #3134 )
...
* Revert "fix(server): use thumbnail content type instead of application/octet-stream (#3075 )"
This reverts commit 3cc77d945b
.
* generate api
2023-07-06 17:25:56 -05:00
Alex Tran
852ef3cd1b
chore(server): update openapi
2023-07-06 16:56:02 -05:00
Mert
3cc77d945b
fix(server): use thumbnail content type instead of application/octet-stream ( #3075 )
...
* asset mimetype instead of application/octet-stream
* use thumbnail mimetype instead
* narrowed openapi spec
* thumbnail format validation
* JPEG fallback, `getThumbnailPath` returns format
* return content type in `getThumbnailPath`
* moved `format` validation to dto
* removed unused import
* moved fallback warning
2023-07-06 10:27:21 -05:00
Jonathan Jogenfors
6f4449d5e9
feat(cli) Add new CLI ( #3066 )
...
* Add new cli
* Remove old readme
* Add documentation to readme file
* Add github workflow tests for cli
* Fix typo in docs
* Add usage info to readme
* Add package-lock.json
* Fix tsconfig
* Cleanup
* Fix lint
* Cleanup package.json
* Fix accidental server change
* Remove rootdir from cli
* Remove tsbuildinfo
* Add prettierignore
* Make CLI use internal openapi specs
* Add ignore and dry-run features
* Sort paths alphabetically
* Don't remove substring
* Remove shorthand for delete
* Remove unused import
* Remove chokidar
* Set correct openapi cli generator script
* Add progress bar
* Rename target to asset
* Add deletion progress bar
* Ignore require statement
* Use read streams instead of readfile
* Fix github feedback
* Fix upload requires
* More github comments
* Cleanup messages
* Cleaner pattern concats
* Github comments
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-07-06 09:37:47 -05:00
Mert
71a2914f3e
fix(server): transcodes failing due to storage migration happening simultaneously ( #3071 )
2023-07-05 00:36:16 -05:00
Alex The Bot
0d30ceb284
Version v1.66.1
2023-07-05 02:50:53 +00:00
Alex The Bot
8a3ab5be3e
Version v1.66.0
2023-07-04 15:51:53 +00:00
Mert
2099b04057
fix(server): Premature stream close error when viewing videos in web ( #3093 )
...
* suppress 'ERR_STREAM_PREMATURE_CLOSE'
* refactor stream range logic
2023-07-02 21:37:12 -05:00
Alex
7947f4db4c
feat(web/server): Face thumbnail selection ( #3081 )
...
* add migration
* verify running migration populate new value
* implemented service
* generate api
* FE works
* FR Works
* fix test
* fix test fixture
* fix test
* fix test
* consolidate api
* fix test
* added test
* pr feedback
* refactor
* click ont humbnail to show feature selection as well
2023-07-02 17:46:20 -05:00
Alex
1df068bac9
chore(server): add limit to people return ( #3069 )
2023-07-02 15:28:53 -05:00
Jason Rasmussen
d69fa3ceae
refactor(server): guards, decorators, and utils ( #3060 )
2023-07-01 13:27:34 -05:00
Jason Rasmussen
7c2f7d6c51
chore: remove refactored controllers from unit test coverage ( #3063 )
2023-06-30 23:47:28 -05:00
Jason Rasmussen
19cc94e594
refactor(server): use better algorithm for calculating the duplicate filename ( #3061 )
2023-06-30 23:44:55 -05:00
Jason Rasmussen
b93bbc9f5d
refactor(server): storage template core ( #3059 )
2023-06-30 23:43:24 -05:00
Jason Rasmussen
2feac54382
refactro(server): job dto ( #3057 )
2023-06-30 23:41:12 -05:00
Jason Rasmussen
49f1f6cad7
refactor(server): person dto ( #3058 )
2023-06-30 20:52:40 -05:00
Jason Rasmussen
399312ead3
refactor(server): api key auth ( #3054 )
2023-06-30 20:49:30 -05:00
Mert
f9671dfbf7
fix(server): h264 videos failing to transcode in two-pass mode ( #3053 )
...
* set `-fps_mode` to passthrough
* updated tests
2023-06-30 20:48:40 -05:00
Mert
b1fcf02d13
fix(server): h264 and hevc not respecting max bitrate ( #3052 )
...
* added `-bufsize` flag
* updated test
2023-06-30 20:48:05 -05:00
Mert
e477f99c7d
fix(server): fix more vector search results being returned than intended ( #3042 )
2023-06-30 11:33:54 -05:00
Jason Rasmussen
455a36b0fc
fix(server): read file permission checks ( #3046 )
2023-06-30 11:25:08 -05:00
Jason Rasmussen
ad343b7b32
refactor(server): download assets ( #3032 )
...
* refactor: download assets
* chore: open api
* chore: finish tests, make size configurable
* chore: defualt to 4GiB
* chore: open api
* fix: optional archive size
* fix: bugs
* chore: cleanup
2023-06-30 11:24:28 -05:00
Alex The Bot
df9c05bef3
Version v1.65.0
2023-06-30 03:01:48 +00:00
Dhrumil Shah
6fa685d9d8
chore: add CLI tool to the server image ( #2999 )
...
* WIP: Added immich cli tool to `immich-server` image
* WIP: Added doc entry to show it is preinstalled
* WIP: Moved immich upload cli to `immich` and default to `immich-admin`
* WIP: undid previous commit
* WIP: Updated server docs with new `immich-admin` command
2023-06-29 14:48:16 -05:00
Fynn Petersen-Frey
ff26d3666e
fix(mobile): set scrolling state only if changed ( #3034 )
...
* fix(mobile): set scrolling state only if changed
* fix: generate api
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-06-29 14:35:29 -05:00
Thomas
e5908f2508
fix(server): use private cache ( #3017 )
...
The omission of additional cache-control directives implied the resource could
be stored in shared/public caches, which is not desirable.
In addition, the no-transform directive will ensure content is not
unintentionally mangled.
Fixes : #3014
2023-06-28 21:26:16 -05:00
Jason Rasmussen
add5219d34
fix: live photos not playing in shared links/albums ( #3008 )
2023-06-28 12:58:38 -05:00
Keszei Balázs
6ae5d11ec0
chore(server): Image description disappears after toggle favorite ( #3009 )
...
* Fixed asset rewrite description on toggle favorite
* Fixed description removing error
* Rewrite description condition for asset update
---------
Co-authored-by: Balazs Keszei <balazs.keszei@clbr.hu>
2023-06-28 12:54:48 -05:00
Mert
017214fd56
fix(server): empty tag responses should be considered valid ( #2993 )
...
* accept empty tag array
* renamed test
2023-06-28 09:40:30 -05:00
Alex Phillips
22a73b67d3
chore(server): check file extension for XMP instead of mimetype ( #2990 )
...
* just check file extension for XMP instead of mimetype
* use path to get extension instead of regex
* single quotes
* remove unused import
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-06-28 14:40:21 +00:00
Thomas
792ecc6cac
fix(server): add missing avi mime types and add tests ( #3001 )
...
See https://github.com/immich-app/immich/pull/2952#pullrequestreview-1497194041
Fixes : #2975
2023-06-28 09:21:42 -05:00
Jason Rasmussen
e98398cab8
refactor(server): access permissions ( #2910 )
...
* refactor: access repo interface
* feat: access core
* fix: allow shared links to add to a shared link
* chore: comment out unused code
* fix: pr feedback
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-06-28 08:56:24 -05:00
Alex
61e5e65173
feat(server): Add camera make and model to search criteria ( #2982 )
2023-06-27 06:53:07 -05:00
Alex The Bot
b258f3552a
Version v1.64.0
2023-06-26 18:06:11 +00:00
Elliot Lee
9dd1d81536
Allow Windows' version of the MIME types for raw photos. ( #2945 )
...
* Allow Windows' version of the MIME types for raw photos.
* Fix prettier warning.
---------
Co-authored-by: Elliot Lee <sopwith@gmail.com>
2023-06-25 13:10:39 -05:00
Alex The Bot
bbb6bca605
Version v1.63.2
2023-06-25 02:53:18 +00:00
Alex
a8e5a1de15
chore(server): support DNG file ( #2940 )
2023-06-24 21:50:01 -05:00
Alex The Bot
bba4c44182
Version v1.63.1
2023-06-24 15:31:16 +00:00
Alex
7c76249e1f
fix(server): Share link with expire creation time error ( #2934 )
...
* fix(server): Share link with expire creation time error
* better
2023-06-24 10:24:55 -05:00
Alex The Bot
02a268c7c6
Version v1.63.0
2023-06-24 01:41:12 +00:00
416c616e
6e62558d81
Fix Canon CR3 mime type ( #2922 )
2023-06-23 11:12:11 -05:00
Alex
00f65a53dd
fix(server): Fix person's assets retrival order ( #2920 )
2023-06-23 09:34:55 -05:00
Alex
751922990f
chore/remove openapi assertion for dart 2 ( #2916 )
...
* chore(server): patch dart openapi assertion 2
* removed usused file
2023-06-22 13:00:07 -05:00