Jason Rasmussen
0c13c63bb6
refactor: infra/domain module ( #8130 )
2024-03-20 16:46:59 -05:00
Jason Rasmussen
c1402eee8e
chore: migrate database files ( #8126 )
2024-03-20 21:02:51 +00:00
Daniel Dietzler
84f7ca855a
chore(server): move domain interfaces ( #8124 )
...
move domain interfaces
2024-03-20 16:42:58 -04:00
Jason Rasmussen
81f0265095
chore: organize config, validation, decorators ( #8118 )
...
* refactor: validation
* refactor: utilities
* refactor: config
2024-03-20 16:04:03 -04:00
Daniel Dietzler
30f499cf2e
chore(server): use absolute import paths ( #8080 )
...
update server to use absolute import paths
2024-03-20 14:32:04 -04:00
Mert
f392fe7702
fix(server): "view all" for cities only showing 12 cities ( #8035 )
...
* view all cities
* increase limit
* rename endpoint
* optimize query
* remove pagination
* update sql
* linting
* revert sort by count in explore page for now
* fix query
* fix
* update sql
* move to search, add partner support
* update sql
* pr feedback
* euphemism
* parameters as separate variable
* move comment
* update sql
* linting
2024-03-20 03:23:57 +00:00
Mert
2daed747cd
chore(server): change save -> update in asset repository ( #8055 )
...
* `save` -> `update`
* change return type
* include relations
* fix tests
* remove when mocks
* fix
* stricter typing
* simpler type
2024-03-19 22:42:10 -04:00
Jason Rasmussen
40262c30cb
refactor(server): library service ( #8050 )
...
* refactor: library service
* chore: open api
* fix: checks
2024-03-18 16:59:53 -04:00
Alex
761e7fdd2d
feat(server): memory includes partners assets on timeline ( #7993 )
...
* feat(server): memory includes partners assets on timeline
* remove unsued code, generate sql
* fix test
* add test
2024-03-18 14:46:52 -05:00
Daniel Dietzler
148428a564
feat(server): use nestjs events to validate config ( #7986 )
...
* use events for config validation
* chore: better types
* add unit tests
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
2024-03-17 20:16:02 +01:00
martin
31f7e1aca3
feat(server, web): album orders ( #7819 )
...
* feat: album orders
* fix: tests
* pr feedback
* pr feedback
* pr feedback
* fix: tests
* add comment
* pr feedback
* fix: rendering issue
* wording
* fix: order value doesn't change
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com >
2024-03-14 11:45:03 -05:00
Mert
ee8e8a0c0f
perf(server): optimize getByIds query ( #7918 )
...
* clean up usage
* i'm not updating all these tests
* update tests
* add indices
* add indices to entities
remove index from person entity
add to face entity
fix
* simplify query
* update sql
* missing await
* remove synchronize false
2024-03-14 01:58:09 -04:00
Mert
d67cc00e4e
feat(server): lower library scan memory usage ( #7939 )
...
* use trie
* update tests
* formatting
* pr feedback
* linting
2024-03-14 01:52:30 -04:00
Mert
a097e903c9
feat(server): OpenTelemetry integration ( #7356 )
...
* wip
* span class decorator
fix typing
* improvements
* noisy postgres logs
formatting
* add source
* strict string comparison
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com >
* remove debug code
* execution time histogram
* remove prometheus stuff
remove prometheus data
* disable by default
disable nestjs-otel stuff by default
update imports
* re-add postgres instrumentation
formatting
formatting
* refactor: execution time histogram
* decorator alias
* formatting
* keep original method order in filesystem repo
* linting
* enable otel sdk in e2e
* actually enable otel sdk in e2e
* share exclude paths
* formatting
* fix rebase
* more buckets
* add example setup
* add envs
fix
actual fix
* linting
* update comments
* update docker env
* use more specific env
---------
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com >
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
2024-03-12 05:19:12 +00:00
Mert
8dc62bd29a
fix(server): face search results not always sorted ( #7839 )
...
* order by
* update sql
2024-03-11 09:19:20 -05:00
Mert
5bd597f14b
fix(server): external library sync not working for large libraries ( #7759 )
2024-03-10 22:30:57 -04:00
Alex
e8fb529026
fix(server): getAllAssets doesn't return all assets ( #7752 )
...
* fix(server): getAllAssets doesn't return all assets
* try reverting
* fix: archive and remove unused method
* update sql
* remove unused code
* linting
2024-03-08 17:16:32 -06:00
Sam Holton
7a4ae7d142
feat(server,web): add force delete to immediately remove user ( #7681 )
...
* feat(server,web): add force delete to immediately remove user
* update wording on force delete confirmation
* fix force delete css
* PR feedback
* cleanup user service delete for force
* adding user status column
* some cleanup and tests
* more test fixes
* run npm run sql:generate
* chore: cleanup and websocket
* chore: linting
* userRepository.restore
* removed bad color class from delete-confirm-dialoge
* additional confirmation for user force delete
* shorten confirmation message
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
2024-03-08 17:49:39 -05:00
Sam Holton
dbb6a8dc2a
fix(server): remove shared links during user delete ( #7696 )
...
* fix(server): remove shared links during user delete
* add delete cascade for shared links
2024-03-07 17:21:23 -05:00
Jonathan Jogenfors
4cb0f37918
chore(server): Move library watcher to microservices ( #7533 )
...
* move watcher init to micro
* document watcher recovery
* chore: fix lint
* add try lock
* use global library watch lock
* fix: ensure lock stays on
* fix: mocks
* unit test for library watch lock
* move statement to correct test
* fix: correct return type of try lock
* fix: tests
* add library teardown
* add chokidar error handler
* make event strings an enum
* wait for event refactor
* refactor event type mocks
* expect correct error
* don't release lock in teardown
* chore: lint
* use enum
* fix mock
* fix lint
* fix watcher await
* remove await
* simplify typing
* remove async
* Revert "remove async"
This reverts commit 84ab5abac4 .
* can now change watch settings at runtime
* fix lint
* only watch libraries if enabled
---------
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com >
Co-authored-by: Alex Tran <alex.tran1502@gmail.com >
2024-03-07 11:36:53 -06:00
Michel Heusschen
2dcd0e516f
fix(server): add extension to filename migration ( #7697 )
2024-03-07 09:33:56 -05:00
Alex
e823b39579
fix(server): access face count when the value is undefined ( #7694 )
2024-03-06 23:21:10 -05:00
Alex
1eea547aa2
chore(server): search filename using originalFileName ( #7691 )
2024-03-06 22:36:08 -05:00
Mert
1ec5d612fa
perf(server): use queries to refresh library assets ( #7685 )
...
* use queries instead of js
* missing await
* add mock methods
* fix test
* update sql
* linting
2024-03-06 21:23:10 -06:00
Alex
3da2b05428
chore(server): save original file name with extension ( #7679 )
...
* chore(server): save original file name with extension
* extract extension
* update e2e test
* update e2e test
* download archive
* fix download archive appending name
* pr feedback
* remove unused code
* test
* unit test
* remove unused code
* migration
* noops
* pr feedback
* Update server/src/domain/download/download.service.ts
Co-authored-by: Mert <101130780+mertalev@users.noreply.github.com >
---------
Co-authored-by: Mert <101130780+mertalev@users.noreply.github.com >
2024-03-07 02:34:55 +00:00
Sam Holton
9125999d1a
feat(server,web): make user deletion delay configurable ( #7663 )
...
* feat(server,web): make user deletion delay configurable
* alphabetical order
* add min for user.deleteDelay in SettingInputField
* make config.user.deleteDelay SettingInputField min consistent format
* fix e2e test
* update description on user delete delay
2024-03-05 23:45:40 -06:00
Alex
52dfe5fc92
fix(server): stack info in asset response for mobile ( #7346 )
...
* fix(server): stack info in asset response for mobile
* fix(server): getAllAssets - do not filter by stack ID
* tet(server): GET /assets stack e2e
* chore(server): fix checks
* stack asset height
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com >
2024-03-06 05:44:56 +00:00
Alex
2f53f6a62c
feat(web): search by filename ( #7624 )
...
* Toggle to search by filename
* wild card search and pr feedback
* Pr feedback
* naming
* placeholder
* Create index
* pr feedback
* pr feedback
* Update web/src/lib/components/shared-components/search-bar/search-text-section.svelte
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
* pr feedback
* pr feedback
* pr feedback
* pr feedback
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
2024-03-05 17:08:35 -06:00
Jonathan Jogenfors
5d377e5b0f
chore(server): eslint await-thenable ( #7545 )
...
* await-thenable
* fix library watchers
* moar eslint
* fix test
* fix typo
* try to remove check void return
* fix checksVoidReturn
* move to domain utils
* remove eslint ignores
* chore: cleanup types
* chore: use logger
* fix: e2e
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com >
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
2024-03-05 17:23:06 -05:00
martin
6ab404597c
fix(server): incorrect number of assets for a person ( #7602 )
...
* fix: incorrect number of assets
* fix: tests
* pr feedback
* fix: e2e test
* fix: e2e test
* fix: e2e test
* feat: more tests
2024-03-04 18:11:54 -05:00
Mert
2fa10a254c
feat(web): improve alt text ( #7596 )
...
* alt text
* memory lane alt text
* revert sql generator change
* use getAltText
* oops
* handle large number of people in asset
* nit
* add aria-label to search button
* update api
* fixed tests
* fixed typing
* fixed spacing
* fix displaying null
2024-03-03 16:42:17 -05:00
Sam Holton
7303fab9d9
feat(server/web): add oauth defaultStorageQuota and storageQuotaClaim ( #7548 )
...
* feat(server/web): add oauth defaultStorageQuota and storageQuotaClaim
* feat(server/web): fix format and use domain.util constants
* address some pr feedback
* simplify oauth storage quota logic
* adding tests and pr feedback
* chore: cleanup
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
2024-03-01 19:46:07 -05:00
Michel Heusschen
c89d91e006
feat: filter people when using smart search ( #7521 )
2024-02-29 16:14:48 -05:00
Jonathan Jogenfors
efa6efd200
feat(server,web): remove external path nonsense and make libraries admin-only ( #7237 )
...
* remove external path
* open-api
* make sql
* move library settings to admin panel
* Add documentation
* show external libraries only
* fix library list
* make user library settings look good
* fix test
* fix tests
* fix tests
* can pick user for library
* fix tests
* fix e2e
* chore: make sql
* Use unauth exception
* delete user library list
* cleanup
* fix e2e
* fix await lint
* chore: remove unused code
* chore: cleanup
* revert docs
* fix: is admin stuff
* table alignment
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
Co-authored-by: Alex Tran <alex.tran1502@gmail.com >
2024-02-29 12:35:37 -06:00
Jonathan Jogenfors
e4f32a045d
chore: remove watcher polling option ( #7480 )
...
* remove watcher polling
* fix lint
* add db migration
2024-02-28 21:20:10 +01:00
Fynn Petersen-Frey
5e485e35e9
feat(server): easy RKMPP video encoding ( #7460 )
...
* feat(server): easy RKMPP video encoding
* make linter happy
2024-02-27 09:47:04 -06:00
Mert
fb18129843
fix(server): truncate embedding tables ( #7449 )
...
truncate
2024-02-27 09:24:23 -06:00
martin
a2934b8830
feat(server, web): search location ( #7139 )
...
* feat: search location
* fix: tests
* feat: outclick
* location search index
* update query
* fixed query
* updated sql
* update query
* Update search.dto.ts
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com >
* coalesce
* fix: tests
* feat: add alternate names
* fix: generate sql files
* single table, add alternate names to query, cleanup
* merge main
* update sql
* pr feedback
* pr feedback
* chore: fix merge
---------
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com >
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com >
2024-02-23 19:42:37 -05:00
martin
5c0c98473d
fix(server, web): people page ( #7319 )
...
* fix: people page
* fix: use locale
* fix: e2e
* fix: remove useless w-full
* fix: don't count people without thumbnail
* fix: es6 template string
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com >
2024-02-21 17:03:45 -05:00
Michel Heusschen
173b47033a
fix(server): search with same face multiple times ( #7306 )
2024-02-21 09:52:38 -06:00
Mert
397570ad1a
chore(server): change transcode default to accept all supported audio codecs ( #7283 )
...
* change transcode defaults
* don't untick accepted audio codecs
* no need to change the transcode policy
* fix tests
* remove log
2024-02-21 00:25:30 -05:00
Mert
eb73f6605b
fix(server): don't return archived assets by default ( #7278 )
...
* don't show archived results by default
* fix e2e
* generate sql
* set default in dto
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com >
2024-02-21 03:59:26 +00:00
Mert
e33fd40b4c
fix(server): quote database name in migration ( #7277 )
...
quote database name
2024-02-21 02:13:43 +00:00
Jonathan Jogenfors
b3c7bebbd4
feat(server,web) Semantic import path validation ( #7076 )
...
* add library validation api
* chore: open api
* show warning i UI
* add flex row
* fix e2e
* tests
* fix tests
* enforce path validation
* enforce validation on refresh
* return 400 on bad import path
* add limits to import paths
* set response code to 200
* fix e2e
* fix lint
* fix test
* restore e2e folder
* fix import
* use startsWith
* icon color
* notify user of failed validation
* add parent div to validation
* add docs to the import validation
* improve library troubleshooting docs
* fix button alignment
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com >
2024-02-20 09:53:12 -06:00
Mert
6690e8edf2
fix(docs): document vector extension env variable ( #7220 )
2024-02-19 21:32:55 -05:00
Mert
857ec0451d
feat(server): optimize get asset query ( #7176 )
...
* faster query
* add index
* remove legacy code
* update mock
* remove unused imports
* add relations
* add stack
* formatting
* remove stack relation
* remove unused import
* increase chunk size
* generate sql
* linting
* fix typing
* formatting
2024-02-18 12:22:25 -06:00
Alex
8e1c85fe4f
fix(server): not in album filter show motion part of LivePhotos ( #7175 )
2024-02-18 12:17:53 -06:00
Michel Heusschen
0730b54ca9
fix(server): empty/restore trash ( #7161 )
...
* fix(server): empty/restore trash
* add e2e tests
* add e2e tests - part 2
2024-02-17 14:05:43 -06:00
Alex
69983ff83a
feat: enhance search ( #7127 )
...
* feat: hybrid search
* fixing normal search
* building out the query
* okla
* filters
* date
* order by date
* Remove hybrid search endpoint
* remove search hybrid endpoint
* faces query
* search for person
* search and pagination
* with exif
* with exif
* justify gallery viewer
* memory view
* Fixed userId is null
* openapi and styling
* searchdto
* lint and format
* remove term
* generate sql
* fix test
* chips
* not showing true
* pr feedback
* pr feedback
* nit name
* linting
* pr feedback
* styling
* linting
2024-02-17 11:00:55 -06:00
Mert
5ff68d4cdb
feat(server): only transcode streams that require it ( #7106 )
2024-02-14 11:24:39 -05:00