Damien Elmes
2012d0de39
don't try and replace nbsp
2011-12-20 12:47:56 +09:00
Damien Elmes
3449abe8a0
fix upgrading of decks with extra media fields
2011-12-20 12:40:18 +09:00
Damien Elmes
7b53facc4c
add integrity check back to fixIntegrity
2011-12-18 12:32:44 +09:00
Damien Elmes
fca4ef7c00
strip superfluous spans from 1.2 upgrade
2011-12-18 07:23:26 +09:00
Damien Elmes
e610eeeb42
tweak template upgrading, replace repeated spaces with non-breaking ones
2011-12-17 22:01:50 +09:00
Damien Elmes
9e35e4acf2
template and cloze changes
...
While writing the documentation I realized that the default templates were
somewhat overwhelming. So I've moved the default settings into the card css,
and moved the css into a separate attribute which gets combined with the
question and answer templates.
Also:
- Detect cloze references directly rather than the conditional wrapper
- Add the cloze css to the template
2011-12-17 19:42:30 +09:00
Damien Elmes
619a58216a
don't require fields in cloze del model; remove extra brackets in cloze hints
2011-12-17 15:02:15 +09:00
Damien Elmes
60643b5b1f
human-readable positions for new cards
2011-12-17 08:37:05 +09:00
Damien Elmes
4496782e5b
desc was in wrong location
2011-12-17 08:36:51 +09:00
Damien Elmes
3957f07afb
add media[] for future use
2011-12-16 10:04:19 +09:00
Damien Elmes
5129913f25
fix audio playing on win32
2011-12-16 08:49:27 +09:00
Damien Elmes
1986394e56
don't allow quotes in deck names
2011-12-15 17:29:00 +09:00
Damien Elmes
91f81e9142
timer flag and desc
2011-12-15 14:54:44 +09:00
Damien Elmes
a55088ead4
don't need to cache model anymore
2011-12-15 14:54:32 +09:00
Damien Elmes
5a24074a93
make header and field() public
2011-12-15 14:00:16 +09:00
Damien Elmes
a9c46b5ccb
include subdecks when restricting to deck
2011-12-15 11:57:55 +09:00
Damien Elmes
9187255630
don't include (shared) in shared deck models
2011-12-15 11:53:41 +09:00
Damien Elmes
19435068bb
break removals into separate sync step
2011-12-14 11:42:19 +09:00
Damien Elmes
2c0b3f7c0a
more usn fixes
2011-12-14 10:27:20 +09:00
Damien Elmes
819bc326e0
make sure we set usn correctly on card gen; work even if no existing cards
2011-12-14 10:22:09 +09:00
Damien Elmes
47a170898a
set default deck on upgrade; append old deck name to model
2011-12-14 10:20:56 +09:00
Damien Elmes
5333165c8d
set conf name too on upgrade
2011-12-13 14:00:32 +09:00
Damien Elmes
dc89e34410
fix deck conf syncing
2011-12-13 13:58:31 +09:00
Damien Elmes
bacbea13e0
conf() -> confForDid(); add getConf()
2011-12-13 13:56:05 +09:00
Damien Elmes
0448175d10
when estimating interval, return ideal, not adjusted
2011-12-13 12:20:30 +09:00
Damien Elmes
00becd01eb
add async flag
2011-12-13 12:15:32 +09:00
Damien Elmes
ba0f6f36cc
don't create media db on server
2011-12-13 12:15:13 +09:00
Damien Elmes
5c5181f063
don't switch journal mode back on server
2011-12-13 12:15:03 +09:00
Damien Elmes
a697c292b5
when echo on, log call time too
2011-12-13 12:14:36 +09:00
Damien Elmes
0a677fee56
sync tweaks
2011-12-13 10:44:50 +09:00
Damien Elmes
8ede57b024
should init schema on collection creation
2011-12-13 09:33:11 +09:00
Damien Elmes
aeb38ab65d
create a separate conf group for each imported deck
2011-12-13 04:42:12 +09:00
Damien Elmes
c1d9b62549
make sure we adjust due time on reviews when importing
2011-12-13 04:20:29 +09:00
Damien Elmes
35a10744a6
'open' was a silly choice
2011-12-12 02:25:16 +09:00
Damien Elmes
1114fc084a
rename special field templates
2011-12-12 01:39:57 +09:00
Damien Elmes
428b6a0520
don't prompt when no cards to remove; don't autodel on indiv. note edits
2011-12-12 00:02:43 +09:00
Damien Elmes
0b96e8a1a9
per-fact empty card deletion, and delete hook
2011-12-11 23:48:24 +09:00
Damien Elmes
8be0e6cccd
make sure we add + delete cards after template changes
2011-12-11 23:35:59 +09:00
Damien Elmes
9bcfc9e1d4
use devnull instead of reader thread; fix cleanup code
...
thanks to robert siemer for the devnull idea
2011-12-11 03:34:51 +09:00
Damien Elmes
0a279f6a26
remove clozectx, add styling to stdmodels
2011-12-11 02:33:27 +09:00
Damien Elmes
918bfa2e62
move some prefs into collection
2011-12-10 23:48:36 +09:00
Damien Elmes
4428c04774
new order is now a deck property
2011-12-10 22:45:44 +09:00
Damien Elmes
1e48ce9b99
fix randomizeCards() call
2011-12-10 04:35:29 +09:00
Damien Elmes
45c218f807
add restore to default option
2011-12-10 04:17:53 +09:00
Damien Elmes
78494283c2
store forgetting index as %, fix card sorting
2011-12-10 04:11:43 +09:00
Damien Elmes
0161ebd9f1
fix rev order and add placeholder in ints[]
2011-12-10 01:07:39 +09:00
Damien Elmes
46443762c0
add the ability to create a new deck conf from existing one
2011-12-10 00:47:04 +09:00
Damien Elmes
20ffbd57a7
don't need relearn flag, can infer from empty delays list
2011-12-09 08:36:00 +09:00
Damien Elmes
451962d4a8
drop the special config for top level decks
...
New/rev card mixing, collapse time and the timeboxing limit are now a
collection property. I appreciate how it could be useful to have those
settings per top-level deck in some cases, but having some settings inherited
from the top level deck makes for a confusing UI.
2011-12-09 07:55:40 +09:00
Damien Elmes
8c9c3489e5
fetch reviews in subdecks incrementally like new cards
...
- allows separate review order for different decks
- makes new card and rev card handling consistent
- for users who find it confusing to have cards from different decks mixed in
and thus click on each deck in turn, they can now just select the parent
deck and have it work as expected
- for users who want their cards mixed together randomly, they can keep the
cards in a single deck
2011-12-09 04:02:43 +09:00