Commit Graph

114 Commits

Author SHA1 Message Date
0ca55353fa fix typo 2018-06-03 08:26:33 -07:00
Charles Henry
c32cf1eb7a Add template to getCurrentCard output + increment API_VERSION 2018-05-18 13:46:33 +01:00
95ab8164cd updating note and deck tests 2018-05-08 18:47:45 -07:00
ba42cedf1a unit tests for notes 2018-05-08 15:13:49 -07:00
409245c41b wip 2018-05-07 14:18:20 -07:00
7a0b4e656d cleanup 2018-05-07 11:02:51 -07:00
1e32f05bd5 typo 2018-05-06 22:14:18 -07:00
9e24d82a39 working on deck tests 2018-05-06 22:13:21 -07:00
8b78a4d2f7 wip 2018-05-06 19:11:54 -07:00
570350b038 fix upgrade code 2018-05-06 19:04:53 -07:00
fb37ac9f8a wip 2018-05-06 18:45:56 -07:00
e80bf2e8aa work in progress on cleaning up api 2018-05-06 17:52:24 -07:00
4173f4e5fe fix incorrect variable usage 2018-05-06 13:24:40 -07:00
6d61af3386 merge AnkiConnect and AnkiBridge classes 2018-05-06 12:59:31 -07:00
0efa203095 cleanup 2018-03-31 14:40:01 -07:00
Alvaro Calace
13abf38ffb Catch exception when checking if a note can be created 2018-03-16 09:51:48 -03:00
Alex Yatskov
1dc9b90796
Merge pull request #75 from c-okelly/master
Extend error reporting when creating note.
2018-03-12 17:04:36 -07:00
c-okelly
f68b8e06ef Pull requests corrections. 2018-03-11 22:10:07 +00:00
c-okelly
30b70dca68 Add back isSuspended method 2018-03-11 12:27:19 +00:00
c-okelly
d79dd1408b Adding string method for AnkiNoteParams class. Expanded error catching for addNote.
addNotes can now handle when one card of an array throws and error and continue adding cards.
2018-03-11 12:04:16 +00:00
c-okelly
5d23ef1385 Raise exception with relevant error messages when an error occurred during action. 2018-03-11 12:04:04 +00:00
c-okelly
64a0a9d6a6 Add createDeck action 2018-02-22 18:36:21 +00:00
Sudarshan Gaikaiwari
834b5ace7b Calls onSync to prevent the corruption of collection message 2018-02-21 07:28:28 -06:00
Sudarshan Gaikaiwari
a16bd94341 Expose Anki sync via AnkiConnect 2018-02-21 07:16:52 -06:00
Alex Yatskov
683ba117c6
Merge pull request #66 from louietan/master
Add getTags action
2018-01-14 08:41:07 -08:00
louie
88b375d4a8 Add getTags action 2018-01-14 19:34:22 +08:00
louietan
4c96cc4937
Fix issue #64 2018-01-14 17:59:17 +08:00
d613e184e6 Merge branch 'dev' 2018-01-09 10:05:30 -08:00
ReneBrals
2d051c67c1 Fixed notesInfo fetching card IDs belonging to note 2018-01-09 14:24:56 +01:00
ReneBrals
cd6dd8479c Make note/card endpoints more like existing endpoints, removing some Anki-internal fields from it
card.type, card.queue and card.due seem difficult to use to me, maybe
card due date should be introduced when it's represented in a more
meaningful way (like an actual date instead of an integer day).
2018-01-09 14:09:38 +01:00
ReneBrals
63c2eb4887 Added API endpoint to retrieve card/note information. 2018-01-06 20:48:25 +01:00
Jingtao Xu
7de12f7d4b add support to modify fields of exist note. 2018-01-01 10:34:38 +08:00
Anže Bertoncelj
20f1920e06 Add a header for CORS support 2017-12-22 23:53:41 +01:00
tomasgodoi
01676f7b2c Including the css field on the guiCurrentCard endpoint. 2017-10-01 12:22:04 -03:00
065c199105 fix broken error handling for invalid json 2017-09-15 22:17:52 -07:00
337261245b bump version, improvements to api 2017-08-30 20:47:08 -07:00
350b12d580 add decorator for versioning 2017-08-29 08:42:14 -07:00
tomasgodoi
a35313922d Creating the guiExitAnki endpoint to allow closing Anki programmatically. 2017-08-28 23:24:08 -03:00
Alex Yatskov
daf5c96c0a Merge pull request #41 from txgio/bind-address
Allowing to bind on other IP Addresses through an environment variable
2017-08-28 14:08:40 -07:00
tomasgodoi
4787641c7b Making the incoming headers case insensitive. Any reference to incoming headers should now be made with lowercase. 2017-08-28 17:49:58 -03:00
tomasgodoi
b2f4d54ac2 Allowing to bind on other IP Addresses through an environment variable. Writing the corresponding documentation. 2017-08-28 17:15:42 -03:00
David Bailey
04cf33a1d0 Update with requested changes 2017-08-22 20:05:12 +01:00
David Bailey
f12af86757 Merge branch 'master' into storage-api 2017-08-22 10:00:42 +01:00
David Bailey
d64643baa6 Add media file actions 2017-08-22 08:53:35 +01:00
David Bailey
2e09db9dab Add modelNamesAndIds action 2017-08-21 17:15:11 +01:00
David Bailey
75a3a25e91 Add modelFieldsOnTemplates action 2017-08-21 16:44:20 +01:00
David Bailey
0cc83ab161 Bugfix 2017-08-20 22:39:50 +01:00
David Bailey
d86722c3cb Separate standard headers from extra headers 2017-08-20 22:33:45 +01:00
David Bailey
8179643067 Improve handling of HTTP headers 2017-08-20 20:32:16 +01:00
David Bailey
658763dd5b Allow other add-ons to add headers 2017-08-19 23:24:53 +01:00