Commit Graph

409 Commits

Author SHA1 Message Date
Skyler Mäntysaari
fc766dd0be Removed the getMimeType function on server as shouldn't be needed anymore. 2023-02-09 23:42:17 +02:00
Immich Release Bot
7c12ecd8eb Version v1.46.0 2023-02-09 20:13:42 +02:00
Alex
a55e14a9e4 fix(server): get shared link album info doesn't contain owner property (#1708) 2023-02-09 20:13:42 +02:00
Alex
7fc17a7c93 fix(server): Create album response doesn't have owner property as required (#1704) 2023-02-09 20:13:37 +02:00
Alex
176f564c13 chore(server): make owner as required response for AlbumResponseDto (#1579) 2023-02-09 20:13:37 +02:00
Alex
9952cbd168 chore(server) Add user FK to album entity (#1569) 2023-02-09 20:13:37 +02:00
Zack Pollard
741256d79f chore(server): update package-lock.json to match package.json (#1573) 2023-02-09 20:13:37 +02:00
Alex
5d9093a38b feat(server): add updatedAt to Asset, Album and User (#1566)
* feat: add updatedAt info to DTO and generate api

* chore: remove unsued file

* chore: Add update statement to add/remove asset/user to album

* fix: test
2023-02-09 20:13:37 +02:00
James
b8e5b452d9 feat(deployment): support docker secrets (#1254)
* Support secrets

* Rewrite to support sh

* Remove JWT_SECRET
2023-02-09 20:13:37 +02:00
Alex
42054d7fd7 chore(server): remove token when logged out (#1560)
* chore(mobile): invoke logout() on mobile app

* feat: add mechanism to delete token from logging out endpoint

* fix: set state after login sequence success

* fix: not removing token when logging out from OAuth

* fix: prettier

* refactor: using accessTokenId to delete

* chore: pr comments

* fix: test

* fix: test threshold
2023-02-09 20:13:37 +02:00
Skyler Mäntysaari
bd271fd731 Switch needs to use lowercase variants. 2023-02-05 05:13:29 +02:00
Skyler Mäntysaari
b4da8d07d1 Fix the asset-upload tests after changes 2023-02-05 04:47:05 +02:00
Skyler Mäntysaari
52898c6e7d Handling of mimetype on server 2023-02-05 04:41:44 +02:00
Skyler Mäntysaari
0370394da1 Merge branch 'immich-app:main' into feat/samsung-raw-and-fujifilm-raf 2023-02-05 04:29:22 +02:00
Immich Release Bot
6bac9c7e8f Version v1.45.0 2023-02-03 16:41:11 +00:00
Jason Rasmussen
7aab84f2d9 chore(server): remove unused code (#1513)
* chore(server): remove unused code

* chore(server): unused imports
2023-02-03 09:18:33 -06:00
Jason Rasmussen
3a940711eb fix(server): duplicate asset (#1540) 2023-02-03 09:17:36 -06:00
Jason Rasmussen
2b0b2bb1ae refactor(server): download file (#1512)
* refactor(server): download file

* chore: generate open-api and remove unused refs

* chore(server): tests

* chore: remove unused code
2023-02-03 09:16:25 -06:00
Alex
b019ab79f9 fix(server): id of the deleted asset wasn't passed to the response (#1532) 2023-02-02 22:37:39 -06:00
Zack Pollard
43da8c2a72 chore: reduce docker image size (#1523)
* chore: remove @tensorflow/tfjs-node-gpu as it is unused

* chore: remove ffmpeg from machine-learning docker image

* chore: remove unneeded dependencies + move dev dependencies in server

* chore: reduce server image size

* chore: machine-learning remove extraneous dependencies

* chore: web remove extraneous dependencies

* chore: web Dockerfile reduce production image size

* chore: add exiftool-vendored.pl as a dependency
2023-02-02 21:28:34 -06:00
Skyler Mäntysaari
c9d618ed27 feat(server): Some tests and specific handling for the two raw formats 2023-02-02 12:36:20 +02:00
Skyler Mäntysaari
591d3b7afe Merge branch 'immich-app:main' into feat/samsung-raw-and-fujifilm-raf 2023-02-02 11:11:04 +02:00
Immich Release Bot
d77a1aba7a Version v1.44.0 2023-02-02 07:13:46 +00:00
Alex Tran
9e21b16553 Revert "Version v1.44.1"
This reverts commit ab2c019a7a.
2023-02-02 01:03:01 -06:00
Immich Release Bot
ab2c019a7a Version v1.44.1 2023-02-02 06:43:35 +00:00
Jason Rasmussen
bb84464216 refactor(server): device info (#1490)
* refactor(server): device info

* fix: export device service

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-02-01 14:55:06 -06:00
Jason Rasmussen
d2a9363fc5 refactor(server): auth guard (#1472)
* refactor: auth guard

* chore: move auth guard to middleware

* chore: tests

* chore: remove unused code

* fix: migration to uuid without dataloss

* chore: e2e tests

* chore: removed unused guards
2023-01-31 12:11:49 -06:00
Fynn Petersen-Frey
d0f8d8d1f9 fix(server): re-enable Redis unix socket support (#1494) 2023-01-31 09:59:59 -06:00
Jason Rasmussen
9428b2576b refactor(server): asset service - upload asset (#1438)
* refactor: asset upload

* refactor: background service

* chore: tests

* Regenerate api

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-30 10:14:13 -06:00
Alex
870a65fa6d fix(server): Cannot remove album with shared links (#1479) 2023-01-29 20:13:34 -06:00
Skyler Mäntysaari
7ba0513e30 Original implementation with just a catch block added. 2023-01-29 23:35:27 +02:00
Skyler Mäntysaari
336e26321d Merge branch 'immich-app:main' into feat/samsung-raw-and-fujifilm-raf 2023-01-29 23:30:54 +02:00
Skyler Mäntysaari
fb408d7aa3 chore(server): cookie changes to SameSite=Lax (#1467)
* fix(server/cookie): cookie should have SameSite=Lax.

* Forgot to update tests.
2023-01-28 16:33:03 -06:00
Alex
a287be1f0c chore: Update .gitignore and openapi version (#1461)
* chore: Update gitignore to ignore mobile/openapi/pubspec.lock

* Update openapi version
2023-01-28 09:19:22 -06:00
Jason Rasmussen
42a3149fe3 refactor(server): move asset upload job to domain (#1434)
* refactor: move to domain

* refactor: rename method

* Update comments

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-27 23:57:37 -06:00
Immich Release Bot
275562bce0 Version v1.43.1 2023-01-28 05:13:59 +00:00
Jason Rasmussen
a09030fd6d fix(server): microservices port (#1460) 2023-01-27 23:12:38 -06:00
Jason Rasmussen
414893a687 fix(server): auth strategies (#1459)
* fix(server): auth strategies

* chore: tests
2023-01-27 23:12:11 -06:00
Skyler Mäntysaari
f57b85c0de Run prettier 2023-01-27 23:57:41 +02:00
Skyler Mäntysaari
4543712eac The failing test.. is no longer failing. 2023-01-27 23:52:11 +02:00
Skyler Mäntysaari
219b92eb18 Remove un-used imports 2023-01-27 23:45:34 +02:00
Skyler Mäntysaari
481560db21 Merge branch 'immich-app:main' into feat/samsung-raw-and-fujifilm-raf 2023-01-27 23:34:39 +02:00
Immich Release Bot
10a0e58572 Version v1.43.0 2023-01-27 21:06:22 +00:00
Zack Pollard
3f2513a717 feat(server): move authentication to tokens stored in the database (#1381)
* chore: add typeorm commands to npm and set default database config values

* feat: move to server side authentication tokens

* fix: websocket should emit error and disconnect on error thrown by the server

* refactor: rename cookie-auth-strategy to user-auth-strategy

* feat: user tokens and API keys now use SHA256 hash for performance improvements

* test: album e2e test remove unneeded module import

* infra: truncate api key table as old keys will no longer work with new hash algorithm

* fix(server): e2e tests (#1435)

* fix: root module paths

* chore: linting

* chore: rename user-auth to strategy.ts and make validate return AuthUserDto

* fix: we should always send HttpOnly for our auth cookies

* chore: remove now unused crypto functions and jwt dependencies

* fix: return the extra fields for AuthUserDto in auth service validate

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-01-27 14:50:07 -06:00
Alex
788b435f9b feat(web/server): Add options to rerun job on all assets (#1422) 2023-01-26 22:50:22 -06:00
Jason Rasmussen
55d883925f chore(server): rename database connection variables (#1437) 2023-01-26 20:52:13 -06:00
Jason Rasmussen
89aff7764d chore(server): remove deprecated device endpoints (#1436)
* chore: remove endpoints

* chore: generate open-api
2023-01-26 20:51:22 -06:00
Jason Rasmussen
c4e1bc35b4 feature(server): compute sha1 during upload (#1424)
* feature(server): compute sha1 during upload

* fix: clean up stream on error
2023-01-26 13:29:44 -06:00
Alex
8b73c2bf8a fix(server): Handle exposure time correctly (#1432) 2023-01-26 13:14:05 -06:00
Skyler Mäntysaari
2dc2c05ffb Merge branch 'immich-app:main' into feat/samsung-raw-and-fujifilm-raf 2023-01-26 16:38:03 +02:00