<commit_before>package app.restlike.rem

import java.io.Serializable
import java.nio.file.Paths

import app.restlike.common.Colours
import Colours._
import app.restlike.rem.Responder._
import im.mange.little.file.Filepath
import net.liftweb.common._
import net.liftweb.http._
import net.liftweb.json._
import org.joda.time.DateTime

import scala.collection.immutable

//TODO: Next
//update key
//update value
//tag
//detag
//other standard tagging stuff

//TODO: Then
//store things per user (think about globlal id vs user id)
//tidy up everything about status, ownership and releases

//TODO: could it be more about creating entities and add KV pairs to them
//TODO: implememt slack style tokens

object Messages {
  val eh = "eh?"

  def notAuthorised(who: String) = List(red(s"easy ${who}, please set your initials first: ") + "'rem aka pa'")
  def notFound(ref: String) = problem(s"issue not found: $ref")
  def descriptionEmpty = problem(s"description is empty")<commit_msg>todoing<commit_after>package app.restlike.rem

import java.io.Serializable
import java.nio.file.Paths

import app.restlike.common.Colours
import Colours._
import app.restlike.rem.Responder._
import im.mange.little.file.Filepath
import net.liftweb.common._
import net.liftweb.http._
import net.liftweb.json._
import org.joda.time.DateTime

import scala.collection.immutable

//TODO: Next
//update key
//update value
//tag
//detag
//other standard tagging stuff

//TODO: Then
//store things per user (think about globlal id vs user id)
//tidy up everything about status, ownership and releases

//TODO: could it be more about creating entities and add KV pairs to them
//TODO: implememt slack style tokens

//TODO: de-dupe
//pull out a clitools jar
//can we share serialisers and persistence? (put in common) .. might be hard

object Messages {
  val eh = "eh?"

  def notAuthorised(who: String) = List(red(s"easy ${who}, please set your initials first: ") + "'rem aka pa'")
  def notFound(ref: String) = problem(s"issue not found: $ref")
  def descriptionEmpty = problem(s"description is empty")
{'fraction_non_alphanumeric': 0.10752169720347156, 'fraction_numerical': 0.0, 'mean_word_length': 4.226700251889169, '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': '3421418', 'n_tokens_mistral': 675, 'n_tokens_neox': 652, 'n_words': 230}