|
|
|
@ -173,6 +173,9 @@ commands.SET_SUPPORT_MAILBOX = makeGenericSetter('supportMailbox', function (arg
|
|
|
|
|
return args_isString(args) && Core.isValidPublicKey(args[0]);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// CryptPad_AsyncStore.rpc.send('ADMIN', [ 'ADMIN_DECREE', ['SET_INSTANCE_PURPOSE', ["development"]]], console.log)
|
|
|
|
|
commands.SET_INSTANCE_PURPOSE = makeGenericSetter('instancePurpose', args_isString);
|
|
|
|
|
|
|
|
|
|
// Maintenance: Empty string or an object with a start and end time
|
|
|
|
|
var isNumber = function (value) {
|
|
|
|
|
return typeof(value) === "number" && !isNaN(value);
|
|
|
|
|