https://git.dkl9.net/memoire/tree/3eaf62bdcc96550cceabc4c46b294795604b028bRecent commits to memoire (3eaf62bdcc96550cceabc4c46b294795604b028b)2022-01-15T23:31:06-05:00tag:gitlist.org,2012:commit/3eaf62bdcc96550cceabc4c46b294795604b028bDisplay `IMG:path` images in prompts2022-01-15T23:31:06-05:00John Smith
<pre>Instances of `/IMG:([^ ]+)/` in prompts will now be omitted,
and the image at the specified path will be displayed.
</pre>
tag:gitlist.org,2012:commit/91cfafef8b1b07f862d224e88fc29afb752f5065Space out scheduling for new cards2022-01-09T21:49:17-05:00John Smith
<pre>A tiny change to the interval-calculation formula makes new (or lapsed)
prompts (i.e. those less than a day old) have intervals that
significantly vary based on the response during initial study.
Instead of getting consistently scheduled for the next day or so,
prompts now get scheduled for review up to three days
after such a review (when the user selects Easy).
</pre>
tag:gitlist.org,2012:commit/e27a337ec55ce1b5275c9bac6e45e2bbb6b82c8eImplement correction interface2022-01-03T22:12:41-05:00John Smith
<pre>When the user responds to a prompt with "correction",
the card from which it originated gets added to an edit queue.
At the end of the session, Memoire asks the user
what to do with each such card:
* delete: the card gets deleted
* edit: the card PromptText gets replaced with user input
* cancel: move on; nothing happens to the card
</pre>
tag:gitlist.org,2012:commit/29a3ed56c300d43e762e36936a0f8af205bb0c2dFix issues with d4395702022-01-02T21:28:11-05:00John Smith
<pre>* "again" actually gets the cards rescheduled as failures
(it didn't before)
* prompt text options put in correct order
</pre>
tag:gitlist.org,2012:commit/d439570e13ecd226b98470edfccc5983ac016b3cAdd more review response options2022-01-02T21:03:20-05:00John Smith
<pre>When reviewing, the user can now respond with one of
again/hard/good/easy/correction instead of just no/yes.
The scheduling algorithm has been tweaked accordingly.
</pre>
tag:gitlist.org,2012:commit/d1e6e70a7b334d547960272010a590cb80e539caSplit prompts-for-review enumeration out from `main.lua`2022-01-01T21:26:59-05:00John Smith
<pre>`main.lua`'s algorithm to construct a shuffled list of prompts to review
has been moved into `review.lua`.
</pre>
tag:gitlist.org,2012:commit/0886a7a082eb1912574f580042894a0b27f5e58fFix bug in %-escape bugfix2021-12-24T13:03:06-05:00John Smith
<pre></pre>
tag:gitlist.org,2012:commit/4d8e6bf445a35b3270d611f7914bd56faad5f41bFix error with percent signs (%) in answer text2021-12-24T12:38:04-05:00John Smith
<pre>Lua's `str:gsub(pattern, repl)` interprets `%` as a
sort of escape character in `repl`, so the presence of a `%`
in answer text would cause an error or undefined behaviour.
</pre>
tag:gitlist.org,2012:commit/4ceac060a85e2bd1125df7704ea7dab72c6ac834Fix breaking typo in `prompt.lua`2021-12-24T12:33:22-05:00John Smith
<pre></pre>
tag:gitlist.org,2012:commit/c21b9ac91646db187d5cd7a16b298a1fb2d3a2cfAdd `Created` field to card records2021-12-24T12:24:35-05:00John Smith
<pre>Each record in Memoire's Rec serialisation, representing a card
(set of prompts), may now have a `Created` field -- the timestamp
of the card's creation.
The `Created` value is only read and written for new records
or records that have it, so this should be backwards-compatible.
</pre>