Commit Graph

101 Commits

Author SHA1 Message Date
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
Alex Yatskov
c4e11cfda1 Merge pull request #34 from techdavid/config-group-actions
Add config group actions
2017-08-18 13:17:39 -07:00
David Bailey
b6ab724dd7 conf => config in saveDeckConfig 2017-08-18 21:16:50 +01:00
David Bailey
933c7de6b9 confId => configId 2017-08-18 21:09:28 +01:00
David Bailey
e2c9eaaa3b Rename actions 2017-08-18 20:54:32 +01:00
David Bailey
ca6d513470 Change id variables to did / configId 2017-08-18 20:50:10 +01:00
David Bailey
81d49c3cd8 Fix broken guiCurrentCard
A map can't be converted to JSON
2017-08-18 16:15:08 +01:00
David Bailey
5ec2d7e33e Add config group actions
+ Move the multi action to a more sensible position
2017-08-17 13:25:06 +01:00
David Bailey
b8c5b7c980 Add deckNamesAndIds action 2017-08-16 22:26:53 +01:00
Charles Henry
c6cad9420c guiStartCardTimer - ensure consistent output in case of failure 2017-08-16 13:09:48 +01:00
Charles Henry
82636b024a Add guiStartCardTimer function 2017-08-16 13:04:05 +01:00
Charles Henry
7a7460785f Fix issue with AnkiConnect self update 2017-08-14 19:30:08 +01:00
David Bailey
99d70cc2a4 Add deleteDecks function 2017-08-13 10:05:56 +01:00
David Bailey
6da8481b07 Add getDecks function 2017-08-13 09:02:59 +01:00