<commit_before>/*****************************************************************************/
/* Files Collection */
/*****************************************************************************/

Files = new FS.Collection("files", {
	stores: [
		new FS.Store.GridFS("files", {})
	],
	filter: {
		allow: {
			contentTypes: [
				'application/pdf',
				// MS Office standard files
				'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
				'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
				'application/vnd.openxmlformats-officedocument.presentationml.presentation',
				'application/msword',
				'application/vnd.ms-excel',
				'application/vnd.ms-powerpoint',
				// iWork standard files
				'application/x-iwork-keynote-sffkey',
				'application/x-iwork-pages-sffpages',
				'application/x-iwork-numbers-sffnumbers'
			]
		}
	}
});<commit_msg>To much of a hazzle to include iWork MIME types. Seems CollectionFS don't detect the MIME type correctly<commit_after>/*****************************************************************************/
/* Files Collection */
/*****************************************************************************/

Files = new FS.Collection("files", {
	stores: [
		new FS.Store.GridFS("files", {})
	],
	filter: {
		allow: {
			contentTypes: [
				'application/pdf',
				// MS Office standard files
				'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
				'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
				'application/vnd.openxmlformats-officedocument.presentationml.presentation',
				'application/msword',
				'application/vnd.ms-excel',
				'application/vnd.ms-powerpoint',
			]
		}
	}
});
{'fraction_non_alphanumeric': 0.2961672473867596, 'fraction_numerical': 0.0, 'mean_word_length': 4.781879194630872, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4249622', 'n_tokens_mistral': 579, 'n_tokens_neox': 464, 'n_words': 69}