Commit graph

2640 commits

Author SHA1 Message Date
Damien Elmes
5c91987218 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
152637caae fix invalid escape warning 2020-01-03 13:38:23 +10:00
Damien Elmes
a71f607936 make sure isort preserves ordering if anki installed into python env 2020-01-03 13:34:51 +10:00
Damien Elmes
293893f701 clarify the work for hire case 2020-01-03 10:44:22 +10:00
Damien Elmes
c0438373dd move license info into one place 2020-01-03 09:41:30 +10:00
Damien Elmes
ec42767ce9 add contributors file 2020-01-03 09:31:02 +10:00
Damien Elmes
3dc53deece 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
b3b95713e6 report slowest test 2020-01-03 09:03:39 +10:00
Damien Elmes
df2cc2fb02 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
648e51b60d don't reformat buildhash 2020-01-03 08:25:12 +10:00
Damien Elmes
86bb676007 integrate i18n into new structure 2020-01-03 08:24:59 +10:00
Damien Elmes
6d0c9cd289 add translations from crowdin 2020-01-03 07:59:33 +10:00
Damien Elmes
e1621ed66a merge i18n into qt/ 2020-01-03 07:59:00 +10:00
Damien Elmes
2a00e0a6b0 tweaking the folder names again
hopefully that's the last of it
2020-01-03 07:48:38 +10:00
Damien Elmes
5674264bfd add missing gettext dependency 2020-01-02 20:52:12 +10:00
Damien Elmes
2c704188a7 fix pip not being updated 2020-01-02 20:46:15 +10:00
Damien Elmes
05eb968ce9 --depth was missing hyphen 2020-01-02 20:39:19 +10:00
Damien Elmes
03897f2276 avoid the slow pip upgrade on subsequent runs 2020-01-02 20:20:36 +10:00
Damien Elmes
a956a273ae integrate i18n into build 2020-01-02 20:20:23 +10:00
Damien Elmes
95172faf42 mention qt translations 2020-01-02 19:59:34 +10:00
Damien Elmes
cd1e33d2bf remove the extra workflows that are no longer required 2020-01-02 19:57:05 +10:00
Damien Elmes
eab54fd57a update docs 2020-01-02 19:55:27 +10:00
Damien Elmes
3ca39bfda3 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
Damien Elmes
ab116b7142 add comment about make install 2019-12-30 21:53:11 +10:00
Damien Elmes
b0f55f9077 remove ':' from field names 2019-12-30 18:50:00 +10:00
Damien Elmes
f8374e75d6 handle <% %> template syntax 2019-12-30 08:12:44 +10:00
Damien Elmes
e23a65f77d add coding back for xgettext 2019-12-29 21:37:54 +10:00
Damien Elmes
e1bcdd8cf2 pass collection path into backend 2019-12-29 20:37:26 +10:00
Damien Elmes
9dfc0401cf fix rollover cutoff not falling on the hour 2019-12-29 20:37:26 +10:00
Damien Elmes
389c21aa69 Merge pull request #406 from agentydragon/named_card_type_5
Add constant for day learn/relearn queue
2019-12-29 06:50:50 +10:00
Michal Pokorný (Rai)
7e134d5146 Add day learn/relearn queue 2019-12-28 12:46:40 +01:00
Damien Elmes
90775bf8a3 Merge pull request #405 from agentydragon/named_card_type_4
Add named constant for preview queue
2019-12-28 21:26:19 +10:00
Michal Pokorný (Rai)
70ccbbcd1d Add named constant for preview queue 2019-12-28 11:52:46 +01:00
Damien Elmes
f22af37adc Merge pull request #404 from agentydragon/named_card_type_3
Add named constant for queue with cards buried by siblings
2019-12-28 15:59:09 +10:00
Michal Pokorný (Rai)
20886fa906 Add named constant for queue with cards buried by siblings 2019-12-28 00:20:17 +01:00
Damien Elmes
28ac939200 Merge pull request #403 from agentydragon/named_card_type_2
Add named constant for manually buried queue
2019-12-28 08:52:05 +10:00
Michal Pokorný (Rai)
db677676d9 Add named constant for manually buried queue 2019-12-27 23:43:20 +01:00
Damien Elmes
ddc8e6d415 Merge pull request #402 from agentydragon/named_card_type_1
Add named constant for relearning cards
2019-12-28 08:27:25 +10:00
Michal Pokorný (Rai)
18cce4dbb6 Add named constant for relearning cards 2019-12-27 23:05:25 +01:00
Damien Elmes
6851eb5a3c Merge pull request #401 from agentydragon/sched-types
Use self._deckLimit helper in more places in scheduler v2
2019-12-28 07:12:58 +10:00
Damien Elmes
c0500ceaa4 Merge pull request #400 from agentydragon/typing-sv2
Some type declarations for scheduler v2
2019-12-28 07:12:02 +10:00
Damien Elmes
e534d957c5 Merge pull request #399 from agentydragon/extra-ws
Remove extra whitespace at end of line
2019-12-28 07:11:40 +10:00
Damien Elmes
c14f5a1142 Merge pull request #397 from agentydragon/remove-coding
Remove unneeded utf-8 encoding declaration
2019-12-28 07:11:21 +10:00
Damien Elmes
d9444190c0 Merge pull request #396 from agentydragon/remove-reimport2
Remove unnecessary anki.* qualification of already imported Note, Card
2019-12-28 07:11:14 +10:00
Damien Elmes
6c720f241f Merge pull request #395 from agentydragon/remove-reimport
Remove unneeded re-import of anki.db
2019-12-28 07:11:03 +10:00
Damien Elmes
090aa7e619 Merge pull request #394 from agentydragon/doc-for-fix-integrity
Add return value comment for fixIntegrity method of Collection
2019-12-28 07:10:50 +10:00
Damien Elmes
83c8ba796b Merge pull request #392 from agentydragon/notetype
More type annotations for notes.py
2019-12-28 07:05:57 +10:00
Michal Pokorný (Rai)
bc97db7133 Typing for scheduler v2 2019-12-27 19:36:57 +01:00
Michal Pokorný (Rai)
e1e345068b Remove extra whitespace at end of line 2019-12-27 19:26:48 +01:00
Michal Pokorný (Rai)
4edc0ff2f8 Use self._deckLimit helper 2019-12-27 19:25:22 +01:00