Moreno
8daede5875
handle android app links in previewer
2024-05-19 06:39:07 +00:00
Brayan Oliveira
59fbe88329
fix: currentCard not initialized
2024-05-19 06:38:17 +00:00
Robozinho
56e9816618
fix manage notetypes menu
2024-05-18 16:30:43 -03:00
Moreno
e2bb9c8d22
fix summary overflow
2024-05-16 21:22:42 +00:00
Mike Hardy
d312629143
Dependency updates 20240516 ( #16415 )
...
* build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-test
Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases )
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md )
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.8.0...1.8.1 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump androidx.viewpager2:viewpager2 from 1.0.0 to 1.1.0
Bumps androidx.viewpager2:viewpager2 from 1.0.0 to 1.1.0.
---
updated-dependencies:
- dependency-name: androidx.viewpager2:viewpager2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump androidx.appcompat:appcompat
Bumps androidx.appcompat:appcompat from 1.7.0-beta01 to 1.7.0-rc01.
---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump androidx.annotation:annotation from 1.7.1 to 1.8.0
Bumps androidx.annotation:annotation from 1.7.1 to 1.8.0.
---
updated-dependencies:
- dependency-name: androidx.annotation:annotation
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump androidxFragmentKtx from 1.6.2 to 1.7.1
Bumps `androidxFragmentKtx` from 1.6.2 to 1.7.1.
Updates `androidx.fragment:fragment-ktx` from 1.6.2 to 1.7.1
Updates `androidx.fragment:fragment-testing` from 1.6.2 to 1.7.1
Updates `androidx.fragment:fragment-testing-manifest` from 1.6.2 to 1.7.1
---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: androidx.fragment:fragment-testing
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: androidx.fragment:fragment-testing-manifest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump io.mockk:mockk from 1.13.10 to 1.13.11
Bumps [io.mockk:mockk](https://github.com/mockk/mockk ) from 1.13.10 to 1.13.11.
- [Release notes](https://github.com/mockk/mockk/releases )
- [Commits](https://github.com/mockk/mockk/compare/1.13.10...1.13.11 )
---
updated-dependencies:
- dependency-name: io.mockk:mockk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 16:02:53 -05:00
Neel Doshi
65a9ccd760
Redundant MaterialBuilderUtils
2024-05-16 12:58:23 +00:00
Neel Doshi
2bce63ced9
Refactored DatabaseErrorDialog to AlertDialog
2024-05-16 12:58:23 +00:00
Neel Doshi
480e4e8b95
Extension Function For ListItem and Message
2024-05-16 12:58:23 +00:00
Moreno
ee085a6c92
improve optimizing presets message
2024-05-15 21:57:23 +00:00
Moreno
349d4f21cf
fix language country with system default
2024-05-15 15:09:12 +00:00
Ashish Yadav
27f5f25b3d
chore: extract ActionModeClass from NoteEditor
2024-05-15 12:31:09 +00:00
Brayan Oliveira
0fc602e8b0
Update forums links
...
There are now subcategories for AnkiDroid
2024-05-15 09:59:02 -03:00
Haz3-jolt
f336065d12
fixes #16389 IO type reappears when card is added.
2024-05-14 22:00:26 +00:00
Haz3-jolt
53609f681d
changed from runBlocking -> withBrowser and simplified scope.
2024-05-14 21:26:17 +00:00
Haz3-jolt
1dc17e5a41
Added test for OnDeckSelected.
2024-05-14 21:26:17 +00:00
Ashish Yadav
d4bea9356a
enhancement: allow camera access when using image occlusion ( #15029 )
...
* enhancement: allow camera access when using image occlusion
* Use bottom sheet to display camera and gallery option
* reactor: Use generic method from ImageUtils to crop image in BasicImageFieldController
* refactor: updated IO layout to use linear layout instead on MaterialButton
2024-05-14 15:00:49 +01:00
Mike Hardy
d4d48b920c
build: prepare main for 2.19 development alpha series
2024-05-14 08:56:58 -05:00
Mike Hardy
7af0e3a7e5
chore(ci): update milestone script to point issues to 2.19 release
2024-05-14 08:56:55 -05:00
leobugeja
1ef78c45d6
fix: inconsistent tag checkbox color
2024-05-13 18:54:30 +00:00
Mike Hardy
464cf290cc
Bumped version to 2.18.0
2024-05-13 02:55:41 +00:00
Mike Hardy
d87e1c3cb3
release: version bump for 2.18.0 release
...
release track set to beta earlier, no need to change it
2024-05-12 21:49:44 -05:00
AnkiDroid Translations
8aecaf6fad
Updated strings from Crowdin
2024-05-12 21:07:14 -05:00
Moreno
30f3431dd2
add search keyboard shortcut
2024-05-12 21:06:35 -05:00
Mike Hardy
7db8c60f9d
Dependency updates 20240512 ( #16383 )
...
* build(deps): bump androidx.core:core-ktx from 1.13.0 to 1.13.1
Bumps androidx.core:core-ktx from 1.13.0 to 1.13.1.
---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump androidx.appcompat:appcompat
Bumps androidx.appcompat:appcompat from 1.7.0-alpha03 to 1.7.0-beta01.
---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump androidx.webkit:webkit from 1.10.0 to 1.11.0
Bumps androidx.webkit:webkit from 1.10.0 to 1.11.0.
---
updated-dependencies:
- dependency-name: androidx.webkit:webkit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump org.jetbrains.kotlin:kotlin-reflect
Bumps [org.jetbrains.kotlin:kotlin-reflect](https://github.com/JetBrains/kotlin ) from 1.9.23 to 1.9.24.
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump com.google.android.material:material
Bumps [com.google.android.material:material](https://github.com/material-components/material-components-android ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/material-components/material-components-android/releases )
- [Commits](https://github.com/material-components/material-components-android/compare/1.11.0...1.12.0 )
---
updated-dependencies:
- dependency-name: com.google.android.material:material
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump kotlinTest from 1.9.23 to 1.9.24
Bumps `kotlinTest` from 1.9.23 to 1.9.24.
Updates `org.jetbrains.kotlin:kotlin-test` from 1.9.23 to 1.9.24
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.9.23 to 1.9.24
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.9.23 to 1.9.24
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-test
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test-junit
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test-junit5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump kotlin from 1.9.23 to 1.9.24
Bumps `kotlin` from 1.9.23 to 1.9.24.
Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.9.23 to 1.9.24
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
Updates `org.jetbrains.kotlin.android` from 1.9.23 to 1.9.24
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
Updates `org.jetbrains.kotlin.plugin.parcelize` from 1.9.23 to 1.9.24
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
Updates `org.jetbrains.kotlin.jvm` from 1.9.23 to 1.9.24
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
Updates `org.jetbrains.kotlin.plugin.serialization` from 1.9.23 to 1.9.24
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.24/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.23...v1.9.24 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.android
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.parcelize
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.jvm
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.serialization
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-12 21:06:12 -05:00
Moreno
0ffc6b0b7c
fix class not found issue in API 25
...
Co-authored-by: Brayan Oliveira <69634269+brayandso@users.noreply.github.com>
2024-05-13 00:57:44 +00:00
David Allison
f1b7c668c1
feat: Toggle Bury
...
Issue 14163
2024-05-12 19:41:41 -05:00
David Allison
946268479d
refactor: actionBarMenu -> remove !!
2024-05-12 19:41:41 -05:00
Robozinho
5d81a57079
grant audio capture permission to webview
2024-05-12 19:40:42 -05:00
Brayan Oliveira
bf1f7fbba7
fix: CORS issue with JS loading
2024-05-12 19:40:24 -05:00
AnkiDroid Translations
84dea7a48f
Updated strings from Crowdin
2024-05-12 18:48:05 -05:00
Robozinho
769dd4bca6
fix tts in browser ( #16347 )
...
* add tts tag test
Co-authored-by: David Allison <62114487+david-allison@users.noreply.github.com>
* fix tts tag in browser
---------
Co-authored-by: David Allison <62114487+david-allison@users.noreply.github.com>
2024-05-12 15:52:25 -03:00
David Allison
636cf9e1d5
fix: lateinit property viewPager has not been initialized
...
`onCollectionLoaded` is not guaranteed to be called synchronously
Fixes 16301
2024-05-12 18:24:09 +00:00
AnkiDroid Translations
d3f1bdd39f
Updated strings from Crowdin
2024-05-12 05:05:28 +00:00
Aditya
23c5ecd701
Added ContentDescription for check pronunciation
2024-05-11 22:33:37 +00:00
AnkiDroid Translations
4e44f37149
Updated strings from Crowdin
2024-05-11 20:23:21 +00:00
Brayan Oliveira
c24fba66eb
chore: update a part of libanki
...
chore(libanki): setCurrent()
c9c7a3133c/pylib/anki/decks.py (L409)
chore(libanki): parentsByName()
4fc535ec88/pylib/anki/decks.py (L503-L517)
chore(libanki): parents()
4fc535ec88/pylib/anki/decks.py (L482-L501)
chore(libanki): add methods to Decks (3)
4fc535ec88/pylib/anki/decks.py (L471-L480)
chore(libanki): add methods to Decks (2)
4fc535ec88/pylib/anki/decks.py (L456-L469)
chore(libanki): add methods to Decks (1)
4fc535ec88/pylib/anki/decks.py (L441-L450)
chore(libanki): customStudy() and customStudyDefaults()
4fc535ec88/pylib/anki/scheduler/base.py (L98-L102)
chore(libanki): add haveManuallyBuried and haveBuriedSiblings
4fc535ec88/pylib/anki/scheduler/base.py (L88-L92)
chore(libanki): rename haveBuried()
4fc535ec88/pylib/anki/scheduler/base.py (L94)
chore(libanki): add congratulationsInfo()
4fc535ec88/pylib/anki/scheduler/base.py (L85)
2024-05-11 18:30:32 +00:00
MarkusJLechner
2f40205e10
fix: prevent screen highlight using bluetooth controller
...
Closes: https://github.com/ankidroid/Anki-Android/issues/14262
2024-05-11 14:58:52 +00:00
Brayan Oliveira
d60d773554
Guide support and feature requests to the forums ( #16370 )
...
* Update config.yml
* Delete .github/ISSUE_TEMPLATE/feature_request.md
2024-05-10 17:29:34 -03:00
Robozinho
bc58dceaad
add progress dialog to deck options
2024-05-05 02:14:58 +00:00
Robozinho
d983b81864
fix sync tooltip text
2024-05-05 02:14:35 +00:00
AnkiDroid Translations
9a81b50c2c
Updated strings from Crowdin
2024-05-04 22:53:32 +00:00
David Allison
5ed93adaec
fix(audio-recorder): crash if saving immediately
...
` if (isRecording || isRecordingPaused) {` returned true
so `clearRecording` was called even though `stop()` has been called
which crashed.
```
Done -> stopAndSaveRecording()
then -> done() -> onViewFocusChanged()
```
We fix this by setting the state to CLEARED after stopAndSaveRecording
Cause: cad603ef08
I missed that `stopAndSaveRecording` was public
Fixes 16321
2024-05-04 22:42:09 +00:00
David Allison
905a407c62
chore: KotlinCleanup
2024-05-04 16:16:00 +00:00
David Allison
a74f1a0552
chore: assertThrows
2024-05-04 16:16:00 +00:00
David Allison
55f396beea
chore: fix hungarian notation
2024-05-04 16:16:00 +00:00
David Allison
47f4d91e60
fix: 'iw' is a RTL language
...
Alias for Hebrew, Android needs both 'iw' and 'heb'
cause: 0f795cea36
2024-05-04 15:59:26 +00:00
Robozinho
19acfe08a3
add keyboard shortcuts to flag and mark in previewer
2024-05-04 15:58:28 +00:00
David Allison
625473cca6
fix(template-previewer): 'currentCard' has not been initialized
...
Don't keep activities calls `onPageFinished(isAfterRecreation)`
, but the ViewModel has not been initialized previously
Fixes 16322
2024-05-03 12:15:55 +00:00
David Allison
057693cdec
build(ci): decrease unit test timeout to 30 minutes
...
Our longest unit test runner is Windows (~18 mins)
We are currently having timeout issues with this runner,
hitting this 40 min timeout.
This saves about 7x10 minutes of CI time per day for failed runners
Save the trees
2024-05-03 08:23:54 +00:00
Hari Srinivasan
17e7cf71dd
Created test for onSelectedTags. ( #16307 )
...
* Created test for onSelectedTags.
* Reverted change, and moved to ReviewerTest.kt and formated it for it.
* Added test for onSelectedTags
* Modified to match legacy methods.
* assert question/answer display state before executing code under test
---------
Co-authored-by: Mike Hardy <github@mikehardy.net>
2024-05-02 18:12:02 -05:00