Commit Graph

639 Commits

Author SHA1 Message Date
yekingyan
e0e0e57321 Add support for use '*' to allow CORS for all domains 2020-04-12 15:52:52 +08:00
Alex Yatskov
0bba096775
Merge pull request #153 from c-okelly/patch-1
Use new hook for delete
2020-04-09 10:11:19 -07:00
Conor O'Kelly
22a58bb707
Use new hook for delete
In reference to issue #146 

Also added the `deleteMediaFile` when dealing with urls. 

The new functionality of `writeData` means that is there is a name conflict it will rename the file. This way the behavior of your api does not change.

Only potential issues I see with this is that the file is `trashed` but not deleted. So is only cleared up on the usual clear up.

Test locally using my own Anki install at `2.1.22` and POST man to create new media
2020-04-07 21:18:48 -07:00
Alex Yatskov
521398870c
Merge pull request #150 from corollari/master
Complete 975c069 fixes
2020-04-04 11:32:14 -07:00
Albert
da837b2d47 Complete 975c069 fixes 2020-04-05 01:28:37 +08:00
Markus Reil
9ba5c08c96
Support apkg export (#143)
Support apkg export
2020-03-16 22:29:49 -07:00
Alex Yatskov
955b749aac
Merge pull request #141 from mauamy/add-card-name-option-in-model-template
Add card name option in model template
2020-03-13 17:31:23 -07:00
Alex Yatskov
5ca78ea40d
Merge pull request #142 from mauamy/add-url-download-to-storeMediaFile
Add url download option to storeMediaFile
2020-03-13 17:30:33 -07:00
Yannick Mau
5911710163 Add url download option to storeMediaFile 2020-03-14 00:36:17 +01:00
Yannick Mau
3a1cbef4e5 Add name field to the documentation 2020-03-13 23:46:19 +01:00
Yannick Mau
9b1fb83740 Add card name option to model template 2020-03-13 23:40:27 +01:00
dc8494f0fe Fix audio 2020-03-05 19:45:13 -08:00
c64e78addf cleanup 2020-03-05 19:33:27 -08:00
975c0699b7 Fixes for old version of Anki, cleanup script 2020-03-05 19:29:49 -08:00
Alex Yatskov
385ff2a43e
Merge pull request #136 from mauamy/add-multiple-cors-orgins-support
Add support for multiple cors origins
2020-03-01 16:53:30 -08:00
Alex Yatskov
7b6e80cd34
Merge pull request #138 from andreaskienle/multiple-audio-files
Accept multiple audio files in note creation and update
2020-03-01 16:52:24 -08:00
Yannick Mau
002b7cbf97 Deprecate field 'webCorsOrigin' but keep temporary support for it. 2020-02-28 01:17:53 +01:00
Andreas Kienle
d40a905f20 changes from review
single quotes
updated readme
2020-02-25 11:22:34 +01:00
Alex Yatskov
671444e1da
Merge pull request #134 from qwhex/fix_getQA
Replace Card._getQA() with the new answer() and question()
2020-02-23 11:28:19 -08:00
Alex Yatskov
96bb9e17c9
Merge pull request #137 from hgiesel/furtherdev
Make guiAddCards have a return value
2020-02-23 11:22:36 -08:00
Andreas Kienle
eafd3c94dd Accept multiple audio files in note creation and update 2020-02-23 11:59:19 +01:00
Henrik Giesel
ed06e5c276 Add documentation for return value of guiAddCards 2020-02-18 15:09:44 +01:00
Henrik Giesel
1824cd8c1c Fix return value of guiAddCards
* For the case where the current AddCards dialogue has to be closed first
2020-02-18 14:45:47 +01:00
Yannick Mau
413b27a21e Add support for multiple cors origins 2020-02-17 17:44:58 +01:00
Henrik Giesel
db602ebe9a Add return values 2020-02-17 13:57:16 +01:00
Mice Pápai
59c84b91db replace Card._getQA() with the new .answer() and .question() 2020-02-16 20:19:48 +01:00
Mice Pápai
cd980ff5e0 fix shebang (universal), add link_mac.sh 2020-02-16 20:19:10 +01:00
Alex Yatskov
08109dafbd
Merge pull request #133 from toasted-nutbread/fix-note-duplicate-check
Ignore duplicates which are not in the target deck
2020-02-04 10:02:48 -08:00
toasted-nutbread
7ccfa7938e Ignore duplicates which are not in the target deck 2020-02-02 16:45:05 -05:00
0b66f6a4b5 update readme 2020-01-05 19:01:11 -08:00
7603f2b251 Fix error viewing AnkiConnect page 2020-01-05 17:49:41 -08:00
2767d2928e Add link script, fix plugin 2020-01-05 17:41:34 -08:00
badcbae50d Update deployment script 2020-01-05 17:30:53 -08:00
4ec3a1ff61 Remove uncommon settings 2020-01-05 16:46:36 -08:00
98566ca8ba Cleanup 2020-01-05 16:24:20 -08:00
173e43700b Cleanup 2020-01-05 15:42:08 -08:00
6118d01de1 Remove support for Anki 2.0 and Python 2 2020-01-05 11:42:59 -08:00
bb62a1e93f Move plugin to its own directory 2020-01-05 11:35:02 -08:00
24dd22145e Fix tests for Python3 2020-01-05 11:24:13 -08:00
Alex Yatskov
06c40ed85d
Merge pull request #131 from andersonDadario/bugfix/Issue-130-Restrict-CORS-to-localhost
fix #130 - restrict cors to localhost
2019-12-25 19:00:57 -08:00
Anderson Dadario
4059a452a7 fix #130 - restrict cors to localhost 2019-12-20 13:56:39 +01:00
Alex Yatskov
9916eaa80f
Merge pull request #128 from zmughal/readme-spell-fix
Fix a couple issues with spelling/capitalization
2019-11-27 08:04:38 -08:00
Zakariyya Mughal
25b800747b Fix a couple issues with spelling/capitalization 2019-11-26 16:15:02 -06:00
Alex Yatskov
2294906af4
Merge pull request #125 from benkogan/master
Add get and update endpoints for model templates and styling
2019-11-02 18:44:03 -07:00
Ben Kogan
be0247ae2f Add get and update endpoints for model templates and styling 2019-10-27 16:55:26 -04:00
Alex Yatskov
f2e0ac93b5
Merge pull request #124 from leezu/patch-1
Update Python example for Python 3
2019-09-22 10:05:06 -07:00
Leonard Lausen
34049299e6
Update Python example for Python 3 2019-09-22 10:28:25 +00:00
64319e1246 Catch invalid versions being passed in, fixes #118 2019-06-01 11:06:08 -07:00
Alex Yatskov
88f49a376a
Merge pull request #119 from corollari/master
Add next review times when returning data in guiCurrentCard
2019-05-26 10:22:53 -07:00
Albert
410cd83b57 Add documentation on new data 2019-05-25 21:16:32 +02:00