mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
[PR #244] [MERGED] feat: add ability to upload a profile picture #896
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/244
Author: @stonith404
Created: 2/17/2025
Status: ✅ Merged
Merged: 2/19/2025
Merged by: @stonith404
Base:
main← Head:feat/profile-picture📝 Commits (10+)
0d12169add first version of profile picture48da5ebmove uuid validation to serviceb7d5c97fix existing tests7d097d9add ldap support855303cremove save button6d55d5dRevert "fix existing tests"1ccb8d8show upload icon instead of "update"357387aMerge branch 'main' into feat/profile-picture162245cvalidate user id in profile picture update513ce04improve profile picture attribute description📊 Changes
38 files changed (+500 additions, -73 deletions)
View changed files
📝
backend/go.mod(+4 -2)📝
backend/go.sum(+9 -2)📝
backend/internal/common/errors.go(+8 -0)📝
backend/internal/controller/user_controller.go(+73 -0)📝
backend/internal/controller/well_known_controller.go(+1 -1)📝
backend/internal/dto/app_config_dto.go(+1 -0)📝
backend/internal/model/app_config.go(+1 -0)📝
backend/internal/service/app_config_service.go(+4 -0)📝
backend/internal/service/ldap_service.go(+43 -1)📝
backend/internal/service/oidc_service.go(+1 -0)📝
backend/internal/service/user_service.go(+69 -0)➕
backend/internal/utils/image/profile_picture.go(+96 -0)📝
backend/resources/files.go(+1 -1)➕
backend/resources/fonts/PlayfairDisplay-Bold.ttf(+0 -0)📝
frontend/src/lib/components/form/auto-complete-input.svelte(+0 -0)📝
frontend/src/lib/components/form/checkbox-with-label.svelte(+3 -3)📝
frontend/src/lib/components/form/custom-claims-input.svelte(+1 -1)📝
frontend/src/lib/components/form/file-input.svelte(+1 -1)📝
frontend/src/lib/components/form/form-input.svelte(+1 -1)➕
frontend/src/lib/components/form/profile-picture-settings.svelte(+83 -0)...and 18 more files
📄 Description
Fixes #58
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.