<commit_before>'use strict';

var
	$ = require('jquery'),
	ko = require('knockout'),
			
	AppData = window.pSevenAppData,
	
	bRtl = $('html').hasClass('rtl')
;

module.exports = {
	Modules: {
		Auth: {
			AllowRegistration: false,
			AllowPasswordReset: false,
			LoginDescription: '',
			AllowLanguageOnLogin: false,
			FlagsLangSelect: false,
			LoginStyleImage: '',
			LoginFormType: 0,// Enums.LoginFormType.Email,
			LoginAtDomainValue: '',
			LoginSignMeType: 1,// Enums.LoginSignMeType.DefaultOn,
			DemoWebMailLogin: '',
			DemoWebMailPassword: '',
			RegistrationQuestions: [],
			RegistrationDomains: []
		},
		OpenPgp: {
			enableOpenPgp: ko.observable(true)
		},
		Mail: {
			ShowQuotaBar: true, //todo: account level
			useThreads: ko.observable(true),
			MailsPerPage: 20,
			AllowAutosaveInDrafts: true,
			AutoSaveIntervalSeconds: 60,
			AllowCompose: true,
			AllowUsersChangeEmailSettings: true,
			MailExpandFolders: true,
			AllowFetcher: false,
			AllowIdentities: false,
			MaxPrefetchBodiesSize: 50000,
			DefaultFontName: 'Tahoma',
			DefaultFontSize: 3,
			AllowInsertImage: true,
			AllowChangeInputDirection: true,
			ImageUploadSizeLimit: 0,
			AutosignOutgoingEmails: false,
			JoinReplyPrefixes: true,
			SaveRepliedToCurrFolder: false,
			AttachmentSizeLimit: 0,
			ComposeToolbarOrder: ['back', 'send', 'save', 'importance', 'MailSensitivity', 'confirmation', 'OpenPgp'],
		},
		Contacts: {
			Storages: ['personal', 'global', 'shared'],
			ContactsPerPage: 20,
			ImportingContactsLink: AppData && AppData['Links'] && AppData['Links']['ImportingContacts'] ? AppData['Links']['ImportingContacts'] : ''
		},
		Calendar: {
			CalendarPubHash: AppData.CalendarPubHash,
			AllowCalendar: true,
			CalendarSharing: true,
			CalendarDefaultTab: 1,
			CalendarShowWeekEnds: true,
			CalendarWeekStartsOn: 7,
			CalendarShowWorkDay: true,
			CalendarWorkDayStarts: '09',
			CalendarWorkDayEnds: '18',
			CalendarAppointments: true<commit_msg>JS - Core - Fetchers & Identities was switched on<commit_after>'use strict';

var
	$ = require('jquery'),
	ko = require('knockout'),
			
	AppData = window.pSevenAppData,
	
	bRtl = $('html').hasClass('rtl')
;

module.exports = {
	Modules: {
		Auth: {
			AllowRegistration: false,
			AllowPasswordReset: false,
			LoginDescription: '',
			AllowLanguageOnLogin: false,
			FlagsLangSelect: false,
			LoginStyleImage: '',
			LoginFormType: 0,// Enums.LoginFormType.Email,
			LoginAtDomainValue: '',
			LoginSignMeType: 1,// Enums.LoginSignMeType.DefaultOn,
			DemoWebMailLogin: '',
			DemoWebMailPassword: '',
			RegistrationQuestions: [],
			RegistrationDomains: []
		},
		OpenPgp: {
			enableOpenPgp: ko.observable(true)
		},
		Mail: {
			ShowQuotaBar: true, //todo: account level
			useThreads: ko.observable(true),
			MailsPerPage: 20,
			AllowAutosaveInDrafts: true,
			AutoSaveIntervalSeconds: 60,
			AllowCompose: true,
			AllowUsersChangeEmailSettings: true,
			MailExpandFolders: true,
			AllowFetcher: true,
			AllowIdentities: true,
			MaxPrefetchBodiesSize: 50000,
			DefaultFontName: 'Tahoma',
			DefaultFontSize: 3,
			AllowInsertImage: true,
			AllowChangeInputDirection: true,
			ImageUploadSizeLimit: 0,
			AutosignOutgoingEmails: false,
			JoinReplyPrefixes: true,
			SaveRepliedToCurrFolder: false,
			AttachmentSizeLimit: 0,
			ComposeToolbarOrder: ['back', 'send', 'save', 'importance', 'MailSensitivity', 'confirmation', 'OpenPgp'],
		},
		Contacts: {
			Storages: ['personal', 'global', 'shared'],
			ContactsPerPage: 20,
			ImportingContactsLink: AppData && AppData['Links'] && AppData['Links']['ImportingContacts'] ? AppData['Links']['ImportingContacts'] : ''
		},
		Calendar: {
			CalendarPubHash: AppData.CalendarPubHash,
			AllowCalendar: true,
			CalendarSharing: true,
			CalendarDefaultTab: 1,
			CalendarShowWeekEnds: true,
			CalendarWeekStartsOn: 7,
			CalendarShowWorkDay: true,
			CalendarWorkDayStarts: '09',
			CalendarWorkDayEnds: '18',
			CalendarAppointments: true
{'fraction_non_alphanumeric': 0.12632375189107414, 'fraction_numerical': 0.011094301563287948, 'mean_word_length': 4.699712643678161, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1026384', 'n_tokens_mistral': 1571, 'n_tokens_neox': 1302, 'n_words': 249}