Please follow this: https://support.abp.io/QA/Questions/1300/French-translations-are-not-complete
Hi @devteam
File Management module built by getting inspired all other similar systems (like OS File System, Dropbox etc) You can't see paging at those, because of that we did not add paging, the backend does not return paged result from API.
To do that, you need to make changes on source code.
Here is the TODO list for your request.
PagedResult
from ListResult
of DirectoryDescriptorAppService
.GetListAsync
(also make required changes for controller and do paging in the code)There should be FakeCurrentPrincipalAccessor.cs
file in your TestBase
project, we use it to mock user.
Also for data seeding, please check this documentation: https://docs.abp.io/en/abp/latest/Testing#the-seed-data
It seems like you have trouble with Anti Forgery System.
See: https://docs.abp.io/en/abp/latest/CSRF-Anti-Forgery
For MVC, we put antiForgeryToken to file upload posting request header.
headers[abp.security.antiForgery.tokenHeaderName] = abp.security.antiForgery.getToken();
Hi @lalitChougule
The class XAppService
is just an implementation of interface IXAppService
, so when you override the implementation (class) you should also replace the implementation of interface IXAppService
to your OverriddenAppService
. Please see this documentation.
When you resolve IXAppService
, the Dependency Injection should use OverridenAppService
instead of default implementation.
After that, there is no problem to use GetRequiredService<IIdentityUserAppService>();
in tests and everywhere.
Hi @dicky.tech,
You can use IRemoteStreamContent
for file uploading etc.
See: https://docs.abp.io/en/abp/latest/Application-Services#working-with-streams
4.3 file management module.
file upload api works on local host after deploying to server it won't work. redirects to home page. all other apis works well.
on the UI I can upload files well
have you tested this ?
Hi @dicky.tech
Yes we have tested and got no problem after deployed to server. Can you share with me some logs?
Hi @learnabp
There are 2 ways to achieve that,
Hi @enes.koroglu,
ABP Commercial has no notification module, you should implement this feature by your own.
About the Page Toolbar editing for Angular, you can follow this documentation https://docs.abp.io/en/abp/latest/UI/Angular/Modifying-the-Menu#how-to-add-an-element-to-right-part-of-the-menu
Hi @devteam
As I see, you've added migration successfully,
But, to update your database, please use YourProject.DbMigrator
project.
When you run it, it will update your database.