Commit Graph

132 Commits

Author SHA1 Message Date
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
David Bailey
64c61a32fa Fix IndexError for new cards with areDue / getIntervals 2017-08-12 16:21:04 +01:00
David Bailey
a6c15d7bb2 Change isSuspended to areSuspended; add areDue function; code style fixes 2017-08-12 16:17:53 +01:00
David Bailey
aea292f092 Add changeDeck function 2017-08-10 18:34:43 +01:00
David Bailey
e02f8b2d65 Add cardsToNotes function 2017-08-09 23:55:13 +01:00
David Bailey
1a2c559ca2 Add getIntervals function 2017-08-09 23:55:03 +01:00
David Bailey
dc01014daf Fix issue #20; add isSuspended function; update code style 2017-08-06 02:29:59 +01:00
David Bailey
3f755cbd08 Call startEditing before / stopEditing after tagging 2017-08-05 10:08:56 +01:00
David Bailey
30f3d5618a Rename browse to findCards and add new findNotes function 2017-08-03 22:31:47 +01:00
David Bailey
a78d40457c Change behaviour of tag/suspend functions 2017-08-03 22:21:59 +01:00
David Bailey
e8088146f3 Add tagging and suspend functions 2017-08-03 21:07:22 +01:00
David Bailey
50300b55b5 Fix bug where guiDeckReview always returns null 2017-07-30 11:48:57 +01:00
David Bailey
b8e63c383d Add multi function 2017-07-27 18:32:34 +01:00
David Bailey
d9f94652b2 Add fast non-GUI browse function 2017-07-21 01:50:12 +01:00
5517473072 more reliable testing for anki alpha 2017-07-05 21:29:46 -07:00
da7c1c8a45 exposing more information about note fields (#11) 2017-07-05 13:01:13 -07:00
c0d8d7f029 fix guiBrowse to work on anki alpha, add gitignore 2017-07-04 12:35:04 -07:00
fdeef8099a cleanup 2017-07-04 11:42:47 -07:00
f57b767fba use decorators instead of api_ prefix 2017-07-04 11:42:08 -07:00
cdba2c47ee improvements to python interop 2017-07-04 11:29:09 -07:00
0507add4c6 add fields to guiCurrentCard (#11) 2017-07-02 17:52:57 -07:00
7e3e6fd5fc add guiDeckReview request (#11) 2017-07-02 17:27:31 -07:00
tomasgodoi
013050cb9a Fixing some issues. Changing the guiDeckBrowser return to nothing. 2017-07-02 17:38:08 -03:00
tomasgodoi
17c928627c Including actions to go to a deck overview by name and to got to the deck browser screen. 2017-07-02 14:35:14 -03:00
d38fea7498 more cleanup 2017-07-01 17:12:11 -07:00
28ac1bc7c5 api improvements 2017-07-01 13:16:51 -07:00
3f453887df remove debug code 2017-07-01 12:52:15 -07:00
e5ff8eea78 cleanup 2017-07-01 12:49:44 -07:00
d529cc12f4 cleanup 2017-07-01 12:41:27 -07:00
7c410ee64a cleanup 2017-06-28 21:17:11 -07:00
Charles Henry
54ab68feb4 Return error message in failure scenarios, rename checkState to guiCheckState, remove success+message response format in favour of True/False + rename ord field to fieldOrder (see readme) + updated readme. 2017-06-26 23:57:41 +01:00
Charles Henry
842dae9830 Prefix gui to GUI related functions and update readme 2017-06-16 17:17:53 +01:00
Charles Henry
5ec3df733e Use single quotes throughout the code, remove braces around conditions and remove json.dumps where not needed 2017-06-16 14:34:12 +01:00
Charles Henry
3f5dbe904b Use proper boolean values instead of strings 2017-06-15 13:21:13 +01:00
Charles Henry
a28d7043eb Cleanup 2017-06-08 15:09:00 +01:00
Charles Henry
48e6daec79 Update readme and automatically move to review state if showAnswer is called 2017-06-08 15:03:02 +01:00
Charles Henry
c0fe214877 Add API for retrieving and answering cards 2017-06-02 13:19:33 +01:00
5d482ff4ce minor fixups 2017-05-28 15:54:28 -07:00
Glutanimate
94cad0c322 Fix parens typo and JSON response 2017-05-28 22:55:24 +02:00
Glutanimate
36c9528153 Fix issues pointed out in the PR. More consistent API function names. 2017-05-28 22:21:20 +02:00
Glutanimate
9e6d963b1a Add API for controlling Anki's GUI 2017-05-28 07:45:31 +02:00
d78b8e93d4 fix typo error, fixes #5 2017-03-12 09:43:47 -07:00
4dac6596cc minor fixes 2017-02-19 15:02:09 -08:00
fb17be7ab8 . 2017-02-19 13:34:12 -08:00
08e8338448 rename extension 2017-02-19 12:47:38 -08:00
e69484b996 show error box when can't bind socket 2017-02-19 12:46:40 -08:00
f1848dfbbb add handlers for accessing anki-connect directly from browser 2017-02-19 12:22:44 -08:00
7bf761a1c0 wip 2017-02-19 12:07:10 -08:00
0ec041f9fc add api_addNotes api 2017-02-05 12:09:12 -08:00
c2871119a4 delete unused apis 2017-02-01 09:21:00 -08:00
a313843b8e WIP 2017-01-29 17:34:18 -08:00
215ecf8da0 legacy filename 2017-01-28 17:31:59 -08:00