Dave C-J
82036dd84a
Simple fix to check/force http: to close #288
...
Checks url starts http: or https: - if not add http: - at least then it breaks gently.
Also add resultant url to any error payload if request fails in order to make debug easier.
2014-07-23 12:09:34 +01:00
zobalogh
b29062a931
Add test that every source file has a test.
2014-07-23 11:40:46 +01:00
Nick O'Leary
14a1899c23
Merge pull request #287 from hindessm/spurious-require-of-events-singleton
...
Remove spurious require of the events singleton.
2014-07-23 10:19:05 +01:00
Mark Hindess
d51eadb6c2
Remove spurious require of the events singleton.
2014-07-22 12:43:02 +01:00
Nick O'Leary
bead24e760
HTTP In node: Check credentials exist before using
2014-07-22 11:33:52 +01:00
Dave C-J
0b308deb79
Slight tidy to MQTT - move to fa icons - use built in close method.
2014-07-21 20:29:10 +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
Nick O'Leary
7687cf6661
Merge pull request #283 from hindessm/missing-require-util
...
Add missing util require.
2014-07-21 15:22:15 +01:00
Mark Hindess
63ebee22dd
Add missing require.
2014-07-21 13:29:54 +01:00
Nick O'Leary
4f8ddad935
Merge pull request #282 from hindessm/more-node-tests
...
Test that wires to non-existent nodes are ignored.
2014-07-21 10:08:49 +01:00
Dave Conway-Jones
bd70c4b6e7
Merge pull request #281 from hindessm/trivial-switch-spelling-fix
...
Trivial spelling fix.
2014-07-21 09:57:59 +01:00
Mark Hindess
1414308179
Test that wires to non-existent nodes are ignored.
2014-07-21 09:26:48 +01:00
Mark Hindess
fd6682cfce
Trivial spelling fix.
2014-07-21 08:54:37 +01:00
Nick O'Leary
9d481858a0
Update twitter node to new credential api
2014-07-20 22:00:02 +01:00
Nick O'Leary
4302deb5a6
Change credential boolean prefix
2014-07-20 20:42:41 +01:00
Nick O'Leary
d67a54a66a
Update HTTP Request node to new credentials api
2014-07-19 00:26:46 +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
760dd022dc
Migrate MQTT nodes to new credentials api
2014-07-19 00:25:22 +01:00
Nick O'Leary
c379f1b197
Migrate mongo node to new credential api
2014-07-19 00:25:22 +01:00
Dave C-J
4770a06679
yet more JShint cleaning.
2014-07-18 21:49:48 +01:00
Dave C-J
252135532d
more JShint cleaning and fa icons added
2014-07-18 21:49:20 +01:00
Dave C-J
aaab0d0d0b
Add B+ GPIO support to Pi Node
2014-07-18 15:08:16 +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
f80c41058c
Properly escape html entities in debug
...
Fixes #276
2014-07-17 22:13:04 +01:00
Nick O'Leary
84a0e8ceff
Add version information to /settings
2014-07-17 21:32:30 +01:00
Dave C-J
8b6c14b05d
update mongodb to fa-icons and fix name position in edit config...
2014-07-17 17:21:35 +01:00
Nick O'Leary
cb854c40ba
Merge pull request #278 from hindessm/fix-jshint-of-tests
...
Fix jshint 'tests' definition.
2014-07-17 16:12:16 +01:00
Mark Hindess
bf4369a01e
Fix jshint 'tests' definition.
2014-07-17 15:51:21 +01:00
Nick O'Leary
8f3de41049
Merge pull request #277 from hindessm/realistic-test-coverage
...
Make test coverage figure more realistic.
2014-07-17 12:21:51 +01:00
Dave C-J
fea68d4eda
add strict to redisout and fa-icons
2014-07-17 10:25:52 +01:00
Mark Hindess
2778c38b55
Add trivial tests to make coverage figure more realistic.
2014-07-17 09:16:43 +01:00
Mark Hindess
67bd4f373f
Move tests to match source hierarchy.
2014-07-17 09:16:43 +01:00
Nick O'Leary
2b423fe9be
Merge pull request #274 from hindessm/redis-status
...
Add status support to the redisout node.
2014-07-17 09:07:29 +01:00
Nick O'Leary
3bc4e7125b
Merge pull request #275 from hindessm/add-missing-license-header
...
Add missing license header.
2014-07-17 09:06:45 +01:00
Mark Hindess
8cedf76b70
Add missing license header.
2014-07-17 08:08:24 +01:00
Mark Hindess
79853d8583
Add status support to the redisout node.
2014-07-16 23:10:34 +01:00
Nick O'Leary
17a83436b3
Merge pull request #273 from hindessm/trivial-mqtt-var-cleanup
...
Trivial mqtt var cleanup
2014-07-16 22:10:28 +01:00
Mark Hindess
5073cf8dd7
Reduce scope of variable declaration to be consistent with MQTTInNode code.
2014-07-16 21:45:02 +01:00
Mark Hindess
77f6652fa9
Remove spurious variable declaration.
2014-07-16 21:45:02 +01:00
Nick O'Leary
3756e41522
Merge pull request #271 from Belphemur/test-creds
...
Correcting setFlow test
2014-07-16 12:15:50 +01:00
Antoine Aflalo
ac889e18d2
Correcting setFlow test
...
Because of the change made into the credentials, the saveCredentials needs to be defined for the setFLow to work
2014-07-16 13:25:43 +03:00
Nick O'Leary
9650b3ed38
Merge pull request #270 from hindessm/ignore-coverage
...
Ignore the test coverage directory.
2014-07-16 10:57:44 +01:00
Nick O'Leary
b7a83383c9
Merge pull request #268 from hbeeken/test-coverage
...
Adding unit test for credentials.clean
2014-07-16 10:53:25 +01:00
Nick O'Leary
d4919e27bd
Merge pull request #251 from Belphemur/credentials-pr
...
Rewrite credentials API to work with save on deploy.
2014-07-16 10:41:01 +01:00
Mark Hindess
4f6e76cace
Ignore the test coverage directory.
2014-07-16 10:19:39 +01:00
Antoine Aflalo
4d97d9d300
Rewrite credentials API to work with save on deploy.
2014-07-16 11:25:40 +03:00
hbeeken
1419a79933
Adding unit test for credentials.clean
2014-07-16 09:25:08 +01:00