Hi,
Yes, this is the code, you can override the chat page: https://gist.github.com/realLiangshiwei/b90eabf57bf4f1e90e9ce2cbabdea770
Hi,
https://github.com/abpio/abp-commercial-docs/pull/745
System.Net.WebException: Error: TrustFailure
It looks like your HTTPS certificate is not trusted
Hi,
You can create an AuditLogContributor https://docs.abp.io/en/abp/latest/Audit-Logging#audit-log-contributors
Hi,
Chat feature Supported in 8.1 for a Maui Blazor.
You can try :
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.Options;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Http.Client;
using Volo.Abp.Http.Client.Authentication;
using Volo.Chat.Blazor.Components;
namespace Volo.Chat.Blazor.MauiBlazor.Components;
[ExposeServices(typeof(MessagesToolbarItem))]
public class BlazorMessagesToolbarItem : MessagesToolbarItem
{
[Inject]
protected IAbpAccessTokenProvider AccessTokenProvider { get; set; }
[Inject]
protected IOptions<ChatBlazorMauiBlazorOptions> ChatBlazorMauiBlazorOptions { get; set; }
[Inject]
protected IOptions<AbpRemoteServiceOptions> AbpRemoteServiceOptions { get; set; }
protected async override Task SetChatHubConnectionAsync()
{
var accessToken = await AccessTokenProvider.GetTokenAsync();
var signalrUrl = ChatBlazorMauiBlazorOptions.Value.SignalrUrl ?? AbpRemoteServiceOptions.Value.RemoteServices.Default.BaseUrl;
HubConnection = new HubConnectionBuilder()
.WithUrl(signalrUrl.EnsureEndsWith('/') + "signalr-hubs/chat", options =>
{
options.AccessTokenProvider = () => Task.FromResult(accessToken);
})
.Build();
}
}
public class ChatBlazorMauiBlazorOptions
{
public string SignalrUrl { get; set; }
}
Hi,
You can consider using code.
For example:
A code : 00001
A.1 code : 00001.00001
A.2 code : 00001.00002
A.1.1 code 00001.00001.00001
B code 00002
B.1 code 00002.00001
You can easily query all children through code.
Here is a open source project you can check this: https://github.com/maliming/Owl.GeneralTree
Hi,
You may not be passing the CSRF token parameter
ABP will set it internally for Ajax https://github.com/abpframework/abp/blob/e57159f1b96a4937d75793874f9ed89d1c2131c4/npm/packs/jquery/src/abp.jquery.js#L255
Hi,
I created an internal issue, we will check this.