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

19510 Commits

Author SHA1 Message Date
Aditya kumar
bc75f078bc Fixed the timebox 2024-08-26 10:39:11 +00:00
lukstbit
92b4525691 Fix foreground of status bar when using SingleFragmentActivity
SingleFragmentActivity was built with a call to setTransparentStatusBar()
which worked great for the initial Statistics page but currently the
activity can be used/is used with other fragments as well which don't
need this call(and results in undesired status bar foreground colors).
2024-08-26 10:34:07 +00:00
lukstbit
248a0eaa54 Revert "Fix:Status bar color"
This reverts commit 7512a8e545.
The commit provided a fix related to the status bar colors but it
didn't worked. See #16770.
2024-08-26 10:34:07 +00:00
Robozinho
207a16ccb4 use backend string for backups 2024-08-25 15:53:17 +00:00
Arthur Milchior
0ac307c382 NF: remove all onboarding related code
It seems it will never get used.

19-onboarding was not sent to crowdin for translation. So no need to
remove the file in other directories or update the translation script.
2024-08-25 10:20:12 +00:00
SanjaySargam
92f4d1c091 feat: deckpicker drag & drop 2024-08-24 03:24:41 +00:00
Mike Hardy
6630ff411d Bumped version to 2.19beta1 2024-08-23 21:18:32 +00:00
Mike Hardy
54c8d458fb release: switch 2.19 to beta version series, beta play store track 2024-08-23 18:14:18 +00:00
AnkiDroid Translations
0137b5c50b Updated strings from Crowdin 2024-08-23 17:22:46 +00:00
David Allison
2aa2040173 feat(libAnki): implement decks.cardCount()
Sourced from

a179da3827/pylib/anki/decks.py (L225)
2024-08-22 18:17:47 +00:00
parasite-68
fa5c6c296b docs: Twitter link changed to X 2024-08-22 17:40:14 +00:00
Moreno
8b5eb60ba3 add toggle auto advance command 2024-08-22 17:36:07 +00:00
Sumit Singh
fe88577dc5 Update top bar setting description 2024-08-22 17:36:01 +00:00
AnkiDroid Translations
1c4d66b55d Updated strings from Crowdin 2024-08-22 17:21:31 +00:00
Shruti Gitte
72e023a254 update:twitter logo 2024-08-22 17:00:03 +00:00
Arthur Milchior
1985077bbf Document the reason for dynamic shortcuts
I was very surprised to see we used dynamic and not static one. I
tried to transform them into static shortcut, which seems cleaner. And
realized that we can't for a very absurd technical reason.

So I document it here, hoping nobody else will lose time on it.
2024-08-22 16:37:22 +00:00
David Allison
f5bd014752 docs(deps): add 'kotlin' changelog
Dependabot lists changes, but the changelog is often
truncated due to its size
2024-08-22 16:21:14 +00:00
David Allison
20d4627ab5 build(deps): consolidate 'kotlin' dependency
Libraries are released in lockstep
2024-08-22 16:21:14 +00:00
Warley
2910ce55a8 fix(api): /schedule limit parameter returned same data
The limit parameter didn't work: returning the same card data N times
2024-08-22 13:26:29 +00:00
Arthur Milchior
3f68530c0f NF: Don't update the deck list when the deck picker is hidden
I discover that each time an action occur in the reviewer, the deck
picker is updated. This is uselessly costly.

I tested and when going back to the deck picker, I still get the up to
date data immediately.
2024-08-22 09:30:50 +00:00
Mike Hardy
f720ae030b Bumped version to 2.19alpha12 2024-08-21 18:54:12 +00:00
MorenoTropical
8878e0f537 fix: check sign in note editor 2024-08-21 16:56:18 +00:00
AnkiDroid Translations
92da13444c Updated strings from Crowdin 2024-08-21 16:16:47 +00:00
Mike Hardy
e4e19327e0 fix: use anki 24.06.03 as new backend 2024-08-21 16:01:32 +00:00
Mike Hardy
28704d6822 test: identical values in filtered decks are shuffled now
this behavior changed upstream, with associated test change, we adopt it here
ref: 55d68c01d8
2024-08-21 16:01:32 +00:00
Ashish Yadav
353da3eaaa fix: unnecessary camera permission check
* We previously removed the camera permission from the manifest file (commit: fix: remove camera permission #14162, by Brayan). However, the code now includes a check for this permission that was introduced in commit 6a8ede0. Since th permission is not declared, this check fails, and the camera cannot be launched.

* The camera feature is declared in the manifest file as <uses-feature android:name="android.hardware.camera" /> rather than using <uses-permission android:name="android.permission.CAMERA" />. This omission causes the current permission
check to always return false, preventing users from accessing the camera options. This PR corrects that issue by removing that permission check.
2024-08-21 02:24:25 +00:00
AnkiDroid Translations
1a0f620078 Updated strings from Crowdin 2024-08-21 02:23:22 +00:00
Mike Hardy
7fbfcae180 docs: add comment on when deprecated code may be removed
I dislike seeing this build-time deprecation warning every build,
and investigated if we could remove this. We can't but I was able
to see when, so I wrote it out in order to not forget and spend
the time researching again

The comment I left should show up in standard searches for removable
code based on VERSION_CODES / minSdk when we bump versions
2024-08-19 23:30:36 +00:00
Robozinho
a33e6eab7d fix: template previewer UI
the template previewer was tightly coupled with the template editor, and
that isn't a good design. To solve that, I decoupled the template
previewer in two fragments: a view and a standalone page.
All of the original style of the template previewer was fixed.

I gave credits to BrayanDSO in TemplatePreviewerPage.kt because most of
the code is his and I don't want the credits myself

I also removed the duplicated TabLayout in the card editor because it
didn't make sense to me.
2024-08-19 22:27:23 +00:00
Robozinho
aa6022ad70 refactor: move status bar color change 2024-08-19 22:27:23 +00:00
Mike Hardy
91b984a6a1 test: compare whole string not first char in NoteEditor test
this test is marked flaky so it won't ever run in CI but it was
failing locally for me every time as it was comparing the first
char of the string it pulled to a string, instead of string vs string
2024-08-19 15:04:33 +00:00
AnkiDroid Translations
127fa3287f Updated strings from Crowdin 2024-08-19 14:57:53 +00:00
Ashish Yadav
5889d13b28 chore: add tooltip text in instant note editor buttons 2024-08-19 14:19:12 +00:00
dependabot[bot]
9541b3a8ee chore(deps): bump gradle/actions from 3 to 4
Bumps [gradle/actions](https://github.com/gradle/actions) from 3 to 4.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/v3...v4)

---
updated-dependencies:
- dependency-name: gradle/actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 14:13:14 +00:00
AnkiDroid Translations
75f17dfb0b Updated strings from Crowdin 2024-08-19 12:17:53 +00:00
AnkiDroid Translations
edfdb88d25 Updated strings from Crowdin 2024-08-19 08:55:30 +00:00
Sahil-Mandal15
3f7dcfdb8d
Fix: Tell the users why card type deletion fails when this would orphan note. (#16840)
* added the alertDialog when users deletes the card type that causes orphan note which describes why the card type cannot be deleted also added the messages into the strings.xml

* completing changes requested for the fix-16789

* made changes in the test file to match the text in the fix:16789

* removed the unused string after adding the new string to test case.
2024-08-18 23:21:45 -05:00
AnkiDroid Translations
bd756fc49a Updated strings from Crowdin 2024-08-19 04:04:35 +00:00
Voczi
ce6b0864a5 fix: new reviewer crashes when adding a note 2024-08-18 14:15:42 -03:00
Arthur Milchior
6967cc8732 Correct description 2024-08-18 12:12:32 +00:00
shuvashish76
bc942c2f9f Add files via upload 2024-08-18 12:12:32 +00:00
shuvashish76
6f52a3259f Delete old app icon 2024-08-18 12:12:32 +00:00
shuvashish76
d5439af1c4 Update new full_description 2024-08-18 12:12:32 +00:00
shuvashish76
941640778b Add fastlane metadata for F-Droid
Addresses #7999
2024-08-18 12:12:32 +00:00
SanjaySargam
e1a553b3cf cardbrowser: keyboard shortcuts
Keyboard shortcuts:

Ctrl+Shift+A : Add tag
Ctrl+Shift+E : Export selected cards
Ctrl+Alt+N : Reset card progress
Ctrl+Alt+T : Toggle cards/notes
T : Show filter by tags
Ctrl+Shift+S : Reposition selected cards
Ctrl+Alt+S : Show saved searches
Ctrl+S : Save search
Alt+S : Show suspended cards
Ctrl+Shift+J : Toggle bury cards
Ctrl+J : Toggle suspended cards
Ctrl+Shift+I : Card Info
Ctrl+O : Show order dialog
Ctrl+M : Mark note
Ctrl+Z : Undo
ESC : Select none
Ctrl+1 : Red flag
Ctrl+2 : Orange flag
Ctrl+3 : Green flag
Ctrl+4 : Blue flag
Ctrl+5 : Pink flag
Ctrl+6 : Turqoise flag
Ctrl+7 : Purple flag
2024-08-17 17:27:08 +00:00
Ashish Yadav
f108911ff6 fix: IllegalStateException in audio player 2024-08-17 17:26:02 +00:00
Sumit Singh
f0e5c32ada refactor: commons compress improvements 2024-08-17 01:45:55 +00:00
Mike Hardy
1e1e46d7e2 Bumped version to 2.19alpha11 2024-08-17 01:47:07 +00:00
Mike Hardy
34e48ad35b build(ci): reclaim disk space on emulator runner
it is relatively easy to do an rm-rf directly but there are maintained
workflow actions that remove everything for you

This is the most-maintained fork of the most popular one I've used before

It defaults to true, and each item you remove takes time. I think dotnet
is the biggest one and should be sufficient so only remove it and that
should be sufficient
2024-08-17 00:50:24 +00:00
AnkiDroid Translations
d9fd9445a6 Updated strings from Crowdin 2024-08-17 00:50:24 +00:00