Damien Elmes
ccfd6244de
ensure background override works in night mode
2020-09-01 12:20:45 +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
e80b3eeeef
fix some lints
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
fd854630ff
add load_ts_page() & avoid duplicate call
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
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
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
0c3fad7386
Add unused add_button method
2020-08-31 13:33:59 +02: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
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
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
ANH
28d86ab8d1
editor: only autoplay added media when recording
2020-08-26 14:49:19 +03:00
Damien Elmes
05efefeff9
Merge pull request #748 from ANH25/drag-and-drop
...
fix drag & drop issue when dropping things over existing content
2020-08-26 08:38:48 +10:00
Damien Elmes
2e328fd6cb
formatting
2020-08-26 08:36:08 +10:00
Damien Elmes
5355c3c25e
fix description in export screen (thanks to ANH)
...
https://forums.ankiweb.net/t/anki-2-1-31-exporting-display-bug/2669/3
2020-08-26 08:33:35 +10:00
ANH
cc17b4db62
fix drag & drop issue when dropping things over existing content
2020-08-25 17:28:13 +03:00
Damien Elmes
dee7d45d8b
fix signup link
2020-08-25 13:29:02 +10:00
ANH
9cf07a98c2
add shortcut for reviewer context menu
2020-08-23 17:46:47 +03:00
Damien Elmes
2291f9a9fb
'cards' instead of 'notes' in export
...
thanks to hgiesel; closes #744
2020-08-23 13:48:20 +10:00
Damien Elmes
2a8a4e9780
fix formatting & lint
2020-08-21 12:36:18 +10:00
Damien Elmes
45fd52d49a
Merge pull request #735 from brownbat/master
...
Add hook for initializing answer buttons
2020-08-21 12:34:14 +10:00
Damien Elmes
b47654fed7
fix formatting
2020-08-21 11:45:14 +10:00
Damien Elmes
5d8c9c8948
Merge pull request #740 from kelciour/mpv-restart-fix
...
Fix no sound after restarting mpv
2020-08-21 11:10:46 +10:00
Damien Elmes
095df2f6f8
Add comment
2020-08-21 11:10:30 +10:00
kelciour
8cac607588
Reset av_player.current_player after mpv restart
2020-08-21 02:17:21 +03:00
Damien Elmes
75e721f4ad
Merge pull request #739 from ANH25/add-custom-study-ftl
...
Add custom-study-must-rename-deck to Fluent
2020-08-21 08:56:17 +10:00
Thomas B
c920dee638
Remove conflict- Sequence type no longer needed
2020-08-20 10:34:08 -04:00
Thomas B
fe6144ff61
Clarify docstring
2020-08-20 10:30:31 -04:00
Damien Elmes
290efb9e92
need to invalidate notetype cache on sync completion
...
basicCheck() was populating it on startup sync, leading to
https://forums.ankiweb.net/t/error-when-adding-a-new-note/1664
2020-08-20 15:35:23 +10:00
Thomas B
67e3f25ad1
Add both Union and Sequence to typing import
...
Resolve conflict.
2020-08-19 16:19:15 -04:00
Thomas B
73883f3f21
Update gui_hooks.py
2020-08-19 16:15:56 -04:00
Thomas B
897ec72608
Fixing type hints
...
Matched all type hints, changed the original Sequence[] type hint for _answerButtonList() in reviewer.py on mypy's recommendation.
2020-08-19 16:15:49 -04:00
ANH
94b80cfb94
add custom-study-must-rename-deck to Fluent
2020-08-19 18:27:14 +03:00