Commit Graph

99 Commits

Author SHA1 Message Date
Nick O'Leary 00d0f8cfc7 Invoke catch node only when msg is provided 2015-02-26 22:40:54 +00:00
Nick O'Leary c80a44933c Add errorHandler tests 2015-02-26 22:40:54 +00:00
Nick O'Leary 393fc349b9 Fix saving for node-library content 2015-02-26 17:08:20 +00:00
Nick O'Leary ce1cd1ab9c Change default data dir
Changes the default location for user data to $HOME/.node-red.
2015-02-25 14:25:01 +00:00
Nick O'Leary 8eb1a02407 Fix unit test failures following mocha upgrade 2015-02-06 17:27:43 +00:00
Nick O'Leary 3849855b57 Rename _id to _msgid to avoid mongo clash 2015-02-06 16:36:32 +00:00
Nick O'Leary c31ffb98b0 Tie auth middleware to needsPermission api 2015-02-05 23:43:35 +00:00
Nick O'Leary 53a515176b Remove unused token expiry code 2015-02-05 13:01:00 +00:00
Nick O'Leary fbf7ee50eb Increase unit test coverage of auth code 2015-02-05 13:00:56 +00:00
Nick O'Leary a494954275 Add permissions and user menu 2015-02-05 13:00:55 +00:00
Nick O'Leary f3eb85c449 Move over to settings.adminAuth 2015-02-05 13:00:54 +00:00
Nick O'Leary 2128b57ab2 Add oauth grant 2015-02-05 13:00:07 +00:00
Nick O'Leary 482c4e9c5e Add memory metric reporting 2015-02-04 22:28:17 +00:00
Nick O'Leary 8443e48240 Place flows backup alongside flow file
Also backup credentials file in the same manner.
2015-02-04 15:23:28 +00:00
Nick O'Leary 0aaea1ec40 Update logging/metric system 2015-02-03 22:02:26 +00:00
hbeeken 7d6ce1ec12 Changing metric logging to take a primative rather than an object 2015-02-03 19:12:09 +00:00
hbeeken b052324d36 Adding logging & metric recording configuration via settings 2015-02-03 19:12:09 +00:00
hbeeken a87548a991 Fixing test where part wasn't exercised 2015-02-02 13:21:19 +00:00
hbeeken 0bfbb12211 Adding metric logging mechanism 2015-01-27 14:41:20 +00:00
Nick O'Leary d04ac00732 Add more Flow_spec tests 2015-01-16 15:43:47 +00:00
Nick O'Leary c97ab18e62 Add Flow spec 2015-01-15 17:12:50 +00:00
Nick O'Leary a5afc258b1 Update unit tests 2015-01-15 10:28:11 +00:00
Anna Thomas 03765afefa Updated nodes_spec test to no-op when already enabled/disabled by type name 2014-12-17 13:58:49 +00:00
Anna Thomas 10681f97d9 Updated tests to reflect addition of version getSet 2014-12-08 16:53:06 +00:00
Anna Thomas 81e08e06e4 Updated test to reflect saving settings in nodes 2014-12-08 10:10:16 +00:00
Anna Thomas 8b6e287a74 Updated remove modules tests to reflect getNodeModuleInfo changes 2014-12-05 16:51:26 +00:00
Anna Thomas 35b3912808 Removed CLI from repo 2014-11-28 09:21:39 +00:00
Anna Thomas 57bc83b2a7 Enabling and disabling non-existent nodes throws an error 2014-11-27 16:42:45 +00:00
Anna Thomas bb6e27f662 Store node list as module list 2014-11-26 16:25:37 +00:00
Anna Thomas d7f249eac4 Added version number to modules 2014-11-21 16:35:29 +00:00
Anna Thomas dd5821ee1b Installing a module returns module info
Removing a module checks module exists and checks type is not in use
2014-11-21 15:15:24 +00:00
Anna Thomas 4c9d53388c Removed plugins references 2014-11-21 11:31:07 +00:00
Anna Thomas 70f101497d Replaced delete response with 204 2014-11-21 11:25:51 +00:00
Anna Thomas 56cb985de9 Separated put response into /nodes/:mod and /nodes/:mod/:set
Updated put tests
2014-11-21 10:36:32 +00:00
Anna Thomas d614b7c39f Moved get node set response to /nodes/:mod/:set
Updated tests
Changed plugin back to module
2014-11-20 15:18:16 +00:00
Anna Thomas 0ff65f6805 Updated registry tests to reflect id changes 2014-11-20 13:08:27 +00:00
Nick O'Leary 71bd5cd9e9 Merge pull request #485 from anna2130/nr-cli-enhancements
WIP: Command Line Tool API
2014-11-17 13:34:24 +00:00
Anna Thomas 8d16f3c8be Registry tests for plugins and enable/disable in CLI 2014-11-13 15:14:20 +00:00
Nick O'Leary 3e235ecc0b Move cloneMessage to RED.util.cloneMessage 2014-11-06 11:39:30 +00:00
Anna Thomas 2e7a97fb88 Get plugins tests 2014-11-06 10:59:06 +00:00
Nick O'Leary 266a644ca6 Preserve querystring when ensuring path ends with slash 2014-11-06 00:01:01 +00:00
Nick O'Leary a520240b25 Ensure application/json on library flows reqs 2014-11-05 23:08:23 +00:00
Nick O'Leary e7eb02fcb7 Add unit tests for refactored API modules 2014-11-05 23:07:50 +00:00
Nick O'Leary f0e9a0279f Ignore comms heartbeat messages in comms test 2014-10-31 13:06:08 +00:00
Nick O'Leary 6169e4299a Add initial subflow tests 2014-10-29 21:44:33 +00:00
Anna Thomas bc8e459ae6 Node does not clone first message sent
Tests updated to mirror this behaviour
    Annotated algorithm
2014-10-21 14:08:35 +01:00
Nick O'Leary 489c552dbe Reset settings between tests 2014-10-03 15:05:37 +01:00
Nick O'Leary 9152daa13b Fix race condition on saving config 2014-09-23 17:09:23 +01:00
Nick O'Leary 723a3e628e Add cli tests 2014-09-23 00:14:30 +01:00
Nick O'Leary af0b740fbd Rework nr-cli
- better componentisation
- add 'search' option to look for npm modules
- add 'target' option to point at non-default installs
2014-09-22 22:59:42 +01:00