Commit Graph

584 Commits

Author SHA1 Message Date
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
Austin Siew
5e527680d9 accidentally removed modelFieldRemove from the README, reverted 2022-12-28 19:34:21 -07:00
Austin Siew
a96e10e840 made the test more precise by checking the anki version 2022-12-28 18:54:22 -07:00
Austin Siew
69baea296a added tests & documentation, removed dead code 2022-12-28 18:37:05 -07:00
Austin Siew
e42e936655 Merge remote-tracking branch 'foosoft/master' 2022-12-28 17:15:54 -07:00
Alexei Yatskov
68ccd5785b
Merge pull request #368 from Aquafina-water-bottle/fix_qt5_ci
Fix Qt5 CI tests
2022-12-28 11:03:24 -08:00
Austin Siew
e4627a17e5 reverted .tox dir removal 2022-12-26 20:11:13 -07:00
Austin Siew
b19528e443 added --no-sandbox to tox env 2022-12-26 20:04:10 -07:00
Austin Siew
2d54eccb64 added modelFieldSetDescription, changed double quote strings to single quote strings 2022-12-24 04:18:24 -07:00
Austin Siew
59f75a2946 added modelFieldFonts, modelFieldSetFont, modelFieldSetFontSize 2022-12-24 04:10:56 -07:00
Alexei Yatskov
ad4a4a4661
Merge pull request #366 from ocavue/ocavue/fix-tox
fix ci by installing tox v3
2022-12-20 17:03:42 -08:00
ocavue
479b425ae1 Lock tox to v3 in GitHub Action 2022-12-20 15:57:28 +08:00
Alexei Yatskov
ae8ac9cf18
Merge pull request #365 from Aquafina-water-bottle/master
Updated documentation on multi
2022-12-18 19:44:40 -08:00
Austin Siew
aa42480d7a updated README with multi version 6 examples 2022-12-16 19:14:14 -07:00
Alexei Yatskov
42a6de39b3
Merge pull request #363 from introt/modelFieldDescriptions
Added modelFieldDescriptions
2022-12-10 09:44:25 -08:00
Austin Siew
09d22cc507 updated documentation on multi 2022-12-06 02:36:09 -07:00
introt
ff4fb13428 Fix KeyError in modelFieldDescriptions
on older Anki versions, where field descriptions aren't available
2022-11-27 12:19:58 +02:00
introt
336dc8bb31 Added modelFieldDescriptions
Similar to modelFieldNames, returns a list of
note field decriptions (the text seen in the gui
editor when the field is empty)
2022-11-26 14:56:34 +02:00
Alexei Yatskov
82ca4b847d
Merge pull request #350 from Aquafina-water-bottle/get_reviews_of_card
Added getReviewsOfCards
2022-09-20 17:53:03 -07:00
Austin Siew
a8905a4c22 getReviewsOfCards: changed inner lists into dictionaries, removed cid within the inner list 2022-09-20 17:46:26 -06:00
Alexei Yatskov
773dc49f2b
Merge pull request #353 from snoyes/fix-#352
Fix issue #352
2022-09-17 14:27:27 -07:00
Austin Siew
7cf38106b3 changed getReviewsOfCard -> getReviewsOfCards, changed result to be formatted in a dictionary rather than a list 2022-09-13 17:25:14 -06:00
Austin Siew
c0c922d27c changed getReviewsOfCard -> getReviewsOfCards, changed result to be formatted in a dictionary rather than a list 2022-09-13 17:12:20 -06:00
Scott Noyes
6f87f03519 Fix issue #352 2022-09-12 09:07:59 -05:00
Alexei Yatskov
9f76e5fff2
Merge pull request #348 from Aquafina-water-bottle/issue_82_documentation
README changes: Issue 82 documentation
2022-09-11 10:59:18 -07:00
Austin Siew
6e4bbfa0d6 Added getReviewsOfCard 2022-09-05 00:29:03 -06:00
Austin Siew
d9c01327a4 fixed warning message 2022-08-22 00:06:50 -06:00
Austin Siew
127a34c2d0 added warning 2022-08-22 00:05:19 -06:00
Austin Siew
3b10dbc27f typos 2022-08-22 00:00:15 -06:00