Nick O'Leary
b7a0a9d7c2
Merge branch 'master' into 0.18
2018-01-24 23:08:14 +00:00
Nick O'Leary
e250a91f09
Merge branch '0.18' into projects
2018-01-24 23:06:27 +00:00
Nick O'Leary
4b129d94e4
Move node install to spawn to allow for big stdout
...
Fixes #1488
2018-01-24 22:41:26 +00:00
Nick O'Leary
95589307cd
Better reporting of project-not-found
2018-01-24 21:54:18 +00:00
Nick O'Leary
7a89e3cf33
Check the global git config to ensure its setup
2018-01-24 21:05:48 +00:00
Nick O'Leary
64607df929
Ensure git username/email are set on project creation
2018-01-24 15:51:11 +00:00
Nick O'Leary
a62a1012fa
Handle scoped modules via palette editor
2018-01-24 15:07:43 +00:00
Nick O'Leary
3cb5cbd8d5
Allow adminAuth.user to be a Function
...
Fixes #1461
2018-01-23 23:08:11 +00:00
Nick O'Leary
cf34716a57
Tidy up project first-run experience
2018-01-23 11:26:05 +00:00
Nick O'Leary
cf40497e6e
Flip logic for opt-in to projects
2018-01-22 23:14:38 +00:00
Nick O'Leary
dfebc4b78d
Migrate deploy confirmations to notifications
2018-01-22 23:04:05 +00:00
Nick O'Leary
ad6e55ca17
Allow a user to install missing modules from project settings
2018-01-22 13:46:11 +00:00
Nick O'Leary
7e27dd7678
Don't rely on ssh-keygen output to prevent known errors
2018-01-19 22:31:41 +00:00
Nick O'Leary
c2508296a5
Add debug to sshkeygen
2018-01-19 22:10:29 +00:00
Nick O'Leary
eac98a6d4d
Prevent ssh-keygen prompting for passphrase when blank
2018-01-19 13:12:22 +00:00
Nick O'Leary
7e2b2a9a02
Timeout sshkey-gen calls
2018-01-19 12:57:37 +00:00
Nick O'Leary
353de471eb
Add debug to sshkeygen for travis
2018-01-19 12:50:12 +00:00
Nick O'Leary
d93a92c1c8
Rearrange ssh logic to bring it together
2018-01-18 23:13:55 +00:00
Nick O'Leary
f7f795f58a
Fixup SSH key auth for project repos
2018-01-18 22:17:48 +00:00
Nick O'Leary
f95b414d22
First pass of projects test coverage
2018-01-16 23:04:39 +00:00
Nick O'Leary
b76010cb5a
Add sshkeygen test
2018-01-16 16:38:53 +00:00
Nick O'Leary
52475df783
Fix various tests due to projects rework
2018-01-16 16:18:18 +00:00
Nick O'Leary
3f5ba10354
Fix up merge
2018-01-16 11:25:13 +00:00
Nick O'Leary
25f4a018d9
Merge branch '0.18' into projects
2018-01-16 11:21:54 +00:00
Nick O'Leary
fd4fdb31b5
Better error reporting when module provides duplicate type
2018-01-15 23:20:20 +00:00
Nick O'Leary
1a62a7831b
Handle undefined/null in log functions
...
Fixes #1418
2018-01-14 00:50:58 +00:00
Nick O'Leary
fd9e3fc03a
Update jsonata to 1.4.1
2018-01-13 20:42:23 +00:00
Dave Conway-Jones
7b1787fdbb
Debug to status option ( #1499 )
...
* Let debug optionally target the status line (32 chars only)
* Add batching of messages to debug ws comms
* let Debug handle simple case of NaN
would also close #1530
* Fixup debug tests for batch comms (no new tests yet)
* mixup comms/api test to match new batch mode (no new tests)
* Add test for NaN being sent OK.
* redo original fix to padding / labels for new debug options
* fix debug test (re-add fix from #1444 )
* Fix up merge issues in debug tests
2018-01-13 16:14:03 +00:00
Nick O'Leary
1204cf1ba0
Better permission handling in editor
2018-01-12 21:00:11 +00:00
Rocco Musolino
2c4d5fa38d
add express-session memorystore without leaks ( #1435 )
...
* add express-session memorystore without leaks
* Bump memorystore to v1.6.0
2018-01-11 22:51:05 +00:00
Nick O'Leary
3306d30094
Get proper path to local keyfile when selected
2018-01-11 11:19:04 +00:00
Nick O'Leary
6516e0dfd2
Allow a user to pick existing sshkeys from ~/.ssh
2018-01-10 17:37:41 +00:00
Nick O'Leary
13356047dc
Better handling of empty projects and lifecycle
2018-01-09 15:06:05 +00:00
Nick O'Leary
1c2ea56f42
Allow a project to be specified on the command-line
...
Reuses the existing flowFile - if its value is found
to be the name of an existing project, that project
is set as the active one.
If it is not the name of an existing project, it is
ignored.
2018-01-08 16:10:54 +00:00
Nick O'Leary
1d7ae300e2
Handle cloning a bare repository
2018-01-08 14:46:56 +00:00
Hideki Nakamura
5a6cde1446
Refactoring ssh-keygen function ( #1533 )
2018-01-05 16:12:01 +00:00
Kazuki Nakanishi
63f7d826bc
Enable it to store icon files in {settings.userDir}/lib/icons directory for dynamic nodes's icon feature ( #1536 )
2018-01-05 14:23:47 +00:00
Nick O'Leary
9c350311e8
Fix reauthentication of remote repositories
2017-12-21 17:40:24 +00:00
Nick O'Leary
816442f5f0
Update sshey UI to use common list style
2017-12-20 23:45:17 +00:00
Nick O'Leary
3b51d18ce7
Change default user filename prefix for sshkeys
2017-12-20 16:08:57 +00:00
Simon Hailes
6696b6661a
When creating 'redserver' for a node, use runtime.server rather than runtime.adminApi.server, and fill runtime.server at startup with the valid http server regardless of adminApi being available.
...
This resolves websockets not working when the adminApi (httpAdminRoot) is disabled in settings.
2017-12-20 16:04:32 +00:00
Nick O'Leary
8c87478636
Merge sshkeys
2017-12-20 15:12:10 +00:00
Nick O'Leary
d870b072d7
Tidy up branch/remote list in projectSettings
2017-12-20 14:37:34 +00:00
Hideki Nakamura
2ea2af7d2a
Use a fixed string instead of os.hostname()
2017-12-20 19:44:57 +09:00
Nick O'Leary
05f90394db
Flag misconfigured project credentialSecret
2017-12-19 14:00:58 +00:00
Hideki Nakamura
c24b0c6bb4
Change "generateSSHKey" function signature
2017-12-19 22:57:40 +09:00
Nick O'Leary
33a5b84181
Add first-run dialog to migrate files to project
2017-12-19 00:56:02 +00:00
Hideki Nakamura
2a9d0a5e7d
Merge branch 'projects' into sshkey-management
2017-12-17 23:54:44 +09:00
Nick O'Leary
474f4572f2
Fix conditional initialisation of projects
2017-12-16 23:43:08 +00:00
Hideki Nakamura
bf57cb209f
Delete unnecessary logs
2017-12-16 00:46:05 +09:00
Hideki Nakamura
9bc41c1709
Merge branch "projects"
2017-12-16 00:33:08 +09:00
Hideki Nakamura
fe10b8650f
Add Git access feature via SSH and Enhance SSH Key management
2017-12-16 00:07:47 +09:00
Hideki Nakamura
3a311c9584
Detect a SSH key generation error
2017-12-15 23:48:52 +09:00
Hideki Nakamura
d1106f53e0
Pass email data into the SSH Key generation API
2017-12-15 21:41:14 +09:00
Nick O'Leary
a3a1bba5ef
Add projects editorTheme flag to disable the feature
2017-12-13 09:44:48 +00:00
Nick O'Leary
bb59cd5742
Allow unstaged files to be reverted
2017-12-11 17:05:12 +00:00
Nick O'Leary
27f1d3b704
Add delete local branch option
2017-12-08 16:31:42 +00:00
Nick O'Leary
d007623347
Return more detailed information on /project/branches api
2017-12-07 22:24:57 +00:00
Hideki Nakamura
6a5cf7a1fa
Merge branch 'projects' into sshkey-management
2017-12-07 23:29:58 +09:00
Hideki Nakamura
3adfe249b0
Support to delete project feature ( #1509 )
...
* First commit to support to delete projects
* Add delete project menu & Implement delete project API
* Correspond to the PR feedback
2017-12-07 14:28:26 +00:00
Hideki Nakamura
923893e160
Add SSH key management API
2017-12-07 23:11:24 +09:00
Nick O'Leary
304c597a2f
Store repo credentials per-user
2017-12-06 22:39:30 +00:00
Hideki Nakamura
3ca0e9c420
Fix the property "users" access error in runtime.start test caces ( #1511 )
2017-12-06 13:20:22 +00:00
Hideki Nakamura
1dd4323613
Fix the errors in credentials test cases ( #1512 )
2017-12-06 13:19:07 +00:00
Nick O'Leary
1840d15397
Restructure how editor/git settings are saved in userSettings
2017-12-05 23:50:32 +00:00
Nick O'Leary
3f6b1f6ccb
Fix loading of userSettings
...
Closes #1505
2017-12-05 16:23:55 +00:00
Nick O'Leary
91352e855a
Handle overwrite warning on local branch change
2017-12-05 16:12:07 +00:00
Qi Xiu
8bb9b594cf
Add Chinese translation of jsonata.json ( #1504 )
2017-12-05 15:58:11 +00:00
Dave Conway-Jones
3988a648d6
Merge branch 'master' into 0.18
2017-12-05 12:22:20 +00:00
Nick O'Leary
5e128f89f6
Ensure strategy login button uses relative URL
...
Fixes #1481
2017-12-04 21:13:07 +00:00
Nick O'Leary
fff0b15ae5
Add /settings/user end point
2017-12-04 17:15:17 +00:00
Nick O'Leary
a7e14f1093
Handle a local branch that does not yet track a remote
2017-12-04 13:26:47 +00:00
Nick O'Leary
94eeaeb8d3
Allow committer details to be set per-user
2017-12-04 11:42:44 +00:00
Nick O'Leary
64191e8303
Merge master to 0.18
2017-12-03 22:32:28 +00:00
Kazuki Nakanishi
6d2389945b
allow a node's icon to be set dynamically ( #1490 )
...
* create a proto type
* Fixed some problems after reviewing
2017-11-30 13:13:35 +00:00
Nick O'Leary
14c48253f6
Confirm actions that would overwrite dirty workspace
2017-11-24 23:12:35 +00:00
Nick O'Leary
e5ff25b92d
Fix project pull with authentication
2017-11-23 20:52:15 +00:00
Nick O'Leary
5c88888e02
Better auth handling in projects
2017-11-23 00:27:13 +00:00
Nick O'Leary
10057de9b3
A big projects update
...
Includes:
- change local/remote branches
- basic support for username/password handling
2017-11-21 23:31:41 +00:00
Jim Turner
6baedf909d
Fix #1478 - Project files are not being flushed to disk after being written ( #1479 )
...
* Call fsync() before closing file
* Fix race condition in tests due to incorrect stub.
The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().
In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.
* Test coverage for fsync() calls
For issue #1478
* Revert "Fix race condition in tests due to incorrect stub."
This reverts commit 4f71d7851b
.
* Fix race condition in tests due to incorrect stub.
The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().
In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.
* Fix intermittent test failure in Exec node.
Occasionally, the error text on stderr will come in more than one piece. The test only worked correctly if a single message was received.
2017-11-17 17:29:33 +00:00
Hiroyasu Nishiyama
8f2f7ea1a5
Add test script for link node ( #1463 )
...
* fixed unmatched HTML tags
* add test for link node & red.js fix for it
2017-11-02 16:47:12 +00:00
Nick O'Leary
57533fd831
Add commit-diff view
2017-10-25 15:26:24 +01:00
jmikerq
dba6ff1d51
added chinese messages.json locale file ( #1452 )
...
* modified the wording in the chinese editor.json
change the wording closer to their meanings in chinese
* added chinese messages.json
2017-10-23 11:55:26 +02:00
Qi Xiu
40146dedaf
Add Chinese version of infotips.json ( #1449 )
2017-10-23 11:55:08 +02:00
jmikerq
387b822f53
clean up naming for chinese software naming convention ( #1453 )
2017-10-23 11:54:49 +02:00
Nick O'Leary
3d6468326a
Allow a project's flow file to be changed
2017-10-19 21:38:53 +01:00
Nick O'Leary
5218a3fbac
Add custom project.toJSON to simplify state mangement
2017-10-17 10:14:50 +01:00
Nick O'Leary
4569cb432d
Add Project object in runtime
2017-10-16 23:23:50 +01:00
Henri Bouvier
140ea683a6
[fix] github oauth strategy when Root is not / ( #1430 )
2017-10-10 21:24:44 +01:00
Kazuhito Yokoi
0634a97598
Fix global.keys() bug in function node ( #1417 )
...
* Fix global.keys() bug in function node
* Filter set(), get() and keys() in global.keys() method
2017-10-10 21:13:38 +01:00
Kazuhito Yokoi
3479c794de
Modify JSONata Expression editor to refer to language files ( #1433 )
2017-10-10 20:21:41 +01:00
Kazuhito Yokoi
89cad116f7
Update translation file for JSONata (jsonata.json) ( #1432 )
2017-10-10 20:21:19 +01:00
Nick O'Leary
19c84eb694
Add commit history view in sidebar
2017-10-09 23:37:19 +01:00
Nick O'Leary
10567afbb9
Add unified diff view to version control tab
2017-10-09 00:11:07 +01:00
Nick O'Leary
9a2fd0e2b2
Add initial version control sidebar with commit function
2017-10-07 00:18:20 +01:00
Nick O'Leary
522f7e6844
Do not include creds when calculating flow revision hash
2017-09-28 22:34:21 +01:00
Nick O'Leary
6a06142e1e
Allow credSecret to be managed via project settings
2017-09-26 22:51:08 +01:00
Nick O'Leary
d8fd218409
Allow project dependencies to be edited in dialog
2017-09-21 11:19:24 +01:00
Nick O'Leary
edc2310599
Move project sidebar to project settings dialog
2017-09-20 22:51:28 +01:00
Nick O'Leary
b1cd13d629
Initial projects implementation
2017-09-20 10:30:07 +01:00
HirokiUchikawa
ff40b521b7
Fix problem with multi-byte character ( #1391 )
2017-09-17 08:46:14 +01:00
Jeston Tigchon
29cae9975e
Upgrade JSONata to v1.3.0 ( #1386 )
2017-09-07 21:58:29 +01:00
Nick O'Leary
9a8b404054
Split localfilesystem storage plugin into component parts
2017-08-23 17:31:33 +01:00
Nick O'Leary
41af5187aa
Reorganise red/api layout to better componentise
2017-08-22 22:26:29 +01:00
Kazuhito Yokoi
d7d13c12fe
Modify messages to refer to language files ( #1361 )
2017-08-07 10:00:28 +01:00
Nick O'Leary
7de1bf9d95
Better node properties layout in diff table
2017-08-03 23:04:39 +01:00
Nick O'Leary
5bdb9e972e
Add httpStatic log statement on start up
2017-07-26 11:45:49 -07:00
Nick O'Leary
f0373cd789
Add flow stopping trace messages
2017-07-21 11:15:40 +01:00
Kazuhito Yokoi
b3ffd33507
Add file extension into flow name of library automatically ( #1331 )
2017-07-09 11:58:17 +01:00
Nick O'Leary
c93870316c
Fix accessing global context from jsonata expressions
...
Fixes #1335
2017-07-09 10:40:23 +01:00
Nick O'Leary
f9769a73fe
Retry auto-install of modules that fail
...
- introduces autoInstallModulesRetry - default 30000
- backs off interval if repeated failures
- fixes notification to the editor of an auto-reinstall
2017-07-08 17:30:17 +01:00
Kazuhito Yokoi
ac60725d2a
Fix flow library in menu to support period characters as flow name ( #1320 )
2017-07-04 10:02:24 +01:00
Nick O'Leary
1542f73fa5
Fix global leaks in theme.js
2017-07-04 09:43:16 +01:00
Nick O'Leary
70a22187f7
editorTheme not setting custom css/scripts properly
2017-07-04 09:33:27 +01:00
Kazuki Nakanishi
347e598715
Fix missing icons for some nodes ( #1321 )
2017-07-04 09:04:27 +01:00
Kazuki Nakanishi
c34c98386e
Fix creating userDir other than system drive on Windows ( #1317 )
2017-07-03 15:22:49 +01:00
Nguyen Thai Vinh
6db2c04585
Fix Bug: Can not display node icon when npm package has scope ( #1305 ) ( #1309 )
2017-06-30 21:49:35 +01:00
Nick O'Leary
78076122ba
Remove console.log
2017-06-30 10:39:28 +01:00
Kazuhito Yokoi
dfc4e99560
Add Chinese translation file (editor.json) ( #1303 )
2017-06-29 11:38:21 +01:00
Nick O'Leary
710f1e2ca0
Be consistent in how node settings are addressed
2017-06-29 11:17:39 +01:00
Kazuhito Yokoi
283d5c64cb
Update Japanese translation files (jsonata.json and messages.json) ( #1300 )
...
* Update Japanese translation file(jsonata.json)
* Update Japanese translation file(messages.json)
2017-06-28 09:26:07 +01:00
Kazuhito Yokoi
3134bc432b
Improve editor messages (jsonata.json and messages.json) ( #1299 )
...
* Modify typo and improve messages in jsonata.json
* Change csv to CSV(messages.json)
2017-06-28 09:25:35 +01:00
Dave Conway-Jones
303f67c036
let node installer try to save with ~ version prefix to allow minor updates
2017-06-27 10:17:09 +01:00
Nick O'Leary
b63d243e33
Update JSONata to 1.2.4
...
Closes #1275
2017-06-26 13:55:22 +01:00
Nick O'Leary
df9e50445e
Merge branch 'master' into 0.17
2017-06-26 10:18:42 +01:00
Kazuhito Yokoi
61339face6
Add and improve Japanese translation file(editor.json, infotips.json and messages.json) ( #1284 )
...
* Update Japanese translation(editor.json)
* Add Japanese translation file(infotips.json)
* Add Japanese translation file(messages.json)
2017-06-26 10:08:05 +01:00
Kazuhito Yokoi
7aa08ff885
Add Japanese translation file(jsonata.json) ( #1271 )
2017-06-26 09:41:16 +01:00
Nick O'Leary
d9dc171c28
Add buffer mode to typedInput
2017-06-13 21:01:27 +01:00
Nick O'Leary
7e35c9c754
Return flow rev on reload api when api v2 enabled
...
Closes #1273
2017-06-05 15:16:26 +01:00
Kazuhito Yokoi
21d3a3dd1e
Modify typo in jsonata.json ( #1270 )
2017-05-31 08:44:44 +01:00
Nick O'Leary
f97f92c297
Strip BOM character from JSON files if present
...
Fixes #1239
2017-05-15 14:21:12 +01:00
mw75
0ee7ffb5e5
Version check no meta ( #1243 )
...
* Version check on module loading - remove all metadata information bevor comparing the versions.
* refined regex
2017-05-15 13:57:35 +01:00
Nick O'Leary
d4135e80a6
Timeout a node that fails to close - default 15s timeout
2017-05-15 13:05:33 +01:00
btsimonh
c0eabf0438
Add note of removed flows in diffConfig ( #1253 )
2017-05-11 15:39:41 +01:00
Nick O'Leary
7730d0a4f8
Merge branch 'master' into 0.17
2017-05-11 15:10:12 +01:00
Nick O'Leary
00460d856b
Add copy path/value buttons to debug messages
2017-05-10 15:49:56 +01:00
Nick O'Leary
401d386812
Add force-deploy option when conflict detected
2017-05-05 15:52:37 +01:00
Nick O'Leary
6b07f58e8e
NLS jsonata test messages
2017-05-05 13:43:39 +01:00
Nick O'Leary
dbf0486acb
Add JSONata expr tester and improved feedback
2017-05-05 11:23:24 +01:00
Nick O'Leary
29bd43413a
Add context.keys function to list top-level keys
2017-05-03 20:51:33 +01:00
Nick O'Leary
2249b9449c
NLS Expression/JSON editor and fix their height calculation
2017-05-03 17:17:36 +01:00
Nick O'Leary
30920b1b78
Add $context/$flow/$global functions to jsonata
2017-05-03 15:48:30 +01:00
Nick O'Leary
8f92a3e875
Do not log node errors if handled by a Catch node
2017-05-03 13:42:38 +01:00
Nick O'Leary
ed1a55d9cd
Provide feedback when enable/disable node fails
2017-05-03 13:29:35 +01:00
Nick O'Leary
93ef84f495
Move palette editor to settings panel
2017-05-03 11:38:16 +01:00
Nick O'Leary
5938143002
Move view and keyboard into user settings dialog
2017-05-03 11:38:16 +01:00
Nick O'Leary
8135da71bd
Add basic user settings panel
2017-05-03 11:38:16 +01:00
Dave Conway-Jones
45fbd22e28
Update some core nodes info
2017-04-24 20:37:06 +01:00
Nick O'Leary
4ea33ea482
Pass a 'removed' parameter to node close handler
2017-04-21 23:36:21 +01:00
Nick O'Leary
72da7e6c54
Rename oauth auth scheme to strategy as it works for openid
2017-04-21 21:54:48 +01:00
Nick O'Leary
fb05960d79
Allow oauth schemes provide a custom verify function
2017-04-21 21:17:18 +01:00
Nick O'Leary
7bd0943412
Provide single endpoint to load all node message catalogs
...
Replaces potentially dozens of http requests with one or two.
2017-04-21 11:49:35 +01:00
Dave Conway-Jones
2ac9c11ec9
Add tip to tab description editor
...
(and remove icons)
2017-04-16 21:08:32 +01:00
Dave Conway-Jones
1c470ab9e3
Make tab info edit box resizable
2017-04-16 20:25:15 +01:00
Nick O'Leary
5cb37148c6
Add editorTheme.logout.redirect to allow redirect on logout
...
Closes #1213
2017-04-12 21:41:16 +01:00
Nick O'Leary
d1c42262d6
Ensure all nodes have access to global context
...
Fixes #1230
2017-04-12 20:48:43 +01:00
Nick O'Leary
c54cf26848
Add support for oauth adminAuth configs
2017-04-12 10:09:03 +01:00
Nick O'Leary
bfb548636e
Merge branch 'master' into 0.17
2017-04-11 14:53:44 +01:00
Nick O'Leary
36e1b2ba08
Don't process subscription for unauthenticated comms link
...
Fixes #851
2017-04-11 14:48:19 +01:00
Nick O'Leary
08d21ccba7
Clone credentials when passing to node
...
Fixes #1198
2017-04-10 21:45:04 +01:00
David
62b29ecb65
Make theme able to load custom javascript ( #1211 )
...
* Make theme able to load custom javascript
- Look for the field 'customScript' in editorTheme (settings.js)
- Add it to mustach context
- Load list on template side (index.mst)
* Add unit tests for customScripts
* Code review edits : generic behavior for theme.page.[css|scripts]
- Use the same way to share css and javascript files from a theme
- Allow string instead of array for theme.page.scripts
- Remove old customScript field
2017-04-10 15:46:44 +01:00
Nick O'Leary
67337e013a
Merge branch 'master' into 0.17
2017-04-10 15:45:21 +01:00
Andrey Bezugliy
f987fa13ea
Resolve dir argument of getLocalNodeFiles function ( #1216 )
...
* Resolve dir argument of getLocalNodeFiles function
The getLocalNodeFiles is called 3 times. Each time it called, the callee needs to resolve the dir argument.
That was not done for several of calls, and local modules (specified in the "nodesDir" setting) were not returned to client because of that.
This fix will allow to make sure the dir is consistently resolved.
* Several changes in "localfilesystem_spec.js":
- Changed checkNodes to verify that every node's file property is resolved, i.e. containst absolute path, not relative.
- Added a unit-test "Finds nodes in settings.nodesDir (string,relative path)"
2017-04-10 15:41:20 +01:00
Nick O'Leary
73dfe631ce
Add .trace and .debug to Node prototype
2017-04-10 15:32:40 +01:00
Nick O'Leary
83ca8147ca
Merge branch 'pr_1197' into 0.17
2017-04-10 15:25:19 +01:00
Nick O'Leary
262db23f7d
First pass of new node-info style
2017-04-05 16:19:23 +01:00
Nick O'Leary
b9379f2ddf
Provide notification when new flows deployed in the background
2017-03-17 21:29:03 +00:00
Kazuki-Nakanishi
38a950a6dc
Add description to flow same as subflow
2017-03-17 01:29:19 +09:00
Nick O'Leary
07d131c945
Update jsonata
2017-03-12 22:04:38 +00:00
Ben Hardill
a5d9e17a8c
Allow nodes to have translations not in core ( #1183 )
...
* Allow nodes to have translations not in core
Currently only languages in the core are checked when
the editor requests a translation. This means that if
a node includes more translations they are not checked.
This change removes the check against that short list,
but it only checks the first language from the browser
suported list
* remove whitespace
2017-03-12 22:04:37 +00:00
Kazuhito Yokoi
a82926dd0d
Modify Japanese translation file for editor
2017-03-12 22:04:37 +00:00
Nick O'Leary
5c2e7ce407
Update jsonata
2017-03-12 22:03:14 +00:00
Nick O'Leary
5356373681
Finalise nodeSettings and update tlsConfigDisableLocalFiles
...
- increase test coverage around registerType
2017-03-09 21:06:49 +00:00
Nick O'Leary
e55933706d
Merge branch 'nodeSettings' into 0.17
2017-03-09 20:00:54 +00:00
Kazuki-Nakanishi
3b3d696e45
Add the node setting tlsConfigDisableLocalFiles for tls node. ( #1190 )
...
* Add the node setting tlsConfigDisableLocalFiles for tls node.
* Fix the bug that shows node setting when specified in settings.js and exportable is false.
2017-03-09 19:58:34 +00:00
Kazuki-Nakanishi
34089aec70
Allow a node to declare what settings should be made available to the editor. ( #1185 )
...
* Implement register/exportNodeSettings.
* Change normaliseRegisterTypeName to normaliseNodeTypeName. Force it to name in a camel case.
2017-03-08 14:38:33 +00:00
kazuhitoyokoi
7a10636128
Add node whitelist function ( #1184 )
2017-03-08 10:00:00 +00:00
Ben Hardill
604ba7f4bc
Allow nodes to have translations not in core ( #1183 )
...
* Allow nodes to have translations not in core
Currently only languages in the core are checked when
the editor requests a translation. This means that if
a node includes more translations they are not checked.
This change removes the check against that short list,
but it only checks the first language from the browser
suported list
* remove whitespace
2017-03-08 09:58:39 +00:00
Nick O'Leary
bd4c578230
NLS messages for Flow enabled/disable
2017-03-06 15:55:38 +00:00
Nick O'Leary
7698990e37
Allows flows to be enabled/disabled in the runtime
2017-03-06 15:29:05 +00:00
Kazuhito Yokoi
01a177adfb
Modify Japanese translation file for editor
2017-03-06 11:18:23 +00:00
Nick O'Leary
73501f3ad3
Resync with master
2017-03-01 17:45:09 +00:00
Nick O'Leary
54ee655472
Log error stack traces if verbose flag is set
2017-03-01 17:00:27 +00:00
Nick O'Leary
571b9fb8e0
Merge pull request #1122 from CANDY-LINE/feature/i18n-issue
...
Fix empty extra node help content issue
2017-03-01 16:38:08 +00:00
Nick O'Leary
fca77a868f
Allow a node to declare settings that should be exported
2017-03-01 15:01:07 +00:00
mblackstock
2bde07561f
UI to upload certificates and keys for TLS, and send them to node red in configuration properties to store them in credentials file
...
by default upload buttons will be shown unless a cert or key path is already set
added new settings flag called 'tlsDisableLocalFiles' to disable UI for local paths for cloud hosted NR
2017-02-28 12:21:34 -08:00
Nick O'Leary
869fdbcc6a
Remove event passing for icons/examples from the api layer
2017-02-15 23:07:50 +00:00
Nick O'Leary
fbd159a23a
Add placeholder text on label inputs and clear buttons
2017-02-08 10:48:26 +00:00
Nick O'Leary
185b16a858
Keep port label form in sync with output reordering
2017-02-08 10:48:25 +00:00
Nick O'Leary
0643f149b7
Extract line number if available from node load errors
2017-01-30 09:37:08 +00:00
Nick O'Leary
f2235dacdc
Shuffle promises for creating default package.json
2017-01-28 14:21:22 +00:00
Nick O'Leary
85b2a03a42
Create a package.json file in userDir if one doesn't exist
2017-01-27 22:35:17 +00:00
Nick O'Leary
ddb2ea4b5f
autoInstallModules option must honour version/pending_version
2017-01-25 11:07:02 +00:00
Nick O'Leary
a69683183f
Refuse to update a non-local node module
2017-01-24 22:50:40 +00:00
Nick O'Leary
e27f5d0460
Add node module update api and expose in palette editor
2017-01-21 23:46:44 +00:00
Daisuke Baba
5ba9a0eb3f
Fix empty extra node help content issue
2017-01-19 16:55:57 +09:00
Nick O'Leary
11f4ae019c
Include module name in requests for node icons
2017-01-18 13:06:22 +00:00
Nick O'Leary
d6f6b41145
Fix inner reference in install fail message catalog entry
...
Fixes #1120
2017-01-17 09:54:17 +00:00
Nick O'Leary
4b64aad5ce
Change hard error to verbose warning if using old node.js level
2017-01-14 23:57:39 +00:00
Nick O'Leary
f699516fdb
Add node.js version check on startup
2017-01-12 10:40:04 +00:00
Nick O'Leary
0a96259ddf
Update copyright header for JS Foundation
2017-01-11 15:24:33 +00:00
Nick O'Leary
3cd53f617a
Include unassigned keys to shortcut dialog
2017-01-11 11:41:25 +00:00
Nick O'Leary
b1684e82d8
Dynamically generate keyboard shortcut help dialog
2017-01-11 11:35:48 +00:00
Nick O'Leary
28678acf74
Add debug logging around flow revision ids
2017-01-10 14:20:51 +00:00
Nick O'Leary
75855d5450
Initialise nodeApp regardless of httpAdmin setting
...
Closes #1096 #1095
2017-01-09 22:22:49 +00:00
Nick O'Leary
e45cb7fac1
Ensure flows exist before delegating status/error events
...
Fixes #1069
2017-01-09 16:39:41 +00:00
Nick O'Leary
0e1013a570
Add install/remove dialog to increase friction
...
Closes #1109
2017-01-09 13:41:20 +00:00
zuhito
3c96218338
Add Japanese translation file(editor.json) ( #1084 )
2017-01-08 23:02:07 +00:00
Nick O'Leary
f0a4ea099c
Fix whitespace in localfilesystem
2017-01-08 23:01:28 +00:00
btsimonh
c8d6693fba
fix bug where savesettings did not honor local settings variables ( #1073 )
...
* fix bug where savesettings did not honor local settings variables
* don't create lib/flows on read; It's already created in localfilesystem.init and in saveLibraryEntry -
so removed call to promiseDir, and added a return of [] if accessing a folder which did not exist.
This is important because else when settings.readOnly is true, it still creates folders.
* Fix a CI failure where path passed to getLibraryEntry is empty;
treat this case as meaning it was wanting a folder, and return empty if the folder dioes not exist
* Add a test for getLibraryEntry( type, '/' ) as called by node-red
* change newsettings to camelCase newSettings
2017-01-08 23:00:27 +00:00
Nick O'Leary
81bbdfe413
Tidy up unused/duplicate editor messages
...
Closes #922
2017-01-08 22:54:46 +00:00
Nick O'Leary
1e37fed90b
Report node catalogue load errors
...
Closes #1009
2017-01-08 20:51:31 +00:00
Nick O'Leary
73a41707e5
Property expressions must not be blank
2017-01-06 21:58:17 +00:00
Nick O'Leary
c989c533e8
Properly report module remove errors in palette editor
...
Fixes #1043
2017-01-06 16:53:54 +00:00
Nick O'Leary
4c6157a06e
Tidy up merge commit of validatePropertyExpression
2017-01-06 14:32:37 +00:00
Nick O'Leary
e73216d4c1
Merge branch 'master' into 0.16
2017-01-06 14:30:13 +00:00
Nick O'Leary
d131addd63
Allow tips to be enabled/disabled via menu option
2017-01-06 13:33:23 +00:00
Nick O'Leary
0c7705beff
Allow quoted property expressions
...
Fixes #1101
2017-01-06 11:23:53 +00:00
Nick O'Leary
555f96cfaf
Info-tips update
2017-01-05 23:33:19 +00:00
Nick O'Leary
59ffacb3df
Fix merge conflicts
2017-01-05 10:07:23 +00:00
Nick O'Leary
83acb66f00
NLS the diff dialog
2017-01-04 22:02:35 +00:00
Nick O'Leary
215c8fd261
NLS type search
2017-01-01 22:14:33 +00:00
Nick O'Leary
31a72b6562
Three-way-diff
2017-01-01 00:20:12 +00:00
Josh
f143a6ba08
update welcome message to use logger so it can be turned off/on if required ( #1083 )
2016-12-23 11:31:23 +00:00
Nick O'Leary
c720d78c39
Ensure runtime event notification gets cleared on restart
2016-12-05 14:39:34 +00:00
Nick O'Leary
8d21e441a0
Add notification when runtime stopped due to missing types
...
Part of #832
2016-12-05 13:24:24 +00:00
Nick O'Leary
564902b886
Allow $ and _ at start of property identifiers
...
Fixes #1063
2016-11-21 21:36:18 +00:00
Dave Conway-Jones
8d5286703f
reimplement $(env var) replace to share common code.
...
and add test to utils
2016-11-17 13:56:17 +00:00
Dave Conway-Jones
74f2180fa4
Fix error message for missing node html file, and add test.
...
To close #1053
2016-11-16 22:46:01 +00:00
Dave Conway-Jones
d042169f2e
Let credentials also use $(...) substitutions from ENV
...
to close #1051
(and add to test)
2016-11-16 21:47:13 +00:00
Nick O'Leary
eeaff6b553
Add insert-function button to expression editor
2016-11-16 14:54:51 +00:00
Nick O'Leary
6efd048fd6
Rename insecureRedirect to requireHttps
2016-11-16 14:24:27 +00:00
Paul Slater
6e9e694f66
Add setting to cause insecure redirect ( #1054 )
...
* add support for editor insecure redirect setting
set insecureRedirect: true to cause the editor app to redirect insecure connections
* document insecureRedirect
* use req.originalUrl instead of req.url
url has the path removed, whereas originalUrl preserves the path - ie /red
2016-11-16 14:17:47 +00:00
telogis-nodered
44a0f1b505
Palette editor fixes ( #1033 )
...
* ensure remove button is only enabled for local modules when refreshing palette editor
* ensure local field is propagated to the nodes when a new module is added to the registry
2016-11-16 14:12:31 +00:00
Nick O'Leary
26f5305593
Add jsonata function help
2016-11-15 23:22:25 +00:00
Dave Conway-Jones
db2425c473
Seperated info messages to their own file
...
auto detect size still needs work
2016-11-14 19:10:02 +00:00
Nick O'Leary
bf90509526
Add jsonata support to Change/Switch nodes
2016-11-10 23:58:34 +00:00
Nick O'Leary
f9e09e87d6
Hit enter to edit first node in selection
2016-11-07 21:51:03 +00:00
Ben Hardill
0a5a42b32a
Fix node.error() not printing when passed false ( #1037 )
...
This should fix #1036
2016-11-07 18:28:35 +00:00
Nick O'Leary
1c3a97a71a
Make red.min.js a reusable library
2016-11-03 14:34:37 +00:00
Nick O'Leary
3ab0d0d865
Handle missing httpNodeRoot setting properly
2016-10-21 13:50:47 +01:00
Nick O'Leary
fc9835512d
Add work-in-progress update button to palette-editor
2016-10-21 10:29:26 +01:00
Nick O'Leary
5f0cab8cc2
Add log.removeHandler function
2016-10-20 23:31:40 +01:00
Nick O'Leary
bd391963bc
Add Crtl/Shift/p shortcut for manage palette
2016-10-20 14:01:37 +01:00
Nick O'Leary
67d5b39c96
Status messages from nodes in subflows not delegated properly
...
Fixes #1016
2016-10-19 21:06:45 +01:00
Nick O'Leary
49f72881f4
Disable palette editor if npm not found
2016-10-12 22:30:32 +01:00
Nick O'Leary
5344949c71
Tidy up /flows api responses
2016-10-12 10:24:10 +01:00
Nick O'Leary
8e7d52e645
Avoid reencyrpting credentials if they haven't changed
2016-10-11 14:27:35 +01:00
Nick O'Leary
85b1c1fe97
Increase default apiMaxLength to 5mb and add to default settings
...
Closes #1001
2016-10-10 10:14:08 +01:00
Nick O'Leary
f2d36b84b5
Don't hide install button on already-installed node modules
2016-10-09 22:23:47 +01:00