Fix profile avatar and display name issues

- Increase Dio receiveTimeout to 120s for file uploads
- Reduce WebDAV client timeout to 30s
- Add cache-busting v parameter to avatar URLs
- Add hasChanges logic to disable Save button when no changes made
This commit is contained in:
Leon Bösche
2026-01-29 20:18:11 +01:00
parent bb7957cdde
commit e26f39ee5b
4 changed files with 16 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ func NewWebDAVClient(cfg *config.Config) *WebDAVClient {
user: cfg.NextcloudUser,
pass: cfg.NextcloudPass,
basePrefix: strings.TrimRight(base, "/"),
httpClient: &http.Client{Timeout: 120 * time.Second},
httpClient: &http.Client{Timeout: 30 * time.Second},
}
}