Commit Graph

145 Commits

Author SHA1 Message Date
Anderson Dadario
4059a452a7 fix #130 - restrict cors to localhost 2019-12-20 13:56:39 +01:00
Ben Kogan
be0247ae2f Add get and update endpoints for model templates and styling 2019-10-27 16:55:26 -04:00
64319e1246 Catch invalid versions being passed in, fixes #118 2019-06-01 11:06:08 -07:00
Albert
d4759223f8 Add review times to response 2019-05-25 21:14:09 +02:00
Alex Yatskov
5d90bbf1e0
Merge pull request #103 from hgiesel/master
Extend guiAddCards so that it's possible to preset notes
2019-05-03 20:30:27 -07:00
Henrik Giesel
e326fd6dca Fix model bug 2019-05-02 18:33:24 +02:00
ee7b158cc9 minor cleanup 2019-03-07 10:19:35 -08:00
derxe
600979e745
Fix bug where API returns noteid even when no note is added 2019-03-05 03:53:57 +01:00
Alex Yatskov
0db93be681
Merge pull request #108 from c-okelly/master
Add new createModel Api end point without documentation
2019-03-01 15:12:55 -08:00
c-okelly
bbcb29ea43 Update changes from PR and add documentation 2019-03-01 17:44:33 +00:00
Mikhail Pontus
47f9db35bd Introduce note deletion functionality 2019-02-26 20:28:36 +03:00
c-okelly
31aad05668 Add new createModel Api end point without documentation 2019-02-22 18:51:01 +00:00
derxe
9330e23d8a
Bug fix, duplicate audio filenames
Fix the bug where old file name was referenced in the audio field. 

The problem was, if the audio file we were trying to save already existed it got automatically saved with a different name (the number was appended to the end), but inside the card the incorrect old filename was referenced.
2019-02-18 16:42:29 +01:00
Henrik Giesel
8328a0289d Add fix when decks have mids 2019-02-01 00:18:41 +01:00
Henrik Giesel
fa98e0c324 Add history-check hack 2019-01-24 09:08:35 +01:00
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