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
Damien Elmes
4cead7effc
add comment about make install
2019-12-30 21:53:11 +10:00
Damien Elmes
ee3f963919
remove ':' from field names
2019-12-30 18:50:00 +10:00
Damien Elmes
fbfb7861a2
handle <% %> template syntax
2019-12-30 08:12:44 +10:00
Damien Elmes
62481ddc1a
add coding back for xgettext
2019-12-29 21:37:54 +10:00
Damien Elmes
caab7092ef
pass collection path into backend
2019-12-29 20:37:26 +10:00
Damien Elmes
d782569b33
fix rollover cutoff not falling on the hour
2019-12-29 20:37:26 +10:00
Damien Elmes
252d9172e7
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)
eab86b9fbb
Add day learn/relearn queue
2019-12-28 12:46:40 +01:00
Damien Elmes
9c86190303
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)
e2a850c2ad
Add named constant for preview queue
2019-12-28 11:52:46 +01:00
Damien Elmes
3a8da4f578
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)
d7053d82cd
Add named constant for queue with cards buried by siblings
2019-12-28 00:20:17 +01:00
Damien Elmes
499f888ee9
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)
2c00e6c6ec
Add named constant for manually buried queue
2019-12-27 23:43:20 +01:00
Damien Elmes
ccc81fc323
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)
ce4fa1a5fb
Add named constant for relearning cards
2019-12-27 23:05:25 +01:00
Damien Elmes
729330324e
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
0981523af0
Merge pull request #400 from agentydragon/typing-sv2
...
Some type declarations for scheduler v2
2019-12-28 07:12:02 +10:00
Damien Elmes
ad64ebe035
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
3d0f20f971
Merge pull request #397 from agentydragon/remove-coding
...
Remove unneeded utf-8 encoding declaration
2019-12-28 07:11:21 +10:00
Damien Elmes
ec0c85e292
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
20089597d1
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
0799f50df0
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
c91b1377d8
Merge pull request #392 from agentydragon/notetype
...
More type annotations for notes.py
2019-12-28 07:05:57 +10:00
Michal Pokorný (Rai)
9fc63ff567
Typing for scheduler v2
2019-12-27 19:36:57 +01:00
Michal Pokorný (Rai)
0199597ecb
Remove extra whitespace at end of line
2019-12-27 19:26:48 +01:00
Michal Pokorný (Rai)
f03ae1c45a
Use self._deckLimit helper
2019-12-27 19:25:22 +01:00
Michal Pokorný (Rai)
4a89cd1a25
Remove unnecessary anki.* qualification of already imported Note, Card
2019-12-27 19:22:44 +01:00
Michal Pokorný (Rai)
9383a72704
Remove unneeded utf-8 encoding declaration
...
UTF-8 is the default as of Python 3.
See: https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations
2019-12-27 18:06:06 +01:00
Michal Pokorný (Rai)
1ea0bb3453
Remove unneeded re-import of anki.db
2019-12-27 17:22:53 +01:00
Michal Pokorný (Rai)
9a2348d902
Fix import order
2019-12-27 17:21:42 +01:00
Michal Pokorný (Rai)
eba46ad555
Add return value comment for fixIntegrity method of Collection
2019-12-27 17:20:22 +01:00
Michal Pokorný (Rai)
5ee08b1b36
Type annotations in notes.py
2019-12-27 17:14:46 +01:00
Michal Pokorný (Rai)
3357ecfed3
Add type annotation for model
2019-12-27 17:14:46 +01:00
Damien Elmes
7abd58382f
hold off on general release of v2 scheduler for now
...
The switch to the new timezone code may shift some users back or forth
a day, so it'd be better to have this in place prior to making the
new scheduler the default.
2019-12-27 21:53:20 +10:00
Damien Elmes
683edeeb07
send tz offset at start of sync; allow passing in offset at collection creation
2019-12-27 21:53:20 +10:00
Damien Elmes
92673c99d8
rework the new scheduler's rollover/day counting code
...
The previous implementation interpreted the creation date as a local
time, and applied the rollover to that. If the initial creation date
was around midnight local time, even a one hour change due to daylight
savings could result in Anki skipping or doubling up on a day. To
address this, the rollover is now applied to the current time instead
of the creation date.
The new code needs the current time passed into it. This makes it
easier to unit test, and for AnkiWeb to be able to use the user's local
timezone.
The new timezone code is currently disabled, as this code needs to be
ported to all clients before it can be activated.
2019-12-27 21:53:20 +10:00
Damien Elmes
5493ca554f
fix sidebar background color on windows 10
2019-12-27 21:53:20 +10:00
Damien Elmes
e7e8c34d27
Merge pull request #390 from zjosua/patch-1
...
Update README.development
2019-12-27 08:48:02 +10:00