Activities of "liangshiwei"

Hi,

I have shared via email to you, please check it.

BTW, we have SecurityLog feature, logs are logged when a user logs in or out, it may helpful for you.

Hi,

I don't know what the logged-in users mean.

From your description, it sounds like a user who is using the application.

Just a suggestion:

You can use the SianglR and store the user information at the OnConnectedAsync event.

public class ActiveHub:...
{
   private readonly ICurrentUser _currentUser;
   
    ......   

   public override async Task OnConnectedAsync()
   {
        await AddActiveUserToCache();
    
        return base.OnConnectedAsync();
   }
   
   public async Task AddActiveUserAsync()
   {
       var userId = _currentUser....;
       .....
   }
   
    public override async Task OnDisconnectedAsync(Exception exception)
    {
        await RemoveActiveUserAsync();
        return base.OnDisconnectedAsync(exception);
    }   

   public async Task RemoveActiveUserAsync()
   {
       ....
   }
}

Hi,

Usually, we don't introduce changes in minor releases, like 5.1.0 to 5.1.x

But for 5.1.x to 5.2.0, we may introduce some changes,

You can check our migration guide: https://docs.abp.io/en/abp/latest/Migration-Guides/Index, https://docs.abp.io/en/commercial/latest/release-notes and release logs to know what's changed.: https://docs.abp.io/en/commercial/latest/release-notes

Hi,

You need to check our migration guide: https://github.com/abpframework/abp/blob/dev/docs/en/Migration-Guides/Abp-6_0.md

Use CLI: switch-to-preview or just change all ABP's NuGet packages version to 6.0.0-rc.2

BTW, I recommend you wait for the 6.0 stable release.

Change all Microsoft.Extensions.FileProviders.Embedded packages version to 6.0.5

And change the Volo.Payment.Stripe.HttpApi to stable version 5.3.3.

Hi,

System.Threading.Tasks.TaskCanceledException: A task was canceled.

It looks like the user canceled the request, not a bug.

Run app y connect 115 user o more

Our abo.io platform is also based on ABP and audit module and there is no problem,

Hi,

Sorry, this is our current module's design. but you can easy to custom it for your case.

For example:

public class MyFeatureDefinitionProvider : FeatureDefinitionProvider
{
    public override void Define(IFeatureDefinitionContext context)
    {
        var myApp = context.AddGroup("MyApp");
        myApp.AddFeature("Account.Enable", "true",new FixedLocalizableString("Enable account"), valueType: new ToggleStringValueType());

    }
}

public class MyPermissionDefinitionProvider : PermissionDefinitionProvider
{
    public override void Define(IPermissionDefinitionContext context)
    {
        var accountGroup = context.GetGroup(AccountPermissions.GroupName);

        foreach (var permission in accountGroup.Permissions)
        {
            permission.RequireFeatures("Account.Enable");
        }
    }
}

Hi,

It looks like you are using the nightly builds version, you need to switch to stable first: https://docs.abp.io/en/abp/latest/CLI#switch-to-stable

Hi,

It's still working for you. https://support.abp.io/QA/Questions/2031/Commercial-source-code-to-angular-package#answer-c9240a14-80f6-80b2-ecff-39ffce7e7ea8

If you need the v6 source code, I can share the source code with you via email.

Showing 551 to 560 of 2428 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 24, 2025, 10:25