mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[PR #284] [MERGED] server: Add support for users' avatars in GrahpQL #661
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#661
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/lldap/lldap/pull/284
Author: @nitnelave
Created: 8/3/2022
Status: ✅ Merged
Merged: 8/9/2022
Merged by: @nitnelave
Base:
main← Head:jpeg📝 Commits (8)
f29c888app: Switch yew_form dependency back to main repo61eb71eserver: Add support for users' avatars in GrahpQLf3f27beserver: Change attribute values to bytesd7f1907ldap: return user's avatarb148fealdap: Stop returning empty attributesbe6ba02app: Add support for modifying an avatar4bbabe3migration-tool: Import users' avatars9e14af5migration-tool: misc cleanup📊 Changes
19 files changed (+558 additions, -180 deletions)
View changed files
📝
Cargo.lock(+66 -9)📝
Cargo.toml(+4 -8)📝
app/Cargo.toml(+15 -2)📝
app/queries/get_user_details.graphql(+1 -0)📝
app/src/components/create_user.rs(+1 -0)📝
app/src/components/user_details.rs(+1 -2)📝
app/src/components/user_details_form.rs(+159 -20)📝
app/src/infra/common_component.rs(+43 -6)📝
migration-tool/Cargo.toml(+1 -0)📝
migration-tool/src/ldap.rs(+22 -19)📝
migration-tool/src/lldap.rs(+4 -12)📝
schema.graphql(+3 -0)📝
server/Cargo.toml(+9 -3)📝
server/src/domain/handler.rs(+79 -1)📝
server/src/domain/sql_backend_handler.rs(+5 -0)📝
server/src/infra/graphql/mutation.rs(+25 -1)📝
server/src/infra/graphql/query.rs(+4 -0)📝
server/src/infra/ldap_handler.rs(+115 -96)📝
server/src/infra/ldap_server.rs(+1 -1)📄 Description
Does most of the heavy lifting required for #171 . With this, users can update their avatar in LLDAP and it is served in LDAP as
jpegPhotoattribute.Note that this only supports JPEG, not PNG.
This does not include support for the migration tool.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.