Activities of "maliming"

If you check this commit you will be finger out it is easy.

https://github.com/maliming/TestHost/commit/10b5a1fdc9f8da5cee38b2915d79254234eede1a

You can also check the --separate-tenant-schema project.

abp new QA -t app-pro -u angular --separate-tenant-schema

hi

Try to add ChatProxyScriptContributor("/client-proxies/chat-proxy.js")

public class ChatProxyScriptContributor : BundleContributor
{
    public async override Task ConfigureBundleAsync(BundleConfigurationContext context)
    {
        var featureChecker = context.ServiceProvider.GetService<IFeatureChecker>();

        if (await featureChecker.IsEnabledAsync(ChatFeatures.Enable))
        {
            context.Files.AddIfNotContains("/client-proxies/chat-proxy.js");
        }
    }
}


Configure<AbpBundlingOptions>(options =>
{
    options.ScriptBundles
            .Get(StandardBundles.Scripts.Global)
            .AddContributors(typeof(ChatGlobalScriptContributor), typeof(ChatProxyScriptContributor ));
});

hi

https://github.com/maliming/TestHost https://github.com/maliming/TestHost/commit/10b5a1fdc9f8da5cee38b2915d79254234eede1a

I send you an email from my personal email (rotahbashi)

You can create a new template project.

Looks like you change the authentication challenge, can we get the previous error instead of return to login page?

https://github.com/abpframework/abp/issues/9926 https://github.com/abpframework/abp/pull/9940 https://github.com/dotnet/aspnetcore/blob/9da42b9fab4c61fe46627ac0c6877905ec845d5a/src/Security/Authentication/Cookies/src/CookieAuthenticationEvents.cs#L46

hi

You can create a new unit of work.


using (CurrentTenant.Change(null))
{
    using (var uow = _unitOfWorkManager.Begin(
        requiresNew: true
    ))
    {
        // GetAsync works on host! It gets cached item from host.
        var cachedClient = await _clientCache.GetAsync(identityClient.ClientId);
    
        cachedClient.Enabled = false;
    
        // But SetAsync does not work on host! It adds a new cached item under tenant folder on redis.
        // Instead of overwriting the item on host folder.
        await _clientCache.SetAsync(identityClient.ClientId, cachedClient, new DistributedCacheEntryOptions
        {
            AbsoluteExpirationRelativeToNow = _identityServerOptions.Caching.ClientStoreExpiration
        },
        considerUow: true);
            
        await uow.CompleteAsync();
    }
}

Can you try considerUow: false

We are currently focused on working on LeptonX theme. We want to release it as soon as possible, too. Development of theme is almost finished but there are still unresolved issues on Theme. After resolving them, it'll be released very soon.

hi

I don't think this is possible. But you can search it in Identity Server.

🙂

Showing 6581 to 6590 of 8484 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54