summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Expand)Author
2023-12-28display: Update display funcs with new faces...- Use gnosis-face-false & gnosis-face-correct - Add gnosis-face-hint - Add gnosis-face-directions Thanos Apollo
2023-12-28cloze: Update regex for cloze cards...This fixes previous issues, now we can use anki-like clozes & {c1:cloze} format without any issue Thanos Apollo
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-input...Return (cons result user-input), user-input will be displayed when result is nil, meaning failed review Thanos Apollo
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--input...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 Thanos Apollo
2023-12-27Update MCQ for new functions & schemas...With this commit, as of now, gnosis can be used to review MCQ type notes properly. Thanos Apollo
2023-12-27Add gnosis-review--update...Function to update card no matter the type, depending on success value update columns/rows using gnosis algorithm Thanos Apollo
2023-12-27algorithm: Use consecutive successful reviews...Use consecutive successful to calculate next interval, for now just the first 2. Thanos Apollo
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-cloze...Function to add cloze type notes Thanos Apollo
2023-12-27db: Update review-log schema...Add: - Total number of successful reviews & failures - Consecutive successful reviews & failures Thanos Apollo
2023-12-27Add gnosis-add-note-fields...Function to add fields for each new note, simplifying the creation of different note types Thanos Apollo
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 #113...issue: https://github.com/magit/emacsql/issues/113 - Add emacsql as snapshot - Use emacsql-sqlite-open Thanos Apollo
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/files...All files for gnosis will be located in gnosis-dir Thanos Apollo
2023-12-25gnosis-display--correct-answer-mcq: Display user-choice as wellThanos Apollo
2023-12-25Add gnosis-display--image...Images need to be at gnosis-images-dir Thanos Apollo
2023-12-25gnosis-ad-note-mcq: Add key image with default value of nil...image value would be the path of image inside gnosis-images-dir Thanos Apollo
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 0...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 Thanos Apollo
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--question...Use fill-paragraph Thanos Apollo
2023-12-25gnosis-review: Add y-or-n-p for review next note...Prompt user for y or n to review next note - Give time to read extra section Thanos Apollo
2023-12-25Add gnosis--prompt...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 Thanos Apollo
2023-12-25gnosis-add-note-mcq: Add 'extra' argument...-'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 Thanos Apollo
2023-12-25schema-notes: Set deck-id to :not-nullThanos Apollo
2023-12-25Set id as primary-key for all schemasThanos Apollo
2023-12-25Add extras db schema...Table to hold data for: - Extra notes e.g Explanation for the answer - Images, path for image as a string Thanos Apollo
2023-12-25Message deck name upon addition/deletionThanos Apollo
2023-12-23Remove gnosis-test-bufferThanos Apollo