Commit graph

2705 commits

Author SHA1 Message Date
Damien Elmes
ac7f5fb0dd split contrib check into separate file 2020-01-06 15:37:21 +10:00
Damien Elmes
f710d558fd add tests and setup.py to checks; fix warnings 2020-01-06 15:27:59 +10:00
Damien Elmes
26dea84069 add a web UI proof of concept
See react/README
2020-01-06 14:28:07 +10:00
Damien Elmes
ba901656e2 ensure a failed check aborts build 2020-01-06 13:15:20 +10:00
Damien Elmes
9d2e57fcbc fix import order 2020-01-06 13:15:02 +10:00
Damien Elmes
b5d2865031 add some typescript helpers for displaying the card list 2020-01-06 13:11:55 +10:00
Damien Elmes
241c8942e1 add a typescript library to access the backend 2020-01-06 13:10:15 +10:00
Damien Elmes
e886981d26 make the backend available over HTTP 2020-01-06 12:47:09 +10:00
Damien Elmes
6afb8c5056 add a partial Python implementation of the backend 2020-01-06 12:24:47 +10:00
Damien Elmes
ddb304aad2 add some more protobuf messages 2020-01-06 12:18:20 +10:00
Damien Elmes
0f557a82bd Merge pull request #413 from ErezVolk/bugfix-qlineedit
BUGFIX: QLineEdit doesn't have .toPlainText()
2020-01-05 16:32:39 +10:00
Erez Volk
8707ffe02a BUGFIX: QLineEdit doesn't have .toPlainText() 2020-01-05 07:54:45 +02:00
Damien Elmes
d36791f39b be explicit about hash length
different git versions have different defaults
2020-01-05 12:20:35 +10:00
Damien Elmes
7311e86490 fix buildhash not being updated 2020-01-05 10:28:48 +10:00
Damien Elmes
27ff4b6a26 skip the automatic push 2020-01-05 08:52:46 +10:00
Damien Elmes
dcf244a44e update translations 2020-01-05 08:43:39 +10:00
Damien Elmes
d1f5ff4694 make file context relative to root 2020-01-05 08:35:46 +10:00
Damien Elmes
2e86079712 clearer commit message 2020-01-05 08:35:08 +10:00
Damien Elmes
96f721b8c6 update 2020-01-05 08:15:47 +10:00
Damien Elmes
95145addcb add missing pywin32 2020-01-05 07:34:36 +10:00
Damien Elmes
7334d7a687 wheel deps should be checked at install time, not build time 2020-01-05 07:34:36 +10:00
Damien Elmes
325b9d01aa Merge pull request #412 from glutanimate/ankiaddon-filetype-handling-followup
Follow-up to .ankiaddon file-type handling
2020-01-05 07:34:16 +10:00
Glutanimate
8057fa984b Merge remote-tracking branch 'upstream/master' into ankiaddon-filetype-handling-followup 2020-01-04 04:52:29 +01:00
Glutanimate
a0de4ca0e1 Use add-on name rather than package name when reporting on conflicts
Brings _installationSuccessReport more in line with messaging in
AddonManager.toggleEnabled
2020-01-04 04:49:36 +01:00
Glutanimate
34cba492ab Further tweak messaging depending on Anki's state at installation time 2020-01-04 04:45:43 +01:00
Glutanimate
af508cec71 When possible, install add-on before add-ons are loaded
Removes the need to restart Anki if it is not running when
user launches .ankiaddon file
2020-01-04 04:34:16 +01:00
Glutanimate
e4c3a23007 Fix type hints and remove obsolete argument 2020-01-04 04:31:33 +01:00
Glutanimate
6a37cd05bb Make sure to pass pending imports on to installAddon
also: refactor add-on check
2020-01-04 04:30:33 +01:00
Damien Elmes
08d0220385 fix missing develop step in make check 2020-01-04 12:36:27 +10:00
Damien Elmes
1fa01bca67 don't reference missing readme in setup.py 2020-01-04 12:21:58 +10:00
Damien Elmes
3a4730ac91 remove unused scripts.inc 2020-01-04 12:21:58 +10:00
Damien Elmes
39f2ca54e8 quieten wheel build 2020-01-04 12:21:58 +10:00
Damien Elmes
c88694333b update readme, remove submodule readmes 2020-01-04 12:21:58 +10:00
Damien Elmes
53ac8c0f0f split up build steps in top level makefile 2020-01-04 12:21:58 +10:00
Damien Elmes
351699268a move top level scripts into makefile 2020-01-04 12:21:58 +10:00
Damien Elmes
d8d2a36fe2 Merge pull request #410 from glutanimate/ankiaddon-filetype-handling
Make .ankiaddon files installable via the CLI, registering Anki as their default file type handler
2020-01-04 12:19:39 +10:00
Aristotelis
09c4c0000a Merge branch 'master' into ankiaddon-filetype-handling 2020-01-04 02:49:36 +01:00
Glutanimate
e1e848c6ed Merge branch 'ankiaddon-filetype-handling' of https://github.com/Glutanimate/anki into ankiaddon-filetype-handling 2020-01-04 02:36:28 +01:00
Glutanimate
be89378ee2 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
73c38c0933 check contributors automatically 2020-01-04 08:04:22 +10:00
Damien Elmes
ad3769f3c2 add default value to ServerData 2020-01-04 07:53:20 +10:00
Damien Elmes
c870f37e39 use 'python3' to create the venv, for systems still defaulting to v2 2020-01-04 07:53:20 +10:00
Damien Elmes
12a24e06c1 split out rename-with-buildhash 2020-01-04 07:53:20 +10:00
Damien Elmes
bb380c5447 Merge pull request #409 from glutanimate/update-contributors-file
Add myself to CONTRIBUTORS
2020-01-04 07:50:35 +10:00
Aristotelis
e6a3e7360b 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
f70f7dd518 Add AMBOSS as a contributor 2020-01-03 18:37:50 +01:00
Glutanimate
b61610142e Fix mypy and black checks 2020-01-03 18:23:28 +01:00
Glutanimate
6cad2b2983 Add .ankiaddon mime-type on Linux and register Anki as its handler 2020-01-03 17:58:11 +01:00
Glutanimate
8b2588f079 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
74b0899ef1 Extend showInfo with the ability to add custom buttons
Grants more flexibility in user prompt design
2020-01-03 17:48:17 +01:00