akwizgran
18b3865a86
Factor out Cancellable interface from TaskScheduler.
2022-05-24 15:10:07 +01:00
akwizgran
d2f25f2ebe
Refactor Tor plugin factories.
2022-05-19 14:12:36 +01:00
akwizgran
116ee97056
Merge branch '1980-catch-security-exceptions-from-connectivity-manager' into 'master'
...
Catch SecurityExceptions from all ConnectivityManager calls
Closes #1980
See merge request briar/briar!1634
2022-04-20 14:51:57 +00:00
akwizgran
afff66eaff
Don't assume that non-null WifiInfo means we're connected to wifi.
2022-04-20 12:42:35 +01:00
akwizgran
a8624cd507
Guess connectivity when ConnectivityManager is broken.
2022-04-19 11:27:40 +01:00
akwizgran
e7fc37d81e
Catch SecurityExceptions from all ConnectivityManager calls.
...
This issue occurs on Android 11 and no fix is expected. When the issue occurs, Tor connectivity and outgoing LAN connectivity will be broken until the app is restarted.
2022-04-19 11:03:08 +01:00
Torsten Grote
7bd220f18d
Merge branch 'clear-glide-cache-under-more-circumstances' into 'master'
...
Clear the Glide cache in response to a wider range of warnings
See merge request briar/briar!1633
2022-04-18 16:46:31 +00:00
Torsten Grote
a7877bf7ee
Merge branch '2273-rethrow-security-exceptions-for-removable-drives' into 'master'
...
Rethrow SecurityExceptions when opening files on removable drives
Closes #2273
See merge request briar/briar!1625
2022-04-18 12:11:42 +00:00
akwizgran
3c08e86822
Rethrow SecurityExceptions when opening files on removable drives.
2022-04-17 11:36:16 +01:00
akwizgran
de2c9670d5
Clear the Glide cache in response to a wider range of warnings.
2022-04-17 10:50:59 +01:00
akwizgran
9632754274
Ensure task is added to queue before queue is checked.
2022-04-16 19:32:51 +01:00
Torsten Grote
cff94009a1
Merge branch 'tor-0.4.5' into 'master'
...
Upgrade to Tor 0.4.5.12-1 and obfs4proxy 0.0.12
See merge request briar/briar!1608
2022-04-01 14:00:50 +00:00
akwizgran
bd50a109cd
Keep empty directory for unpacking Tor binaries.
2022-03-29 16:19:47 +01:00
cketti
50f9718037
Truncate existing file when writing to removable drive
2022-03-29 01:27:01 +02:00
akwizgran
7aa1073bf5
Replace ClassImposteriser with ByteBuddyClassImposteriser.
...
This may avoid problems with ClassImposteriser when using Java 11. See
https://github.com/jmock-developers/jmock-library/releases/tag/2.10.0
2021-11-18 13:28:08 +00:00
Daniel Lublin
1809be4656
Factor out onion address encoder to CryptoComponent
2021-11-15 12:59:56 +01:00
Sebastian Kürten
a1f9e80e12
Inject Tor ports via annotated int parameters
2021-11-03 15:43:01 +01:00
Sebastian Kürten
d4656df384
Make Tor ports configurable at runtime
...
Instead of using hard-coded values 59050 and 59051 for the Tor socks and
control ports, provide them via a TorPorts interface. This makes it possible
to pass the ports to a TorPortsImpl in modules. Hence it is possible to
configure the Tor port for different types of builds or via command line
options in case of briar headless or other clients using the core code.
2021-10-16 14:41:29 +02:00
akwizgran
d65afc519a
Factor out shared code.
2021-08-16 12:00:42 +01:00
akwizgran
32cbdff532
Use interface name to decide whether we're providing a wifi hotspot.
2021-08-16 11:55:41 +01:00
akwizgran
e48886c95a
Update max latency of AndroidRemovableDrivePlugin to 28 days.
2021-07-13 11:44:32 +01:00
akwizgran
92f58e9465
Increase max latency of removable drive plugin to 28 days.
2021-07-13 10:30:12 +02:00
akwizgran
0cc118c849
Add transport property to indicate support for removable drives.
2021-07-13 10:26:26 +02:00
akwizgran
71ce74c633
Add removable drive manager with placeholder task implementations.
2021-07-13 10:26:10 +02:00
akwizgran
2dd5239b9d
Add Android implementation of RemovableDrivePlugin.
2021-07-13 10:26:10 +02:00
akwizgran
4ecc5e4367
Clean up plugin injection code, remove unused module.
2021-07-13 10:26:02 +02:00
akwizgran
33bdc81b3e
Show instructions for locking Briar to the Xiaomi recent apps list.
2021-05-05 12:37:23 +01:00
Daniel Lublin
e2a11d42f8
Implement backend for connect via bluetooth
2021-04-27 14:15:10 +02:00
akwizgran
8b4ff2dc8a
Catch NPE from BluetoothSocket#connect().
2021-03-11 18:00:45 +00:00
akwizgran
b4a5fe6772
Allow GIFs to be chosen on API < 24.
...
We can compress them without resizing.
2021-03-10 15:42:20 +00:00
Torsten Grote
21112ce092
Encrypt logs before handing them to crash report process
2021-02-08 13:43:37 -03:00
Torsten Grote
e8ede55422
Only query for allowed packages in AndroidWakeLockManager
2021-01-05 14:11:00 -03:00
Torsten Grote
5fb2624ffa
Remove calls to WifiManager#getConfiguredNetworks()
...
as these require fine location permission now and don't work when
location services are disabled.
2021-01-05 10:22:32 -03:00
akwizgran
f6bdbb1b80
Let Tor know if we're on an IPv6-only network.
2020-11-03 13:44:57 +00:00
akwizgran
be0e21d39b
Merge branch '1507-extract-tor-binaries-to-lib-dir' into 'master'
...
Raise targetSdkVersion to 29, package Tor binaries as libraries
Closes #1507 and #1185
See merge request briar/briar!1279
2020-09-29 13:19:42 +00:00
akwizgran
37a2d9f990
Extract binaries even if older versions already exist.
2020-09-29 13:48:45 +01:00
akwizgran
0e1fb406b5
Extract library filenames into constants.
2020-09-29 13:48:45 +01:00
akwizgran
b72e8fa490
Package Tor binaries as libraries so we're allowed to execute them.
2020-09-29 13:48:45 +01:00
akwizgran
e9cdec95e0
Check whether Bluetooth adapter exists before trying to get address.
2020-09-29 13:39:46 +01:00
akwizgran
2a8778d3cc
Don't enable or disable the Bluetooth adapter automatically.
2020-08-14 16:18:02 +01:00
Torsten Grote
c75c8da4b9
Merge branch '1759-fix-periodic-task-cancellation' into 'master'
...
Fix cancellation of periodic tasks, remove ticker
Closes #1759
See merge request briar/briar!1274
2020-08-14 12:47:20 +00:00
Torsten Grote
2f3f3d256c
Merge branch '1745-try-to-bind-on-connectivity-change' into 'master'
...
Try to bind IPv4 and IPv6 sockets whenever connectivity changes
Closes #1745
See merge request briar/briar!1275
2020-08-14 11:24:18 +00:00
akwizgran
e06eee2358
Try to bind IPv4 and IPv6 sockets whenever connectivity changes.
2020-08-14 10:44:33 +01:00
akwizgran
c37fe2a246
Fix cancellation of periodic tasks, remove ticker.
2020-08-13 16:35:32 +01:00
akwizgran
79ad5ca07e
Ensure TimeoutInputStreams are closed.
2020-08-13 16:35:03 +01:00
akwizgran
6094014487
Add a comment discouraging use of dedicated threads.
2020-08-13 16:23:44 +01:00
akwizgran
37712203d7
Hold a wake lock while signing out.
2020-08-12 16:47:02 +01:00
akwizgran
452c3afbb3
Merge branch '1142-inject-plugin-factories' into 'master'
...
Use injection to create plugin factories
See merge request briar/briar!1270
2020-08-12 15:46:02 +00:00
akwizgran
9d60fbe957
Merge branch '1142-wakeful-polling' into 'master'
...
Hold a wake lock while polling
See merge request briar/briar!1269
2020-08-12 15:45:08 +00:00
akwizgran
b5bb4aff7f
Merge branch 'master' into '1142-wakeful-tasks'
...
# Conflicts:
# bramble-android/src/main/java/org/briarproject/bramble/system/AndroidTaskScheduler.java
2020-08-10 12:37:50 +00:00