Commit Graph

46 Commits

Author SHA1 Message Date
萧十一郎 380a08242a
fix html label mistake (#3459) 2022-02-26 10:10:17 +00:00
Dave Conway-Jones 6ae42eb787
Let JSON parser attempt to parse buffers if they contain strings
and add/fix test
2021-12-10 15:21:43 +00:00
Nick O'Leary c5892fc17e
Fix HTML parsing when body is included in the select tag
Fixes #3079
2021-07-23 10:09:00 +01:00
Nick O'Leary 4acb66fb7a
Merge branch 'master' into dev 2021-06-10 16:06:30 +01:00
Dave Conway-Jones b73efe6bb4
Ensure CSV node tries to parse number when set to do so (trim whitespace) 2021-06-10 14:55:47 +01:00
Nick O'Leary dbbdd3f799
Update to latest cheerio module 2021-06-08 09:31:27 +01:00
Nick O'Leary 3d405f8c63
Merge pull request #2969 from node-red/ajv-update
Update ajv to 8.2.0 - drop support for JSON-Schema draft-04
2021-05-27 12:17:51 +01:00
Nick O'Leary cfc0135e86
Update ajv to 8.2.0 - drop support for JSON-Schema draft-04 2021-04-29 10:48:26 +01:00
Dave Conway-Jones 4cebbf8d22
Fix CSV handling of special chars as separators
(ie escape regex special chars)
and add tests
to close #2950
2021-04-23 10:47:23 +01:00
Dave Conway-Jones 0253dc9623
ensure CSV node can send false as string 2021-04-19 10:03:11 +01:00
Dave Conway-Jones 858b3d640a
fix CSV parsing with other than , separator
(and joining as well...
and add tests
to close #2925
2021-04-10 22:17:31 +01:00
Dave Conway-Jones df90e3414d
CSV better handling of messages with incoming parts - to create array output
and add tests (apologies for the massive reformat of test file) - but honestly there are two new tests
2021-03-11 12:47:54 +00:00
Dave Conway-Jones 16b9abbe92
redo CSV fix for commas in header template 2021-03-11 09:34:30 +00:00
Dave Conway-Jones fc709ba266
revert CSV node to commas in headers fix level 2021-02-26 14:34:38 +00:00
Nick O'Leary 0dc4440a99
Merge branch 'master' into dev 2021-02-25 17:56:01 +00:00
Dave Conway-Jones 302c5cfe09
CSV node - handle commas in msg.columns if quoted.
and add more tests
To close #2860
2021-02-12 16:55:41 +00:00
Dave Conway-Jones 4313cbaa5c
fix csv node template reset when array complete
and add tests
to close #2853
2021-02-02 14:20:46 +00:00
Nick O'Leary 41d12c433e
Merge pull request #2734 from node-red-hitachi/csv-node-mapi
Messaging API support in CSV node
2020-12-07 13:50:09 +00:00
Dave Conway-Jones ca4960e097
Fix CSV node repeating array output
and add tests to cover it
2020-11-10 14:43:59 +00:00
Kunihiko Toumura 8007bea7db Messaging API support in CSV node 2020-10-26 20:25:52 +09:00
Kunihiko Toumura 1177aa8aca new-style callback function (yaml node) 2020-07-14 19:20:37 +09:00
Kunihiko Toumura 0eda0a4935 new-style callback function (xml node) 2020-07-14 19:18:05 +09:00
Kunihiko Toumura a19dab0dc9 new-style callback function (json node) 2020-07-14 19:15:31 +09:00
Kunihiko Toumura d8eb80b72e new-style callback function (html node) 2020-07-14 19:10:56 +09:00
Dave Conway-Jones df9d231389
Merge branch 'dev' of https://github.com/node-red/node-red into dev 2020-05-04 14:17:17 +01:00
Dave Conway-Jones e2aebaf0e7
CSV : add warn when unpaired quotes detected on input.
helps handling now that we allow line breaks within fields (as per spec).
2020-05-04 14:17:11 +01:00
Dave Conway-Jones fda95dfc5d
csv node: remove xs console.log 2020-04-14 11:02:14 +01:00
Dave Conway-Jones e969a1c97c
Let CSV node only send headers once
(and then reset that on msg.reset)
and also accept msg.columns csv string to set column headers if not specified in node.
And Add tests
2020-04-03 15:54:19 +01:00
tmdoit 4f31632863
Fix: Allow CR and LF control chars to be a part of the value (#2526)
To properly parse CSV data.
2020-04-03 15:10:33 +01:00
tmdoit 91b7dd988e
[CSV node] Add support for parsing empty strings and null values (#2510)
* [CSV node] Add support for parsing empty strings and null values

* Add new lines at the end and fix script type.

* Last one script type fix

* Naming change
2020-03-18 15:54:10 +00:00
Nick O'Leary 1f8ed9dcb9
Merge branch 'master' into dev 2020-02-10 11:07:50 +00:00
Kazuhito Yokoi c16c119a7d Remove unnecessary namespaces for i18n 2020-01-21 20:13:34 +09: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
tseigo 25de4e4782 Fixed the code format of 70-CSV.js from Tab to Space. try again. 2019-10-22 00:24:10 +09:00
Nick O'Leary 00a3e25714
Change core node categories 2019-08-21 14:21:34 +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
Nick O'Leary 502a8112b5
Remove hardcoded colours from some nodes 2019-05-23 16:39:56 +01:00
Dave Conway-Jones 83d99043a8
Add "don't parse numbers" option to csv node
and add test
2019-05-17 13:46:26 +01:00
Dave Conway-Jones e4f6694223
Fix CSV regex to treat strings starting e as text
rather than part of exponential, add tests
2019-05-08 22:43:41 +01:00
Nick O'Leary b5da6f9c74
Upgrade to jq 3.3.1 / jq-ui 1.12.1
Uses jquery-migrate-3.0.1.min.js to keep things working.
2019-04-29 11:50:15 +01:00
Dave Conway-Jones 28d4084aa0
ensure JSON node handles single booleans and numbers 2019-02-15 17:07:11 +00:00
Nathanaël Lécaudé 6d771da9a9 JSON node: delete msg.schema before sending msg to avoid conflicts 2018-12-10 13:47:55 -05:00
Hiroyasu Nishiyama c1ff241550 add fixes for core nodes 2018-11-30 13:02:15 +00:00
Dave Conway-Jones 1c4df785fd
csv node - better regex for number detection 2018-10-26 09:24:56 +01:00
Nick O'Leary 18b5b4901f
Merge branch 'dev' into repackage 2018-08-31 21:18:23 +01:00
Nick O'Leary ecd8f97d8b
WIP: move all the code 2018-08-04 22:23:06 +01:00