Commit Graph

625 Commits

Author SHA1 Message Date
Tategoto Azarasi
b77327fb00 add updateNoteModel
Signed-off-by: Tategoto Azarasi <2724167997@qq.com>
2024-05-09 21:43:12 -07:00
4837823bce Remove GitHub specific workflow 2024-04-01 21:59:57 -07:00
24cdeeb612 README fixes 2024-03-27 21:52:15 -07:00
00dffe579d Readme updates 2024-03-26 18:26:20 -07:00
Eloy Robillard
bbf271c5ac Return reason note cannot be added in new api endpoint 2024-02-26 20:34:24 -08:00
DegrangeM
2f7bc2e78e Fix requestPermission popup 2024-02-24 12:08:21 -08:00
aldoWan
d27f54a4fe Ensured forgotten cards are correctly synchronized with ankiweb by using ScheduleCardsAsNew
Resetting the database seemed not enough anymore, it's better to call the same function as ankiDroid is using: ScheduleCardsAsNew
2024-02-20 19:42:21 -08:00
Philipp Matthias Schäfer
2996476e03 Remove call to syncDelete
The method does no longer exist as of version 2.1.45, which is the minimum
supported version as of creation of this commit.
2024-01-21 13:52:23 -08:00
Philipp Matthias Schäfer
510f47fd08 Replace method calls of methods marked deprecated
There are more methods that have replacements according to the common pattern of
going from camelCase to snake_case, but that are not explicitly marked
deprecated.

Reference was tag 2.1.45 of Anki, as that is the minimally supported version of
anki-connect as of creating this commit.
2024-01-21 13:52:17 -08:00
Philipp Matthias Schäfer
977871257a Remove internal method stopEditing
The only method it calls, maybeReset, contains only a pass statement and has
thus never any effect.
2024-01-21 13:52:06 -08:00
AuroraWright
29260d6a00 Add reorderCards property to guiBrowse, add guiSelectNote 2024-01-18 19:59:38 -08:00
Kardia
a17c4e42da add readme entry for new findModels* apis 2024-01-04 12:33:02 -08:00
Kardia
50d062e6ca add apis to retrieve full model data by name and id 2024-01-04 12:33:02 -08:00
2de0798fc1 Fix guiEditNote returns error
Committing on behalf of Oleg Mitrofanov
2024-01-01 18:09:03 -08:00
2019ba75ed Rename CONTRIBUTING to MD 2023-12-31 11:01:59 -08:00
ab6349ec65 Add CONTRIBUTING file 2023-12-31 11:01:11 -08:00
Alexei Yatskov
1f7fc80b7e
Merge pull request #407 from PSeitz/patch-1
Update README.md
2023-10-09 19:16:44 -07:00
PSeitz
820300cc5c
Update README.md
add link to Anki docs in overview
2023-10-08 15:57:08 +02:00
Alexei Yatskov
4847fff790
Merge pull request #403 from Julian/auth
Make it slightly clearer how to enable authentication.
2023-09-28 20:48:43 -07:00
Julian Berman
82210ddf87 Make it slightly clearer how to enable authentication.
The README previously sort of covered this, but in particular it was not
obvious to me that the request parameter that corresponded to enabling
`apiKey` is called `key`, and not `apiKey`, which ultimately made me
have to look at the source code to figure this out (even though the word
`key` is mentioned elsewhere on the page, it still wasn't very easy to
make the connection).

This section puts all the required information in one spot.
2023-09-24 12:40:41 -04:00
Alexei Yatskov
b896b66736
Merge pull request #396 from mikkkee/master 2023-07-08 08:02:14 -07:00
mikkkee
5a153691fd Fix test timeout error 2023-07-07 20:08:33 +08:00
mikkkee
14a8a84150 Fix previous commit with version check for Anki and Qt 2023-07-07 01:03:46 +08:00
Alexei Yatskov
9f7dccaca0
Merge pull request #392 from mikkkee/master
Add a method to bring up Import File dialog
2023-07-05 20:06:08 -07:00
mikkkee
9e214e90e5 Add a test for guiImportFile 2023-07-05 22:17:30 +08:00
Alexei Yatskov
6693ab6b97
Merge pull request #394 from nihil-admirari/master
Correct JSON MIME type (Fixes #393)
2023-06-26 18:11:19 -07:00
nihil-admirari
423d3e2aa2
Correct JSON MIME type (Fixes #393) 2023-06-23 09:12:28 +03:00
mikkkee
cd66410ff3 Update documentation for new method guiImportFile 2023-06-17 17:52:14 +08:00
mikkkee
e999a44a47 Add a GUI action to bring up import file dialog with provided file path 2023-06-17 17:45:39 +08:00
Alexei Yatskov
eef3be8599
Merge pull request #391 from Aquafina-water-bottle/readme_localhost
Updated Python example code to use 127.0.0.1 instead of localhost
2023-06-15 20:13:30 -07:00
Alexei Yatskov
f27e7b4331
Merge pull request #390 from antistic/feat-answer-card
add new action: answerCards
2023-06-15 20:12:37 -07:00
ant
3892481cea change param format for answerCards 2023-06-15 12:49:02 +01:00
Austin Siew
f10abcc331 docs: updated Python README to use 127.0.0.1 instead of localhost 2023-06-14 19:26:00 -06:00
Antistic
0012245c57 add new action: answerCards 2023-06-14 19:38:50 +01:00
Alexei Yatskov
41ce156114
Merge pull request #384 from feilongfl/dev-undo
add `guiUndo` action for undo review
2023-05-23 19:18:15 -07:00
YuLong Yao
5516e4826c
test: add guiUndo action 2023-05-18 19:56:48 +08:00
YuLong Yao
53dba8003b
api: add guiUndo action 2023-05-18 19:56:48 +08:00
YuLong Yao
92eeb8d749
Readme: add guiUndo action 2023-05-18 19:56:48 +08:00
Alexei Yatskov
08e5a34d6c
Merge pull request #382 from Aquafina-water-bottle/modelTemplates
Added various actions relating to model templates
2023-04-14 17:21:32 -07:00
Austin Siew
fc63bdaa17 removed unnecessary comments in test_models.py 2023-04-13 20:36:07 -06:00
Austin Siew
918d4de72a fixed accidental change in README 2023-04-13 20:33:18 -06:00
Austin Siew
accbc53e5d added modelTemplateRename, modelTemplateReposition, modelTemplateAdd, modelTemplateRemove 2023-04-13 19:30:49 -06:00
Alexei Yatskov
3c98885ae9
Merge pull request #380 from Aquafina-water-bottle/updateNote
Update note
2023-03-31 19:51:58 -07:00
Austin Siew
ed508babbf merged with master 2023-03-31 00:54:32 -06:00
Alexei Yatskov
bf5c73b9cd
Merge pull request #379 from Ajatt-Tools/master 2023-03-22 23:20:42 -07:00
Ren Tatsumoto
8d16822cb5 add a test for getMediaDirPath() 2023-03-23 06:06:44 +03:00
Ren Tatsumoto
58283bdeb5 add a new action: getMediaDirPath 2023-03-21 19:47:31 +03:00
Alexei Yatskov
5b6fe5766c
Merge pull request #377 from dlangevi/master
Update described result from createModel api
2023-02-23 20:02:57 -08:00
david
e0efa2c3ec
Merge pull request #1 from dlangevi/update-createModel-sample-result
Update described result from createModel api
2023-02-22 10:08:31 -08:00
david
48650d940f
Update described result from createModel api
I have been working on a wrapper for anki-connect in go. It serializes the requests into a typed Go struct. To create these structs I have been using the types present in the provided examples of api results. It looks like the format of the id for createModel result has either changed, or was entered wrong. See f3e9a5b709 for an example of what the current version of anki + anki-connect returns for this api call
2023-02-22 10:07:38 -08:00