Commit graph

746 commits

Author SHA1 Message Date
Damien Elmes
402b24fbf6 fix for win32 and osx aqt translations 2012-04-11 22:53:42 +09:00
Damien Elmes
770036020a filter implicit html on field save; set color with wrap()
- using setFormat() to set the colour results in the text being marked as
  implicitly coloured, so we wrap() instead
2012-04-11 22:18:47 +09:00
Damien Elmes
cd1c958230 remove initial factor from new conf 2012-04-11 21:34:02 +09:00
Damien Elmes
dc65441623 shortcuts for cramming and options 2012-04-11 21:29:35 +09:00
Damien Elmes
05684b5575 option to edit current card's config 2012-04-11 20:59:03 +09:00
Damien Elmes
c1a16452d6 use combobox for deck in add notes diag 2012-04-11 20:44:11 +09:00
Damien Elmes
fe8d28c3eb stop audio in deck browser, card layout and overview 2012-04-11 20:19:39 +09:00
Damien Elmes
e9ea56f931 make editor shortcuts translatable 2012-04-11 19:41:08 +09:00
Damien Elmes
9a7f9525ae app-modal edit as a test for mesqueeb's bug 2012-04-11 19:37:20 +09:00
Damien Elmes
7d476586f7 make sure to display current card in preview, not last 2012-04-11 19:22:21 +09:00
Damien Elmes
8de899c3f7 save and restore selection when setting colour 2012-04-11 18:37:07 +09:00
Damien Elmes
79e3984a7a revamped addon downloading 2012-04-10 16:31:45 +09:00
Damien Elmes
c8ef15c3d0 subtle lines in deck browser 2012-04-10 12:38:57 +09:00
Damien Elmes
cb56df2dab new clear formatting icon 2012-04-09 14:50:15 +09:00
Damien Elmes
320f5222be increase timebox tooltip to 5 secs 2012-04-09 10:50:02 +09:00
Damien Elmes
4948687f05 hide the bottom bar when 'close to resume' is shown 2012-04-08 21:45:19 +09:00
Damien Elmes
088717e760 fix appending of search terms 2012-04-08 21:32:56 +09:00
Damien Elmes
9ed0535a8b set focus when adding/editing current 2012-04-08 20:08:00 +09:00
Damien Elmes
af7d813a2a show js errors in terminal when running from src 2012-04-08 20:06:44 +09:00
Damien Elmes
3cbced94db fix browser bug due to filter change 2012-04-08 20:06:07 +09:00
Damien Elmes
e81cfc616f focus lost hook needs to be a filter 2012-04-08 19:41:30 +09:00
Damien Elmes
4bbd644e0a use stdHtml in preview 2012-04-08 13:29:55 +09:00
Damien Elmes
cd4b1e894e focus elements on drag over so dropped images are saved 2012-04-07 21:43:47 +09:00
Damien Elmes
93118b2710 work around shift triggering buttons on win32 2012-04-07 21:23:51 +09:00
Damien Elmes
dc3ef60c75 ignore image drag if qt doesn't provide html for it 2012-04-07 18:41:29 +09:00
Damien Elmes
8a2ca46a7a remove debugging 2012-04-07 18:21:03 +09:00
Damien Elmes
17a80e13c0 do it twice to prevent flicker 2012-04-07 18:05:31 +09:00
Damien Elmes
3828c43cd8 add the timeout back in for older qt versions 2012-04-07 18:01:03 +09:00
Damien Elmes
8f9a20c5a5 fix 'null' error when closing browser etc 2012-04-07 17:11:32 +09:00
Damien Elmes
d97c5f615f bump version 2012-04-07 16:37:51 +09:00
Damien Elmes
d1507d5b63 click in middle of field doesn't scroll to end now 2012-04-07 16:36:47 +09:00
Damien Elmes
0e580a04d8 remove buggy ondragover handler
It was originally added to prevent text from being dropped outside the
editable areas, but I'm no longer able to reproduce the original problem.
2012-04-07 15:30:37 +09:00
Damien Elmes
cc606e180e ntype -> note 2012-04-07 13:54:35 +09:00
Damien Elmes
5ba108b53b make sure we can write the deck, so we can warn w/ apkg too 2012-04-06 19:29:00 +09:00
Damien Elmes
e89ccaa18b add a more friendly error when saving to read-only dir 2012-04-06 19:21:57 +09:00
Damien Elmes
c21c9ab8c3 catch missing pyaudio 2012-04-06 19:04:02 +09:00
Damien Elmes
a3a4f9772a make sure answer area focused when typing answer 2012-04-06 18:47:18 +09:00
Damien Elmes
8dbfd676ef escape HTML in type in the answer 2012-04-06 18:45:31 +09:00
Damien Elmes
21464720d5 add tooltip to foreground colour 2012-04-06 17:00:53 +09:00
Damien Elmes
2107c1a9c0 when user tries to cloze a normal note type, show help 2012-04-06 16:56:36 +09:00
Damien Elmes
a9a0b1752d consistent nomenclature 2012-04-06 16:36:47 +09:00
Damien Elmes
f793b8a695 switch to a combobox for the search, at least for now 2012-04-06 14:08:58 +09:00
Damien Elmes
3fd1cf0158 check the first field is mapped 2012-04-06 13:34:21 +09:00
Damien Elmes
a09cd3f7a0 prefer clipboard image over url 2012-04-06 13:22:25 +09:00
Damien Elmes
a1ef0c2d73 add option to cram current deck 2012-04-06 12:04:34 +09:00
Damien Elmes
56b89fdc91 allow the user to cancel creation/editing of cram deck 2012-04-06 11:55:01 +09:00
Damien Elmes
314ec1957a add close to add models 2012-04-06 10:56:52 +09:00
Damien Elmes
9db9ed4ad5 make sure to update card count on empty search result 2012-04-06 10:49:44 +09:00
Damien Elmes
4c3008e25c don't error when an image is dropped on itself 2012-04-06 07:36:48 +09:00
Damien Elmes
88cf743c8a make sure to catch unknown errors during sync 2012-04-06 05:25:31 +09:00
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