mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 21:40:23 +01:00
Compare commits
3 Commits
custom-use
...
v1.10.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e6d72552e | ||
|
|
e0d642c78a | ||
|
|
134c74358e |
@@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user