Hi
Does the angular app will be using this refresh token on its own or do we need to do something more to use refresh token so that user does not log out on token expiry.
ABP will use the refresh token
https://github.com/abpframework/abp/blob/63d9d4a5f8610eaa900f344fe607bd9353305368/npm/ng-packs/packages/oauth/src/lib/strategies/auth-flow-strategy.ts#L86
Will it work if we use remember me checkbox while logging in.
Yes, I think so.
Hi,
In your case, I wouldn't recommend extending the chat backend code, but only customizing the UI.
You can download the UI source code and add to your solution: https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement
In the UI you can make HTTP requests to your application service, for example:
public class MessageExtrasAppService: ...
{
public async Task GetMessageExtrasAsync(Guid messageId)
{
}
public async Task UploadAttachmentAsync(...)
{
}
}
Hi
I need to remove the some out of box services that are provided by ABP microservices template
I'm assuming here that removing the language management service:
Volo.Abp.LanguageManagement packages from the solutionAdministrationServiceDbContext to remove related code(entity, ConfigureLanguageManagement, namespce using etc..)typeof(LanguageManagementEntityFrameworkCoreModule),, typeof(LanguageManagementApplicationModule),AdministrationServiceEntityFrameworkCoreModule to remove options.ReplaceDbContext<ILanguageManagementDbContext>();dotnet ef migrations add Remove_Language_Management command on the ...AdministrationService.EntityFrameworkCore folder to add a new migrations fileDbMigrator to apply the change.yarp.json file to remove LanguageManagement route config.@volo/abp.ng.language-management from package.json and remove related code from Angular UI.Please note that I do not need the authentication and authorization from ABP
You can add the AddAlwaysAllowAuthorization to the SharedHostingAspNetCoreModule class
need to add my own microservices
See https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice
Hi,
Does the Chat module support extra properties configuration like other module? If yes, show us how to configure to add more properties to the Message entity. If the Chat module does not support configuring extra properties, please advise us the best way to add more properties to the Message entity so that we could update to the newer abp version without reimplementing to code.
Unfortunately, Chat module does not support extra properties
You can create a new entity instead of extending an existing one:
public class MessageExtras: Entity...
{
public Guid MessageId { get; set;} // message foreign key
public Guid EntityId {get; set;}
public string EntityCategory {get; set;}
public List<string> Attachments { get; set}
}
Hi,
Unfortunately there is no good way.
But there are tools that can help you compare changes to file content: https://winmerge.org/
Hi,
You can try this:
Default.cshtml
<link rel="icon" href="~/images/favicon/favicon.ico" type="image/x-icon">
FaviconViewComponent
public class FaviconViewComponent : AbpViewComponent
{
public virtual IViewComponentResult Invoke()
{
return View("~/<Your file path>/Default.cshtml");
}
}
Configure<AbpLayoutHookOptions>(options =>
{
options.Add(
LayoutHooks.Head.First,
typeof(FaviconViewComponent)
);
});
Hi,
Please share the minimal demo with me, my email is shiwei.liang@volosoft.com. I will check it.