Commit graph

746 commits

Author SHA1 Message Date
Damien Elmes
e6a3df771a don't allow users to move cards into a cram deck 2012-03-31 13:00:35 +09:00
Damien Elmes
198d1592a0 fix model links in browser 2012-03-30 22:54:45 +09:00
Damien Elmes
667d7dfb38 treat add+browse as separate windows to fix win32 alt+tab bug 2012-03-30 01:00:15 +09:00
Damien Elmes
1d751d68ba bump version 2012-03-30 00:52:31 +09:00
Damien Elmes
42a0e17097 save current field when field map dialog rejected 2012-03-30 00:29:50 +09:00
Damien Elmes
fd8b7cd63b don't display error if type:field is only on answer 2012-03-30 00:28:44 +09:00
Damien Elmes
062f4e604a make sure field map is based on current model 2012-03-30 00:28:35 +09:00
Damien Elmes
972070bbaf change reviewed column to changed, to better reflect it's based on mod 2012-03-30 00:04:28 +09:00
Damien Elmes
a79d3f922d steps are in 'delays', not 'steps' 2012-03-30 00:01:30 +09:00
Damien Elmes
05fe55231c drop events should save the note 2012-03-27 11:22:37 +09:00
Damien Elmes
4e4c22a233 when the answer time is disabled, blank it out 2012-03-27 11:15:31 +09:00
Damien Elmes
ba8108c54c possible fix for ok+cancel crash on windows 2012-03-27 11:00:54 +09:00
Damien Elmes
38636a3f33 fix initial state of change note dialog 2012-03-27 10:57:02 +09:00
Damien Elmes
35a56c260c tweak empty question error 2012-03-27 10:50:50 +09:00
Damien Elmes
43e28cb97f short advanced shortcuts 2012-03-27 06:39:19 +09:00
Damien Elmes
0bb4633b14 filter html editor html 2012-03-27 06:18:07 +09:00
Damien Elmes
e177fae220 need to rebuild queue when burying, too 2012-03-27 05:54:46 +09:00
Damien Elmes
b4db0179d6 disable deck expansion/contraction for now 2012-03-25 04:18:37 +09:00
Damien Elmes
1b489eea0b process events before any dom op 2012-03-25 02:41:32 +09:00
Damien Elmes
d99b707d67 more friendly anki 1 import error 2012-03-25 00:52:33 +09:00
Damien Elmes
e5f3d0b7f0 don't leave empty undo when trying to delete default deck 2012-03-25 00:39:23 +09:00
Damien Elmes
4e5b04611e don't throw a traceback when internet down 2012-03-24 23:48:20 +09:00
Damien Elmes
027aad43aa include question in answer audio replay; don't play same audio twice 2012-03-24 23:37:50 +09:00
Damien Elmes
3172d8faa4 expand deck tree to depth 5 2012-03-24 23:31:19 +09:00
Damien Elmes
1f0f31a337 confirmation on template delete 2012-03-24 23:27:21 +09:00
Damien Elmes
2caf92e58d confirmation on field delete 2012-03-24 23:26:03 +09:00
Damien Elmes
092eba2691 strip implicit webkit html on drop or paste 2012-03-24 23:17:05 +09:00
Damien Elmes
487550ecb0 use shouldShowTimer() to fix answer time being uncounted 2012-03-24 19:56:28 +09:00
Damien Elmes
bf0caddccc ensure field area surrounds floated images 2012-03-24 03:01:41 +09:00
Damien Elmes
4322b21c25 don't show a cancel button in the upgrade wizard 2012-03-24 00:44:53 +09:00
Damien Elmes
88df74ae9a work around \0 in string 2012-03-22 16:20:06 +09:00
Damien Elmes
24155cf337 work around another win32 crash 2012-03-20 05:53:18 +09:00
Damien Elmes
c09ad29161 remove 'deck' from the list of mapping options 2012-03-20 05:45:48 +09:00
Damien Elmes
3d50abecf9 show editable deck in import dialog; bump version 2012-03-20 05:39:59 +09:00
Damien Elmes
07d0d1ef80 strip trailing whitespace 2012-03-20 04:23:30 +09:00
Damien Elmes
cac5f9306f strip img path when dragging 2012-03-20 03:16:15 +09:00
Damien Elmes
553cdb4fc2 reenable change note type 2012-03-20 02:57:44 +09:00
Damien Elmes
b2d31fe780 only process the first link; some programs give us the same link twice 2012-03-20 01:11:09 +09:00
Damien Elmes
f7d59cfe97 fix help links 2012-03-20 00:21:39 +09:00
Damien Elmes
801feaa41b show sync errors in a text window 2012-03-19 23:20:47 +09:00
Damien Elmes
9d5c63d3d2 link to beta ankiweb 2012-03-19 23:17:07 +09:00
Damien Elmes
d79ca13dd7 show the original deck too when a card is in a cram deck 2012-03-19 22:48:53 +09:00
Damien Elmes
b8ae9f06a8 give a warning if conf load fails 2012-03-19 22:24:41 +09:00
Damien Elmes
5d7562a9e4 'delete unused' 2012-03-19 22:20:39 +09:00
Damien Elmes
37061c6661 when deleting a note, we need to rebuild the queue 2012-03-19 22:20:02 +09:00
Damien Elmes
259c5c6dfc change timer color at limit 2012-03-16 20:11:36 +09:00
Damien Elmes
3304bc0aef fix maxTime 2012-03-16 20:08:58 +09:00
Damien Elmes
d1cf46d0c8 timeboxing 2012-03-16 19:55:59 +09:00
Damien Elmes
996271de4b move to overview after cram deck created 2012-03-16 19:10:40 +09:00
Damien Elmes
17267af0ed only show 'rebuild' on cram decks 2012-03-16 19:09:31 +09:00
Damien Elmes
3a57c19199 if the upgrade fails, ignore old conf 2012-03-14 23:30:34 +09:00
Damien Elmes
0d3fc59917 work around a crash on windows when adding media 2012-03-14 01:09:06 +09:00
Damien Elmes
ec0f35a2e1 bump alpha version 2012-03-14 00:51:53 +09:00
Damien Elmes
5160d68846 remove obsolete revorder option from dialog 2012-03-13 22:47:22 +09:00
Damien Elmes
ccc112adde show dynamic deck description 2012-03-13 21:39:35 +09:00
Damien Elmes
557cff8250 label tweak 2012-03-13 21:27:36 +09:00
Damien Elmes
896ecfa0f5 add rebuild button 2012-03-13 19:36:11 +09:00
Damien Elmes
a4e6db9498 derive autoplay from original deck 2012-03-13 19:13:33 +09:00
Damien Elmes
1fa4e6c946 don't show a warning when a cram deck is deleted 2012-03-13 19:05:48 +09:00
Damien Elmes
8fd29bed1c cram creation & config 2012-03-13 19:02:39 +09:00
Damien Elmes
84fc02901d use timeLimit() 2012-03-12 14:04:48 +09:00
Damien Elmes
a56cede50c don't move cards if they're in a temporary deck 2012-03-12 13:54:05 +09:00
Damien Elmes
e4860b1b7f Merge https://github.com/jakeprobst/ankiqt 2012-03-12 11:46:15 +09:00
Jake Probst
8c424e5e95 not terrible autoscrolling in add card window 2012-03-11 06:24:31 -07:00
Jake Probst
51146ccd51 deck and tag section of add card dialog takes up less space 2012-03-11 05:50:20 -07:00
Jake Probst
52b92bc967 fixed webkit adding html into cards 2012-03-11 05:48:57 -07:00
Damien Elmes
8ddcc9a73c tweak schema mod msg 2012-03-09 19:06:07 +09:00
Damien Elmes
3e0aed4e41 remove note decks 2012-03-09 09:41:12 +09:00
Damien Elmes
eab18e9588 remove testing onImport() line 2012-03-08 06:24:20 +09:00
Damien Elmes
cac00dcca4 for non-mapping importers, make sure to reset post-import 2012-03-07 06:04:24 +09:00
Damien Elmes
03c417daa2 csv importing 2012-02-29 14:05:43 +09:00
Damien Elmes
562f33635c update import dialog; skip when mapping not required 2012-02-26 07:03:07 +09:00
Damien Elmes
e09bb3573f fix individual deck export 2012-02-26 04:34:31 +09:00
Damien Elmes
cf6f83ed70 show progress on export 2012-02-26 03:52:06 +09:00
Damien Elmes
6b2766c2f1 update exporting dialog 2012-02-26 03:12:21 +09:00
Damien Elmes
6f0f90fd81 dead code 2012-02-24 22:19:24 +09:00
Damien Elmes
7b70536354 fix review timer 2012-02-24 22:17:33 +09:00
Damien Elmes
ff514103ed reuse the bottom webview too; avoid .html() 2012-02-24 22:10:21 +09:00
Damien Elmes
ada11b246b reuse the main webview during reviews 2012-02-24 21:37:23 +09:00
Damien Elmes
b2919f285d only use jquery ui in deck browser screen 2012-02-24 20:51:24 +09:00
Damien Elmes
8e6e7bb39f bump version 2012-02-13 17:15:35 +09:00
Damien Elmes
e83e682267 make sure we reload note when row changed 2012-02-13 17:14:13 +09:00
Damien Elmes
be4aa382c3 partially fix the broken inserthtml handling on old qt/linux 2012-02-13 17:07:58 +09:00
Damien Elmes
694fad9f47 add 'add notes' button to browser 2012-02-13 16:38:12 +09:00
Damien Elmes
96748e8621 fix due counts on undo/edit 2012-02-13 16:30:47 +09:00
Damien Elmes
ccf571290b support html stripping on middle click paste too 2012-02-13 16:10:53 +09:00
Damien Elmes
3cd54d349a limit audio to once per tab select, not once per dialog 2012-02-13 13:47:02 +09:00
Damien Elmes
b181f274b0 add audio preview back to card layout 2012-02-13 13:37:28 +09:00
Damien Elmes
d9fdf6dc01 support typing in a cloze deletion 2012-02-13 13:22:21 +09:00
Damien Elmes
fa7a88b534 store type ans value instead of field, don't show when field empty 2012-02-13 13:07:29 +09:00
Damien Elmes
7be3935c02 ensure the same card appears after an undo 2012-02-13 12:50:44 +09:00
Damien Elmes
a729b8408b add a subtle indication of the current deck 2012-02-13 12:39:09 +09:00
Damien Elmes
04b7fd144a focus default answer button for type in answer cards 2012-02-13 12:31:03 +09:00
Damien Elmes
b8d627cd3f don't die when deleting last card in card layout 2012-02-13 12:29:00 +09:00
Kieran Clancy
a5ca6a90b0 make card info checkable and toggle with menu item / keyboard shortcut 2012-02-09 17:23:13 +10:30
Damien Elmes
1eff071dfd Merge branch 'master' of https://github.com/aaronharsh/ankiqt 2012-02-06 09:29:52 +09:00
Aaron Harsh
7e50a80683 Wait 200ms before starting drag, to make it easier for twitchy mouses to click on a deck name 2012-02-05 14:00:21 -08:00
Aaron Harsh
6b4b7220a8 Get rid of unused 'title' mapping key in deckbrowser body 2012-02-05 13:35:54 -08:00
Aaron Harsh
b2608f5ea4 All draggable rows now have transparent border bottom, to prevent deck names from fidgeting during drag/drop 2012-02-05 13:31:34 -08:00
Aaron Harsh
009d0c18e4 Rename BottomRowForDragging (since it's not just on the bottom anymore) 2012-02-05 13:29:08 -08:00
Aaron Harsh
1399a79c74 Drag a deck to top level at either bottom or top of deck list 2012-02-05 11:29:04 -08:00
Damien Elmes
40e7a93639 account for old pysqlite versions 2012-02-02 11:45:57 +09:00
Damien Elmes
1604eb29d6 fix compare answer function on osx with non-latin input 2012-01-31 07:17:51 +09:00
Damien Elmes
7d7ad28356 Merge branch 'master' of https://github.com/tarix/ankiqt 2012-01-31 06:24:20 +09:00
Damien Elmes
1e37473b8b we always want to go back to the first field when adding 2012-01-31 06:22:40 +09:00
mikem
60538f7c5c fixed: rename was creating a new empty folder causing the folder rename to fail 2012-01-31 03:25:28 +09:00
Damien Elmes
90b50ddd6c Merge branch 'master' of https://github.com/aaronharsh/ankiqt 2012-01-30 22:26:43 +09:00
Aaron Harsh
765e586a43 Get rid of obsolete(?) code for setting selection during cloze creation. 2012-01-29 20:20:35 -08:00
Aaron Harsh
873a981609 Don't stick leading/trailing whitespace in a cloze. 2012-01-29 20:18:26 -08:00
Aaron Harsh
50e6fade55 Make undoing a cloze operation behave more intuitively
Prior to this change, undoing the clozeing of a block of text would
delete the text altogether.  We'd prefer it to revert to unclozed text.
2012-01-29 19:34:50 -08:00
Damien Elmes
65bb4066d6 rebuild the tree on the browser left when row changed 2012-01-30 08:22:44 +09:00
Damien Elmes
bd6188d41b after suspending we need to rebuild the queue 2012-01-30 08:15:07 +09:00
Damien Elmes
1dc1f940fc alt/option to invert search 2012-01-30 08:12:22 +09:00
Damien Elmes
7aa9b4cb0e always try to preserve field # focus 2012-01-30 08:10:15 +09:00
Damien Elmes
dd2891b5ba hide unused media dialog after deletion 2012-01-30 08:03:39 +09:00
Damien Elmes
2796b9eaf8 add note types back to browser, but without templates 2012-01-30 08:02:06 +09:00
Damien Elmes
43a8a0e4df prevent answer keys when question shown 2012-01-30 07:57:58 +09:00
Damien Elmes
bbde6dd1f8 save not just conf but deck too in deck options 2012-01-30 07:53:45 +09:00
Damien Elmes
690f6b0640 disable context menu in editor too 2012-01-30 07:53:29 +09:00
Damien Elmes
d93259c960 skip upgrade wizard when no decks available 2012-01-30 06:54:16 +09:00
Damien Elmes
a87e55e977 make sure to update cache when sort field changed 2012-01-27 06:43:42 +09:00
Damien Elmes
c4bef937a1 make sure the user can't disable all columns 2012-01-24 23:18:40 +09:00
Damien Elmes
8e00f86234 card stats too 2012-01-24 23:16:54 +09:00
Damien Elmes
21a21a3f7b use platform font for graphs 2012-01-24 23:15:27 +09:00
Damien Elmes
5cc6ebd120 allow add cards window to be separately minimized 2012-01-24 21:08:18 +09:00
Damien Elmes
330dc11619 show tooltip when notes deleted in browser 2012-01-24 19:18:17 +09:00
Damien Elmes
51d58f2cce hold down option to not increment cloze 2012-01-24 01:54:31 +09:00
Damien Elmes
fe8178a5de slightly more attractive highlight for mark/suspend 2012-01-24 01:46:07 +09:00
Damien Elmes
7119ffd4f9 fix (un)mark individual cards 2012-01-24 01:42:10 +09:00
Damien Elmes
2b637c9389 give some feedback on a leech for now 2012-01-24 01:25:06 +09:00
Damien Elmes
287de04c8b add some more people to the credits 2012-01-23 19:36:59 +09:00
mikem
8a78de45c1 fix for Open Addons Folder... failing on windows 2012-01-19 05:00:16 +09:00
Damien Elmes
ad5be96468 tweak highlight colour 2012-01-17 14:59:45 +09:00
Damien Elmes
0e0881193e Merge branch 'master' of https://github.com/aaronharsh/ankiqt 2012-01-17 14:51:49 +09:00
Aaron Harsh
430a991f27 Show drag marker as line between rows, rather than as row background 2012-01-16 21:27:15 -08:00
Aaron Harsh
9c0a9847c2 Fix merge conflict in deckbrowser drag&drop code 2012-01-16 21:08:30 -08:00
Damien Elmes
1d4fac30d6 fix deck links for level 3+ 2012-01-17 12:34:31 +09:00
Damien Elmes
872c76ce17 Merge branch 'master' of https://github.com/aaronharsh/ankiqt
Conflicts:
	aqt/deckbrowser.py
2012-01-17 12:23:11 +09:00
Damien Elmes
65072ad43c profile renaming 2012-01-17 11:18:48 +09:00
Aaron Harsh
fd23b4f6b2 ankiqt support for drag-and-drop changes of deck hierarchy in deckbrowser 2012-01-15 20:57:45 -08:00
Damien Elmes
0a65d7abe0 don't allow "" as deck name, hide completers when editor closed 2012-01-16 12:40:06 +09:00
Damien Elmes
e4a65ec53f further deemphasize 0 2012-01-16 11:27:38 +09:00
Damien Elmes
c9ce7045fb show completer on focus or key change 2012-01-16 11:12:23 +09:00
Damien Elmes
167dc79550 fix help links; add tooltip when loading browser 2012-01-16 11:00:57 +09:00
Damien Elmes
ba15b41949 fix tooltip on remove format option 2012-01-16 10:27:31 +09:00
Damien Elmes
d7216ea1ad disable context menu in webview 2012-01-16 10:23:47 +09:00
Damien Elmes
da8057701d make sure we update usn on deck change 2012-01-16 10:14:36 +09:00
Damien Elmes
0039961406 add indent; don't repeat header 2012-01-16 08:51:07 +09:00
Damien Elmes
5aa3c00594 add due counts back to deck browser 2012-01-16 08:47:38 +09:00
Damien Elmes
7678ddcf45 bump ver 2012-01-11 20:20:26 +09:00
Damien Elmes
be09087ffd bigger spacing for all but mac; mention httplib2>0.7 2012-01-11 20:18:17 +09:00
Damien Elmes
91cbd316b1 win32 tweaks 2012-01-11 20:04:32 +09:00
Damien Elmes
54e6e94153 fix translation dir 2012-01-11 18:41:20 +09:00
Damien Elmes
d63715949e translation dict 2012-01-11 17:26:07 +09:00
Damien Elmes
09f3de3fb5 increase field name size 2012-01-11 14:46:20 +09:00
Damien Elmes
4fd1da00fd use a platform-specific font 2012-01-11 14:44:50 +09:00
Aaron Harsh
7a7cc7f6e4 don't throw exception on unchanged deck name 2012-01-07 16:35:42 -08:00
Damien Elmes
0d4f18afad make sure we tidy up key handlers; s/fact/note 2011-12-21 10:11:53 +09:00
Damien Elmes
a1dcca2cf8 make the add cards window non-modal 2011-12-21 10:03:33 +09:00
Damien Elmes
24c36e5bdb give the bottom a little more padding on win32 2011-12-21 10:00:39 +09:00
Damien Elmes
6326eadda2 show deck instead of ease by default 2011-12-21 08:23:21 +09:00
Damien Elmes
19faea87b4 hide main window when profile diag shown 2011-12-20 19:40:03 +09:00
Damien Elmes
aedde9bd4f prevent deletion of default deck 2011-12-20 19:38:32 +09:00
Damien Elmes
f86f6c5bd0 we should be reading the config from appdata 2011-12-20 19:36:41 +09:00
Damien Elmes
4d6c727d7b fix parent assignment 2011-12-20 17:56:10 +09:00
Damien Elmes
9c51d99dbb disable qt translations for now 2011-12-20 16:44:19 +09:00
Damien Elmes
b9916dd90c when moving to the next/prev card, focus editor 2011-12-19 08:55:10 +09:00
Damien Elmes
f3d8434a4e make sure new cards have at least one step 2011-12-19 08:43:28 +09:00
Damien Elmes
9ac42a40a5 when renaming deck, start with old one as default 2011-12-19 08:31:23 +09:00
Damien Elmes
1b3e956d5f add new css field to clayout 2011-12-17 18:17:28 +09:00
Damien Elmes
72a01c0b90 add rtl fields to editor 2011-12-17 11:14:21 +09:00
Damien Elmes
b3fc9e8f8b make sure element is visible on focus change 2011-12-17 11:03:39 +09:00
Damien Elmes
91b37842d4 move to one column field layout 2011-12-17 10:27:54 +09:00
Damien Elmes
fde2a697ca browser display tweaks 2011-12-16 12:25:25 +09:00
Damien Elmes
1028133cb0 show new position again 2011-12-16 12:00:45 +09:00
Damien Elmes
c121edf5d6 catch 500 errors 2011-12-16 10:37:18 +09:00
Damien Elmes
a2ce7c17ad fix shared decks link 2011-12-15 19:36:23 +09:00
Damien Elmes
be597905fc don't mark first field red unless it's a dupe 2011-12-15 17:13:37 +09:00
Damien Elmes
33066d538c don't alternate colours on marked/suspended; make colours more subtle 2011-12-15 16:52:17 +09:00
Damien Elmes
2f47dba5e4 grayscale sidebar 2011-12-15 16:48:46 +09:00
Damien Elmes
53349ea5b1 add tint to browser sidebar 2011-12-15 16:43:35 +09:00
Damien Elmes
d33f05f028 browser toolbar tweaks 2011-12-15 16:17:48 +09:00
Damien Elmes
205cd7ed59 fix tag completion popup 2011-12-15 15:55:27 +09:00
Damien Elmes
789773f550 reset deck list too after edits 2011-12-15 15:24:23 +09:00
Damien Elmes
6323633f65 superfluous reset hook in overview 2011-12-15 15:22:22 +09:00
Damien Elmes
34b56b5003 add timer flag, limit timer to maxTaken 2011-12-15 15:09:04 +09:00
Damien Elmes
494b7310f0 change model, description editing 2011-12-15 14:33:40 +09:00
Damien Elmes
1f3f948ad1 should be changing state in collection load, not profile load 2011-12-14 12:18:43 +09:00
Damien Elmes
312af79c1e add review link 2011-12-14 12:13:10 +09:00
Damien Elmes
7c310e678c fix deck description 2011-12-14 11:44:29 +09:00
Damien Elmes
2dbc5f22dc conf() -> confForDid() 2011-12-13 13:56:16 +09:00
Damien Elmes
b14e6b306b fix double syncs 2011-12-13 10:30:29 +09:00
Damien Elmes
a10bc64822 fix model renaming, add name prompt on add 2011-12-13 10:30:09 +09:00
Damien Elmes
dcb56ef265 don't leave orphaned facts around when editing 2011-12-13 04:20:12 +09:00
Damien Elmes
177a2d027b add deck to add cards dialog 2011-12-13 01:53:18 +09:00
Damien Elmes
63e1132b5b sync pref tweaks 2011-12-13 01:04:01 +09:00
Damien Elmes
07ce5983f9 add empty card del hook, make sure we update templates on clayout close 2011-12-12 00:02:12 +09:00
Damien Elmes
1bcc8b9d27 fix cloze 2011-12-11 03:34:23 +09:00
Damien Elmes
b812b50ee3 add template-level deck override 2011-12-11 00:44:07 +09:00
Damien Elmes
ed85bec6cc fix deck conf bugs 2011-12-11 00:24:08 +09:00