Commit graph

1187 commits

Author SHA1 Message Date
Damien Elmes
54c1d253a3 make sure to save fields before previewing 2010-11-28 02:24:44 +09:00
Damien Elmes
d770008228 display new style formats, but keep old style on DB for now 2010-11-28 02:02:36 +09:00
Damien Elmes
054287445c workaround _programLayout missing bug 2010-11-27 23:59:05 +09:00
Damien Elmes
0110875a9d fix some issues with the fact editor
- don't save a fact to disk on keystroke timer
- update unique/required checking for the above
- don't try to set focus to old widget if it doesn't exist
2010-11-27 23:37:35 +09:00
Damien Elmes
8870adf528 if exiting a custom scheduler, need to reset to update counts 2010-11-27 22:41:05 +09:00
Damien Elmes
d897ff7a0b typo of 'download' 2010-11-27 07:39:24 +09:00
Damien Elmes
05baaaaf44 wipe original media path when exporting 2010-11-26 04:15:29 +09:00
Damien Elmes
1be2176b8e added find duplicate tool to the browser 2010-11-26 03:46:49 +09:00
Damien Elmes
7d799d8b57 don't display 'field mapping' if we're importing an anki file 2010-11-26 02:02:45 +09:00
Damien Elmes
9367570900 support updating of decks, simplify importing dialog
- can now choose 'update' instead of 'import', so users can maintain their
  data in a separate spreadsheet or file for bulk editing
- remove 'tags to append' option, as it makes the dialog a bit crowded. users
  can add 'tags:' to the start of their text files instead
- removed option to tag instead of suppress duplicates - a separate duplicate
  finding tool will be written instead
2010-11-26 01:57:29 +09:00
Damien Elmes
a3816b0e9e fix for bad filesystems not working with utime 2010-11-25 07:18:41 +09:00
Damien Elmes
5d41329e34 toolkit doesn't elide list items on osx, so don't limit size 2010-11-25 00:10:24 +09:00
Damien Elmes
ebbf32b750 keep focus when resetting fact editor 2010-11-24 05:06:29 +09:00
Damien Elmes
a46c9a8b26 sync updates (syncName, etc)
- remove text box from deck properties
- exiting deck properties after enabling syncing forces a sync
- instead of the arduous file>sync, enable checkbox, close dialog, file>sync
  again process users had to go through before, they can just file>sync now
  and the deck immediately syncs
- when downloading a deck, instead of downloading into a new name, prompt if
  the user wants to overwrite the deck, and cancel if they don't
- simplify deckChooser since we only have to deal with downloading now
- only display a clobber warning if the deck already existed on the server
- disable syncing if user declines to clobber the deck
- skip expensive summary generation if downloading or a conflict
2010-11-23 23:28:45 +09:00
Damien Elmes
3be42fbbfe suppress reset when editing current card 2010-11-23 19:28:58 +09:00
Damien Elmes
0414eed116 call .reset() where necessary due to libanki changes
- mw.reset() rebuilds the deck queue, and refetches the current card, so we
  don't try to answer a card that's not in the queue
- in a number of cases we were already explicitly calling reset; the libanki
  changes ensure we're not doing it twice now
- the editor no longer resets the current card when it's closed. Instead, all
  deck operations in the editor should reset when they are performed
2010-11-23 18:00:29 +09:00
Damien Elmes
5067577337 rebuild queues after editing current card 2010-11-23 16:39:25 +09:00
Damien Elmes
4313367efe show failed cards first when cramming restarted 2010-11-21 13:46:16 +09:00
Damien Elmes
80dcf3848c should be checking cardQueue, not cardType in status 2010-11-21 13:37:14 +09:00
Damien Elmes
c2d9ab9423 update deckproperties diag for new delay1 handling 2010-11-13 21:55:03 +09:00
Damien Elmes
9bfd6843bb update cutoff when sitting in study options / finish screen 2010-11-13 17:09:02 +09:00
Damien Elmes
6d53fdc327 more useful version info 2010-11-13 17:06:43 +09:00
Damien Elmes
41868f1c95 limit new day starts at to -24~24 2010-11-13 11:55:48 +09:00
Damien Elmes
bd08dc487b Revert "remove inactive tags from dialogs"
This reverts commit d2e454930d.
2010-11-02 02:16:18 +09:00
Damien Elmes
a6066d5033 be consistent in deck references 2010-11-01 18:53:37 +09:00
Damien Elmes
10550aa5bc update some obsolete qt signals 2010-10-29 22:39:54 +09:00
Damien Elmes
16413c0b3b tweak wording & sizes 2010-10-29 22:04:56 +09:00
Damien Elmes
5c45ea2600 tweak table sizes 2010-10-29 21:54:34 +09:00
Damien Elmes
d2e454930d remove inactive tags from dialogs 2010-10-29 21:06:45 +09:00
Damien Elmes
cbb538c741 remove model tags, treat name as tags like card templates 2010-10-29 19:26:02 +09:00
Damien Elmes
7a138927cc drop support for old full toolbar - can be done in a plugin 2010-10-27 21:34:08 +09:00
Damien Elmes
b0cf565e6f unfilteredcompletion->popup completion 2010-10-27 21:13:55 +09:00
Damien Elmes
2329baa789 if <c>...</c> in q/a format, limit display in card list to that 2010-10-27 20:11:08 +09:00
Damien Elmes
f5a931bb07 typo in bold fix 2010-10-25 13:08:39 +09:00
Damien Elmes
c03d634012 use libanki's bury support 2010-10-24 13:06:26 +09:00
Damien Elmes
5a71cd84a3 remove underline hack, more robust bold hack for osx 2010-10-24 12:50:20 +09:00
Damien Elmes
822d1f7609 refetch the card after editing 2010-10-24 12:21:40 +09:00
Damien Elmes
527c4220c2 strip old earliestTime debugging code, don't update pri on mark, w32 frame 2010-10-24 12:08:39 +09:00
Damien Elmes
2264703db9 don't apply toolbar hack on osx 2010-10-23 14:00:24 +09:00
Damien Elmes
5fcd2d6e9b suppress 'was due' messages while cramming, timebox screen on ses fin 2010-10-20 18:03:00 +09:00
Damien Elmes
f549dfcfa9 updates for new cram code; remove priority 0 highlight in browser 2010-10-20 13:15:19 +09:00
Damien Elmes
8032c4a66b don't check sources on sync; let ankionline handle it instead 2010-10-19 19:59:47 +09:00
Damien Elmes
cdab5318d1 remove sources from deck properties, as they can be configured online 2010-10-19 19:55:31 +09:00
Damien Elmes
aaaf025062 remember study options tab, make sure to hide bottom area 2010-10-19 19:27:21 +09:00
Damien Elmes
1abb47d973 new active/inactive tag handling, new study options screen
- break study options into multiple tabs
- inactive tags removed from menus and accessible via study options now
- save various study options immediately instead of requiring review button to
  be pressed
2010-10-19 19:15:21 +09:00
Damien Elmes
d698c3d310 add perDay config option, more updates for libanki sched changes
- new review early / learn more handling
- reset() when showing study stats
- only run the update timer on study screen & finished screen
2010-10-18 18:02:37 +09:00
Damien Elmes
afba9529fe reset in status update timer - should check this is efficient enough 2010-10-18 14:48:52 +09:00
Damien Elmes
53df67738c update for libanki scheduling changes 2010-10-18 14:47:57 +09:00
Damien Elmes
dcd6e2dfc3 fix qt4.7 duplicate toolbars 2010-10-18 10:34:33 +09:00
Damien Elmes
1365557930 remove win32 importing hack, require target deck to be on disk 2010-10-02 14:43:09 +09:00
Damien Elmes
39ed7ff44e fix deckPath=none error for clockoff case 2010-10-02 11:38:19 +09:00
Damien Elmes
3a9bff8e11 add small sleep after multi sync 2010-09-16 14:38:24 +09:00
Damien Elmes
e1ecae0ecb facts missing warning 2010-09-12 12:21:18 +09:00
Damien Elmes
ac8da946e0 don't hide vert. scroll bar 2010-08-25 14:22:02 +09:00
Damien Elmes
b36b670043 older pysqlite can't auto-convert unicode to utf-8 2010-08-24 13:09:59 +09:00
Damien Elmes
5fc33ab143 don't report conflicts when decks have same mod time 2010-08-19 12:02:02 +09:00
Damien Elmes
9b15771d84 refresh undo options after undo finished 2010-08-16 19:26:50 +09:00
Damien Elmes
ee2d39938d use array ref when selecting facts 2010-08-16 19:10:40 +09:00
Damien Elmes
5e62fea9c8 remove conflicting close window shortcut 2010-08-09 08:45:32 +09:00
Damien Elmes
14c4dfeea2 patch from bernhard: revert to previous spell check behaviour 2010-08-05 06:51:43 +09:00
Damien Elmes
b3e47d836b overwrite->upload 2010-07-30 18:37:55 +09:00
Damien Elmes
1eac9b52a5 fail gracefully if db is locked on sync all 2010-07-30 16:41:20 +09:00
Damien Elmes
1204f977e5 do clock skew check on initial connect only 2010-07-30 16:37:37 +09:00
Damien Elmes
7f41973972 rework conflict algorithm to detect more conflict cases 2010-07-27 23:19:44 +09:00
Damien Elmes
24d45cf93c always reset hideWelcome after a close 2010-07-27 23:18:55 +09:00
Damien Elmes
9491acc088 process the widget deletions before deleting the layout 2010-07-27 21:02:45 +09:00
Damien Elmes
49c92b9605 remove debug statement 2010-07-27 16:59:49 +09:00
Damien Elmes
7a510cc111 add loadDeck hook, fix hideWelcome behaviour
- if hideWelcome is true after a sync, do nothing at all
- make sure to reset hideWelcome on deck load
2010-07-27 16:59:04 +09:00
Damien Elmes
18c8d6766d possible fix for recursion bug in maybeShow() 2010-07-27 16:20:22 +09:00
Damien Elmes
d9af6288e1 do clobber detection at sync time, fix sync bugs
- don't get stuck in event loop if user cancels deck selection
- prompt for any full sync upload with no last sync time, so this also warns
  about syncs after a DB check too
- fixes erroneous warning with file>download>personal deck
2010-07-27 15:47:15 +09:00
Damien Elmes
4eacbec78b possible solution to w32 deck browser crashes 2010-07-27 15:03:46 +09:00
Damien Elmes
fbe7e12160 if an error happens during connect, terminate multi sync 2010-07-26 19:39:56 +09:00
Damien Elmes
ac735c9a34 tweak formatting 2010-07-21 20:25:39 +09:00
Damien Elmes
b006b08af1 tweak wrapping 2010-07-21 19:06:20 +09:00
Damien Elmes
e5bb3b38f1 double check with the user before allowing them to clobber their deck 2010-07-21 19:05:20 +09:00
Damien Elmes
c9010e984e fix race condition in deck browser signal handlers 2010-07-21 18:53:43 +09:00
Damien Elmes
e3f50540d5 detect sync conflicts and offer choice of direction 2010-07-21 18:35:55 +09:00
Damien Elmes
f93910128f multi-deck sync and related improvements
- deck open & browser refresh done after splash screen hidden now
- splash reduced to 3 steps
- new options sync on program load/close
- per-deck auto sync disabled on upgrade
- plugins are now always loaded before a deck has been opened
- don't prompt for sync params in auto sync, for both all and single deck
- refresh deck browser after multi sync
- wait on sync thread until syncFinished called, could fix crashes
- after a full sync, ensure interface is still disabled
- sync menu option now available in deck browser
- new option to tell a progress window it should appear immediately
2010-07-21 13:16:07 +09:00
Damien Elmes
77ede46ebb fix closing logic 2010-07-19 22:46:35 +09:00
Damien Elmes
8199799249 warn about cram for edit current too 2010-07-19 20:31:11 +09:00
Damien Elmes
40c0741133 tweak wording 2010-07-14 15:07:54 +09:00
Damien Elmes
75fb9a111e make the close button an application shortcut, raise window for osx terminal 2010-07-11 17:13:43 +09:00
Damien Elmes
a2713450a7 clear audio before previewing card 2010-07-11 16:49:23 +09:00
Damien Elmes
014c993688 colour times by default, add another mac build script 2010-07-11 16:43:24 +09:00
Damien Elmes
e3ab11213d make sure to move to noDeck at least once 2010-07-08 21:55:56 +09:00
Damien Elmes
1b7d0ac7ee adjust offset to account for extra sort key 2010-07-01 13:32:11 +09:00
Damien Elmes
79831c4861 patch from Bernhard Ibertsberger to ignore some chars in type to ans 2010-06-29 08:10:37 +09:00
Damien Elmes
722227050a don't save closed deck on sync failure, don't refresh deck browser twice 2010-06-29 08:03:26 +09:00
Damien Elmes
0b3cf9f91e add occitan to list of languages 2010-06-28 14:36:50 +09:00
Damien Elmes
634db40e56 don't try to localize traceback 2010-06-28 11:31:54 +09:00
Damien Elmes
88581105d4 add flac to supported audio formats 2010-06-27 07:53:51 +09:00
Shawn M Moore
4317388225 Index firstAnswered 2010-06-12 10:14:48 -04:00
Shawn M Moore
ea5caa504b Add "First Review" to sort columns in card editor 2010-06-12 10:05:48 -04:00
Damien Elmes
0cab72ef1e remove string exceptions for python2.6 2010-06-10 13:24:35 +09:00
Damien Elmes
7d22ef3c8d add fixme 2010-05-19 22:08:11 +09:00
Damien Elmes
4f03bdd94b don't force maxFailed=2 when the user wants unlimited 2010-05-10 22:31:08 +09:00
Damien Elmes
3e739e7698 make sure to return newly created media path 2010-05-01 16:11:37 +09:00
Damien Elmes
a563109e53 don't assume media directory exists 2010-04-15 22:18:41 +09:00
Damien Elmes
3db9c0f937 update error message 2010-04-15 22:08:16 +09:00
Damien Elmes
f0236932b9 correct capitalization 2010-04-12 11:49:13 +09:00