bitmask_android.git
11 days agoMerge branch 'faster_gateway_switch' into 'master' master
cyberta [Mon, 15 Feb 2021 21:38:33 +0000 (21:38 +0000)]
Merge branch 'faster_gateway_switch' into 'master'

switch faster to next gateway during eip setup if current one is not responsive

Closes #9022

See merge request leap/bitmask_android!124

11 days agoswitch faster to next gateway during eip setup if current one is not responsive
cyBerta [Mon, 15 Feb 2021 10:27:05 +0000 (11:27 +0100)]
switch faster to next gateway during eip setup if current one is not responsive

3 weeks agoMerge branch 'move_scripts' into 'master'
cyberta [Tue, 2 Feb 2021 15:36:46 +0000 (15:36 +0000)]
Merge branch 'move_scripts' into 'master'

Move scripts

See merge request leap/bitmask_android!120

3 weeks agomake sure ./prepareForDistribution.sh can be called from project root folder and...
cyBerta [Mon, 1 Feb 2021 01:02:34 +0000 (02:02 +0100)]
make sure ./prepareForDistribution.sh can be called from project root folder and the scripts folder

3 weeks agofix CI build
cyBerta [Sun, 31 Jan 2021 23:41:49 +0000 (00:41 +0100)]
fix CI build

3 weeks agodelete duplicated script
cyBerta [Sun, 31 Jan 2021 22:18:00 +0000 (23:18 +0100)]
delete duplicated script

3 weeks agofix gpg signing for -u flag
cyBerta [Sun, 31 Jan 2021 22:12:51 +0000 (23:12 +0100)]
fix gpg signing for -u flag

3 weeks agofix resetting colors
cyBerta [Sun, 31 Jan 2021 21:57:43 +0000 (22:57 +0100)]
fix resetting colors

3 weeks agomove more scripts to scripts folder, adapt gitlab ci and prepare_for_distribution...
cyBerta [Sun, 31 Jan 2021 20:51:29 +0000 (21:51 +0100)]
move more scripts to scripts folder, adapt gitlab ci and prepare_for_distribution script

3 weeks agocreate scripts to start several emulators for automatted testing
cyBerta [Sun, 31 Jan 2021 17:56:21 +0000 (18:56 +0100)]
create scripts to start several emulators for automatted testing

4 weeks agoupdate version to 1.0.7 1.0.7
cyBerta [Mon, 25 Jan 2021 14:59:55 +0000 (15:59 +0100)]
update version to 1.0.7

4 weeks agoupdate translations
cyBerta [Mon, 25 Jan 2021 12:06:53 +0000 (13:06 +0100)]
update translations

4 weeks agoAndroid O+ devices: only launch VPN on boot if always-on is enabled. For pre Android...
cyBerta [Mon, 25 Jan 2021 11:58:53 +0000 (12:58 +0100)]
Android O+ devices: only launch VPN on boot if always-on is enabled. For pre Android O: evaluate last connection state in OnBootReceiver

4 weeks agoMerge branch 'fix_always_on_reboot' into 'master'
cyberta [Mon, 25 Jan 2021 11:49:07 +0000 (11:49 +0000)]
Merge branch 'fix_always_on_reboot' into 'master'

Fix always on reboot

Closes #8994

See merge request leap/bitmask_android!119

4 weeks agoUpdate strings.xml
kwadronaut [Sun, 24 Jan 2021 15:06:22 +0000 (07:06 -0800)]
Update strings.xml

closes #9001

5 weeks agofix comment
cyBerta [Mon, 18 Jan 2021 11:41:55 +0000 (12:41 +0100)]
fix comment

5 weeks agoremove deprecated code
cyBerta [Mon, 18 Jan 2021 11:33:43 +0000 (12:33 +0100)]
remove deprecated code

5 weeks agofix de-/serialization of Connection objects. Fixes VPN auto-restart on reboot due...
cyBerta [Mon, 18 Jan 2021 11:32:47 +0000 (12:32 +0100)]
fix de-/serialization of Connection objects. Fixes VPN auto-restart on reboot due to always-on system settings or if system killed app due to low memory

6 weeks agoset abiFilter property to web for fatweb flavored builds so that apk file names diffe... 1.0.6
cyBerta [Tue, 12 Jan 2021 02:43:39 +0000 (03:43 +0100)]
set abiFilter property to web for fatweb flavored builds so that apk file names differ between fat and fatweb builds

6 weeks agofix existing tests and add one to test if a default data-ciphers parameter gets added...
cyBerta [Tue, 12 Jan 2021 00:11:11 +0000 (01:11 +0100)]
fix existing tests and add one to test if a default data-ciphers parameter gets added correctly

6 weeks agoadd missing data-cipher flags to VpnProfile and ConfigParser, fixes cipher negotiatio...
cyBerta [Mon, 11 Jan 2021 00:44:31 +0000 (01:44 +0100)]
add missing data-cipher flags to VpnProfile and ConfigParser, fixes cipher negotiation issues

6 weeks agoadd missing Fatweb build flavor to prepareForDistribution shell script
cyBerta [Sun, 10 Jan 2021 21:55:28 +0000 (22:55 +0100)]
add missing Fatweb build flavor to prepareForDistribution shell script

6 weeks agoupdate version to 1.0.6
cyBerta [Sun, 10 Jan 2021 17:51:57 +0000 (18:51 +0100)]
update version to 1.0.6

6 weeks agoupdate translations, update tx config to pull always donation translation for RiseupV...
cyBerta [Sun, 10 Jan 2021 15:55:08 +0000 (16:55 +0100)]
update translations, update tx config to pull always donation translation for RiseupVPN builds

6 weeks agoinstall Android R emulator
cyBerta [Sun, 10 Jan 2021 14:52:33 +0000 (15:52 +0100)]
install Android R emulator

6 weeks agoupdate docker images for sdk 30
cyBerta [Sun, 10 Jan 2021 14:15:40 +0000 (15:15 +0100)]
update docker images for sdk 30

6 weeks agofix default donation url
cyBerta [Sun, 10 Jan 2021 14:13:52 +0000 (15:13 +0100)]
fix default donation url

8 weeks agoremove unused strings from source strings.xml
cyberta [Thu, 31 Dec 2020 12:07:00 +0000 (13:07 +0100)]
remove unused strings from source strings.xml

8 weeks agoupdate translations
cyberta [Thu, 31 Dec 2020 11:56:54 +0000 (12:56 +0100)]
update translations

8 weeks agoMerge branch 'update_android_10' into 'master'
cyberta [Wed, 30 Dec 2020 03:24:27 +0000 (19:24 -0800)]
Merge branch 'update_android_10' into 'master'

Update android 10

See merge request leap/bitmask_android!118

8 weeks agofix scripts
cyBerta [Wed, 30 Dec 2020 02:57:41 +0000 (03:57 +0100)]
fix scripts

8 weeks agofix insecure flavored dev builds
cyBerta [Wed, 30 Dec 2020 01:46:28 +0000 (02:46 +0100)]
fix insecure flavored dev builds

8 weeks agoupdate ics-openvpn, openvpn, openssl, prepare Bitmask for Android 11
cyBerta [Wed, 30 Dec 2020 01:05:23 +0000 (02:05 +0100)]
update ics-openvpn, openvpn, openssl,  prepare Bitmask for Android 11

8 weeks agofix fatweb flavored builds
cyBerta [Wed, 30 Dec 2020 00:00:10 +0000 (01:00 +0100)]
fix fatweb flavored builds

8 weeks agoreplace jetbrains.annotations by androidx.annotations
cyBerta [Tue, 29 Dec 2020 23:58:00 +0000 (00:58 +0100)]
replace jetbrains.annotations by androidx.annotations

8 weeks agoupdate other dependencies
cyBerta [Tue, 29 Dec 2020 13:40:01 +0000 (14:40 +0100)]
update other dependencies

8 weeks agoupdate butterknife probably a last time
cyBerta [Tue, 29 Dec 2020 13:38:43 +0000 (14:38 +0100)]
update butterknife probably a last time

8 weeks agoMerge branch 'restructure_project' into 'master'
cyberta [Tue, 29 Dec 2020 01:05:35 +0000 (17:05 -0800)]
Merge branch 'restructure_project' into 'master'

Restructure project

See merge request leap/bitmask_android!117

8 weeks agomove NavigationDrawerFragment into fragments directory
cyBerta [Tue, 29 Dec 2020 00:01:05 +0000 (01:01 +0100)]
move NavigationDrawerFragment into fragments directory

8 weeks agonew year cleanup: restructure messy project
cyBerta [Mon, 28 Dec 2020 23:54:08 +0000 (00:54 +0100)]
new year cleanup: restructure messy project

8 weeks agoclean up pgpverify GO code
cyBerta [Mon, 28 Dec 2020 22:20:02 +0000 (23:20 +0100)]
clean up pgpverify GO code

8 weeks agoMerge branch 'android_10_exclude_apps' into 'master'
cyberta [Mon, 28 Dec 2020 22:15:05 +0000 (14:15 -0800)]
Merge branch 'android_10_exclude_apps' into 'master'

fix exclude apps feature

Closes #9012

See merge request leap/bitmask_android!116

8 weeks agoMerge branch 'automatic_updates_for_web_apks' into 'master'
cyberta [Mon, 28 Dec 2020 22:11:55 +0000 (14:11 -0800)]
Merge branch 'automatic_updates_for_web_apks' into 'master'

Automatic updates for web apks

Closes #8960

See merge request leap/bitmask_android!115

8 weeks agofix broken exclude apps feature
cyBerta [Mon, 28 Dec 2020 21:12:31 +0000 (22:12 +0100)]
fix broken exclude apps feature

8 weeks agoupdate preshipped provider.json, update api version
cyBerta [Mon, 28 Dec 2020 17:58:00 +0000 (18:58 +0100)]
update preshipped provider.json, update api version

8 weeks agocancel ongoing download notification if download failed
cyBerta [Mon, 28 Dec 2020 17:44:00 +0000 (18:44 +0100)]
cancel ongoing download notification if download failed

8 weeks agono need to use onActivityResult in InstallActivity during installation it won't be...
cyBerta [Mon, 28 Dec 2020 17:43:33 +0000 (18:43 +0100)]
no need to use onActivityResult in InstallActivity during installation it won't be called

8 weeks agoremove redundant check for file deletion if app update failed
cyBerta [Mon, 28 Dec 2020 15:14:49 +0000 (16:14 +0100)]
remove redundant check for file deletion if app update failed

8 weeks agodebounce notification creation during app download
cyBerta [Mon, 28 Dec 2020 15:13:52 +0000 (16:13 +0100)]
debounce notification creation during app download

8 weeks agofix lint issue, use parseInt instead of valueOf for string to integer conversion
cyBerta [Mon, 28 Dec 2020 15:12:51 +0000 (16:12 +0100)]
fix lint issue, use parseInt instead of valueOf for string to integer conversion

8 weeks agocleanup, remove unused code and deprecated comments
cyBerta [Mon, 28 Dec 2020 15:12:01 +0000 (16:12 +0100)]
cleanup, remove unused code and deprecated comments

8 weeks agocheck once a week for an app update
cyBerta [Mon, 28 Dec 2020 15:08:48 +0000 (16:08 +0100)]
check once a week for an app update

2 months agoremove never implemented multi-profile feature version code
cyBerta [Sun, 27 Dec 2020 23:48:35 +0000 (00:48 +0100)]
remove never implemented multi-profile feature version code

2 months agodownload apk, request permission and install app update
cyBerta [Sun, 27 Dec 2020 23:47:19 +0000 (00:47 +0100)]
download apk, request permission and install app update

2 months agoadd new download notification strings
cyBerta [Sun, 27 Dec 2020 23:06:27 +0000 (00:06 +0100)]
add new download notification strings

2 months agoimprove invisible activity theme
cyBerta [Sun, 27 Dec 2020 23:06:00 +0000 (00:06 +0100)]
improve invisible activity theme

3 months agoadd compiled go libs to gitignore
cyBerta [Mon, 9 Nov 2020 15:17:35 +0000 (16:17 +0100)]
add compiled go libs to gitignore

3 months agoinitial auto-update implementation: introducing fatweb flavor, pgpverify go library...
cyBerta [Mon, 9 Nov 2020 14:37:31 +0000 (15:37 +0100)]
initial auto-update implementation: introducing fatweb flavor, pgpverify go library and bitmask core library, basic update mechanism

7 months agoMerge branch 'work_on_translations' into 'master'
cyberta [Sun, 26 Jul 2020 23:54:15 +0000 (16:54 -0700)]
Merge branch 'work_on_translations' into 'master'

Work on translations

Closes #8984

See merge request leap/bitmask_android!114

7 months agoupdate language de
cyBerta [Sun, 26 Jul 2020 23:21:21 +0000 (01:21 +0200)]
update language de

7 months agofix string #8984
cyBerta [Sun, 26 Jul 2020 22:39:03 +0000 (00:39 +0200)]
fix string #8984

7 months agodefault norwegian nb to no
cyBerta [Sun, 26 Jul 2020 21:29:18 +0000 (23:29 +0200)]
default norwegian nb to no

7 months agoupdate translations
cyBerta [Sun, 26 Jul 2020 21:28:15 +0000 (23:28 +0200)]
update translations

7 months agoupdate version to 1.0.5 1.0.5
cyBerta [Sun, 26 Jul 2020 11:26:16 +0000 (13:26 +0200)]
update version to 1.0.5

7 months agominor fix in dns blocking circumvention
cyBerta [Sun, 26 Jul 2020 11:08:13 +0000 (13:08 +0200)]
minor fix in dns blocking circumvention

7 months agoJobIntentServices leak activity context in APIs < 25, use application context instead
cyBerta [Sun, 26 Jul 2020 10:01:53 +0000 (12:01 +0200)]
JobIntentServices leak activity context in APIs < 25, use application context instead

7 months agoremove demo providers
cyBerta [Sun, 26 Jul 2020 09:36:17 +0000 (11:36 +0200)]
remove demo providers

7 months agoupdate translations
cyBerta [Sun, 26 Jul 2020 09:18:59 +0000 (11:18 +0200)]
update translations

7 months agoupdate version to 1.0.4 1.0.4
cyBerta [Sun, 26 Jul 2020 01:57:56 +0000 (03:57 +0200)]
update version to 1.0.4

7 months agoMerge branch 'tile_service' into 'master'
cyberta [Sun, 26 Jul 2020 01:26:22 +0000 (18:26 -0700)]
Merge branch 'tile_service' into 'master'

implement tile service #8762

See merge request leap/bitmask_android!113

7 months agoimplement tile service #8762
cyBerta [Sun, 26 Jul 2020 00:51:34 +0000 (02:51 +0200)]
implement tile service #8762

7 months agoMerge branch 'riseup_background_compatibility' into 'master'
cyberta [Sat, 25 Jul 2020 21:25:29 +0000 (14:25 -0700)]
Merge branch 'riseup_background_compatibility' into 'master'

fix android 4 UI bugs

See merge request leap/bitmask_android!112

7 months agofix dialogs popping up multiple times after orientation change
cyBerta [Sat, 25 Jul 2020 20:21:29 +0000 (22:21 +0200)]
fix dialogs popping up multiple times after orientation change

7 months agoremove unused import
cyBerta [Sat, 25 Jul 2020 20:20:14 +0000 (22:20 +0200)]
remove unused import

7 months agofix rounded image in donation dialog for Android 4 devices
cyBerta [Sat, 25 Jul 2020 20:19:42 +0000 (22:19 +0200)]
fix rounded image in donation dialog for Android 4 devices

7 months agomove default background images to drawable-nodpi, drawable is treated as mdpi and...
cyBerta [Sat, 25 Jul 2020 19:21:22 +0000 (21:21 +0200)]
move default background images to drawable-nodpi, drawable is treated as mdpi and will lead to upscaled images. Fixes blank background images on older devices because of exceeded opengl pixel width/height limits

7 months agoMerge branch 'upgrade_to_1.0.4' into 'master'
cyberta [Sat, 25 Jul 2020 18:24:39 +0000 (11:24 -0700)]
Merge branch 'upgrade_to_1.0.4' into 'master'

Upgrade to 1.0.4

See merge request leap/bitmask_android!111

7 months agoconvert webp files to compressed pngs, because Android 4 devices couldn't display...
cyBerta [Sat, 25 Jul 2020 18:03:59 +0000 (20:03 +0200)]
convert webp files to compressed pngs, because Android 4 devices couldn't display webp's correctly

7 months agofix UI bug overlapping fragments #8989
cyBerta [Sat, 25 Jul 2020 17:35:06 +0000 (19:35 +0200)]
fix UI bug overlapping fragments #8989

7 months agoMerge branch 'improve_provider_setup_UI' into 'master'
cyberta [Sat, 25 Jul 2020 14:58:05 +0000 (07:58 -0700)]
Merge branch 'improve_provider_setup_UI' into 'master'

Improve provider setup ui

Closes #8990

See merge request leap/bitmask_android!109

7 months agoadd comment about provider reset method
cyBerta [Sat, 25 Jul 2020 14:47:07 +0000 (16:47 +0200)]
add comment about provider reset method

7 months agoreset configured provider on update to version 1.0.4 so that the geoip url is picked...
cyBerta [Sat, 25 Jul 2020 14:45:02 +0000 (16:45 +0200)]
reset configured provider on update to version 1.0.4 so that the geoip url is picked correctly

7 months agouse build.gradle's geoipUrl for custom branded apps
cyBerta [Sat, 25 Jul 2020 14:40:29 +0000 (16:40 +0200)]
use build.gradle's geoipUrl for custom branded apps

7 months agoMerge branch 'geoip_service_no_vpn' into 'master'
cyberta [Sat, 25 Jul 2020 12:30:30 +0000 (05:30 -0700)]
Merge branch 'geoip_service_no_vpn' into 'master'

only allow geoip service calls if the vpn is not yet running in order to get proper results

See merge request leap/bitmask_android!110

7 months agoonly allow geoip service calls if the vpn is not yet running in order to get proper...
cyBerta [Sat, 25 Jul 2020 11:30:58 +0000 (13:30 +0200)]
only allow geoip service calls if the vpn is not yet running in order to get proper results

7 months agofix provider setup after refactorings
cyBerta [Sat, 25 Jul 2020 11:22:21 +0000 (13:22 +0200)]
fix provider setup after refactorings

7 months agoregister and unregister providerAPIBroadcastReceiver in onCreate/onDestroy in order...
cyBerta [Sat, 25 Jul 2020 09:21:02 +0000 (11:21 +0200)]
register and unregister providerAPIBroadcastReceiver in onCreate/onDestroy in order to fix #8990

7 months agofix memory leak
cyBerta [Sat, 25 Jul 2020 09:19:53 +0000 (11:19 +0200)]
fix memory leak

7 months agoget rid of ProviderAPIResultReceiver, rely completely on BroadcastReceivers
cyBerta [Sat, 25 Jul 2020 09:19:23 +0000 (11:19 +0200)]
get rid of ProviderAPIResultReceiver, rely completely on BroadcastReceivers

7 months agoMerge branch 'support_geoip' into 'master'
cyberta [Fri, 24 Jul 2020 17:20:22 +0000 (10:20 -0700)]
Merge branch 'support_geoip' into 'master'

Support geoip

See merge request leap/bitmask_android!108

7 months agotry to fetch geoip service only if non-default url exists
cyBerta [Fri, 24 Jul 2020 16:38:45 +0000 (18:38 +0200)]
try to fetch geoip service only if non-default url exists

7 months agoremove unused methods
cyBerta [Fri, 24 Jul 2020 15:48:46 +0000 (17:48 +0200)]
remove unused methods

7 months agofix bug in vpn profile based gateway order detection, write additional tests for it
cyBerta [Fri, 24 Jul 2020 15:40:15 +0000 (17:40 +0200)]
fix bug in vpn profile based gateway order detection, write additional tests for it

7 months agofix bug in gateway selection - always iterate through all gateways and count those...
cyBerta [Fri, 24 Jul 2020 14:30:02 +0000 (16:30 +0200)]
fix bug in gateway selection - always iterate through all gateways and count those supporting the requested transport in order to get the nClosest gateway; adding more tests

7 months agoadapt profile selection after perordered gateway list was introduced and use profiles...
cyBerta [Fri, 24 Jul 2020 13:41:17 +0000 (15:41 +0200)]
adapt profile selection after perordered gateway list was introduced and use profiles mUsePluggableTransports flag instead of shared preferences to get the requested transport

7 months agoadd test that geoip service is only fetched when the timeout was reached
cyBerta [Fri, 24 Jul 2020 11:51:33 +0000 (13:51 +0200)]
add test that geoip service is only fetched when the timeout was reached

7 months agoadd test for case if geoip service is not available/down
cyBerta [Fri, 24 Jul 2020 11:42:57 +0000 (13:42 +0200)]
add test for case if geoip service is not available/down

7 months agoremove timestamps from providers equals() check and reset timestamps in reset method
cyBerta [Fri, 24 Jul 2020 11:41:05 +0000 (13:41 +0200)]
remove timestamps from providers equals() check and reset timestamps in reset method

7 months agofinish happy path unit test for geoipservice api
cyBerta [Thu, 23 Jul 2020 16:27:08 +0000 (18:27 +0200)]
finish happy path unit test for geoipservice api

7 months agoadapt existing tests for geoipservice api
cyBerta [Thu, 23 Jul 2020 15:41:26 +0000 (17:41 +0200)]
adapt existing tests for geoipservice api