mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
admin: Add etherpad update check
This update check notifies admin on startup (via console) or in /admin UI that they need to update Etherpad.
This commit is contained in:
parent
8deac52c84
commit
cffd04446e
4 changed files with 53 additions and 2 deletions
|
@ -21,8 +21,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
var log4js = require('log4js')
|
||||
const log4js = require('log4js')
|
||||
, NodeVersion = require('./utils/NodeVersion')
|
||||
, UpdateCheck = require('./utils/UpdateCheck')
|
||||
;
|
||||
|
||||
log4js.replaceConsole();
|
||||
|
@ -38,6 +39,9 @@ NodeVersion.enforceMinNodeVersion('10.13.0');
|
|||
*/
|
||||
NodeVersion.checkDeprecationStatus('10.13.0', '1.8.3');
|
||||
|
||||
// Check if Etherpad version is up-to-date
|
||||
UpdateCheck.check();
|
||||
|
||||
/*
|
||||
* start up stats counting system
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue