1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-22 01:47:08 +02:00
Commit Graph

297 Commits

Author SHA1 Message Date
Jonathan Jogenfors
a5a27594b8
docs: admin-only library settings (#7716)
* document admin-only library settings

* renew library guide
2024-03-07 21:27:02 +00: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
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
Jonathan Jogenfors
ae46188753
chore(deps): bump sanitize-html, fixing CVE-2024-21501 (#7662)
* bump sanitize-html

* bump better
2024-03-05 17:35:52 -05:00
Nicholas Flamy
70881bc97f
Update truenas.md with permission info. (#7606)
* Update truenas.md with permission info.

This is very important information about permissions on datasets used by immich.

* Update truenas.md

* Update truenas.md with proper formatting
2024-03-05 02:51:20 +00:00
DawidPietrykowski
e8b001f62f
feat: preloading of machine learning models (#7540) 2024-03-03 19:48:56 -05:00
Ignacy Kajdan
b63b42d3d7
docs: fix the database name env variable (#7576) 2024-03-02 08:58:07 -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
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
Jonathan Jogenfors
0d2a656aa1
chore: add agpl milestone (#7479)
add agpl milestone
2024-02-27 21:43:12 +00:00
Daniel Mendizabal
912d723281
Update reverse-proxy.md - Apache (#7386)
Update reverse-proxy.md

Update to the Apache implementation
2024-02-24 14:31:01 -06: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
renovate[bot]
02b9f3ee88
fix(deps): update dependency @mdx-js/react to v3.0.1 (#7222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 22:34:01 -05:00
Mert
6690e8edf2
fix(docs): document vector extension env variable (#7220) 2024-02-19 21:32:55 -05:00
Jason Rasmussen
c50d318152
chore: cleanup old jest references (#7198) 2024-02-19 08:54:41 -05:00
renovate[bot]
e49bbf8574
fix(deps): update docs (#7068)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 14:07:16 +00:00
Alex
afe5e17254
chore: update btc address 2024-02-12 14:29:29 -06:00
Alex
dca1bd22df
Change license to AGPLv3 (#7046)
* Change license to AGPLv3

* Readme and documentation

* Package.json

* More replacement

* Added License MIT for previous code

* NIT

* Update LICENSE

Co-authored-by: bo0tzz <git@bo0tzz.me>

* Update cli/LICENSE

Co-authored-by: bo0tzz <git@bo0tzz.me>

* remote mit

---------

Co-authored-by: bo0tzz <git@bo0tzz.me>
2024-02-12 15:31:59 +00:00
Melvin Lammerts
eeeabcfef4
fix: remove dead link from docs (#7027)
Remove dead link

Closes #6932
2024-02-11 13:09:36 -05:00
Lukas
2010c92b61
docs: fix web development setup instructions (#6969) 2024-02-08 02:59:39 +00:00
Mert
b74c84e771
fix(docs): add cuda tag to ml hwaccel example (#6972)
add `-cuda`
2024-02-07 20:58:39 -06:00
Arumugam Jeganathan
16e85af564
Update command-line-interface.md (#6944)
A typo in the command
2024-02-06 18:33:00 +01:00
Jonathan Jogenfors
31eb4790dc
feat(cli): dockerize (#6858)
* import dockerfile from old cli

* build works

* rename login command

* bump packages

* fix login command

* chore: remove axios dependency from CLI

* move immich script path

* can build docker

* wip

* wip

* don't externalize sdk

* can run docker

* improve entrypoint

* can save auth state between runs

* add docs

* clarify reqs

* fix lint

* bump alpine to 3.19

* add env files for api key

* remove immich cli GHA for now

* Update docs/docs/features/command-line-interface.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* remove redundant env variable check

* cleanup

* speling

---------

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2024-02-06 12:17:15 +01:00
Jonathan Jogenfors
755444e9a4
chore(cli): use upload api and update documentation (#6927)
* use fetch api

* bump version

* add documentation

* revert to using file blob
2024-02-06 11:00:35 +01:00
bo0tzz
8e4bf30424
chore(docs): Small FAQ tweaks and nits (#6880)
* chore(docs): Small FAQ tweaks and nits

* chore: format:fix
2024-02-04 22:30:29 -05:00
Mert
329659b2fb
docs(ml,server): updated hwaccel docs (#6878) 2024-02-03 09:11:53 -05:00
Daniel Dietzler
d3404f927c
feat(server)!: oauth encryption algorithm setting (#6818)
* feat: add oauth signing algorithm setting

* chore: open api

* chore: change default to RS256

* feat: test and clean up

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-02-02 00:27:54 -05:00
mmomjian
81cf653752
docs: provide details on storage engine album naming (#6812)
* Update _storage-template.md

* Update _storage-template.md
2024-01-31 22:28:30 -05:00
Mert
efdbe790ee
docs(ml): hardware acceleration (#6821) 2024-01-31 19:12:57 -06:00
Jonathan Jogenfors
c083636c51
docs: update milestones (#6787)
* fix zero index

* fix day

* docs: add gpu acceleration milestone

---------

Co-authored-by: martabal <74269598+martabal@users.noreply.github.com>
2024-01-31 07:01:53 -05:00
Jonathan Jogenfors
068e703e88
feat(server): Automatic watching of library folders (#6192)
* feat: initial watch support

* allow offline files

* chore: ignore query errors when resetting e2e db

* revert db query

* add savepoint

* guard the user query

* chore: openapi and db migration

* wip

* support multiple libraries

* fix tests

* wip

* can now cleanup chokidar watchers

* fix unit tests

* add library watch queue

* add missing init from merge

* wip

* can now filter file extensions

* remove watch api from non job client

* Fix e2e test

* watch library with updated import path and exclusion pattern

* add library watch frontend ui

* case sensitive watching extensions

* can auto watch libraries

* move watcher e2e tests to separate file

* don't watch libraries from a queue

* use event emitters

* shorten e2e test timeout

* refactor chokidar code to filesystem provider

* expose chokidar parameters to config file

* fix storage mock

* set default config for library watching

* add fs provider mocks

* cleanup

* add more unit tests for watcher

* chore: fix format + sql

* add more tests

* move unwatch feature back to library service

* add file event unit tests

* chore: formatting

* add documentation

* fix e2e tests

* chore: fix e2e tests

* fix library updating

* test cleanup

* fix typo

* cleanup

* fixing as per pr comments

* reduce library watch config file

* update storage config and mocks

* move negative event tests to unit tests

* fix library watcher e2e

* make watch configuration global

* remove the feature flag

* refactor watcher teardown

* fix microservices init

* centralize asset scan job queue

* improve docs

* add more tests

* chore: open api

* initialize app service

* fix docs

* fix library watch feature flag

* Update docs/docs/features/libraries.md

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>

* fix: import right app service

* don't be truthy

* fix test speling

* stricter library update tests

* move fs watcher mock to external file

* subscribe to config changes

* docker does not need polling

* make library watch() private

* feat: add configuration ui

---------

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-01-31 08:15:54 +00:00
Alex Tran
e90d3a169c fix(docs): formatting 2024-01-30 13:45:18 -06:00
Alex Tran
102b5bedea fix(docs): formatting 2024-01-30 13:32:25 -06:00
mmomjian
b4d5f14e13
Document how to prevent HTML entity escaping. (#6773)
* Update _storage-template.md

* Update _storage-template.md
2024-01-30 13:30:58 -06:00
mmomjian
417a35189d
docs: add FAQ for duplicate primary key errors (#6763)
* Update FAQ.mdx

* Update FAQ.mdx
2024-01-30 18:45:31 +00:00
Jonathan Jogenfors
f6afb23d56
docs(server): Fix glob pattern in library exclusions (#6752)
fix glob pattern in library exclusions
2024-01-30 07:57:22 -05:00
Ben McCann
a7e01bc3fe
docs: fix typo (#6739) 2024-01-29 20:57:28 -05:00
Jason Rasmussen
a162af0e70
docs: fix broken link (#6735) 2024-01-29 22:09:33 +00:00
Jason Rasmussen
6dca47c629
refactor: no experimental vm modules (#6719) 2024-01-29 09:11:02 -06:00
debricked[bot]
70aeb82c5d
fix(deps) CVE–2023–45857 (bump axios) (#6665)
* fix(deps) CVE–2023–45857

* bump axios in docs

---------

Co-authored-by: debricked[bot] <47180885+debricked[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Jogenfors <jonathan@jogenfors.se>
2024-01-26 19:26:31 -05:00
Jonathan Jogenfors
78a2fa8569
fix(deps): bump lodash (#6672)
bump lodash
2024-01-26 11:39:47 -05:00
Jonathan Jogenfors
0d3929f732
fix(deps) bump marked to 11.1.1 (#6670)
bump marked to 11.1.1
2024-01-26 11:32:01 -05:00
Jonathan Jogenfors
2d0db5d0f2
fix(deps) CVE-2022-25883 (#6667)
fix CVE-2022-25883
2024-01-26 09:24:35 -06:00
debricked[bot]
33b3b8093e
fix(deps) CVE–2022–25887 (#6664)
* fix(deps) CVE–2022–25887

* bump version

---------

Co-authored-by: debricked[bot] <47180885+debricked[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Jogenfors <jonathan@jogenfors.se>
2024-01-26 10:00:43 -05:00
debricked[bot]
48fd64af56
fix(deps) CVE–2021–43138 (#6662)
* Fix CVE–2021–43138

* bump async

---------

Co-authored-by: debricked[bot] <47180885+debricked[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Jogenfors <jonathan@jogenfors.se>
2024-01-26 10:00:17 -05:00
debricked[bot]
741ce04e7f
Fix CVE–2023–45133 (#6661)
Co-authored-by: debricked[bot] <47180885+debricked[bot]@users.noreply.github.com>
2024-01-26 07:54:12 -06:00
aviv926
19d4c5e9f7
docs: Update documentation (#6430)
* Documentation corrections

* fix import

* add firewall note

* npm run format:fix

* fixs

* npm run format:fix

* space

* fix note

* admin-jobs.png image update + fixes

* Storage Template.md update

* Add new Troubleshooting about symbolic link in library

* Updating the libraries.md

* Updating the libraries.md

* Corrections

* add `/`

* ...

* Add Python script to remove-offline-files.md

* npm run format:fix

* Add info about HDR in FAQ

* My wrong merge

* add info about symlink

* [Community] + PowerShell

* add 360 photo support to Features in README

* add info about remote ML and info about orphaned files from the external library to the scripts page

* Typo

* add note about storage locations

* add info about Purge for portainer and link to info about asset types and storage locations

* npm run format:fix

* Add FAQ about "faces" that aren't faces

* Update docs/docs/administration/backup-and-restore.md

* Update docs/docs/administration/backup-and-restore.md

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-01-25 17:17:38 +00:00
Jason Rasmussen
852effa998
refactor(server): e2e (#6632) 2024-01-24 17:24:53 -05:00
Lenart Kos
5f051e3104
docs: add reverse proxy configuration for Apache (#6625) 2024-01-24 10:11:36 -05:00
Jason Rasmussen
d801131f38
fix(docs): search (#6605) 2024-01-23 17:50:25 -05:00