Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(server,web): remove external path nonsense and make libraries admin-only #7237

Merged
merged 35 commits into from Feb 29, 2024

Conversation

etnoy
Copy link
Contributor

@etnoy etnoy commented Feb 20, 2024

We make the library configuration admin-only. This removes a lot of complexity regarding external paths.

There is a new admin panel for external libraries. The configuration pane might be a better place for it, but it won't fit in a config file so I'm unsure.

User library settings have been removed.

image

We have a picker for library owner:
image

@etnoy etnoy added tech-debt Technical debt external-library Issues related to external libraries labels Feb 20, 2024
Copy link

cloudflare-pages bot commented Feb 20, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 254b0c1
Status: ✅  Deploy successful!
Preview URL: https://83a572ca.immich.pages.dev
Branch Preview URL: https://chore-admin-only-library.immich.pages.dev

View logs

@mertalev mertalev changed the title chore(server,web): make libraries admin-only feat(server,web): make libraries admin-only Feb 20, 2024
@etnoy etnoy marked this pull request as ready for review February 21, 2024 00:18
@etnoy etnoy marked this pull request as draft February 21, 2024 07:51
@etnoy etnoy marked this pull request as ready for review February 21, 2024 11:05
server/src/immich/controllers/library.controller.ts Outdated Show resolved Hide resolved
server/e2e/api/specs/library.e2e-spec.ts Outdated Show resolved Hide resolved
server/src/domain/library/library.service.ts Outdated Show resolved Hide resolved
server/src/immich/controllers/library.controller.ts Outdated Show resolved Hide resolved
@etnoy etnoy changed the title feat(server,web): make libraries admin-only feat(server,web): remove external path nonsense and make libraries admin-only Feb 27, 2024
Copy link
Contributor

@jrasm91 jrasm91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The server code LGTM. This is a nice change and should remove a lot of confusion!

@alextran1502
Copy link
Contributor

Can we split the documentation to a separate PR that will be merged after the next release?

@jrasm91
Copy link
Contributor

jrasm91 commented Feb 29, 2024

That, or we do another release and merge this right before.

@etnoy
Copy link
Contributor Author

etnoy commented Feb 29, 2024

I'll split the pr, that'll be the easiest

@etnoy
Copy link
Contributor Author

etnoy commented Feb 29, 2024

Ready to merge, after the next release we merge #7526

@bo0tzz
Copy link
Member

bo0tzz commented Feb 29, 2024

There are still some docs changes in this PR

@etnoy
Copy link
Contributor Author

etnoy commented Feb 29, 2024

There are still some docs changes in this PR

Fixed, had forgot to push

@alextran1502 alextran1502 merged commit efa6efd into main Feb 29, 2024
25 checks passed
@alextran1502 alextran1502 deleted the chore/admin-only-library branch February 29, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-library Issues related to external libraries tech-debt Technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants