Commit graph

483 commits

Author SHA1 Message Date
Damien Elmes
fb88fe2e45 backups 2011-12-08 01:22:25 +09:00
Damien Elmes
9d26496ceb profile switching & refactor closing 2011-12-08 00:47:29 +09:00
Damien Elmes
681c8dea9f add autosync flag, make sure we close col windows on sync 2011-12-08 00:31:04 +09:00
Damien Elmes
58433be7b4 limit images to window width 2011-12-07 23:48:58 +09:00
Damien Elmes
a8b90ca6b0 card is a class not an id now 2011-12-07 20:27:08 +09:00
Damien Elmes
5c80708765 make sure we log the exceptions when upgrading 2011-12-07 19:35:15 +09:00
Damien Elmes
826cbd3ecf make sure we catch esc in progress handler too 2011-12-07 16:47:52 +09:00
Damien Elmes
d9a7eba7c2 add upload/download progress 2011-12-06 01:36:47 +09:00
Damien Elmes
9a6ddae1cb removeHook -> remHook 2011-12-06 00:11:48 +09:00
Damien Elmes
d34ee6822f fix ctrl+c handler 2011-12-06 00:08:42 +09:00
Damien Elmes
e9733beb81 let libanki add the necessary count 2011-12-05 19:34:04 +09:00
Damien Elmes
5fc4a80458 repCounts() -> counts() 2011-12-05 19:19:25 +09:00
Damien Elmes
238a9a823c catch more errors 2011-12-05 17:52:26 +09:00
Damien Elmes
705e809175 report when media sync starts 2011-12-05 15:36:52 +09:00
Damien Elmes
7f3fb805ca catch 502 2011-12-05 15:36:22 +09:00
Damien Elmes
aca30de49e default to deck browser if decks > 1 2011-12-05 15:01:52 +09:00
Damien Elmes
0085c9fc6c fix closing 2011-12-05 14:52:20 +09:00
Damien Elmes
47f9b79632 .reset() when opening overview or reviewer 2011-12-05 14:52:11 +09:00
Damien Elmes
8f9e4ca5ee after full sync, reopen deck for media sync 2011-12-05 14:51:51 +09:00
Damien Elmes
452ed53019 after initial auth, set self.hkey so full sync works 2011-12-04 19:11:39 +09:00
Damien Elmes
240f61fd49 catch timeout errors; blank key when badAuth received 2011-12-04 19:10:26 +09:00
Damien Elmes
7916dea182 make sure undo is updated on col load 2011-12-04 19:10:08 +09:00
Damien Elmes
d7c4a55724 make sure we reload note after reset in editcurrent 2011-12-04 18:15:52 +09:00
Damien Elmes
42a0e43a3d tweak wording 2011-12-04 18:15:11 +09:00
Damien Elmes
1fe48b0c3a tweak sync messages 2011-12-04 16:25:36 +09:00
Damien Elmes
64ed220fba fix autoupdate; make program limit 5 minutes too 2011-12-04 16:24:58 +09:00
Damien Elmes
284c8d2543 revert previous change; don't mod card when displaying 2011-12-04 16:08:19 +09:00
Damien Elmes
16fd34e8d9 make sure the load callback is reset each time html changed 2011-12-04 15:39:01 +09:00
Damien Elmes
da2d4073c9 to avoid conflicts, make sure the progress dialog can't be closed 2011-12-04 15:34:31 +09:00
Damien Elmes
67285cd230 fix full upload 2011-12-04 15:30:12 +09:00
Damien Elmes
e03b51fae8 option to disable media sync 2011-12-04 14:01:22 +09:00
Damien Elmes
7a71a0798c new sync gui 2011-12-04 13:54:00 +09:00
Damien Elmes
94baee058c make sure type answers with : work 2011-12-03 19:14:04 +09:00
Damien Elmes
26ba52a752 add ctrl+c back to webview 2011-12-03 19:13:51 +09:00
Damien Elmes
2c45091367 ensure only one instance running at once 2011-12-03 19:13:39 +09:00
Damien Elmes
600e189c03 make rename and delete deck undoable 2011-12-02 22:38:00 +09:00
Damien Elmes
52881b655d improve unused media deletion 2011-12-02 22:30:33 +09:00
Damien Elmes
3ac7aacb54 remove optimize sync warning 2011-12-02 21:50:07 +09:00
Damien Elmes
ad523113cc more browser stuff 2011-12-02 21:27:28 +09:00
Damien Elmes
77dd9eea14 browser work 2011-12-02 20:44:18 +09:00
Damien Elmes
6feafbb4ff add options & cram buttons 2011-12-02 18:08:33 +09:00
Damien Elmes
975f66e693 get type answer support working again 2011-12-02 17:58:53 +09:00
Damien Elmes
ac7602675a tooltips 2011-12-02 17:19:57 +09:00
Damien Elmes
7909181f32 move remaining to middle; hide timer for now 2011-12-01 20:06:56 +09:00
Damien Elmes
da25e87ac4 key handling stuff 2011-12-01 19:42:36 +09:00
Damien Elmes
5e97a285a1 timer, global shortcuts 2011-12-01 18:45:13 +09:00
Damien Elmes
9c5eb98114 hook up context menu and remaining count 2011-12-01 17:05:04 +09:00
Damien Elmes
5dd5ab710a connect current card editor; ensure same card is reviewed 2011-12-01 15:41:24 +09:00
Damien Elmes
cecec92934 work on reviewer 2011-12-01 15:15:20 +09:00
Damien Elmes
c2176edd07 snapshot of work on new show answer button 2011-11-30 21:10:33 +09:00
Damien Elmes
0965c3a888 revert the dockable changes, strip old status code 2011-11-30 18:20:18 +09:00
Damien Elmes
b745567bb3 add another toolbar at the bottom 2011-11-30 17:54:55 +09:00
Damien Elmes
bea1e60fc8 remove actions that'll be placed on the card 2011-11-30 15:58:39 +09:00
Damien Elmes
b9522487ad finish fields dialog 2011-11-30 12:36:12 +09:00
Damien Elmes
4eba9eb913 remove context menu for now, speed up toolbar rendering in browser 2011-11-30 10:03:22 +09:00
Damien Elmes
967dff23dd work on fields dialog 2011-11-29 21:06:42 +09:00
Damien Elmes
3362ca06a3 move card info into separate diag 2011-11-29 17:46:32 +09:00
Damien Elmes
1c58306d7a new toolbar for the browser 2011-11-29 13:35:13 +09:00
Damien Elmes
7a799d30e0 report issues with history not matching rep count 2011-11-29 11:04:32 +09:00
Damien Elmes
56e8c40d57 fix display of review time in history 2011-11-29 10:34:21 +09:00
Damien Elmes
0c104af809 tweak browser layout 2011-11-29 10:18:55 +09:00
Damien Elmes
b0bfed6ac2 fix sort field change 2011-11-28 21:30:59 +09:00
Damien Elmes
10234be4e9 browser tweaks 2011-11-28 21:19:39 +09:00
Damien Elmes
23411c2872 primarily work on browser 2011-11-28 19:21:20 +09:00
Damien Elmes
6f4e0d6ef9 move rename/reorder to bottom to save space 2011-11-28 14:54:51 +09:00
Damien Elmes
cf87d19905 refactor card layout, reviewing 2011-11-28 14:37:07 +09:00
Damien Elmes
f2a39aad2a move the toolbar into a separate file and make it global 2011-11-27 11:25:13 +09:00
Damien Elmes
f75ef69fba experimenting with a new toolbar 2011-11-26 22:07:10 +09:00
Damien Elmes
5f1b762a15 fix stats, start work on revamped overview 2011-11-26 13:20:55 +09:00
Damien Elmes
67c2ccc954 should init profile regardless of upgrade being required or not 2011-11-26 08:12:59 +09:00
Damien Elmes
11f95139f4 import media in custom location during upgrade 2011-11-26 07:54:16 +09:00
Damien Elmes
a1a7e7341c upgrade wizard and first startup language selection dialog 2011-11-25 15:08:41 +09:00
Damien Elmes
7c68b58d44 profile gui, new deck browser 2011-11-24 18:42:06 +09:00
Damien Elmes
f4150a5df4 refactor; add profile support 2011-11-24 12:48:58 +09:00
Damien Elmes
87da9f48b1 facts->notes 2011-11-23 13:35:14 +09:00
Damien Elmes
be921563f0 todo 2011-11-23 13:03:51 +09:00
Damien Elmes
4087d1f4f9 counts->repCounts 2011-09-23 14:47:41 +09:00
Damien Elmes
2f7bbd4d86 libanki tweaks 2011-09-21 03:07:57 +09:00
Damien Elmes
3a617cd7df fix media.dir() calls 2011-09-17 08:05:34 +09:00
Damien Elmes
27533c0fc8 tweak wording 2011-09-07 22:18:50 +09:00
Damien Elmes
7a81015c7a hack groups back into working state, pending port to sidebar 2011-09-07 03:13:15 +09:00
Damien Elmes
18812655ab some initial porting to the latest libanki 2011-08-28 15:24:30 +09:00
Damien Elmes
ef5e94db9e only reset() if there's an active deck 2011-05-04 16:42:33 +09:00
Damien Elmes
3bfb60c757 fix _retrieveURL() 2011-05-04 16:40:41 +09:00
Damien Elmes
68817218a4 should use utf8 when pulled from sqlite, not the system encoding 2011-04-29 11:51:40 +09:00
Damien Elmes
9490d7e6cf fix tooltip bug 2011-04-29 11:40:43 +09:00
Damien Elmes
247276b223 fix rename 2011-04-29 11:39:27 +09:00
Damien Elmes
4d945592dd fix save image link on win32 2011-04-28 09:28:03 +09:00
Damien Elmes
ef5caf5038 activated->triggered() 2011-04-28 09:28:03 +09:00
Damien Elmes
3a4443404b don't call toString() on registry results; don't cast QUrl.toString() 2011-04-28 09:28:03 +09:00
Damien Elmes
f0311d1ecb remove qstringlist ref from init, disable cram for now 2011-04-28 09:28:02 +09:00
Damien Elmes
a253d756e3 use pyqt api2; move all imports into a single file for pyside 2011-04-28 09:28:02 +09:00
Damien Elmes
d02cfa28d9 move latex conf into model 2011-04-28 09:28:02 +09:00
Damien Elmes
b5b24be530 add eta to overview 2011-04-28 09:28:02 +09:00
Damien Elmes
cfefbc92ad leech action is no longer an array 2011-04-28 09:28:02 +09:00
Damien Elmes
e28f5fe931 tweak config and startup 2011-04-28 09:28:02 +09:00
Damien Elmes
f4ee17a5c6 drop the deck list button from the congrats screen 2011-04-28 09:28:02 +09:00
Damien Elmes
1a0d273b78 plugins -> add-ons; ditch separate download menu
Because of the extensive changes almost all plugins will require an update to
work with 2.0, and add-ons is a slightly friendlier name.
2011-04-28 09:28:02 +09:00
Damien Elmes
8567a5d7ae drop the d shortcut from the overview 2011-04-28 09:28:02 +09:00
Damien Elmes
60001e41e4 rename support, titlebar, recent decks
- use libanki's new .rename(); don't need to close any deck windows anymore
- titlebar updated only on app load now. No longer shows card
  count or due count, as computing it is expensive, and drops the deck
  name as it's more effective to use groups than separate decks now
2011-04-28 09:28:02 +09:00
Damien Elmes
0b95bab30b catch ret in type ans area 2011-04-28 09:28:02 +09:00
Damien Elmes
6f8a3c5216 if clozing on a word boundary, ensure it's preserved 2011-04-28 09:28:02 +09:00
Damien Elmes
6af10e4d01 ensure we pass a real bool to setChecked(); fix due for lrn 2011-04-28 09:28:02 +09:00
Damien Elmes
a18b5c5075 fix study options saving & randomize/order; update reschedule 2011-04-28 09:28:02 +09:00
Damien Elmes
d89098b677 add reposition tool, make sure to bump mod on setgroup, don't show 0 reviews 2011-04-28 09:28:01 +09:00
Damien Elmes
2b326e5773 allow the user to paste with formatting by holding down; don't clobber clipboard 2011-04-28 09:28:01 +09:00
Damien Elmes
d0c9beddfd drop events from anywhere in anki should preserve formatting 2011-04-28 09:28:01 +09:00
Damien Elmes
157801621c 0s -> 0d 2011-04-28 09:28:01 +09:00
Damien Elmes
998ce99980 sensible default geom; allow units other than days 2011-04-28 09:28:01 +09:00
Damien Elmes
a64075916c add a review history dialog 2011-04-28 09:28:01 +09:00
Damien Elmes
3eb9212422 don't show interval if card is new 2011-04-28 09:28:01 +09:00
Damien Elmes
b7bd648762 remove some debugging 2011-04-28 09:28:01 +09:00
Damien Elmes
a45f2ceedc add autosave; improve undo state handling 2011-04-28 09:28:01 +09:00
Damien Elmes
64b9ba3da8 make sure sort indicator is updated on field hide, lowercase marked 2011-04-28 09:28:01 +09:00
Damien Elmes
4ab7185cc3 swap the deck list button with a groups button 2011-04-28 09:28:01 +09:00
Damien Elmes
9d5936f2b2 double-clicking a group selects only that group 2011-04-28 09:28:01 +09:00
Damien Elmes
4dd1071b44 clicking on initial group defaults to changing it 2011-04-28 09:28:01 +09:00
Damien Elmes
6950b1e64d group->initial group 2011-04-28 09:28:00 +09:00
Damien Elmes
5a5259971a after an undo, disable if empty 2011-04-28 09:28:00 +09:00
Damien Elmes
1c7cf73c5d split q/a line format up so it can be easily modified in a plugin 2011-04-28 09:28:00 +09:00
Damien Elmes
c7fb1146da tweak tab order 2011-04-28 09:28:00 +09:00
Damien Elmes
0c38354dae when editing a fact, use a group button instead of an input box 2011-04-28 09:28:00 +09:00
Damien Elmes
e26a735a49 remember tags & group on a per-model basis 2011-04-28 09:28:00 +09:00
Damien Elmes
a13b539819 fix resetRequired state getting stuck 2011-04-28 09:28:00 +09:00
Damien Elmes
2dcb86e4ac fix audio replay 2011-04-28 09:28:00 +09:00
Damien Elmes
59d3807c1c reenable centerQA 2011-04-28 09:28:00 +09:00
Damien Elmes
7b9b78fe63 make sure card stats is hidden when moving from review 2011-04-28 09:28:00 +09:00
Damien Elmes
863356badb fix about 2011-04-28 09:28:00 +09:00
Damien Elmes
c7cfbd1d35 fix deck switching 2011-04-28 09:28:00 +09:00
Damien Elmes
722645d4b7 option to delete unselected cards when generating 2011-04-28 09:28:00 +09:00
Damien Elmes
d9299a6793 ctrl+click to append filter 2011-04-28 09:28:00 +09:00
Damien Elmes
dac9f0584b group improvements
- set groups now supports setting cards from fact
- editor doesn't set cards when fact group is changed
- card group and fact group can be displayed separately
- window title doesn't bother to calculate total card count
2011-04-28 09:27:59 +09:00
Damien Elmes
b5df36f458 basic change group code 2011-04-28 09:27:59 +09:00
Damien Elmes
84f618cc46 show all possible tags again 2011-04-28 09:27:59 +09:00
Damien Elmes
612fefc347 remember search history 2011-04-28 09:27:59 +09:00
Damien Elmes
dd0a6563e7 reset conf after edit current 2011-04-28 09:27:59 +09:00
Damien Elmes
27f08a463a add->use a cloze deletion model 2011-04-28 09:27:59 +09:00
Damien Elmes
e3cba2c76a give a hint about full search when there are no matches 2011-04-28 09:27:59 +09:00
Damien Elmes
4fa0a68dd3 add a browser options dialog so the user can toggle full search 2011-04-28 09:27:59 +09:00
Damien Elmes
2c0d6b7425 make select facts show all cards 2011-04-28 09:27:59 +09:00
Damien Elmes
d081a3f864 option to toggle cloze behaviour in clayout 2011-04-28 09:27:59 +09:00
Damien Elmes
c3b0d51f1c style clozes 2011-04-28 09:27:59 +09:00
Damien Elmes
0530db216c fix modelchooser 2011-04-28 09:27:59 +09:00
Damien Elmes
9bae1503bb allow individual fields to be marked sticky instead of adding a separate button 2011-04-28 09:27:59 +09:00
Damien Elmes
4a931f811f add the toolbar config back to the prefs, so osx users can toggle 2011-04-28 09:27:58 +09:00
Damien Elmes
6efd9b9cbb add some js hooks 2011-04-28 09:27:58 +09:00
Damien Elmes
177fa8b052 option to show duplicate 2011-04-28 09:27:58 +09:00
Damien Elmes
ab3a84b984 add a new 'add&keep' button to add cards 2011-04-28 09:27:58 +09:00
Damien Elmes
f1a88e4fdd add tooltips back, now in utils 2011-04-28 09:27:58 +09:00
Damien Elmes
44fd672ef8 reenable closeAllWindows() 2011-04-28 09:27:58 +09:00