Skip to content

florisweb/JLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JLP

Problems:

  • XSS in the info-field in the wordInfoMenu

======== DEFINITIONS ========

Frontend:
	Word ={
	  character: string,
	  meanings: string[],
	  readings: string[],
	  type: number,

	  readingInfo?: string,
	  meaningInfo?: string
	}

Backend:
	Word = {
	  character: string,
	  meanings: string[],
	  readings: string[],
	  type: number,

	  readingInfo?: string,
	  meaningInfo?: string,
	}
	
	TrainerWord: LearnedWords & toLearnWords
	{
		word: Backend.Word,
		lastReviewTime: PHP.time,
	  	meaningKnowledgeLevel: number
		readingKnowledgeLevel: number
	}

DB:

  • userList
    • LearnedWords & toLearnWords { wordId: .., lastReviewTime: PHP.time, meaningKnowledgeLevel: number readingKnowledgeLevel: number }