Commit Graph

516 Commits

Author SHA1 Message Date
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
Nick O'Leary b2f4bc915e Bump 0.7.2 2014-04-26 22:43:29 +01:00
Nick O'Leary 13deef189d Add ws heartbeat to keep connection alive through firewall 2014-04-24 23:42:44 +01:00
Nick O'Leary b5a8a7288b Tidy up ajax usage 2014-04-21 22:42:46 +01:00
Frank van de Pol c62a42169f Typo 2014-04-21 23:42:07 +02:00
Frank van de Pol 9d1bb39018 Add configuration of serial protocol settings
- Add support for configuration of protocol parameters (data bits,
party, stop bits)
- Set serial device/port using select list (discovered ports)
- Provide default settings for existing flows that do not yet have
serial protocol settings
2014-04-21 23:35:28 +02:00
Nick O'Leary b6fd103b37 /nodes end-point should be text/html not json 2014-04-21 22:17:52 +01:00
Nick O'Leary 6a17a7d4c2 Add version information to log output 2014-04-21 21:55:28 +01:00
Nick O'Leary c39f4f9738 Handle port-in-use error on start-up 2014-04-21 21:42:59 +01:00
Nick O'Leary c20128b80f MQTT Client - missing null check 2014-04-21 21:14:03 +01:00
Nick O'Leary 0b7fa1ab5c Fix MQTT client reconnect logic 2014-04-21 20:40:56 +01:00
Nick O'Leary 775297d625 Fix library ui 2014-04-20 23:07:54 +01:00
Nick O'Leary d00624f9e3 Tidy up REST interface
- Ensure application/json where appropriate
 - Use jquery api rather than d3
2014-04-20 22:35:38 +01:00
Nick O'Leary d702caa5be Bump 0.7.1 2014-04-20 20:52:16 +01:00
Nick O'Leary 729036ec0b Fix HTTTP Request url template 2014-04-20 20:50:20 +01:00
Nick O'Leary eee8f89146 Clear MQTT Connection watchdog on error 2014-04-19 22:19:06 +01:00
Nick O'Leary 4ae5f34d2e Make Template node help clearer 2014-04-18 15:33:29 +01:00