Commit Graph

42 Commits

Author SHA1 Message Date
Stephen McLaughlin e714ff35c4
Merge branch 'dev' into diagnostics 2022-04-27 12:08:32 +01:00
Steve-Mcl 39f303fcd6 add unit tests 2022-04-06 15:11:37 +01:00
Ariel Ferreira 79a789c557 add test to check if in the case user contains token, Node-RED uses it instead of generating a new Token 2022-02-26 17:24:59 -05:00
Nick O'Leary 012e1cbcc5
Improve unit test coverage 2021-10-04 17:53:14 +01:00
Casey Wilkes d32636ed6b Tweak theme tests for tabicon colour config 2021-09-10 23:16:42 +12:00
Nick O'Leary 877c463494
Update to latest sinon 2021-04-09 11:22:57 +01:00
Nick O'Leary 1f6328bf4e
Add initial support for ThemePlugins 2021-01-26 13:49:47 +00:00
Nick O'Leary a006b52052
Initial plugin runtime api implementation 2021-01-18 16:25:40 +00:00
Nick O'Leary 7913b3cbc2
Merge branch 'master' into dev 2021-01-07 10:17:50 +00:00
Nick O'Leary 6ee2e2b570
Merge pull request #2777 from aaronmyatt/improve-test-coverage-in-editor-api-index
Improve editor api index test coverage
2021-01-06 11:39:30 +00:00
Tiago Ferreira fa84c4e461 Allow to explicit use userMenu in the theme configuration
Unit test to ensure that   works after the theme is initialize

Allow to explicti use userMenu in the theme configuration
2020-12-29 22:06:02 +00:00
aaronmyatt 55e6c6e01a adds tests for editor-api.start() 2020-12-16 21:53:52 +08:00
Nick O'Leary 5992ed1fab
Fully remove when.js dependency 2020-12-07 11:49:01 +00:00
aaronmyatt c9bc530df0 tests custom cors settings 2020-12-06 15:29:54 +08:00
aaronmyatt 0b569a4120 exercise admin auth pathways 2020-12-05 23:06:18 +08:00
aaronmyatt 950fd7d2cf removes unused dependencies 2020-12-05 15:15:36 +08:00
aaronmyatt 50dd0354d1 adds admin middleware tests 2020-12-04 23:10:28 +08:00
Nick O'Leary 6f1ed76b4c
Add support for file upload in /nodes api 2020-08-13 15:54:54 +01:00
Nick O'Leary 16c26d8098
Move runtime settings back to adminApi from editorApi
Fixes #2662
2020-07-31 15:26:21 +01:00
Nick O'Leary 1df2f5e96a
Allow Comms websocket auth to be done via token header
Fixes #2642
2020-07-09 19:07:51 +01:00
Nick O'Leary 57154b2853
Authenticate websocket comms using user-provided token if present
Fixes #2642
2020-07-06 20:45:07 +01:00
Nick O'Leary dc412b305c
Tidy up unhandledRejection warning from context unit tests 2020-06-01 13:48:12 +01:00
KAZUHIRO ITO 95982ad464 Update adminAuth tokensStrategy test spec 2020-02-27 19:20:08 +09:00
KAZUHIRO ITO bba6855872 Add admin api authentication function 2020-02-26 12:59:40 +09:00
KAZUHIRO ITO ff96773295 Add node installation from other than public site 2019-11-11 18:25:36 +09:00
Nick O'Leary e2db958510
Fix up admin nodes test for audit log changes 2019-08-09 17:27:32 +01:00
Nick O'Leary 0b204de5a9
Fix up tests for svg changes 2019-06-21 22:01:24 +01:00
Nick O'Leary d623848c87
Update all node icons to SVG
When listing icons provided by a module, if there is a png and svg
with the same name, only the svg will be listed.

If a node asks for a png icon which is not known, but there is a
corresponding svg, that will be used instead.
2019-06-21 12:36:20 +01:00
Nick O'Leary 6d8ea2b6a4
Merge branch 'dev' into new-export-dialog 2019-04-25 11:42:33 +01:00
Nick O'Leary b581e33611
Update runtime apis to support multiple libraries 2019-04-25 11:32:09 +01:00
Hiroki Uchikawa f98f4085bf Add test cases for context admin API 2019-03-27 12:54:01 +09:00
Hiroki Uchikawa 543519d055 Add test cases to ensure context API routes are correctly mounted. 2019-03-27 12:54:01 +09:00
Nick O'Leary 81ae552e69
Project ui code using incorrect error property 2019-01-09 17:03:17 +00:00
Nick O'Leary ee47646cf7
Fix up unit tests 2018-12-04 15:59:43 +00:00
Nick O'Leary b715ac8bf4
Add more test coverage around settings apis 2018-10-26 21:22:58 +01:00
Nick O'Leary e4d518749f
Remove deprecated Buffer constructor usage
Fixes #1709
2018-10-24 13:45:34 +01:00
Nick O'Leary dc7e48dc53
Merge branch 'dev' into pr_1789 2018-10-22 10:46:47 +01:00
Nick O'Leary c13e79e9c3
Merge pull request #1915 from kazuhitoyokoi/dev-addtestcases4themejs
Update test cases in theme_spec.js
2018-10-15 02:46:09 -07:00
Hiroyasu Nishiyama 14435c24ac fix i18n handling for ja-JP locale on Safari/MacOS 2018-10-05 21:16:57 +09:00
Kazuhito Yokoi 71403e5acd Update test cases in theme_spec.js 2018-10-03 13:39:11 +09:00
Nick O'Leary 38a1291c5b
Fixup all the tests 2018-08-20 16:17:24 +01:00
Nick O'Leary 998bf92ad4
Move tests to reflect package structure 2018-08-19 11:28:03 +01:00