Commit graph

1097 commits

Author SHA1 Message Date
Damien Elmes
a70abd7462 report # of cards deleted when reviewing 2012-08-03 20:30:19 +09:00
Damien Elmes
fde7db2d14 refuse to run on a unc drive 2012-08-01 12:12:09 +09:00
Damien Elmes
bc758220a7 importing from the command line
- a file path provided on the command line now will now trigger the import
  process
- if anki was already running on win/lin, send the import to that process
- if no profile was open, wait until profile opened before importing
- don't do that for password-protected profiles, as it could be used abusively
  in a school environment
- drop the old pid-based instance check
2012-07-28 13:01:41 +09:00
Damien Elmes
f7b41a11f6 make sure we write profile README in utf8 2012-07-28 11:13:34 +09:00
Damien Elmes
7796aaf4d5 refactor addon downloading into separate file 2012-07-24 17:00:25 +09:00
Damien Elmes
1788cd2fac as tmpfile() returns unicode now, shouldn't try to convert to unicode again 2012-07-19 17:41:52 +09:00
Damien Elmes
526578a11f bump version 2012-07-19 17:38:09 +09:00
Damien Elmes
ac8f04166c properly deal with python's broken unicode exception handling 2012-07-19 15:10:33 +09:00
Damien Elmes
43c8777c7f focus 'resume now' button 2012-07-19 13:52:56 +09:00
Damien Elmes
1d6bcd8a76 cmd+d on a mac 2012-07-19 13:17:38 +09:00
ospalh
95a7765e01 Fix unicode/ascii issue. 2012-07-16 10:32:45 +02:00
Damien Elmes
fa818afedd simplify audio playing and drop exclude 2012-07-15 16:42:18 +09:00
Damien Elmes
1860c77b89 allow downloading of https from clipboard 2012-07-15 16:41:55 +09:00
ospalh
fabe8572b9 Wrap the "Correct answer was" bit in a span with an id. 2012-07-05 16:15:17 +02:00
Damien Elmes
b1121ebfc1 bump version 2012-07-05 05:39:46 +09:00
Damien Elmes
c9906ccfc2 reset after change model so addcards reloads note and updates schema 2012-07-05 05:18:52 +09:00
Damien Elmes
0e15398686 reset() on model change 2012-07-05 04:55:54 +09:00
Damien Elmes
d4540e6197 change add tags shortcut to prevent conflict with latex 2012-07-05 03:36:48 +09:00
Damien Elmes
e83cd58e1f give the graphs window a maximize button 2012-07-05 00:47:43 +09:00
Damien Elmes
159067b950 fix 'underlying c++ object deleted' error in studydeck 2012-07-04 21:18:28 +09:00
Damien Elmes
fc8ee29ffd if user gets type answer wrong, show correct answer
Users could previously do that by putting the field in the template, but as so
many users think they've hit a bug when they've actually selected the wrong
field to compare to, we force the display of the field content instead.
2012-07-04 21:14:40 +09:00
Damien Elmes
b77ab05421 make sure we save tags regardless of where the focus is 2012-07-04 20:37:38 +09:00
Damien Elmes
61c577df85 on a sync conflict with a local empty deck, force download 2012-07-04 19:55:49 +09:00
Damien Elmes
c74e955615 deck option to replay answer only 2012-07-04 18:20:11 +09:00
Damien Elmes
3cd66f000f cram -> filtered 2012-07-03 00:05:17 +09:00
Damien Elmes
717c5b7176 fix removal of accelerators on osx+jp 2012-07-01 12:31:23 +09:00
Damien Elmes
8df69331a4 fix help in importing 2012-07-01 12:31:11 +09:00
Damien Elmes
dbc48f9f7a on ctrl+c, abort db transaction and roll back 2012-06-20 09:55:30 +09:00
Damien Elmes
3e84c03c1e "at least one card" 2012-06-20 09:35:29 +09:00
Damien Elmes
20333fc8e2 full stack trace on syncing error 2012-06-20 09:10:40 +09:00
Damien Elmes
a06858c9bb add option to disable updating; tweak import dialog 2012-06-15 02:55:48 +09:00
Damien Elmes
58a2391962 make sure to include current deck if creating filtered from shortcut 2012-06-15 02:36:47 +09:00
Damien Elmes
8a414fff29 don't throw error when invalid utf8 found in % escape 2012-06-15 02:19:33 +09:00
Damien Elmes
21f5132c0b when img/audio link pasted, convert to local 2012-06-15 00:53:08 +09:00
Damien Elmes
5032a7d507 utf+8 2012-06-11 19:55:15 +09:00
Damien Elmes
597f1dc16a Merge branch 'master' of github.com:dae/ankiqt 2012-06-05 05:11:24 +09:00
ospalh
0eaf03a9b3 Remove redundant connect to clicked().
A QDialogButtonBox::Close StandardButton has the RejectRole.
(http://doc.qt.nokia.com/4.7-snapshot/qdialogbuttonbox.html#StandardButton-enum)
So when that is clicked, that button’s clicked() signal
as well as the dialog’s rejected() signals are emitted.
Connecting EditCurrent’s onSave() to both was redundant.
It looks like calling onSave() twice was mostly harmless,
but not quite:
When closing the edit dialog, media on the edited card’s front side
were played twice (via moveToState ... Reviewer.showQuestion()).
So avoid that.
2012-06-04 16:19:59 +02:00
Damien Elmes
37cc94c2fa tweak README to avoid i18n warning 2012-06-03 20:27:32 +09:00
Damien Elmes
df89d6e4b9 bump version 2012-06-03 20:25:13 +09:00
Damien Elmes
8a7ece9ef9 if more than one card, add hint that styling is shared 2012-06-01 08:58:55 +09:00
Damien Elmes
91d5693bf7 after html edit, focus changed field so it gets saved 2012-05-31 19:02:16 +09:00
Damien Elmes
b41fc89b71 don't throw error when returning from Cards dialog with invalid search 2012-05-31 18:05:13 +09:00
Damien Elmes
32e40ae078 mark shortcut 2012-05-31 16:58:40 +09:00
Damien Elmes
8f19bbceff tweak colours again; shortcuts for tag add/remove 2012-05-31 16:55:44 +09:00
Damien Elmes
f6e79591ef catch upgradeRequired event 2012-05-30 16:09:38 +09:00
Damien Elmes
2a9c5c5229 prioritize marked over suspended
'Many of them are from earlier grammar lessons where I didn't know several
vocabulary words, so during reviews I suspend those cards. Others are leeches.
Occasionally I go through the list, and mark those that I'm ready to study.
Then I filter on marked, and do edit->reschedule. So during this process it's
hard to know which suspended cards I've marked already.'
2012-05-30 12:26:42 +09:00
Damien Elmes
dddaefd72a move tab removal into menu 2012-05-30 11:32:50 +09:00
Damien Elmes
46272de650 tweak colours 2012-05-30 11:26:09 +09:00
Damien Elmes
552567211b don't get text as separate window 2012-05-29 21:44:59 +09:00
Damien Elmes
6b28327448 remove the create button for now, to see if it's still needed 2012-05-29 21:36:07 +09:00
Damien Elmes
67cf37865c another workaround for the gtk+ theme 2012-05-29 21:32:25 +09:00
Damien Elmes
12abf27478 Merge branch 'master' of github.com:dae/ankiqt 2012-05-29 21:15:29 +09:00
ospalh
9d5bb7e5fa Quick work-around for a problem with Qt and certain too-smart window managers. 2012-05-29 09:40:59 +02:00
Damien Elmes
11b20b1e09 open with current card focused 2012-05-28 21:36:36 +09:00
Damien Elmes
e138e44397 don't force typing preview size 2012-05-28 21:05:26 +09:00
Damien Elmes
97965668ec "export" 2012-05-28 07:37:19 +09:00
Damien Elmes
97b645a7a0 add readme to base folder explaining folder moving 2012-05-27 14:44:53 +09:00
Damien Elmes
d495a66811 fix i18n of dupes string 2012-05-27 14:33:04 +09:00
Damien Elmes
580ea4fc0c bump version 2012-05-27 14:29:53 +09:00
Damien Elmes
588f394b78 don't hard-code column header size 2012-05-27 14:18:55 +09:00
Damien Elmes
e77c10ef3c work around badly behaved gtk+ theme 2012-05-27 14:12:47 +09:00
Damien Elmes
cb209fd86f scroll to top of question 2012-05-27 13:46:10 +09:00
Damien Elmes
c7c6204cf8 remove invalid ref to editFontSize 2012-05-27 13:26:08 +09:00
Damien Elmes
b3b5a41751 make sure edit current can be reopened 2012-05-27 13:18:04 +09:00
Damien Elmes
811707836b bump version 2012-05-27 00:17:17 +09:00
Damien Elmes
cf3b51c30c find duplicates 2012-05-27 00:11:59 +09:00
Damien Elmes
975ad62019 edit current window shouldn't be opened multiple times 2012-05-26 22:55:46 +09:00
Damien Elmes
5ab511e17a treat edit current as separate window on osx 2012-05-26 22:49:35 +09:00
Damien Elmes
064803bce7 overhaul font handling
- set the default webview font to the system font
- remove explicit font size settings in favour of the default
- remove card list size customization in favour of the default
2012-05-26 20:28:30 +09:00
Damien Elmes
a6c9c8203c rework to allow refresh of list when models added/removed 2012-05-26 20:25:09 +09:00
Damien Elmes
75b9e21661 make sure to remove matched character from search in studydeck 2012-05-26 20:14:07 +09:00
Damien Elmes
02ca7d4e95 focus on newly created profile 2012-05-26 17:19:06 +09:00
Damien Elmes
dfa0da5772 focus current profile 2012-05-26 17:18:09 +09:00
Damien Elmes
1051ba3e0b prevent stats on dyn decks 2012-05-26 16:44:08 +09:00
Damien Elmes
10cd5deba0 if no deck selected, don't show stats 2012-05-26 16:09:12 +09:00
Damien Elmes
719ded9efb accept separators 2012-05-26 15:11:08 +09:00
Damien Elmes
b25330a02e added today 2012-05-26 14:43:30 +09:00
Damien Elmes
bc79f7516a rating/ease 2012-05-26 13:14:47 +09:00
Damien Elmes
309f322fc6 use selected deck as default when creating new 2012-05-26 13:09:10 +09:00
Damien Elmes
4aaa85cfb0 select -> choose 2012-05-26 13:06:38 +09:00
Damien Elmes
f225bec50b make sure empty estimates don't reposition buttons 2012-05-25 11:55:02 +09:00
Damien Elmes
69da9b1e32 make sure to save and restore resched 2012-05-25 11:54:25 +09:00
Damien Elmes
ea93cf3b72 if steps disabled, make sure we reset conf 2012-05-25 11:52:40 +09:00
Damien Elmes
81b01f309c make sure we don't show 'add' in note type selection 2012-05-25 11:49:50 +09:00
Damien Elmes
043fc86fa7 show popup on first filter conf 2012-05-25 11:48:59 +09:00
Damien Elmes
eb395ac2c0 filter/cram shortcut is f 2012-05-25 11:44:56 +09:00
Damien Elmes
0491356536 'filtered deck 1' 2012-05-25 11:43:00 +09:00
Damien Elmes
99bb91d6d3 add spacing in add cards, unify wording 2012-05-25 11:41:34 +09:00
Damien Elmes
ea280de01e bump version 2012-05-25 11:37:27 +09:00
Damien Elmes
65f82176c9 add studied/again today 2012-05-25 11:32:29 +09:00
Damien Elmes
c71fa02e57 Revert ""card's note""
This reverts commit 617c3042c3.
2012-05-25 11:18:16 +09:00
Damien Elmes
03577285bb reword use current deck option in prefs 2012-05-25 10:07:05 +09:00
Damien Elmes
ffa9a7a642 help site is defined in libanki 2012-05-25 09:12:31 +09:00
Damien Elmes
937f0ac250 make sure user selects deck 2012-05-25 08:56:18 +09:00
Damien Elmes
2c836a7d62 add shortcut 2012-05-25 08:53:56 +09:00
Damien Elmes
1bac992c97 default to filter text when adding 2012-05-25 08:51:39 +09:00
Damien Elmes
2af392a1c6 Revert "using a filter for change deck means we need to create cards on the deck screen"
This reverts commit c8b414b95b.
2012-05-25 08:50:07 +09:00
Damien Elmes
8830d66d4c option to add new deck from studydeck 2012-05-25 08:49:50 +09:00
Damien Elmes
9068e68a66 allow double click in studydeck 2012-05-25 08:41:59 +09:00
Damien Elmes
e4c1132aef give a little separation to fields+cards 2012-05-24 22:28:05 +09:00
Damien Elmes
ebe313acf4 have to explicitly refocus field on next/prevcard 2012-05-24 22:26:20 +09:00
Damien Elmes
92696bf15e studydeck for importing too 2012-05-24 22:16:59 +09:00
Damien Elmes
c42865425a move deck selection to top of add cards 2012-05-24 22:12:09 +09:00
Damien Elmes
c3d990534e allow filtering of cram decks in studydeck 2012-05-24 22:04:36 +09:00
Damien Elmes
6a74d6627b use studydeck for deck selection 2012-05-24 20:30:11 +09:00
Damien Elmes
c8b414b95b using a filter for change deck means we need to create cards on the deck screen 2012-05-24 18:21:43 +09:00
Damien Elmes
d578a70cd0 refresh tree on deck/model update, not on card change 2012-05-24 18:21:24 +09:00
Damien Elmes
8b614c9be6 full search disabled for now 2012-05-24 15:34:00 +09:00
Damien Elmes
bf64e67913 warn when cram deck empty 2012-05-24 15:31:57 +09:00
Damien Elmes
eb491a7a55 presets 2012-05-24 15:26:28 +09:00
Damien Elmes
63a31dc7bd update cram for new properties 2012-05-24 14:19:25 +09:00
Damien Elmes
f836d8d9bb ivlFct and maxIvl 2012-05-24 14:10:47 +09:00
Damien Elmes
235fe8accb shortcut and tooltips for change deck 2012-05-24 12:51:46 +09:00
Damien Elmes
15a6c3d48b use quick search for changing deck 2012-05-24 12:48:00 +09:00
Damien Elmes
031dbcf6f8 remDyn -> emptyDyn 2012-05-24 12:41:28 +09:00
Damien Elmes
0fd0cfbfc6 start focused on current deck/model in quick search 2012-05-24 12:41:11 +09:00
Damien Elmes
5f082dfae5 remove print statement 2012-05-24 11:40:47 +09:00
Damien Elmes
3b6964c9c3 use {{FrontSide}} when flipping 2012-05-23 20:40:19 +09:00
Damien Elmes
528d29511b we need to tell libanki to sort now 2012-05-23 20:26:45 +09:00
Damien Elmes
2f6db69113 can't specify coding in unicode(except); convert traceback instead 2012-05-23 09:19:07 +09:00
Damien Elmes
4c398fc728 fix deck delete msg 2012-05-23 08:27:08 +09:00
Damien Elmes
6fa16ca72f catch attempt to import from anki 1.0.1 2012-05-23 08:24:11 +09:00
Damien Elmes
646116604c custom templates for browser display, move clayout buttons into dropdown 2012-05-22 15:36:31 +09:00
Damien Elmes
3705cedf33 don't show [[type:foo]] in browser 2012-05-22 15:08:48 +09:00
Damien Elmes
d6badeec0e make sure to resize on column toggle 2012-05-22 14:46:51 +09:00
Damien Elmes
20bbe355a3 support note type column, alphabetize 2012-05-22 14:43:44 +09:00
Damien Elmes
cf7ed9ea2f handle proxy config in libanki 2012-05-22 14:14:59 +09:00
Damien Elmes
d143a50358 platform-specific proxy pickup 2012-05-22 13:39:23 +09:00
Damien Elmes
1eaa6b9c1a make sure to update tags when not adding 2012-05-22 12:00:51 +09:00
Damien Elmes
617c3042c3 "card's note" 2012-05-22 11:59:53 +09:00
Damien Elmes
042833cf79 bump version 2012-05-22 10:39:20 +09:00
Damien Elmes
7ed26997bf bump version 2012-05-21 14:01:55 +09:00
Damien Elmes
82e0349d8f add filter to note type selection 2012-05-21 13:54:16 +09:00
Damien Elmes
0fac8755c9 don't call cleanup when resetting to same state 2012-05-21 13:19:45 +09:00
Damien Elmes
fc271e0f55 no 'all its cards' if empty 2012-05-21 13:10:17 +09:00
Damien Elmes
c964322915 no confirmation if deck is empty 2012-05-21 13:07:05 +09:00
Damien Elmes
f8a581b9c0 remember geom of models wind 2012-05-21 13:03:18 +09:00
Damien Elmes
7ebdf0f92d truncate start of history, not end of it 2012-05-21 12:57:03 +09:00
Damien Elmes
584b23cdcd "typing comparison" needs to be centered 2012-05-21 12:50:05 +09:00
Damien Elmes
88e7209a12 show correct due time of day lrn cards 2012-05-21 12:39:10 +09:00
Damien Elmes
e1084b15b0 make sure we set stretch on logical, not visual index 2012-05-21 12:37:50 +09:00
Damien Elmes
e55598eb26 mod deck when column added 2012-05-21 12:28:46 +09:00
Damien Elmes
f9a60b9bbc strip leading whitespace in answer 2012-05-21 12:14:18 +09:00
Damien Elmes
7449b0eb8b left align question/answer/sort field/template 2012-05-21 12:13:30 +09:00
Damien Elmes
b7fb620249 don't display question in answer column 2012-05-21 12:08:57 +09:00
Damien Elmes
0b7ebe59bb fix some unicode errors 2012-05-21 12:02:27 +09:00
Damien Elmes
9e71f7ae31 per-deck default model 2012-05-21 11:25:40 +09:00
Damien Elmes
d2fb8ac572 replace fi adjustment with ivl factor 2012-05-20 21:38:14 +09:00
Damien Elmes
2bb2a4f412 study more option when daily limits reached 2012-05-20 21:22:15 +09:00
Damien Elmes
a134338f5a fix custom proxy support 2012-05-20 18:29:11 +09:00