Commit Graph

783 Commits

Author SHA1 Message Date
Antoine Aflalo 6a7b3cf62c REST API for Credentials
Adding RED.nodes.registerCredentials to register the credentials definition server sided.
Adding the property credentials in the template definition client-side.

Connecting the editor to the credential API.
I added a TODO for the validation of Credentials field.
As the other field, the developer should be able to set the credentials as required and also give a validation function.
2014-05-09 13:47:21 +03:00
Dave Conway-Jones 848e5a9824 Merge pull request #225 from Belphemur/node-irc
Adding a listener to "names" and improve documentation of IRC Node
2014-05-09 10:54:13 +01:00
Antoine Aflalo 0ea2c92d23 Adding a listener to "names" and improve documentation
Being able to get the list of connected user when join the channel can be interesting, that why I added the listener.
I improved the documentation by adding all the possible status and their description.
2014-05-09 11:48:41 +03:00
Nick O'Leary 034f17a8e8 Touch ui - deselect nodes when touch on canvas 2014-05-08 23:00:11 +01:00
Nick O'Leary da3fbd3b62 Initialise Node earlier in registry life-cycle 2014-05-08 22:58:30 +01:00
Nick O'Leary 9524ef726a Change status icon look 2014-05-08 22:56:17 +01:00
Nick O'Leary e061b2559c Remove touch-undo 2014-05-08 21:54:20 +01:00
Nick O'Leary 1d2fcc6fa1 Disable native pinch zoom of page 2014-05-08 21:50:19 +01:00
Nick O'Leary 17ad6f94dd Touch enable jQuery UI components 2014-05-08 21:47:58 +01:00
Nick O'Leary c99f0d895f Add comms back to RED interface 2014-05-08 16:55:08 +01:00
Nick O'Leary 7ecb80bf40 Add node status updates 2014-05-08 14:15:54 +01:00
Nick O'Leary 8e7fc011f0 File In node loses message properties 2014-05-08 11:13:35 +01:00
Nick O'Leary ba126e90d9 TypeError on debug node
Fixes #223
2014-05-08 11:12:13 +01:00
Nick O'Leary 16f8673ec0 Add comms module 2014-05-07 20:47:25 +01:00
Nick O'Leary e6794a0c75 Twitter: add rate limit warning 2014-05-07 20:45:59 +01:00
Nick O'Leary 3c176d0b94 Handle parse errors in template file 2014-05-07 20:45:26 +01:00
Nick O'Leary 7b0a1b2463 Fix flow backup for first run, add tests 2014-05-07 00:33:50 +01:00
Nick O'Leary 0d6525623d Refactor editor.js to reduce duplication of editor setup
Part of #93

This reduces the duplication in code that creates the both the normal-
and the config-node dialogs.

It also identifies the key points that credentials handling should
be introduced.
2014-05-06 23:44:35 +01:00
Dave C-J fb0cae0935 Reduce GPIO setup on Pi node to try to make it play nice with other peripherals 2014-05-06 20:58:36 +01:00
Dave C-J d1318d215c change preferred name of backup file to flows.backup
(even if it is the previous version :-)
relates to Issue #184
2014-05-06 16:02:18 +01:00
Dave C-J 67d1e2acd8 Create a copy of the previous flow file (flow.previous) before each deploy
closes #184
In case of emergency you can now find the previous flow file before you hit 
deploy in a file called flow.previous . As indicated it is the flow that was 
running prior to you hitting deploy...
2014-05-06 15:22:58 +01:00
Nick O'Leary 44e8aeaae4 Remove console.log in credentials 2014-05-06 14:25:53 +01:00
Nick O'Leary 4b160dc3a9 Function error not recognised as TypeError 2014-05-06 13:49:22 +01:00
Nick O'Leary 5e5d3d3000 Log.addHandler missing its implementation 2014-05-06 13:06:06 +01:00
Dave C-J e47839b7e7 Tweaks to shorten Serialport html names.
and remove redundant code.
2014-05-06 11:12:56 +01:00
Nick O'Leary d982d02810 Prevent accidental edit of nodes
Part of #217
2014-05-06 10:14:18 +01:00
Nick O'Leary baaf8167d3 Delay node dropping intermediate messages incorrectly 2014-05-06 10:07:57 +01:00
Nick O'Leary 7c5baac192 Don't show edit dialog for dblclick-drag
Closes #217
2014-05-05 23:28:24 +01:00
Nick O'Leary 14e882f250 Remove rogue console.log 2014-05-05 21:44:04 +01:00
Nick O'Leary b64b1f2956 Serial port select combo-box 2014-05-05 21:42:01 +01:00
Dave C-J 671723374d Allow serial port to be manual entry or pick from list. 2014-05-05 11:39:59 +01:00
Dave C-J b806854867 Revert serial port config to a text box - while we look at how best to
provide a list - but allow free input. (for Pi that doesn't enumerate tyAMA0)
2014-05-05 09:02:01 +01:00
Dave C-J bc1fb3b404 Tiny formatting tidy ups. 2014-05-05 09:02:01 +01:00
Nick O'Leary 7674492819 Fix node loading order 2014-05-05 00:10:50 +01:00
Nick O'Leary da8ef7acc6 Minify node .html files before sending 2014-05-04 17:30:55 +01:00
Nick O'Leary ff49d2b217 Migrate to new node function style 2014-05-03 23:32:04 +01:00
Nick O'Leary 5afc5857c4 Fix localfilesystem_spec 2014-05-03 22:38:33 +01:00
Nick O'Leary 7eed375111 Split up nodes.js into components 2014-05-03 22:28:17 +01:00
Dave C-J df9744084c Tweaks to email error rmessages 2014-05-02 15:16:11 +01:00
Dave C-J 1309b9a72d Add new/updated Email node including credentials per node.
Deprecating old IMAP node as now part of this general Email node
2014-05-02 14:37:41 +01:00
Dave C-J a9e07f8b78 Updated credentials storage so there is a .._cred.... file per flow.
Allows swapping flows more easily without having to re-enter credentials.
Thus also added *_cred* to .gitignore
2014-05-02 14:35:51 +01:00
Nick O'Leary 84093bcb6e Make node loading more asynchronouse 2014-05-02 11:16:07 +01:00
Nick O'Leary 4dda4aeef2 Remove sentiment tip to be consistent 2014-05-01 23:12:19 +01:00
Nick O'Leary d0b6fd078c Add File In node 2014-04-30 22:48:30 +01:00
Nick O'Leary 1df963e0ed Generate content-length on HTTP Request node 2014-04-30 22:05:27 +01:00
Dave C-J e49eb3c685 Tweak layout of serial port config (Thanks Frank) 2014-04-30 14:09:08 +01:00
Dave Conway-Jones f60430305e Merge pull request #207 from fvdpol/master
Add configuration of serial protocol settings (25-serial node)
2014-04-30 13:53:36 +01:00
Dave C-J 0b49b2cdda Add parser function nodes for XML, JSON and CSV.
Each is dual function - pass in (for example) and get out a js object, pass in a js object and get back out the xml string.
The CSV node must be configured with a column template that specifys the required property names for that column (csv->js), or the properties of the object that should be made into the csv (js->csv)
2014-04-29 17:01:30 +01:00
Dave C-J f2e9b43866 Functional Fix for Inject node
addresses Issue #209
Interval is now wholly timeout based.
Now works on Sundays
2014-04-29 16:20:45 +01:00
Nick O'Leary 02eb1d9a64 Import unknown config node breaks layout
Fixes #211
2014-04-28 21:40:32 +01:00