Thursday, September 24, 2020
grimoire@muc.metronome.im
September
Mon Tue Wed Thu Fri Sat Sun
  1 2 3 4 5 6
7 8 9 10 11 12
13
14 15 16 17 18 19 20
21 22 23 24
25 26 27
28 29 30        
             
Metronome IM "cook" book room | Support and Dev talk about the Metronome XMPP server.

Latest stable version build is: 4.0.3

For more information you can visit: https://metronome.im

Room logs can be found here: https://muc.metronome.im/logs/grimoire/

* Links *
<==========================================================>
- Building & Installation:
https://metronome.im/building
- Documentation:
https://metronome.im/documentation
- Issues Tracker:
https://github.com/maranda/metronome/issues
<==========================================================>

[08:08:53] <sebastian> Morning :-) One quick question: is it possible to have a wildcard for "http_file_allowed_mime_types"? I want to allow all file types
[08:20:37] <sebastian> okay, nvm, i found an example list now that covers most... but still it would be nice to have some wildcard to not limit the file types.
[08:22:10] <Maranda> sebastian: you can't have a wildcard
[08:22:42] <sebastian> can you explain why? maybe i don't see the problem 🙁
[08:23:17] <sebastian> i'm just checkng the mime types for LibreOffice and there are Dozens of it... do i really need to whitelist each one?
[08:28:15] <Maranda> sebastian: sec switching to pc
[08:28:28] <sebastian> 🙂 np
[08:28:47] <Maranda> typing on mobile is annoying
[08:30:08] <Maranda> Metronome uses that list to give out the correct MIME type based on the extension, so having a wild card means everything would need to get out as octetstream which is wrong.
[08:30:27] <Maranda> And "having a wildcard"
[08:32:26] <sebastian> Hm... i understand that falling back to octetstream is maybe bad. But i don't yet fully understand... whats the difference/benefit in comparision to prosody? I can't remember having had this issue with prosody 🤔️
[08:38:11] <Maranda> Prosody should have a MIME list compiled the same way elsewhere.
[08:38:29] <sebastian> hm okay
[08:39:06] <Maranda> Metronome has a much simpler implementation, also this way you can restrict the file types exchanged via the service.
[08:39:29] <Maranda> Before it becomes a worm can
[08:39:53] <sebastian> (single user host ;-))
[08:40:58] <Maranda> The mime list also isn't an issue with mod_http_upload_external
[08:41:17] <Maranda> As that is handled by the upstream HTTP Service.
[08:41:41] <Maranda> Only with the internal one which is unsuggested and soon will be deprecated.
[08:42:23] <Maranda> I'm keeping it because of YuNoHost and I told 'em several time to use the other one
[08:42:35] <sebastian> okay... i now know why it is there :-)
I have a workaround with the most important mime types and for the rest, someone has some fix for Yunohost (i'M using Metronome as part of yunohost obviously ;))
[08:43:23] <Maranda> Also external isn't got the size limitations of the internal one
[08:43:54] <Maranda> sebastian: so just use mod_http_upload_external and you're sorted
[08:56:25] <sebastian> Okay thanks for the detailed explanation.🙂
I have a good list now and hope for Ynh to adapt their default setup+config soon 🙂
[09:48:21] <Maranda> 👌