1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00
immich/e2e
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
..
src feat(server): search unknown place (#10866) 2024-08-02 03:27:40 +00:00
test-assets@898069e47f fix: downgrade exiftool-vendored to fix motion photo extraction (#11145) 2024-07-16 19:55:51 +00:00
.eslintrc.cjs chore(deps): update dependency eslint-plugin-unicorn to v52 (#8629) 2024-04-08 12:45:46 -04:00
.gitignore web: e2e (#7063) 2024-02-13 13:08:49 -05:00
.nvmrc chore(deps): update dependency node to v20.16.0 (#11421) 2024-07-29 10:33:01 -04:00
.prettierignore chore: linting (#7532) 2024-02-29 11:26:55 -05:00
.prettierrc chore: linting (#7532) 2024-02-29 11:26:55 -05:00
docker-compose.yml chore(deps): update redis:6.2-alpine docker digest to e3b17ba (#11303) 2024-07-25 15:20:11 -04:00
package-lock.json chore(deps): update typescript-projects (#11437) 2024-07-31 15:40:23 +00:00
package.json fix(deps): vitest@2 (#11491) 2024-07-31 11:26:35 -04:00
playwright.config.ts refactor: server auth e2e (#7203) 2024-02-19 12:03:51 -05:00
tsconfig.json chore: linting (#7532) 2024-02-29 11:26:55 -05:00
vitest.config.ts fix(deps): vitest@2 (#11491) 2024-07-31 11:26:35 -04:00