Jason Rasmussen
8d5bf93360
test(server): full backend end-to-end testing with microservices ( #4225 )
...
* feat: asset e2e with job option
* feat: checkout test assets
* feat: library e2e tests
* fix: use node 21 in e2e
* fix: tests
* fix: use normalized external path
* feat: more external path tests
* chore: use parametrized tests
* chore: remove unused test code
* chore: refactor test asset path
* feat: centralize test app creation
* fix: correct error message for missing assets
* feat: test file formats
* fix: don't compare checksum
* feat: build libvips
* fix: install meson
* fix: use immich test asset repo
* feat: test nikon raw files
* fix: set Z timezone
* feat: test offline library files
* feat: richer metadata tests
* feat: e2e tests in docker
* feat: e2e test with arm64 docker
* fix: manual docker compose run
* fix: remove metadata processor import
* fix: run e2e tests in test.yml
* fix: checkout e2e assets
* fix: typo
* fix: checkout files in app directory
* fix: increase e2e memory
* fix: rm submodules
* fix: revert action name
* test: mark file offline when external path changes
* feat: rename env var to TEST_ENV
* docs: new test procedures
* feat: can run docker e2e tests manually if needed
* chore: use new node 20.8 for e2e
* chore: bump exiftool-vendored
* feat: simplify test launching
* fix: rename env vars to use immich_ prefix
* feat: asset folder is submodule
* chore: cleanup after 20.8 upgrade
* fix: don't log postgres in e2e
* fix: better warning about not running all tests
---------
Co-authored-by: Jonathan Jogenfors <jonathan@jogenfors.se>
2023-10-06 23:32:28 +02:00
shenlong
4a8887f37b
feat(server): trash asset ( #4015 )
...
* refactor(server): delete assets endpoint
* fix: formatting
* chore: cleanup
* chore: open api
* chore(mobile): replace DeleteAssetDTO with BulkIdsDTOs
* feat: trash an asset
* chore(server): formatting
* chore: open api
* chore: wording
* chore: open-api
* feat(server): add withDeleted to getAssets queries
* WIP: mobile-recycle-bin
* feat(server): recycle-bin to system config
* feat(web): use recycle-bin system config
* chore(server): domain assetcore removed
* chore(server): rename recycle-bin to trash
* chore(web): rename recycle-bin to trash
* chore(server): always send soft deleted assets for getAllByUserId
* chore(web): formatting
* feat(server): permanent delete assets older than trashed period
* feat(web): trash empty placeholder image
* feat(server): empty trash
* feat(web): empty trash
* WIP: mobile-recycle-bin
* refactor(server): empty / restore trash to separate endpoint
* test(server): handle failures
* test(server): fix e2e server-info test
* test(server): deletion test refactor
* feat(mobile): use map settings from server-config to enable / disable map
* feat(mobile): trash asset
* fix(server): operations on assets in trash
* feat(web): show trash statistics
* fix(web): handle trash enabled
* fix(mobile): restore updates from trash
* fix(server): ignore trashed assets for person
* fix(server): add / remove search index when trashed / restored
* chore(web): format
* fix(server): asset service test
* fix(server): include trashed assts for duplicates from uploads
* feat(mobile): no dialog for trash, always dialog for permanent delete
* refactor(mobile): use isar where instead of dart filter
* refactor(mobile): asset provide - handle deletes in single db txn
* chore(mobile): review changes
* feat(web): confirmation before empty trash
* server: review changes
* fix(server): handle library changes
* fix: filter external assets from getting trashed / deleted
* fix(server): empty-bin
* feat: broadcast config update events through ws
* change order of trash button on mobile
* styling
* fix(mobile): do not show trashed toast for local only assets
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-10-06 02:01:14 -05:00
Daniel Dietzler
9bada51d56
feat(server, web)!: Move reverse geocoding settings to the UI ( #4222 )
...
* feat: reverse geocoding settings
* chore: open api
* re-init geocoder if precision has been updated
* update docs
* chore: update verbiage
* fix: re-init logic
* fix: reset to default
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-09-26 14:03:57 +07:00
Daniel Dietzler
7173af60e4
chore(server): Improve test coverage! ( #3889 )
...
* tests for person service
* tests for auth service
* tests for access core
* improve tests for album service
* fix missing brackets and remove comments
* tests for asset service
* tests for face recognition
* tests for job service
* feedback
* tests for search service (broken)
* fix: disabled search test
* tests for smart-info service
* tests for storage template service
* tests for user service
* fix formatting of untouched files LOL
* attempt to fix formatting
* streamline api utils, add asset api for uploading files
* test upload of assets
* fix formatting
* move test-utils to correct folder
* test add assets to album
* use random bytes instead of test image
* (e2e) test albums with assets
* (e2e) complete tests for album endpoints
* (e2e) tests for asset endpoint
* fix: asset upload/import dto validation
* (e2e) tests for statistics asset endpoint
* fix wrong describe text
* (e2e) tests for people with faces
* (e2e) clean up person tests
* (e2e) tests for partner sharing endpoints
* (e2e) tests for link sharing
* (e2e) tests for the asset time bucket endpoint
* fix minor issues
* remove access.core.spec.ts
* chore: wording
* chore: organize test api files
* chore: fix test describe
* implement feedback
* fix race condition in album tests
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-09-11 11:56:38 -04:00
Jason Rasmussen
f1db257628
feat(server,web): server config ( #4006 )
...
* feat: server config
* chore: open api
* fix: redirect /map to /photos when disabled
2023-09-08 22:51:46 -04:00
Jason Rasmussen
4e5bf7ae2e
test: server-info e2e tests ( #3948 )
2023-09-01 22:01:54 -04:00