Commit Graph

960 Commits

Author SHA1 Message Date
Damien Elmes
1dce3eaaff drop anki1 upgrade code 2016-05-12 14:20:59 +10:00
Damien Elmes
cef444b73e drop thirdparty/ 2016-05-12 14:20:58 +10:00
Damien Elmes
89a5777585 store profiles as blobs
the cPickle data may not be valid utf8, and even with
text_factory=str this seems to cause problems sometimes
2016-05-12 14:19:16 +10:00
Damien Elmes
47521cff9a Merge pull request #129 from ankitest/patch-3
2 tooltips in Preview window and support Enter
2016-05-07 12:03:34 +10:00
Damien Elmes
fa040b0415 elaborate on bsd license 2016-05-06 09:51:30 +10:00
Dmitry Mikheev
74e28058f7 sorry, a typo crept in 2016-05-05 03:26:13 +05:00
Dmitry Mikheev
692dcfd4e7 2 tooltips in Preview window and support Enter
Let's give the users tips over the arrow buttons
and provide passing Back Side / Next Card 
by pressing Enter key.
2016-05-05 03:21:04 +05:00
Damien Elmes
640d906230 fix bug in contributed patch 2016-05-01 13:32:17 +10:00
Damien Elmes
f25a60afff Merge pull request #126 from ankitest/patch-1
parameters to specify a desired title and size
2016-05-01 13:17:47 +10:00
Dmitry Mikheev
75e574cb9f parameters to specify a desired title and size
Let's give authors of add-ons the ability to specify a desired title and minimum width and height of the message window.
2016-04-30 10:44:41 +05:00
Damien Elmes
d849200bf3 Merge branch 'master' of github.com:dae/anki 2016-04-27 20:43:43 +10:00
Damien Elmes
80e45fee85 Revert "Deal with Internationalized Domain Name in URI"
This reverts commit a68af5f199.

Patch does not fix the issue on my machine, so reverting for now.
2016-04-27 20:43:11 +10:00
Damien Elmes
51e9199044 Merge pull request #125 from baerrach/mac-build
Add Mac OSX instructions for development.
2016-04-23 22:44:12 +10:00
Barrie Treloar
2d770907be Add Mac OSX instructions for development.
As per
https://anki.tenderapp.com/discussions/ankidesktop/5057-how-to-build-anki-from-source-on-mac-osx
found the time to work out how to get things building on Mac OSX.
2016-04-23 08:21:43 +09:30
Damien Elmes
6e4a546f7b Merge branch 'master' of github.com:dae/anki 2016-04-20 22:46:08 +10:00
Damien Elmes
9eed2bf2fa Merge pull request #124 from frp/master
Deal with Internationalized Domain Name in URI
2016-04-20 22:44:43 +10:00
Roman Franchuk
a68af5f199 Deal with Internationalized Domain Name in URI
This fixes https://anki.tenderapp.com/discussions/ankidesktop/17132-anki-reports-an-error-when-pasting-an-image-from-non-ascii-url

The problem is that urllib2 can't work with IDN. However, it's perfectly valid
to have such URIs in HTML, and Firefox, when copying image, generates exactly
this kind of HTML.
2016-04-17 15:49:28 +03:00
Damien Elmes
9b2a19ee85 when schema differs, make sure we don't import cards
_ignoredGuids should have been added to but wasn't
2016-04-17 20:38:39 +10:00
Damien Elmes
9f4fd8a9b6 Merge pull request #122 from Glutanimate/preserve-fields-on-note-type-change
Preserve identical fields when switching note types
2016-04-12 10:30:04 +10:00
Glutanimate
df4b74f7bb Preserve identical fields when switching note types 2016-04-10 13:11:25 +02:00
Damien Elmes
269ea80a1f Merge branch 'master' of github.com:dae/anki 2016-04-10 14:20:46 +10:00
Damien Elmes
1b0750ba9b Merge pull request #121 from rizzomichaelg/patch-1
Adding new cloze while in filtered deck
2016-04-10 14:20:03 +10:00
Damien Elmes
499b02281b bump version 2016-04-10 13:36:36 +10:00
rizzomichaelg
610ca050eb Adding new cloze while in filtered deck
When adding a new cloze tag while a card is in a filtered deck, anki currently adds the new card to the Default deck.  

My proposed fix checks if the card has the odid field set and then sets the did to use when generating the new cards as the odid.
2016-04-09 08:46:54 -05:00
Damien Elmes
d71ca63b4c remove stray text 2016-04-05 11:04:40 +10:00
Damien Elmes
04ada5015f bump version 2016-04-05 11:02:35 +10:00
Damien Elmes
864a9135dc allow language changing in prefs
avoided adding this in the past as on a multi user system it allows
one profile user to annoys others by changing the interface language,
but it comes at the expense of easily changing the language for users
who choose the wrong one on first startup
2016-04-05 11:02:01 +10:00
Damien Elmes
e645ce5b65 Merge pull request #113 from socialpercon/master
PYTHONPATH added when tests script run
2016-03-29 10:12:41 +10:00
Damien Elmes
71778fb2b2 bump version 2016-03-27 21:14:30 +10:00
Damien Elmes
3cceba085d change repos shortcut to ctrl+shift+s to avoid conflict 2016-03-27 20:50:59 +10:00
Damien Elmes
9baccec002 update credits 2016-03-23 09:07:33 +10:00
Damien Elmes
781e592339 don't set current dir in file selector if it doesn't exist
some users were reporting hangs
2016-03-21 09:57:45 +10:00
Damien Elmes
08829da011 Merge pull request #119 from Glutanimate/master
Add keyboard shortcut for 'Add Note' action in Browser
2016-03-07 12:05:42 +10:00
Glutanimate
ec401a6c23 Add keyboard shortcut for 'Add Note' action in Browser (Ctrl+E) 2016-03-04 20:21:58 +01:00
Damien Elmes
16d74902e1 Merge pull request #120 from corpulentcoffee/deck-override-fix
The new `template['did'] in self.decks.decks` check is always `False` against my installation/collection
2016-03-04 21:58:23 +10:00
Dave Shifflett
2e38174921 Cast template deck ID before checking the decks
The keys of `self.decks.decks` are unicode keys whereas `template['did']`
is an integer, so `template['did'] in self.decks.decks` always fails.
2016-02-29 21:03:48 -06:00
Damien Elmes
3bbd0bca7e zip64 support, and import/export improvements
- we now allow exports over 2gb/64k files - AnkiMobile and AnkiDroid
will need to be updated to support this
- avoid compressing media files in export, as in the common case of
jpg/mp3 it's much faster with no increase in size
- exports and imports now show # of files processed
- mw.progress.update() now limits # of updates per sec
2016-02-26 10:01:46 +10:00
Damien Elmes
818c4534e9 ctrl+shift+p for reposition 2016-02-23 14:50:01 +10:00
Damien Elmes
216a68f656 add missing comma in received patch 2016-02-22 10:42:27 +10:00
Damien Elmes
97311e33d9 suspend note -> suspend card 2016-02-22 09:31:00 +10:00
Damien Elmes
d15aafa940 Merge pull request #118 from Glutanimate/master
Add keyboard shortcut for 'Suspend Note' in Browser
2016-02-22 09:30:20 +10:00
Damien Elmes
5dca0cdf77 Merge pull request #117 from timrae/override
Don't use default deck when deck override set to invalid deck
2016-02-22 09:25:48 +10:00
Damien Elmes
68d5135009 Merge branch 'master' of github.com:dae/anki 2016-02-22 09:23:09 +10:00
Glutanimate
4c9d176272 Add keyboard shortcut for 'Suspend Note' in Browser 2016-02-21 12:10:02 +01:00
Damien Elmes
ed04b4ce3d BadZipFile -> BadZipfile 2016-02-18 18:49:44 +10:00
Timothy Rae
38b36323da Don't use default deck when deck override set to invalid deck
When the override deck is not valid, the more intuitive behavior for users is to not override. Advanced users that really want to use this feature will immediately open the deck override settings and see that it's referencing an invalid deck. Advanced users and developers have all been stumped by the old behavior, it's simply not intuitive.
2016-02-16 12:26:52 +09:00
Damien Elmes
ee58e651ef work around huge perDay values set by other clients
sqlite was choking on the long values
2016-01-20 20:59:56 +10:00
Damien Elmes
965b3055a9 Merge pull request #114 from timrae/export-deck-media
Don't include media files with _ unless they are referenced in model
2015-12-08 18:40:35 +10:00
Timothy Rae
6d850c95ce Don't include media files with _ unless they are referenced in model 2015-12-07 16:37:27 +09:00
WOO-CHEOL CHOI
67f935bf1f PYTHONPATH added when tests script run 2015-12-02 16:02:42 +09:00