|
|
|
@ -5,37 +5,36 @@ import { instanceDefaultProperties } from './config.js'
|
|
|
|
|
|
|
|
|
|
const defaultState = {
|
|
|
|
|
// Stuff from static/config.json and apiConfig
|
|
|
|
|
name: 'Pleroma FE',
|
|
|
|
|
registrationOpen: true,
|
|
|
|
|
safeDM: true,
|
|
|
|
|
textlimit: 5000,
|
|
|
|
|
server: 'http://localhost:4040/',
|
|
|
|
|
theme: 'pleroma-dark',
|
|
|
|
|
themeData: undefined,
|
|
|
|
|
background: '/static/aurora_borealis.jpg',
|
|
|
|
|
logo: '/static/logo.png',
|
|
|
|
|
logoMask: true,
|
|
|
|
|
logoMargin: '.2em',
|
|
|
|
|
redirectRootNoLogin: '/main/all',
|
|
|
|
|
redirectRootLogin: '/main/friends',
|
|
|
|
|
showInstanceSpecificPanel: false,
|
|
|
|
|
alwaysShowSubjectInput: true,
|
|
|
|
|
hideMutedPosts: false,
|
|
|
|
|
background: '/static/aurora_borealis.jpg',
|
|
|
|
|
collapseMessageWithSubject: false,
|
|
|
|
|
disableChat: false,
|
|
|
|
|
greentext: false,
|
|
|
|
|
hideFilteredStatuses: false,
|
|
|
|
|
hideMutedPosts: false,
|
|
|
|
|
hidePostStats: false,
|
|
|
|
|
hideSitename: false,
|
|
|
|
|
hideUserStats: false,
|
|
|
|
|
hideFilteredStatuses: false,
|
|
|
|
|
disableChat: false,
|
|
|
|
|
logo: '/static/logo.png',
|
|
|
|
|
logoMargin: '.2em',
|
|
|
|
|
logoMask: true,
|
|
|
|
|
minimalScopesMode: false,
|
|
|
|
|
name: 'Pleroma FE',
|
|
|
|
|
nsfwCensorImage: undefined,
|
|
|
|
|
postContentType: 'text/plain',
|
|
|
|
|
redirectRootLogin: '/main/friends',
|
|
|
|
|
redirectRootNoLogin: '/main/all',
|
|
|
|
|
registrationOpen: true,
|
|
|
|
|
safeDM: true,
|
|
|
|
|
scopeCopy: true,
|
|
|
|
|
server: 'http://localhost:4040/',
|
|
|
|
|
showFeaturesPanel: true,
|
|
|
|
|
showInstanceSpecificPanel: false,
|
|
|
|
|
subjectLineBehavior: 'email',
|
|
|
|
|
postContentType: 'text/plain',
|
|
|
|
|
hideSitename: false,
|
|
|
|
|
nsfwCensorImage: undefined,
|
|
|
|
|
textlimit: 5000,
|
|
|
|
|
theme: 'pleroma-dark',
|
|
|
|
|
themeData: undefined,
|
|
|
|
|
vapidPublicKey: undefined,
|
|
|
|
|
noAttachmentLinks: false,
|
|
|
|
|
showFeaturesPanel: true,
|
|
|
|
|
minimalScopesMode: false,
|
|
|
|
|
greentext: false,
|
|
|
|
|
|
|
|
|
|
// Nasty stuff
|
|
|
|
|
pleromaBackend: true,
|
|
|
|
|