Damien Elmes
1d330138cb
Merge pull request #794 from abdnh/tagedit-enter-fix
...
Don't apply suggestion when no suggestion list is shown in tagedit
2020-10-21 21:19:05 +10:00
Damien Elmes
17de596fc1
Merge pull request #791 from abdnh/sidebar-context-menu
...
help-wanted#6: continue work on new browser sidebar (based on #590 )
2020-10-21 21:13:32 +10:00
abdo
51e5eba3fe
Don't apply suggestion when no suggestion list is shown
2020-10-14 05:00:24 +03:00
Damien Elmes
74981145cf
formatting fix
...
formatting fix
2020-10-14 10:35:57 +10:00
Damien Elmes
2c36fde269
Update __init__.py
2020-10-14 09:45:34 +10:00
Andreas Reis
4e35b1780d
Add command-line argument to skip addons
...
Shift doesn't work for me occasionally, for whatever reason. So just add an -s to skip it that way.
(Also, update my github nick)
2020-10-14 01:31:07 +02:00
abdo
5463b13128
Fix typing warning
2020-10-12 11:01:15 +03:00
abdo
e0bbf38850
Do sidebar switch check in browser init
...
https://github.com/ankitects/help-wanted/issues/6#issuecomment-706880794
2020-10-12 10:28:21 +03:00
abdo
3d3e68ed7a
Merge branch 'sidebar-context-menu' of https://github.com/abdnh/anki into sidebar-context-menu
2020-10-12 10:15:23 +03:00
Damien Elmes
874366fce7
formatting fix
2020-10-12 12:37:51 +10:00
Damien Elmes
362ebef832
Merge pull request #790 from hgiesel/fields
...
Add fields_did_rename_field and fields_did_remove_field hooks
2020-10-12 12:36:39 +10:00
Damien Elmes
b182c07a99
Merge pull request #789 from abdnh/editor-decode-urls
...
Decode pasted URLs for nicer display
2020-10-12 12:33:52 +10:00
Damien Elmes
089e48adac
Merge branch 'master' into opus-audio
2020-10-12 12:32:43 +10:00
Damien Elmes
accffbd29a
formatting fixes
2020-10-12 12:17:02 +10:00
Damien Elmes
597b81ebeb
Merge pull request #782 from johan456789/patch-1
...
fix outdated help site
2020-10-12 12:15:46 +10:00
Henrik Giesel
0f09258e68
Add fields_did_rename_field and fields_did_remove_field hooks
2020-10-11 19:16:30 +02:00
abdo
9140c3597f
Decode pasted URLs
2020-10-11 16:46:46 +03:00
Piotr Kubowicz
1add0e6c6b
Add .opus as an audio extension
...
Wikimedia Commons has pronunciation recordings with .opus extension.
Anki is able to play such files, but until now adding them required
changing the extension to .ogg or some other supported one.
Also sort the audio extensions list.
2020-10-10 16:28:40 +02:00
Damien Elmes
909367efc1
fixes for latest mypy
2020-10-10 19:02:59 +10:00
abdo
401485834b
Move new sidebar code to a separate file
...
- Move the new sidebar code and SidebarTreeView implementation to a
new file. Old sidebar can be accessed with the shift key. The "new" sidebar
doesn't add much for now.
- Make rename_deck work with subdecks
- Fix an issue when trying to open context menu over areas not populated
with sidebar items
2020-10-10 04:42:49 +03:00
abdo
69f9543fda
Merge commit 'refs/pull/590/head' of https://github.com/ankitects/anki into sidebar2
2020-10-10 04:11:54 +03:00
johan456789
0ebe5d14eb
fix help url paths
2020-10-10 00:38:07 +08:00
johan456789
a5b452780e
remove never used link
2020-10-10 00:07:34 +08:00
abdo
1b3b1e3329
Escape ampersands in note type names too
2020-10-07 15:26:32 +03:00
abdo
2e48b437eb
Fix 'Filter' menu item in deck filters not working
2020-10-07 14:32:21 +03:00
abdo
2ebf8d5f0e
Escape ampersands in filter menu
...
Fixes ankitects/help-wanted#20
2020-10-07 13:44:33 +03:00
Damien Elmes
53ceab9bd3
Merge pull request #778 from hgiesel/refocus
...
Always focus main web instead of bottom web in reviewer
2020-10-07 16:22:49 +10:00
Damien Elmes
515de117f4
add Gustavo Costa
...
A reminder that anyone who's contributed is welcome to send
a PR adding themselves!
2020-10-06 14:36:11 +10:00
Damien Elmes
8b0be88df5
fix invisible scrollbar in nightmode
...
vars.scss no longer contains the Qt theme definitions, so the
easiest solution was to duplicate the colour in this case
2020-10-06 14:35:21 +10:00
Henrik Giesel
5517e69f7e
Have a "default" highlight, but naturally follow focus if focus is in container
2020-10-05 22:54:23 +02:00
Henrik Giesel
e7fe9b470f
Give the focus on .focus element a red tint
2020-10-05 22:39:16 +02:00
Henrik Giesel
65f77ef44e
Add focus class which mimics built-in focus
2020-10-05 22:18:46 +02:00
Damien Elmes
d3df6dd92a
fix IndexError when switching notetypes
...
Closes #780
https://github.com/ankitects/anki/pull/780
2020-10-05 13:33:54 +10:00
Damien Elmes
0ed130b133
Merge pull request #781 from hgiesel/leftbtns
...
Refactor Buttons in editor and add editor_did_init_left_buttons gui_hook
2020-10-05 13:14:52 +10:00
Damien Elmes
28e00f487b
Merge pull request #779 from david-allison-1/fix-sign-up-link
...
Fix "Sign Up" link location
2020-10-05 12:34:11 +10:00
Damien Elmes
bfd960af1a
Merge pull request #777 from kelciour/mpv-anki-freeze-on-windows
...
Separate player for videos on Windows
2020-10-05 12:27:31 +10:00
Henrik Giesel
90572d1b7c
Turn _class into rightside boolean flag
2020-10-04 23:03:37 +02:00
Henrik Giesel
b5b2a07a88
Refactor out theclass assignment
2020-10-04 22:51:34 +02:00
Henrik Giesel
716f8a103c
Add editor_did_init_left_buttons gui_hook
2020-10-04 22:50:02 +02:00
Henrik Giesel
70b28b95a2
Make icon Optional explicitly in function signature
2020-10-04 22:42:28 +02:00
Henrik Giesel
b2d8db67f7
Rewrite so all editor toolbar buttons use _addButton
2020-10-04 22:41:18 +02:00
David Allison
94382867d0
Fix "Sign Up" link location
...
String states "Sign Up", but currently points to the "Sign In" screen: https://ankiweb.net/account/login
c8a6d81fde/rslib/ftl/sync.ftl (L38-L42)
2020-10-04 18:14:49 +01:00
Henrik Giesel
f7256569c5
Also focus main web instead of bottom web
2020-10-03 22:33:01 +02:00
kelciour
ec4bd071fe
Separate player for videos on Windows
...
https://forums.ankiweb.net/t/anki-crashes-because-of-mpv/3359/13
2020-10-03 22:53:17 +03:00
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