Commit graph

172 commits

Author SHA1 Message Date
Damien Elmes
cb17319e4e add warning when import fails to generate cards 2012-10-23 18:07:36 +09:00
Damien Elmes
eb7240d220 allow duplicates in import 2012-10-23 17:52:55 +09:00
Damien Elmes
2f34361b89 reinit mapping when delimiter changed 2012-10-09 03:11:23 +09:00
Damien Elmes
76b356fe0d read media files in binary format 2012-09-25 10:33:09 +09:00
Damien Elmes
3f01b1ef59 don't die if src collection is missing media folder 2012-09-21 23:50:41 +09:00
Damien Elmes
e3da64f00b don't clobber tags if they're not mapped 2012-09-21 15:51:45 +09:00
Damien Elmes
f2fffce6d1 handle conflicts in apkg import as well 2012-09-21 15:42:30 +09:00
Damien Elmes
f13acf8c68 handle file name conflicts in media on .anki2 import 2012-09-21 15:25:52 +09:00
Damien Elmes
da639c00a5 report # of notes that are already in the collection 2012-09-15 09:39:10 +09:00
Soren Bjornstad
1f7c19f535 added pluralization in a number of spots 2012-09-09 17:07:47 -05:00
Damien Elmes
6ebdd7a8b8 fix importing of anki1 media 2012-09-09 06:29:30 +09:00
Damien Elmes
6d54a43060 don't bump mod time when importing apkg 2012-08-26 17:34:47 +09:00
Damien Elmes
0432911ef9 save deck description on import 2012-08-24 15:55:56 +09:00
Damien Elmes
d001b83ab1 fix anki1 media importing again 2012-08-23 14:11:04 +09:00
Damien Elmes
9cc6ab9685 fix iniju's patch 2012-08-09 14:01:41 +09:00
Damien Elmes
949660288e needCards/needWizard obsolete
We always include the cards as designed, and suggest to the user they can
customize them instead.
2012-08-09 11:40:56 +09:00
iniju
2c43c3adca fix import deck: target correct media dir on linux. 2012-07-28 12:57:26 +01:00
Damien Elmes
19fde43cda when importing make sure to adjust due date for day lrn too 2012-06-03 20:06:33 +09:00
Damien Elmes
5c56de0e73 import deck conf 2012-05-14 07:05:18 +09:00
Damien Elmes
c1ea82273b log actual changes, not all prospectives 2012-05-06 17:53:18 +09:00
Damien Elmes
a52e740ef6 log added and updated notes separately 2012-05-06 17:34:04 +09:00
Damien Elmes
a558c47330 fix duplicate check in import 2012-05-06 17:29:02 +09:00
Damien Elmes
461e240d53 allow python-bundled json 2012-04-28 17:41:56 +09:00
Damien Elmes
5b97c3f20f don't throw error when update causes empty cards; fix unit test 2012-04-24 10:03:34 +09:00
Damien Elmes
92472045d7 fix importing of changed models and duplicate revlog/card entries 2012-04-24 01:27:36 +09:00
Damien Elmes
625a77f7f8 strip \n in csv tags: 2012-04-20 02:17:44 +09:00
Damien Elmes
e3f64c0f07 if there's no LastRepetition element, don't try import learning data 2012-04-06 19:38:32 +09:00
Damien Elmes
37b89cdac3 fix importing non-latin tags 2012-04-06 19:01:05 +09:00
Damien Elmes
c1242740ac fix importing of multiline fields 2012-04-06 18:13:21 +09:00
Damien Elmes
13049339ac add check for first field 2012-04-06 13:35:46 +09:00
Damien Elmes
b413b1562a when updating, preserve unmapped fields 2012-03-25 02:07:20 +09:00
Damien Elmes
8fd1756eb4 remove deck overriding in text file import 2012-03-20 05:43:55 +09:00
Damien Elmes
e41c7738d3 Revert "make importing with an explicit deck work again"
This reverts commit f177083bcb.
2012-03-20 05:42:17 +09:00
Damien Elmes
f177083bcb make importing with an explicit deck work again
This change was necessary as we moved away from note decks. However, now that
I think about it, decks may not be a terribly useful thing to specify
per-line in a text file. Committing in case the code is needed later, but I
will revert in the next commit.
2012-03-20 05:41:58 +09:00
Damien Elmes
f57f386b59 add deck and tags as default extra fields 2012-03-20 04:53:00 +09:00
Damien Elmes
f6b2e69669 remove did from notes, use model did instead 2012-03-09 09:12:27 +09:00
Damien Elmes
a2312f9a1f change cards table schema
In preparation for cramming:

- add odid for storing old deck on a per-card basis
- rename edue to odue
- at the moment note.did still exists, but in the future we may ignore it and
  use model.did instead
2012-03-08 11:28:12 +09:00
Damien Elmes
528224895c make sure we bump usn of revlog import 2012-03-08 08:32:24 +09:00
Damien Elmes
88b2b3ab85 we must bump usn when importing anki1 dconf 2012-03-08 08:25:05 +09:00
Damien Elmes
c92ab5dd19 allow due to be negative so we can reflect overdue cards 2012-03-07 07:11:30 +09:00
Damien Elmes
d1e04b908d log total imported 2012-03-07 07:08:02 +09:00
Damien Elmes
972526d265 update supermemo importer; fix factor 2012-03-07 06:58:06 +09:00
Damien Elmes
beef571d95 include _, remove some old unittest support files 2012-03-07 06:10:18 +09:00
Damien Elmes
e175dcd2d8 log total notes imported 2012-03-07 06:02:16 +09:00
Damien Elmes
869d665c22 gui integration for mnemosyne 2012-03-07 05:54:57 +09:00
Damien Elmes
1d29c7bcc0 foreign card importing; mnemosyne 2.0 importer 2012-03-07 05:45:52 +09:00
Damien Elmes
d60a3f8e25 ensure nextPos is not null 2012-03-06 16:21:51 +09:00
Damien Elmes
a99101d95c initMapping(); csv tweaks 2012-02-29 13:33:55 +09:00
Damien Elmes
44dea8211e don't strip leading whitespace 2012-02-29 12:51:00 +09:00
Damien Elmes
099ba71bb0 fix updating 2012-02-29 12:49:42 +09:00