summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-19Refactor note creationThanos Apollo
- Added `gnosis-note-types` variable to store available note types (MCQ, Cloze, Basic, Double, y-or-n) - Updated `gnosis-add-note` function to dynamically call corresponding note creation functions based on selected type - Updated interactive prompt in `gnosis-add-note` to display available note types This commit enhances the flexibility & extensibility of note creation
2024-01-19Refactor directory and database naming conventionsThanos Apollo
- Updated gnosis-dir to use `locate-user-emacs-file` for consistent file location - Updated gnosis-images-dir to use `expand-file-name` for consistent filepath - Updated gnosis-db to use `expand-file-name` for consistent filepath in emacsql-sqlite initialization
2024-01-18Merge branch 'version-0.1.3' to master0.1.3Thanos Apollo
- Add documentation - Fix docstrings & types of custom vars Improve algorithm implementation - Adjust next ef and interval depending on consecutive & total failures/successes - Fix bugs for custom reviews where last-interv would be 0
2024-01-18gnosis-algorithm-next-interval: Always pass last-interval >=1Thanos Apollo
2024-01-18gnosis: Update docstringsThanos Apollo
2024-01-18doc: Fix typosThanos Apollo
2024-01-18README: Redo just with an intro & link to user manualThanos Apollo
2024-01-18Add documentationThanos Apollo
Documentation is generated from gnosis.org
2024-01-18gnosis-edit-note-contents: Insert note id as read-onlyThanos Apollo
- Make sure note id value will not be changed Change suggested by Nicholas Vollmer
2024-01-18Rename gnosis-display functionsThanos Apollo
- No need to have them as 'hidden' with double dash (--) Change suggested by Nicholas Vollmer
2024-01-18gnosis--prompt: Update docstringThanos Apollo
Fix quotes
2024-01-18gnosis-db: Remove warning from docstringThanos Apollo
No need to warn user not to change the value of a defconst Change suggested by Nicholas Vollmer
2024-01-18Rename gnosis-cloze-char to gnosis-cloze-stringThanos Apollo
Change suggested by Nicholas Vollmer
2024-01-17Remove unnecessary progn's from cl-loopThanos Apollo
cl-loop's do clause is an implicit progn.
2024-01-17gnosis-db-init: Redo without length=Thanos Apollo
Length= is available only for Emacs 28.1 > Pointed out by Nicholas Vollmer
2024-01-17gnosis-algorithm-next-interval: Adjust for failure-factorThanos Apollo
- Make sure it's not above 0.8, unless user is using failure factor > 8
2024-01-17Update type of gnosis-algorithm-interval & efThanos Apollo
- Add type for list
2024-01-17Update gnosis-algorithm-next-intervalThanos Apollo
- Use keywords! - Add argument for initial-interval, successful-reviews, successful-reviews-c, fails-c, fails-t - Use initial-interval which is could be different for every note, instead of gnosis-algorithm-interval value. - Depending on the value of new arguments for total/consecutive fails/successful reviews calculate a different interval.
2024-01-16Merge branch 'version-0.1.2' into master0.1.2Thanos Apollo
- Minor updates on commentary & docstrings, using checkdoc With this version gnosis should meet the requirments to be included on MELPA
2024-01-16gnosis-algorithm: Update docstrings & todo'sThanos Apollo
2024-01-16gnosis: Update docstrings & Add review schema commentsThanos Apollo
2024-01-16gnosis-dev: Add commentary & update docstringsThanos Apollo
2024-01-16gnosis-algorithm-next-interval: Update docstringThanos Apollo
2024-01-16Update package commentaryThanos Apollo
2024-01-16Merge branch 'version-0.1.1' into masterThanos Apollo
- Fix bug for multiple clozes review - Fix gnosis-review-y-or-n for new inputs - Update gnosis-algorithm implementation - Fix minor bugs on gnosis-algorithm Reviews for all note types should work fine with this version
2024-01-16Update READMEThanos Apollo
2024-01-16gnosis-algorithm: Update error checking & docstringsThanos Apollo
2024-01-15[fix] Fix bug from 5fefd3d for multiple cloze reviewThanos Apollo
- Update note after all clozes have been revealed and add comment as reminder
2024-01-15gnosis-review--algorithm: Use total successful reviewsThanos Apollo
Previous implementation was using total successful reviews in a row
2024-01-15gnosis-algorithm: Fix for first intervalThanos Apollo
2024-01-15Merge branch '#fix-review-y-or-n' for version 0.1.1Thanos Apollo
- Fix review of y-or-n type
2024-01-15[fix] gnosis-review-y-or-nThanos Apollo
- Remove previous unused user-input keyword - Fix name typo
2024-01-14Merge branch version '0.1.0' into master0.1.0Thanos Apollo
This is marks the first "release" of gnosis, it's still under heavy development, but the fundamental use is there. More features will be added in the future, that should not affect notes created using this version.
2024-01-14gnosis-dev: Add y-or-n typeThanos Apollo
2024-01-14Merge branch '#y-or-n' into testingThanos Apollo
Adding note type of y-or-n and fixing issues with with gnosis-edit-mode y-or-n type note is one that has an answer value of char y or n.
2024-01-14[fix] Fix gnosis-edit-mode-mapThanos Apollo
Having gnosis-edit-mode-map defined after gnosis-edit-mode does not work, it needs to be defined before
2024-01-14Add gnsois-review-y-or-n & update all other funcs for y-or-n typeThanos Apollo
2024-01-14Add gnosis-display-y-or-n-answerThanos Apollo
Display answer for note with face depending on the value of success
2024-01-14Add gnosis-add-note--y-or-n & gnosis-add-note-y-or-nThanos Apollo
Functions to add note type y-or-n, gnosis-add-note--y-or-n is the hidden function that interacts with gnosis-add-note-fields & gnosis-add-note-y-or-n that passes values interactively
2024-01-14gnosis-algorithm-interval: Add cond for when last interval is 0Thanos Apollo
- This could occur in custom review sessions, option should be added to have the same for success 0, but I didn't have any issues _yet_, will revisit this soon - Update docstrings & add comments for this - Fix successful-reviews value
2024-01-14gnosis-algorithm-interval: Update docstringThanos Apollo
2024-01-14gnosis-dev: fix typosThanos Apollo
2024-01-14Add gnosis-face-next-review & update docstrings for facesThanos Apollo
2024-01-14[fix] Fix review of cloze typeThanos Apollo
Fix typos and previously used logic
2024-01-14Add gnosis-display--next-reviewThanos Apollo
Display next review value
2024-01-14Add gnosis-edit-save-exitThanos Apollo
Function to exit recursive edit & save changes - Add gnosis-edit-exit on gnosis-edit-mode-map
2024-01-11Redo gnosis-dev-testThanos Apollo
2024-01-10gnosis-face-extra: Inherit italicThanos Apollo
Use italic face & change foreground value This way we keep the same face but do not depend on markdown-mode --Suggested by Protesilaos Stavrou--
2024-01-10gnosis-select & gnosis--insert-into: Update docstringsThanos Apollo
2024-01-10gnosis-compare-strings: Redo without let statementThanos Apollo