Mark Hindess
195f581da7
Remove redundant assignment.
...
The publish immediately overwrites this time so there isn't much
point setting it.
2014-07-30 14:33:31 +01:00
Mark Hindess
8e30910065
Add webSocketKeepAliveTime setting to aid testing.
2014-07-30 14:33:31 +01:00
hbeeken
796810f460
Test to ensure credential definition is defined after index.registerType
2014-07-29 14:58:49 +01:00
Nick O'Leary
e07a523c3b
Fix node html compression and refactor registry
2014-07-28 16:37:39 +01:00
Nick O'Leary
76a6730ef4
Merge pull request #289 from zobalogh/storage-interface-dev
...
Defining storage interface
2014-07-25 15:00:40 +01:00
Nick O'Leary
0c8b54253a
Merge pull request #300 from zobalogh/ui-caller-delivery
...
Removing accidental requires
2014-07-25 15:00:22 +01:00
zobalogh
1f09c29aeb
Removing accidental requires
2014-07-25 14:50:54 +01:00
zobalogh
d58788f721
Defining storage interface.
2014-07-25 14:44:15 +01:00
Nick O'Leary
e299baf1a0
Refactor inner workings of registry.js
2014-07-24 23:16:41 +01:00
Nick O'Leary
af1bcf33c1
Merge pull request #297 from zobalogh/ui-caller-delivery
...
Adding UI unit tests
2014-07-24 16:26:45 +01:00
Nick O'Leary
7abda9bc52
Merge pull request #298 from hindessm/test-comms
...
Add comms tests
2014-07-24 15:29:06 +01:00
Mark Hindess
8506fd0c4b
Do not crash on malformed json message on websocket.
2014-07-24 14:46:04 +01:00
zobalogh
6c093eef99
Fixing settings usage in UI
2014-07-24 14:35:01 +01:00
Nick O'Leary
166a798c09
Merge pull request #293 from hindessm/remove-some-unused-variables
...
Remove some unused variables.
2014-07-24 12:35:54 +01:00
Mark Hindess
e96fff573d
Remove some unused variables.
2014-07-23 23:04:08 +01:00
Mark Hindess
f331d906b4
Fail with error rather than silently on storage init problems.
2014-07-23 22:54:16 +01:00
Mark Hindess
406581d522
Remove unused references to red/red.js
2014-07-23 20:02:28 +01:00
Mark Hindess
d51eadb6c2
Remove spurious require of the events singleton.
2014-07-22 12:43:02 +01:00
Nick O'Leary
d1300c0632
Remove unnecessary semi-colon
2014-07-21 16:18:22 +01:00
Nick O'Leary
014fca2d61
Add some function-level docs
2014-07-21 16:07:28 +01:00
Nick O'Leary
fea6280bff
Tidy up runtime credentials
2014-07-21 15:56:38 +01:00
Mark Hindess
63ebee22dd
Add missing require.
2014-07-21 13:29:54 +01:00
Nick O'Leary
4302deb5a6
Change credential boolean prefix
2014-07-20 20:42:41 +01:00
Nick O'Leary
b604db83f6
Tweak the credential handling
...
- use node.credentials rather than node._creds for consistency with the runtime
- simplify the structure of node.credentials
2014-07-19 00:25:22 +01:00
Nick O'Leary
aa35484a30
Prepopulate node credentials if present
2014-07-18 14:23:32 +01:00
Nick O'Leary
a6a0352b70
Add credential registration to RED.nodes.registerType
2014-07-18 14:20:49 +01:00
Nick O'Leary
84a0e8ceff
Add version information to /settings
2014-07-17 21:32:30 +01:00
Antoine Aflalo
4d97d9d300
Rewrite credentials API to work with save on deploy.
2014-07-16 11:25:40 +03:00
Nick O'Leary
cfd590a397
Merge pull request #267 from hindessm/flows-tests
...
Flows tests
2014-07-15 17:03:16 +01:00
zobalogh
4a514b9060
Removing orphaned function.
2014-07-15 15:32:56 +01:00
Mark Hindess
fe9ff0a297
Fix jshint complaints.
2014-07-14 21:46:36 +01:00
Mark Hindess
7281d273a1
Remove unused code.
2014-07-14 21:45:03 +01:00
Mark Hindess
66459f1bd6
Short circuit the null message case.
2014-07-10 14:25:32 +01:00
Mark Hindess
d371511d1d
Refactor common log code.
2014-07-10 14:25:32 +01:00
Dave C-J
9bc9994354
Fix for missingType(s) - to close #259
...
(thanks to toksea for spotting it)
2014-07-08 08:49:48 +01:00
Nick O'Leary
9db1166ce0
Fix logHandler array handling
...
Fixes #257
2014-07-02 16:31:02 +01:00
Nick O'Leary
9f3233175b
Fix node html generation
2014-07-01 23:48:26 +01:00
Nick O'Leary
649c82f7d7
Fix all jshint warnings in core code
2014-07-01 23:46:25 +01:00
Nick O'Leary
479a02cc16
Enable npm nodes to provide custom icons
2014-06-25 10:30:52 +01:00
Nick O'Leary
842e7cf5f5
Allow retained status message to be cleared
2014-06-21 22:43:48 +01:00
Nick O'Leary
dded87c134
Log close errors rather than pass up the stack
2014-06-08 23:28:46 +01:00
Nick O'Leary
749eaa2181
Add flowFilePretty option
2014-06-07 22:33:29 +01:00
Nick O'Leary
70147d0b6b
Remove 'retined' property from node.status calls
2014-05-30 20:30:26 +01:00
Antoine Aflalo
f822827454
Credentials into RED
2014-05-16 10:07:43 +03:00
Nick O'Leary
525321ec7f
Fix node emitter
2014-05-15 20:55:01 +01:00
Nick O'Leary
8f1dd62515
Allow Serial nodes to close asynchonously
2014-05-14 21:34:17 +01:00
Nick O'Leary
c317ccc36d
Allow nodes to close asynchronously
2014-05-14 21:18:47 +01:00
Dave Conway-Jones
7e4fa5fa45
Merge pull request #204 from tedgoddard/patch-1
...
support for use_strict - patch for server.js file
Removes redundant variable declaration.
(now handled in storage)
2014-05-14 11:25:38 +01:00
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
Nick O'Leary
da3fbd3b62
Initialise Node earlier in registry life-cycle
2014-05-08 22:58:30 +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
16f8673ec0
Add comms module
2014-05-07 20:47:25 +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
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
5e5d3d3000
Log.addHandler missing its implementation
2014-05-06 13:06:06 +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
7eed375111
Split up nodes.js into components
2014-05-03 22:28:17 +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
b5a8a7288b
Tidy up ajax usage
2014-04-21 22:42:46 +01: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
d00624f9e3
Tidy up REST interface
...
- Ensure application/json where appropriate
- Use jquery api rather than d3
2014-04-20 22:35:38 +01:00
Ted Goddard
440d649cd6
support for use_strict
...
variable appears unused but results in
ReferenceError: flowfile is not defined
when node is invoked with --use_strict
2014-04-17 10:54:55 -06:00
Nick O'Leary
896b52ed9e
Fix node tests
2014-04-13 22:32:33 +01:00
Nick O'Leary
92d10384ba
Avoid adding null req/res properties to messages
2014-04-13 22:12:57 +01:00
Nick O'Leary
43073de10b
Add nodesExcludes option
2014-04-08 13:33:09 +01:00
Nick O'Leary
0b8e8de260
Allow nodesDir to be an array of paths
2014-04-07 22:01:33 +01:00
Nick O'Leary
22db06046b
Fix mocha dependency
2014-03-31 13:38:35 +01:00
Nick O'Leary
bc8683f40a
Skip non-existent node directories
2014-03-21 14:05:27 +00:00
Nick O'Leary
77f1ee9f64
Tidy up nodes module exports
2014-03-06 22:44:34 +00:00
Nick O'Leary
f7792c66b4
Add cmd-line help and reduce node error output by default
...
Added nopt package dependency - npm update required!
Added -v cmdline option to show node module load errors, which are otherwise hidden by default with only a summary shown
2014-03-06 22:32:23 +00:00
Nick O'Leary
7c24d4d760
Separate out httpAdmin and httpNode
2014-02-16 00:39:30 +00:00
Nick O'Leary
2afe474ec8
Merge pull request #139 from skynetim/storage
...
Remove some sync calls from localfilesystem.js.
2014-02-02 12:22:23 -08:00
Nick O'Leary
cfd8d137cf
Add config-node sidebar tab
...
Accessed from the drop-down menu
2014-01-25 22:31:43 +00:00
Nick Niemeir
288b129ec3
Make more promisey
2014-01-16 06:28:10 +00:00
Nick Niemeir
3c41b2624a
First pass at removing sync calls
2014-01-16 05:59:13 +00:00
Nick O'Leary
02df584af6
Allow storage module to be set explicitly
...
Rather than just by name
2013-12-19 11:05:03 +00:00
Nicholas O'Leary
ce7bf78349
Non-Cloning of req/res properties caused them to be lost
...
The previous fix to not clone the req/res objects introduced a bug where the req/res objects were lost from all but the first clone made out of a particular node.
2013-12-05 14:39:26 +00:00
Nicholas O'Leary
0507578c98
Always clone messages to ensure no cross-pollution
...
Part of #85
A function that returns the same message to multiple outputs, where each output is wired to at most one node was not having its messages cloned due to the change I made in #85 to be slightly more efficient. By returning the same message to each output, cross pollution was possible.
2013-11-29 19:56:46 +00:00
Nicholas O'Leary
0bc0dc3a2b
Cannot clone http.req/http.res properties
...
Temporary fixes #97
2013-11-28 16:06:17 +00:00
Nicholas O'Leary
0aa17662f5
Posting to /flows should block until successfully saved, or fail
...
Mentioned in #76
2013-11-22 21:07:29 +00:00
Nicholas O'Leary
3054b04378
Storage object null when adding twitter credentials as first ever node
2013-11-22 13:54:10 +00:00
Nicholas O'Leary
e1dbb95396
Deep-clone messages when there are multiple recipients
...
Fixes #85
As well as adding deep-clone (via the new dependency on the 'clone' module), we no longer clone the message if there is a single recipient. This makes simple node-to-node flows more efficient.
I've done some simple profiling using process.hrtime to time how long the Node.send function takes, and at best, this change is neutral to performance.
2013-11-21 14:03:17 +00:00
Nicholas O'Leary
48c4786d66
Ignore node_modules dir when scanning for nodes
2013-11-20 13:55:21 +00:00
Nicholas O'Leary
3a52397744
Add nodesDir property to all nodes files to exist elsewhere
2013-11-13 17:02:29 +00:00
Nicholas O'Leary
848a69dc26
Make storage.init return a promise to async initialisation
...
part of #62
2013-11-12 17:13:06 +00:00
Nicholas O'Leary
29734dd994
Add unit test for localfilestorage
...
Stage 2 of #62
2013-11-10 22:19:01 +00:00
Nicholas O'Leary
95bef6b6ca
Abstract all file-system operations
...
Stage 1 of #62
2013-11-10 00:05:58 +00:00
Nicholas O'Leary
8befd44195
Rename workspaces to tabs/sheets
2013-10-30 21:45:45 +00:00
Nicholas O'Leary
3604286793
Save/restore tabs
2013-10-25 21:34:00 +01:00
Nicholas O'Leary
fa8dcdc87f
Add NODE_RED_HOME env variable
2013-10-20 22:08:38 +01:00
Nicholas O'Leary
5e8e35e6fa
Allow icons to be bundled with nodes
2013-10-13 21:01:46 +01:00
Nicholas O'Leary
eb9b31a21b
Bit more of a shuffle round of the shutdown handling
2013-10-13 19:14:39 +01:00