tilleul
19e45389e1
Updated regex so custom width using calc() work ( #1487 )
...
So far, for typedInput "<input type=text>" fields, only custom styles like "width:100%" or "width:75px" worked. Proposed change allows to use calc() as well like in "width:calc(100% - 120px)"
2017-11-30 13:38:03 +00:00
Jim Turner
6baedf909d
Fix #1478 - Project files are not being flushed to disk after being written ( #1479 )
...
* Call fsync() before closing file
* Fix race condition in tests due to incorrect stub.
The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().
In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.
* Test coverage for fsync() calls
For issue #1478
* Revert "Fix race condition in tests due to incorrect stub."
This reverts commit 4f71d7851b
.
* Fix race condition in tests due to incorrect stub.
The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().
In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.
* Fix intermittent test failure in Exec node.
Occasionally, the error text on stderr will come in more than one piece. The test only worked correctly if a single message was received.
2017-11-17 17:29:33 +00:00
Dave Conway-Jones
f39d9d6f1b
clone messages before delayed send ( #1474 )
...
and accept floats for delay interval.
2017-11-17 17:27:29 +00:00
Kazuhito Yokoi
ab61a95f83
Add test cases for change node ( #1476 )
2017-11-17 17:26:36 +00:00
Dave Conway-Jones
2b9aa94f3a
Add rc property to exec node outputs 1 and 2 ( #1401 )
...
* Add rc property to exec node outputs 1 and 2
to close #1399
* improve test coverage and add tests for new msg.rc
* make spawn test slightly more robust to different environments
* added debug for spawn test
* let spawn error test be even more relaxed
* don't necessarily clone msg.payload in exec node stderr
as per suggestion
2017-11-02 16:55:44 +00:00
Kazuki Nakanishi
848fb975ed
Fix a problem of file append test on Windows ( #1431 )
...
* Fix a problem of file append test on Windows
* Skip the test case of file node that fails on Windows
* Remove close() call
* Fixed a recreated file test case on Windows
2017-11-02 16:51:40 +00:00
Hiroki Uchikawa
d7f59dac84
Make it possible to save formatting choices separately by the type of object ( #1458 )
2017-11-02 16:50:35 +00:00
Dave Conway-Jones
dd47e615ee
Fix css template with spaces , and add test ( #1462 )
...
to close #1460
2017-11-02 16:50:13 +00:00
Hiroyasu Nishiyama
8f2f7ea1a5
Add test script for link node ( #1463 )
...
* fixed unmatched HTML tags
* add test for link node & red.js fix for it
2017-11-02 16:47:12 +00:00
Hiroyasu Nishiyama
80a8efd8ce
Add test script for "tcp in" node ( #1465 )
...
* fixed unmatched HTML tags
* add test for "tcp in" node
2017-11-02 16:47:01 +00:00
Hiroyasu Nishiyama
d9dce77ef4
add test script for "udp in" node ( #1466 )
...
* add test script for "udp in" node
* use old socket.send API for Node4.X compatibility
2017-11-02 16:46:51 +00:00
Hiroyasu Nishiyama
ce7053a1fe
add test script for "udp out" node ( #1467 )
2017-11-02 16:46:38 +00:00
Hiroyasu Nishiyama
0db1530171
add test script for "tcp request" node ( #1468 )
...
* add test script for "http request" node
* change let -> var
2017-11-02 16:46:26 +00:00
Kazuhito Yokoi
f57a0d4d6b
Remove unused variables in test cases of change node ( #1455 )
...
* Remove unused variables in test cases of change node
* Empty commit to run test cases again
* Empty commit to run test cases again
2017-10-25 12:23:28 +02:00
Hiroki Uchikawa
22772ca33e
Fix debug message format for Buffer ( #1444 )
...
and add a test case
2017-10-23 12:13:28 +02:00
jmikerq
dba6ff1d51
added chinese messages.json locale file ( #1452 )
...
* modified the wording in the chinese editor.json
change the wording closer to their meanings in chinese
* added chinese messages.json
2017-10-23 11:55:26 +02:00
Qi Xiu
40146dedaf
Add Chinese version of infotips.json ( #1449 )
2017-10-23 11:55:08 +02:00
jmikerq
387b822f53
clean up naming for chinese software naming convention ( #1453 )
2017-10-23 11:54:49 +02:00
Kazuhito Yokoi
298e37ec53
Fix problem in node pull-down menu ( #1448 )
2017-10-19 13:52:25 +01:00
Kazuhito Yokoi
5b137c457b
Fix invalid from property error in change node ( #1442 )
...
* Fix invalid from property error in change node
* Empty commit to run test cases again
2017-10-17 22:17:27 +01:00
Kazuhito Yokoi
611e598756
Add test cases for function node ( #1402 )
...
* Add test cases for function node
* Remove test case for keys() in global context
2017-10-12 20:47:52 +01:00
Hiroki Uchikawa
937d79d28f
Add test cases for debug node ( #1438 )
2017-10-12 20:47:13 +01:00
Hiroyasu Nishiyama
23c2a771d3
fixed unmatched HTML tags ( #1437 )
2017-10-11 13:31:37 +01:00
Dave Conway-Jones
58a890e836
completely remove unnecessary callback
...
to Fix #1436
2017-10-11 08:52:28 +01:00
Dave Conway-Jones
6a869e120c
speed up debug window - only process required number of messages ( #1378 )
...
* speed up debug window - only process required number of messages
* tiny optimisation to debug utils stack handler
* remove unnecessary callback
(and rename function)
2017-10-10 21:53:25 +01:00
Dave Conway-Jones
ae7c298b1a
let default apply if msg.delay not set in override mode. ( #1397 )
...
* let default apply if msg.delay not set in override mode.
* Update tests to match
* allow msg.delay to be 0 if wanted
and test for that
2017-10-10 21:40:09 +01:00
Hiroki Uchikawa
53bfe12ac1
Add test cases for switch node ( #1426 )
2017-10-10 21:37:34 +01:00
Henri Bouvier
140ea683a6
[fix] github oauth strategy when Root is not / ( #1430 )
2017-10-10 21:24:44 +01:00
Kazuhito Yokoi
0634a97598
Fix global.keys() bug in function node ( #1417 )
...
* Fix global.keys() bug in function node
* Filter set(), get() and keys() in global.keys() method
2017-10-10 21:13:38 +01:00
Kazuhito Yokoi
3479c794de
Modify JSONata Expression editor to refer to language files ( #1433 )
2017-10-10 20:21:41 +01:00
Kazuhito Yokoi
89cad116f7
Update translation file for JSONata (jsonata.json) ( #1432 )
2017-10-10 20:21:19 +01:00
Nick O'Leary
9134d8841d
Update ISSUE_TEMPLATE.md
2017-10-08 14:04:35 +01:00
Nick O'Leary
e9a026c131
Add issue/pr templates
2017-10-08 14:02:05 +01:00
Hiroki Uchikawa
cb4f46decc
Fix circular reference in join node ( #1412 )
...
and add a test case
2017-09-28 19:09:54 +01:00
Hiroki Uchikawa
81256279a8
Fix wrong argument in change node ( #1415 )
...
and add test cases
2017-09-28 10:06:31 +01:00
Dave Conway-Jones
039bd1ddc0
Auto hide empty palette categories ( #1395 )
...
to close #1382
2017-09-27 17:05:18 +01:00
Dave Conway-Jones
0791d4797f
Update ACE to test and add python highlighter ( #1373 )
2017-09-27 17:04:01 +01:00
Kazuhito Yokoi
ef53dca062
Handle escape characters in template node which uses Mustache format and JSON output mode ( #1377 )
...
* Handle escape characters in template node which uses Mustache format and JSON output mode
* Handle escape characters in template node which uses Mustache format and JSON output mode
2017-09-21 13:38:45 +01:00
Richlv
6ce761edda
Update settings.js ( #1404 )
...
fix typo in a comment
2017-09-21 13:37:34 +01:00
Kazuki Nakanishi
a42e99c4aa
Fix the appearance of 'is between' rule on switch node property ( #1383 )
2017-09-17 08:46:47 +01:00
HirokiUchikawa
ff40b521b7
Fix problem with multi-byte character ( #1391 )
2017-09-17 08:46:14 +01:00
Nick O'Leary
85392496e7
Allow setTimeout in Function node to be promisified in node 8
2017-09-12 15:13:13 +01:00
Jeston Tigchon
29cae9975e
Upgrade JSONata to v1.3.0 ( #1386 )
2017-09-07 21:58:29 +01:00
Kosuke Akizuki
170d6b28f8
Change font family ( #1357 )
...
thanks @k4zzk
2017-08-24 12:14:55 +01:00
Dave Conway-Jones
a844ca161f
Spinner fixes ( #1371 )
...
* Fix for function node invalid spinner values
to close #1370
* better validation of spinners for inject and delay
(don’t allow negative numbers)
* remove need for declaring local min variable
2017-08-21 22:00:23 +01:00
btsimonh
e09efba313
mqtt: Add 'name' to mqtt-broker node, and label it by this if it is set. ( #1364 )
...
This allows you to easily distinguish between broker nodes which are talking to the same server but with different credentials.
2017-08-09 22:22:40 +01:00
Nick O'Leary
96a0dbea2d
Don't include subflow meta-port nodes in exported selection
...
Fixes #1362
2017-08-08 15:48:54 +01:00
Nick O'Leary
5b3b5271ad
Remove test diff code
2017-08-07 16:38:15 +01:00
Kazuhito Yokoi
d7d13c12fe
Modify messages to refer to language files ( #1361 )
2017-08-07 10:00:28 +01:00
Nick O'Leary
54220d0e71
Ensure shade elements have a higher z-index than ui elements
2017-08-04 22:20:58 +01:00