import {
createUser, flushTests, killallServers, makeDeleteRequest, makeGetRequest, makePutBodyRequest, runServer, ServerInfo,
setAccessTokensToServers, userLogin, immutableAssign
-} from '../../utils'
+} from '../../../../shared/utils'
describe('Test config API validators', function () {
const path = '/api/v1/config/custom'
},
signup: {
enabled: false,
- limit: 5
+ limit: 5,
+ requiresEmailVerification: false
},
admin: {
email: 'superadmin1@example.com'
},
+ contactForm: {
+ enabled: false
+ },
user: {
- videoQuota: 5242881
+ videoQuota: 5242881,
+ videoQuotaDaily: 318742
},
transcoding: {
enabled: true,
+ allowAdditionalExtensions: true,
threads: 1,
resolutions: {
'240p': false,
'480p': true,
'720p': false,
'1080p': false
+ },
+ hls: {
+ enabled: false
}
},
import: {
videos: {
http: {
enabled: false
+ },
+ torrent: {
+ enabled: false
}
}
}