summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Collapse)Author
2023-12-28Organize review sectionThanos Apollo
move gnosis-compare-strings above review section
2023-12-28Add gnosis-compare-stringsThanos Apollo
Compare two strings, ignoring case & whitespace
2023-12-28basic: Display user-input with directions after reviewThanos Apollo
2023-12-28display: Update display funcs with new facesThanos Apollo
- Use gnosis-face-false & gnosis-face-correct - Add gnosis-face-hint - Add gnosis-face-directions
2023-12-28cloze: Update regex for cloze cardsThanos Apollo
This fixes previous issues, now we can use anki-like clozes & {c1:cloze} format without any issue
2023-12-27Add gnosis-display--hintThanos Apollo
2023-12-27Add gnosis-display--basic-answerThanos Apollo
2023-12-27Add gnosis-review-basicThanos Apollo
2023-12-27Add gnosis-add-note-basicThanos Apollo
2023-12-27Rename gnosis-face-cloze-false/correct to gnosis-face-correct/falseThanos Apollo
2023-12-27Add gnosis-display--cloze-user-answerThanos Apollo
2023-12-27Add gnosis-display--cloze-correctThanos Apollo
2023-12-27Redo cloze input to return result & user-inputThanos Apollo
Return (cons result user-input), user-input will be displayed when result is nil, meaning failed review
2023-12-27Add gnosis-cloze-remove-tagsThanos Apollo
2023-12-27Rewrite gnsois-cloze-extract-cardsThanos Apollo
2023-12-27Add while loop for adding notesThanos Apollo
2023-12-27Add custom gnosis-cloze-charThanos Apollo
2023-12-27Add with-gnosis-buffer macro & updat display funcsThanos Apollo
2023-12-27Redo gnosis-review-cloze--inputThanos Apollo
Return t or nil depending on user input, this will be used on cl-loop, otherwise depending on this function for a sentence wiht multiple clozes would be a mess
2023-12-27Update MCQ for new functions & schemasThanos Apollo
With this commit, as of now, gnosis can be used to review MCQ type notes properly.
2023-12-27Add gnosis-review--updateThanos Apollo
Function to update card no matter the type, depending on success value update columns/rows using gnosis algorithm
2023-12-27algorithm: Use consecutive successful reviewsThanos Apollo
Use consecutive successful to calculate next interval, for now just the first 2.
2023-12-27Add gnosis-cloze-replace-wordsThanos Apollo
2023-12-27Add gnosis-cloze-extract-answersThanos Apollo
2023-12-27[fix] gnosis-review-due-notes fix typo & make sure suspend value 0Thanos Apollo
2023-12-27Add gnosis-add-note-clozeThanos Apollo
Function to add cloze type notes
2023-12-27db: Update review-log schemaThanos Apollo
Add: - Total number of successful reviews & failures - Consecutive successful reviews & failures
2023-12-27Add gnosis-add-note-fieldsThanos Apollo
Function to add fields for each new note, simplifying the creation of different note types
2023-12-27mcq: Update display of correct answerThanos Apollo
2023-12-26[fix] Return suspend as integer value, fix dosctrings and minor bugsThanos Apollo
2023-12-26[Fix] emacsql for issue #113Thanos Apollo
issue: https://github.com/magit/emacsql/issues/113 - Add emacsql as snapshot - Use emacsql-sqlite-open
2023-12-25gnosis-review-get-due-notes: Update to not include suspended notesThanos Apollo
2023-12-25change default suspend value to nilThanos Apollo
2023-12-25Add gnosis-dir & subdirectorites/filesThanos Apollo
All files for gnosis will be located in gnosis-dir
2023-12-25gnosis-display--correct-answer-mcq: Display user-choice as wellThanos Apollo
2023-12-25Add gnosis-display--imageThanos Apollo
Images need to be at gnosis-images-dir
2023-12-25gnosis-ad-note-mcq: Add key image with default value of nilThanos Apollo
image value would be the path of image inside gnosis-images-dir
2023-12-25gnosis-review: add 0.5 delayThanos Apollo
2023-12-25Update gnosis-review with gnosis-display & remove unnecessary delaysThanos Apollo
2023-12-25Add gnosis-display--correct-answer-mcqThanos Apollo
2023-12-25gnosis-add-note-mcq: Add suspend key with default value of 0Thanos Apollo
When importing/sharing notes, the default value should be 1 This will be used in the future for new functions to add export/import functionality
2023-12-25Add gnosis-facesThanos Apollo
2023-12-25Add gnosis-display--extraThanos Apollo
2023-12-25Redo gnosis--get-deck-id as cl-defunThanos Apollo
2023-12-25Redo gnosis-display--questionThanos Apollo
Use fill-paragraph
2023-12-25gnosis-review: Add y-or-n-p for review next noteThanos Apollo
Prompt user for y or n to review next note - Give time to read extra section
2023-12-25Add gnosis--promptThanos Apollo
Replace old gnosis--ask-input with new prompt function. - Uses cl-loop heavily but it's clean to read, at least compared to other pure emacs lisp code I've tried before - Optionally downcase & split string input, used for tags
2023-12-25gnosis-add-note-mcq: Add 'extra' argumentThanos Apollo
-'extra' argument refers to extra information that will be displayed after the question's correct answer is displayed. Refers to extra information to clarify why an answer is the correct one. -Inserted into 'extras' table as string. - Removed unneeded let statements
2023-12-25schema-notes: Set deck-id to :not-nullThanos Apollo
2023-12-25Set id as primary-key for all schemasThanos Apollo