mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 11:20:41 +03:00
[PR #1192] [MERGED] Add avatar providers #1234
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/pelican-dev/panel/pull/1192
Author: @Boy132
Created: 3/31/2025
Status: ✅ Merged
Merged: 4/7/2025
Merged by: @Boy132
Base:
main← Head:boy132/avatar-provider📝 Commits (5)
f932bb1Add avatar providers13f1de3Merge remote-tracking branch 'upstream/main' into boy132/avatar-provider048976eMerge remote-tracking branch 'upstream/main' into boy132/avatar-providerf25c68bfix exists check for local avatar270e2f1Use avatar in user lists📊 Changes
17 files changed (+221 additions, -36 deletions)
View changed files
➕
app/Extensions/Avatar/AvatarProvider.php(+40 -0)➕
app/Extensions/Avatar/Providers/GravatarProvider.php(+27 -0)➕
app/Extensions/Avatar/Providers/LocalAvatarProvider.php(+29 -0)➕
app/Extensions/Avatar/Providers/UiAvatarsProvider.php(+31 -0)📝
app/Filament/Admin/Pages/Settings.php(+33 -20)📝
app/Filament/Admin/Resources/UserResource.php(+4 -2)📝
app/Filament/Pages/Auth/EditProfile.php(+6 -0)📝
app/Filament/Server/Resources/UserResource.php(+2 -2)📝
app/Models/ActivityLog.php(+4 -1)📝
app/Models/User.php(+1 -11)📝
app/Providers/AppServiceProvider.php(+8 -0)📝
app/Providers/Filament/AdminPanelProvider.php(+2 -0)📝
app/Providers/Filament/AppPanelProvider.php(+2 -0)📝
app/Providers/Filament/ServerPanelProvider.php(+2 -0)📝
config/panel.php(+1 -0)➕
database/migrations/2025_03_28_104348_drop_gravatar_column_in_users.php(+28 -0)📝
lang/en/admin/setting.php(+1 -0)📄 Description
By default Gravatar, UI Avatars and "Local Avatars" (allow users to upload their own avatar) are available.
Gravatar is the default.
(requires filament 3.3.7+)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.