Jason Rasmussen
93863b0629
feat: facial recognition ( #2180 )
2023-05-17 12:07:17 -05:00
Sergey Kondrikov
7f2fa23179
feat (server, web): Share with partner ( #2388 )
...
* feat(server, web): implement share with partner
* chore: regenerate api
* chore: regenerate api
* Pass userId to getAssetCountByTimeBucket and getAssetByTimeBucket
* chore: regenerate api
* Use AssetGrid to view partner's assets
* Remove disableNavBarActions flag
* Check access to buckets
* Apply suggestions from code review
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
* Remove exception rethrowing
* Simplify partner access check
* Create new PartnerController
* chore api:generate
* Use partnerApi
* Remove id from PartnerResponseDto
* Refactor PartnerEntity
* Rename args
* Remove duplicate code in getAll
* Create composite primary keys for partners table
* Move asset access check into PartnerCore
* Remove redundant getUserAssets call
* Remove unused getUserAssets method
* chore: regenerate api
* Simplify getAll
* Replace ?? with ||
* Simplify PartnerRepository.create
* Introduce PartnerIds interface
* Replace two database migrations with one
* Simplify getAll
* Change PartnerResponseDto to include UserResponseDto
* Move partner sharing endpoints to PartnerController
* Rename ShareController to SharedLinkController
* chore: regenerate api after rebase
* refactor: shared link remove return type
* refactor: return user response dto
* chore: regenerate open api
* refactor: partner getAll
* refactor: partner settings event typing
* chore: remove unused code
* refactor: add partners modal trigger
* refactor: update url for viewing partner photos
* feat: update partner sharing title
* refactor: rename service method names
* refactor: http exception logic to service, PartnerIds interface
* chore: regenerate open api
* test: coverage for domain code
* fix: addPartner => createPartner
* fix: missed rename
* refactor: more code cleanup
* chore: alphabetize settings order
* feat: stop sharing confirmation modal
* Enhance contrast of the email in dark mode
* Replace button with CircleIconButton
* Fix linter warning
* Fix date types for PartnerEntity
* Fix PartnerEntity creation
* Reset assetStore state
* Change layout of the partner's assets page
* Add bulk download action for partner's assets
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-05-15 12:30:53 -05:00
Jason Rasmussen
e22cdea485
chore(server,mobile): remove device info entity ( #1527 )
...
* chore(server): remove unused device info code
* chore: generate open api
* remove any DeviceTypeEnum usage from mobile
* chore: coverage
* fix: drop device info table
---------
Co-authored-by: Fynn Petersen-Frey <zody22@gmail.com>
2023-04-28 15:01:03 -05:00
Jason Rasmussen
4cb74f0fe4
refactor(server): reverse geocoding ( #2167 )
...
* refactor(server): reverse geocoding
* fix: nullable results
2023-04-04 17:23:07 -05:00
Jason Rasmussen
34d300d1da
refactor(server): flatten infra folders ( #2120 )
...
* refactor: flatten infra folders
* fix: database migrations
* fix: test related import
* fix: github actions workflow
* chore: rename schemas to typesense-schemas
2023-03-30 14:38:55 -05:00
Jason Rasmussen
da5a6d2272
fix(cli): missing dep in immich cli ( #2094 )
...
* fix: missing dep in immich cli
* fix: imports
2023-03-28 11:29:20 -05:00
Jason Rasmussen
0aaeab124d
feat(server)!: search via typesense ( #1778 )
...
* build: add typesense to docker
* feat(server): typesense search
* feat(web): search
* fix(web): show api error response message
* chore: search tests
* chore: regenerate open api
* fix: disable typesense on e2e
* fix: number properties for open api (dart)
* fix: e2e test
* fix: change lat/lng from floats to typesense geopoint
* dev: Add smartInfo relation to findAssetById to be able to query against it
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-03-02 20:47:08 -06:00
Jason Rasmussen
6c7679714b
refactor(server): jobs and processors ( #1787 )
...
* refactor: jobs and processors
* refactor: storage migration processor
* fix: tests
* fix: code warning
* chore: ignore coverage from infra
* fix: sync move asset logic between job core and asset core
* refactor: move error handling inside of catch
* refactor(server): job core into dedicated service calls
* refactor: smart info
* fix: tests
* chore: smart info tests
* refactor: use asset repository
* refactor: thumbnail processor
* chore: coverage reqs
2023-02-25 08:12:03 -06:00
Jason Rasmussen
e309647f1b
refactor(server): remove checksum job ( #1786 )
2023-02-18 09:18:07 -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
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
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
Jason Rasmussen
8f304b8157
refactor(server): shared links ( #1385 )
...
* refactor(server): shared links
* chore: tests
* fix: bugs and tests
* fix: missed one expired at
* fix: standardize file upload checks
* test: lower flutter version
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-25 10:35:28 -06:00
Jason Rasmussen
eade36ee82
refactor(server): auth service ( #1383 )
...
* refactor: auth
* chore: tests
* Remove await on non-async method
* refactor: constants
* chore: remove extra async
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-23 22:13:42 -06:00
Jason Rasmussen
c0a6b3d5a3
refactor(server): system config ( #1353 )
...
* refactor(server): system config
* fix: jest circular import
* chore: ignore migrations in coverage report
* chore: tests
* chore: tests
* chore: todo note
* chore: remove vite config backup
* chore: fix redis hostname
2023-01-21 10:11:55 -06:00
Jason Rasmussen
92972ac776
refactor(server): api keys ( #1339 )
...
* refactor: api keys
* refactor: test module
* chore: tests
* chore: fix provider
* refactor: test mock repos
2023-01-18 08:40:15 -06:00
Jason Rasmussen
131caa20eb
refactor(server): domain/infra ( #1298 )
...
* refactor: user repository
* refactor: user module
* refactor: move database into infra
* refactor(cli): use user core
* chore: import path
* chore: tests
2023-01-11 21:34:36 -05:00