Activities of "maliming"

hi

Might be a false positive of Cloudflare.

https://support.abp.io/QA/Questions/4623

hi

What is your post content?

Please share the screenshot.

hi

I have limited experience with cookie management and am wondering if there are possible issues or workarounds to consider.

something like this https://gist.github.com/maliming/b1ea80d68982a5b7064d7df6bafa89f5

hi

Redis should be used as a high-performance cache, and it is not recommended to use it across the country.

You can change the redis server closest to you.

hi

Please share steps and code to reproduce this in the new template project.

hi

I think you can replace these balzor pages. Add your tenant domain to action of ImpersonationForm.

This requires sharing cookies between the subdomain and the main domain name.

On MVC version, security logs page is always empty without any data, and blazor version lists data.

Temporary code that fixes the problem, we'll fix it in the framework.

MyProjectNameWebModule

public override void ConfigureServices(ServiceConfigurationContext context)
{
    context.Services.Replace(ServiceDescriptor.Transient<IAbpServiceConvention, MyAbpHttpClientProxyServiceConvention>());
    context.Services.AddTransient<MyAbpHttpClientProxyServiceConvention>();
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.Extensions.Options;
using Volo.Abp.Account;
using Volo.Abp.Account.ClientProxies;
using Volo.Abp.Application.Dtos;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc.Conventions;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Http.Client.ClientProxying;
using Volo.Abp.Http.Client.Web.Conventions;
using Volo.Abp.Identity;
using Volo.Abp.Identity.ClientProxies;

namespace MyCompanyName.MyProjectName.Web;

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(MyIdentitySecurityLogClientProxy), typeof(IIdentitySecurityLogAppService), typeof(IdentitySecurityLogClientProxy))]
public class MyIdentitySecurityLogClientProxy : IdentitySecurityLogClientProxy
{
    public async override Task<PagedResultDto<IdentitySecurityLogDto>> GetListAsync([FromQuery]GetIdentitySecurityLogListInput input)
    {
        return await RequestAsync<PagedResultDto<IdentitySecurityLogDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue
        {
            { typeof(GetIdentitySecurityLogListInput), input }
        });
    }

    public async override Task<PagedResultDto<IdentitySecurityLogDto>> GetMyListAsync([FromQuery]GetIdentitySecurityLogListInput input)
    {
        return await RequestAsync<PagedResultDto<IdentitySecurityLogDto>>(nameof(GetMyListAsync), new ClientProxyRequestTypeValue
        {
            { typeof(GetIdentitySecurityLogListInput), input }
        });
    }
}

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(MyAccountClientProxy), typeof(IAccountAppService), typeof(AccountClientProxy))]
public class MyAccountClientProxy : AccountClientProxy
{
    public async override Task<PagedResultDto<IdentitySecurityLogDto>> GetSecurityLogListAsync([FromQuery]GetIdentitySecurityLogListInput input)
    {
        return await RequestAsync<PagedResultDto<IdentitySecurityLogDto>>(nameof(GetSecurityLogListAsync), new ClientProxyRequestTypeValue
        {
            { typeof(GetIdentitySecurityLogListInput), input }
        });
    }
}


[DisableConventionalRegistration]
public class MyAbpHttpClientProxyServiceConvention : AbpHttpClientProxyServiceConvention
{
    public MyAbpHttpClientProxyServiceConvention(
        IOptions<AbpAspNetCoreMvcOptions> options,
        IConventionalRouteBuilder conventionalRouteBuilder,
        IClientProxyApiDescriptionFinder clientProxyApiDescriptionFinder)
        : base(options, conventionalRouteBuilder, clientProxyApiDescriptionFinder)
    {

    }

    protected override void ApplyForControllers(ApplicationModel application)
    {
        application.Controllers.RemoveAll(x => x.ControllerName == "IdentitySecurityLogClientProxy");
        application.Controllers.RemoveAll(x => x.ControllerName == "AccountClientProxyClientProxy");
        base.ApplyForControllers(application);
    }
}

On MVC version, security logs page is always empty without any data, and blazor version lists data.

Found the reason. Will fix it soon.

hi

replace SaasHostHttpApiClientModule with SaasServiceHttpApiClientModule.

hi

Clicking on payment menu opens an error popup and after that all other pages stops functioning.

what are error logs?

Showing 151 to 160 of 4062 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 20, 2025, 10:27