[SVN] release 0.3.3

[UPD] [BREAK] config update; please, see example `media_external_formats`
[ADD] possibility to upload media (supported formats — in config) with external links; compliant with XEP-0363 HTTP Upload
This commit is contained in:
annelin
2018-07-02 02:02:02 +00:00
parent f0ef3abb9c
commit 03f3231aed
3 changed files with 15 additions and 6 deletions

View File

@@ -22,6 +22,8 @@ CONFIG = {
'db_connect': 'db.sqlite',
'media_external_formats': 'png|jpg|jpeg|gif|mp3|mp4|ogg',
'media_web_link_prefix': 'http://tlgrm.localhost/media/',
'media_store_path': '/var/tg4xmpp/media/',
'media_max_download_size': 1024 * 1024 * 100, # in bytes