Damien Elmes
a2606dd70a
remove some unused calls
2010-12-26 07:35:20 +09:00
Damien Elmes
9890c77514
update finished screen to use blanket inactive/suspended msg
2010-12-26 07:29:31 +09:00
Damien Elmes
856839e055
include reviews in spaced card count; bold text
2010-12-26 06:01:24 +09:00
Damien Elmes
63106578cd
don't decrement due counts when spacing
...
This works fine if the user is showing all cards, but if they have limited
reviews to certain categories, it can result in the counts going negative
because we decremented for cards which weren't actually due. Determining if a
card was actually due or not is an expensive operation, so instead we leave
the counts alone and make sure reviews will finish early if the new/rev counts
are non-zero but the queue is empty.
2010-12-26 05:54:05 +09:00
Damien Elmes
93a67931da
bump version number
2010-12-25 12:49:31 +09:00
Damien Elmes
ff5bc72121
pass in a 0 timediff if using stock sync()
2010-12-25 12:43:35 +09:00
Damien Elmes
f0bf1989bc
new code to download remote links and replace with local ones
2010-12-25 12:42:28 +09:00
Damien Elmes
50622a3127
encode latex after everything else
2010-12-22 08:06:44 +09:00
Damien Elmes
61812b173d
mention syncing disabled case
2010-12-21 23:58:36 +09:00
Damien Elmes
ee7da2bd65
update comment
2010-12-21 06:41:42 +09:00
Damien Elmes
afa34d9d39
bump version
2010-12-21 01:45:17 +09:00
Damien Elmes
425789535f
don't trim whitespace in sections
2010-12-20 00:37:16 +09:00
Damien Elmes
5c4d7b1789
don't include http/ftp links in media db
2010-12-17 21:29:48 +09:00
Damien Elmes
7c45bab35a
rate-limit sync progress messages for win32 installs with huge net bufs
2010-12-17 21:04:47 +09:00
Damien Elmes
ca07cb8f26
don't dump upgrade notices on stderr if not attached to gui
2010-12-17 04:27:12 +09:00
Damien Elmes
400ca9a8a2
factor in time difference when determining common point
2010-12-17 03:55:04 +09:00
Damien Elmes
6860f64f28
try to recover tags of card, too
2010-12-17 02:03:35 +09:00
Damien Elmes
1b219679b6
bump version
2010-12-17 01:48:01 +09:00
Damien Elmes
5eb00296d5
always space rev cards to the next day
2010-12-17 01:46:14 +09:00
Damien Elmes
7065abcf4f
only collapse failed cards after cutoff updated
2010-12-16 22:23:51 +09:00
Damien Elmes
e4447818ff
make sure learn more considers inactive cards
2010-12-16 04:28:31 +09:00
Damien Elmes
acb72327b2
don't leave stale entries in media db if just scanning
2010-12-16 01:42:12 +09:00
Damien Elmes
4e5b725166
and make sure xhtml syntax works too
2010-12-16 01:22:23 +09:00
Damien Elmes
2a629a179d
add missing trailing > to img regexp
2010-12-16 01:12:45 +09:00
Damien Elmes
907fa5c80e
tweak spaceCards()
2010-12-15 04:46:40 +09:00
Damien Elmes
d2e3d7932d
bump version
2010-12-15 03:53:02 +09:00
Damien Elmes
0363cc70f4
preserve more of the old formatting on upgrade
...
because field formatting is always on now, users with custom font
sizes/families set only on the card will still have to alter their templates
and either configure the fields or replace the references with triple
curly braces
2010-12-15 03:52:18 +09:00
Damien Elmes
09b017bb24
not sorting on combinedDue anymore, so don't bother with that upgrade step
2010-12-15 02:03:12 +09:00
Damien Elmes
9ed9ec79cc
make them case-insensitive too
2010-12-13 06:56:04 +09:00
Damien Elmes
525f44c9c5
more robust img regexp
2010-12-13 06:54:40 +09:00
Damien Elmes
7ce661ac63
place cards with corrupt/missing facts into new fact instead of deleting
2010-12-13 06:46:20 +09:00
Damien Elmes
154bf0cef4
bump version
2010-12-13 04:09:55 +09:00
Damien Elmes
0a01d9f867
make latex preamble easier to read
2010-12-13 03:21:05 +09:00
Damien Elmes
d0c6db0d62
only regenerate indices once during upgrade from 1.0
2010-12-13 02:29:21 +09:00
Damien Elmes
d14761b428
sort new cards by due not combinedDue; index optimizations
...
- ensure queue filling selects can be satisfied by index alone
- sort by due instead of combinedDue so we can decouple card order from
new spacing
2010-12-13 02:25:39 +09:00
Damien Elmes
5de6bb57ed
auto-analyze when we've updated a dynamic index
2010-12-13 00:26:34 +09:00
Damien Elmes
902800de99
answers exceeding 60 seconds now log the full 60 instead of 0
2010-12-12 02:00:06 +09:00
Damien Elmes
cc8dbccf38
don't set combinedDue twice in answerCard
2010-12-12 00:09:40 +09:00
Damien Elmes
49b744f77d
limit plugin warning to once a session
2010-12-11 22:04:24 +09:00
Damien Elmes
98597dd56d
bump version
2010-12-11 22:01:07 +09:00
Damien Elmes
58b20b0626
make sure subprocess is available so we can set startupinfo
2010-12-11 18:36:01 +09:00
Damien Elmes
7ab5a53e38
remove superfluous 0
2010-12-11 17:02:51 +09:00
Damien Elmes
98304accb0
return actual checksum, or sqlite tries to treat it like an int
2010-12-11 16:30:26 +09:00
Damien Elmes
35fd3de6fb
reset if there were buried cards, since updatePriorities() doesn't
2010-12-11 15:55:22 +09:00
Damien Elmes
59df94ff74
add compat code for fact.setModified()
2010-12-11 12:54:30 +09:00
Damien Elmes
9f276e3163
bump version
2010-12-11 02:33:25 +09:00
Damien Elmes
e3838464a2
use rec instead of tmp for recording name
2010-12-11 02:20:36 +09:00
Damien Elmes
f42a2e4a00
rebuild q/a cache to include latex
2010-12-11 02:17:00 +09:00
Damien Elmes
7a196b3747
don't bother to return used media
2010-12-11 02:13:37 +09:00
Damien Elmes
70eb44bce2
latex improvements
...
- move latex preamble into a deck var and include amsmath by default
- include the pre/postamble in the hash, so changes to the preamble result in
newly generated images
2010-12-11 02:05:00 +09:00
Damien Elmes
b0f300bb74
fix latex generation bug caused my mediaDir() always chdiring now
2010-12-11 01:46:29 +09:00
Damien Elmes
4d2d9eab81
generate latex at fact modification, not review
...
- latex now slots in to the formatQA hook to render images in the q/a
- moved call() to utils
- cache/uncache latex have been obsoleted. User can delete manually, and
images will be regenerated with a DB check
2010-12-11 01:40:49 +09:00
Damien Elmes
0c9672e7b8
rewrite media support
...
- media is no longer hashed, and instead stored in the db using its original
name
- when adding media, its checksum is calculated and used to look for
duplicates
- duplicate filenames will result in a number tacked on the file
- the size column is used to count card references to media. If media is
referenced in a fact but not the question or answer, the count will be zero.
- there is no guarantee media will be listed in the media db if it is unused
on the question & answer
- if rebuildMediaDir(delete=True), then entries with zero references are
deleted, along with any unused files in the media dir.
- rebuildMediaDir() will update the internal checksums, and set the checksum
to "" if a file can't be found
- rebuildMediaDir() is a lot less destructive now, and will leave alone
directories it finds in the media folder (but not look in them either)
- rebuildMediaDir() returns more information about the state of media now
- the online and mobile clients will need to to make sure that when
downloading media, entries with no checksum are non-fatal and should not
abort the download process.
- the ref count is updated every time the q/a is updated - so the db should be
up to date after every add/edit/import
- since we look for media on the q/a now, card templates like '<img
src="{{{field}}}">' will work now
- export original files as gone as it is not needed anymore
- move from per-model media URL to deckVar. downloadMissingMedia() uses this
now. Deck subscriptions will have to be updated to share media another way.
- pass deck in formatQA, as latex support is going to change
2010-12-11 01:19:31 +09:00
Damien Elmes
75da977026
bump version
2010-12-09 18:01:16 +09:00
Damien Elmes
27ca04fab6
support a media prefix
2010-12-09 15:34:01 +09:00
Damien Elmes
84a98550f0
always change cwd to media dir
2010-12-09 12:55:00 +09:00
Damien Elmes
1bbffec0d6
abort download missing media early; remove obsolete forceMediaDir
2010-12-09 12:53:01 +09:00
Damien Elmes
e5d9697d28
don't break older clients with new delay1 setting
2010-12-09 12:00:00 +09:00
Damien Elmes
cdac2bf8d7
workaround card ordering bug from older versions
2010-12-09 10:43:45 +09:00
Damien Elmes
7fc593a2ce
fix tag update
2010-12-08 17:05:19 +09:00
Damien Elmes
3491a5e378
add an index for modified to speed up sync.summary()
...
testing indicates this can produce a 2x performance improvement on lastSync=0,
and much more for partial syncs
2010-12-08 15:59:16 +09:00
Damien Elmes
fe97616ecd
add temporary index for priority
2010-12-08 15:38:06 +09:00
Damien Elmes
05f60c49c8
add rebuild arg for minimal startup
...
this bypasses rebuilding the queue and other startup initialization and thus
loads the deck considerably faster. This is useful when you want to perform
operations on the deck like syncing, but don't need the ability to review
cards
2010-12-08 15:28:28 +09:00
Damien Elmes
878c9abb83
bump version
2010-12-07 18:04:53 +09:00
Damien Elmes
9f91e904b2
re-enable locked check
2010-12-07 17:18:17 +09:00
Damien Elmes
1a5c8d2435
fix from marcus for "field":value search
2010-12-07 17:13:25 +09:00
Damien Elmes
0194296839
failed cards at end if !delay0 && !failedCardMax
2010-12-07 16:55:03 +09:00
Damien Elmes
a383223e02
provide more info in sync error messages; catch zlib decode errors
2010-12-07 16:48:49 +09:00
Damien Elmes
2013e7e4ff
conditional delete of css
2010-12-07 14:35:16 +09:00
Damien Elmes
15763f8f3c
make sure we don't commit during a sync
...
updateDynamicIndices() is done on next deck load anyway
2010-12-07 11:59:02 +09:00
Damien Elmes
039af66a9d
don't rebuild counts in applyPayload(), as the deck will be reopened
2010-12-07 11:56:43 +09:00
Damien Elmes
4c8f2d3b47
add finish() command to sync protocol
2010-12-07 11:02:23 +09:00
Damien Elmes
0af8da9cb8
sync updates
...
- set lastSync on successful upload, not before it
- make sure source file is closed
- use v2 sync protocol
2010-12-07 09:20:31 +09:00
Damien Elmes
da97701b2d
disable lastSync fudging again
2010-12-07 09:19:09 +09:00
Damien Elmes
2a8ef89ee5
remove unused binding
2010-12-07 07:26:33 +09:00
Damien Elmes
a2cd19f49a
tell users how they can disable the move check
2010-12-05 17:43:54 +09:00
Damien Elmes
458357548f
more sqlalchemy workarounds
2010-12-02 23:38:06 +09:00
Damien Elmes
a23098c92c
bump version
2010-12-02 09:55:06 +09:00
Damien Elmes
9259718fd5
set syncName after full download
2010-12-02 07:23:54 +09:00
Damien Elmes
7dd57887d0
update learn more for new spacing
2010-12-02 06:48:45 +09:00
Damien Elmes
b5dd8a9f4b
update cram code for new spacing
2010-12-02 06:47:16 +09:00
Damien Elmes
bac4acdaa8
reworked handling of spaced cards; add cms argument to previewFact()
...
- obsolete spaceUntil - it serves no useful purpose
- the old per-model spacing variables are obsolete, as the new approach
requires uniform spacing across all models for new cards
- introduce a new per-deck variable: newSpacing
- don't fill new queue if we've done today's cards
- still need to check cramming / review early
newSpacing is a time in seconds to delay introduction of sibling new cards.
It can be applied as many times as necessary as there is no harm in new cards
being delayed repeatedly. Because the default queue length is 200 and it can
take quite some time for the spaced cards to be placed in the queue again, we
use a separate array to track spaced new cards provided the configured delay
is less than 20 minutes. At times under 20 minutes this number is not a
guaranteed minimum spacing - if the new card queue is empty the spaced cards
will be flushed before checking the new queue again, as otherwise we end up
trying to fill on every repetition. The due counts no longer decrease by more
than one if the spacing is less than the due cutoff, since that confused some
users.
Review cards are now placed at the end of the current review queue, and will
never be rescheduled to a different day. The old approach had a number of
problems:
- the more card models you had, the more likely a card would be spaced
multiple times, resulting in you forgetting the card before you get a chance
to review it
- spacing was applied even if the due card was already late
- repeatedly failing one card over a period of days or weeks would also stave
the other cards of attention
2010-12-02 06:33:40 +09:00
Damien Elmes
53fbc9b3ee
if spacing is disabled, don't decrement counts
2010-12-01 02:54:21 +09:00
Damien Elmes
bb901dfa16
make sure all fields have a font set
2010-12-01 02:42:13 +09:00
Damien Elmes
9fed5e2bc1
work around sqlalchemy problem
2010-12-01 01:21:05 +09:00
Damien Elmes
2352502807
bump version
2010-11-30 03:35:45 +09:00
Damien Elmes
ae388595da
add whitespace preservation flag; only show active card models when previewing
2010-11-30 03:28:08 +09:00
Damien Elmes
a5af8fb8e9
convert pystache to private library since it doesn't behave like upstream
2010-11-29 22:51:55 +09:00
Damien Elmes
da1cfa52b1
mention editFontFamily unused
2010-11-29 22:33:05 +09:00
Damien Elmes
b349a96fa5
drop most of the per-card formatting
2010-11-29 22:27:19 +09:00
Damien Elmes
74a0998a36
bump version
2010-11-28 18:21:00 +09:00
Damien Elmes
255deb9e9e
elaborate on debug msg
2010-11-28 18:14:09 +09:00
Damien Elmes
689a744266
bump version
2010-11-28 02:32:59 +09:00
Damien Elmes
850d883ab4
update rest of code to recognize&use new rendering
2010-11-28 02:26:53 +09:00
Damien Elmes
ac8f613aca
use pystache for template rendering; autoconvert old style for now
2010-11-28 02:06:54 +09:00
Damien Elmes
f247133ed8
make syncName work with foreign chars
2010-11-27 13:14:16 +09:00
Damien Elmes
ca9aeaa086
don't allow mature delay over a week for now; fix delay being reset to 0
2010-11-26 23:35:26 +09:00
Damien Elmes
386de21f87
don't fudge matplotlib path on win32
2010-11-26 21:59:09 +09:00
Damien Elmes
e58d7f8dac
bump version
2010-11-26 04:20:40 +09:00
Damien Elmes
84b99b1ae5
don't allow tags to be prefixed with a colon, as this breaks sqlite
2010-11-26 03:49:01 +09:00
Damien Elmes
3aa787a146
remove print statement
2010-11-26 03:39:58 +09:00
Damien Elmes
00087ed101
find duplicates support
2010-11-26 03:26:02 +09:00
Damien Elmes
d539018137
support multiple facts in fid: query
2010-11-26 03:25:32 +09:00
Damien Elmes
367143f4f3
make sure to set cards as not due when resetting/rescheduling for old clients
2010-11-26 01:49:10 +09:00
Damien Elmes
f4a35e9b03
support tags: at the top of file to import; fix comment stripping
2010-11-26 01:48:54 +09:00
Damien Elmes
e3dd736460
add ability to update fields when importing
2010-11-26 01:36:24 +09:00
Damien Elmes
dd00d1a5e1
when rebuilding tag priorities, don't include obsolote suspended
2010-11-25 21:56:08 +09:00
Damien Elmes
8f18299cc5
typo
2010-11-24 05:39:06 +09:00
Damien Elmes
f698481c19
don't keep changing the hard interval on load
...
only adjust it if it looks like the defaults haven't been changed
2010-11-24 05:32:09 +09:00
Damien Elmes
6bdca8b3c6
fix available card limiting when using %(tags)s, %(cardModel), etc
2010-11-24 05:14:07 +09:00
Damien Elmes
45dfc97e9f
add axis labels to graphs
...
note that due to limitations in the graphing library, these can't be
translated at the moment.
2010-11-24 05:09:00 +09:00
Damien Elmes
33567edb3e
numerous graph changes
...
- use bar graphs instead of line graphs for 3 months or less
- easier to read shades of blue for reps graph
- simplify day cutoff calculation
- fix off by one bug in work done data
- add missing entries when calculating cumulative due
2010-11-24 04:30:55 +09:00
Damien Elmes
7491cfc521
new syncName handling
...
- the local deck name must now match the online deck
- syncName is a hash of the current deck's path or None
- the hash is checked on deck load, and if it is different (because the deck
was copied or moved), syncing is disabled. This should prevent people from
accidentally clobbering their online decks
2010-11-23 23:12:34 +09:00
Damien Elmes
6ec898ca4b
Require explicit reset for most queue-modifying functions
...
When you call operations like deleteCards(), suspendCards() and so on, it is
now necessary to call deck.reset() afterwards. This allows the calling code to
delay a reset if necessary. If the calling code calls a function that says the
caller must reset, the caller should be sure to call .reset() and fetch the
current card again. Failure to do the latter will result in answerCard()
attempting to remove the card from the queue, when the queue has been cleared.
2010-11-23 17:41:36 +09:00
Damien Elmes
943c9a0e5f
make sure the finished message displays cards due tomorrow
2010-11-23 15:33:54 +09:00
Damien Elmes
03503cd9b9
fix cram from ids case
2010-11-22 08:09:20 +09:00
Damien Elmes
b03f30c279
no need to adjust hardInterval in upgrade; handled in deck open
2010-11-21 14:24:46 +09:00
Damien Elmes
76135dc8be
updated failed card handling when cramming
...
- temp suspend all answered cards, regardless of type
- fails influence the standard scheduling too
2010-11-21 13:39:28 +09:00
Damien Elmes
37e269ab81
bump version for coming development release
2010-11-21 12:58:14 +09:00
Damien Elmes
937d6a6513
update earliestTime() for new failed cards handling
2010-11-21 12:32:58 +09:00
Damien Elmes
b4493f0ec8
user may set young delay to more than a day
2010-11-21 12:25:54 +09:00
Damien Elmes
8e9d14a0fd
avoid passing the second fade argument, as it seems to be more robust
2010-11-16 18:04:04 +09:00
Damien Elmes
c2f2225b7f
update combinedDue for the current card object, not just for the db
2010-11-16 11:27:27 +09:00
Damien Elmes
0afec850c0
on second thought, avoid suspended cards or this will bite us in the future
2010-11-15 14:29:52 +09:00
Damien Elmes
1cd5125d4e
remove the rest of the obsolote rebuildTypes() code
2010-11-15 14:27:52 +09:00
Damien Elmes
26470c997e
remove unused where clause from rebuildTypes()
2010-11-15 14:07:13 +09:00
Damien Elmes
6d2e32e2df
finished message should use cutoff + 24hrs
2010-11-14 08:16:07 +09:00
Damien Elmes
6f8a5d6a24
fix wrong priority code in rebuildTypes()
2010-11-14 08:11:28 +09:00
Damien Elmes
aa753d35a5
don't include suspended cards in graphs
2010-11-14 07:37:51 +09:00
Damien Elmes
1f8adc791a
a few failed cards related fixes
...
- make sure cardLimit() matches on sql statements that are broken over lines
- fix logic in getCardId()
- don't increment failed count if delay1>0 and card was mature
2010-11-13 21:39:52 +09:00
Damien Elmes
7502fba5ce
change failed card handling
...
The old delay1 behaviour isn't easy to achieve with the queue code, as we only
refresh the queue when it's emptied, and if the user has delay1 set to say 9
hours, failed mature cards sitting in the queue could prevent subsequent young
failures from being displayed. Instead we convert delay1 to a count in days in
which to offset failed mature cards. 0 means the same time as delay0, 1 means
show the card a day later, and so on. This means users will lose the ability
to delay mature cards for x number of minutes more than young cards, but a
scan of AnkiOnline decks indicates that's not often done.
We also need to use a separate cutoff for failed cards, since we need to be
able to display them as they expire if the user has disabled per-day
scheduling.
And instead of marking cards as due in the future, we set their due time to
the current time, and move the delay0 calculation to getCardId(). This means
that if the user changes their failed card settings from say 1 hour to 10
minutes, the changes apply to the currently failed cards and not just cards
failed in the future.
2010-11-13 21:15:41 +09:00
Damien Elmes
b69fd48768
more type handling updates; don't munge counts on sync
...
In various parts of the code we need to get all cards of a given category
(new, failed, etc) regardless of whether they're suspended, buried, etc. So we
store the true type in the obsolete relativeDelay column and add in index for
it, because it's cheaper than putting indices on reps & successive.
2010-11-13 18:39:24 +09:00
Damien Elmes
268d2645fd
delete cards that have the wrong card model
2010-11-13 16:33:39 +09:00
Damien Elmes
274017036a
add sanity limits to cutoff calculation
2010-11-13 12:00:01 +09:00
Damien Elmes
4a35dbe6b2
python2.7/win32 fix for latex
2010-11-12 13:05:43 +09:00
Damien Elmes
919353c57d
only require due to be past cutoff if the card was passed
2010-11-12 12:51:53 +09:00
Damien Elmes
3a7f343464
fix typo - been writing too much javascript lately!
2010-11-12 12:50:07 +09:00
Damien Elmes
1b411938bf
add inactive argument to cramCardTags() so it performs like standard
2010-11-12 12:49:30 +09:00
Damien Elmes
6ed0bc91bb
update sync url
2010-11-08 09:22:36 +09:00
Damien Elmes
9d6b0f35f4
ensure cards are scheduled past cutoff, more
...
- because the cutoff adds a few hours past midnight, it's possible for a card
that's scheduled for 1.0 days ahead to fall within the current cutoff, so we
need to make sure that doesn't happen
- set spaceUntil=0 when answering card again
- fix randomizeNewCards() query. the whole codebase needs auditing for type
references which need updating
2010-11-07 06:48:35 +09:00
Damien Elmes
61610d8351
adjust some queries so sqlite uses the correct index
2010-11-06 08:57:47 +09:00
Damien Elmes
e0d46f0f12
be resilient if spaceUntil sent wrong
2010-11-06 07:50:05 +09:00
Damien Elmes
328a1a86a4
make sure we reset rev early cards too on deck load
2010-11-06 06:03:34 +09:00
Damien Elmes
172505a707
fix broken card type calculation in error msg
2010-11-05 02:40:30 +09:00
Damien Elmes
4c50729946
temp debug info for requeueCard()
2010-11-04 02:32:37 +09:00
Damien Elmes
b766a9164e
fix thinko in previous answerCard() update
2010-11-04 02:28:08 +09:00
Damien Elmes
4524fd84fe
collapse spacing when cramming
2010-11-04 02:23:15 +09:00
Damien Elmes
cc12c8c573
need to rebuild counts when cutoff updated
2010-11-04 01:51:16 +09:00
Damien Elmes
0535f0561c
redundant code in answerCard()
2010-11-03 23:45:44 +09:00
Damien Elmes
3f3f797348
don't space failed cards; make sure card type is calculated after stats update
2010-11-03 00:29:56 +09:00
Damien Elmes
46790f2e92
remove (incorrect) code in sync, is covered on deck load anyway
2010-11-02 22:34:10 +09:00
Damien Elmes
a68334220a
fix suspensions
2010-11-02 22:30:57 +09:00
Damien Elmes
73119c93cf
restore inactive tags with a more efficient query
2010-11-02 02:33:13 +09:00
Damien Elmes
37c15a320e
make sure we don't fail if attempting to reset revearly cards before upgrade
2010-11-02 02:04:54 +09:00
Damien Elmes
2c5ac66083
type/priority changes, cram/rev early refactor, more
...
* Adjust type to remove cards from the queues, so we don't have to rebuild
priorities to restore them:
Type -= 3 when suspending
Type += 3 when burying
Type += 6 when cramming / reviewing early
We still need to adjust priorities for backwards compatibility, but this can
be removed in the future.
* Factor out scheduler-specific code in answerCard(), so the different
schedulers are now fully modular
* Differentiate between a card's current queue and its type
* Make sure dueCutoff cuts off at the chosen offset instead of midnight
2010-11-02 01:59:20 +09:00
Damien Elmes
785ddc3786
make sure to set card limit on scheduler change
2010-10-31 18:59:49 +09:00
Damien Elmes
ce82861357
make sure to update field cache when adding fact
2010-10-31 18:17:49 +09:00
Damien Elmes
c4a1f807ec
update cram for new cardActive() handling
2010-10-31 18:12:16 +09:00
Damien Elmes
cc8f619458
remove support for inactive tags
...
Unlike active tags, they are not able to be implemented efficiently, and they
duplicate the functionality of manually suspending cards
2010-10-29 21:31:40 +09:00
Damien Elmes
2967819882
fix fid queries
2010-10-29 19:41:40 +09:00
Damien Elmes
621d11a6da
don't generate cards if the question is blank, again
2010-10-29 01:05:33 +09:00
Damien Elmes
7e6f4907b0
make sure we don't count/grab cards multiple times
2010-10-28 20:33:19 +09:00
Damien Elmes
46ba2db87a
use new field cache so we can ignore html in std search
2010-10-27 21:22:29 +09:00
Damien Elmes
731c4100f9
wrap the remaining really long lines
2010-10-27 21:06:45 +09:00
Damien Elmes
4cce768c70
update search code for new scheduler
2010-10-27 21:03:48 +09:00
Damien Elmes
8c7322c974
merge marcus' searching code
2010-10-27 20:54:42 +09:00
Damien Elmes
34d6efe1df
marcus: handle html entities properly when stripping html
2010-10-27 20:12:00 +09:00
Damien Elmes
8ce0ff5b8b
add a field cache for searching without html
2010-10-27 19:00:49 +09:00
Damien Elmes
9f9841cb22
use a join instead of a subquery as sqlite can optimize it better
2010-10-26 20:21:59 +09:00
Damien Elmes
c50b7e61cb
new indices, make sure to set type when reviewing early
...
- new type, combinedDue for failed cards & count checks
- only reset() on deck load if not already done
- remove isDue from dynamic indices but leave old ones around for now
2010-10-26 20:10:05 +09:00
Damien Elmes
ea3bf14019
if using no points of precision, take the floor
2010-10-26 12:54:58 +09:00
Damien Elmes
5bc7c390a0
make sure to respect failed card timing, fix default hard times
2010-10-26 11:46:35 +09:00
Damien Elmes
27b7ccb41f
set deck vars before updating the cutoff
2010-10-25 15:46:58 +09:00
Damien Elmes
71de076309
no need to adjust types when rebuilding priorities
2010-10-25 15:38:50 +09:00
Damien Elmes
c1d79b856f
superfluous rowcount
2010-10-25 15:36:43 +09:00
Damien Elmes
33e6a17141
make sure to set isDue=0 for spaced cards too, for backwards compat
2010-10-25 15:28:59 +09:00
Damien Elmes
b0e4748a1c
make sure to update combinedDue with the new value
2010-10-25 14:35:05 +09:00
Damien Elmes
de18f59474
compat hack for suspended cards on older platforms
2010-10-24 14:21:21 +09:00
Damien Elmes
1f20442921
require dingsbums decks to use a different name so we don't conflict
2010-10-24 13:26:51 +09:00
Damien Elmes
ecc99780e4
add bury support
2010-10-24 13:06:16 +09:00
Damien Elmes
1d89be0a1e
make sure to set isDue=0 when answering a card for compatibility reasons
2010-10-24 13:01:13 +09:00
Damien Elmes
4c76d25b05
remove obsolete 'inactive' from findCards()
2010-10-24 12:55:33 +09:00
Damien Elmes
a3040d1fb4
suspend leeches after they've been removed from the queue
2010-10-24 12:32:40 +09:00
Damien Elmes
fbae42d8ef
tweak deck stats for new scheduling
2010-10-24 12:26:18 +09:00
Damien Elmes
1e2d88dccf
make sure to consider active tags when calculating next due card
2010-10-24 11:47:47 +09:00
Damien Elmes
057414f404
use same active/inactive limits for failed queue
2010-10-23 16:15:42 +09:00
Damien Elmes
d1f1f914ad
python2.7 win32 compat fix
2010-10-23 13:58:03 +09:00
Damien Elmes
df2ae3b63b
give each scheduler a name
2010-10-20 18:03:10 +09:00
Damien Elmes
94ad0cb95e
new cram code, remove refs to inactive cards
...
- cramming is now a separate scheduler type
- correctly answering a card while cramming causes its scheduling to be
changed in the standard review too
- options to sort cards by earliest modified, ordered, random
- render priority 0 obsolete, as it's all done at queue generation time now
2010-10-20 13:12:17 +09:00
Damien Elmes
30a6f04708
make queue limit configurable, fix bulk fetching of cards for ankionline
2010-10-19 19:45:57 +09:00
Damien Elmes
b7e3d87e5d
new active/inactive handling, bigger queues
...
- separate categories for new & review cards
- 'only these tags' + 'none of these tags'
2010-10-19 19:17:52 +09:00
Damien Elmes
be4dea39b1
more scheduler updates
...
- reimplement reviewEarly and newEarly by replacing parts of the scheduler,
instead of adding special conditions
- remove references to isDue and priority (1,2,3,4) which is not necessary
anymore
- add option to switch between per-day scheduling and due now scheduling
- newCardsToday() -> newCardsDoneToday()
- don't decrement counts for suspended cards
- make sure to update type when suspending/unsuspending
- fix findCards()
- set hardInterval = 1-1.1 on upgrade, or the default per day scheduling doesn't
make sense
2010-10-18 18:01:19 +09:00
Damien Elmes
ad743d850d
start work on scheduling refactor
...
Previously we used getCard() to fetch a card at the time. This required a
number of indices to perform efficiently, and the indices were expensive in
terms of disk space and time required to keep them up to date. Instead we now
gather a bunch of cards at once.
- Drop checkDue()/isDue so writes are not necessary to the DB when checking
for due cards
- Due counts checked on deck load, and only updated once a day or at the end
of a session. This prevents cards from expiring during reviews, leading to
confusing undo behaviour and due counts that go up instead of down as you
review. The default will be to only expire cards once a day, which represents
a change from the way things were done previously.
- Set deck var defaults on deck load/create instead of upgrade, which should
fix upgrade issues
- The scheduling code can now have bits and pieces switched out, which should
make review early / cram etc easier to integrate
- Cards with priority <= 0 now have their type incremented by three, so we can
get access to schedulable cards with a single column.
- rebuildQueue() -> reset()
- refresh() -> refreshSession()
- Views and many of the indices on the cards table are now obsolete and will
be removed in the future. I won't remove them straight away, so as to not
break backward compatibility.
- Use bigger intervals between successive card templates, as the previous
intervals were too small to represent in doubles in some circumstances
Still to do:
- review early
- learn more
- failing mature cards where delay1 > delay0
2010-10-18 14:35:11 +09:00
Damien Elmes
747a28556a
when determining which card templates to use, replace text: too
2010-10-18 11:34:02 +09:00
Damien Elmes
8df9111b50
only copy used media on import/export
2010-10-16 10:29:39 +09:00
Damien Elmes
e010ef8062
add clock skew compensation again
...
this has the negative effect of causing multiple full syncs if syncing
multiple times within a 5 minute period of the previous full sync, but it
makes it much less likely that people's due counts will fall out of sync
2010-10-02 14:47:33 +09:00
Damien Elmes
99ba3f09c8
catch missing facts at end of sync
2010-09-12 12:21:39 +09:00
Damien Elmes
1f239c1e67
direct user to help page when file not in utf-8
2010-09-02 11:45:33 +09:00
Damien Elmes
ea32bce31c
support escaped quotes in csv file, ignore bom marker
2010-08-30 20:40:28 +09:00
Damien Elmes
4437024ecc
fix a bug caused by sqlite not understanding unicode case
2010-08-26 18:38:08 +09:00
Damien Elmes
c916478868
bump version number
2010-08-19 13:42:19 +09:00
Damien Elmes
cb533d9c02
don't die when filename case is borked in media check
2010-08-16 19:28:45 +09:00
Damien Elmes
9332444dfd
add hook for when undo is finished
2010-08-16 19:27:00 +09:00
Damien Elmes
84cb81854b
faster tag updating for large number of tags
2010-08-16 18:52:55 +09:00
Damien Elmes
ff60f105d9
add extra minor version number to ensure betas get upgraded
2010-08-02 13:26:48 +09:00
Damien Elmes
5e7c62bca5
don't compensate for clock skew
2010-07-30 18:15:24 +09:00
Damien Elmes
e956aa9afb
remove obsolete function
2010-07-27 22:54:51 +09:00
Damien Elmes
d3fb189a72
improved lastSync/modified handling
...
- never bump deck mod while syncing
- set lastSync to current time, not deck modified time
- don't update lastSync until the final part of the sync
- lower clock skew allowance to ~5 minutes
- bump full sync threshold to 1000 modified items
2010-07-27 22:46:04 +09:00
Damien Elmes
ecb6dbe69a
unicode in error messages
2010-07-26 20:59:56 +09:00
Damien Elmes
55194f8aa7
ensure cardmodel/fieldmodels work when given a string too
2010-07-26 17:15:05 +09:00
Damien Elmes
5fe42791c3
use relative path in latex generation
2010-07-26 17:14:49 +09:00
Damien Elmes
61a7d6d79e
make sure we match a given model even when given a string
2010-07-24 14:28:24 +09:00
Damien Elmes
a68366b5c4
fix card ordering when generating cards by basing card creation off fact
2010-07-21 19:46:27 +09:00
Damien Elmes
f3d2965e12
Revert "don't delete dangling facts when deleting cards" hack
...
We don't need this any more as we do conflict handling.
This reverts commit 880219567e .
2010-07-21 18:37:35 +09:00
Damien Elmes
6852b0acda
bump mod time on full sync to server, ensure lastSync matches
2010-07-21 18:37:05 +09:00
Damien Elmes
f58651cf1b
bump version number
2010-07-11 17:42:05 +09:00
Damien Elmes
b8401eff22
ignore parse errors due to invalid html on export
2010-06-28 11:52:25 +09:00
Damien Elmes
f03000d27b
remove string exceptions for python2.6
2010-06-10 13:24:46 +09:00
Damien Elmes
880219567e
don't delete dangling facts when deleting cards
...
If the user is not careful to only sync when one side has been modified, they
can end up with cards on one side and not the other. If they then delete a
card, deleting the dangling facts also deletes the fact associated with the
not-yet-synced card. In order to avoid this, we avoid deleting dangling facts
until a DB check.
2010-05-21 06:56:38 +09:00
Damien Elmes
edf121f8dc
add hex cache for dumb clients, make sure not to mark deck modified
2010-05-16 01:01:38 +09:00
Damien Elmes
5616e679f5
cache the css as a deck var, don't accidentally send it in sync
2010-05-10 21:32:36 +09:00
Damien Elmes
fd1953bfb5
convert to a list, not tuples, so we can modify on the fly
2010-05-07 16:05:35 +09:00
Damien Elmes
f69d946f83
more sqlalchemy compat
2010-05-02 16:15:32 +09:00
Damien Elmes
554d7021e0
don't specify an input index by default
2010-04-21 13:31:59 +09:00
Damien Elmes
a1d3f13f0a
update for sqlalchemy 0.6
2010-04-21 13:21:16 +09:00
Damien Elmes
1be5943903
remove erroneous comment
2010-04-16 01:25:47 +09:00
Damien Elmes
21ec548680
more explicit setting of creation time, don't fiddle with ordinals for rand
2010-04-15 23:05:14 +09:00
Damien Elmes
783751d7ea
support ? for single char search
2010-04-06 18:47:39 +09:00
Damien Elmes
af66630f07
delay beautifulsoup import until export
2010-04-01 22:57:26 +09:00
Damien Elmes
7f75364fbe
delete mediamissing tags before setting
2010-03-28 10:18:13 +09:00
Damien Elmes
465a890bcd
don't add = as a delim
2010-03-16 00:39:41 +09:00
Albert Peschar
ed50fb20d9
auto-detect '=' as import delimiter, strip fields
2010-03-14 11:40:31 +01:00
Damien Elmes
c8d9bac5df
clarify one way sync error
2010-03-05 09:27:11 +09:00
Damien Elmes
09f51e5028
when adding facts, use a small due increment for each card model
2010-03-03 02:51:05 +09:00
Damien Elmes
80197d9c2f
when generating cards, use a small creation date increment
2010-03-03 02:49:55 +09:00
Damien Elmes
27694adf1a
patch from Chris Burel, fix qt html rewriting on 4.6.1+
2010-02-23 17:25:12 +09:00
Damien Elmes
7111b3b924
add attr to tell if fact was pulled from db
2010-02-22 18:00:23 +09:00
Damien Elmes
8a28df1a80
patch from Piotr Kubowicz, fix some translations
2010-02-22 17:07:46 +09:00
Damien Elmes
220670a048
update combinedDue attr in cardAnswered(), not just on disk
2010-02-22 16:41:20 +09:00
Damien Elmes
472b68b831
don't backup when importing / saving as
2010-02-20 10:03:39 +09:00
Damien Elmes
bc345d3711
create backup dir if missing
2010-02-20 09:54:54 +09:00
Damien Elmes
7c8e612704
use a constant for chunk size
2010-02-18 17:36:54 +09:00
Damien Elmes
4769bfa7a5
another hack for w32's low timer resolution
2010-02-12 16:03:48 +09:00
Damien Elmes
6857233eef
bump version
2010-02-12 14:40:45 +09:00
Damien Elmes
4a1dd99cc9
bump version
2010-02-09 01:55:01 +09:00
Damien Elmes
6dce4e0602
add progress dialog to save as
2010-02-09 01:52:06 +09:00
Damien Elmes
ae690ccea3
don't bother with an integrity check if the deck is unchanged
2010-02-09 01:36:39 +09:00
Damien Elmes
715c82aba9
remove debugging line in exporting
2010-02-09 01:31:05 +09:00
Damien Elmes
295bacacd8
forget sync name on saveas
2010-02-09 01:30:16 +09:00
Damien Elmes
095a7dbb6f
implement save as without attaching a db
...
Attaching new to old causes old to be implicitly commited.
We also can't access old from new if a write lock has been
taken out, so the only option left is to move all the data
through Python and take the speed hit.
2010-02-09 01:27:49 +09:00
Damien Elmes
dfd88cc4c1
don't set modtime of 0
2010-02-06 01:20:50 +09:00
Damien Elmes
c659660864
don't send acq cards when there are cards to review & new cards shown last
2010-02-05 13:07:42 +09:00
Damien Elmes
09f51e27f0
return newly created card ids when generating cards
2010-02-05 12:59:54 +09:00
Damien Elmes
582a9dd290
don't create empty tags on export
2010-02-05 12:27:32 +09:00
Damien Elmes
187caa874b
make sure to remove deck if exists before exporting into it
2010-02-02 00:28:15 +09:00
Damien Elmes
04ba9c9a4e
strip elements out of range in review time graph
2010-02-01 07:16:40 +09:00
Damien Elmes
8378f71c73
since interval is updated first, use lastInterval in cardIsBeingLearnt()
2010-02-01 05:11:34 +09:00
Damien Elmes
9b61d86096
place a minimum bound on average factor
...
Since SM2's grading has a bias towards starting high and going down (fail/hard
decrease the interval more than easy increases it), more conservative users
find their average interval reaches the minimum allowable interval and the
times given by hard/good start to converge. In the future, the whole concept
of using the average interval for new cards should be revisited to see if the
data supports it
2010-02-01 05:01:23 +09:00
Damien Elmes
3106ecd80d
change location of matplotlibrc file in frozen distrib
2010-02-01 04:44:39 +09:00
Damien Elmes
d8ba9e1987
revert ease1 change
...
suspicious of the previous change, I had a look at the example pascal and
found the EF _was_ actually updated on a failure. The spec is misleading there.
2010-02-01 04:44:27 +09:00
Damien Elmes
095ac330b5
fix first-time latex generation in a deck with no media dir
2010-02-01 03:33:13 +09:00
Damien Elmes
87a0e087e5
tweak scheduler
...
- don't touch factor on fail, as per SM2 specs
- hard code no-punish-on-hard 'learning period' to 7 days so users who tweak
the initial intervals aren't punished too early
2010-02-01 03:28:46 +09:00
Damien Elmes
863d3d8319
add stripMedia()
2010-01-29 20:20:00 +09:00
Damien Elmes
ec263d0d63
if there is a period, always use the plural
2010-01-29 20:05:04 +09:00
Damien Elmes
9172c9b697
remove obsolete time span pair code
2010-01-29 19:28:38 +09:00
Damien Elmes
c90828349c
remove obsolete reference to card tags, don't store card tags on import
2010-01-23 10:59:40 +09:00
Damien Elmes
ea2fa24fed
add progress info to card/fact export
2010-01-23 10:51:02 +09:00
Damien Elmes
b4f1d6622a
use html parser on text export instead of fragile regex
2010-01-23 08:13:43 +09:00
Damien Elmes
28ff71a031
fix dingsbums tests
2010-01-23 06:42:02 +09:00
Damien Elmes
1ae05a8bc7
limit auto-detected delimiter to a known-good set
2010-01-23 06:00:06 +09:00
Damien Elmes
a6a7782030
fix another windows timer resolution bug
2010-01-22 02:16:57 +09:00
Damien Elmes
33aede4d56
document 'features' reuse, add tool to get var as string
2010-01-19 01:51:35 +09:00
Damien Elmes
bf35112bd0
improve latex error message
2010-01-12 04:38:44 +09:00
Damien Elmes
c7340edd6f
strip html for text: fields
2010-01-08 22:02:16 +09:00
Damien Elmes
20da165b6e
check backup integrity using existing db connection to avoid locking issues
2010-01-04 22:37:14 +09:00
Damien Elmes
33ec7ce133
clarify comment
2009-12-02 03:38:46 +09:00
Damien Elmes
ec9a7c3755
check db integrity on backup
2009-11-30 14:31:47 +09:00
Damien Elmes
6a8c19a889
use threadlocal for single user access
2009-11-30 08:34:31 +09:00
Damien Elmes
d44cbd5518
remove logging hack
2009-11-30 08:11:34 +09:00
Damien Elmes
e2f306ae3b
fix cards/day amount
2009-11-29 19:47:53 +09:00
Damien Elmes
84b88507a2
tweak importing message
2009-11-27 19:53:24 +09:00
Damien Elmes
4bea904dc6
give the card id on cardAnswered hook, not old card
2009-11-27 15:59:58 +09:00
Damien Elmes
17630fa339
close text file after import
2009-11-27 15:27:01 +09:00
Damien Elmes
a50ec2649a
fix undo of deck properties bug
2009-11-27 15:26:03 +09:00
Damien Elmes
093395b9e0
Revert "add 30 second timeout to all sync ops"
...
This reverts commit cbc23e5231 .
2009-11-24 23:35:34 +09:00
Damien Elmes
feaedccc9a
fix field ordinals on db check
2009-11-19 13:07:43 +09:00
Damien Elmes
c3833a6a10
quote loadfile cmd
2009-11-08 14:47:17 +09:00
Rick Gruber-Riemer
4971069856
Added importing for DingsBums?! decks
2009-11-08 14:39:09 +09:00
Damien Elmes
7e2fd90963
Merge git://github.com/jmazon/libanki
2009-10-31 15:50:56 +09:00
Jean-Baptiste Mazon
fe19dd806d
rewrite field names as tags when importing with tagDuplicates
2009-10-31 00:35:46 +01:00
Damien Elmes
9671d15371
rewrite expression to be clearer
2009-10-25 19:48:28 +09:00
Damien Elmes
cbc23e5231
add 30 second timeout to all sync ops
2009-10-04 19:53:12 +09:00
Damien Elmes
164b0583c3
unlink tmp file after full up
2009-10-04 19:33:18 +09:00
Damien Elmes
4e83a67e00
lowercase is:foo searches
2009-10-04 19:30:21 +09:00
Damien Elmes
7d8904a65d
factor spacing into due time
2009-10-01 20:17:31 +09:00
Damien Elmes
9f182b4d61
new stats
2009-10-01 17:44:43 +09:00
Damien Elmes
c786479268
timeout @ 60
2009-09-28 09:22:57 +09:00
Damien Elmes
1111cae80a
mark everything updated on full db check
2009-09-26 23:13:28 +09:00
Damien Elmes
76376d9040
move the simple player code into a plugin
2009-09-26 23:05:30 +09:00
Damien Elmes
ebac830248
don't define MATPLOTLIBDATA on osx
2009-09-26 20:54:08 +09:00
Damien Elmes
faea67e14b
add primitive player back, and fall back to it on osx 10.3
2009-09-26 08:57:36 +09:00
Damien Elmes
1906741e11
give a more intuitive error when trying to import utf16
2009-09-26 06:02:25 +09:00
Damien Elmes
75f56d13e2
decrease chunk size to 32k due to crappy win32 network cards
2009-09-26 05:51:22 +09:00
Damien Elmes
11c1e7799b
use relative paths in latex as the path may contain foreign chars
2009-09-26 05:47:52 +09:00
Damien Elmes
e687b1d033
don't translate graphs, as agg can't cope
2009-09-26 05:14:16 +09:00
Damien Elmes
029390f73b
mark version as snapshot
2009-09-26 04:21:50 +09:00
Damien Elmes
0863acc160
make pool an argument instead of progress handling; timeout=30
2009-09-25 18:08:53 +09:00
Damien Elmes
1028b04d9c
default timeout of 90 seconds
2009-09-22 18:35:31 +09:00
Damien Elmes
2e2444f488
apsw -> nullpool
2009-09-21 20:48:04 +09:00
Damien Elmes
d02c1fb70a
add nullpool to db, crop newlines in logs
2009-09-21 20:41:58 +09:00
Damien Elmes
fa6d1f9528
set isolation_level=None when using apsw
2009-09-20 19:55:56 +09:00
Damien Elmes
dce35eda06
disable progress handler if apsw enabled
2009-09-17 01:33:29 +09:00
Damien Elmes
2a72a4dc70
apsw wants unicode
2009-09-17 01:08:19 +09:00
Damien Elmes
090529c4d7
add option to initialize via apsw
2009-09-17 00:25:53 +09:00
Damien Elmes
1b1b69e966
don't die on resetUndo() if undo disabled
2009-09-14 15:30:20 +09:00
Damien Elmes
a9f3e4dca7
don't throw a traceback with an invalid fid
2009-09-06 17:31:47 +09:00
Damien Elmes
03ae1d6ca7
patch from saturnien to make mp3 encoding optional
2009-09-06 17:16:02 +09:00
Damien Elmes
5fed1f7f35
support rtl in html too
2009-08-17 07:42:19 +09:00
Damien Elmes
fd9ce1a876
random(0, time())
2009-08-17 06:52:26 +09:00
Damien Elmes
52be4b059d
make short times i18n
2009-08-17 06:52:14 +09:00
Damien Elmes
8bc7e0c945
enforce ordinal ordering when importing
2009-08-17 05:05:50 +09:00
Damien Elmes
c33c6318b2
handle text:field in rename & delete
2009-08-17 04:53:29 +09:00
Damien Elmes
1006943d8e
SuperMemo import fix from Petr
...
Fix supermemo import of Q&A part in escaped html. Supermemo 2004/2006 export
can contain unescaped chars > or < that confuse beautifulsoap library. Switch
autocreation of tags from all titles to True.
2009-07-26 12:38:36 +09:00
Damien Elmes
4be3de322c
tweak pyaudio error message
2009-07-18 18:11:57 +09:00
Damien Elmes
d96b46887e
make stat formatting consistent
2009-07-18 18:09:52 +09:00
Damien Elmes
b80fc40aee
lazy-load beautifulsoup
2009-07-10 00:37:06 +09:00
Damien Elmes
2f2487e5b8
increase 5 year max scheduling time to 100 years
2009-07-09 23:07:38 +09:00
Damien Elmes
fe99ff7518
add supermemo importer from Petr Michalec
2009-07-09 23:03:23 +09:00
Damien Elmes
fdb9327864
fix locking in ubuntu
2009-07-08 14:38:40 +09:00
Damien Elmes
13a14e498c
increase mod in delete
2009-07-08 12:29:09 +09:00
Damien Elmes
50103693d1
add progress to cache/uncache
2009-07-08 12:28:48 +09:00
Damien Elmes
95d6ba64ab
fix uncache latex
2009-07-08 12:24:25 +09:00
Damien Elmes
6f27ae52cc
revert to old style file-only latex handling
2009-07-08 12:20:56 +09:00
Damien Elmes
0011489220
improve error message when utf16 file passed in
2009-07-06 21:26:46 +09:00
Damien Elmes
b4a330a946
add hook for deck stats
2009-07-05 16:53:12 +09:00
Damien Elmes
7612259a72
add card ease stats
2009-07-05 16:41:18 +09:00
Damien Elmes
6dfaccaa5e
reuse features as rtl marker, fix deck version
2009-07-05 02:19:13 +09:00
Damien Elmes
2579bebbda
bump version
2009-07-04 18:10:52 +09:00
Damien Elmes
8f383db5d2
don't bump mod time on upgrade
2009-07-04 17:10:32 +09:00
Damien Elmes
6514c2a2a5
when previewing cards, use all available card models
2009-07-04 16:50:25 +09:00
Damien Elmes
1d5ee36314
add a filter for formatQA()
2009-07-04 15:40:42 +09:00
Damien Elmes
0d0b9fc81e
make sure card count is properly updated in importing
2009-07-04 15:40:36 +09:00
Damien Elmes
932440165a
when files have been modified, make sure to retain originalPath
2009-07-04 15:17:49 +09:00
Damien Elmes
670439c805
support for exporting original filenames
2009-07-04 14:56:25 +09:00
Damien Elmes
e2ad8a7ce3
bump deck mod time on suspend/unsuspend
2009-07-02 23:42:05 +09:00
Damien Elmes
a73e4757ad
universal newlines when importing
2009-07-02 23:23:05 +09:00
Damien Elmes
a9bb1639c0
remove locales
2009-06-30 11:32:15 +09:00
Damien Elmes
01cb3a4b7d
when regenerating cards, use fact's creation date
2009-06-29 23:30:13 +09:00
Damien Elmes
e1c3cc7b5c
honour card/fact creation order when exporting as text
2009-06-29 23:26:35 +09:00
Damien Elmes
5e9a68d4c7
fix problem upgrading shared decks
2009-06-28 22:23:40 +09:00
Damien Elmes
b1f213644e
tweak deck stats
2009-06-28 10:54:05 +09:00
Damien Elmes
1cc077e1e7
make sure save as copies deck vars
2009-06-27 17:20:49 +09:00
Damien Elmes
f0c5833bf5
bump version number for beta
2009-06-26 15:47:13 +09:00
Damien Elmes
a12878347a
force always on top for the video window, add a hook to fix an osx issue
2009-06-26 10:51:22 +09:00
Damien Elmes
b23dc8053d
updated translations from jarvik
2009-06-26 09:47:34 +09:00
Damien Elmes
0d40fb6743
Merge branch 'master' of git://github.com/sanna/libanki
2009-06-26 09:43:30 +09:00
Damien Elmes
35731d0cb3
move leech detection into libanki
2009-06-26 08:10:33 +09:00
Damien Elmes
2b86cd6b33
add ability to customize separato in csv import
2009-06-26 07:13:14 +09:00
Susanna Björverud
f90a15acb4
Updated version string to 0.9.9.8.3 for Swedish translation and reran translation.sh
2009-06-25 10:42:42 +02:00
Damien Elmes
5598bcbce4
make sure to set leech vars on create, fix recently created decks
2009-06-25 14:57:34 +09:00
Damien Elmes
fd6ea460ae
bump version
2009-06-25 06:49:48 +09:00
Damien Elmes
27732e3553
catch large # of reviews in full sync, reduce limit to 500
2009-06-25 05:47:14 +09:00
Damien Elmes
1e7cae5202
add leech control
2009-06-25 05:24:02 +09:00
Damien Elmes
1bd5c988b1
create mplayer threads lazily on play, make sure not to deadlock
2009-06-25 04:35:58 +09:00
Susanna Björverud
b5b3f9fd8c
Updated version number in Swedish translation and reran translation.sh
2009-06-23 16:49:50 +02:00
Damien Elmes
1a5d243520
reenable removal of suspended tag
2009-06-23 23:43:21 +09:00
Damien Elmes
3270417cfd
bump version number
2009-06-23 23:29:09 +09:00
Susanna Björverud
19327c317b
Updated Swedish translation and reran translation.sh
2009-06-23 09:05:32 +02:00
Damien Elmes
03dff653ab
handle latex too
2009-06-23 06:41:19 +09:00
Damien Elmes
28a45a4f4c
add support for downloading missing media
2009-06-23 06:30:14 +09:00
Damien Elmes
a4d1c55d4f
if mplayerCond is none, finish thread
2009-06-23 06:29:52 +09:00
Susanna Björverud
ea5a867397
Updated Swedish translation and reran translation.sh
2009-06-21 20:07:29 +02:00
Damien Elmes
2f93ca3d8f
reuse features as media url, blank
2009-06-21 06:51:48 +09:00
Damien Elmes
6b7c0d7997
fix missing media problem, fix json decode float
2009-06-21 04:36:36 +09:00
Damien Elmes
31f6b83b88
rebuild translations
2009-06-21 03:34:02 +09:00
Damien Elmes
88acd65858
updated German from Michael Jürges
2009-06-21 03:33:18 +09:00
Damien Elmes
2b9220e5bd
Merge branch 'master' of git://github.com/sanna/libanki
2009-06-21 03:18:43 +09:00
Damien Elmes
f94104ed9f
new backup-friendly backup handling
2009-06-20 02:05:11 +09:00
Damien Elmes
1f0a8edfa4
strip out mediaSupported
2009-06-20 01:32:20 +09:00
Damien Elmes
3d81181323
bulk media support -> local media copy, always send media table
2009-06-19 11:50:31 +09:00
Damien Elmes
aca3ea2513
upgrade suspended, but don't mark cards dirty and don't delete from suspended
2009-06-19 10:26:54 +09:00
Damien Elmes
f96a7a7c5b
Reverting "suspend/unsuspend noweb on full sync"; obsolete
2009-06-19 10:10:37 +09:00
Damien Elmes
358b453906
always update buried/reviewEarly cards
2009-06-19 08:02:40 +09:00
Damien Elmes
3e2c150b17
only set lastDue if card is not new, hide due for new cards in stats
2009-06-19 07:46:26 +09:00
Susanna Björverud
98be8e1c47
Fixed error in Swedish translation and reran translation.sh
2009-06-18 10:36:39 +02:00
Susanna Björverud
6a8e3effe8
Updated Swedish translation and reran translation.sh
2009-06-18 09:54:08 +02:00
Damien Elmes
a1981cf220
strip suspended upgrade code, users will have to do it manually
2009-06-18 07:57:38 +09:00
Damien Elmes
b079df2a13
don't use communicate(), catch win32 error
2009-06-18 07:11:39 +09:00
Damien Elmes
e6b207f7af
force media sync to go in one direction
2009-06-18 06:48:41 +09:00
Damien Elmes
d0653f2f7a
make mplayer threads daemons
2009-06-18 06:43:12 +09:00
Damien Elmes
22efbaaf81
fix mplayer blocking on debug output
2009-06-18 06:39:21 +09:00
Damien Elmes
0cd3b517b3
make sure to use unicode in suspended
2009-06-18 06:11:22 +09:00
Damien Elmes
9cab497217
remove obsolete methods in csvfile
2009-06-18 05:52:03 +09:00
Damien Elmes
ad5a7c8bf7
close mplayer on deck close as media path may change
2009-06-18 05:49:08 +09:00
Damien Elmes
8c8a76d08d
updated japanese translation from jarvik
2009-06-18 05:39:03 +09:00
Damien Elmes
5eb1a69735
catch unicode decode errors in csv import
2009-06-18 05:37:56 +09:00
Damien Elmes
e62967ecb1
switch to python csv
2009-06-18 05:21:47 +09:00
Damien Elmes
b6a50db1c2
rebuild queue after upgrade mostly done
2009-06-18 04:25:45 +09:00
Damien Elmes
093fb4695b
suspend/unsuspend noweb on full sync
2009-06-18 04:04:50 +09:00
Damien Elmes
33c23bc082
add leech report to congrats, remove bold from less important items
2009-06-18 03:43:31 +09:00
Damien Elmes
285bf5a9a0
add search for inactive
2009-06-18 03:14:22 +09:00
Damien Elmes
5bca5bc0da
make distinction between suspended/inactive
2009-06-18 03:13:58 +09:00
Damien Elmes
58c4e6eb27
fix error caused by upgrading deck without queue built
2009-06-18 02:40:18 +09:00
Damien Elmes
6a286d1eca
obsolete suspended tag
...
- add suspendCards/unsuspendCards()
- set priority = -3 to manually suspend
- ignore cards with negative priorities when updating
- remove suspended from list of initial tags
2009-06-18 02:25:50 +09:00
Damien Elmes
03369658ee
remove sleep debugging
2009-06-16 04:01:13 +09:00
Damien Elmes
717044dcad
add progress handler back to full sync upload
2009-06-16 03:59:54 +09:00
Susanna Björverud
88dab64bfc
Updated Swedish translation and reran translation.sh
2009-06-15 20:06:48 +02:00
Damien Elmes
aca7962fe3
updated polish translation from piotr
2009-06-16 02:25:11 +09:00
Damien Elmes
cffa1e50c3
Merge branch 'master' of git://github.com/sanna/libanki
2009-06-16 02:24:49 +09:00
Damien Elmes
a478e9af6b
apply translation patch from piotr
2009-06-16 02:23:56 +09:00
Susanna Björverud
0402c2b8e2
Updated Swedish translation
2009-06-15 17:46:56 +02:00
Susanna Björverud
7d34b35b75
Merge branch 'master' of git://ichi2.net/libanki
2009-06-15 17:37:03 +02:00
Damien Elmes
5b8832402a
fix close post sync
2009-06-16 00:02:26 +09:00
Damien Elmes
3b99232f7a
switch to urllib2 to pick up proxy, monkey-patch httplib to incrementally send
2009-06-15 23:01:43 +09:00
Damien Elmes
09e002c8d6
when generating cards in ordered mode, set due = fact creation + ordinal
2009-06-15 11:57:25 +09:00
Damien Elmes
8e92a4dfc8
don't poll empty mplayer
2009-06-15 11:45:11 +09:00
Damien Elmes
e66e66c614
don't catch all osx errors
2009-06-15 11:37:02 +09:00
Damien Elmes
7cac17a543
restart mplayer if it has stopped
2009-06-15 11:26:42 +09:00
Damien Elmes
8d3678b9fb
mark deck dirty on reset cards
2009-06-15 06:57:50 +09:00
Damien Elmes
fb8f2bd09f
handle interrupted system call errors on mplayer shutdown
2009-06-15 06:57:36 +09:00
Damien Elmes
e578ffc721
map all file descriptors to work with py2exe
2009-06-13 16:01:58 +09:00
Damien Elmes
efb71c754c
bump protocol version
2009-06-13 01:14:54 +09:00
Damien Elmes
2db2b65df0
set deck created time on download
2009-06-12 22:41:21 +09:00
Damien Elmes
b5da38474f
allow arbitrary number of args in filters
2009-06-12 22:21:57 +09:00
Damien Elmes
9d8df81e11
cleanup mplayer slave on exit
2009-06-12 20:26:00 +09:00
Susanna Björverud
79aada5288
Bump version number, no string changes, for Swedish translation
2009-06-12 08:42:30 +02:00
Damien Elmes
d67b4b2ed9
remove obsolote newSpacedCount()
2009-06-11 22:49:15 +09:00
Damien Elmes
d2ac7fc13e
don't dirty cards/fact on full check, rely on lastSync = 0
2009-06-11 03:49:16 +09:00
Damien Elmes
3085ce7328
use mplayer slave mode
2009-06-11 03:29:07 +09:00
Damien Elmes
2d32e1aaa1
strip all chinese/japanese support out in favour of plugins
2009-06-10 22:58:28 +09:00
Damien Elmes
28f6df93cb
assert response ok
2009-06-10 22:33:20 +09:00
Damien Elmes
261c70b8c2
set first answered on reset
2009-06-10 21:23:30 +09:00
Damien Elmes
0dc07bcfd1
support get(x, default) in facts
2009-06-10 21:22:29 +09:00
Damien Elmes
fe6fb005b6
do partial tag update on sync
2009-06-10 20:58:54 +09:00
Damien Elmes
cc50a5fdae
updated spanish translations
2009-06-09 04:09:55 +09:00
Damien Elmes
abbd7f1d3c
Merge branch 'master' of git://github.com/sanna/libanki
2009-06-09 01:40:43 +09:00
Damien Elmes
8a40dbc35c
bump version number
2009-06-09 01:31:38 +09:00
Damien Elmes
5cb85176e6
include all jinmei in missing/seen
2009-06-08 21:44:21 +09:00
Damien Elmes
c9f78cb7b6
add class to question/answer
2009-06-08 13:39:17 +09:00
Damien Elmes
845aede221
if show failed cards at end, use maxFailed = 0
2009-06-08 12:36:23 +09:00
Susanna Björverud
4e023797d7
Updated Swedish translation and reran translation.sh
2009-06-07 18:59:05 +02:00
Damien Elmes
bf59bcd1d7
remap mnemosyne latex tags
2009-06-07 02:50:09 +09:00
Damien Elmes
6ffa8cd191
make kakasi cmd more easily customizable
2009-06-06 23:51:58 +09:00
Damien Elmes
f47afc3ebf
bump version
2009-06-06 22:36:34 +09:00
Damien Elmes
1ec8baa459
add filter support
2009-06-06 21:56:44 +09:00
Damien Elmes
40a7278aa5
include kanji in reading generation
2009-06-06 21:24:20 +09:00
Damien Elmes
bd31fb4e69
numerous optimizations - cold cache start is much faster now
...
- fix priorityDue index order
- force correct index on checkDue() and spacedCardCount()
- don't check due again if reviewEarly & newEarly false
- optimize reviewEarly/buried unsuspend
2009-06-06 18:49:30 +09:00
Damien Elmes
06780e56fd
Merge branch 'master' of git://github.com/sanna/libanki
2009-06-06 17:37:56 +09:00
Damien Elmes
c5cabb7e84
analyze after adding index
2009-06-06 17:37:48 +09:00
Damien Elmes
598b2e79e9
add index for average factor calculation
2009-06-06 17:32:51 +09:00
Damien Elmes
82e8555793
remove debugging from fixIntegrity
2009-06-06 03:42:01 +09:00
Susanna Björverud
eaf63612a8
Updated Swedish translation and reran translation.sh
2009-06-05 20:37:12 +02:00
Damien Elmes
d1c73cb002
don't use full sync in local sync
2009-06-06 01:11:14 +09:00
Damien Elmes
d7961413b4
make sure to set card model id when creating cards, tweak code formatting
2009-06-06 01:09:08 +09:00
Damien Elmes
f5facee398
make sure to close temp file fds, add full sync to sync()
2009-06-05 15:16:11 +09:00
Damien Elmes
dd9ba0e833
support htmlquestion/answer without orm
2009-06-04 17:17:09 +09:00
Damien Elmes
15b5e3b6c0
hack for race condition with queue clearing
2009-06-04 09:37:59 +09:00
Damien Elmes
c6cddeb163
respect max failed cards with 'show failed cards at end', set to default 1000
2009-06-04 07:22:03 +09:00
Damien Elmes
b136e505b0
strip <style> tags as well
2009-06-04 07:07:49 +09:00
Damien Elmes
91afe651b3
randomize after .anki import
2009-06-04 06:59:07 +09:00
Damien Elmes
4effec1c59
remove extra newline
2009-06-04 05:28:32 +09:00
Damien Elmes
3e40dc1557
return if numBackups = 0
2009-06-04 05:17:36 +09:00
Damien Elmes
4d1ea887dd
rename rather than copy file if same name but different case in media check
2009-06-04 04:20:19 +09:00
Damien Elmes
5692c91855
add check for fields without field model
2009-06-04 04:19:53 +09:00
Damien Elmes
feac19941d
updated polish translations
2009-06-02 15:59:16 +09:00
Damien Elmes
4b883e2c16
don't clobber original deck if failure in sync
2009-06-02 15:41:30 +09:00
Damien Elmes
d35ef18889
make sure to set host header
2009-06-02 04:16:49 +09:00
Damien Elmes
76b114f584
make sure to include type= when raising deck access error
2009-06-02 03:21:40 +09:00
Damien Elmes
a1166215fd
implement full sync downloading
2009-06-02 03:19:16 +09:00
Damien Elmes
8a19bd4c57
implement full sync uploading
2009-05-31 01:23:31 +09:00
Damien Elmes
22b086fbad
better error report if deck is missing decks table
2009-05-31 01:22:06 +09:00
Damien Elmes
b237bcbdf0
support searching for fact ids
2009-05-30 18:22:55 +09:00
Emilio Wuerges
d9d7fff820
fixed jinmei (reg) and jinmei (var) lists
2009-05-29 02:27:23 +09:00
Damien Elmes
bb21a0a517
update jinmeiyou and tweak formatting
2009-05-28 00:54:45 +09:00
Damien Elmes
c681159951
strip trailing whitespace, joyo->jouyou
2009-05-28 00:39:26 +09:00
Emilio Wuerges
1add5e4ca8
Added New Joyo Kanji list to kanji statistics
2009-05-28 00:31:22 +09:00
Damien Elmes
ddbe0b8657
make sure utcoffset defaults to -1 so initialized on first load
2009-05-27 00:30:29 +09:00
Damien Elmes
df0e4d2446
ensure tags are synced properly in one way sync
2009-05-21 02:11:33 +09:00
Damien Elmes
423974934c
unify decks/deck -> Deck, fix & build translatations
2009-05-21 01:04:15 +09:00
Damien Elmes
a9044a4d8c
Merge branch 'master' of git://github.com/sanna/libanki
2009-05-21 01:00:10 +09:00
Damien Elmes
b8e4358b7b
Norwegian translations from Lars Lem
2009-05-21 00:59:54 +09:00
Susanna Björverud
b9e30cb9ba
Updated version string in Swedish translation and reran translation.sh
2009-05-17 19:06:42 +02:00
Damien Elmes
7588eb9650
don't need to mention views/indices
2009-05-16 05:12:44 +09:00
Damien Elmes
936106e4c9
Merge branch 'master' of git://github.com/sanna/libanki
2009-05-16 05:12:13 +09:00
Damien Elmes
ea9ad13932
add support for alternative media dir and disabling media copy on export
2009-05-16 04:07:54 +09:00
Susanna Björverud
dd8f7c4c43
Updated Swedish translation
2009-05-15 20:17:12 +02:00
Damien Elmes
6ccafcb996
optimize change model - much faster for large decks
2009-05-16 03:14:23 +09:00
Damien Elmes
2a9e88cb5d
support quick db check, don't forget deletions, report deleted cards
2009-05-16 02:47:51 +09:00
Damien Elmes
d091166fe5
bump version
2009-05-16 00:50:30 +09:00
Damien Elmes
876fac87b3
Merge branch 'master' of git://github.com/sanna/libanki
2009-05-16 00:49:51 +09:00
Damien Elmes
ebf83d898e
don't clobber deck modified when expired cards on open
2009-05-16 00:49:33 +09:00
Susanna Björverud
1c6cc5dbf2
Updated Swedish translation and reran translation.sh
2009-05-14 14:45:34 +02:00
Damien Elmes
1e275db81d
add stats sync direction to make it clearer
2009-05-13 15:41:31 +09:00
Damien Elmes
2b5f2fa896
if the time is over a minute, cap to a minute instead of assuming avg
2009-05-11 18:57:35 +09:00
Damien Elmes
6e58308370
bump version again
2009-05-09 06:53:28 +09:00
Damien Elmes
57b659ca36
optimize updatePriorities(), get a 2-3x speedup
2009-05-09 05:58:42 +09:00
Damien Elmes
6893d01458
add back priorityDue index
2009-05-09 04:17:53 +09:00
Damien Elmes
b653d4dba9
bump version
2009-05-09 04:13:45 +09:00
Damien Elmes
2f4b853140
improve speed of unused tag deletion in updateCardTags()
2009-05-09 03:46:59 +09:00
Damien Elmes
19bc9768f1
delete unused tags on card delete, do it efficiently
2009-05-09 03:26:34 +09:00
Damien Elmes
d15dd71b68
speed up deleteDanglingFacts()
2009-05-09 03:25:46 +09:00
Damien Elmes
bc7bdc24c4
update all card priorities at once on add
2009-05-09 03:25:24 +09:00
Damien Elmes
9df4b3278f
don't flushMod() unless modified
2009-05-07 17:26:29 +09:00
Damien Elmes
3de46f701b
type->is
2009-05-06 16:40:03 +09:00
Damien Elmes
29cd8aefc9
bump version
2009-05-06 16:07:24 +09:00
Damien Elmes
2550d3ec08
new 'learn more' handling
2009-05-06 15:45:15 +09:00
Damien Elmes
f8b6d18dff
add search for delayed
2009-05-06 13:47:57 +09:00
Damien Elmes
eac428f6b3
fail>failed
2009-05-06 13:40:49 +09:00
Damien Elmes
0b9df42400
support searching for card type
2009-05-06 13:32:00 +09:00
Damien Elmes
91f06b31d6
updated Polish and German from Piotr Kubowicz
2009-05-06 12:45:55 +09:00
Damien Elmes
992f7af50e
make priorities sort better
2009-05-06 12:44:43 +09:00
Damien Elmes
3b7bf1f573
updated mongolian translations from Charlene Barina
2009-05-06 12:34:13 +09:00
Damien Elmes
ac5a92214e
don't include new cards in workload calculation
2009-05-04 01:50:09 +09:00
Damien Elmes
f32f96fb53
if updating priorities results in a suspend, update due counts
2009-05-01 04:36:26 +09:00
Susanna Björverud
961db76e63
Updated Swedish translation and reran translation.sh
2009-04-30 10:36:10 +02:00
Damien Elmes
4a59e9d5ae
patch to fix sync translation from piotr
2009-04-30 05:21:52 +09:00
Damien Elmes
2424151c9f
update polish translations from piotr
2009-04-30 05:21:43 +09:00
Damien Elmes
9692041087
bump version
2009-04-30 05:14:05 +09:00
Damien Elmes
796ad5962b
rename instance var to avoid deprecation warning
2009-04-29 15:28:13 +09:00
Damien Elmes
1d24158f90
bump version
2009-04-29 12:44:28 +09:00
Damien Elmes
143a78dd2a
handle buried cards in deck load
2009-04-29 12:12:07 +09:00
Damien Elmes
32d5dccbc9
randomize after reset; refresh deck
2009-04-29 11:51:33 +09:00
Damien Elmes
54252afaf1
more chinese translations from GUO Siliang
2009-04-28 17:59:59 +09:00
Damien Elmes
de693dbc91
Merge branch 'master' of git://github.com/sanna/libanki
2009-04-28 17:59:27 +09:00
Damien Elmes
33c59a3006
new review early handling so that we can recover on load
2009-04-28 17:12:50 +09:00
Susanna Björverud
5d0fb5579f
Updated Swedish translation and reran translation.sh
2009-04-27 20:11:16 +02:00
Damien Elmes
c89d75b01c
bump version
2009-04-25 21:41:13 +09:00
Damien Elmes
90f726e634
remove version numbers from import, as osx gets confused
2009-04-25 03:57:56 +09:00
Damien Elmes
e51fec907b
bump version
2009-04-25 03:28:21 +09:00
Damien Elmes
169dc16ced
remove deprecated popen call
2009-04-25 03:27:46 +09:00
Damien Elmes
61fc7b4430
lower tags in python, as sqlite doesn't have full unicode tables
2009-04-25 03:04:52 +09:00
Damien Elmes
2944b8194b
if audio player fails to start, give better error
2009-04-25 02:38:48 +09:00
Damien Elmes
c0c969d686
Merge branch 'master' of git://github.com/sanna/libanki
2009-04-25 01:10:37 +09:00
Damien Elmes
2c60151a45
ignore console input in mplayer
2009-04-24 02:16:54 +09:00
Susanna Björverud
87d8656f49
Updated Swedish translation and reran translation.sh
2009-04-23 18:13:32 +02:00
Damien Elmes
bc2e9d9593
fix adding cards while in random mode
2009-04-23 16:49:55 +09:00
Damien Elmes
2393775f80
add type to factid index
2009-04-23 04:05:37 +09:00
Damien Elmes
94df742a59
fix bug with zero imports, improve speed with zero imports
2009-04-23 02:00:52 +09:00
Damien Elmes
155de15101
greatly improve import speed on large decks, randomize too
2009-04-23 01:58:40 +09:00
Damien Elmes
d1a44e308e
handle randomize progress in ankiqt, add helper for updating facts
2009-04-23 01:57:54 +09:00
Damien Elmes
f4997f328c
don't randomize on upgrade, will cause sync problems
2009-04-23 01:36:25 +09:00
Damien Elmes
35837ef213
mark cards modified when randomizing/ordering
2009-04-23 01:35:41 +09:00
Damien Elmes
ae7047f5af
add progress dialogs
2009-04-23 01:33:59 +09:00
Damien Elmes
fbf31d60da
new random handling
2009-04-23 01:25:42 +09:00
Damien Elmes
a6827b8dd7
check if modified in setvar()
2009-04-23 00:32:40 +09:00
Damien Elmes
19584bd642
don't dirty cards on sync
2009-04-22 21:57:25 +09:00
Damien Elmes
cd87adbe71
fix new count where cards are suspended, highlight type in blue too
2009-04-22 21:37:42 +09:00
Damien Elmes
bc8b7f45da
fix plural of suspended cards
2009-04-22 21:34:38 +09:00
Damien Elmes
09e158ac74
update card priorities after fact tags updated
2009-04-22 21:34:17 +09:00
Damien Elmes
3c9ad98a44
remove comma from delete tags
2009-04-22 18:10:54 +09:00
Damien Elmes
c8731bc49c
add mongolian translation from Charlene Barina
2009-04-20 23:46:43 +09:00
Damien Elmes
013f3d00a8
support * wildcard in normal text search too
2009-04-20 21:50:29 +09:00
Damien Elmes
5be89d13d7
bump version
2009-04-18 23:44:55 +09:00
Damien Elmes
c0b46ff994
mark cards modified when priority changed
2009-04-18 22:41:03 +09:00
Damien Elmes
e1f505b853
don't randomize field ids anymore
2009-04-18 22:00:49 +09:00
Damien Elmes
451c266591
make sure tag index is unique
2009-04-18 04:45:41 +09:00
Damien Elmes
541dd3e38e
improve speed of tagIds()
2009-04-18 02:39:18 +09:00
Damien Elmes
19e597cbc9
don't update tag for each card, we do it for the fact
2009-04-18 02:32:03 +09:00
Damien Elmes
1d4710b6d6
flush after startProgress() in case a lost focus has been triggered
2009-04-17 23:18:05 +09:00
Damien Elmes
099202c28f
trailing whitespace
2009-04-14 02:01:07 +09:00
Damien Elmes
06b1ee47f9
add support for turning off backups
2009-04-14 00:15:45 +09:00
Damien Elmes
5a912faeab
escape tags on mnemosyne import
2009-04-13 12:40:51 +09:00
Damien Elmes
b9789cbd50
Chinese translation from Siliang GUO
2009-04-11 23:17:50 +09:00
Damien Elmes
3cb299a1d5
bump version, remove debugging code
2009-04-11 02:35:55 +09:00
Damien Elmes
b7a81f952c
don't mark deck modified on upgrade, just commit
2009-04-11 02:15:52 +09:00
Damien Elmes
49089732c4
make sure to set progress handler envs before setting handler
2009-04-11 01:05:51 +09:00
Damien Elmes
d4235aaa34
parse lastSync as a float to fix problem with latest simplejson
2009-04-11 01:05:35 +09:00
Damien Elmes
51213784a8
init progress handle at start, tweaks for faster deck startup
2009-04-11 00:20:52 +09:00
Damien Elmes
0959689463
use external player on mac too
2009-04-10 22:23:41 +09:00
Susanna Björverud
56098f18a8
Updated Swedish translation and reran translation.sh
2009-04-10 14:46:29 +02:00
Susanna Björverud
356d9365bb
Clean up, removing commented out no longer needed lines
2009-04-10 14:45:27 +02:00
Susanna Björverud
f2db5c27d6
Merge branch 'newSpaced'
2009-04-10 14:43:21 +02:00
Susanna Björverud
87b4e72f47
Experimenting with selecting cards that are both new and spaced
2009-04-10 10:57:49 +02:00
Damien Elmes
c3d67c9818
add mark's latest taiwanese translations, run translate.sh
2009-04-10 16:00:22 +09:00
Susanna Björverud
426eb204a4
Updated Swedish translation and reran translation.sh
2009-04-09 15:22:27 +02:00
Susanna Björverud
2738ee9100
Changed 'At the same time...' to 'At this time...'
2009-04-09 15:21:11 +02:00
Susanna Björverud
6715f32237
Updated Swedish translation and reran translation.sh
2009-04-07 11:14:41 +02:00
Susanna Björverud
8d9c1cf191
Adding html comments to strings to allow them to be translated differently
2009-04-07 11:14:10 +02:00
Susanna Björverud
ac2213b89b
Updated Swedish translation and reran translation.sh
2009-04-07 08:57:00 +02:00
Susanna Björverud
c4304fa195
Plural support for some strings
2009-04-07 08:56:35 +02:00
Damien Elmes
ba716e2066
conditionally apply meta
2009-04-07 12:22:35 +09:00
Damien Elmes
d9aa62d370
bump version number
2009-04-07 11:57:49 +09:00
Damien Elmes
c7f9cec657
add deck vars
2009-04-07 11:55:08 +09:00
Damien Elmes
aed9fb1c61
update tag priorities when deck is bundled
2009-04-06 23:53:04 +09:00
Damien Elmes
1d6e3f0b97
bump version number
2009-04-06 13:49:00 +09:00
Damien Elmes
4e3e6d3148
update translations
2009-04-06 13:30:28 +09:00
Damien Elmes
d09709fb50
use tag cache for great speed increase in cram, allow card id limit
2009-04-06 12:16:09 +09:00
Damien Elmes
085fbf3bcc
add hack to prevent qt movie for now
2009-04-06 11:47:14 +09:00
Damien Elmes
10816ee5d7
Merge branch 'master' of git://github.com/sanna/libanki
2009-04-06 11:43:32 +09:00
Damien Elmes
7e9453a43a
new german translation
2009-04-06 11:42:48 +09:00
Damien Elmes
36825006d0
new search interface, support negating tags, use tag: not t:
2009-04-06 11:41:50 +09:00
Damien Elmes
62375e37a3
need to force a write lock even in explicit locking mode
2009-04-02 04:29:11 +09:00
Susanna Björverud
78265fdc24
Added back lost space in string
2009-03-30 10:43:44 +02:00
Damien Elmes
78ee6884f5
make sure to account for failed cards not due yet
2009-03-30 08:23:21 +09:00
Damien Elmes
e25e8ff0ed
fix rebuildCounts()
2009-03-30 07:45:13 +09:00
Damien Elmes
5ca9afa0da
update priorities on export
2009-03-29 11:53:44 +09:00
Damien Elmes
58044f8586
bump version number
2009-03-29 11:33:40 +09:00
Damien Elmes
4b3532f3eb
on python2.4, fall back to non-localized strings
2009-03-29 03:52:49 +09:00
Damien Elmes
a958734f8b
strip trailing whitespace and wrap lines in stats
2009-03-29 03:51:06 +09:00
Damien Elmes
08eb6ac063
Merge branch 'master' of git://github.com/sanna/libanki
2009-03-29 03:45:39 +09:00
Susanna Björverud
4e81717326
Reverting messed up german po-file
2009-03-28 09:08:02 +01:00
Susanna Björverud
ba42e3d3c1
Updated Swedish translation and ran translation.sh
2009-03-28 08:45:46 +01:00
Susanna Björverud
f156a9a436
Remove extra <br> in next-day msg
2009-03-28 08:40:25 +01:00
Damien Elmes
e9e5994248
make sure cards are tagged correctly when importing tags
2009-03-28 14:32:38 +09:00
Damien Elmes
19698d6256
only warn on a mac, include \n
2009-03-28 10:14:43 +09:00
Damien Elmes
7886d498bd
warn about audio fallback
2009-03-28 08:33:16 +09:00
Susanna Björverud
9fe5d88c0c
Minor tweaks to Swedish translation and ran translation.sh
2009-03-25 17:34:06 +01:00
Susanna Björverud
c442e1f460
Updated Swedish translation
2009-03-25 11:21:09 +01:00
Susanna Björverud
f4adc657bd
Added fmtFloat def
2009-03-25 11:20:42 +01:00
Susanna Björverud
57ca74ce34
Use locale decimal point
2009-03-25 11:15:04 +01:00
Susanna Björverud
7bbbc3bd65
Revert "taiwanese from mark"
...
reverting binary update
This reverts commit 4370606fc1 .
2009-03-25 10:32:26 +01:00
Susanna Björverud
e1379eba5d
Updated Swedish libanki translation
2009-03-25 11:02:57 +09:00
Susanna Björverud
dfb477ec4b
new def to format percentages with current locale decimal point
2009-03-25 11:02:50 +09:00
Damien Elmes
4370606fc1
taiwanese from mark
2009-03-25 10:38:13 +09:00
Damien Elmes
c2fb704c52
assert undoLog primary key not null
2009-03-25 09:42:44 +09:00
Damien Elmes
eed5df1038
use format_string()
2009-03-24 09:05:35 +09:00
Damien Elmes
9fba248489
fix locale.format location
2009-03-24 08:52:53 +09:00
Damien Elmes
1648d254d6
format decimals using locale
2009-03-24 08:38:29 +09:00
Damien Elmes
0bf018fe02
update priorities when changing model
2009-03-23 11:51:43 +09:00
Damien Elmes
827afacaaa
update tags on card gen, update card model on model, delete old tags
2009-03-23 11:47:02 +09:00
Damien Elmes
1098bb1c5c
make fmtTimeSpan strings translatable
2009-03-23 10:48:28 +09:00
Damien Elmes
caf91b287e
update finish translation, support importing/*
2009-03-23 10:45:20 +09:00
Damien Elmes
da4461d48d
only split on space
2009-03-23 10:29:26 +09:00
Damien Elmes
80464ab4a5
delete unreferenced tags on update
2009-03-23 10:21:48 +09:00
Damien Elmes
c7022fd37d
force a commit before integrity check
2009-03-23 09:54:45 +09:00
Damien Elmes
aa430f15e0
bump version
2009-03-22 14:22:21 +09:00
Damien Elmes
be3fabeee7
update translations
2009-03-21 13:36:02 +09:00
Damien Elmes
107217ca6f
make sure to update priorities on upgrade
2009-03-21 12:15:30 +09:00
Damien Elmes
1be887872d
use utc offset of -1 instead
2009-03-21 03:55:24 +09:00
Damien Elmes
0bf59fa00b
make sure to close cursor for first()
2009-03-21 03:50:43 +09:00
Damien Elmes
cf459aee7d
spaced cards > delayed cards
2009-03-20 14:20:06 +09:00
Damien Elmes
1f56bc3ec0
support limiting to single field in find and replace
2009-03-20 14:18:56 +09:00
Damien Elmes
cd44f3308b
add support for updating tags for a given model
2009-03-19 11:26:33 +09:00
Damien Elmes
6af560da9a
make sure to set ret if wait=False
2009-03-19 11:06:53 +09:00
Damien Elmes
93ca931f01
improve progress handler
2009-03-19 10:42:12 +09:00
Damien Elmes
e2baf57744
Estonian from Meelis Vasser, Portuguese from Jo Nakashima
2009-03-19 08:55:24 +09:00
Damien Elmes
95b8d655e6
remove shared cache mode, it's not needed
2009-03-18 22:45:43 +09:00
Damien Elmes
34be5b47a7
fix reviewHistory table by rebuilding it
2009-03-15 07:27:44 +09:00
Damien Elmes
a111537c26
fix refs to reviewHistory's id
2009-03-15 06:43:45 +09:00
Damien Elmes
66cda18a69
fix call()
2009-03-15 06:41:53 +09:00
Damien Elmes
64275642ba
pass unicode to simplejson.loads()
2009-03-15 06:39:08 +09:00
Damien Elmes
df3185ab0f
add wait kwarg to call()
2009-03-15 06:36:19 +09:00
Damien Elmes
dfd70ce4a1
commit before pragmas
2009-03-15 01:52:22 +09:00
Damien Elmes
11cd9af5ca
commit before attempting to change page size
2009-03-15 01:48:51 +09:00
Damien Elmes
bc7b4e4d18
remove tag replace from find&replace
2009-03-14 11:11:02 +09:00
Damien Elmes
fc66e909ae
make sure to copy tags on saveas
2009-03-14 10:19:29 +09:00
Damien Elmes
b4b01f9fc4
fix initial tag setting when adding cards
2009-03-14 10:06:22 +09:00
Damien Elmes
f14ad8521d
update initial tag priorities when creating deck
2009-03-14 10:02:25 +09:00
Damien Elmes
9eca0221f1
reset undo on check db
2009-03-14 09:42:42 +09:00
Damien Elmes
440321459a
take out an exclusive lock on the deck
2009-03-14 09:38:58 +09:00
Damien Elmes
52cfef6e6c
remove trailing undo barrier on end
2009-03-14 05:23:59 +09:00
Damien Elmes
95447a23ec
fix 10.3 audio
2009-03-13 07:06:21 +09:00
Damien Elmes
38cfd6e7db
new finnish translations from Niklas
2009-03-13 06:24:44 +09:00
Damien Elmes
0743f87187
add progress information to deck upgrade, fix legacy file format = 1
2009-03-13 05:36:44 +09:00
Damien Elmes
b527d31499
fix the review history growing bug properly
2009-03-12 17:21:11 +09:00
Damien Elmes
ba15b6d0c3
update translations
2009-03-11 05:39:56 +09:00
Susanna Björverud
183f7461b4
Updating Swedish translation
2009-03-11 05:36:31 +09:00
Damien Elmes
32f9f1952e
simplified chinese from nick
2009-03-11 05:28:53 +09:00
Damien Elmes
004030af0d
don't fail if progress handler unavailable or tags table existing
2009-03-10 23:38:29 +09:00
Damien Elmes
c266248edb
fix review early bug, update indices on deck load
2009-03-10 12:28:36 +09:00
Damien Elmes
343b76da05
if utc offset is 24, set new utc offset and rebuild
2009-03-10 07:38:59 +09:00
Damien Elmes
46451dbd4d
remove sox hack
2009-03-10 07:38:23 +09:00
Damien Elmes
3bd9dd8494
handle osx 10.3 audio
2009-03-06 06:35:43 +09:00
Damien Elmes
e75036adde
mention sox failure
2009-03-06 05:09:24 +09:00
Damien Elmes
fa513cab72
remove duplicates from review history
2009-03-04 12:10:50 +09:00
Damien Elmes
4763e41180
add/delete tags should update card ids, not fact ids
2009-03-04 11:59:34 +09:00
Damien Elmes
da3d25e2d6
bulk delete cards when template deleted, add progress info on field delete
2009-03-04 11:52:41 +09:00
Damien Elmes
9d16b89c7d
refresh after add/remove tags, don't use comma
2009-03-04 11:45:54 +09:00
Damien Elmes
32c621de32
fix low priority support
2009-03-04 10:58:44 +09:00
Damien Elmes
20ac55581a
update translations
2009-03-01 15:17:39 +09:00
Susanna Björverud
27a1529703
Committed Swedish translation by Susanna Björverud.
2009-02-28 23:05:59 +01:00
Damien Elmes
1234420cb7
add tags based on user's priorities
2009-02-28 16:57:11 +09:00
Damien Elmes
36421cf166
use pure field model order when importing
2009-02-27 15:30:11 +09:00
Damien Elmes
97eb12e343
new osx audio based on qtmovie
2009-02-26 02:07:27 +09:00
Damien Elmes
83e27a12ce
fix extra suspend tags
2009-02-26 00:49:54 +09:00
Damien Elmes
0ffc634094
update on openSession()
2009-02-26 00:11:37 +09:00
Damien Elmes
f9ace0178c
update translations
2009-02-25 23:37:24 +09:00
Damien Elmes
14bb30becb
expire after delete
2009-02-24 13:03:27 +09:00
Damien Elmes
94f7775b7f
remove space from missing media tag
2009-02-24 01:23:47 +09:00
Damien Elmes
529ddef63a
max=0 to progress support
2009-02-24 01:12:37 +09:00
Damien Elmes
7026ef9bd8
update card tags after model changed
2009-02-24 00:13:32 +09:00
Damien Elmes
7a12888eb2
report new cards as new always, make sure they come before vhp if 'show first'
2009-02-21 18:23:55 +09:00
Damien Elmes
12f73ef52a
fix priority rebuild
2009-02-21 18:05:29 +09:00
Damien Elmes
3878a3eef2
allow partial priority rebulid for activeTags, speed up db with cache/page size
2009-02-20 17:25:41 +09:00
Damien Elmes
0d2429bee8
fix updatePriorities(), etc
2009-02-20 00:14:04 +09:00
Damien Elmes
0b1a135176
update card tags after sync, new priority handling
2009-02-20 00:12:19 +09:00
Damien Elmes
ebaa37fe55
update tags when importing
2009-02-20 00:11:44 +09:00
Damien Elmes
780010ad68
fix unit tests, turn off some debugging
2009-02-19 17:27:13 +09:00
Damien Elmes
e4354181c4
db progress handler, work on tag cache
2009-02-19 16:01:04 +09:00
Damien Elmes
deffd752c5
fix failed card policy being set as custom
2009-02-17 23:20:05 +09:00
Damien Elmes
9863bfe318
add brazillian portuguese translation from Jo Nakashima
2009-02-17 12:26:10 +09:00
Damien Elmes
0dfe83cd85
refresh deck after model change
2009-02-15 20:33:07 +09:00
Damien Elmes
58fd0f253c
add cloneFact() back, it's still used by previewing
2009-02-15 15:49:04 +09:00
Damien Elmes
eac6324fcb
raise keyerror(key) in facts
2009-02-15 15:25:56 +09:00
Damien Elmes
e3805476af
remove obsolete cardsDueSoon
2009-02-14 22:21:06 +09:00
Damien Elmes
deed322c53
only bump deck mod time if there were reviewed-ahead cards
2009-02-14 20:09:50 +09:00
Damien Elmes
c81098c037
check due after resetting early
2009-02-14 20:08:40 +09:00
Damien Elmes
77a6488f6d
when importing, tag cards as new, add unit test
2009-02-14 03:03:42 +09:00
Damien Elmes
724c1354a8
return number of changed facts in find&replace
2009-02-14 01:11:27 +09:00
Damien Elmes
8892ad9f90
expire instead of expunging
2009-02-14 00:12:28 +09:00
Damien Elmes
f6b24b6d9a
find&replace
2009-02-13 21:38:11 +09:00
Damien Elmes
231b5fe9e7
only use failedcardmax with 'soon' failed card setting, fix tag unit test
2009-02-10 13:22:45 +09:00
Damien Elmes
a4e3badf80
update importing for new tag handling
2009-02-09 21:54:19 +09:00
Damien Elmes
55cf34e8ee
make sure card model tags are included in allTags(), fix upgrade code
2009-02-09 20:21:34 +09:00
Damien Elmes
6d7ef66640
more upgrade fixes
2009-02-08 04:54:59 +09:00
Damien Elmes
fa1713e9ee
fix upgrade code
2009-02-08 04:36:27 +09:00
Damien Elmes
9b4da171fe
accept kwargs in tagslist
2009-02-08 03:21:16 +09:00
Damien Elmes
d127ae4175
separate tags with spaces
2009-02-08 03:13:37 +09:00
Damien Elmes
28f738f069
tweak order of failed card options
2009-02-07 21:34:46 +09:00
Damien Elmes
a342c73887
improve failed card handling
2009-02-07 21:31:44 +09:00
Damien Elmes
3b2ba252cd
remove debugging code
2009-02-07 16:21:25 +09:00
Damien Elmes
50e9885c15
faster allTags()
2009-02-07 14:55:48 +09:00
Damien Elmes
0bff47cce9
only report kanji for models with japanese in the tags
2009-02-06 23:39:32 +09:00
Damien Elmes
d35320364a
add progress bar for deleting cards
2009-02-06 19:30:39 +09:00
Damien Elmes
4d4e7afcff
add undoredo hook
2009-02-06 19:12:03 +09:00
Damien Elmes
4fdaa1ec79
fix stats size on osx
2009-02-06 18:56:29 +09:00
Damien Elmes
bde46a94f6
fix audio recording on osx
2009-02-06 18:34:35 +09:00
Damien Elmes
09dbbecf3a
fix suspended card msg when review early term early, tweak fin msg
2009-02-06 15:59:35 +09:00
Damien Elmes
8c9803e638
dynamic index generation, sort new in rev order
2009-02-06 01:28:21 +09:00
Damien Elmes
b91b458c6d
Reverting "add 'make due now' option"
2009-02-05 16:41:57 +09:00
Damien Elmes
45829f9acc
add 'make due now' option
2009-02-05 11:58:10 +09:00
Damien Elmes
e807b35ce5
production->recall
2009-02-05 11:35:22 +09:00
Damien Elmes
3a1c79e1ce
only update priorities on due cards
2009-02-05 00:52:05 +09:00
Damien Elmes
d0fa667717
don't report deletions when renamed, assert checksum on client
2009-02-04 22:33:49 +09:00
Damien Elmes
89a31fdc9a
don't checksum media locally
2009-02-04 22:24:54 +09:00
Damien Elmes
608b899e58
bugfix for change model
2009-02-04 22:05:16 +09:00
Damien Elmes
e2676c238f
tweak review order wording
2009-02-04 21:55:51 +09:00
Damien Elmes
ca8e592840
handle x->y & y->x in card model rename, big speed increase for update qa
2009-02-04 21:46:14 +09:00
Damien Elmes
d44c3792e9
model changing support
2009-02-04 20:43:54 +09:00
Damien Elmes
b1835ff71b
no need to replace into, since we delete fields anyway
2009-02-04 18:00:00 +09:00
Damien Elmes
d59ea678b3
new spanish translations
2009-02-02 15:53:12 +09:00
Damien Elmes
b2832b2363
get rid of spaces in congrats
2009-02-02 15:35:34 +09:00
Damien Elmes
40ed30b4ea
don't show spaced cards notice if no new cards are left
2009-01-31 03:58:58 +09:00
Damien Elmes
3b8df0c337
add reports for seen and non-jouyou kanji
2009-01-31 03:39:55 +09:00
Damien Elmes
479f38fab2
background colour, reduce default spacing to a minute, tweak finished msg
2009-01-31 02:18:46 +09:00
Damien Elmes
275d962cb4
make sure not to create undo log on new deck
2009-01-27 03:09:12 +09:00
Damien Elmes
ea89f1d587
show # of facts in deck stats
2009-01-27 01:48:16 +09:00
Damien Elmes
bf77ed1db7
update chinese translations, translate script
2009-01-24 16:03:06 +09:00
Damien Elmes
c1e5e657b6
cards>interval in docs
2009-01-24 04:17:03 +09:00
Damien Elmes
585ed7f7f7
new translations from mark
2009-01-23 15:38:33 +09:00
Damien Elmes
a6b4252428
fix graph dividing, make sure to display 'x cards waiting' msg
2009-01-22 23:47:31 +09:00
Damien Elmes
5545f5f622
catch overflow errors during record
2009-01-22 17:18:01 +09:00
Damien Elmes
26272cba65
update translations
2009-01-21 21:34:30 +09:00
Damien Elmes
94184cbdf5
unset typeanswer on upgrade
2009-01-21 21:23:08 +09:00
Damien Elmes
8ae88b49d0
bump version
2009-01-21 21:17:58 +09:00
Damien Elmes
2a0f22348d
ignore sqlalchemy 0.5 deprecation warnings for now
2009-01-21 18:36:58 +09:00
Damien Elmes
ded420dd9e
fix allow empty answer problem in sync
2009-01-21 16:20:42 +09:00
Damien Elmes
f1397fcd86
fix warning on creating new deck
2009-01-21 15:58:59 +09:00
Damien Elmes
913fe96c07
ignore priority when reviewing early
2009-01-21 15:48:09 +09:00
Damien Elmes
222503ea8f
store field to compare against in type answer
2009-01-21 01:43:23 +09:00
Damien Elmes
28b0a7b8d3
rescheduling support
2009-01-21 00:27:04 +09:00
Damien Elmes
098cc98471
translation patches from Piotr
2009-01-20 23:33:50 +09:00
Damien Elmes
bebac30811
hide status if deck integrity bad
2009-01-20 23:31:50 +09:00
Damien Elmes
e50ccf22e5
canonify tags when importing
2009-01-20 02:16:15 +09:00
Damien Elmes
9fe28df5dc
add start of chinese traditional translations
2009-01-20 00:52:20 +09:00
Niklas Laxström
fdb32ecbfc
New Finnish translations from Niklas Laxström.
2009-01-18 17:43:48 +01:00
Damien Elmes
1da037ba90
more polish translations and bugfixes from Piotr Kubowicz
2009-01-18 14:48:07 +09:00
Damien Elmes
2792d22bf5
win32/mac fixes for audio
2009-01-18 00:49:23 +09:00
Damien Elmes
f3368d3c1e
fix recording, remove debugging
2009-01-17 23:57:08 +09:00
Damien Elmes
f5feaaa782
change wording
2009-01-17 23:00:51 +09:00
Damien Elmes
cfc458e45f
fix exporting re
2009-01-17 22:45:00 +09:00
Damien Elmes
ff4cc7b0af
add importing tag support, fix audio
2009-01-17 22:36:14 +09:00
Damien Elmes
835b4b5969
make sure learn ahead only looks at review cards
2009-01-17 19:04:26 +09:00
Damien Elmes
f636b71b8c
strip field model html on text card export
2009-01-17 17:37:07 +09:00
Damien Elmes
c1d778971f
always fix current model problem
2009-01-17 16:41:10 +09:00
Damien Elmes
75d6123dc3
identify temp files as anki, quiet lame
2009-01-17 16:29:45 +09:00
Damien Elmes
d4ac87bc19
add pyaudio recorder, remove external recorder
2009-01-17 14:14:28 +09:00
Damien Elmes
97359df499
add _ to anki10
2009-01-17 14:12:05 +09:00
Damien Elmes
e010abd2d3
give the fade a little more time
2009-01-17 01:27:42 +09:00
Damien Elmes
334d126237
recording & noise profile support on linux
2009-01-17 01:05:39 +09:00
Damien Elmes
f515a6c5f9
more precision on undo progress
2009-01-16 21:24:26 +09:00
Damien Elmes
1fa7466dd9
progress for importing
2009-01-16 20:22:46 +09:00
Damien Elmes
6015dbec04
add progress to export, speed up export, tweak undo progress
2009-01-16 19:23:23 +09:00
Damien Elmes
87fbd896fc
fix undo bugs, add progress, improve progress of check media db
2009-01-16 18:54:32 +09:00
Damien Elmes
8bdb1b8c26
remove debug info
2009-01-16 18:18:19 +09:00
Damien Elmes
240d311ca0
optimize add/deleteTag(), add progress callbacks and check (media) db
2009-01-16 18:17:36 +09:00
Damien Elmes
8bd84d4dfe
better learn-ahead handling
2009-01-16 16:24:38 +09:00
Damien Elmes
fe17d6c53e
improve upgrade code
2009-01-16 13:14:40 +09:00
Damien Elmes
3670a0cb7b
review early, learn more, tweak finished msg
2009-01-15 04:37:27 +09:00
Damien Elmes
9ac3926786
save priority too
2009-01-15 02:57:03 +09:00
Damien Elmes
dd5e7c45b4
make sure field & card models are not duplicated
2009-01-14 15:35:16 +09:00
Damien Elmes
93332079b5
add model copy support
2009-01-14 15:28:27 +09:00
Damien Elmes
8e71b5fbbf
add change card model, fix bug in check db
2009-01-14 14:10:07 +09:00
Damien Elmes
39810aa3d0
make sure reps >= 0 in mnemosyne
2009-01-13 00:38:52 +09:00
Damien Elmes
ff2ca5a567
set factor based on easiness in mnemosyne import
2009-01-13 00:31:52 +09:00
Damien Elmes
eca41e5ec7
Merge branch 'master' of git://github.com/scout/libanki
2009-01-10 16:54:34 +09:00
Samson Melamed
314f6c9b1f
fixes media sync progress bar not reaching 100%
2009-01-10 00:00:48 -05:00
Damien Elmes
5d2356804e
graph review time in hours, not minutes
2009-01-10 13:53:14 +09:00
Damien Elmes
8c6647f1d5
fix graph translations, update polish translations
2009-01-09 12:11:45 +09:00
Damien Elmes
4b6dcf6f6c
fix db.py for ankiweb
2009-01-08 11:18:38 +09:00
Damien Elmes
5f0716aa5f
update translations, bump version
2009-01-08 10:01:22 +09:00
Damien Elmes
6e63bdfc7c
make sure runHook is imported
2009-01-07 18:49:12 +09:00
Damien Elmes
f87c02f7a4
run deck closed hook in libanki
2009-01-07 12:48:44 +09:00
Damien Elmes
8dfeb01de6
remove superfluous statement
2009-01-07 12:32:26 +09:00
Damien Elmes
7c764763d2
sqlalchemy 0.5 compat
2009-01-07 11:37:01 +09:00
Damien Elmes
2b30578615
make sure to commit lastSync on summary, don't force table size
2009-01-07 10:56:32 +09:00
Damien Elmes
afa9565d12
make sure to copy media table on saveas
2009-01-07 09:47:54 +09:00
Damien Elmes
57a49e9b08
fix ordering, add index
2009-01-07 09:25:42 +09:00
Damien Elmes
f60a536159
record last session start
2009-01-07 08:51:27 +09:00
Damien Elmes
7ad0e99b59
fix problem with null card model props
2009-01-06 12:16:32 +09:00
Damien Elmes
8ab3e3250d
new polish translations
2009-01-06 10:31:51 +09:00
Damien Elmes
36ae6df933
default to a ten minute session
2009-01-06 09:15:57 +09:00
Damien Elmes
68b7991492
fix default session limits
2009-01-05 17:06:56 +09:00
Damien Elmes
a44c7c3333
rebuild translations
2009-01-05 16:25:00 +09:00
Damien Elmes
36a715fd17
add type in answer support
2009-01-05 15:38:26 +09:00
Damien Elmes
86e3c19ad6
add review time graph
2009-01-05 14:57:28 +09:00
Damien Elmes
8bb063c226
strip some trailing whitespace in graphs
2009-01-05 14:40:22 +09:00
Damien Elmes
3e7d3bbf28
add support for clearing audio queue
2009-01-05 14:38:15 +09:00
Damien Elmes
2319cbcc71
timeboxing, delay lapsed
2009-01-05 13:41:19 +09:00
Damien Elmes
cdc37fa7c0
strip commented pygame from sound.py
2009-01-05 08:28:13 +09:00
Damien Elmes
da6211b9ef
don't use full path to audio, as the working directory will do
2009-01-05 08:25:18 +09:00
Damien Elmes
7e74fe3844
fix media dir problem on win32, fix unicode issues with media
2009-01-05 08:20:49 +09:00
Damien Elmes
2aecbffafe
fix backup on win32
2009-01-05 06:51:47 +09:00
Damien Elmes
8750b9bbbb
don't convert to system encoding prior to converting to utf8
2009-01-05 06:40:08 +09:00
Damien Elmes
9c226d5b4f
fix spacing in card stats
2009-01-05 06:14:00 +09:00
Damien Elmes
91e90d8092
card model > card template
2009-01-05 06:10:10 +09:00
Damien Elmes
e3feff6ca6
revert undo log to temporary table, fix slowdown on big undo log
2009-01-04 13:48:48 +09:00
Damien Elmes
73767124d8
fail gracefully if unihan.db is not available
2009-01-04 13:13:53 +09:00
Damien Elmes
6ce63b4889
fix plural definition
2009-01-04 11:57:41 +09:00
Damien Elmes
be5c162e6a
polish translations from Piotr Kubowicz
2009-01-04 11:47:14 +09:00
Damien Elmes
a9c04a69d1
fix tagging in check media db
2009-01-04 10:03:32 +09:00
Damien Elmes
7adbad0ffa
Merge branch 'master' of git://github.com/timo/libanki
2009-01-04 09:28:03 +09:00
Timo Paulssen
3a2fd8b5ad
fixed "unsubscriptable object" when disabling all the graphs before workDone.
2009-01-04 01:26:46 +01:00
Damien Elmes
5efb6910ef
fix name() on in-memory db
2009-01-04 08:05:42 +09:00
Damien Elmes
0f129f7aea
fix saveas with no media dir
2009-01-04 07:43:45 +09:00
Damien Elmes
9765fdae73
support media for memory backed files
2009-01-04 07:40:32 +09:00
Damien Elmes
c973c1eb4f
new decks now default to in-memory storage until saveas
...
- undo needs fixing
- media support needs to be changed to work with in-memory db
2009-01-04 07:13:30 +09:00
Damien Elmes
a5d64aaa7f
make sure allowEmptyAnswer is a bool
2009-01-04 05:30:15 +09:00
Damien Elmes
ee71c66cdb
document need to call refresh after merging models
2009-01-04 05:17:58 +09:00
Damien Elmes
dee4ee3e8a
new translations from Christian Rusche
2009-01-03 07:29:39 +09:00
Damien Elmes
429e4252cb
delete undo log outside of session
2008-12-27 16:14:43 +09:00
Damien Elmes
c0f49f1373
delete undo log and vacuum on close
2008-12-27 15:57:30 +09:00
Damien Elmes
559b6c6cb7
new spanish translations from pcsl
2008-12-26 14:30:32 +09:00
Damien Elmes
fe58ca6793
bump version
2008-12-25 19:36:33 +09:00
Damien Elmes
e1c056f8fa
allow blank answers by default by changing field props
2008-12-25 15:24:34 +09:00
Damien Elmes
b161d6e485
add option to avoid building latex
2008-12-24 15:48:54 +09:00
Damien Elmes
35ef8e6fa9
make sure both args are unicode
2008-12-24 15:11:35 +09:00
Damien Elmes
b3be3772fb
change to media dir when it's created
2008-12-24 14:58:17 +09:00
Damien Elmes
1abd3f4216
update translations
2008-12-23 22:11:00 +09:00
Damien Elmes
95f1779130
make undo log permanent
2008-12-23 22:09:33 +09:00
Damien Elmes
ac15b666ef
untitled>mydeck, don't remove on saveas
2008-12-23 20:38:19 +09:00
Damien Elmes
c50203b9a1
use alternative sound library on win32
2008-12-23 19:09:37 +09:00
Damien Elmes
48257368cc
make sure congrats screen is displayed using standard whitespace
2008-12-23 18:48:42 +09:00
Damien Elmes
feb0acf52c
don't remove leading/trailing whitespace
2008-12-23 18:39:14 +09:00
Damien Elmes
6434d5c03e
don't collapse multiple spaces
2008-12-23 18:38:54 +09:00
Damien Elmes
3b3fef4ebc
refactor latex into media support
2008-12-23 18:00:12 +09:00
Damien Elmes
6a21be9d19
refactor latex handling
2008-12-23 16:24:06 +09:00
Damien Elmes
41fe0c92be
rename function
2008-12-23 15:44:29 +09:00
Samson Melamed
9a9082529b
mass un/tagging now updates modified cards
2008-12-23 15:43:58 +09:00
Damien Elmes
a0a6df0f8e
fix problems with lastsync
2008-12-23 15:41:22 +09:00
Damien Elmes
75dd6d4420
update card models table earlier in deck open
2008-12-23 15:38:36 +09:00
Damien Elmes
490c7c4bed
make japanese/chinese generation fields more easily customizable
2008-12-23 13:48:05 +09:00
Damien Elmes
f903288c59
add support for 'allow blank answer', default to allow
2008-12-23 13:42:22 +09:00
Damien Elmes
9e47063940
change graph colours
2008-12-21 00:37:20 +09:00
Damien Elmes
aca5a403e5
use mplayer on windows too
2008-12-20 18:31:18 +09:00
Damien Elmes
8a47538075
use lastsync not deck.lastsync
2008-12-20 18:30:02 +09:00
Damien Elmes
e812f69dee
new audio handling
2008-12-20 18:29:06 +09:00
Damien Elmes
a6f7276b03
no need to rename on a case insensitive filename
2008-12-20 16:26:51 +09:00
Damien Elmes
499b6b76fc
try again..
2008-12-20 16:14:39 +09:00
Damien Elmes
1877bc6769
possible fix for case insensitive filenames
2008-12-20 16:06:04 +09:00
Damien Elmes
1ee40d0869
update new card order label
2008-12-20 15:41:01 +09:00
Damien Elmes
943e006322
support new cards first
2008-12-20 15:37:42 +09:00
Damien Elmes
e9d2e6595e
Merge branch 'master' of git://github.com/timo/libanki
2008-12-20 14:12:18 +09:00
Damien Elmes
5b5cad55a5
make japanese reading behave like before
2008-12-20 14:12:14 +09:00
Timo Paulssen
2c85801006
Merge branch 'master' of git://ichi2.net/libanki
2008-12-19 00:51:34 +01:00
rageon
dd10c38f78
extracted colour definition and new colour scheme
2008-12-19 00:43:35 +01:00
Damien Elmes
025ad7b431
Merge branch 'master' of git://github.com/timo/libanki
2008-12-18 14:54:15 +09:00
Timo Paulssen
b665595c0c
new, less "urgent" due graph colors.
2008-12-17 12:44:29 +01:00
Damien Elmes
cb765bcb72
deck stats should show all new cards, not just due
2008-12-17 00:41:13 +09:00
Timo Paulssen
dabe170bed
don't display the "reviews over the lifetime of the deck"
2008-12-16 00:23:10 +01:00
Timo Paulssen
84f953c754
colorscheme v3 (again by rageon, complaints by Damien)
2008-12-14 14:15:35 +01:00
Timo Paulssen
61600f58ed
revised colorscheme (thanks again, rageon)
2008-12-14 13:56:19 +01:00
Timo Paulssen
b71aecf626
new colorscheme (thanks, rageon!)
2008-12-14 13:16:30 +01:00
Timo Paulssen
ccfab29fb8
reversed new/young/mature in graphs, this made the graphs so much nicer!
2008-12-14 13:06:41 +01:00
Timo Paulssen
cc08fd402c
fixed a silly mistake in the reviews code.
2008-12-13 18:50:05 +01:00
Timo Paulssen
ec401210fd
added a legend to the reviews graph.
2008-12-13 18:39:36 +01:00
Timo Paulssen
9c1f76cf57
split "reviews" graph into new, young and mature layers.
...
next step: add a legend, too.
2008-12-13 18:30:49 +01:00
Damien Elmes
af28484154
various graph fixes
...
- remove bars, as they are the main cause of slowdowns
- limit cumulative and due only in the future (fixes late decks)
- don't use outlines for periods over 1 year
2008-12-13 18:04:43 +09:00
Damien Elmes
daeba6f78b
fix a problem saving over a deck with an existing media folder
2008-12-13 16:44:59 +09:00
Damien Elmes
f1a2fc7feb
new failed card eta from nick cook
2008-12-13 15:25:43 +09:00
Damien Elmes
9d3fb8d922
make sure to delete stats on export
2008-12-13 13:46:01 +09:00
Damien Elmes
d027892c5c
always downcase media extensions, fix path on win32
2008-12-13 13:40:14 +09:00
Timo Paulssen
e7be3e080c
sped up graph generation when switching from long intervals to short intervals
2008-12-13 04:11:52 +01:00
Timo Paulssen
d2e23af5e6
making the Figures lazy introduced a bug. fixed it here.
...
whenever the recently added or first answered graph was the first one to be calculated, it wouldn't have generated the stats yet.
2008-12-13 03:22:42 +01:00
Timo Paulssen
c810ed7254
added necessary import. moved code. made stuff nicer.
2008-12-13 02:32:01 +01:00
Timo Paulssen
7645483fc7
added first code for the work done graph. needs refactoring.
2008-12-13 02:32:01 +01:00
Damien Elmes
dacd318ffd
conditionally encode path in media
2008-12-11 04:13:57 +09:00
Damien Elmes
7f9593816c
prevent unicode error when pasting image
2008-12-11 03:27:05 +09:00
Timo Paulssen
5863453877
fixed: added recently and first answered always displayed 0 for the "first" day shown.
2008-12-10 19:11:42 +01:00
Damien Elmes
33257c38bc
close deck after copy in saveas
2008-12-11 01:14:02 +09:00
Damien Elmes
634362dc76
encode media filename to unicode first
2008-12-11 01:13:52 +09:00
Damien Elmes
af52a50547
backs are no longer unique by default
2008-12-11 01:13:35 +09:00
Damien Elmes
3f3fe8354c
bump version
2008-12-11 00:38:09 +09:00
Damien Elmes
071d861c3e
fix congrats new cards link
2008-12-11 00:37:55 +09:00
Damien Elmes
5dc05735c5
rename default deck to untitled, delete on saveas
2008-12-11 00:19:19 +09:00
Damien Elmes
82870a9a19
remove labels from graphs, they don't support foreign text
2008-12-10 23:47:51 +09:00
Damien Elmes
89591073de
properly set midnight offset, fix graph offset
2008-12-10 23:07:13 +09:00
Damien Elmes
3afcf982dd
fix 'delete' option of media check
2008-12-10 22:05:44 +09:00
Damien Elmes
e1aa79336c
show only user tags by default, provide model and card model as options
2008-12-10 20:05:49 +09:00
Damien Elmes
2d5e58ac99
routines for determining current new/rev card order
2008-12-10 18:03:34 +09:00
Damien Elmes
963d79069f
make sure wrap() returns the new result
2008-12-10 16:46:49 +09:00
Damien Elmes
d035806723
update finish translations
2008-12-09 02:31:50 +09:00
Damien Elmes
b956eff6b5
split model & card model tags
2008-12-09 02:29:08 +09:00
Damien Elmes
78a15ab652
update priorities when adding/removing tags
2008-12-09 01:57:28 +09:00
Damien Elmes
b0eb995aa6
Merge git://github.com/timo/libanki
2008-12-09 01:30:35 +09:00
Damien Elmes
c3c7c6e43c
flush after delete
2008-12-09 01:23:49 +09:00
Niklas Laxström
b193e88dbd
added finnish translation.
2008-12-07 20:44:06 +01:00
Damien Elmes
1d5f9db9cb
bump version
2008-12-07 23:29:34 +09:00
Damien Elmes
3dcc9c75f2
hack to make more compact table
2008-12-07 21:41:15 +09:00
Damien Elmes
8c9f883e68
dupe fact on add to avoid session issues
2008-12-07 11:38:35 +09:00
Damien Elmes
02a124b66d
thinko in last change
2008-12-06 17:17:55 +09:00
Damien Elmes
d480e42f55
rebuild counts after undo, rebuild counts more efficiently
2008-12-06 16:13:34 +09:00
Damien Elmes
31d96923dc
update legends for old matplotlib
2008-12-05 23:43:19 +09:00
Damien Elmes
82c3b83f57
remove obsolete graphs code
2008-12-05 21:43:54 +09:00
Damien Elmes
6a4f1d873b
munge html on import
2008-12-05 19:30:44 +09:00
Damien Elmes
4b19cff16b
30 backups, not 100
2008-12-05 18:57:47 +09:00
Damien Elmes
0c5f65c1ea
after deleting a field, make sure to update card models
2008-12-05 18:51:38 +09:00
Damien Elmes
60fdadd9e8
fix ease graphs for new button layout
2008-12-05 15:15:16 +09:00
Damien Elmes
7463ef570b
remove redundant new cards from graphs, rewrite queries
2008-12-05 14:37:31 +09:00
Timo Paulssen
7b2abd7153
added a good-looking legend to the due cards graph.
...
i feel dirty now.
2008-12-03 22:23:44 +01:00
Timo Paulssen
3a1f6a9274
seperated cards due graph into three layers: new, young and mature.
2008-12-03 22:23:44 +01:00
Damien Elmes
1532868401
add some tags to stats
2008-12-04 02:12:42 +09:00
Damien Elmes
5e5381d66f
make sure to update counts after addcards()
2008-12-04 01:50:52 +09:00
Damien Elmes
02e1fed2ef
behave nicer if undo disabled
2008-12-04 01:14:11 +09:00
Damien Elmes
78f3c8b4ba
refresh after undo
2008-12-04 00:55:51 +09:00
Damien Elmes
9331dac050
Merge git://github.com/timo/libanki
2008-12-04 00:12:56 +09:00
Timo Paulssen
4ba12dc753
graphs now pay attention to the "shift midnight" setting.
2008-12-03 16:09:31 +01:00
Timo Paulssen
b08833b6b6
fixed cards being attributed to the previous day if they were due past noon.
2008-12-03 15:47:04 +01:00
Damien Elmes
1d910be2cf
remove hr tags from std models, balance is bad
2008-12-03 20:13:05 +09:00
Damien Elmes
21b59408cd
refactor features to use hooks, update stdmodels, update findTags()
...
- remove description from fields, cards and models
- remove features and use field names instead
2008-12-03 19:22:15 +09:00
Damien Elmes
97caa8119f
add instrumentation tools
2008-12-03 18:26:40 +09:00
Damien Elmes
e84c0072b0
don't commit deck on load if count hasn't changed
2008-12-03 02:06:58 +09:00
Damien Elmes
ada1cd04b7
check for null sources
2008-12-02 16:41:25 +09:00
Damien Elmes
0f8762c3fe
forget deletions before deleting anything in fixIntegrity()
2008-12-01 12:51:35 +09:00
Damien Elmes
bf10f96cc2
python 2.4 compat
2008-12-01 01:37:54 +09:00
Damien Elmes
a7a40bd241
disable undo debugging
2008-12-01 01:07:34 +09:00
Damien Elmes
55df77e0d1
handle unique better
2008-12-01 01:00:01 +09:00
Damien Elmes
a83b41b939
add most of fieldmodels
2008-12-01 00:25:51 +09:00
Damien Elmes
0ff3b41745
don't add layers of undo barriers
2008-12-01 00:17:43 +09:00
Damien Elmes
1e98f8bf81
add card tags to fact
2008-11-30 05:47:36 +09:00
Damien Elmes
320d1fa758
conditionally enable undo
2008-11-30 05:47:15 +09:00
Damien Elmes
373e161a6c
undo/redo support
2008-11-30 05:40:36 +09:00
Damien Elmes
a9a4f08e24
allTags() ignores card tag
2008-11-30 05:40:21 +09:00
Damien Elmes
0e7ebae9b8
make stats smaller
2008-11-29 16:12:58 +09:00
Damien Elmes
2480447eea
update translations
2008-11-29 00:36:07 +09:00
Damien Elmes
a0adccc117
replace facts, don't ignore them
2008-11-29 00:13:59 +09:00
Damien Elmes
6172400706
bump version
2008-11-28 23:53:38 +09:00
Damien Elmes
dff358383a
consider failures when calculating eta
2008-11-28 20:01:48 +09:00
Damien Elmes
cd64b0db9e
add user tags list, sort tags in canonify
2008-11-28 18:53:04 +09:00
Damien Elmes
8f2efd83b3
fix ref to traceback, make sure to only delete existing indices
2008-11-28 17:15:22 +09:00
Damien Elmes
5119e46e7b
replace add missing active cards with selectable version
2008-11-28 17:13:47 +09:00
Damien Elmes
8147e5002a
update indices, make sure to build and analyze
2008-11-28 15:47:52 +09:00
Damien Elmes
0b52e2f0ec
customizable revision order, refactor failed cards handling
2008-11-28 15:09:13 +09:00
Damien Elmes
75a61a00cc
remove card tags
2008-11-28 14:40:27 +09:00
Damien Elmes
7e305111ad
update translations
2008-11-23 09:25:14 +09:00
Damien Elmes
de2780e797
record exported card count when exporting anki deck
2008-11-23 09:18:41 +09:00
Damien Elmes
2442e9b719
bump version
2008-11-23 07:57:13 +09:00
Damien Elmes
e5126d7c3c
preview support
2008-11-23 07:50:31 +09:00
Damien Elmes
6299e5f665
close other windows on reset()
2008-11-22 16:17:13 +09:00
Damien Elmes
8f983d5bcc
always keep as unicode
2008-11-21 23:41:14 +09:00
Damien Elmes
fbcdae4c51
make 2->3 work better for larger 2
2008-11-21 20:39:44 +09:00
Damien Elmes
90487d86ad
remove obsolete code
2008-11-21 20:24:23 +09:00
Damien Elmes
447985fc87
update q/a cache after bulk tag update
2008-11-21 16:05:39 +09:00
Damien Elmes
e1d3f791f5
do need to rebuild counts on export
2008-11-21 15:46:17 +09:00
Damien Elmes
0617e229a8
don't catch error reading deck
2008-11-21 15:35:44 +09:00
Damien Elmes
8af4c1200f
don't fail silently
2008-11-21 13:36:19 +09:00
Damien Elmes
9c8af9d64f
work around a sync bug
2008-11-21 13:16:48 +09:00
Damien Elmes
f49459fdfb
del missing error ref
2008-11-21 13:08:24 +09:00
Damien Elmes
eff388974b
refactor errors on load
2008-11-21 13:03:27 +09:00
Damien Elmes
c4d30a20d9
remove mergeTags()
2008-11-21 00:22:23 +09:00
Damien Elmes
ddcdda72c9
no need to wrap empty fields
2008-11-19 01:30:13 +09:00
Damien Elmes
cd383174c6
fix handling of delay1/2
2008-11-17 10:55:33 +09:00
Damien Elmes
1b69992e8f
fix getCards() new card handling logic
2008-11-17 09:53:17 +09:00
Damien Elmes
9bbb240d37
fix order of cards table to fix saveas bug
2008-11-17 08:46:04 +09:00
Damien Elmes
de09e37006
no need to rebuild count on export, as it's done in sync
2008-11-17 08:30:14 +09:00
Damien Elmes
f1d61bc832
create intermediate dirs (for ipod)
2008-11-16 04:37:14 +09:00
Damien Elmes
26ad7e8149
rebuild due counts after sync
2008-11-16 04:20:14 +09:00
Damien Elmes
76e3659832
bump version
2008-11-16 02:47:25 +09:00
Damien Elmes
e09a29fe0e
fix delay defaults
2008-11-16 02:38:48 +09:00
Damien Elmes
8ec77ebd53
add alternative failed card handling
2008-11-16 02:15:00 +09:00
Damien Elmes
2b9344d87c
update italian translation
2008-11-16 00:38:42 +09:00
Damien Elmes
420fd4ec77
refactor deck/backup location
2008-11-16 00:36:27 +09:00
Damien Elmes
cc2952f28b
add note about history
2008-11-15 20:21:35 +09:00
Damien Elmes
d2ee2521bd
if there's an error upgrading, try fix integrity and try again
2008-11-15 20:12:14 +09:00
Damien Elmes
9b25fcc7a2
always generate deck queue
2008-11-15 18:58:42 +09:00
Damien Elmes
48dc09db5b
add relativeDelay on upgrade - we don't need it, but old code does
2008-11-15 18:38:17 +09:00
Damien Elmes
4316c93b79
don't dirty cards when upgrading
2008-11-15 18:19:01 +09:00
Damien Elmes
095aa6dc84
check daily stats in check due, no need to call separately
2008-11-15 17:56:54 +09:00
Damien Elmes
4e937bf72a
fix seen card count in kanji, fix display bug
2008-11-15 17:50:46 +09:00
Damien Elmes
97cf06b333
don't fail on old sqlalchemy
2008-11-15 17:45:57 +09:00
Damien Elmes
80fb6c5230
check due before rebuilding counts
2008-11-15 17:44:46 +09:00
Damien Elmes
6ec7fba13f
catch errors adding columns
2008-11-15 17:38:35 +09:00
Damien Elmes
cdce18f5c0
set new card modulus on new cards at end deck
2008-11-15 04:56:52 +09:00
Damien Elmes
af78b0bf94
fix deck stats
2008-11-15 01:11:17 +09:00
Damien Elmes
9775213845
protocol 4 sync
2008-11-15 00:41:24 +09:00
Damien Elmes
a3d305c30c
bump version
2008-11-15 00:37:29 +09:00
Damien Elmes
a3d968cd55
add primary key constraint support
2008-11-14 22:49:18 +09:00
Damien Elmes
91114a72c5
no tag searching, add index to db.py
2008-11-14 19:48:47 +09:00
Damien Elmes
9b224263a9
fix mnemosyne import of due cards
2008-11-14 16:09:04 +09:00
Damien Elmes
408c04d41f
card model no longer in all tags
2008-11-14 15:49:33 +09:00