<commit_before>// var Notification = require('../../../general/server/providers/notify.js').Notification;
// var Notify = new Notification();
var config = require('meanio').loadConfig();
var notifications = require('notifications')({rocketChat: config.rocketChat});
var projectController = require('./project.js');
var hiSettings = require(process.cwd() + '/config/hiSettings') || {};

var mongoose = require('mongoose'),
  Schema = mongoose.Schema,
  Message = mongoose.model('Message'),
  Project = mongoose.model('Project'),
  Task = require('../models/task'),
  _ = require('lodash');
var UserCreator = mongoose.model('User');

//Made By OHAD

exports.read = function(req, res, next) {

  Message.find({
    title: req.user._id
  }).sort('time').populate('user', 'name username').exec(function(err, messages) {<commit_msg>root-notifications<commit_after>// var Notification = require('../../../general/server/providers/notify.js').Notification;
// var Notify = new Notification();
var config = require('meanio').loadConfig();
var notifications = require('root-notifications')({rocketChat: config.rocketChat});
var projectController = require('./project.js');
var hiSettings = require(process.cwd() + '/config/hiSettings') || {};

var mongoose = require('mongoose'),
  Schema = mongoose.Schema,
  Message = mongoose.model('Message'),
  Project = mongoose.model('Project'),
  Task = require('../models/task'),
  _ = require('lodash');
var UserCreator = mongoose.model('User');

//Made By OHAD

exports.read = function(req, res, next) {

  Message.find({
    title: req.user._id
  }).sort('time').populate('user', 'name username').exec(function(err, messages) {
{'fraction_non_alphanumeric': 0.19253910950661854, 'fraction_numerical': 0.0, 'mean_word_length': 5.047272727272727, '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': '3014872', 'n_tokens_mistral': 498, 'n_tokens_neox': 497, 'n_words': 102}