Commit Graph

130 Commits

Author SHA1 Message Date
Henrik Giesel
8e6f688e23 Add support for Anki 2.0 2019-01-24 08:36:11 +01:00
Henrik Giesel
daecf30408 Fix bugs when opening multiple windows 2019-01-24 07:07:53 +01:00
Henrik Giesel
d08d2510e7 Rename addAndClose to closeAfterAdding 2019-01-18 03:56:02 +01:00
Henrik Giesel
b7258de5b7 Define Ctrl+Return in AddCardsAndClose 2019-01-18 03:39:15 +01:00
Henrik Giesel
49d6862538 Switch to using aqt.dialogs for AddCardsAndClose 2019-01-18 00:40:16 +01:00
Henrik Giesel
4987ea34d5 Extend guiAddCards to enable presetting cards
- Made changes to `guiAddCards` to enable presetting the model, deck,
  etc., very much in the same way that `addNote` does
- Changed the README to represent the new changes
2019-01-17 23:08:52 +01:00
Robert Sanek
0fe61050c9
Update AnkiConnect.py 2018-12-01 19:42:56 -08:00
Robert Sanek
8c3390106a
Add API endpoint to load a profile
If this needs tests please let me know
2018-12-01 08:13:38 -08:00
Anže Bertoncelj
36a55adf0a Add option to allow adding duplicate notes 2018-11-07 21:05:02 +01:00
Helen Foster
136a6ec2f6 Use AnkiRequestsClient for downloads in Anki 2.1
Fixes #96
2018-10-19 13:20:42 +01:00
louie
6a1a90e753 Convert iterator to list to make it JSON serializable. 2018-07-29 16:11:50 +08:00
e4a9286989 adding logging 2018-06-30 11:23:13 -07:00
f109f89d2f fixing more issues with audio 2018-06-23 09:53:28 -07:00
7d39517280 fix audio download 2018-06-22 18:51:22 -07:00
Ranjit Singh
2808fac33f fixed grammar mistake in duplicate 2018-06-20 13:48:45 -04:00
795709b9ac fix failing to create notes when audio could not be downloaded 2018-06-03 15:09:13 -07:00
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