Commit Graph

2701 Commits

Author SHA1 Message Date
Nick O'Leary b6510d66e0
Update debug node to register the settings it uses 2017-04-22 09:03:52 +01:00
Nick O'Leary 4ea33ea482
Pass a 'removed' parameter to node close handler 2017-04-21 23:36:21 +01:00
Nick O'Leary e13d410b4a
Update tests for oauth -> strategy rename 2017-04-21 22:06:12 +01:00
Nick O'Leary 72da7e6c54
Rename oauth auth scheme to strategy as it works for openid 2017-04-21 21:54:48 +01:00
Nick O'Leary fb05960d79
Allow oauth schemes provide a custom verify function 2017-04-21 21:17:18 +01:00
Nick O'Leary 7bd0943412
Provide single endpoint to load all node message catalogs
Replaces potentially dozens of http requests with one or two.
2017-04-21 11:49:35 +01:00
Nick O'Leary bb2649d063
Ensure ace editor instances are freed if edit cancelled 2017-04-21 09:05:03 +01:00
Nick O'Leary d743bdbf5a
Clip overly long notification messages 2017-04-21 09:05:03 +01:00
Nick O'Leary 61890f19bc
Use queryCommandSupported not queryCommandEnabled to check for copy support 2017-04-21 09:05:03 +01:00
Kazuki-Nakanishi adcb2f1aa8 Fix exec node error tests on Windows (#1234) 2017-04-19 22:09:53 +01:00
Dave Conway-Jones 2ac9c11ec9
Add tip to tab description editor
(and remove icons)
2017-04-16 21:08:32 +01:00
Dave Conway-Jones 1c470ab9e3
Make tab info edit box resizable 2017-04-16 20:25:15 +01:00
Dave Conway-Jones 08b8a8e3af
update messages for updated exec node 2017-04-16 20:24:38 +01:00
Dave Conway-Jones 11ee1a7dcb
fix exec node error test 2017-04-13 11:48:33 +01:00
Dave Conway-Jones a281b8c74e
Make exec node spawn and exec outputs more consistent
(with an option to revert if necessary)
and new info docs
2017-04-13 11:36:54 +01:00
Nick O'Leary 5cb37148c6
Add editorTheme.logout.redirect to allow redirect on logout
Closes #1213
2017-04-12 21:41:16 +01:00
Kazuki-Nakanishi 05878d3176 Fix the test cases which sometimes fails due to timing. (#1228) 2017-04-12 20:54:31 +01:00
Nick O'Leary c54cf26848
Add support for oauth adminAuth configs 2017-04-12 10:09:03 +01:00
Nick O'Leary bfb548636e
Merge branch 'master' into 0.17 2017-04-11 14:53:44 +01:00
Nick O'Leary 36e1b2ba08
Don't process subscription for unauthenticated comms link
Fixes #851
2017-04-11 14:48:19 +01:00
Nick O'Leary 301ac279ff
Handle IncomingMessage/ServerResponse object types in debug
Fixes #1202
2017-04-10 21:59:59 +01:00
Nick O'Leary 08d21ccba7
Clone credentials when passing to node
Fixes #1198
2017-04-10 21:45:04 +01:00
Nick O'Leary 62876ca377
Toggling debug node enabled/disabled state should set state dirty
Fixes #1203
2017-04-10 16:11:01 +01:00
Kazuki-Nakanishi 10f94148af Exec node for windows environment (#1200)
* Modify exec node to run on Windows.

* Remove unnecessary modification.
2017-04-10 16:06:19 +01:00
Nick O'Leary 31502c2ebc
remove allow_failures flag from node 7.x 2017-04-10 15:51:24 +01:00
David 62b29ecb65 Make theme able to load custom javascript (#1211)
* Make theme able to load custom javascript
- Look for the field 'customScript' in editorTheme (settings.js)
- Add it to mustach context
- Load list on template side (index.mst)

* Add unit tests for customScripts

* Code review edits : generic behavior for theme.page.[css|scripts]
- Use the same way to share css and javascript files from a theme
- Allow string instead of array for theme.page.scripts
- Remove old customScript field
2017-04-10 15:46:44 +01:00
Nick O'Leary 67337e013a
Merge branch 'master' into 0.17 2017-04-10 15:45:21 +01:00
Andrey Bezugliy f987fa13ea Resolve dir argument of getLocalNodeFiles function (#1216)
* Resolve dir argument of getLocalNodeFiles function

The getLocalNodeFiles is called 3 times.  Each time it called, the callee needs to resolve the dir argument.
That was not done for several of calls, and local modules (specified in the "nodesDir" setting) were not returned to client because of that.

This fix will allow to make sure the dir is consistently resolved.

* Several changes in "localfilesystem_spec.js":
- Changed checkNodes to verify that every node's file property is resolved, i.e. containst absolute path, not relative.
- Added a unit-test "Finds nodes in settings.nodesDir (string,relative path)"
2017-04-10 15:41:20 +01:00
Nick O'Leary 73dfe631ce
Add .trace and .debug to Node prototype 2017-04-10 15:32:40 +01:00
Nick O'Leary 83ca8147ca
Merge branch 'pr_1197' into 0.17 2017-04-10 15:25:19 +01:00
Nick O'Leary 1c11e7f97b
Shrink config node appearance in info table 2017-04-10 14:33:21 +01:00
Nick O'Leary aefae79186
Display config nodes in Info sidebar table 2017-04-10 11:29:52 +01:00
Nick O'Leary 4b05a9bb6f
Ensure flow info box updates after editing flow 2017-04-10 00:00:10 +01:00
Nick O'Leary 2453719a87
Make H3 sections in node help collapsible 2017-04-07 13:30:12 +01:00
Nick O'Leary ea929b00e3
Hide Node info section when displaying changelog 2017-04-07 12:36:06 +01:00
Nick O'Leary ede940a398
Allow tips to be hidden and cycled through 2017-04-07 12:24:39 +01:00
Nick O'Leary 67da853146
Add info tips back to the sidebar 2017-04-07 11:21:30 +01:00
Nick O'Leary 624befd704
Restructure info tab 2017-04-06 23:17:30 +01:00
Dave Conway-Jones 203539841d
allow shadowing in .jshintrc (mainly to test signing commits) 2017-04-06 11:12:11 +01:00
Nick O'Leary 262db23f7d
First pass of new node-info style 2017-04-05 16:19:23 +01:00
Dave Conway-Jones 28ea22f0e1 MQTT new style info 2017-03-29 21:45:28 +01:00
Dave Conway-Jones 3f349c3531 remove requirement for cmd in exec node config + new style info 2017-03-29 21:44:58 +01:00
Dave Conway-Jones 9928e8562a let inject "between time" also fire at start - Plus new info 2017-03-24 14:01:26 +00:00
Dave Conway-Jones b1e3fc5761 remove repeat symbol from inject if repeat is 0 2017-03-23 22:04:53 +00:00
Nam Giang b2390f1caf adding frequency configuration to pwm output (#1206) 2017-03-23 21:02:22 +00:00
Nick O'Leary b9379f2ddf
Provide notification when new flows deployed in the background 2017-03-17 21:29:03 +00:00
Kazuki-Nakanishi 38a950a6dc Add description to flow same as subflow 2017-03-17 01:29:19 +09:00
Nick O'Leary fb24dca019
Add JSON Expression editor 2017-03-12 23:52:31 +00:00
Nick O'Leary 07d131c945
Update jsonata 2017-03-12 22:04:38 +00:00
Dave Conway-Jones 0c1c710afe
make sure MQTT client closes if redeploy during reconnect
to close #1193
Thanks @tedhuang for the excellent problem determination
2017-03-12 22:04:38 +00:00