Damien Elmes
a834df60ce
rename some card+note fields in backend
2020-09-01 10:24:38 +10:00
Damien Elmes
d3dede057a
move bury/suspend into backend
2020-09-01 10:24:38 +10:00
Damien Elmes
ac265fe75a
formatting fixes for latest black
2020-09-01 10:24:38 +10:00
Damien Elmes
ccfa989c62
move unbury/unsuspend routines into backend
2020-09-01 10:24:38 +10:00
Damien Elmes
e80b3eeeef
fix some lints
2020-09-01 10:24:38 +10:00
Damien Elmes
ac6397ae9e
add separate sched/user bury searches, and fix bury enums
2020-09-01 10:24:38 +10:00
Damien Elmes
e4fa549af2
default to true in want_release_gil()
2020-09-01 10:24:38 +10:00
Damien Elmes
67cb510c8e
add a hook to support extending external .html files
2020-09-01 10:24:38 +10:00
Damien Elmes
b0a3861734
handle null return from sum() in other columns
2020-09-01 10:24:38 +10:00
Damien Elmes
f997c7eb8b
remove debug statement from graphs
2020-09-01 10:24:38 +10:00
Damien Elmes
fd854630ff
add load_ts_page() & avoid duplicate call
2020-09-01 10:24:38 +10:00
Damien Elmes
dcb6bf2cd4
update ts deps to fix svelte-vscode
2020-09-01 10:24:38 +10:00
Damien Elmes
e5685254c6
reimplement congrats screen in Rust+Typescript
2020-09-01 10:24:38 +10:00
Damien Elmes
5520163bf7
apply standard zoom and background to graphs; prevent FOUC
2020-09-01 10:24:38 +10:00
Damien Elmes
0564d4cf86
use css vars for graph styling as well; base webview.scss off core.scss
2020-09-01 10:24:38 +10:00
Damien Elmes
21616f67bf
most of the .nightMode redefinitions are no longer required
2020-09-01 10:24:38 +10:00
Damien Elmes
748745fe1a
drop the old sass vars and define the properties directly
2020-09-01 10:24:38 +10:00
Damien Elmes
2d26280dab
migrate the majority of the sass vars to css variables
...
Allows add-ons to easily override the theme, and allows us to apply
styling to elements outside of the normal document flow (like applying
the normal background colour to a position: fixed element).
2020-09-01 10:24:38 +10:00
Damien Elmes
ab32623dde
move _vars to outer ts folder
...
First step in sharing styling with graphs + future .html files
2020-09-01 10:24:38 +10:00
Damien Elmes
73cffc7cee
disable pyenv cache on Linux
...
https://github.com/ankitects/anki/pull/681
2020-09-01 09:11:07 +10:00
Damien Elmes
992626af0b
Merge pull request #746 from hgiesel/modelsbuttons
...
Create a gui_hook for initializing buttons in Models
2020-09-01 08:36:03 +10:00
Henrik Giesel
2f68293c74
Some minor reformatting to satisfy black
2020-08-31 13:50:59 +02:00
Henrik Giesel
5e4324accb
Address broken translations and increase readibility of button insertion
2020-08-31 13:40:42 +02:00
Henrik Giesel
89caa6ef75
Remove unnecessary import
2020-08-31 13:35:18 +02:00
Henrik Giesel
a1b5acd46a
Fix type signature: models is passed because it's a method
2020-08-31 13:35:18 +02:00
Henrik Giesel
90f0df2a52
Remove duplicated buttons
2020-08-31 13:35:18 +02:00
Henrik Giesel
3287c42ace
Don't import models in gui_hooks to avoid circular import
2020-08-31 13:35:18 +02:00
Henrik Giesel
ea787c73a5
Fix uninitialized buttons object
2020-08-31 13:35:18 +02:00
Henrik Giesel
633d769490
Add compiled hook model_did_init_buttons
2020-08-31 13:35:18 +02:00
Henrik Giesel
ad27e0149a
Add usage in models.py
2020-08-31 13:35:18 +02:00
Henrik Giesel
0d1b90e512
Add gui_hook models_did_init_buttons
2020-08-31 13:35:01 +02:00
Henrik Giesel
0c3fad7386
Add unused add_button method
2020-08-31 13:33:59 +02:00
Damien Elmes
5a4043524a
add missing pylint/isort deps
2020-08-31 14:07:04 +10:00
Damien Elmes
a517accee3
update to latest black
2020-08-31 13:29:28 +10:00
Damien Elmes
603210149c
update to latest isort, pylint and pytest
2020-08-31 12:05:36 +10:00
Damien Elmes
20432ccecf
fix new pylint raise-missing-from lint
2020-08-31 12:04:14 +10:00
Damien Elmes
ec6164c807
Merge pull request #751 from ANH25/addon-config-editor-title
...
Remove unicode isolation markers from add-on config editor title
2020-08-31 11:10:44 +10:00
Damien Elmes
819dce3ab6
bump version
2020-08-31 11:07:54 +10:00
ANH
9eb11b53d5
remove unicode isolation markers from add-on config editor title
2020-08-31 00:35:17 +03:00
Damien Elmes
3f403040db
fix card.template() in card layout screen
...
https://forums.ankiweb.net/t/card-template-does-not-work-when-called-in-card-will-show-hook-in-template-editor/2798
2020-08-30 11:23:44 +10:00
Damien Elmes
9fcd6c66f4
fix nonbreaking spaces breaking media
...
https://forums.ankiweb.net/t/unable-to-play-longer-audio-on-cards/1313
2020-08-30 11:23:12 +10:00
Damien Elmes
f7928fe14f
Merge pull request #750 from sobjornstad/unaddable-tag
...
Fix unanchored regex in bulk tag add routine
2020-08-29 10:19:59 +10:00
Soren Bjornstad
18cae3e757
add myself to CONTRIBUTORS
2020-08-28 16:48:45 -05:00
Soren Bjornstad
a3a1f49be1
fix unanchored regex in bulk tag add routine
...
Previously, it was not possible to add a substring of an existing tag.
For example, with the tag "foobar", you could not add the tag "foo",
"bar" or "oob".
Because the match was unanchored, the regex checking whether the tag
already existed determined that the tag was present when it was not.
2020-08-28 16:21:23 -05:00
Damien Elmes
4662a9fe1a
check if we need to unbury at the start of the sync process
...
https://forums.ankiweb.net/t/bug-buried-cards-in-filtered-decks-not-being-unburied-next-day/2541/24
2020-08-28 21:09:07 +10:00
Damien Elmes
3bd85bf180
add some names to about screen
...
a reminder that anyone who's contributed is welcome - please just
send a PR adding yourself
2020-08-27 11:24:13 +10:00
Damien Elmes
9aa3d7867e
Merge pull request #749 from ANH25/editor-media-autoplay
...
Only autoplay added media when recording in editor
2020-08-27 10:37:42 +10:00
Damien Elmes
c3a1acb524
Merge pull request #745 from ANH25/reviewer-context-menu-shortcut
...
add shortcut for reviewer context menu
2020-08-27 10:33:22 +10:00
Damien Elmes
a7e254e81d
catch leading/trailing boolean operators
...
https://forums.ankiweb.net/t/is-it-only-me-anki-giving-corrupt-collection-error/2424/20
2020-08-27 09:59:29 +10:00
Damien Elmes
96f9ad1f25
fix next learn message overestimating delay
...
https://forums.ankiweb.net/t/bug-with-short-intervals-in-anki-2-1-scheduler/2678
2020-08-27 09:35:31 +10:00