Change default settings

Someone needs to generate the TypeORM migrations for me because I can't
get the sodding thing to work on my end and it's driving me absolutely
potty.
This commit is contained in:
~keith 2024-11-08 19:31:02 -05:00
parent 5d91293ca5
commit c345ca02e4
No known key found for this signature in database
3 changed files with 8 additions and 8 deletions

View file

@ -104,19 +104,19 @@ export class MiUserProfile {
public emailNotificationTypes: string[]; public emailNotificationTypes: string[];
@Column('boolean', { @Column('boolean', {
default: true, default: false,
}) })
public publicReactions: boolean; public publicReactions: boolean;
@Column('enum', { @Column('enum', {
enum: followingVisibilities, enum: followingVisibilities,
default: 'public', default: 'private',
}) })
public followingVisibility: typeof followingVisibilities[number]; public followingVisibility: typeof followingVisibilities[number];
@Column('enum', { @Column('enum', {
enum: followersVisibilities, enum: followersVisibilities,
default: 'public', default: 'private',
}) })
public followersVisibility: typeof followersVisibilities[number]; public followersVisibility: typeof followersVisibilities[number];

View file

@ -6,8 +6,8 @@
//store the URL and if its none of these its a custom one //store the URL and if its none of these its a custom one
export const searchEngineMap = { export const searchEngineMap = {
//The first one is the default search engine //The first one is the default search engine
'https://www.google.com/search?q={query}': 'Google',
'https://duckduckgo.com/?q={query}': 'Duckduckgo', 'https://duckduckgo.com/?q={query}': 'Duckduckgo',
'https://www.google.com/search?q={query}': 'Google',
'https://www.bing.com/search?q={query}': 'Bing', 'https://www.bing.com/search?q={query}': 'Bing',
'https://search.yahoo.com/search?p={query}': 'Yahoo', 'https://search.yahoo.com/search?p={query}': 'Yahoo',
'https://www.ecosia.org/search?q={query}': 'Ecosia', 'https://www.ecosia.org/search?q={query}': 'Ecosia',

View file

@ -146,7 +146,7 @@ export const defaultStore = markRaw(new Storage('base', {
}, },
reactionAcceptance: { reactionAcceptance: {
where: 'account', where: 'account',
default: 'nonSensitiveOnly' as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null, default: null as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
}, },
like: { like: {
where: 'account', where: 'account',
@ -162,11 +162,11 @@ export const defaultStore = markRaw(new Storage('base', {
}, },
showVisibilitySelectorOnBoost: { showVisibilitySelectorOnBoost: {
where: 'account', where: 'account',
default: true, default: false,
}, },
visibilityOnBoost: { visibilityOnBoost: {
where: 'account', where: 'account',
default: 'public' as 'public' | 'home' | 'followers', default: 'followers' as 'public' | 'home' | 'followers',
}, },
trustedDomains: { trustedDomains: {
where: 'account', where: 'account',
@ -277,7 +277,7 @@ export const defaultStore = markRaw(new Storage('base', {
}, },
animatedMfm: { animatedMfm: {
where: 'device', where: 'device',
default: false, default: !window.matchMedia('(prefers-reduced-motion)').matches,
}, },
advancedMfm: { advancedMfm: {
where: 'device', where: 'device',