Commit graph

600 commits

Author SHA1 Message Date
Damien Elmes
464a9be86f remove cache/uncache latex, and export original media menu items 2010-12-10 23:58:47 +09:00
Damien Elmes
174c5a703b update download missing dialog 2010-12-10 23:55:44 +09:00
Damien Elmes
2c946fe366 tell dropbox support to use new media url location 2010-12-10 23:42:58 +09:00
Damien Elmes
6580a665e9 fact.setModified() needs deck arg 2010-12-10 23:27:06 +09:00
Damien Elmes
8d4a08dddf tweak wording of delete/hide options 2010-12-10 21:42:50 +09:00
Damien Elmes
ad08ad07f9 disable obsolete plugins 2010-12-09 18:00:31 +09:00
Damien Elmes
bfd4f7577d command+click on a mac 2010-12-09 17:09:22 +09:00
Damien Elmes
0e557e0389 since we may bump mod time when setting up media, do it after sync 2010-12-09 16:38:37 +09:00
Damien Elmes
405a28e090 skip dropbox init if media folder doesn't exist 2010-12-09 16:30:43 +09:00
Damien Elmes
7d846a85ab add missing / in media url 2010-12-09 16:30:06 +09:00
Damien Elmes
bff095925d split dropbox folder calculation into seperate defn so plugins can change it 2010-12-09 16:09:07 +09:00
Damien Elmes
33372980cc make sure src and dst locations are not the same 2010-12-09 16:01:25 +09:00
Damien Elmes
1d37924b54 improved media support
- tell deck the prefix based on program settings
- update media URL based on public link
- migrate media when moving between styles
2010-12-09 15:33:29 +09:00
Damien Elmes
1c599e7d76 media dir cwd set in libanki now 2010-12-09 13:03:38 +09:00
Damien Elmes
ff022119c3 abort download missing media early 2010-12-09 12:52:08 +09:00
Damien Elmes
e2644695cb remove obsolete forceMediaDir option 2010-12-09 12:28:01 +09:00
Damien Elmes
fbb1db8323 fix downloading personal deck when it hasn't been upgraded yet 2010-12-09 11:36:37 +09:00
Damien Elmes
7916d336e6 always clear plugin cache on windows 2010-12-07 18:09:30 +09:00
Damien Elmes
391a019b8b new layout icon; link from main screen 2010-12-07 18:03:43 +09:00
Damien Elmes
29978fffb8 treat an empty response like any other sync error 2010-12-07 10:39:16 +09:00
Damien Elmes
f72e8213d7 remove advanced options button from study options 2010-12-04 15:23:03 +09:00
Damien Elmes
0538430fac add unique window title to selective study 2010-12-04 13:26:45 +09:00
Damien Elmes
798b35d474 syncOpen/close into single setting, add option to disable syncName check 2010-12-04 13:21:24 +09:00
Damien Elmes
3bda1c82a2 show total due & new counts in deck browser 2010-12-03 10:42:30 +09:00
Damien Elmes
aba57b2afd make save work on new deck 2010-12-03 08:56:10 +09:00
Damien Elmes
8b10b031db make sure deck has a path before setting syncName 2010-12-02 23:17:23 +09:00
Damien Elmes
3b861d1704 restore UI if user decides not to overwrite deck 2010-12-02 09:54:19 +09:00
Damien Elmes
d826aa6a6a catch errors in sync finished 2010-12-02 09:52:44 +09:00
Damien Elmes
bddbb14340 fix syncName before attempting to load the deck after a personal download 2010-12-02 07:24:26 +09:00
Damien Elmes
2a36c4aaaf allow study options to expand more 2010-12-01 02:41:40 +09:00
Damien Elmes
f4ef8b5123 add help, limit to card in edit current, add back compat hack 2010-11-30 02:57:17 +09:00
Damien Elmes
35a5569038 dialog refactor wip 2010-11-29 04:56:45 +09:00
Damien Elmes
5ecb4bde49 clear compiled plugin files; make some strings translatable 2010-11-28 18:44:56 +09:00
Damien Elmes
8074e7b5a8 more robust add cards fix 2010-11-28 18:03:00 +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
05baaaaf44 wipe original media path when exporting 2010-11-26 04:15:29 +09:00
Damien Elmes
a3816b0e9e fix for bad filesystems not working with utime 2010-11-25 07:18:41 +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
bd08dc487b Revert "remove inactive tags from dialogs"
This reverts commit d2e454930d.
2010-11-02 02:16:18 +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
7a138927cc drop support for old full toolbar - can be done in a plugin 2010-10-27 21:34:08 +09:00
Damien Elmes
c03d634012 use libanki's bury support 2010-10-24 13:06:26 +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
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
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
9b15771d84 refresh undo options after undo finished 2010-08-16 19:26:50 +09:00
Damien Elmes
b3e47d836b overwrite->upload 2010-07-30 18:37:55 +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
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
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
75fb9a111e make the close button an application shortcut, raise window for osx terminal 2010-07-11 17:13:43 +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
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
0cab72ef1e remove string exceptions for python2.6 2010-06-10 13:24:35 +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
Damien Elmes
4928c21914 delete media folder too 2010-04-06 18:59:43 +09:00
Damien Elmes
9266a3b204 delegate all links 2010-04-05 19:09:12 +09:00
Damien Elmes
02003ff1ed remove pyqt broken check hack 2010-04-01 23:04:15 +09:00
Damien Elmes
d7075ecae9 add support for custom document dir 2010-03-23 17:15:00 +09:00
Damien Elmes
ed948ee810 use unicode for error 2010-03-23 17:06:27 +09:00
Damien Elmes
a94e0ed29e ensure actions are updated after plugins loaded 2010-02-22 18:09:45 +09:00
Damien Elmes
f083d95282 fix page reload 2010-02-22 16:22:51 +09:00
Damien Elmes
1daf8f9601 if an error occurs during progress op, reactivate main window 2010-02-12 16:46:10 +09:00
Damien Elmes
20f9e69b79 capitalization tweak 2010-02-12 15:51:11 +09:00
Damien Elmes
d320c01372 separate button labels and default buttons 2010-02-12 14:02:29 +09:00
Damien Elmes
fb6d5a8556 strip angle brackets from syncName when downloading 2010-02-06 01:29:56 +09:00
Damien Elmes
ea42e18a58 catch errors in inital startup and report them before dying 2010-02-06 01:29:56 +09:00
Damien Elmes
e9ae61a5fd forget last card when moving to state 'auto' 2010-02-02 00:48:47 +09:00
Damien Elmes
1621092741 hide missing decks when drawing recent decks list 2010-02-02 00:33:07 +09:00