#102 Added new node for file uploading

#102 File upload node automatically detects mime type from name
#102 File upload node automatically fills in information for m.video, m.audio, and m.image (resolution, duration, etc)
#102 File upload node can generate a thumbnail for videos
#102 Send message node now accepts an object to override the message content
This commit is contained in:
2023-11-05 00:06:52 -06:00
parent d7c4bc26bb
commit e8506d8887
8 changed files with 838 additions and 151 deletions
+5 -2
View File
@@ -43,6 +43,9 @@
<label for="node-input-message"><i class="fa fa-comment"></i> Message</label>
<textarea id="node-input-message" placeholder="msg.payload" style="width: 70%;"></textarea>
</div>
<div class="form-row form-tips">
If message is an object it sets the full content of the message.
</div>
<div class="form-row">
<input
@@ -104,9 +107,9 @@
<dd> Room ID to send image to. Optional if configured on the node. If configured on the node this input will be overridden.</dd>
<dt>msg.payload
<span class="property-type">string</span>
<span class="property-type">string|object</span>
</dt>
<dd> the message text. If configured on the node this is ignored otherwise it required. </dd>
<dd> the message text or an object to customize the full content. If configured on the node this is ignored otherwise it required. </dd>
<dt>msg.replace
<span class="property-type">bool</span>