Commit Graph

612 Commits

Author SHA1 Message Date
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
Alexei Yatskov
6731b266ae
Merge pull request #376 from kentonself/fix_bind_addr
Changed the way to bind to an address other than the default 127.0.0.1
2023-02-19 11:54:05 -08:00
kentonself
e13ca6116c Changed the way to bind to an address other than the default 127.0.0.1
The code does not look at ANKICONNECT_BIND_ADDRESS in the environment.
It gets it from the config.json which can be editted from the Tools
menu.
2023-02-18 14:08:11 -06:00
Alexei Yatskov
a2b3290d77
Merge pull request #373 from Aquafina-water-bottle/readme_reformat
Reformat README to be more readable
2023-01-23 17:53:12 -08:00
Alexei Yatskov
b5f6e86df6
Merge pull request #371 from Aquafina-water-bottle/master
Added Anki 2.1.54 - 2.1.56 to tests
2023-01-23 17:51:07 -08:00
Austin Siew
4b4e07786e turned all 'Sample Request:' -> 'Sample request:' 2023-01-13 23:11:27 -07:00
Austin Siew
db7f014ac9 fixed dangling </details> 2023-01-13 23:06:06 -07:00
Austin Siew
91fc1d6fde reformatted readme to hide sample requests/results, and moved actions to h4 divs 2023-01-13 22:39:22 -07:00
Austin Siew
8187fa3c48 added 2.1.56 2023-01-13 21:53:07 -07:00
Austin Siew
a275971002 fixed formatting issue 2023-01-09 21:23:43 -07:00
Austin Siew
0c37ab0f5c Added 2.1.54 and 2.1.55 to github actions 2022-12-30 20:34:50 -07:00
Austin Siew
2ad03ddbc0 added anki 2.1.54 and 2.1.55 tests & fixed NotFoundError not working on 2.1.55 2022-12-30 20:26:58 -07:00
introt
2f50c747fb Add getNoteTags, updateNoteTags and updateNote
getNoteTags returns [str ...] of tags for a given note (note: int)

updateNoteTags removes the existing tags and sets new tags

updateNote combines the old updateNoteFields and the new updateNoteTags

Closes #369
2022-12-30 13:13:31 +02:00
Alexei Yatskov
7234914d44
Merge pull request #367 from Aquafina-water-bottle/master
Added various calls for model fields (getting & setting font, setting description)
2022-12-29 11:42:01 -08:00