summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Expand)Author
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
2023-12-23Remove gnosis-review-update--last-rev...Unused function Thanos Apollo
2023-12-23Update review process for MCQ...- Update function names - Add message with total number of notes reviewed for session Thanos Apollo
2023-12-23Add gnosis-review-new-f...Calculate new ef for card id, based on SUCCESS. To make tracking easier, easiness factor is a list consisting of (ef-increase ef-decrease ef), where ef-increase & ef-decrease are used to calculate new ef upon review. Thanos Apollo
2023-12-23Add gnosis-review-round...Function to round arg to 1 decimal. Used for calculating new easiness factor (ef/new-ef) Thanos Apollo
2023-12-23Add updates for successful reviews & add note-count...- Add note-count for gnosis-review, output total number of notes reviewed for session. This could also be tracked to keep track progress - Upon review update db for last-rev, next-rev and the new-ef. This function may change to just gnosis-review--update, where based on an argument updates db for failed/successful review Thanos Apollo
2023-12-23gnosis-update: Update docstringsThanos Apollo
2023-12-23gnosis-review: remove testing for idThanos Apollo
2023-12-19Add gnosis-review-update--last-revThanos Apollo
2023-12-19Add gnosis-review--successThanos Apollo
2023-12-19Add gnosis-review--new-efThanos Apollo
2023-12-19Add gnosis-review--get-offsetThanos Apollo
2023-12-19Add gnosis-review--algorithm...A seperate function to output the new interval & new ef using gnosis-algorithm Thanos Apollo
2023-12-19Update addition of notes for new schemasThanos Apollo
2023-12-19Fix displaying of questionsThanos Apollo
2023-12-19Remove animate & require emacsql-sqliteThanos Apollo