1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02:00
immich/server
Justin Forseth d3a5490e71
feat(server): search unknown place (#10866)
* Allow submission of null country

* Update searchAssetBuilder to handle nulls

andWhere({country:null}) produces `"exifInfo"."country" = NULL`. We want
`"exifInfo"."country" IS NULL`, so we have to treat NULL as a special
case

* Allow null country in frontend

* Make the query code a bit more straightforward

* Remove unused brackets import

* Remove log message

* Don't change whitespace for no reason

* Fix prettier style issue

* Update search.dto.ts validators per @jrasm91's recommendation

* Update api types

* Combine null country and state into one guard clause

* chore: clean up

* chore: add e2e for null/empty city, state, country search

* refactor: server returns suggestion for null values

* chore: clean up

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-02 03:27:40 +00:00
..
bin fix(server): healthcheck (#10811) 2024-07-03 11:27:03 -05:00
resources feat: use immich hosted map tiles (#11332) 2024-07-26 15:41:09 +01:00
src feat(server): search unknown place (#10866) 2024-08-02 03:27:40 +00:00
test fix(server): correct person birth date across timezones (#11369) 2024-07-29 19:52:04 -04:00
.eslintrc.js chore(deps): update dependency eslint-plugin-unicorn to v53 (#9502) 2024-05-15 18:06:25 -04:00
.gitignore
.nvmrc chore(deps): update dependency node to v20.16.0 (#11421) 2024-07-29 10:33:01 -04:00
.prettierignore
.prettierrc
Dockerfile chore(deps): update base-image to v20240730 (major) (#11447) 2024-07-30 08:57:27 -04:00
nest-cli.json chore(server): enable swagger to take class validator rules into account (#9022) 2024-04-22 18:13:44 -04:00
package-lock.json chore(deps): update typescript-projects (#11437) 2024-07-31 15:40:23 +00:00
package.json chore(deps): update typescript-projects (#11437) 2024-07-31 15:40:23 +00:00
README.md docs: add some details for getting started as a developer (#8468) 2024-04-02 11:56:33 -05:00
start.sh chore: change default thumbnail concurrency and auto-detect container core count (#9981) 2024-06-05 11:45:53 +01:00
tsconfig.build.json
tsconfig.json refactor(server): use .toSorted (#10904) 2024-07-06 10:32:38 -04:00
vitest.config.mjs fix(server): make vitest pick up edited files (#11385) 2024-07-26 16:26:38 -05:00

Immich server project

This project uses the NestJS web framework. Please refer to the NestJS docs for information on getting started as a contributor to this project.