anki/tests
Damien Elmes afde11671e rework sibling handling and change bury semantics
First, burying changes:

- unburying now happens on day rollover, or when manually unburying from
  overview screen

- burying is not performed when returning to deck list, or when closing
  collection, so burying now must mark cards as modified to ensure sync
  consistent

- because they're no longer temporary to a session, make sure we exclude them
  in filtered decks in -is:suspended

Sibling spacing changes:

- core behaviour now based on automatically burying related cards when we
  answer a card

- applies to reviews, optionally to new cards, and never to cards in the
  learning queue (partly because we can't suspend/bury cards in that queue at
  the moment)

- this means spacing works consistently in filtered decks now, works on
  reviews even when user is late to review, and provides better separation of
  new cards

- if burying new cards disabled, we just discard them from the current queue.
  an option to set due=ord*space+due would be nicer, but would require
  changing a lot of code and is more appropriate for a future major version
  change. discarding from queue suffers from the same issue as the new card
  cycling in that queue rebuilds may cause cards to be shown close together,
  so the default burying behaviour is preferable

- refer to them as 'related cards' rather than 'siblings'

These changes don't require any changes to the database format, so they
should hopefully coexist with older clients without issue.
2013-08-10 15:56:26 +09:00
..
support allow updates to existing notes in .apkg import 2013-08-08 13:01:47 +09:00
__init__.py merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
shared.py merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
test_cards.py optimize imports 2012-12-22 09:17:10 +09:00
test_collection.py optimize imports 2012-12-22 09:17:10 +09:00
test_decks.py optimize imports 2012-12-22 09:17:10 +09:00
test_exporting.py optimize imports 2012-12-22 09:17:10 +09:00
test_find.py merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
test_importing.py allow updates to existing notes in .apkg import 2013-08-08 13:01:47 +09:00
test_latex.py check for dvipng in test 2013-03-16 06:40:03 +09:00
test_media.py refactor illegal char handling and file adding for media 2013-07-11 15:33:24 +09:00
test_models.py optimize imports 2012-12-22 09:17:10 +09:00
test_remote_sync.py run basic integrity check prior to full up 2013-05-13 19:36:09 +09:00
test_sched.py rework sibling handling and change bury semantics 2013-08-10 15:56:26 +09:00
test_stats.py optimize imports 2012-12-22 09:17:10 +09:00
test_sync.py fix modification check in note merge 2013-05-28 14:41:12 +09:00
test_undo.py rework sibling handling and change bury semantics 2013-08-10 15:56:26 +09:00
test_upgrade.py automatically fix 1.2 errors when upgrading 2013-01-08 09:43:29 +09:00