Commit graph

1315 commits

Author SHA1 Message Date
Damien Elmes
462cfa5b83 strip code & add helper func 2011-01-13 18:16:37 +09:00
Damien Elmes
eecbf51ba0 add pydropbox code 2011-01-13 18:11:30 +09:00
Damien Elmes
6dd98dc04b always save prefix to custom media 2011-01-13 05:57:19 +09:00
Damien Elmes
6ddc6641e0 fix record noise profile on win32 2011-01-13 05:44:31 +09:00
Damien Elmes
0543df9bea if lastSync = 0, make sure we force in the right direction 2011-01-13 05:23:41 +09:00
Damien Elmes
eddc43697e add help to the main importing screen too 2011-01-11 22:33:32 +09:00
Damien Elmes
bff2b2350b link help button in update screen 2011-01-11 21:38:17 +09:00
Damien Elmes
f01253c19a add confirmation to localize media 2011-01-10 18:53:57 +09:00
Damien Elmes
bc1526794f just don't migrate if paths are the same, instead of raising an error 2011-01-10 17:19:35 +09:00
Damien Elmes
f973dabb9a make importing dialog scrollable 2011-01-02 19:20:20 +09:00
Damien Elmes
9b9bb4bd64 make sure to clean up properly after incorrect user/pass 2011-01-02 18:43:03 +09:00
Damien Elmes
9b7ce444b4 default to a saturated colour 2011-01-02 18:22:25 +09:00
Damien Elmes
030ce39105 work around bug in qt color dialog 2011-01-02 18:21:27 +09:00
Damien Elmes
364773fa9d more robust positioning of cursor for latex 2011-01-02 18:02:07 +09:00
Damien Elmes
06d4fde294 Revert "selective study option"
This reverts commit ff18c05fbf.

make it default to true for now
2011-01-02 17:40:11 +09:00
Damien Elmes
ff18c05fbf selective study option 2011-01-02 17:39:57 +09:00
Damien Elmes
88c7717537 use text if the document has no html and stripHTML off 2011-01-02 17:10:16 +09:00
Damien Elmes
8fbf2cb412 translation patch from piotr 2011-01-02 10:00:10 +09:00
Damien Elmes
7054281bb8 don't needlessly copy recorded audio 2010-12-27 04:32:51 +09:00
Damien Elmes
b6665230d1 fix clock off message 2010-12-27 03:07:46 +09:00
Damien Elmes
ee8bda08bb support compressed file list 2010-12-27 03:01:01 +09:00
Damien Elmes
38aac3d4ab always save new decks to disk, improve importing
- instead of having various functions like importing & deck stats ask the user
  to save first, we ask the user for a deck name when they create a new deck
- importing now explains why a new deck has to be created
- don't bump deck mod time when setting media location
2010-12-27 02:46:26 +09:00
Damien Elmes
f41d2c2e0a allow for the fact that field font/size may be null 2010-12-27 01:06:48 +09:00
Damien Elmes
6a93e8f180 new option to download remote media 2010-12-25 11:26:04 +09:00
Damien Elmes
d7971c33f6 allow previewing of other templates when editing, include info on what's shown 2010-12-25 08:46:45 +09:00
Damien Elmes
3eca37d75c disable broken lastCard=currentCard check for now 2010-12-25 07:07:39 +09:00
Damien Elmes
d0fa8ce9a6 use the field model's font/colours for type answer support 2010-12-25 07:04:54 +09:00
Damien Elmes
781324741a option to disable sound autoplay 2010-12-25 06:58:07 +09:00
Damien Elmes
59f1707b17 fix unsuspend 2010-12-22 18:51:21 +09:00
Damien Elmes
dcb5bf58f2 always setup media; try to find media from old dropbox location 2010-12-22 01:36:24 +09:00
Damien Elmes
aada2e4864 force inMainWindow() to on, make sure win is visible 2010-12-22 01:22:46 +09:00
Damien Elmes
195944b395 raise window at end of startup 2010-12-22 01:14:10 +09:00
Damien Elmes
f741b212a9 update obsolete plugin list 2010-12-21 03:53:01 +09:00
Damien Elmes
e91c633ab9 make sure update dialog appears over import diag 2010-12-21 01:44:26 +09:00
Damien Elmes
5c89a0cc60 set fact to False before deleting cards 2010-12-20 01:10:48 +09:00
Damien Elmes
ebebd93548 add hidden option to disable keyboard preservation 2010-12-17 21:36:54 +09:00
Damien Elmes
90f419b088 skip expensive summary generation after db check 2010-12-17 21:17:09 +09:00
Damien Elmes
3b7c6f4875 factor time diff into lastSync 2010-12-17 03:27:02 +09:00
Damien Elmes
9c32ebec70 don't bring up an error if user cancels update 2010-12-15 19:04:01 +09:00
Damien Elmes
fe63d86386 don't limit more button width 2010-12-15 06:31:30 +09:00
Damien Elmes
bacaf4a3a8 don't import unicode paths on win32 2010-12-15 03:53:15 +09:00
Damien Elmes
19ec6b2a1b don't reset on edits in the add card dialog 2010-12-14 21:34:00 +09:00
Damien Elmes
047b06cabd fix add & rename fields when we have a fact not yet added to db 2010-12-14 21:19:14 +09:00
Damien Elmes
f31793e321 direct user to set up dropbox 2010-12-13 04:09:25 +09:00
Damien Elmes
d3214ee56c add latex header/footer config 2010-12-13 03:21:54 +09:00
Damien Elmes
bbfe323587 prevent duplicate f2 shortcuts via edit current 2010-12-12 20:05:00 +09:00
Damien Elmes
c10068efc6 fix for sample card changing when editing from main window 2010-12-12 20:02:46 +09:00
Damien Elmes
c92a00d90b add config option to turn off html stripping 2010-12-12 19:46:54 +09:00
Damien Elmes
bcbea7ab3f always reset on clayout exit, unless we're calling hooks 2010-12-11 20:58:57 +09:00
Damien Elmes
9f057e2506 remove commented old colour code 2010-12-11 20:52:02 +09:00
Damien Elmes
b507d7394d display # of facts, not cards, in model properties 2010-12-11 17:44:19 +09:00
Damien Elmes
5171055278 fix preview generation, add/edit field cases 2010-12-11 13:00:16 +09:00
Damien Elmes
a6c591edf9 copy+paste / drag+drag use 'paste' as temp file prefix 2010-12-11 02:22:54 +09:00
Damien Elmes
73bd124b6c don't bother reporting used media; fix ctrl+l latex conflict with card layout 2010-12-11 02:13:27 +09:00
Damien Elmes
451b77cd46 update check media db dialog, add accelerators to some advanced menu items 2010-12-11 01:48:28 +09:00
Damien Elmes
f17eb0a836 remove obsolete latex routines, fix ctl+l shortcut in editor, update call() 2010-12-11 01:47:51 +09:00
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
42ac12975b move media URL from model properties to deck properties 2010-12-10 23:41:37 +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
b18bd51694 add new media options to preferences 2010-12-09 13:55:37 +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
e15587c1cc don't need to display error as log line anymore 2010-12-08 17:33:57 +09:00
Damien Elmes
b2a7d81519 just set minimum width instead, since this will work on osx 2010-12-08 16:54:44 +09:00
Damien Elmes
0e2bcfc173 because we can't have a bigger view in the taglist on osx, use bigger list 2010-12-08 16:49:51 +09:00
Damien Elmes
f8d13106fb more general solution to sync failures 2010-12-08 16:36:57 +09:00
Damien Elmes
90fed6bd45 don't generate multiple finished messages when multisync fails 2010-12-08 14:42:26 +09:00
Damien Elmes
ad80613d06 if the deck is not randomized, show actual due date of new cards 2010-12-08 11:25:01 +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
84d6f88e71 make sure field saved before toggling mark/suspend 2010-12-07 17:27:10 +09:00
Damien Elmes
772f6d7776 report errors in multi sync, make sure to terminate early 2010-12-07 17:06:42 +09:00
Damien Elmes
ccc91b364e improve sync error messages 2010-12-07 16:48:05 +09:00
Damien Elmes
060fbb788e tell server to save after response received & applied 2010-12-07 10:40:23 +09:00
Damien Elmes
29978fffb8 treat an empty response like any other sync error 2010-12-07 10:39:16 +09:00
Damien Elmes
43e02439f1 don't accidentally reset lastSync 2010-12-06 06:12:12 +09:00
Damien Elmes
01c6ca6776 no need to close the deck twice 2010-12-05 18:11:51 +09:00
Damien Elmes
dd336fc7a7 since we detect when deck is moved, it should be safe to allow upload in multimode 2010-12-04 19:05:11 +09:00
Damien Elmes
51fe1d802b bigger target area 2010-12-04 18:58:23 +09:00
Damien Elmes
d517d4615f better colour picker 2010-12-04 18:53:14 +09:00
Damien Elmes
f72e8213d7 remove advanced options button from study options 2010-12-04 15:23:03 +09:00
Damien Elmes
c3ba8276d9 add marcus to the credits 2010-12-04 13:40:39 +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
e2b42e0d8d add ukranian to language options 2010-12-04 12:24:23 +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