Zeno Gantner
6b3d5998cc
more detailed instructions for Debian/Ubuntu users
2020-04-16 10:19:56 +02:00
Damien Elmes
78c1ced06a
Merge pull request #560 from evandroforks/fix_javascript_console_output
...
Fixed javaScriptConsoleMessage showing 'error on line'
2020-04-16 10:15:56 +10:00
Damien Elmes
1163e418ee
Merge pull request #562 from ijgnd/master
...
make help text selectable
2020-04-16 10:14:02 +10:00
Damien Elmes
2bfff8dee4
Merge pull request #563 from evandroforks/attempt_to_fix_macos_build_cache
...
Attempt to fix macos cache breaking for no reason
2020-04-16 10:13:34 +10:00
Damien Elmes
c9e1917b12
Merge pull request #564 from agentydragon/patch-1
...
Add myself to CONTRIBUTORS
2020-04-16 10:13:08 +10:00
Damien Elmes
d9b8aba358
catch and report issues when downgrading
2020-04-16 10:11:16 +10:00
Damien Elmes
a2c6a3e170
show a clearer error if the schema is too new
...
will hold off on making it translatable for now
2020-04-16 09:47:34 +10:00
Rai
4c5928b3ec
Add myself to CONTRIBUTORS
2020-04-16 01:20:10 +02:00
Damien Elmes
a0587b09d1
downgrade manually
...
- A regular collection open/close no longer goes through the
upgrade/downgrade steps each time. This avoids wasted cycles, and will
become more important in the future when decks and note types are
split into separate tables.
- Added a downgrade button to the profiles screen to downgrade all
profiles and close the app.
- Downgrading is still automatic when exporting/doing a full sync.
2020-04-16 09:00:49 +10:00
Damien Elmes
18ae22c842
work around full sync on start closing the app
...
This is just a temporary solution until the syncing code can be
reworked.
https://anki.tenderapp.com/discussions/ankidesktop/39761-anki-crashing-after-sync-and-download
2020-04-16 08:10:17 +10:00
evandrocoan
c4e34bdf3b
Attempt to fix macos cache breaking for no reason
...
https://github.com/ankitects/anki/pull/560/checks?check_run_id=590022813
2020-04-15 18:46:47 -03:00
evandrocoan
2d84e8feee
Set to use a regular expression to remove the server name because
...
it is less prone to break in future updates.
2020-04-15 16:27:41 -03:00
evandrocoan
d5df05ae6b
Set to javaScriptConsoleMessage output to stdout because it
...
may raise error messages on the anki GUI.
2020-04-15 16:06:45 -03:00
ijgnd
9d076d00e0
make help text selectable
...
This allows the user to copy e.g. values so that they don't have to retype them which might introduce typos.
2020-04-15 18:59:04 +02:00
Damien Elmes
dd20337a85
don't write log files when exporting
2020-04-15 21:45:32 +10:00
Damien Elmes
41f469459e
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
8483a535ea
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
b60aa9efb9
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
58ff377187
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
a33a02f3de
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
77e3280c94
Stop installing rename as it is already bundled
2020-04-15 04:19:54 -03:00
evandrocoan
7226c40cce
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
evandrocoan
c0f5110843
Fixed javaScriptConsoleMessage showing 'error on line' for
...
all lines. The new output format is:
JS info /_anki/reviewer.js:166 autoadd
JS error /_anki/reviewer.js:240 Uncaught (in promise) NotAllowedError: play() can only be initiated by a user gesture.
2020-04-15 04:12:47 -03:00
Simone Gaiarin
268e4ac785
Add contributor
2020-04-15 07:42:28 +02:00
Damien Elmes
e051d8ab75
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
1d4620ff74
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
f5f2782e3b
embed sort kind enum to avoid future namespace conflicts
2020-04-14 20:31:10 +10:00
Damien Elmes
551fe123d4
vendor rename script
2020-04-14 19:49:07 +10:00
Damien Elmes
826e8e4120
Revert "remove unused decks.count()"
...
This reverts commit dd790390db .
dd790390db
2020-04-13 19:26:12 +10:00
Damien Elmes
8dafa8bce5
move autoplay() into card
2020-04-13 09:04:30 +10:00
Damien Elmes
6bef493aa5
fix replay audio again, and decouple the code from the reviewer
2020-04-13 08:59:36 +10:00
Damien Elmes
79a50ffb91
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
25789e14ef
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
96af559d67
set db mod flag if mtime changed by backend
2020-04-11 15:41:21 +10:00
Damien Elmes
46877dbe4e
document ankidev and remove sync changes
...
https://github.com/ankitects/anki/pull/548
2020-04-11 14:36:05 +10:00
Damien Elmes
97e7fe90f9
Merge pull request #552 from evandroforks/fix_missing_caches
...
Fix caches always missing
2020-04-11 14:21:05 +10:00
Damien Elmes
4509a8c494
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
e1a0646d56
Update main.py
2020-04-11 14:19:27 +10:00
evandrocoan
aa7d8368a4
Fix caches always missing
2020-04-10 23:00:11 -03:00
Damien Elmes
23c02f0a85
fix error when replaying audio in preview screen
2020-04-10 20:33:48 +10:00
Damien Elmes
c3f149ab94
make sure preview window is closed when browser closed
2020-04-10 20:32:48 +10:00
Damien Elmes
4da189a48c
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
79bcba0e52
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
96c6458f80
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
bb74375beb
Merge pull request #546 from ju19/patch-1
...
Minor changes to README.development
2020-04-10 19:42:58 +10:00
Damien Elmes
351c7b6a82
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
b7696e6381
merge the 12-14 upgrade code
2020-04-10 17:46:57 +10:00
BlueGreenMagick
4b63d598af
add clear actions to context menu in debug console
2020-04-10 15:45:25 +09:00
BlueGreenMagick
2e44724e23
put debug textedits in a splitter
2020-04-10 13:50:09 +09:00
evandrocoan
3b81a0e7fd
Fixed anki caption on README.development
2020-04-09 23:38:30 -03:00