Files
wekan/docs/Features/Member-Settings/Default-Avatar.md
T
Lauri Ojansivu b7589737f5 File docs/Features the way the WeKan menus are.
A feature's guide now sits under the menu it is used from, read from the
templates rather than from where somebody once put it: Header-Bar,
All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar
(Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists,
Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several
menus (editor, history, theme, translations, email, troubleshooting) are in
General.

- Each area has a README mapping its menu entries to their guides and to the
  template or server module that implements them. Board-Header/README.md
  lists all 40 Board View entries with the template boardBody.jade renders;
  five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of
  their own yet and say so.
- Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all
  of them with their English labels.
- Pages keep their file names. Where a released changelog links an old path,
  a "# Moved" page stays there and points to the new one; test-menu.sh skips
  folders holding only those.
- Undo was filed under Login; it is General/Undo now.
- Every link in docs, code comments, scripts and tests follows the move;
  docsLinksResolve checks them all.

Tests that read a doc follow it to its new place. boardViewSettings now fails
when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or
names a template boardBody.jade does not render.

Thanks to xet7 !
2026-10-16 23:45:35 +03:00

1.4 KiB

Default avatar

A user who has not uploaded an avatar is shown with their initials. With DEFAULT_AVATAR_URL set, WeKan shows an image from a server you choose instead (#824) - for example the photos on an intranet server, or a Gravatar-style service. It is set in the environment only (Docker, snap, start-wekan.sh / .bat); there is no Admin Panel field, as the maintainer asked.

The value is a URL template:

Placeholder Replaced with
{username} the WeKan username
{userId} the WeKan user id
{emailMd5} MD5 of the user's first email, trimmed and lower-cased
{emailSha256} SHA-256 of it
DEFAULT_AVATAR_URL=http://192.168.1.200/avatars/{username}.png
DEFAULT_AVATAR_URL=https://gravatar.example/avatar/{emailSha256}?d=404
snap set wekan default-avatar-url='http://192.168.1.200/avatars/{username}.png'

Every value is URL-encoded, and only an http or https template is used. The server fetches nothing: /avatar-default/<userId> redirects the browser to the address, so whether that server may be reached - and what it learns - is the administrator's choice. An avatar a user uploads always wins, and when the default image does not load the initials are shown again.

Note that an outside avatar service learns which of your users are viewed when; for GDPR reasons the maintainer recommends a server inside your own network.