0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 20:03:05 +02:00
Commit Graph

6560 Commits

Author SHA1 Message Date
codingtosh
bb3adb16e0 [Kotlin Migration] FieldState
Package: com.ichi2.anki.noteeditor
2021-11-18 15:13:32 -05:00
codingtosh
e0873a47a4 Rename FieldState.java to .kt
Package: com.ichi2.anki.noteeditor
2021-11-18 15:13:32 -05:00
codingtosh
e5df29b3e4 [Kotlin Migration] SdCardReceiver
Package:  com.ichi2.anki.receiver
2021-11-18 15:11:31 -05:00
codingtosh
4aea8798d0 Rename SdCardReceiver.java to .kt
Package: com.ichi2.anki.receiver
2021-11-18 15:11:31 -05:00
codingtosh
0db6d722f0 [Kotlin Migration] ActionButtonStatus
Package:  com.ichi2.anki.reviewer
2021-11-18 15:10:45 -05:00
codingtosh
70f87ac148 Rename ActionButtonStatus.java to .kt
Package: com.ichi2.anki.reviewer
2021-11-18 15:10:45 -05:00
codingtosh
9369c8546d [Kotlin Migration] AudioPlayer
Package: com.ichi2.anki.multimediacard
2021-11-18 15:09:20 -05:00
codingtosh
2456951486 Rename AudioPlayer.java to .kt
Package: com.ichi2.anki.multimediacard
2021-11-18 15:09:20 -05:00
codingtosh
07e2b7d88c [Kotlin Migration] AudioRecorder
Package: com.ichi2.anki.multimediacard
2021-11-18 15:08:19 -05:00
codingtosh
d1b86fe6b8 Rename AudioRecorder.java to .kt
Package: com.ichi2.anki.multimediacard
2021-11-18 15:08:19 -05:00
AnkiDroid Translations
c99b17b041 Updated strings from Crowdin 2021-11-18 15:06:10 -05:00
David Allison
b63421ec0c revert: Highlight Selected Deck (f96bdfb)
This crashes the card browser and statistics screen when changing
the selected deck.

Note: This is the spinner, not "Change Deck" functionality

reverts f96bdfbc1f

Fixes 9914
Reverts 9765
Reopens 9755
2021-11-18 14:16:57 -05:00
Seth Buchinger
cfb2dd1102
feat(ankiweb): add forgot email button to ankiweb account activity (#9909)
* Changes for Issue 5844 - Forgotten AnkiWeb e-mail
* Implementing suggestions from PR #9909 review
2021-11-18 13:36:00 -05:00
AnkiDroid Translations
66ded1cf44 Updated strings from Crowdin 2021-11-18 13:26:44 -05:00
Vraj Patel
bd121bec4c
fix: opening FAB on tablet should not alpha FAB also (#9907) 2021-11-17 16:55:34 -05:00
David Allison
f945b6ba1b refactor(cardviewer): optimize deck access
This reduces the number of times getConfigForCurrentCard is called
2021-11-16 02:38:45 +00:00
David Allison
0bafa3eea3 refactor: add setCurrentCard
This is for future optimizations, ensuring that state tied to
mCurrentCard is updated as soon as the current card is set.
2021-11-16 02:38:45 +00:00
Mike Hardy
e44ce12b26 Bumped version to 2.16alpha33 2021-11-15 02:12:56 +00:00
AnkiDroid Translations
7d83eeef44 Updated strings from Crowdin 2021-11-14 20:28:35 -05:00
David Allison
1d617ff767 refactor: DatabaseChangeDecorator
https://kotlinlang.org/docs/delegation.html
2021-11-14 19:37:07 -05:00
codingtosh
dc139cb0a1 [Kotlin Migration] LanguageListerBase
Package: com.ichi2.anki.multimediacard.language
2021-11-14 19:23:00 -05:00
codingtosh
df49daa5de Rename LanguageListerBase.java to .kt
com.ichi2.anki.multimediacard.language
2021-11-14 19:23:00 -05:00
codingtosh
07fa4dab60 [Kotlin Migration] DatabaseChangeDecorator
Package: com.ichi2.utils
2021-11-14 15:32:09 -05:00
codingtosh
d7246dc835 Rename DatabaseChangeDecorator.java to DatabaseChangeDecorator.kt
Package: com.ichi2.utils
2021-11-14 15:32:09 -05:00
Piyush Goel
f35667ac32 Migrated TagsDialogTest to kotlin. 2021-11-14 17:23:19 +00:00
Piyush Goel
9e1426d8ba Renamed TagsDialogTest.java to TagsDialogTest.kt 2021-11-14 17:23:19 +00:00
David Allison
345ae9e5a5 feat(record-audio): Show Preview of Fields
* Display text of the fields from the note editor

This allows a user to better know what to say

* Images are not supported, only text
* Scrolling behaviour is incorrect, but unlikely to occur.

Fixes 5428
2021-11-14 12:01:32 -05:00
David Allison
78553b0722 refactor: remove unused method
delete updateMultimediaNoteFromJsonNote
2021-11-14 12:01:32 -05:00
Piyush Goel
d6398590f7 Migrated TagsDialog to kotlin. 2021-11-14 07:44:09 -05:00
Piyush Goel
8e3c6aae71 Renamed TagsDialog.java to TagsDialog.kt 2021-11-14 07:44:09 -05:00
David Allison
872af2515b Kotlin Migration: ReadText
com.ichi2.anki.ReadText

Note: ktLintFormat incorrectly formats this file
2021-11-14 12:01:14 +00:00
David Allison
314cd25d03 Rename ReadText.java to .kt 2021-11-14 12:01:14 +00:00
David Allison
61d8b3c28f refactor(v16-tts): extract legacyGetTtsTags 2021-11-13 18:14:24 -05:00
David Allison
0a5ddc95e7 refactor(v16-tts): split out sound and TTS
Prep for moving all TTS generation into the class

Issue 5793
2021-11-13 18:14:24 -05:00
David Allison
0b4ae3a5e3 refactor(v16-tts): Separate parsing and reading
Split out TtsParserTest.kt from ReadTextTest.java

Issue 5793
2021-11-13 18:14:24 -05:00
Mike Hardy
d3a423c508 Bumped version to 2.16alpha32 2021-11-13 19:11:49 +00:00
AnkiDroid Translations
3ebabbb1ae Updated strings from Crowdin 2021-11-13 14:04:29 -05:00
David Allison
363995f860 refactor(v16): Use libAnki class for TTS
Allows for inclusion of the libAnki TTS from a card template

Issue 5793
2021-11-13 13:59:14 +00:00
Tarekk Mohamed Abdalla
f6525c2f83 test: test all tag states are showing correctly 2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
d6b94bf239 NF: make TagsListTest more readable 2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
b9108e61d8 feat: add "Edit Tags" in CardBrowser
Select multiple cards and change the tags of their notes
2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
a1fd4336f1 feat: add UpdateMultipleNotes task 2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
8a4ee594f8 NF: rename ADD_TAG to EDIT_TAGS
now the name and comment reflects the meaning of the tags

since we can add/remove tags from multiple notes using this dialog type
2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
90fef130fa NF: refactor listener to do multiple actions
based on TagsDialogListenerAction the listener callback will do different things

for now the only action doable is FILTER action
2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
f25ff5dde0 feat: adapter support for indeterminate tags 2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
bca17fe074 feat: Add CheckBoxTriStates 2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
45861239b8 feat: TagsDialog support for indeterminate tags
this should have no effect on normal call with only checked tags
2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
2dd6415d3b feat: support for indeterminate tags 2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
001038fb96 NF: rename currentTags to checkedTags 2021-11-13 07:33:34 -05:00
Tarekk Mohamed Abdalla
d4c34c2e17 NF: change signature of TagsDialogListener#onSelectedTags
onSelectedTags now returns list of `indeterminateTags`, the indeterminateTags should be ignored if not needed.
2021-11-13 07:33:34 -05:00