1553 Commits

Author SHA1 Message Date
mhutti1
418d636734 Tests don't run on insecure build 2017-06-30 12:40:48 +02:00
Rashiq
1bd00248f6 Remove unused file 2017-06-30 12:08:37 +02:00
Laco Papay
b653de3867 Remove duplicate code, use localized string. 2017-06-30 11:41:49 +02:00
Laco Papay
9ba195dbf5 Fix language selector crash.
When going from no filters to any filter the app would crash, because the
filteredBooks list would be set to the immutable allBooks and couldn't be
cleared anymore. Instead do a deep copy of the elements.

Also some minor fixes (typos, style).
2017-06-30 11:41:49 +02:00
Lukas Renggli
fb4cde0955 Remove JUnit from release compile 2017-06-30 11:12:09 +02:00
Rashiq
c2ee5cb5ce Update gradle wrapper 2017-06-30 08:34:15 +02:00
Rashiq
c901a30989 Fix build for mac 2017-06-30 08:25:43 +02:00
mhutti1
af5d6778da Incremented gradle version 2017-06-29 23:44:15 +02:00
Matthieu Gautier
f8dc84950d Merge pull request #146 from kiwix/custom_app
Custom app
2017-05-24 15:21:56 +02:00
Matthieu Gautier
500ec5f8bf Do not look for zim_file if not necessary.
For non embedded zim file, we use the zim file only to get its size.
If we want to build an apk, we do not need the zim file itself, we only
need its size.
2017-05-24 15:06:20 +02:00
Matthieu Gautier
a0e08c9cee Move the versionCode and versionName into the gradle file.
Google itself says it is better to specify the versions in the gradle file:
https://developer.android.com/studio/publish/versioning.html

And it allow us the specify a specific versionCode by environment variable
instead of by modifying files.
2017-05-24 15:06:20 +02:00
Matthieu Gautier
a0b4ed21a5 Merge pull request #148 from kiwix/update_icudata2
Look for the right icu data filename
2017-05-24 15:06:00 +02:00
Matthieu Gautier
57744b3c1f Look for the right icu data filename 2017-05-24 11:37:23 +02:00
Kelson
e21e7368c4 Merge pull request #147 from kiwix/update_icudata
Update icudata.
2017-05-24 09:16:30 +02:00
Matthieu Gautier
6fa885fb64 Update icudata.
The `icudt.dat` will be overwritten by `kiwix-build` (if used).
However, kiwix-android must be compilable without `kiwix-build` so let's
store the new version.
2017-05-23 17:17:52 +02:00
borisfba
dcdb6037e6 Merge pull request #145 from kiwix/fba/time_est
Estimation of download remaining time
2017-05-22 18:30:52 +02:00
Isaac Hutt
9248d073aa Merge branch 'master' into fba/time_est 2017-05-21 15:46:58 +02:00
fba
068da5680b Show estimation in notification 2017-05-21 12:42:59 +02:00
fba
6073396bde Estimation of download remaining time 2017-05-20 23:52:45 +02:00
mhutti1
ef2ceed7e1 Allow users to specify a custom path to search/save toi #40 2017-05-20 21:29:32 +01:00
Isaac Hutt
354b34e7c0 Merge pull request #140 from kiwix/135
WiFi only preference added
2017-05-20 18:10:09 +02:00
Isaac Hutt
1525a81ab7 Merge branch 'master' into 135 2017-05-20 17:41:00 +02:00
fba
f8ec5e5f3d Clean up 2017-05-20 17:35:50 +02:00
fba
a619b6fcb8 Clean up 2017-05-20 17:16:00 +02:00
fba
58055acce3 Few fixes 2017-05-20 16:42:24 +02:00
fba
dbbb4d1cdc Show warning dialog instead of toast 2017-05-20 15:22:17 +02:00
mhutti1
8cc305e08e Pass current local in as user agent to webview #25 2017-05-20 15:20:05 +02:00
mhutti1
a3a6b1d2f0 Fixed test failure 2017-05-20 15:20:05 +02:00
mhutti1
e0f7599f04 Content bar updates on resume if not downloading #20 2017-05-20 15:20:05 +02:00
fba
7d221be620 WiFi only preference added 2017-05-20 15:15:08 +02:00
mhutti1
4a73fae3b3 New Library URL #105 2017-05-20 15:15:08 +02:00
mhutti1
36d5b8cfe0 Pass current local in as user agent to webview #25 2017-05-20 09:47:43 +01:00
mhutti1
46c9b13d9e Fixed test failure 2017-05-20 09:13:10 +01:00
mhutti1
37db39362c Content bar updates on resume if not downloading #20 2017-05-20 09:13:10 +01:00
mhutti1
4f5e27133a New Library URL #105 2017-05-19 13:29:42 +01:00
nomisto
50e2ba6d83 Doesn't set up flavours for each custom app if the custom app directory doesnt exist. 2017-05-05 20:11:19 +01:00
Matthieu Gautier
e82dec33cf Custom app json info file is named info.json not test.json
All custom apps have a json file called `info.json`. And it makes more
sense than `test.json`.
2017-05-02 16:52:50 +01:00
Isaac Hutt
c2b551b063 Merge pull request #120 from kiwix/mhutti1/testdocs
Created initial test documentation
2017-04-28 11:07:21 +01:00
Isaac Hutt
05f2401c06 Add note about dependency injection and mocking 2017-04-28 11:29:20 +02:00
Isaac Hutt
60dade66bf Created initial test documentation 2017-04-28 11:00:16 +02:00
Isaac Hutt
a63ce1f4ed Merge pull request #119 from kiwix/mhutti1/testimprovements
Fetch licenses from kiwix server
2017-04-27 17:49:15 +01:00
mhutti1
6b045cb544 Small test change 2017-04-27 18:12:53 +02:00
mhutti1
252f83bc79 Test sudo config 2017-04-27 17:51:57 +02:00
mhutti1
f8f4d38622 Ignore IO error 2017-04-27 17:33:25 +02:00
mhutti1
dda28a0f5b Merge branch 'mhutti1/testimprovements' of https://github.com/kiwix/kiwix-android into mhutti1/testimprovements 2017-04-27 17:06:04 +02:00
mhutti1
d5ece49fa9 Removed unnesessary command 2017-04-27 17:05:52 +02:00
Isaac Hutt
4768a469c2 Merge branch 'master' into mhutti1/testimprovements 2017-04-27 15:54:31 +01:00
mhutti1
f80efd4200 Fetch licenses from kiwix server 2017-04-27 16:53:51 +02:00
Isaac Hutt
c427aa6f95 Merge pull request #116 from kiwix/mhutti1/testimprovements
Mhutti1/testimprovements
2017-04-27 15:31:21 +01:00
mhutti1
865c535f88 Extend test timeout 2017-04-27 15:53:45 +02:00