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

8755 Commits

Author SHA1 Message Date
Mike Hardy
a3c8f5a2b9 Update gradle to 4.10
`./gradlew wrapper --gradle-version=4.10 --distribution-type=all`
2018-09-08 16:43:06 +09:00
Mike Hardy
42a8d912bc Bump junit-vintage-engine to 5.3.0 (dependabot) 2018-09-08 16:43:06 +09:00
Timothy Rae
9e98d6294b Bumped version to 2.9alpha29
@branch-specific
2018-09-08 15:26:58 +09:00
Mike Hardy
aa5c547cd3 Remove Yoda style we must 2018-09-08 15:21:57 +09:00
Mike Hardy
55a2253206 Use event logic only, target API26, Fixes #4883 2018-09-08 15:21:57 +09:00
Timothy Rae
b00a69db53 Bumped version to 2.9alpha28
@branch-specific
2018-09-06 06:24:32 +09:00
Mike Hardy
8585f15b85 Use Notification Channels, Fixes #4884 2018-09-06 06:19:35 +09:00
Mike Hardy
d44c864a45 Request WAKE_LOCK prior to use, fixes crash 2018-09-06 06:19:35 +09:00
Mike Hardy
169cf16127 Align semantics between study reminder trigger and text 2018-09-06 06:19:35 +09:00
Mike Hardy
7acc79e14e Coverage reports / Codacy integration (#4919)
* Add jacoco dependency, bump gradle plugin dependency
* Implement integrated coverage report for debug builds
* Report coverage in Travis, aggregate all API reports in Codacy

Fixes #4914
Fixes #3056
Fixes #4588
Fixes #2254
2018-09-03 17:02:27 +09:00
Mike Hardy
addaac9466 Upgrade to requery 3.24.0 w/extra dependency req'd for compile (#4920) 2018-08-29 20:48:03 +09:00
Mike Hardy
127f599c68 ACRA upgrade to 5.1.3 (#4893) 2018-08-29 00:21:35 +09:00
Mike Hardy
f04cef4bc5 Update dependencies that required no code changes (#4912)
Note the beta android gradle plugin is needed in combo with gradle 4.9,
but it should not have any change on compilation artifacts until D8 is enabled
2018-08-18 10:00:58 +09:00
Nubbify
e216df629c Fix for issue #4820 (#4900) 2018-07-29 20:42:43 +09:00
Timothy Rae
0048bb50bd Bumped version to 2.9alpha27
@branch-specific
2018-07-29 16:36:19 +09:00
Timothy Rae
db0e1c6983 Update url for crowdin zip file
The old url is failing now, I guess they changed the path
2018-07-29 16:35:04 +09:00
Timothy Rae
5d6a247775 Updated strings from Crowdin 2018-07-29 16:33:50 +09:00
Timothy Rae
ba7cca3f2c Add esperanto to language selector 2018-07-29 16:25:03 +09:00
Timothy Rae
efad125935 Vertically center text in card browser list view 2018-07-29 16:16:14 +09:00
Timothy Rae
6bf263c4bb Bumped version to 2.9alpha26
@branch-specific
2018-07-29 16:02:39 +09:00
Timothy Rae
40e942f095 Maintain vertical position of selected item when entering/exiting multiselect mode 2018-07-29 15:58:22 +09:00
Timothy Rae
845571e57d Revert "To prevent rows from getting much larger in multi-select mode (because of the checkbox) and jumping out of view: set smaller margins so cells have about the same height even though extra space for the checkbox is needed"
This reverts commit 81ddbd690d.
2018-07-29 15:58:22 +09:00
Timothy Rae
722684adbb Updated strings from Crowdin 2018-07-05 00:19:03 +09:00
Timothy Rae
6fed42e611 Update manage-crowdin script to python3
pycurl isn't that easy to install for python2 on modern linux systems
2018-07-05 00:18:31 +09:00
Timothy Rae
c06b9790f4 Bumped version to 2.9alpha25
@branch-specific
2018-07-04 08:23:11 +09:00
Valentin
81ddbd690d To prevent rows from getting much larger in multi-select mode (because of the checkbox) and jumping out of view: set smaller margins so cells have about the same height even though extra space for the checkbox is needed 2018-07-04 08:19:24 +09:00
Mike Hardy
27c2d06f2d Specify reason for exceptions on schema mods 2018-07-02 07:12:28 +09:00
Mike Hardy
d1c09fe767 Upgrade instrumented tests to Junit4 / Fix permission errors
- Upgrade JUnit3+AndroidTestCase to JUnit4 + Annotations
- Add ATSL (Android Test Support Library, new from google)
- Fix test permission errors w/@GrantPermissionRule from ATSL! API 24 works!
  - https://developer.android.com/reference/android/support/test/rule/GrantPermissionRule
- Run tests with orchestrator to run connected tests; crash+state isolation
- Added a "RetryRule" to re-run a flaky test and used it on MediaImporter, works 2000 times and fails 1...
2018-07-02 07:12:02 +09:00
Timothy Rae
b1ee58c21c Bumped version to 2.9alpha24
@branch-specific
2018-06-26 09:25:47 +09:00
Valentin Rublack
d98f676d09 Browser multiselect (#4839)
Fixes #2339 

Originally based on @chickendude's fork (see issue #2339)
2018-06-26 09:24:10 +09:00
Timothy Rae
90fa958d09 Bumped version to 2.9alpha23
@branch-specific
2018-06-26 09:16:47 +09:00
Timothy Rae
93d2f80e8e Updated strings from Crowdin 2018-06-26 08:58:16 +09:00
Timothy Rae
752e9afb8a Add support for Esperanto 2018-06-26 08:57:28 +09:00
Mike Hardy
56773418d9 Expose deprecation details, examine+suppress one 2018-06-18 22:01:38 +09:00
Mike Hardy
944a587e72 Update two javadocs to indicate there may be errors 2018-06-18 22:01:38 +09:00
Mike Hardy
ebd16feb11 Upgrade Timber logging dependency, refactor to new Timber API 2018-06-18 08:39:37 +09:00
Mike Hardy
d7bf29784e Update codestyle, small addition auto-added by AndroidStudio 2018-06-17 11:12:44 +09:00
Mike Hardy
6ce278ddde Use more API levels in CI, move to sdkmanager/avdmanager 2018-06-16 13:45:01 +09:00
Mike Hardy
c4377db1e3 Allow Android Studio formatting settings in git as exception
code style itself was imported to Android Studio via Checkstyle plugin
using the file docs/code_conventions/eclipse/ankidroid.checkstyle.xml,
with the only alterations being to implement blank line rules from
/docs/code_conventions/AnkiDroid_code_conventions.html
2018-06-15 06:09:28 +09:00
Mike Hardy
2434d3e346 Upgrade test dependencies and migrate tests to new APIs
- Junit 4 -> Junit 5 using Vintage Engine
    - Mockito -> 1.10.x -> 2.18.x
    - Powermock 1.6.x -> Powermock 2.0.x
2018-06-14 08:15:42 +09:00
Mike Hardy
c42f374428 Init mocks prior to using them to avoid NPEs, Fixes #4873 2018-06-14 07:32:45 +09:00
Mike Hardy
6157e125bd move templates to main .github folder to be single templates 2018-06-11 16:24:32 +09:00
Mike Hardy
10fe4a04ec gradle plugin to 3.1.3 to match Android Studio update 2018-06-11 08:37:49 +09:00
Mike Hardy
9a3b9d2795 google() is sufficient for deps, but it should be first 2018-06-11 08:37:49 +09:00
Mike Hardy
2c51ed0782 Add pull request template 2018-06-11 08:34:49 +09:00
Mike Hardy
60d2ec8e84 move issue template to current github recommended dir 2018-06-11 08:34:49 +09:00
Ryan Radford
22c2592123 Make first FieldEditText the initial focus when editing a note (#4817) 2018-06-10 12:23:13 +09:00
Mike Hardy
a42492795a Safely use HTML 5 for Java10; use google repos first (#4862) 2018-06-08 12:42:25 +09:00
Mike Hardy
7bfffab398 Add method verifying one path is inside another, with tests (#4860) 2018-05-31 22:27:03 +09:00
Timothy Rae
a1f22682c1 Fix inconsistent version number in API 2018-05-30 05:46:25 +09:00