This project is mirrored from https://github.com/immich-app/immich.
Pull mirroring updated .
- Jan 08, 2024
-
-
Alex The Bot authored
-
Daniel Dietzler authored
-
Alex The Bot authored
-
Alex authored
-
- Jan 07, 2024
-
-
Zack Pollard authored
-
Michael Manganiello authored
* fix(server): Split database queries based on PostgreSQL bound params limit PostgreSQL uses a 16-bit integer to indicate the number of bound parameters. This means that the maximum number of parameters for any query is 65535. Any query that tries to bind more than that (e.g. searching by a list of IDs) requires splitting the query into multiple chunks. This change includes refactoring every Repository that runs queries using a list of ids, and either flattening or merging results. Fixes #5788, #5997. Also, potentially a fix for #4648 (at least based on [this comment](https://github.com/immich-app/immich/issues/4648#issuecomment-1826134027)). References: * https://github.com/typeorm/typeorm/issues/7565 * [PostgreSQL message format - Bind](https://www.postgresql.org/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-BIND) * misc: Create Chunked decorator to simplify implementation * feat: Add ChunkedArray/ChunkedSet decorators
-
maxer137 authored
* feat(server): Throw error when PostgreSQL version is not within the supported versions The pgvecto.rs extension, though not distributed, can be built for PostgreSQL 12 and 13. An installation of PostgreSQL 12 with the pgvecto.rs extensions installed will not be caught by immich. This causes immich to attempt to run the database migrations without having a proper environment. With assertPostgresql the server will throw an error if the PostgreSQL version is not within the supported range. * Replaced assertion with lesser than comparison As requested by @zackpollard * Changed the comparison to use the minPostgresVersion variable. If we define one we might as well use it. makes changing the versioning later easier * Added two new tests, modified two existing tests `should return if minimum supported PostgreSQL and vectors version are installed`: Check if init returns properly and that getPostgresVersion is called twice `should thrown an error if PostgreSQL version is below minimum supported version`: Checks if the init function correctly returns an error `should suggest image with postgres ${major} if database is ${major}`: Modified to set MockResolvedValue instead of MockResolvedValueOnce. With the new check we get the PostgreSQL version twice. So it needs to be set during the entire test. `should not suggest image if postgres version is not in 14, 15 or 16`: Modified the bounds to [14, 18]. Because values below 14 now will not get called. Also Modified to call `getPostgresVersion.MockResolvedValueOnce` for twice, because it gets called twice. * Fixed two mistakes in the jest functions from previous commit #2abcb60 `should thrown an error if PostgreSQL version is below minimum supported version`: The regex function I wrote mistakingly used the negate function which check that the error *did not* contain the phrase "PostgreSQL". Which is the opposite `should not suggest image if postgres version is not in 14, 15 or 16`: confused bounds for a normal javascript array. Changed the test to only check for values above 16. As values below 14 will get thrown out by test `should return if minimum supported PostgreSQL and vectors version are installed` I apologise for the mistakes in my previous commit. * Format fix --------- Co-authored-by: max <wak@vanling.net>
-
martin authored
* move from app.html to user-page-layout.svelte * fix: use layout.svelte * simplify * fix: map style don't change * fix: auto switch theme map * use constants * simplify * rename * rename settign * fix: remove * pr feedback * fix: tests * fix: migration * fix: migration * pr feedback * simplify * simplify * pr feedback * fix: merge * chore: set insetad of toggle on click --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
-
- Jan 06, 2024
-
-
Mert authored
-
Alex authored
* chore(server): set onboarding for existing instances * down
-
Mikhail Gorbachev authored
Add Russain README_ru_RU.md and create link in README
-
martin authored
* feat: previous on the onboarding * fix: storage full screen * feat: transition * use svelte files for svg * fix: use icon component * fix: additional check * styling' --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
-
Felix authored
-
Michael Manganiello authored
The current `removeAsset` implementation just builds the query but does not execute it. That also seems to be the reason the `@GenerateSql` decorator was commented out.
-
shenlong authored
* feat: add isReadOnly and isOffline fields to Asset collection * refactor: move asset iterable filters to extension * hide asset actions based on offline and readOnly fields * pr changes * chore: doc comments --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
-
- Jan 05, 2024
-
-
Fynn Petersen-Frey authored
* feat(mobile): multiselect for search & person page * merge main --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
-
Thariq Shanavas authored
* Added borg template cron job * moved script to guides section * Mentioned db backup location in docs * Added directions for restoring backups
-
shenlong authored
* ios: calculate hash using CryptoKit * chore: remove unused crypto dep --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
-
shenlong authored
* refactor: autoroutex pushroute * refactor: autoroutex popRoute * refactor: autoroutex navigate and replace * chore: add doc comments for extension methods * refactor: Add LoggerMixin and refactor Album activities to use mixin * refactor: Activity page * chore: activity user from user constructor * fix: update current asset after build method * refactor: tests with similar structure as lib * chore: remove avoid-declaring-call-method rule from dcm analysis * test: fix proper expect order * test: activity_statistics_provider_test * test: activity_provider_test * test: use proper matchers * test: activity_text_field_test & dismissible_activity_test added * test: add http mock to return transparent image * test: download isar core libs during test * test: add widget tags to widget test cases * test: activity_tile_test * build: currentAlbumProvider to generator * movie add / remove like to activity input tile * test: activities_page_test.dart * chore: better error logs * chore: dismissibleactivity as statelesswidget --------- Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
-
- Jan 04, 2024
-
-
Emanuel Bennici authored
The search results are not sorted by date causing confision. Fixes #5916
-
Zack Pollard authored
feat(server): in upload folder, split the files into folders based on the first four of the files uuid (#6175)
-
shenlong authored
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
-
Alex authored
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
-
martin authored
* feat: go back on the onboarding * fix: state * rename variable
-
Jason Rasmussen authored
-
martin authored
* feat: add env for reverse geocoding path * fix: quote in doc
-
Alex authored
* feat(web): onboarding * feat: openapi * feat: modulization * feat: page advancing * Animation * Add storage templaete settings * sql * more style * Theme * information and styling * hide/show table * Styling * Update user property * fix test * fix test: * fix e2e * test * Update web/src/lib/components/onboarding-page/onboarding-hello.svelte Co-authored-by: bo0tzz <git@bo0tzz.me> * naming * use System Metadata * better return type * onboarding using server metadata * revert previous changes in user entity * sql * test web * fix test server * server/web test * more test * consolidate color theme change logic * consolidate save button to storage template * merge main * fix web --------- Co-authored-by: bo0tzz <git@bo0tzz.me>
-
Jason Rasmussen authored
* feat(server): move welcome message to settings * chore: open api
-
Jason Rasmussen authored
-
Jason Rasmussen authored
-
Jason Rasmussen authored
* feat: external domain setting * chore: open api * mobile: handle serverconfig-externalDomain --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
-
- Jan 03, 2024
-
-
Jason Rasmussen authored
* chore: remove chai * remove more deps
-
renovate[bot] authored
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
-
renovate[bot] authored
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
-
Jonathan Jogenfors authored
-
renovate[bot] authored
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
-
renovate[bot] authored
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
-
Colin authored
Also added missing "."
-
- Jan 02, 2024
-
-
renovate[bot] authored
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
-