Version 1.2.0 of XEP-0363 introduced the long awaited feature Upload Purpose, this allows client to tell the server how long a file should be kept.
In Movim I'm currently using a "hack" by prefixing the files with chat_, story_, blog_... and run a cronjob to delete them after a while.
Some files uploaded by Movim, for example for the blog posts should be kept forever server side.
The cleaning of the files by ejabberd could be done directly be ejabberd internal cron or by an ejabberdctl command if an admin would prefer to run it using an external script.
Thanks again for the awesome work!
Version 1.2.0 of XEP-0363 introduced the long awaited feature Upload Purpose, this allows client to tell the server how long a file should be kept.
In Movim I'm currently using a "hack" by prefixing the files with chat_, story_, blog_... and run a cronjob to delete them after a while.
Some files uploaded by Movim, for example for the blog posts should be kept forever server side.
The cleaning of the files by ejabberd could be done directly be ejabberd internal cron or by an ejabberdctl command if an admin would prefer to run it using an external script.
Thanks again for the awesome work!