Hayden
4a2a7b7735
feat(server): wait five minutes before sending email on new album item ( #12223 )
...
Album update jobs will now wait five minutes to send. If a new image is added while that job is pending, the old job will be cancelled, and a new one will be enqueued for a minute.
This is to prevent a flood of notifications by dragging in images directly to the album, which adds them to the album one at a time.
Album updates now include a list of users to email, which is generally everybody except the updater. If somebody else updates the album within that minute, both people will get an album update email in a minute, as they both added images and the other should be notified.
2024-10-18 14:51:34 -05:00
Jason Rasmussen
3fb5adb31c
refactor(server): rename metrics to telemetry ( #13584 )
2024-10-18 14:50:32 -04:00
Jason Rasmussen
12628b80bc
refactor(server): telemetry env ( #13564 )
2024-10-17 18:04:25 -04:00
Jason Rasmussen
c8f672f494
refactor(server): telemetry ports env ( #13560 )
2024-10-17 21:00:22 +00:00
Jason Rasmussen
3f663106e8
refactor(server): redis config ( #13538 )
...
* refactor(server): redis config
* refactor: cache parsed env data
* chore: add database and redis tests
2024-10-17 10:50:54 -04:00
Jason Rasmussen
8ac40a933a
refactor(server): external domain fallback ( #13506 )
2024-10-16 18:13:12 -04:00
Jason Rasmussen
930df46f74
chore(server): remove unused code ( #13367 )
2024-10-11 00:44:38 -04:00
Jason Rasmussen
465f4639da
feat: align compose ports ( #13185 )
2024-10-09 16:01:52 -04:00
Jason Rasmussen
f7ad6efc4a
feat(server): medium tests ( #13289 )
2024-10-09 10:00:40 -04:00
Daniel Dietzler
a5e9adb593
chore: migrate oauth to repo ( #13211 )
2024-10-05 16:37:33 -04:00
Jason Rasmussen
6bbaba7866
refactor(server): resource paths ( #13194 )
2024-10-04 21:09:02 +00:00
Jason Rasmussen
5d0a4bb1a5
refactor(server): app module ( #13193 )
2024-10-04 16:57:34 -04:00
Jason Rasmussen
7ee0221c8e
chore: remove deprecated endpoint ( #13190 )
2024-10-04 15:10:13 -04:00
Mert
2c87683fd4
feat(server): refresh face detection ( #12335 )
...
* refresh faces
handle non-ml faces
* fix metadata face handling
* updated tests
* added todo comment
2024-10-03 21:58:28 -04:00
Jason Rasmussen
3ac00b0ffa
refactor(server): db env ( #13167 )
2024-10-03 17:48:40 -04:00
Jason Rasmussen
e2bf6808ca
refactor(server): no color env ( #13166 )
2024-10-03 16:58:15 -04:00
Jason Rasmussen
0eb77147ef
refactor(server): build support env ( #13163 )
2024-10-03 16:33:43 -04:00
Jason Rasmussen
3ddb5b8733
refactor(server): license key env ( #13162 )
2024-10-03 19:45:37 +00:00
Jason Rasmussen
db1623f43f
refactor(server): worker env ( #13160 )
2024-10-03 15:28:36 -04:00
Jason Rasmussen
892a35acb5
refactor(server): port env ( #13158 )
2024-10-03 17:29:40 +00:00
Jason Rasmussen
4ea281f854
refactor: service dependencies ( #13108 )
...
refactor(server): simplify service dependency management
2024-10-02 10:54:35 -04:00
Jason Rasmussen
6c7d51da34
refactor: more process.env references ( #13106 )
2024-10-02 08:37:26 -04:00
Jason Rasmussen
4d20b11f25
feat: track upgrade history ( #13097 )
2024-10-01 13:33:58 -04:00
Jason Rasmussen
305fc77ebe
feat(server): better mount checks ( #13092 )
2024-10-01 13:04:37 -04:00
Jason Rasmussen
a019fb670e
refactor(server): config service ( #13066 )
...
* refactor(server): config service
* fix: function renaming
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-09-30 17:31:21 -04:00
Jason Rasmussen
f63d251490
refactor(server): user core ( #13063 )
2024-09-30 16:04:24 -04:00
Jason Rasmussen
dfc2d5002b
refactor(server): client events ( #13062 )
2024-09-30 15:50:34 -04:00
Jason Rasmussen
a2d457b01d
refactor(server): events ( #13003 )
...
* refactor(server): events
* chore: better type
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-09-30 10:35:11 -04:00
Mert
7adb35e59e
fix(server): /search/random
failing with certain options ( #13040 )
...
* fix relation handling, remove pagination
* update api, sql
* update mock
2024-09-30 00:29:35 -04:00
Mert
2f13db51df
fix(server): "all" button for facial recognition deleting faces instead of unassigning them ( #13042 )
...
* unassign faces instead of deleting them
* formatting
2024-09-30 00:29:14 -04:00
Mert
2bcd27e166
feat(server): generate all thumbnails for an asset in one job ( #13012 )
...
* wip
cleanup
add success logs, rename method
do thumbhash too
fixes
fix tests
handle `notify`
wip refactor
refactor
* update tests
* update sql
* pr feedback
* remove unused code
* formatting
2024-09-28 17:47:24 +00:00
Mert
4248594ac5
feat(server): better transcoding logs ( #13000 )
...
* better transcoding logs
* pr feedback
2024-09-27 18:10:39 -04:00
Jason Rasmussen
36ee72cd87
refactor(server): access env via repository ( #12987 )
2024-09-27 10:28:56 -04:00
Jonathan Jogenfors
b2f2be3485
refactor(server): library syncing ( #12220 )
...
* refactor: library scanning
fix tests
remove offline files step
cleanup library service
improve tests
cleanup tests
add db migration
fix e2e
cleanup openapi
fix tests
fix tests
update docs
update docs
update mobile code
fix formatting
don't remove assets from library with invalid import path
use trash for offline files
add migration
simplify scan endpoint
cleanup library panel
fix library tests
e2e lint
fix e2e
trash e2e
fix lint
add asset trash tests
add more tests
ensure thumbs are generated
cleanup svelte
cleanup queue names
fix tests
fix lint
add warning due to trash
fix trash tests
fix lint
fix tests
Admin message for offline asset
fix comments
Update web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
add permission to library scan endpoint
revert asset interface sort
add trash reason to shared link stub
improve path view in offline
update docs
improve trash performance
fix comments
remove stray comment
* refactor: add back isOffline and remove trashReason from asset, change sync job flow
* chore(server): drop coverage to 80% for functions
* chore: rebase and generated files
---------
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
2024-09-25 18:26:19 +01:00
Jason Rasmussen
005528ab5e
fix(server): http error parsing on endpoints without a default response ( #12927 )
2024-09-25 12:05:03 -04:00
Zack Pollard
5a1a841365
fix: rework file handling so we always explicitly create, overwrite or both ( #12812 )
2024-09-20 23:16:53 +00:00
Jason Rasmussen
6740c67ed8
fix: empty and restore over 1,000 items ( #12751 )
2024-09-18 09:57:52 -04:00
Jason Rasmussen
4f25cec6df
refactor(server): metadata repository ( #12759 )
2024-09-18 08:44:22 -04:00
Jason Rasmussen
efe45fd0aa
chore: remove unused album repository methods ( #12758 )
2024-09-17 21:02:11 +00:00
Jason Rasmussen
1e6ef5c9e4
refactor(server): view repository ( #12755 )
2024-09-17 16:32:09 -04:00
Jason Rasmussen
b74b20824a
feat: tag cleanup job ( #12654 )
2024-09-16 16:49:12 -04:00
Jason Rasmussen
d634ef2d2b
fix(server): person repo methods ( #12524 )
2024-09-10 08:48:29 -05:00
Lukas
27e283e724
fix(server): search suggestions include partner assets ( #12269 )
...
search suggestions now include partner assets
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-09-05 09:12:46 -05:00
BugFest
77e6a6d78b
feat(server): Import face regions from metadata ( #6455 )
...
* feat: faces-from-metadata - Import face regions from metadata
Implements immich-app#1692.
- OpenAPI spec changes to accomodate metadata face import configs. New settings to enable the feature.
- Updates admin UI compoments
- ML faces detection/recognition & Exif/Metadata faces compatibility
Signed-off-by: BugFest <bugfest.dev@pm.me>
* chore(web): remove unused file confirm-enable-import-faces
* chore(web): format metadata-settings
* fix(server): faces-from-metadata tests and format
* fix(server): code refinements, nullable face asset sourceType
* fix(server): Add RegionInfo to ImmichTags interface
* fix(server): deleteAllFaces sourceType param can be undefined
* fix(server): exiftool-vendored 27.0.0 moves readArgs into ExifToolOptions
* fix(server): rename isImportFacesFromMetadataEnabled to isFaceImportEnabled
* fix(server): simplify sourceType conditional
* fix(server): small fixes
* fix(server): handling sourceType
* fix(server): sourceType enum
* fix(server): refactor metadata applyTaggedFaces
* fix(server): create/update signature changes
* fix(server): reduce computational cost of Person.getManyByName
* fix(server): use faceList instead of faceSet
* fix(server): Skip regions without Name defined
* fix(mobile): Update open-api (face assets feature changes)
* fix(server): Face-Person reconciliation with map/index
* fix(server): tags.RegionInfo.AppliedToDimensions must be defined to process face-region
* fix(server): fix shared-link.service.ts format
* fix(mobile): Update open-api after branch update
* simplify
* fix(server): minor fixes
* fix(server): person create/update methods type enforcement
* fix(server): style fixes
* fix(server): remove unused metadata code
* fix(server): metadata faces unit tests
* fix(server): top level config metadata category
* fix(server): rename upsertFaces to replaceFaces
* fix(server): remove sourceType when unnecessary
* fix(server): sourceType as ENUM
* fix(server): format fixes
* fix(server): fix tests after sourceType ENUM change
* fix(server): remove unnecessary JobItem cast
* fix(server): fix asset enum imports
* fix(open-api): add metadata config
* fix(mobile): update open-api after metadata open-api spec changes
* fix(web): update web/api metadata config
* fix(server): remove duplicated sourceType def
* fix(server): update generated sql queries
* fix(e2e): tests for metadata face import feature
* fix(web): Fix check:typescript
* fix(e2e): update subproject ref
* fix(server): revert format changes to pass format checks after ci
* fix(mobile): update open-api
* fix(server,movile,open-api,mobile): sourceType as DB data type
* fix(e2e): upload face asset after enabling metadata face import
* fix(web): simplify metadata admin settings and i18n keys
* Update person.repository.ts
Co-authored-by: Jason Rasmussen <jason@rasm.me>
* fix(server): asset_faces.sourceType column not nullable
* fix(server): simplified syntax
* fix(e2e): use SDK for everything except the endpoint being tested
* fix(e2e): fix test format
* chore: clean up
* chore: clean up
* chore: update e2e/test-assets
---------
Signed-off-by: BugFest <bugfest.dev@pm.me>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-09-04 18:23:58 -04:00
Jason Rasmussen
12b65e3c24
fix(server): auto-reconnect to database ( #12320 )
2024-09-04 13:32:43 -04:00
Jason Rasmussen
5e6ac87eaf
chore: object shorthand linting rule ( #12152 )
...
chore: object shorthand
2024-08-30 14:38:53 -04:00
Jason Rasmussen
9b1a985d29
fix(server): tag upsert ( #12141 )
2024-08-30 12:44:24 -04:00
Jason Rasmussen
d08a20bd57
feat: tags ( #11980 )
...
* feat: tags
* fix: folder tree icons
* navigate to tag from detail panel
* delete tag
* Tag position and add tag button
* Tag asset in detail panel
* refactor form
* feat: navigate to tag page from clicking on a tag
* feat: delete tags from the tag page
* refactor: moving tag section in detail panel and add + tag button
* feat: tag asset action in detail panel
* refactor add tag form
* fdisable add tag button when there is no selection
* feat: tag bulk endpoint
* feat: tag colors
* chore: clean up
* chore: unit tests
* feat: write tags to sidecar
* Remove tag and auto focus on tag creation form opened
* chore: regenerate migration
* chore: linting
* add color picker to tag edit form
* fix: force render tags timeline on navigating back from asset viewer
* feat: read tags from keywords
* chore: clean up
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-08-29 12:14:03 -04:00
Jonathan Jogenfors
363c558db7
fix(server): don't crash when refreshing large libraries ( #7934 )
...
* add job to check for offline files
* fix lint
* only check for offline when using checkForOffline
* improve tests
* remove old test
* wip
* remove trie
* refactor batches
* also check offline status
* fix spelling
* don't do offline scan
* rename scan to check
* fix job statuses
* fix lint
* cleanup
* add test
* open-api
* fix test
* fix spinner
* reset text
* don't double batch
* fix comments from mert
* remove tries
* fix tests
* fix e2e
* fix test
* fix test
* add tests
* fix lint
* fix e2e
* interweave scans
* fix errors
* fix messages
* fix test
* add mock
* fix sql
* fix e2e
* use library batch size
* save -> update
* add file extensions
* update specs
* test for import paths
* check import paths when testing offline
* fix lint
* normalize import path
* remove console logs
* decrease batch size to 1000
* add test for import path
* add test for already-online assets
* fix merge
* fix lint
* add library job back
* add offline job to correct queue
* library spec compiles now
* move one test to new e2e
* fix comments
* fix comments
* fix lint
* refactor path validation
* fix loop bug
* remove logging
* expect responses
* fix asset mock
* take the straightforward approach
* use generator correctly
* fix vitest on file edit
* bump vitest to 1.6.0
* test for offline check
* add e2e tests for offlining assets depending on import path
* cleanup e2e test after finish
* cleanup library service
* paginate the walk generator
* fix tests
* fix typo
* refactoring handleOfflineCheck
* better testing of handleOfflineCheck
* fix lint
* handle large library deletions
* dont check if library is deleted
* fix mock
* add a 100k page size to library
* fix loading animation
* better log messages
* Better logging for offline asset removal
* fix sql and tests
* fix number format
* Remove submodule
* fix format
* chore: cleanup
* chore: fix tests
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-28 13:05:48 -04:00
Jason Rasmussen
7fbf50a75e
fix: remove asset.resized
( #11983 )
...
fix: remove resized
2024-08-22 23:24:49 -04:00