<commit_before>UploadsStore = new FS.Store.GridFS("uploads");

Uploads = new FS.Collection("uploads", {
  filter: {
    maxSize: 5000000, //bytes  5MB approx
    // allow: {
      // contentTypes: ['image/*'],
      // extensions: ['png', 'jpg'],
    // },
    onInvalid: function (message) {
      if (Meteor.isClient) {
        // TODO improve this!
        alert(message);
      } else {
        console.log(message);
      }
    }
  },
  stores: [UploadsStore],<commit_msg>allow 10MB uploads<commit_after>UploadsStore = new FS.Store.GridFS("uploads");

Uploads = new FS.Collection("uploads", {
  filter: {
    maxSize: 10000000, //bytes  10MB approx
    // allow: {
      // contentTypes: ['image/*'],
      // extensions: ['png', 'jpg'],
    // },
    onInvalid: function (message) {
      if (Meteor.isClient) {
        // TODO improve this!
        alert(message);
      } else {
        console.log(message);
      }
    }
  },
  stores: [UploadsStore],
{'fraction_non_alphanumeric': 0.16857440166493237, 'fraction_numerical': 0.02081165452653486, 'mean_word_length': 2.217391304347826, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '2002979', 'n_tokens_mistral': 331, 'n_tokens_neox': 308, 'n_words': 63}