Fynn Petersen-Frey
47f5e4134e
feat(mobile): use cached asset info if unchanged instead of downloading all assets ( #1017 )
...
* feat(mobile): use cached asset info if unchanged instead of downloading all assets
This adds an HTTP ETag to the getAllAssets endpoint and client-side support in the app.
If locally cache content is identical to the content on the server, the potentially large list of all assets does not need to be downloaded.
* use ts import instead of require
2022-11-26 10:16:02 -06:00
Kiel Hurley
976d347623
feat(server,web,mobile): Use binary prefixes for data sizes ( #1009 )
2022-11-24 11:39:27 -06:00
Alex Tran
df0a059a02
Up patch version
2022-11-21 20:26:03 -06:00
Alex
cc697486fc
fix(server): Deleted shared users cause problem with album retrival and creation ( #1002 )
...
* fix(server): Deleted shared users cause problem with album retrival and creation
* Remove dead code
2022-11-21 20:24:56 -06:00
Alex Tran
bc9ee1d611
Added hotfix release note
2022-11-21 05:41:44 -06:00
Alex
a2f3b2199a
fix(server): Admin user not created ( #996 )
2022-11-20 23:25:03 -06:00
Alex Tran
6f5d60fb62
Up version for release
2022-11-20 13:13:27 -06:00
Alex
41ffa0c015
fix(server): Server freezes when getting statistic ( #994 )
...
* fix(server): Server freezes when getting statistic
* remove dead code
2022-11-20 13:09:31 -06:00
Alex
b3e51cc849
feat(mobile) Add OAuth Login On Mobile ( #990 )
...
* Added return type for oauth/callback
* Remove console.log
* Redirect app
* Wording
* Added loading state change
* Added OAuth login on mobile
* Return correct status for correct redirection
* Auto discovery OAuth Login
2022-11-20 11:43:10 -06:00
Alex Tran
6ed072f67b
Added migration needed for OIDC
2022-11-18 23:22:27 -06:00
Alex
8bc64be77b
feat: support iOS LivePhoto backup ( #950 )
2022-11-18 23:12:54 -06:00
Alex
e799f35dd2
chore(server) refactor serveFile and downloadFile endpoint ( #978 )
2022-11-16 00:11:16 -06:00
Jason Rasmussen
f2f255e6e6
feat(server): multi archive downloads ( #956 )
2022-11-15 09:51:56 -06:00
Jason Rasmussen
b5d75e2016
feat(server,web): system config for admin ( #959 )
...
* feat: add admin config module for user configured config, uses it for ffmpeg
* feat: add api endpoint to retrieve admin config settings and values
* feat: add settings panel to admin page on web (wip)
* feat: add api endpoint to update the admin config
* chore: re-generate openapi spec after rebase
* refactor: move from admin config to system config naming
* chore: move away from UseGuards to new @Authenticated decorator
* style: dark mode styling for lists and fix conflicting colors
* wip: 2 column design, no edit button
* refactor: system config
* chore: generate open api
* chore: rm broken test
* chore: cleanup types
* refactor: config module names
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
Co-authored-by: Zack Pollard <zack.pollard@moonpig.com>
2022-11-14 22:39:32 -06:00
Jason Rasmussen
d3c35ec9c5
feat(server,web): OIDC Implementation ( #884 )
...
* chore: merge
* feat: nullable password
* feat: server debugger
* chore: regenerate api
* feat: auto-register flag
* refactor: oauth endpoints
* chore: regenerate api
* fix: default scope configuration
* refactor: pass in redirect uri from client
* chore: docs
* fix: bugs
* refactor: auth services and user repository
* fix: select password
* fix: tests
* fix: get signing algorithm from discovery document
* refactor: cookie constants
* feat: oauth logout
* test: auth services
* fix: query param check
* fix: regenerate open-api
2022-11-14 20:24:25 -06:00
Jason Rasmussen
2e4c005ad9
refactor: multistage builds ( #955 )
2022-11-10 22:22:17 -06:00
Alex Tran
c3348bd068
Fixed Dockerfile not working in dev
2022-11-09 23:34:35 -06:00
Jason Rasmussen
cc61729f01
build(server): use github-action cache ( #949 )
...
* build(server): prune dependencies in docker builder
* fix: e2e tests
* refactor: dockerfile step order
* fix: vips build dependency
* feat: use caching
2022-11-09 19:53:21 -06:00
Ian
f6aba0f9ec
feat(deployment) Allow overriding service host and ports with env variables ( #930 )
...
* Add proxy changes
* Add web changes
* Add microservices changes
* Add examples
* Add header comment to nginx config
* Use URLs instead of host and port
2022-11-09 05:11:32 -06:00
Alex
66640ebfeb
Up version for release
2022-11-08 14:34:47 -06:00
Jason Rasmussen
99da181cfc
feat(web): favorite an asset ( #939 )
...
* feat(web): favorite an asset
* fix: test and linting
* fix: asset dto type
2022-11-08 10:20:36 -06:00
Jason Rasmussen
8a9b0347bb
fix(server): increase json body payload limit ( #941 )
2022-11-08 09:24:49 -06:00
Zeeshan Khan
fe4b307fe6
feat(server,web): Delete and restore user from the admin portal ( #935 )
...
* delete and restore user from admin UI
* addressed review comments and fix e2e test
* added cron job to delete user, and some formatting changes
* addressed review comments
* adding missing queue registration
2022-11-07 15:53:47 -06:00
Alex Tran
d90527a095
Up version for release
2022-11-06 21:00:32 -06:00
Jason Rasmussen
02bc84062e
feat(server): reset admin password using cli command in the server container ( #928 )
2022-11-05 11:28:40 -05:00
Jason Rasmussen
86e50f97ba
fix(web): album download progress bar ( #925 )
2022-11-04 11:45:17 -05:00
Jason Rasmussen
d696ce4e41
fix(server, web): harden auto pick album thumbnails ( #918 )
2022-11-04 08:41:04 -05:00
Jason Rasmussen
296a5e786e
test(server): all the tests ( #911 )
2022-11-03 18:55:13 -05:00
Jason Rasmussen
db0a55cd65
fix(server): download album error handling ( #917 )
2022-11-03 09:12:02 -05:00
Fynn Petersen-Frey
dc2c92e721
feat(server/web): download entire album as zip archive ( #897 )
...
* feat(server/web): download entire album as zip archive
* fix: remove duplicate API call
* disable ZIP compression (images are already compressed)
2022-10-30 12:38:04 -05:00
Alex
6e638cd673
fix(web) getting asset with avaialble thumbnail when getting asset count by time bucket ( #900 )
2022-10-30 11:03:17 -05:00
Alex
6fcc1d7685
Up version for release
2022-10-29 10:30:27 -05:00
Jason Rasmussen
05e69da5d8
feat(server) add docker debug config for server ( #883 )
2022-10-28 20:35:14 -05:00
Matthias Rupp
ea99567805
feat(server) Extend PUT /album/:id/assets endpoint ( #857 )
...
* Add new query parameter to API endpoint that allows adding assets to albums which potentially contain assets that are already part of this album.
* Change API endpoint
* Generate new APIs
* Fixed test
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-10-28 14:54:09 -05:00
Jason Rasmussen
443c842723
refactor(server): merge auth guards to authentication guard ( #877 )
2022-10-28 13:57:52 -05:00
Alex
676ad2d34f
chore(server) revert Dockerfile ( #878 )
2022-10-27 17:21:28 -05:00
Alex Tran
b3a82b1b20
Update cache for thumbnail
2022-10-26 23:55:38 -05:00
Alex Tran
25848b78f9
Up version for release
2022-10-26 11:24:04 -05:00
Jonas Janz
b713fb5650
feat(docker) revert ubuntu base image ( #863 )
...
* feat(docker) revert ubuntu base image
This PR reverts the base image for immich-server back to alpine
Adds LICENSE to all Images
Quiets apt-get commands when building
ensures write-permission for root group on app folders
Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>
* Test build old Docker content
* Revert and retry
Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-10-25 14:18:37 -05:00
Alex
6159c83fd2
feat(mobile) duplicated asset upload handling mechanism ( #853 )
2022-10-25 09:51:03 -05:00
Jonas Janz
f1af17bf4d
feat(immich-server) use ubuntu base-image ( #851 )
...
this changes the base-image for immich-server from
`node:16-alpine3.14`
to
`node:16-slim`
There is an open issue with alpine DNS resolving which
breaks immich-microservice when deployed on
kubernetes.
This fixes https://github.com/immich-app/immich-charts/issues/4
Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>
Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>
2022-10-24 14:59:07 -05:00
Alex
7b954e21e7
fix(server): add permission for server stats api ( #854 )
2022-10-23 17:01:41 -05:00
Zeeshan Khan
a6eea4d096
feat(web) add asset count stats on admin page ( #843 )
2022-10-23 16:54:54 -05:00
Alex
2c189d5c78
fix(server): force best effort to decode thumbnail image ( #847 )
2022-10-22 11:40:25 -05:00
bo0tzz
95d8f60389
feat(server)Log username and IP address on failed login attempt
2022-10-21 11:04:01 -05:00
Alex Tran
1ec7122381
Up version for release
2022-10-19 20:07:53 -05:00
Alex Tran
c271f0c224
Up version for release
2022-10-14 16:21:26 -05:00
bo0tzz
87ba99755b
Remove unused variable
2022-10-13 22:17:31 +02:00
bo0tzz
c03f860f8e
Log a warning if JWT_SECRET key does not have enough bits
2022-10-13 21:54:29 +02:00
Alex
5fc82dfaa2
Merge pull request #793 from immich-app/fix/update-reverse-geocoder
...
Update local-reverse-geocoder to 0.12.5
2022-10-08 15:40:42 -05:00
Alex Tran
9bfacaa39a
Specific specific type for enum value for openapi generator to work correctly
2022-10-07 14:30:15 -05:00
Alex Tran
a2882a4908
Added additional type to enum of openapi
2022-10-07 14:26:16 -05:00
Alex Tran
82b8313da0
Fix test
2022-10-07 09:16:45 -05:00
Alex Tran
4f7e764fa0
Fix typing
2022-10-07 09:15:05 -05:00
Alex Tran
cdddcad784
fix(server): Delete encoded video when deleting file
2022-10-07 08:47:13 -05:00
bo0tzz
38767cad0f
Update local-reverse-geocoder to 0.12.5
...
This version includes a fix to the error handling in that library, which
was causing our code to silently fail and loop.
See https://github.com/tomayac/local-reverse-geocoder/issues/58 for more detail.
2022-10-07 12:14:27 +02:00
Alex Tran
471a60dcb0
Added explicit type for job count
2022-10-06 12:43:02 -05:00
Alex Tran
46994c3355
Up version for release
2022-10-06 12:11:12 -05:00
Alex
7587f858ae
feat(server/web) Add manual job trigger mechanism to the web ( #767 )
2022-10-06 11:25:54 -05:00
bo0tzz
854c214bc0
Fix: Use boolean comparison for DISABLE_REVERSE_GEOCODING config ( #787 )
2022-10-05 15:18:57 -05:00
Alex
536fda04f2
Up version for release
2022-10-04 15:29:47 -05:00
Deepesh Bhardwaj
4342285507
Updated jpeg thumbnail path ( #780 )
2022-10-04 09:46:06 -05:00
Jonas Janz
8bb656cb17
add docker volumes to services ( #766 )
...
* add docker volumes to services
this change adds the volume definitions for
/usr/src/app/upload
/usr/src/app/.reverse-geocoding-dump
to the `immich-server` docker-compose files
as /usr/src/app/upload should always be a volume for the containers
I also added it to the `Dockerfile`
Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>
* remove geocoding-dump volume from docker-compose
Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>
2022-10-01 16:01:27 -05:00
Alex Tran
96b9e37461
Up version for release
2022-09-28 16:28:14 -05:00
Alex Tran
0d3a2fe844
Added generated geocoding files to gitignore
2022-09-28 15:44:43 -05:00
Johannes Zellner
848781aef5
Provide a sensible dumpDirectory for the local-reverse-geocoder module ( #759 )
...
Fixes #758
2022-09-28 15:43:34 -05:00
Alex Tran
3581cf7305
Pump server version
2022-09-28 05:53:50 -05:00
Zack Pollard
c33775b944
feat(server): missing exif extract nightly task ( #754 )
...
* fix: nightly reverse geocoding task checking for mapbox
* refactor: remove file size from image processor and queue data
* feat: add missing exif nightly job
* Remove filesize requirement in assetUploadedProcessorName queue insertion
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-09-28 05:41:50 -05:00
Alex
b0cd2522e0
feat(server): support .NEF file ( #746 )
2022-09-23 19:09:45 -05:00
Zack Pollard
040e02cfc5
fix(server): handle missing reverse geocoding admin zones ( #742 )
2022-09-23 10:14:42 -05:00
Zack Pollard
f377b64065
feat(server) Remove mapbox and use local reverse geocoding ( #738 )
...
* feat: local reverse geocoding implementation, removes mapbox
* Disable non-null tslintrule
* Disable non-null tslintrule
* Remove tsignore
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2022-09-22 21:50:05 -05:00
Alex
e5459b68ff
fix(server,web,mobile): Incorrectly record and show timestamp and time zone of the asset ( #706 )
...
Implemented a mechanism to extract the correct time zone from the GPS coordinate if presented in the file's EXIF, and to convert the timestamp to the correct UTC time so that the time will show correctly based on the mobile/web local time zone.
2022-09-22 15:58:17 -05:00
Alex Tran
fc194021a4
Pump server version
2022-09-22 11:38:50 -05:00
bo0tzz
39f8ca3bf1
Only run scheduled geocoding task once per day ( #730 )
2022-09-21 07:17:59 -05:00
Alex
10239161fd
fix(mobile): app crash when there is no object detection result on search page ( #725 )
...
* fix(mobile): app crash when there is no data for object detection
* Up version for release
* Up version for release
2022-09-19 11:03:51 -05:00
Alex
242f10952d
fix(server): query only image ( #724 )
2022-09-19 10:48:44 -05:00
Alex Tran
e997bd371b
Up server version
2022-09-18 21:44:55 -05:00
Alex
400167f4ef
fix(server): sanitization error that crash the server ( #721 )
2022-09-18 21:44:13 -05:00
Alex
572f6d833d
Up mobile version and update deprecated api
2022-09-18 16:11:30 -05:00
Alex Tran
62121470a8
Up server version
2022-09-18 15:37:10 -05:00
Alex
e3ccc3ee6b
feat(server): sanitized path for asset creation process to avoid security risk ( #717 )
...
* feat(server): sanitized path for asset creation process to avoid security risk
* Sanitize resize path
2022-09-18 15:16:53 -05:00
Alex
ece94f6bdc
fix(server): correct user permission to update user info ( #716 )
2022-09-18 09:27:06 -05:00
Alex
75c2067836
feat(web) Remove fetching fonts from GoogleFonts ( #703 )
2022-09-16 17:23:31 -05:00
Alex
824da6a07b
Up server version
2022-09-16 16:55:04 -05:00
Alex
2c2ea24dc4
test(web) Add tests for asset repository ( #680 )
...
* Added back tests for asset repository
* Added more tests
* Added asset count test
2022-09-16 16:47:45 -05:00
Alex
434770155f
Up version for release
2022-09-14 10:27:34 -05:00
Alex
ccf792f9d3
fix(server): mismatch createdAt value in table and table ( #688 )
2022-09-13 20:12:42 -05:00
Alex Tran
9bef411056
Up server version:
2022-09-13 12:14:36 -05:00
Alex
e79e92c60f
Added Log level to background service ( #685 )
2022-09-13 12:09:57 -05:00
Alex
858ad43d3b
fix(server): harden inserting process, self-healing timestamp info on bad timestamp ( #682 )
...
* fix(server): harden inserting process, self-healing timestamp info
2022-09-12 23:35:44 -05:00
Alex
5761765ea7
fix(server): remove album thumbnail when the asset is deleted from the database ( #681 )
2022-09-12 22:06:52 -05:00
Alex Tran
4271e24e59
Up version for release
2022-09-11 16:05:53 -05:00
Alex
9e4ed2214b
fix(web): incorrect shared album count ( #677 )
2022-09-11 10:07:04 -05:00
Alex Tran
31739aca02
Up version for release
2022-09-10 11:58:59 -05:00
Thanh Pham
8f2e7b6f65
fix(server): loop on checksum generation ( #662 )
2022-09-10 11:52:39 -05:00
Alex Tran
cc4881d633
Up version for release
2022-09-09 23:23:37 -05:00
Jaime Baez
1f4ba73da7
Add all server checks to CI - fix lint issues
...
CI will now run linter, type-checks and tests for the server.
All the lint issues have been fixed.
2022-09-08 11:07:27 +02:00
Alex Tran
853a65aef1
Up version for release
2022-09-07 15:26:29 -05:00
Alex
566039b93f
feat(web): add asset and album count info ( #623 )
...
* Get asset and album count
* Generate APIs
* Added asset count for each type
* Added api on the web
* Added info button for asset and album count to trigger getting info on hover
* Remove websocket event from photo page
2022-09-07 15:16:18 -05:00
Alex
1425f2ec78
Up server version
2022-09-05 23:44:42 -05:00