Skip to content

Commit

Permalink
Merge pull request #111 from EasyAbp/widget
Browse files Browse the repository at this point in the history
Introduce the file manager UI widget
  • Loading branch information
gdlcf88 committed Nov 27, 2023
2 parents 9fe2b04 + 09ecac2 commit 082387b
Show file tree
Hide file tree
Showing 51 changed files with 8,219 additions and 654 deletions.
8 changes: 6 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@ We have launched an online demo for this module: [https://file.samples.easyabp.i

1. Add permissions to the roles you want.

1. Configure a BLOB container. (see [sample](https://github.com/EasyAbp/FileManagement/blob/master/host/EasyAbp.FileManagement.Web.Unified/FileManagementWebUnifiedModule.cs#L139-L150) and [doc](https://docs.abp.io/en/abp/latest/Blob-Storing))
1. Configure a BLOB container. (see [sample](https://github.com/EasyAbp/FileManagement/blob/master/host/EasyAbp.FileManagement.Web.Unified/FileManagementWebUnifiedModule.cs#L153-L164) and [doc](https://docs.abp.io/en/abp/latest/Blob-Storing))

1. Configure a file container. (see [sample](https://github.com/EasyAbp/FileManagement/blob/master/host/EasyAbp.FileManagement.Web.Unified/FileManagementWebUnifiedModule.cs#L152-L178))
1. Configure a file container. (see [sample](https://github.com/EasyAbp/FileManagement/blob/master/host/EasyAbp.FileManagement.Web.Unified/FileManagementWebUnifiedModule.cs#L166-L191))

1. Create a custom **FileOperationAuthorizationHandler**. (see [sample](https://github.com/EasyAbp/FileManagement/blob/master/host/EasyAbp.FileManagement.Web.Unified/CommonContainerFileOperationAuthorizationHandler.cs))

1. Create a file manager page. (see [sample](https://github.com/EasyAbp/FileManagement/blob/master/host/EasyAbp.FileManagement.Web.Unified/Pages/MyFiles/Index.cshtml))

1. Add a menu item for the file manager page. (see [sample](https://github.com/EasyAbp/FileManagement/blob/master/host/EasyAbp.FileManagement.Web.Unified/Menus/MyMenuContributor.cs))

![Files](/docs/images/Files.png)
![Upload](/docs/images/Upload.png)

Expand Down

0 comments on commit 082387b

Please sign in to comment.