Commit Graph

67 Commits

Author SHA1 Message Date
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