Commit Graph

2767 Commits

Author SHA1 Message Date
Glutanimate
392938f20c Adjust type annotations, format string, and remove tooltip on cancel
Other areas of Anki don't confirm cancelling actions with tooltips,
so after further consideration, the tooltip felt out of the place and
might have actually confused users into thinking some action was
being performed.
2020-01-04 01:30:20 +01:00
Damien Elmes
2cdac1d2f4 check contributors automatically 2020-01-04 08:04:22 +10:00
Damien Elmes
06f219ce33 add default value to ServerData 2020-01-04 07:53:20 +10:00
Damien Elmes
4133b14659 use 'python3' to create the venv, for systems still defaulting to v2 2020-01-04 07:53:20 +10:00
Damien Elmes
2fe250bcd5 split out rename-with-buildhash 2020-01-04 07:53:20 +10:00
Damien Elmes
130c1a1f2f
Merge pull request #409 from glutanimate/update-contributors-file
Add myself to CONTRIBUTORS
2020-01-04 07:50:35 +10:00
Aristotelis
09e238876b
Merge pull request #1 from amboss-mededu/add-amboss-contrib
Add AMBOSS as a contributor
2020-01-03 18:45:20 +01:00
Yann Salimi
14e3c24e73 Add AMBOSS as a contributor 2020-01-03 18:37:50 +01:00
Glutanimate
1b236acb3d Fix mypy and black checks 2020-01-03 18:23:28 +01:00
Glutanimate
57c48d7c85 Add .ankiaddon mime-type on Linux and register Anki as its handler 2020-01-03 17:58:11 +01:00
Glutanimate
e3b7096db5 Extend CLI with the ability to install .ankiaddon packages
Allows Anki to register a mime-type handler for .ankiaddon files

Other small collateral changes:

+ fix positioning issues with some prompts and progress dialog
+ add prompt titles where they were missing
+ add type annotations for AddonManager installation methods
+ explicitly import os in main (used to be imported via aqt.qt)
2020-01-03 17:57:33 +01:00
Glutanimate
00991e8e8e Extend showInfo with the ability to add custom buttons
Grants more flexibility in user prompt design
2020-01-03 17:48:17 +01:00
Glutanimate
ce1853167b Refactor add-on installation error handling
Allows extending the installation pathways more easily.
In preparation of .ankiaddon file type handling.
2020-01-03 16:32:20 +01:00
Glutanimate
4fd18b91ed Add myself to CONTRIBUTORS 2020-01-03 13:46:03 +01:00
Damien Elmes
5edf901c16
Merge pull request #408 from ErezVolk/add-tags-on-update
Add an option to add a set of tags to notes updated on import
2020-01-03 17:01:00 +10:00
Erez Volk
15fe544254 Merge remote-tracking branch 'upstream/master' into add-tags-on-update 2020-01-03 08:42:13 +02:00
Damien Elmes
de36c893bf CI fixes 2020-01-03 16:37:43 +10:00
Erez Volk
46a24812ce Enable Tag Modified iff importMode is Update 2020-01-03 08:32:44 +02:00
Erez Volk
e481cce816 Merge remote-tracking branch 'upstream/master' into add-tags-on-update 2020-01-03 08:13:04 +02:00
Damien Elmes
33dc0435e7 BSD wants -i '', GNU wants -i'' 2020-01-03 16:02:06 +10:00
Damien Elmes
335430a9a6 add build hash to generated wheels
ensures devel builds always get reinstalled, since they don't match
the declared version in the wheel
2020-01-03 15:47:15 +10:00
Damien Elmes
a898f61ddd formatting fix 2020-01-03 15:21:36 +10:00
Damien Elmes
0aa01605d7 add buildhash to rspy and aqt, and check all three modules match 2020-01-03 15:15:18 +10:00
Damien Elmes
c25e106f88 use proper version number in build outputs 2020-01-03 14:36:14 +10:00
Damien Elmes
e2ede3af0e output into dist/ 2020-01-03 14:32:26 +10:00
Damien Elmes
253d429a8b drop 'extra' from default cloze note type
Too many users get confused about where they should be placing the
cloze deletions.
2020-01-03 13:40:50 +10:00
Damien Elmes
ab6247f8d9 fix invalid escape warning 2020-01-03 13:38:23 +10:00
Damien Elmes
03e93f8416 make sure isort preserves ordering if anki installed into python env 2020-01-03 13:34:51 +10:00
Damien Elmes
ad4ac3bbd8 clarify the work for hire case 2020-01-03 10:44:22 +10:00
Damien Elmes
8007113d7c move license info into one place 2020-01-03 09:41:30 +10:00
Damien Elmes
178df0d297 add contributors file 2020-01-03 09:31:02 +10:00
Damien Elmes
0f4f3ab2c1 speed up two tests
the regular test run is now faster than the old parallel one was
2020-01-03 09:05:04 +10:00
Damien Elmes
9abeeac73a report slowest test 2020-01-03 09:03:39 +10:00
Damien Elmes
1070c866f3 switch from nose2 to pytest
pytest will show what differs in simple assert statements

concurrent mode is supported with a plugin, but like nose2, concurrent
mode hides the cause of import errors, so I've left it off for now.
2020-01-03 08:52:10 +10:00
Damien Elmes
c9da813622 don't reformat buildhash 2020-01-03 08:25:12 +10:00
Damien Elmes
e92ba88af1 integrate i18n into new structure 2020-01-03 08:24:59 +10:00
Damien Elmes
1165e95ad3 add translations from crowdin 2020-01-03 07:59:33 +10:00
Damien Elmes
5ba0198a98 merge i18n into qt/ 2020-01-03 07:59:00 +10:00
Damien Elmes
5876866565 tweaking the folder names again
hopefully that's the last of it
2020-01-03 07:48:38 +10:00
Erez Volk
e36f019ec2 Split tags on spaces, not commas 2020-01-02 21:05:56 +02:00
Erez Volk
b11df5c733 Add an option to add a set of tags to notes updated on import 2020-01-02 16:14:32 +02:00
Damien Elmes
1d361f5fe4 add missing gettext dependency 2020-01-02 20:52:12 +10:00
Damien Elmes
20a1f8a0a4 fix pip not being updated 2020-01-02 20:46:15 +10:00
Damien Elmes
4f881cde83 --depth was missing hyphen 2020-01-02 20:39:19 +10:00
Damien Elmes
38df028180 avoid the slow pip upgrade on subsequent runs 2020-01-02 20:20:36 +10:00
Damien Elmes
e56ad3d1ab integrate i18n into build 2020-01-02 20:20:23 +10:00
Damien Elmes
b596e5a871 mention qt translations 2020-01-02 19:59:34 +10:00
Damien Elmes
eb46beb998 remove the extra workflows that are no longer required 2020-01-02 19:57:05 +10:00
Damien Elmes
2e7669daf4 update docs 2020-01-02 19:55:27 +10:00
Damien Elmes
b23b6fbe35 move the separate components back into this monorepo
Earlier today I pushed a change that split this code up into multiple
repos, but that has proved to complicate things too much. So we're
back to a single repo, except the individual submodules are better
separated than they were before.

The README files need updating again; I will push them out soon.

Aside from splitting out the different modules, the sound code has
moved from from anki to aqt.
2020-01-02 19:43:19 +10:00