abdo
375a395ef5
Paste links as plain text in basic mode
2020-10-03 19:46:05 +03:00
Damien Elmes
05f8ae116a
Merge branch 'master' into fix-ui-scale
2020-10-03 09:44:04 +10:00
Akshara Balachandra
c5da91206b
fix: sizing issue with scale UI
...
Fixes ankitects/help-wanted#18 . Height of webview should be the height
of the contents inside it. Previously, scale factors increased fixed
height of the container webview, thus creating empty space (e.g.
at 200% scaling, height of webview was double the height of the inner
HTML page). Now height of webview is always the height of the contained
element.
2020-10-02 18:07:28 -04:00
abdo
a09a70fec2
Recognize ico files
...
Local icons were being pasted as normal links previously instead of
being enclosed in img tags.
2020-10-03 00:17:38 +03:00
Damien Elmes
2ed1507162
bump version
2020-10-02 10:22:21 +10:00
Damien Elmes
14885acc44
don't reschedule repeating timers that occur during progress
...
For things like updating the deck list, it makes no sense to do it
multiple times at the end of a long operation, and the once/second signal
timer was causing hundreds or thousands of 100ms timers to be created.
https://forums.ankiweb.net/t/anki-memory-usage/3842
2020-09-30 10:01:06 +10:00
Damien Elmes
722454bab1
Merge pull request #769 from abdnh/escape-sidebar-terms
...
Escape browser sidebar search terms
2020-09-27 16:06:10 +10:00
Damien Elmes
fa6ee12f47
fix links not opening externally after finishing
...
https://forums.ankiweb.net/t/anki-2-1-34-35-beta/3569/19
2020-09-27 14:36:55 +10:00
Damien Elmes
aefcdfa17f
backups no longer happen on each sync
...
https://forums.ankiweb.net/t/accidentally-deleted-backs-one-deck/3740/6
2020-09-27 12:59:51 +10:00
Damien Elmes
86e8df58ee
fix old content appearing when flagging
...
https://forums.ankiweb.net/t/very-specific-but-quite-consistent-bug-in-browser/3685
2020-09-27 12:31:25 +10:00
Damien Elmes
2cc4fad19a
fix import shortcut
...
https://forums.ankiweb.net/t/anki-2-1-34-35-beta/3569/21
2020-09-27 11:57:12 +10:00
abdo
9ff8aa4830
Escape sidebar search terms
2020-09-25 21:05:34 +03:00
abdo
7aaf22b0a2
Fix previewer not refreshing when selecting multiple cards in browser
2020-09-24 07:05:16 +03:00
Damien Elmes
88114b0662
Merge pull request #767 from abdnh/context-menu-copy-image
...
Allow copying of images using context menu
2020-09-24 10:57:13 +10:00
Damien Elmes
1a619073d7
bump version
2020-09-24 10:52:24 +10:00
abdo
b20e022097
Allow copying of images using context menu
2020-09-22 06:32:37 +03:00
Damien Elmes
b57d1ed08a
allow dragging of images in review screen again
...
when we were using webkit+file URLs, this deleted files from the
media folder! But we're behind a HTTP server now, so this should
be safe.
https://forums.ankiweb.net/t/no-longer-able-to-copy-latex-output/3128/5
originally disabled in
dd4bae6e8d
2020-09-22 10:29:53 +10:00
abdo
25c2eda7d2
'Show Both Sides' -> 'Back Side Only'
2020-09-20 19:31:00 +03:00
kelciour
401b1b43b2
Revert back to listening for idle callback
...
https://forums.ankiweb.net/t/anki-2-1-33-linux-audio-stops-working/3023
2020-09-16 09:25:18 +03:00
Damien Elmes
1b8d1303ca
Merge pull request #758 from hgiesel/synchook
...
Add sync_will_start and sync_did_finish hook
2020-09-15 21:20:46 +10:00
Henrik Giesel
5981cebb8e
Move sync_did_finish before reset
2020-09-15 13:06:11 +02:00
abdo
a410a1117a
Support extended drag & drop
2020-09-14 17:07:31 +03:00
Henrik Giesel
306424455c
Add some documentation to sync_did_finish hook
2020-09-14 13:18:16 +02:00
Henrik Giesel
52502fb1d3
Put sync_did_finish hook before after_sync because it might unload collection
2020-09-14 13:06:20 +02:00
Henrik Giesel
a685272e16
Add sync_will_start and sync_did_finish hook
2020-09-14 12:22:01 +02:00
Damien Elmes
32f5bc96a8
another showDupes fix from ANH
...
https://forums.ankiweb.net/t/show-duplicates-not-working/2883/10
2020-09-04 10:13:30 +10:00
Damien Elmes
a5955f0206
sound tags need filename html escaped
...
https://forums.ankiweb.net/t/unable-to-play-longer-audio-on-cards/1313/30
2020-09-04 09:36:38 +10:00
Damien Elmes
d81251676d
Revert "Merge pull request #749 from ANH25/editor-media-autoplay"
...
This reverts commit 373402ed0a , reversing
changes made to 35c59cb899 .
https://github.com/ankitects/anki/pull/749#issuecomment-686385112
2020-09-04 08:34:26 +10:00
Damien Elmes
bc60d233e5
rebuild_filtered_deck() and new_filtered()
2020-09-03 18:02:47 +10:00
Damien Elmes
6f7f5686e8
empty_filtered_deck()
2020-09-03 17:43:07 +10:00
Damien Elmes
f32d773e25
set_deck()
2020-09-03 17:42:46 +10:00
Damien Elmes
366c5c4774
log manual reschedule, but ignore the log entry in the stats
2020-09-02 17:56:23 +10:00
Damien Elmes
52425a9851
ensure background override works in night mode
2020-09-01 12:20:45 +10:00
Damien Elmes
9f51347e1e
move bury/suspend into backend
2020-09-01 10:24:38 +10:00
Damien Elmes
a8f84c1264
formatting fixes for latest black
2020-09-01 10:24:38 +10:00
Damien Elmes
130f99fe44
fix some lints
2020-09-01 10:24:38 +10:00
Damien Elmes
fcf63205b6
add a hook to support extending external .html files
2020-09-01 10:24:38 +10:00
Damien Elmes
5536969f29
add load_ts_page() & avoid duplicate call
2020-09-01 10:24:38 +10:00
Damien Elmes
999b659c3a
reimplement congrats screen in Rust+Typescript
2020-09-01 10:24:38 +10:00
Damien Elmes
a629e1acf2
apply standard zoom and background to graphs; prevent FOUC
2020-09-01 10:24:38 +10:00
Damien Elmes
7d84954f53
use css vars for graph styling as well; base webview.scss off core.scss
2020-09-01 10:24:38 +10:00
Damien Elmes
3b1a4d029c
most of the .nightMode redefinitions are no longer required
2020-09-01 10:24:38 +10:00
Damien Elmes
2411e944e4
drop the old sass vars and define the properties directly
2020-09-01 10:24:38 +10:00
Damien Elmes
514409d86f
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
a6aaaf8691
move _vars to outer ts folder
...
First step in sharing styling with graphs + future .html files
2020-09-01 10:24:38 +10:00
Henrik Giesel
87bcc39a77
Some minor reformatting to satisfy black
2020-08-31 13:50:59 +02:00
Henrik Giesel
f32dc05daf
Address broken translations and increase readibility of button insertion
2020-08-31 13:40:42 +02:00
Henrik Giesel
c87d60ea4c
Remove unnecessary import
2020-08-31 13:35:18 +02:00
Henrik Giesel
31b2d46247
Fix type signature: models is passed because it's a method
2020-08-31 13:35:18 +02:00
Henrik Giesel
b9e26ae052
Remove duplicated buttons
2020-08-31 13:35:18 +02:00