Compare commits

...

3 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
5e6d72552e backport plugin install fix #6620
https://github.com/NodeBB/NodeBB/issues/6620
2018-07-02 21:37:36 -04:00
Barış Soner Uşaklı
e0d642c78a backport fix runJobs 2018-06-29 15:51:09 -04:00
Misty (Bot)
134c74358e Incremented version number - v1.10.0 2018-06-27 18:28:46 +00:00
3 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
"name": "nodebb", "name": "nodebb",
"license": "GPL-3.0", "license": "GPL-3.0",
"description": "NodeBB Forum", "description": "NodeBB Forum",
"version": "1.9.3", "version": "1.10.0",
"homepage": "http://www.nodebb.org", "homepage": "http://www.nodebb.org",
"repository": { "repository": {
"type": "git", "type": "git",
@@ -145,4 +145,4 @@
"url": "https://github.com/barisusakli" "url": "https://github.com/barisusakli"
} }
] ]
} }

View File

@@ -268,7 +268,7 @@ define('admin/extend/plugins', ['jqueryui', 'translator', 'benchpress'], functio
}; };
Plugins.suggest = function (pluginId, callback) { Plugins.suggest = function (pluginId, callback) {
var nbbVersion = app.config.version.match(/^\d\.\d\.\d/); var nbbVersion = app.config.version.match(/^\d+\.\d+\.\d+/);
$.ajax((app.config.registry || 'https://packages.nodebb.org') + '/api/v1/suggest', { $.ajax((app.config.registry || 'https://packages.nodebb.org') + '/api/v1/suggest', {
type: 'GET', type: 'GET',
data: { data: {

View File

@@ -67,7 +67,7 @@ function loadConfig(configFile) {
}); });
nconf.stores.env.readOnly = true; nconf.stores.env.readOnly = true;
nconf.set('runJobs', nconf.get('isPrimary') && !nconf.get('jobsDisabled')); nconf.set('runJobs', nconf.get('isPrimary') === 'true' && !nconf.get('jobsDisabled'));
} }
function versionCheck() { function versionCheck() {