Nick O'Leary
3a0074d96e
Merge branch 'master' into dev
2021-01-27 23:28:19 +00:00
Nick O'Leary
438d51d26e
Allow nested msg properties in msg/flow/global expressions ( #2822 )
...
* Allow nested msg properties in msg/flow/global expressions
* Remove typo in RED.utils
Co-authored-by: Nick O'Leary <knolleary@users.noreply.github.com>
2021-01-27 20:32:52 +00:00
Nick O'Leary
a0f736bb88
Validate user-provided language parameter before passing to i18n
2021-01-25 17:06:27 +00:00
Nick O'Leary
abe77ab96f
Bump for 1.2.7
2021-01-06 11:49:31 +00:00
fellinga
b36e7e172e
add settings to init
2020-12-27 14:44:32 +01:00
fellinga
4943bde3d4
add optional lang select
2020-12-27 12:59:12 +01:00
Nick O'Leary
6fb96fa3c1
Move exec and events components to util module
...
The exec and events components are common components that
are used by both runtime and registry. It makes sense to
move them into the util package.
This also adds some docs to the registry module
2020-12-07 11:49:01 +00:00
Nick O'Leary
5992ed1fab
Fully remove when.js dependency
2020-12-07 11:49:01 +00:00
Nick O'Leary
4bfe9a9ae9
Bump for 1.2.6
2020-11-25 21:09:45 +00:00
Nick O'Leary
c6129b44a1
Merge branch 'master' into dev
2020-11-18 16:36:56 +00:00
Nick O'Leary
8ebcee32c2
Bump for 1.2.5
2020-11-17 23:09:07 +00:00
Nick O'Leary
795416a84d
Bump for 1.2.4
2020-11-17 21:03:24 +00:00
Nick O'Leary
545dda166f
Support bigint types in Debug sidebar
2020-11-17 20:50:29 +00:00
Nick O'Leary
2a8290a4b7
Bump version to 1.3.0-beta.1
2020-11-13 18:23:35 +00:00
Nick O'Leary
281d8b7cec
Bump for 1.2.3
2020-11-02 21:31:27 +00:00
Nick O'Leary
8049e44dec
Update CHANGELOG for 1.2.2
2020-10-19 13:25:38 +01:00
Nick O'Leary
978eb95acd
Bump for 1.2.1
2020-10-15 16:22:37 +01:00
Nick O'Leary
82ad5839fa
Update changelog and bump dependencies
2020-10-13 21:49:11 +01:00
Nick O'Leary
a954c198fb
Bump version for 1.2.0-beta.1
2020-09-30 10:20:41 +01:00
Nick O'Leary
b595e84c30
Update jsdoc of util.getMessageProperty
2020-09-28 14:26:20 +01:00
Nick O'Leary
6e5f115bd5
Improve jsdoc of util.getObjectProperty to clarify thrown error
...
See #2703
2020-09-28 14:23:23 +01:00
Nick O'Leary
b7243c2226
Merge branch 'master' into dev
2020-09-16 11:54:34 +01:00
Nick O'Leary
baffe4861c
Handle undefined value in Debug view of Array and Object
...
Fixes #2696
2020-09-07 21:05:27 +01:00
Nick O'Leary
ec368ae3fd
Bump for 1.1.3
2020-08-05 14:59:25 +01:00
Nick O'Leary
43db1824be
Bump for 1.1.2
2020-07-10 20:13:05 +01:00
Nick O'Leary
8b36279e52
Bump version 1.2.0-alpha.1
2020-07-08 15:57:32 +01:00
Nick O'Leary
6df26f2400
Bump for 1.1.1
2020-07-08 10:30:20 +01:00
Nick O'Leary
668678b2c4
Bump version to 1.1.0
2020-06-29 21:08:34 +01:00
Nick O'Leary
c9e54f2ba9
Bump for 1.1.0-beta.3
2020-06-17 10:54:15 +01:00
Nick O'Leary
714b3d3fe0
Bump version to 1.1.0-beta.2
2020-06-16 15:21:03 +01:00
Nick O'Leary
8995fa9ed1
Update changelog for 1.1.0-beta.1
2020-06-01 14:57:37 +01:00
Nick O'Leary
4b54a81dfd
Add test cases for setMessageProperty with non-object properties
2020-06-01 13:13:14 +01:00
Nick O'Leary
132254b3a5
Merge branch 'dev' into pr_2439
2020-06-01 11:56:19 +01:00
Nick O'Leary
e9104df047
Merge branch 'dev' into pr_2583
2020-06-01 10:20:40 +01:00
dxdc
a6cd0bf7e9
Add moment-timezone dependencies
2020-05-28 06:08:40 -05:00
dxdc
fdda29f048
Support for moment-timezone
2020-05-28 01:20:10 -05:00
dxdc
effff3405b
Add support for moment in jsonata expressions, based on elasticio/jsonata-moment
2020-05-27 23:26:57 -05:00
Nick O'Leary
d7df20413d
Merge branch 'master' into dev
2020-05-04 11:41:44 +01:00
Nick O'Leary
feb5d13e1c
Bump for 1.0.6
2020-04-24 13:55:34 +01:00
Nick O'Leary
a3b0448f53
Handle clone of null in utils
...
Fixes #2536
2020-04-24 13:54:49 +01:00
Nick O'Leary
0f2ed14d16
Update to JSONata 1.8.3
2020-04-24 13:54:49 +01:00
Dave Conway-Jones
3f1bb6771a
Dont try and clone properties of a null object
2020-04-21 11:14:11 +01:00
Nick O'Leary
b82167fefa
Bump for 1.0.5
2020-04-09 14:15:46 +01:00
Nick O'Leary
f572c11912
Bump dependencies
2020-04-08 17:43:32 +01:00
Nick O'Leary
aafa4fe0b9
Bump dev branch to 1.1.0
2020-04-06 20:29:22 +01:00
Nick O'Leary
e0f3e94e2b
Merge branch 'dev' into master
2020-04-01 20:22:25 +01:00
Nick O'Leary
1018c0e8a5
Handle false values in $env() properly
...
Fixes 2517
2020-03-27 09:05:58 +00:00
tilleul
b78ef006ec
Support for context stores using JSONata and evaluateNodeProperty()
...
The function prepareJSONataExpression() does not take context store into account.
This causes problems when using typedInput fields and getting the value of a property based on its type using evaluateNodeProperty().
2020-03-09 11:22:20 +01:00
Nick O'Leary
32aa4c41ce
Bump for 1.0.4
2020-02-27 14:37:25 +00:00
Nick O'Leary
04d3981921
Bump to jsonata 1.8.1
2020-02-24 11:42:56 +00:00
Nick O'Leary
0f1ca1c7cf
cloneMessage should handle undefined without throwing err
...
Fixes #2399
2020-02-06 10:05:32 +00:00
Nick O'Leary
3d9945b60c
Update to JSONata 1.8
2020-02-05 14:44:39 +00:00
Dave Conway-Jones
d5d9ac5c76
let setMessageProperty return success flag
...
so calling node can warn if operation tries to overwrite primitive type
2020-01-26 18:20:25 +00:00
Amo DelBello
d017dd75cd
Remove 'clone' from util
2019-11-29 20:15:56 -07:00
Amo DelBello
021df83c3f
Replace 'clone' with 'lodash.clonedeep'
2019-11-29 18:50:30 -07:00
Nick O'Leary
64580237d5
Remove rogue debug
2019-11-21 11:08:15 +00:00
Nick O'Leary
3088115aba
Avoid unnecessary i18n catalog load if base lng provided
2019-11-21 10:42:40 +00:00
Nick O'Leary
fc93e502b8
Merge pull request #2376 from tt92/master
...
I18n - language fallback behaviour
2019-11-21 10:38:21 +00:00
tot92
683c6a748e
switched loading order
2019-11-18 20:45:48 +01:00
Nick O'Leary
1f5ff0c6d3
Merge pull request #2366 from btsimonh/fix-encodeObjecterror
...
Catches bad objects being encoded, returning instead the error.
2019-11-13 09:33:20 +00:00
tot92
4d6828ec14
typo
2019-11-09 22:09:02 +01:00
tot92
dae1d6057e
fixed i18n language fallback behaviour
2019-11-09 22:07:06 +01:00
Simon Hailes
63cc9adeaa
small update to log - if toString() causes exception, then note and use util.inspect instead - prevents log from causing processes to abort through exception.
...
Add tests.
2019-11-02 12:38:40 +00:00
Simon Hailes
74d760a46d
add util.inspect data to 'type not printable'. Add test to cover these lines (no existing test).
2019-11-02 12:37:07 +00:00
Simon Hailes
eb09ec6834
add utils.inspect result and be more explicit about the error.
2019-11-02 10:39:22 +00:00
Simon Hailes
bc283aa025
Catches bad objects being encoded, returning instead the error.
...
Symptom- Observed that global context would not display in front end, the call returning 400.
Traced to an object in global which cause encodeObject to except.
This push catches that, and now global will display, but the object in question display as an error.
2019-11-01 11:38:26 +00:00
Nick O'Leary
2cd5e1d3c5
Bump for 1.0.3
2019-10-27 21:22:20 +00:00
Phi Dong
c590247afa
Update node-red/util JSONata to 1.7.0
2019-10-19 14:33:13 -07:00
Nick O'Leary
07fe5b247b
Bump for 1.0.2
2019-10-14 13:17:48 +01:00
Arlena Derksen
ca7a298509
Fixed docstrings to have them match the function signature (name of parameters).
2019-10-10 14:57:19 +02:00
Nick O'Leary
f75dd2209d
Bump for 1.0.1
2019-10-04 11:13:46 +01:00
Nick O'Leary
4d5f771f9f
Bump for 1.0
2019-09-30 11:02:22 +01:00
Nick O'Leary
34cdbfc852
Bump for 1.0.0-beta.4
2019-09-16 15:27:06 +01:00
Nick O'Leary
28bda9fa41
Bump for 1.0.0-beta.3
2019-08-22 11:09:55 +01:00
Nick O'Leary
be2dd6dc32
Add req back to audit log events and extend to Projects api
2019-08-09 16:56:11 +01:00
Nick O'Leary
944f3bd329
Merge branch 'master' into dev
2019-07-07 21:48:13 +01:00
Nick O'Leary
aab0b0b4bf
Bump for 0.20.7
2019-07-05 11:12:26 +01:00
Nathanaël Lécaudé
c2167a2c5f
Add jsonata bump in util
2019-07-04 18:08:44 -04:00
Nick O'Leary
b73f12cdba
Bump for 0.20.6
2019-06-21 13:25:39 +01:00
Nick O'Leary
16db9d4290
Bump for 1.0.0-beta.2
2019-05-24 11:36:57 +01:00
Nick O'Leary
359c0354f6
Set package version to 1.0.0-beta.1
2019-05-21 23:32:42 +01:00
Nick O'Leary
fc77c089fa
Bump dependencies
2019-05-21 23:31:21 +01:00
Nick O'Leary
7ec999475e
Merge branch 'master' into dev
2019-04-29 08:45:07 +01:00
Nick O'Leary
742bf85a89
Bump all dependencies
...
Fixes #2152
2019-04-29 08:42:37 +01:00
Nick O'Leary
493687b5bb
Allow editor language to be chosen in editor settings
...
This gets stored in localStorage of the browser which is not
ideal. This is because we load language catalogs before we
load user preferences - so if this was stored in the runtime,
the editor wouldn't know the user's preference until it was
too late to apply it.
This is likely good enough for now - may need to do something
more convoluted later on.
2019-04-25 15:23:08 +01:00
Nick O'Leary
ed2a45e975
Bump for 0.20.5
2019-04-05 13:46:25 +01:00
Nick O'Leary
fe63ab1242
Bump packages to 0.20.4
2019-04-05 10:21:11 +01:00
Nick O'Leary
3662fbb462
Merge branch 'master' into dev
2019-04-03 11:33:57 +01:00
Nick O'Leary
fab632da62
Bump for 0.20.4
2019-04-03 10:11:36 +01:00
Nick O'Leary
1795c491a8
Merge branch 'master' into dev
2019-03-28 16:59:04 +00:00
Nick O'Leary
ea333c19f7
Update package dependencies
2019-03-28 14:46:16 +00:00
Nick O'Leary
5a9fcd9267
Bump dev branch to 0.21.0-alpha.0
2019-03-26 15:51:17 +00:00
Nick O'Leary
b45ddadb09
Bump for 0.20.3
2019-03-20 15:24:23 +00:00
Nick O'Leary
161ee17f45
Bump for 0.20.2
2019-03-15 19:03:30 +00:00
Nick O'Leary
bdf68311b4
Bump for 0.20.1
2019-03-15 11:22:01 +00:00
Nick O'Leary
58914e5c5f
Bump package to 0.20.0
2019-03-12 14:53:12 +00:00
Nick O'Leary
236d437430
Add api docs landing content
2019-02-28 22:21:22 +00:00
Nick O'Leary
fb0f12bb20
Bump to 0.20.0-beta.5
2019-02-08 10:41:22 +00:00
Nick O'Leary
8c00e1fdf4
Bump dependencies
2019-02-08 10:35:06 +00:00
Nick O'Leary
5110eaff96
Merge branch 'dev' into pr_2042
2019-02-04 14:39:00 +00:00