Andrzej Wójcik (Tigase) opened 4 years ago
|
|
It would be good to consider browsing files with querying by mime type, name and being able to have paginated results. The best would be to use ad-hoc commands for that and use |
|
I've created ad-hoc commands for managing uploaded files:
NOTE: Each form can be submitted in a single step. If you know the form on the last step you can prepare a form on the client side and just send it in the initial request to the server to speed up processing (no need to wait for a server to return a form). I'm assigning this to @wojtek to review changes related to project and bumped dependency versions. @kobit Please review my comment and let me know if that is what you expected to have. Basically, the admin can:
The user can:
Note: We do use ACL for ad-hoc commands, so those commands need to be configured to be executed by |
|
All seems correct. I understand that to get files shared with a user, the user would use the extended MAM protocol and other XEPs? |
|
@kobit Yes, you are correct. That is just for managing files uploaded by the user (or users of a domain). While for user most of the browsing might be done with UA (MAM+extensions), I've implemented this one as it can still be useful i.e. for domain owners or admins. |
|
@andrzej.wojcik one (nitpick) question - wouldn't it be prudent to merge
Haven't we talked about extending the API with "default adhoc ACL"? I went over the code and it looks ok. |
|
I thought that we may need/want to add some additional data to
Yes, we talked about it, but I did not follow up on this idea, so it is not implemented. |
|
@andrzej.wojcik please squash and merge the changes. |
|
I've squashed changes and merged them into |
Type |
Task
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.2.0
|
HTTP File Upload component implemented according to the XEP-0363: HTTP File Upload does not provide any way to manage uploaded files. It would be good to have a way to: