Commit graph

8347 commits

Author SHA1 Message Date
Damien Elmes
466d67ca3a possible fix for reported audio issues
https://forums.ankiweb.net/t/2-1-48-release-candidate/13268/6

This is the only area of the sound code that has changed since 2.1.47
2021-09-16 10:16:15 +10:00
Damien Elmes
e24392231c Merge pull request #1370 from evandroforks/add_missing_none
Fix previous card attribute not initialized
2021-09-15 21:23:41 +10:00
Damien Elmes
1f11981bf4 disable wayland again, but allow enabling it
Will add an entry to the known issues page.
2021-09-14 09:53:34 +10:00
Damien Elmes
af2ec0b9db preserve focus on notetype change
Closes #1360
2021-09-13 16:06:16 +10:00
Damien Elmes
5a0cda07e1 allow wayland again
See #1368
2021-09-13 16:06:16 +10:00
Damien Elmes
c80d572d57 update translations 2021-09-13 16:06:16 +10:00
Damien Elmes
78f9782f36 handle filtered case when repositioning 2021-09-13 16:06:16 +10:00
Damien Elmes
17409d9360 don't check state of current card when repositioning
closes #1365
2021-09-13 16:06:16 +10:00
Damien Elmes
d626c74748 Merge pull request #1358 from evandroforks/lastcardinfo
Add option to reveal previous card's info
2021-09-13 16:06:07 +10:00
Damien Elmes
c05475a49e Merge pull request #1364 from evandroforks/fix_unclosed_python_file
Fix ResourceWarning: unclosed file <_io.BufferedWriter name=5>
2021-09-13 16:06:05 +10:00
Damien Elmes
251c5ae080 check for invalid collections in full_upload() 2021-09-13 16:06:01 +10:00
Damien Elmes
93148211e0 tentative fix for learning count underflow
The 'avoid showing learning card twice' logic is now only applied
when the next learning card was already due to be shown. This'll mean
there will be cases where a learning card does get shown twice near
the end, but it makes the behaviour easier to reason about, for both
us and end users.
2021-09-13 16:03:56 +10:00
Damien Elmes
68316b9a2c update translations 2021-09-13 16:03:48 +10:00
Damien Elmes
48ff84f7a6 tweak sync conflict message 2021-09-13 16:03:40 +10:00
Damien Elmes
6279015509 fix case of fields table 2021-09-08 19:13:59 +10:00
Damien Elmes
a13226c663 remove recursive symlink
https://github.com/ankitects/anki/pull/1332#issuecomment-913572914
2021-09-06 21:39:14 +10:00
Damien Elmes
8e79498d49 Merge pull request #1332 from hgiesel/svelteexportcontext
Shorten CSS references for `@import` or `@use`
2021-09-06 21:38:54 +10:00
Damien Elmes
9237f78d08 Merge pull request #1354 from hgiesel/preventoverwrite
Disallow setting, deleting or defining properties on packages
2021-09-06 21:38:35 +10:00
Damien Elmes
36fe89b147 update translations 2021-09-06 18:32:16 +10:00
Damien Elmes
83452d7ccd add comment to segoe-ui string
https://forums.ankiweb.net/t/font-family-bug/12993/3
2021-09-06 18:32:16 +10:00
Damien Elmes
cb5cb006a9
Merge pull request #1350 from hgiesel/exportshortcuts
Implement register-package and export some packages
2021-09-02 22:23:12 +10:00
Damien Elmes
d210a21787
Merge pull request #1351 from hgiesel/fontisinline
Add FONT as an inline tag
2021-09-02 22:22:19 +10:00
Damien Elmes
b9d9343f51 don't allow | in generic family 2021-09-02 21:05:17 +10:00
Damien Elmes
1ae45c5445 quote fonts added via the Add Field dialog 2021-09-02 21:05:16 +10:00
Damien Elmes
1cdf0b1e9d tweak linux.md and add forum link 2021-09-02 20:52:55 +10:00
Damien Elmes
1bd14b538d fix inverted decks.have() 2021-09-01 12:00:05 +10:00
Henrik Giesel
cc8ee65eaf Add FONT as an inline tag 2021-08-31 13:59:07 +02:00
Henrik Giesel
6e0f7c3d53 Implement register-package and export some packages
Exported packages are:
* anki/packages
* anki/shortcuts
* anki/bridgecommand
2021-08-30 14:41:40 +02:00
Damien Elmes
ab20f215b1
Merge pull request #1349 from RumovZ/rename-with-parents
Disable 'Rename with Parents' for top-level items
2021-08-30 22:27:44 +10:00
Damien Elmes
37941c7d93
Merge pull request #1348 from RumovZ/fix-profile-flags
Fix flags not updating when changing profile
2021-08-30 22:27:27 +10:00
RumovZ
d044360ff9 Disable 'Rename with Parents' for top-level items 2021-08-30 11:10:14 +02:00
RumovZ
3c53a961a3 Reset flags when loading a profile...
... not only on startup.
2021-08-30 11:07:40 +02:00
Damien Elmes
9a27e44ff8 don't panic when invalid note id provided to change notetype
https://forums.ankiweb.net/t/fatal-error-while-updating-deck/12743/2
2021-08-29 14:00:55 +10:00
Damien Elmes
a4ff1152d3 bump version 2021-08-29 13:42:37 +10:00
Damien Elmes
dc156f3471
Merge pull request #1344 from glutanimate/add-dialog-manager-hooks
Add a hook for subscribing to dialog creation / opening
2021-08-29 11:36:11 +10:00
Damien Elmes
395119bafe
Merge pull request #1345 from hgiesel/windowsfocus
Use different artificial reviewer button highlight for Windows
2021-08-29 11:35:32 +10:00
Damien Elmes
e4f8ba000e more checks for package name
Follows up #1343
2021-08-29 11:23:47 +10:00
Damien Elmes
b9461225ca
Merge pull request #1343 from BlueGreenMagick/disallow-empty-str-package-addon
Fix bug when add-on package string is ""
2021-08-29 10:52:30 +10:00
Henrik Giesel
3b90b27095 Use different artificial reviewer button highlight for Windows 2021-08-28 21:30:07 +02:00
Glutanimate
5eac3b9061 Add a hook for subscribing to dialog creation / opening 2021-08-28 20:37:31 +02:00
bluegreenmagick
20424a7ef7 Fix bug when add-on package string is ""
which deleted the entire add-on folder
2021-08-27 21:49:55 +09:00
Damien Elmes
3077a1f98a update translations 2021-08-25 11:21:21 +10:00
Damien Elmes
ab8e53f66e fix incorrect calendar day labels
https://forums.ankiweb.net/t/day-of-the-week-legend-on-heatmap/9450/7
2021-08-24 12:17:35 +10:00
Damien Elmes
d8a0df2a62
Merge pull request #1337 from Arthur-Milchior/main
Mention .anki can be imported with add-on 175027074
2021-08-24 11:04:33 +10:00
Damien Elmes
1dd3583b43
Merge pull request #1340 from hgiesel/exportinternal
Export Svelte internals
2021-08-24 10:42:17 +10:00
Damien Elmes
12ea482c87 expose require() instead of the svelte global
- Means add-on authors should not need to inject any code in their build
- Should be more flexible - we can export multiple libraries if we wish,
and don't have to worry about require() being clobbered by old add-ons.
2021-08-24 10:22:07 +10:00
Henrik Giesel
fdf8321253 Rename cross-unit to export-internal 2021-08-23 23:45:50 +02:00
Henrik Giesel
c69232921a Update Svelte to 3.42.2 2021-08-23 23:38:16 +02:00
Henrik Giesel
fea4f17107 Export WithShortcut 2021-08-23 21:23:04 +02:00
Henrik Giesel
1495fdf311 Export svelte_internal as library on window object
Closes https://github.com/ankitects/anki/issues/1328.
2021-08-23 21:16:15 +02:00