Kazuhito Yokoi
8a4128defb
Fix handling in file nodes when 0 is specified as file name
2023-08-14 19:53:00 +09:00
Kazuhito Yokoi
0dd771351d
Fix handling in file nodes when number is specified as file name
2023-08-06 20:35:33 +09:00
Kazuhito Yokoi
f3847a17f3
Fix JSONata in file-in node
2023-07-14 00:24:50 +09:00
Kazuhito Yokoi
80e33489d9
Fix JSONata in file nodes
2023-07-12 02:36:39 +09:00
Nick O'Leary
e612bb6a38
Merge pull request #3915 from node-red/Fix-file-write-last-line-newline-append
...
Fix extra newline append for multipart file write
2023-02-21 14:26:20 +00:00
Dave Conway-Jones
281e9d1357
Fix extra newline append for multipart file write
...
ref Issue #3913
2022-11-30 22:28:46 +00:00
Kazuhito Yokoi
75725a38df
Fix file permission
2022-10-12 23:50:33 +09:00
Steve-Mcl
62a2a4a9f5
Further simplify file node filename entry UX (v3)
...
fixes #3668
2022-06-16 11:38:19 +01:00
Kazuhito Yokoi
121372802f
Use built-in type in typedInput
2022-05-26 22:50:52 +09:00
Kazuhito Yokoi
6182e22d18
Add string label to typedInput in file nodes
2022-05-22 11:56:21 +09:00
Nick O'Leary
193e420eb3
Fix Watch node handling of recursive directories
...
Fixes #3566
2022-05-02 20:11:04 +01:00
Nick O'Leary
bee9e20827
Update Watch node to use node-watch module
2022-04-28 14:07:13 +01:00
Nick O'Leary
9565aee3c5
Merge pull request #3533 from Steve-Mcl/filename-typedinput
...
Feature: Change basic Filename field to a typedInput
2022-04-27 22:28:12 +01:00
Steve-Mcl
f63da0c58b
Default to msg.filename as per v2 condition
2022-04-27 20:44:41 +01:00
Stephen McLaughlin
59e513f130
Remove pointless placeholders
2022-04-26 15:30:20 +01:00
Steve-Mcl
856d2ab266
remove unecessary ${ENV_VAR} test
2022-04-23 11:20:21 +01:00
Steve-Mcl
013af7619e
add tests
...
- fix 2 issues found when developing tests :)
2022-04-16 17:13:54 +01:00
Steve-Mcl
aa302ecc32
Ensure filename is at least an empty string!
2022-04-16 14:42:03 +01:00
Steve-Mcl
99b049fe2d
final updates to file node filename typedInput
...
- ensure node settings are auto updated to correct typedInput type/value
- improve label
- ensure str and env are considered "static" (keep stream open)
2022-04-16 14:25:37 +01:00
Steve-Mcl
6e35a9f682
use typedInput for filename on file nodes
2022-04-14 23:55:57 +01:00
Hiroyasu Nishiyama
9f98b4b082
add support of property validation message
2022-02-14 10:40:49 +09:00
Dave Conway-Jones
2cad42870e
chaneg exec, file and inject node to use node.debug rather than -v flag
2021-12-17 09:58:10 +00:00
Nick O'Leary
f3d0179834
Add paletteLabel to file nodes to make read/write more obvious
2021-09-30 10:41:18 +01:00
Kazuhito Yokoi
be64603097
Fix indents from tab to space
2021-06-29 18:08:02 +09:00
Kazuhito Yokoi
f6b90c8271
Fix output label in file-in node
2021-06-29 18:02:06 +09:00
Dave Conway-Jones
6aac44db14
Add option for file-in node to include all properties (default off)
...
and add test
2021-06-25 14:39:18 +01:00
Nick O'Leary
ce905ba2c4
Merge branch 'master' into dev
2021-06-08 11:44:31 +01:00
Ben Hardill
7585f14b89
Watch node throws errors if new files deleted
...
before the node has finished processing them all.
Fixes #2996
2021-05-28 08:34:08 +01:00
Nick O'Leary
71ba73b38f
Merge branch 'master' into dev
2021-05-04 11:19:05 +01:00
Nick O'Leary
aac2a8f830
File node: Add fileWorkingDirectory to customise how relative paths are resolved
2021-04-12 18:00:58 +01:00
Dave Conway-Jones
023486e175
File out node - fix timing of msg.send to be after close., and...
...
allow msg.encoding to set encoding if desired.
To close #2921
2021-04-12 12:16:23 +01:00
Kazuhito Yokoi
74a015c329
Change types from text/x-red to text/html in node html files
2020-01-15 11:40:48 +09:00
juggledad
22b9df62d1
Using the ‘a msg per line’ the last line does not get msg.topic passed ( #2352 )
...
When using the file-in node and ‘a msg per line’ the last line does not get msg.topic passed.
In the
.on(‘end’, function() {
code (starting at line 334) the msg is created but no msg.topic is set. Adding
topic:msg.topic,
after line 343 (var m = { payload: spare,) fixes the issue.
2019-10-25 14:51:50 +01:00
Dave Conway-Jones
460c5a1ae3
fix file-in port labels for all 4 options
2019-09-20 21:57:19 +01:00
Dave Conway-Jones
6b61fa9f6f
remove legacy error option from file in mode
...
(for 1.0)
2019-09-20 11:18:19 +01:00
Nick O'Leary
da6db24f9e
Reorganise nodes into new categories
2019-08-21 14:23:23 +01:00
Nick O'Leary
2b66723d42
Another pass of categorisation
2019-08-21 14:22:30 +01:00
Nick O'Leary
4ce0e39760
Add nodeDone to File nodes
2019-08-14 22:28:10 +01:00
Nick O'Leary
d623848c87
Update all node icons to SVG
...
When listing icons provided by a module, if there is a png and svg
with the same name, only the svg will be listed.
If a node asks for a png icon which is not known, but there is a
corresponding svg, that will be used instead.
2019-06-21 12:36:20 +01:00
Kazuhito Yokoi
0f57d1a433
Fix encoding menu in file node
2019-04-02 21:35:41 +09:00
Hiroyasu Nishiyama
515a8a9bbb
fix problem on displaying option label on Firefox
2019-03-13 19:17:32 +09:00
Hiroyasu Nishiyama
dc89218702
add encoding support to file in/out node ( #2066 )
...
* add encoding support to file in/out node
* update package.json
* change default encoding label: 'none' -> 'utf8[default]'
* add a missing message catalogue entry
* change default encoding label
2019-03-06 22:28:33 +00:00
Hiroyasu Nishiyama
ae726c199b
add i18n support for port label of inject/exec/httprequest/file node
2019-02-28 20:22:33 +09:00
Nick O'Leary
a04337a270
Merge branch 'master' into dev
2019-02-25 14:46:25 +00:00
Nick O'Leary
24b6670bc4
Remove sentiment and tail nodes
2018-12-07 16:23:55 +00:00
Hiroyasu Nishiyama
c1ff241550
add fixes for core nodes
2018-11-30 13:02:15 +00:00
Nick O'Leary
7a8545273c
Merge branch 'master' into dev
2018-10-15 11:37:14 +01:00
Dave Conway-Jones
fde157ff50
remove cr lf from incoming filename so easier to pass in results from exec node.
...
and add test
2018-09-23 10:36:50 +01:00
Nick O'Leary
ecd8f97d8b
WIP: move all the code
2018-08-04 22:23:06 +01:00