Commit Graph

617 Commits

Author SHA1 Message Date
Spencer Sharp
84586cb352
Created getEaseFactors and setEaseFactors for Cards, along with documentation and tests for the functions (#181)
Co-authored-by: sherpa <spencersharp1999@gmail.com>
2020-06-10 16:21:58 -07:00
CRIMX
5438b19ba1
Remove localization for field names (#178)
Remove localization for field names as it creates agnostic output.
2020-06-02 20:27:33 -07:00
745fd34b83 Update README 2020-05-24 17:50:48 -07:00
bc46fcee67 Update documentation 2020-05-24 17:25:17 -07:00
fd4a32f49d Update documentation format 2020-05-24 17:23:37 -07:00
Ivan Volnov
aa38f68b5e
Fix for #174 (#175)
Co-authored-by: ivan-volnov <ivan-volnov@users.noreply.github.com>
2020-05-18 08:49:17 -07:00
Scott Noyes
80d830caed
Do not strip() during dupe check (#171) 2020-05-08 17:16:05 -07:00
Scott Noyes
2ca35712f3
collection stats - whole collection (#169)
* Add endpoint to retrieve collection stats report

* Create separate test for statistics

* Add test for collectionStats

* Fixed typo

* Change endpoint name to use a verb

* Change name to getCollectionStatsHTML

* Allow stats for whole collection

* Allow stats for whole collection
2020-05-07 18:49:48 -07:00
Scott Noyes
ad0e41d950
Remove Export from TOC (#168)
Fix #167
2020-05-04 13:20:56 -07:00
Scott Noyes
faba701251
Collection stats (#166)
* Add endpoint to retrieve collection stats report

* Create separate test for statistics

* Add test for collectionStats

* Fixed typo

* Change endpoint name to use a verb

* Change name to getCollectionStatsHTML
2020-05-03 12:06:43 -07:00
Alex Yatskov
457e76e720
Merge pull request #163 from snoyes/makeTagsOptional
Make tags optional when adding notes
2020-05-02 16:17:50 -07:00
Scott Noyes
0f9408730f Make tags optional when adding notes 2020-05-02 16:18:31 -05:00
47e54bce91 Update anchors 2020-05-01 21:28:14 -07:00
Alex Yatskov
a779fa673f
Merge pull request #159 from snoyes/getProfiles
Add getProfiles action
2020-05-01 12:44:25 -07:00
Alex Yatskov
8c248d93ba
Merge pull request #160 from snoyes/importPackage
Import package
2020-05-01 12:43:43 -07:00
Scott Noyes
204268b031 Add unit test for importPackage 2020-05-01 13:55:30 -05:00
Scott Noyes
6723332224 Add unit test for getProfiles and loadProfile 2020-05-01 13:38:23 -05:00
Scott Noyes
6b6b8b689b Update README for importPackage action 2020-05-01 11:21:55 -05:00
Scott Noyes
32bf6559ed Add importPackage action 2020-05-01 11:19:47 -05:00
Scott Noyes
fdae44f1d3 Add getProfiles action 2020-05-01 09:24:51 -05:00
e01544a538 Update find actions for 2.1.24; fixes #145 2020-04-30 16:20:55 -07:00
fb3513c721 Cleanup 2020-04-24 16:54:04 -07:00
Alex Yatskov
9be1ea30f5
Merge pull request #157 from toasted-nutbread/duplicate-scope
Add duplicateScope option for addNote
2020-04-23 20:02:30 -07:00
toasted-nutbread
bda22a20a3 Add duplicateScope option for addNote 2020-04-23 19:39:11 -04:00
0f8b402d73 Update move export to misc, fix return 2020-04-21 18:22:10 -07:00
Alex Yatskov
496db484c5
Merge pull request #155 from yakrider/patch-1
add api to get number of cards reviewed in the current day
2020-04-19 11:06:27 -07:00
yakrider
f280a2b8f9 add api to get number of cards reviewed in the current day
partly addresses issue raised in #117
2020-04-19 01:38:03 -04:00
Alex Yatskov
b02f9d6c47
Merge pull request #154 from yekingyan/opt-cors-all
Add support for use '*' to allow CORS for all domains
2020-04-12 09:15:29 -07:00
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