Damien Elmes
93e01850b6
remove cloze handling in conditionals
...
As far as I can tell, this was not functional, as "{{#cloze:Text}}"
becomes cq-1:Text, which doesn't match the regex
2020-01-08 16:10:19 +10:00
Damien Elmes
34ac272349
show stdout/stderr when running tests
2020-01-08 15:52:51 +10:00
Damien Elmes
a47dc8da8f
no longer try fields with : in their names
...
it's not supported by the card generation code, and the card
layout screen will automatically fix note types
2020-01-08 14:42:54 +10:00
Damien Elmes
3d9c454997
move furigana/hint filters into template2
2020-01-08 12:30:08 +10:00
Damien Elmes
edc989f308
clean up _renderQA(), and split rendering part out
2020-01-08 12:07:44 +10:00
Damien Elmes
c3d47e0e8c
update readme
2020-01-08 10:32:58 +10:00
Damien Elmes
9741bfa041
remove stray character
2020-01-07 18:44:44 +10:00
Damien Elmes
516924957e
use 3.7 annotations
2020-01-07 18:43:20 +10:00
Damien Elmes
9232414095
bump minimum python version from 3.6 to 3.7
2020-01-07 18:34:36 +10:00
Damien Elmes
98a16e2e56
more makefile fixes
...
can't rely on SHELLFLAGS on macOS
2020-01-07 18:19:18 +10:00
Damien Elmes
621594ae00
run contrib check on push as well
...
Which should ensure I notice when I've forgotten to change my email
back after testing the script :-)
2020-01-07 10:14:01 +10:00
Damien Elmes
3a27b2481f
fix days_elapsed moving backwards
2020-01-07 09:29:43 +10:00
Damien Elmes
2c5ee82dcf
add failing test for days_elapsed calculation
...
the current code was causing the day to move backwards:
at day 7 hour 23:59, elap is 1
at day 8 hour 0:59, elap is 0
at day 8 hour 1:59, elap is 0
at day 8 hour 2:59, elap is 1
at day 8 hour 3:59, elap is 1
at day 8 hour 4:59, elap is 2
as mentioned in https://github.com/ankitects/anki/pull/416
2020-01-07 09:29:43 +10:00
Damien Elmes
9057c8ec85
make sure rust tests rerun on source change; don't hide output
2020-01-07 09:29:43 +10:00
Damien Elmes
31375ffed7
Merge pull request #417 from zjosua/patch-1
...
Add rsync to requirements
2020-01-07 07:13:54 +10:00
zjosua
9ba6f22449
Update CONTRIBUTORS
2020-01-06 18:43:22 +01:00
zjosua
391b213fa8
Add rsync to requirements
2020-01-06 18:30:11 +01:00
Damien Elmes
b1b2cae2bb
remove dupe line
2020-01-06 20:59:18 +10:00
Damien Elmes
194697753d
don't need to rerun checks each time buildhash changes
2020-01-06 19:30:54 +10:00
Damien Elmes
04ac16d9a3
need full checkout to get contribs history
2020-01-06 19:27:17 +10:00
Damien Elmes
42bf048f9a
add svelte experiment as well
2020-01-06 16:23:55 +10:00
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