kopia lustrzana https://github.com/c9/core
c9-auto-bump 3.0.825
rodzic
b0108959bc
commit
d80711700d
|
@ -21,10 +21,11 @@ We have several documentation resources for you:
|
||||||
<tr><th>SDK documentation</th><td>http://cloud9-sdk.readme.io/v0.1/docs</td></tr>
|
<tr><th>SDK documentation</th><td>http://cloud9-sdk.readme.io/v0.1/docs</td></tr>
|
||||||
<tr><th>API documentation</th><td>http://docs.c9.io/api</td></tr>
|
<tr><th>API documentation</th><td>http://docs.c9.io/api</td></tr>
|
||||||
<tr><th>User documentation</th><td>http://docs.c9.io</td></tr>
|
<tr><th>User documentation</th><td>http://docs.c9.io</td></tr>
|
||||||
|
<tr><th>User docs repo</th><td>https://github.com/c9/docs.c9.io</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
Please joing the mailinglist to get support or give support to the growing community of plugin developers:
|
Please joing the mailinglist to get support or give support to the growing community of plugin developers:
|
||||||
https://groups.google.com/forum/#!forum/cloud9-sdk
|
https://groups.google.com/forum/#!forum/cloud9-plugin-development
|
||||||
|
|
||||||
#### Installation ####
|
#### Installation ####
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
"c9.ide.find": "#be3bca94b7",
|
"c9.ide.find": "#be3bca94b7",
|
||||||
"c9.ide.find.infiles": "#462928475c",
|
"c9.ide.find.infiles": "#462928475c",
|
||||||
"c9.ide.find.replace": "#fe41fa768d",
|
"c9.ide.find.replace": "#fe41fa768d",
|
||||||
"c9.ide.run.debug": "#9a05fadc55",
|
"c9.ide.run.debug": "#b734a2a47f",
|
||||||
"c9.ide.ace.emmet": "#e5f1a92ac3",
|
"c9.ide.ace.emmet": "#e5f1a92ac3",
|
||||||
"c9.ide.ace.gotoline": "#4d1a93172c",
|
"c9.ide.ace.gotoline": "#4d1a93172c",
|
||||||
"c9.ide.ace.keymaps": "#422e83553b",
|
"c9.ide.ace.keymaps": "#422e83553b",
|
||||||
|
|
|
@ -71,11 +71,6 @@ function plugin(options, imports, register) {
|
||||||
email: req.user.email
|
email: req.user.email
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else if (req.session) {
|
|
||||||
customData.user = {
|
|
||||||
id: req.session.uid
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
raygunClient.send(err, customData, function() {}, {
|
raygunClient.send(err, customData, function() {}, {
|
||||||
host: parsedUrl.hostname,
|
host: parsedUrl.hostname,
|
||||||
|
|
|
@ -139,12 +139,10 @@ define(function(require, exports, module) {
|
||||||
watch("~/.c9/plugins/" + pluginPath);
|
watch("~/.c9/plugins/" + pluginPath);
|
||||||
|
|
||||||
var cfg = options.plugins[path];
|
var cfg = options.plugins[path];
|
||||||
var host = vfs.baseUrl + "/";
|
cfg.packagePath = join(vfs.baseUrl, c9.projectId, "plugins",
|
||||||
var base = join(String(c9.projectId),
|
auth.accessToken, pluginPath.replace(/^plugins\//, ""));
|
||||||
"plugins", auth.accessToken);
|
cfg.staticPrefix = join(vfs.baseUrl, c9.projectId, "plugins",
|
||||||
|
auth.accessToken, name);
|
||||||
cfg.packagePath = host + join(base, pluginPath.replace(/^plugins\//, ""));
|
|
||||||
cfg.staticPrefix = host + join(base, name);
|
|
||||||
cfg.apikey = "0000000000000000000000000000=";
|
cfg.apikey = "0000000000000000000000000000=";
|
||||||
|
|
||||||
config.push(cfg);
|
config.push(cfg);
|
||||||
|
|
|
@ -66,11 +66,9 @@ define(function(require, exports, module) {
|
||||||
names.push(name);
|
names.push(name);
|
||||||
|
|
||||||
var path = options.packagePath + ".js";
|
var path = options.packagePath + ".js";
|
||||||
var host = vfs.baseUrl + "/";
|
var base = join(vfs.baseUrl, c9.projectId, "plugins", auth.accessToken);
|
||||||
var base = join(String(c9.projectId), "plugins", auth.accessToken);
|
options.packagePath = join(base, path.replace(/^plugins\//, ""));
|
||||||
|
options.staticPrefix = join(base, name);
|
||||||
options.packagePath = host + join(base, path.replace(/^plugins\//, ""));
|
|
||||||
options.staticPrefix = host + join(base, name);
|
|
||||||
|
|
||||||
if (!options.setup) {
|
if (!options.setup) {
|
||||||
wait++;
|
wait++;
|
||||||
|
|
|
@ -19,11 +19,9 @@ function Vfs(vfs, master, options) {
|
||||||
this.vfs = vfs;
|
this.vfs = vfs;
|
||||||
this.master = master;
|
this.master = master;
|
||||||
this.debug = options.debug || false;
|
this.debug = options.debug || false;
|
||||||
this.logger = options.logger || {log: function(){}};
|
|
||||||
this.readonly = options.readonly || false;
|
this.readonly = options.readonly || false;
|
||||||
this.public = options.public || false;
|
this.public = options.public || false;
|
||||||
this.vfsOptions = options.vfsOptions || {};
|
this.vfsOptions = options.vfsOptions || {};
|
||||||
this.pid = this.vfsOptions.pid;
|
|
||||||
var extendToken = options.extendToken;
|
var extendToken = options.extendToken;
|
||||||
|
|
||||||
this.homeDir = options.homeDir;
|
this.homeDir = options.homeDir;
|
||||||
|
@ -169,12 +167,6 @@ Vfs.prototype._createEngine = function(vfs, options) {
|
||||||
that.socket.disconnect();
|
that.socket.disconnect();
|
||||||
|
|
||||||
that.socket = socket;
|
that.socket = socket;
|
||||||
socket.on('close', function (reason, description) {
|
|
||||||
var logMetadata = {collab: options.collab, reason: reason, description: description, id: that.id, sid: socket.id, pid: that.pid};
|
|
||||||
console.log("Socket closed", logMetadata);
|
|
||||||
logMetadata.message = "Socket closed";
|
|
||||||
that.logger.log(logMetadata);
|
|
||||||
});
|
|
||||||
|
|
||||||
var transport = new smith.EngineIoTransport(socket, true);
|
var transport = new smith.EngineIoTransport(socket, true);
|
||||||
var worker = new VfsWorker(vfs);
|
var worker = new VfsWorker(vfs);
|
||||||
|
@ -193,10 +185,7 @@ Vfs.prototype._createEngine = function(vfs, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
worker.on("disconnect", function() {
|
worker.on("disconnect", function() {
|
||||||
var logMetadata = {collab: options.collab, id: that.id, sid: socket.id, pid: that.pid};
|
console.log("VFS socket disconnect:", options.collab, that.id, socket.id);
|
||||||
console.log("VFS socket disconnect:", logMetadata);
|
|
||||||
logMetadata.message = "VFS socket disconnect";
|
|
||||||
that.logger.log(logMetadata);
|
|
||||||
if (options.collab) {
|
if (options.collab) {
|
||||||
if (collabApi)
|
if (collabApi)
|
||||||
return disposeCollabClient();
|
return disposeCollabClient();
|
||||||
|
|
Ładowanie…
Reference in New Issue