Luc Mcgrady
|
8b18a08b3b
|
FSRS - Ignore revlogs before date while optimizing (#2922)
* Added: Date input button
* Added: ignoreDate to config
* Added: Backend
* Optimize function passes value
* Fix: Spelling
* Moved: filter logic from revlog_for_srs to update_memory_state
* fmt
* Copyright header
* ./check
* Fix: Test
* Renamed: Ignore_date -> Ignore_before_date
* Neaten parameters
* evaluate weights
* ./check
* Optimize all presets
* Added: Label localizations
* Removed globe label
* Added: Tooltip
* Changed error type
* fmt
* Moved filter to own function
* missing function call replacement
* Fix: Typo
* Apply suggestions from code review
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
* timestamp * 1000 -> timestamp_millis
* ignoreBefore -> ignore_before
* clarified ignore_before variables
* i64 -> TimestampMillis
* Un-traitified remove_revlogs_before
* Added: ms == 0 guard
* Added: Ignore_before affects scheduling
* Moved filter to fsrs_items_for_training
* removed filter from revlog_for_srs
* Tuple -> UpdateMemoryStateEntry
* Removed unused function
* Removed superfluous _ms from variables
* cid -> id
* Different ignore method
* Added: Unit test
* cid -> id
* Test: Exact ms edge case
* ./check
* Fix: re-learns could be before ignore date in cards without learning steps
* getignoreRevlogsBeforeMs -> getIgnoreRevlogsBeforeMs
* Removed pub(crate)
* Clarified unit test
* last_learn_entry -> first_of_last_learn_entries
* @user1823's method
* IOS fix
* ./check
* Fix: width defined twice
|
2024-02-22 11:01:10 +07:00 |
|
Damien Elmes
|
9642a69b88
|
FSRS items, not revlogs
https://forums.ankiweb.net/t/discrepancy-between-revlog-count-in-optimize-and-evaluate/41224/5
|
2024-02-19 17:51:07 +07:00 |
|
Abdo
|
2b4cb2992b
|
Fix deck names differing in case being duplicated in CSV import (#3008)
|
2024-02-14 20:25:54 +10:00 |
|
Jarrett Ye
|
492178c107
|
Fix/ignore revlogs before Forget entry (#3002)
* Fix/ignore revlogs before Forget entry
* Update weights.rs
|
2024-02-12 16:09:39 +10:00 |
|
Abdo
|
4ef389b580
|
Keep previous FSRS parameters if they get worse when optimizing (#2996)
* Update to fsrs-rs 0.3.0
* Keep previous FSRS parameters if they get worse when optimizing
|
2024-02-11 16:26:04 +10:00 |
|
Abdo
|
e136ec65e9
|
Fix preset: search ignoring cards in filtered decks (#2997)
|
2024-02-11 16:11:05 +10:00 |
|
Abdo
|
db02c95eb5
|
Fix maybe_coalesce_note_undo_entry() (#2992)
* Fix maybe_coalesce_note_undo_entry()
* Use .count()
* Only check .first()
* Explicitly match on [note change, collection modification] (dae)
|
2024-02-11 16:04:10 +10:00 |
|
Abdo
|
80c14aa6e9
|
Maintain original IO cloze order in editing mode (#2987)
* Maintain original IO cloze order in editing mode
* Fix ordinal propery name
|
2024-02-07 13:42:47 +10:00 |
|
Abdo
|
85a8824c8c
|
Do not reset original_due when card stays in filtered deck (#2988)
|
2024-02-07 13:27:54 +10:00 |
|
Jarrett Ye
|
2fffe4b7ba
|
update FSRS to v0.2.0 (#2977)
* update FSRS to v0.2.0
* update comments
* ./ninja fix:minilints
* 1000 -> 400 in translation (dae)
|
2024-01-30 16:27:12 +10:00 |
|
RumovZ
|
e7a2242262
|
Increase parent limits in custom study when 'limits start from top' is enabled (#2971)
Closes #2965.
|
2024-01-29 13:15:44 +10:00 |
|
RumovZ
|
69a51ec296
|
Fix notetype conflict resolution (#2967)
* Fix undoing notetype conflict resolution
* Fix field/template mapping after notetype conflict resolution
|
2024-01-29 13:00:57 +10:00 |
|
Abdo
|
eab5c02251
|
Add by creation date review sort order (#2957)
* Add by creation date review sort order
* Order by template after nid in ReverseAdded of filtered decks too
|
2024-01-21 20:29:19 +10:00 |
|
Abdo
|
f480ecea0c
|
Default to 'Bury Card' action consistently (#2950)
|
2024-01-19 15:49:16 +10:00 |
|
Damien Elmes
|
f21b5aec12
|
Fix error after notetype merge + downgrade
|
2024-01-12 15:16:27 +10:00 |
|
Damien Elmes
|
86687b4148
|
Include details on what's missing when a NotFound error is triggered
Makes debugging issues like #2939 easier
|
2024-01-11 14:20:10 +10:00 |
|
Damien Elmes
|
57ec454847
|
Fix importing of Mnemosyne due dates (#2936)
|
2024-01-11 14:11:17 +10:00 |
|
RumovZ
|
1613eae261
|
Fix note id mix-up when resolving notetype conflicts (#2940)
Closes #2939.
|
2024-01-11 13:50:03 +10:00 |
|
Damien Elmes
|
bf06020855
|
Use card.reps - 1 when calculating fuzz (#2933)
https://github.com/open-spaced-repetition/fsrs4anki-helper/issues/343#issuecomment-1879584562
https://forums.ankiweb.net/t/reschedule-is-inconsistent-with-normal-schedule-in-fuzz/39363
|
2024-01-09 12:26:46 +10:00 |
|
Damien Elmes
|
66d0046b8a
|
Check review count up front
https://forums.ankiweb.net/t/inconsistent-number-of-reviews-when-clicking-optimize/39275/7
|
2024-01-08 14:05:09 +10:00 |
|
Damien Elmes
|
3982e0c8fe
|
Update to Rust 1.75
|
2024-01-05 14:28:23 +10:00 |
|
Abdo
|
646ba41cf8
|
Ignore some extra chars in no-combining search (#2929)
* Ignore some extra chars in no-combining search
* Construct new string
* Update rslib/src/text.rs (dae)
|
2024-01-05 14:22:52 +10:00 |
|
Viktor Ricci
|
f544bdd041
|
Allow > inside HTML attributes (#2918)
* Allow > inside HTML attributes
* Don't add unnecessary (?:...) to HTML_MEDIA_TAGS
|
2024-01-01 14:09:30 +10:00 |
|
Damien Elmes
|
1a1d4d5419
|
Work around test failure on Windows
|
2023-12-28 18:43:28 +10:00 |
|
Damien Elmes
|
b73c1c7f87
|
Pull in FSRS fix for pretrain
|
2023-12-28 18:15:44 +10:00 |
|
RumovZ
|
be89ec8892
|
Cloze notetype merges (#2912)
* Abort when trying to match notetypes of different kinds
* Skip merging templates if target is cloze
|
2023-12-28 18:01:23 +10:00 |
|
RumovZ
|
c39f2cacae
|
Fix new cards from parent decks being gathered (#2907)
Fixes #2906.
|
2023-12-24 20:04:28 +10:00 |
|
Jarrett Ye
|
3378e476e6
|
Update to FSRS-4.5 (#2901)
|
2023-12-22 16:17:40 +10:00 |
|
Damien Elmes
|
4908be62ed
|
Update FSRS
We're on the commit prior to
https://github.com/open-spaced-repetition/fsrs-rs/pull/141, as that is
going to require work that will need to wait until after 23.12
|
2023-12-22 14:02:39 +10:00 |
|
Damien Elmes
|
d9f5487815
|
Force memory state recompute when cards moved into different deck
|
2023-12-22 14:02:39 +10:00 |
|
RumovZ
|
8537e85a64
|
Log existing notes during CSV import (#2898)
|
2023-12-22 14:01:35 +10:00 |
|
Damien Elmes
|
4678b0cc4a
|
Use seconds instead of minutes for preview delay
Since this is not compatible with older clients, preview_delay has been
brought back so the configured value will still sync.
|
2023-12-21 11:02:29 +10:00 |
|
Damien Elmes
|
edd38ca067
|
Calculate elapsed days for intraday learning cards
https://forums.ankiweb.net/t/anki-23-12-beta/37771/109
|
2023-12-13 10:18:29 +10:00 |
|
Damien Elmes
|
9205b4db3a
|
Fix error generating parameters when a parameter is 0
|
2023-12-12 12:33:32 +10:00 |
|
Damien Elmes
|
45abf1c7e8
|
Ensure cloze numbers sort in order
https://forums.ankiweb.net/t/anki-23-12-beta/37771/103
|
2023-12-12 09:51:42 +10:00 |
|
Damien Elmes
|
db93939ded
|
Don't use SM2 memory state when cards are manually introduced
https://github.com/open-spaced-repetition/fsrs4anki/issues/540#issuecomment-1848833376
|
2023-12-12 09:40:31 +10:00 |
|
Damien Elmes
|
cfc6bc6548
|
Update FSRS for new default weights
|
2023-12-08 13:54:31 +10:00 |
|
Damien Elmes
|
e778cba089
|
Allow user to configure hard/good buttons when rescheduling off
Closes #2858
|
2023-12-08 11:04:34 +10:00 |
|
Damien Elmes
|
fdcdc14f6b
|
Hide position when card not new
https://forums.ankiweb.net/t/position-info-is-shown-even-when-the-card-is-not-new/38087
|
2023-12-08 10:06:14 +10:00 |
|
Damien Elmes
|
86aafa74a6
|
Treat cards with no reps like new cards
https://github.com/open-spaced-repetition/fsrs4anki/issues/540#issuecomment-1837780217
|
2023-12-07 14:56:39 +10:00 |
|
Damien Elmes
|
96ae3a5d63
|
Update to latest fsrs-rs
The extra entries in Cargo.lock and licenses.json are mostly spurious,
and caused by https://github.com/tracel-ai/burn/pull/1025#issuecomment-1842006690
|
2023-12-07 14:13:58 +10:00 |
|
Gustaf-C
|
63260631e4
|
Include elapsed_secs in learning card state (#2862)
* Include elapsed_time in learning card state
* Suggested updates, elapsed_time -> elapsed_secs
* Remove outdated comment
|
2023-12-06 16:40:22 +10:00 |
|
Jarrett Ye
|
96ae3dce48
|
Fix/keep two decimals for stability (#2873)
* Fix/keep two decimals
* update test
|
2023-12-06 10:08:52 +10:00 |
|
Abdo
|
27b2bce604
|
Do not add a fallback field reference if front side contains conditionals (#2859)
* Do not add a fallback field ref if front contains conditionals
* Ensure field reference when there are only conditionals
|
2023-12-06 10:06:28 +10:00 |
|
Jarrett Ye
|
80c5f2d491
|
skip revlog with time = 0 when calc recall cost (#2870)
* skip revlog with time = 0 when calc recall cost
* Update retention.rs
|
2023-12-05 13:08:34 +10:00 |
|
Damien Elmes
|
4e281026a0
|
Catch NaNs in FSRS weights
Users pasting in weights from the old scheduler were leaving the outer
square brackets in, causing the first and last numbers to be parsed as
NaN.
|
2023-12-04 16:19:22 +10:00 |
|
Shawn M Moore
|
f447f89d07
|
Remember endpoint we authenticated against in returned SyncAuth (#2864)
* Include endpoint we authed against in response
* Add self to contributors
|
2023-12-04 15:05:29 +10:00 |
|
Abdo
|
344dbe45ed
|
Show actual due date of learning cards in Card Info (#2865)
|
2023-12-04 15:04:22 +10:00 |
|
Damien Elmes
|
75febab401
|
Fix relative overdueness order error in filtered deck
https://forums.ankiweb.net/t/anki-23-12-beta/37771/21
|
2023-12-01 14:54:33 +10:00 |
|
Damien Elmes
|
b29dc99b3e
|
Fix sorting by due column in notes mode
https://forums.ankiweb.net/t/anki-23-12-beta/37771/20
|
2023-12-01 14:50:41 +10:00 |
|