Damien Elmes
65cfcf9226
pare back dark mode support
...
Anki now solely relies on the night mode setting in the preferences
to decide whether to show in light or dark mode. Some users wanted
to run Anki in light mode while keeping the rest of their system dark,
and there were various display problems when dark mode was changed
after Anki started that couldn't be easily worked around.
NSRequiresAquaAppearance is set again, which means we can rely on
the interface appearing properly and not changing as the macOS theme
is changed.
Users who only use dark mode, and preferred the native look of widgets
in dark mode, can achieve the previous appearance by running the
following command in the terminal:
defaults write net.ankiweb.dtop NSRequiresAquaSystemAppearance -bool no
And the following in the debug console:
mw.pm.meta["dark_mode_widgets"] = True
This is hidden behind a debug console command because it requires the
user ensure their system is always set to the same light/dark mode
as Anki.
2020-04-15 21:44:56 +10:00
Damien Elmes
b018dba073
Merge pull request #561 from evandroforks/stop_installing_rename
...
Stop installing rename as it is already bundled
2020-04-15 18:55:03 +10:00
Damien Elmes
dbedeef98d
Merge pull request #559 from evandroforks/show_full_javascript_stacktrace
...
Set to show the JavaScript exception message and stacktrace
2020-04-15 18:51:16 +10:00
Damien Elmes
75db74e2e5
Merge pull request #557 from simgunz/fix-button-not-highlighted
...
Fix editor buttons not highlighted
2020-04-15 18:50:36 +10:00
Damien Elmes
a552abe688
update if a compatible branch is found, even if mtime is wrong
...
https://anki.tenderapp.com/discussions/ankiweb/4668-addon-auto-update-problems
2020-04-15 18:47:04 +10:00
evandrocoan
8b9b3c005f
Stop installing rename as it is already bundled
2020-04-15 04:19:54 -03:00
evandrocoan
16d7e89c7d
Set to show the JavaScript exception message and stacktrace, when
...
a exception is throw, showing the function and lines from where
the exception/error is coming from.
https://stackoverflow.com/questions/591857/how-can-i-get-a-javascript-stack-trace-when-i-throw-an-exception
Exception example:
Invalid HTML on card: Error: The media element is missing its 'src' attribute.
at http://127.0.0.1:50233/_anki/reviewer.js:246:23
at http://127.0.0.1:50233/_anki/reviewer.js:112:9
at Array.forEach ()
at setAnkiMedia (http://127.0.0.1:50233/_anki/reviewer.js:111:11 )
at AnkiMediaQueue.setup (http://127.0.0.1:50233/_anki/reviewer.js:244:9 )
at eval (eval at (http://127.0.0.1:50233/_anki/jquery.js:2:2651 ), :2:11)
at eval ()
at http://127.0.0.1:50233/_anki/jquery.js:2:2651
at Function.globalEval (http://127.0.0.1:50233/_anki/jquery.js:2:2662 )
at Ha (http://127.0.0.1:50233/_anki/jquery.js:3:21262 )
2020-04-15 04:15:47 -03:00
Simone Gaiarin
a998c6139f
Add contributor
2020-04-15 07:42:28 +02:00
Damien Elmes
f18f4e387b
older clients require 'separate' on filtered decks
...
the deckconf['new']['separate' property is unused, but older code
assumes filtered['separate'] exists, even though it doesn't do anything
with it
https://anki.tenderapp.com/discussions/beta-testing/1868-anki-2124-beta#comment_48240796
2020-04-15 15:02:12 +10:00
Simone Gaiarin
5410d27aaa
Fix editor buttons not highlighted
...
The selector 'button.linkb' takes precedence on '.highlighted' because
it is more specific, so that '.highlighted' is never applied.
2020-04-14 19:04:03 +02:00
Damien Elmes
b55742509a
embed sort kind enum to avoid future namespace conflicts
2020-04-14 20:31:10 +10:00
Damien Elmes
a686f2cf44
vendor rename script
2020-04-14 19:49:07 +10:00
Damien Elmes
7f2610568a
Revert "remove unused decks.count()"
...
This reverts commit c79b6835bf
.
c79b6835bf
2020-04-13 19:26:12 +10:00
Damien Elmes
351d8a309f
move autoplay() into card
2020-04-13 09:04:30 +10:00
Damien Elmes
10eb947402
fix replay audio again, and decouple the code from the reviewer
2020-04-13 08:59:36 +10:00
Damien Elmes
e838769d02
use isolation characters instead of direction markers in cloze handling
...
https://anki.tenderapp.com/discussions/ankidesktop/40443-improper-location-of-c1foo-on-ltr-text-in-an-rtl-cloze-field
2020-04-13 08:34:17 +10:00
Damien Elmes
0c5f22f4ae
avoid adjusting position if selected row is visible
...
https://anki.tenderapp.com/discussions/beta-testing/1868-anki-2124-beta#comment_48227037
2020-04-11 15:54:52 +10:00
Damien Elmes
2f1523f82a
set db mod flag if mtime changed by backend
2020-04-11 15:41:21 +10:00
Damien Elmes
330848abe3
document ankidev and remove sync changes
...
https://github.com/ankitects/anki/pull/548
2020-04-11 14:36:05 +10:00
Damien Elmes
40e498ba45
Merge pull request #552 from evandroforks/fix_missing_caches
...
Fix caches always missing
2020-04-11 14:21:05 +10:00
Damien Elmes
698bf9c780
Merge pull request #550 from BlueGreenMagick/debugDiag-contextMenu
...
add clear actions to context menu in debug console
2020-04-11 14:19:46 +10:00
Damien Elmes
a068fcdc9f
Update main.py
2020-04-11 14:19:27 +10:00
evandrocoan
3f8d9f2451
Fix caches always missing
2020-04-10 23:00:11 -03:00
Damien Elmes
8b3f0100e4
fix error when replaying audio in preview screen
2020-04-10 20:33:48 +10:00
Damien Elmes
c964be3961
make sure preview window is closed when browser closed
2020-04-10 20:32:48 +10:00
Damien Elmes
26f5b9250c
grey out spinner if max=0
...
https://anki.tenderapp.com/discussions/ankidesktop/32710-custom-study
2020-04-10 20:32:48 +10:00
Damien Elmes
6776101601
Merge pull request #549 from BlueGreenMagick/debug-resizable
...
Allow changing height of debug console text edit boxes
2020-04-10 19:46:13 +10:00
Damien Elmes
195d8c2362
Merge pull request #547 from evandroforks/fix_anki_caption
...
Fixed anki caption on README.development
2020-04-10 19:43:45 +10:00
Damien Elmes
c5bd9d60b5
Merge pull request #546 from ju19/patch-1
...
Minor changes to README.development
2020-04-10 19:42:58 +10:00
Damien Elmes
6e6776aab2
fix dyn being serialized as bool
...
If you were running from git in the last ~30 hours, please load
your collection using the latest git, review one card, then force
a full upload to fix compatibility with other clients.
2020-04-10 18:07:59 +10:00
Damien Elmes
bbceeacf0b
merge the 12-14 upgrade code
2020-04-10 17:46:57 +10:00
BlueGreenMagick
653f5765b8
add clear actions to context menu in debug console
2020-04-10 15:45:25 +09:00
BlueGreenMagick
1452c2fd3c
put debug textedits in a splitter
2020-04-10 13:50:09 +09:00
evandrocoan
e54646a224
Fixed anki caption on README.development
2020-04-09 23:38:30 -03:00
Damien Elmes
c79b6835bf
remove unused decks.count()
2020-04-10 10:25:31 +10:00
ju19
0e6e3f16b9
Update README.development
...
Making instructions easier for windows users
2020-04-09 15:54:19 +06:00
Damien Elmes
11fdd96a44
add socks support
2020-04-09 14:28:36 +10:00
Damien Elmes
8f7ef6ed2c
make sure progress stops when collection corrupt message shown
2020-04-09 14:19:20 +10:00
Damien Elmes
eff1b39e9f
fix deck_browser_did_render hook
2020-04-09 13:40:19 +10:00
Damien Elmes
92fbe3bfba
update rusqlite
2020-04-09 12:45:51 +10:00
Damien Elmes
4c7210b430
(de)serialize decks in backend
2020-04-09 12:41:59 +10:00
Damien Elmes
3851246d60
Merge pull request #542 from BlueGreenMagick/addcards-cloze-warning
...
detect cloze cards with other filters
2020-04-08 16:30:00 +10:00
Damien Elmes
cbb2ce6928
Merge pull request #545 from BlueGreenMagick/draggable-field-pos
...
allow dragging fields to change its position
2020-04-08 16:22:27 +10:00
Damien Elmes
61793f92b8
fix preview closing
...
https://anki.tenderapp.com/discussions/beta-testing/1868-anki-2124-beta#comment_48228480
2020-04-08 16:21:20 +10:00
Damien Elmes
55b99511c0
print exception on close
2020-04-08 10:05:33 +10:00
Damien Elmes
ce2890ca15
fix errorsAfterMidnight
2020-04-08 10:05:19 +10:00
Damien Elmes
36ec7830a9
load/save note types in backend
...
This allows us to normalize bad data, and is the first step towards
splitting note types into separate tables.
2020-04-08 10:05:07 +10:00
BlueGreenMagick
6b3d6bec55
allow dragging fields to change its position
2020-04-07 16:42:33 +09:00
BlueGreenMagick
aa86bc8088
use model type to detect cloze notes
2020-04-07 14:02:53 +09:00
Damien Elmes
6ecf2ffa2c
Merge pull request #543 from Arthur-Milchior/sort_according_to_path
...
Sort according to path
2020-04-07 14:44:53 +10:00