Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v055o #1581

Open
wants to merge 212 commits into
base: main
Choose a base branch
from
Open

v055o #1581

Show file tree
Hide file tree
Changes from 209 commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
51635ca
ui: new setting to enable/disable crashlytics in play version
hussainmohd-a Jun 12, 2024
9188e52
fix: #1529, better handling of wg states in ui
hussainmohd-a Jun 12, 2024
41a7f3f
tunnel: stop adapter on other vpn start by user
hussainmohd-a Jun 14, 2024
3423cca
disable GWP-ASan for the app
hussainmohd-a Jun 15, 2024
de43606
bump dependencies versions
hussainmohd-a Jun 24, 2024
d6ee645
logger: write console logs to an in-memory database
hussainmohd-a Jun 24, 2024
bf1a4d6
Merge branch 'v055n' of https://github.com/hussainmohd-a/rethink-app …
hussainmohd-a Jun 24, 2024
df29def
ui: new ui to show, save, and share console logs
hussainmohd-a Jun 24, 2024
ee9262c
ui: correct wg stats update using coroutines
hussainmohd-a Jun 24, 2024
49369d8
ui: ensure consistent upload and download order
hussainmohd-a Jun 24, 2024
751073e
add new 'region' column to dns logs and update ui
hussainmohd-a Jun 24, 2024
de30362
logger: append timestamp to crash logs
hussainmohd-a Jun 24, 2024
e0850a2
ui: align IP and domain rules screen layout
hussainmohd-a Jun 25, 2024
283f986
ui: add links for reddit, element, and mastodon
hussainmohd-a Jun 25, 2024
fd73d0d
ui: add links for reddit, element, and mastodon
hussainmohd-a Jun 25, 2024
d64e24e
ui: new ui for editing default IPs for connectivity checks
hussainmohd-a Jun 25, 2024
16c9e94
fix: #1557, handle proper closure for zip entries
hussainmohd-a Jun 26, 2024
0ea571d
ui: display wireguard id along with the name
hussainmohd-a Jun 26, 2024
7f2e219
strings: rmv unused literal from all xml files
hussainmohd-a Jun 26, 2024
1d51bef
logger: move in-memory writes to separate method
hussainmohd-a Jun 26, 2024
905d4c8
string: fix contacts in about screen
hussainmohd-a Jun 27, 2024
e277466
server: update server ips for sky, zero
hussainmohd-a Jun 27, 2024
c319815
ui: show rethink app's details in app info screen
hussainmohd-a Jun 29, 2024
4083e75
bugrpt: rmv unwanted close call for zipentry
hussainmohd-a Jun 29, 2024
8c68c8a
logger: purge console logs based on time instead of limit
hussainmohd-a Jun 29, 2024
a40efa9
firestack: Stats rename to RouterStats
hussainmohd-a Jul 1, 2024
03ca654
logger: replace logger stmts to log in bug rpt worker
hussainmohd-a Jul 1, 2024
ffb330f
Merge branch 'celzero:main' into v055n
hussainmohd-a Jul 7, 2024
dba416b
Merge branch 'v055n' of https://github.com/hussainmohd-a/rethink-app …
hussainmohd-a Jul 7, 2024
1ac297d
logger: stop console logging after prolonged runtime
hussainmohd-a Jul 8, 2024
f4f8578
logger: format logging in debug mode with id
hussainmohd-a Jul 8, 2024
068378f
conn checks: reorganize custom IPs dialog components
hussainmohd-a Jul 8, 2024
6ca8c90
wg-ui: resize textview for id
hussainmohd-a Jul 8, 2024
eb578e2
univ-firewall: display blocked count stats for each rule
hussainmohd-a Jul 8, 2024
8400225
wg-ui: move onBackPressed callback to onCreate
hussainmohd-a Jul 8, 2024
829cc4f
proxy-ui: show proxy ID in IP log bottom sheet screen
hussainmohd-a Jul 8, 2024
aeab96e
ktfmt: doh adapter
hussainmohd-a Jul 8, 2024
8928490
rethink-log-ui: correct DIFF_UTIL for log adapter
hussainmohd-a Jul 8, 2024
d6eabdd
logger: add content to zip at once using StringBuilder
hussainmohd-a Jul 8, 2024
d4348a5
ui: show netstat in about and home screen
hussainmohd-a Jul 8, 2024
dc46c3f
ui: new drawable icons for v055o
hussainmohd-a Jul 8, 2024
9111544
logger-ui: console log ui changes
hussainmohd-a Jul 8, 2024
88b5659
dns-settings-ui: show system DNS IP in DNS settings screen
hussainmohd-a Jul 8, 2024
169531b
daemon: implement a single-thread factory
hussainmohd-a Jul 8, 2024
1083765
network-ui: streamline edit custom option in UI
hussainmohd-a Jul 8, 2024
0ade1c7
reset the Rethink app as allowed by default
hussainmohd-a Jul 8, 2024
80ea6c1
consolidate data usage for rethink app as well
hussainmohd-a Jul 8, 2024
ffd3cd4
app-info-ui: display package names for all apps
hussainmohd-a Jul 8, 2024
2b368ca
ui: show console log icon in network logs screen
hussainmohd-a Jul 11, 2024
84f8a82
ui: handle toast msg context errors
hussainmohd-a Jul 11, 2024
285a677
batcher: handle close with a atomic boolean
hussainmohd-a Jul 11, 2024
779311c
batcher: create batchers for every new scope
hussainmohd-a Jul 11, 2024
8246d7c
wg: check for both valid config and supported ip version
hussainmohd-a Jul 11, 2024
9c54206
scheduler: change logs to info level
hussainmohd-a Jul 11, 2024
88d36fc
scheduler: stop console logs if its running more than configured time…
hussainmohd-a Jul 11, 2024
6395194
ui: limit number of custom ips and domain rules in per-app ip rules s…
hussainmohd-a Jul 11, 2024
a27ecd9
ui: rmv observer for the connections count, let adapter handle it
hussainmohd-a Jul 11, 2024
3e07cc3
Merge branch 'celzero:main' into v055n
hussainmohd-a Jul 11, 2024
06bdd97
ui: rmv observer for the ips count, let adapter handle it
hussainmohd-a Jul 11, 2024
488663c
ui: rmv separate space for app name and icon from app-wise ip logs sc…
hussainmohd-a Jul 11, 2024
093f06e
store console log start time in-memory to be handled by scheduler
hussainmohd-a Jul 11, 2024
268ccef
fix: #1587, rmv junk entries from the proxy mapping
hussainmohd-a Jul 11, 2024
73dfc60
Merge branch 'v055n' of https://github.com/hussainmohd-a/rethink-app …
hussainmohd-a Jul 11, 2024
7afa276
new api for get system dns, net stat and write console logs
hussainmohd-a Jul 11, 2024
373f662
state to store the console logs in persistent state
hussainmohd-a Jul 11, 2024
da5cb62
conn-checks: rearrange the nws for conn checks from external src
hussainmohd-a Jul 11, 2024
230402d
firestack apis: get netstat, slowdown, get system dns
hussainmohd-a Jul 11, 2024
241955b
ui: font change for region text in dns bottom sheet
hussainmohd-a Jul 11, 2024
192363a
ui: new drawable for logs related settings
hussainmohd-a Jul 11, 2024
10c1654
viewmodel: add dependency for rinr for app connection view model
hussainmohd-a Jul 11, 2024
bdead32
tunnel: multiple improvements in tunnel
hussainmohd-a Jul 11, 2024
3b6d3c1
migration: log database with more index on connIds
hussainmohd-a Jul 11, 2024
071604b
tunnel: changes in firestack to use different primitive types
hussainmohd-a Jul 11, 2024
f6a1931
ui: rmv unused methods
hussainmohd-a Jul 11, 2024
bad8520
ui: display netstat data in MB instead of MB/s
hussainmohd-a Jul 11, 2024
ca451f1
rmv crashlytics and related dependencies from code
hussainmohd-a Jul 14, 2024
fd66e9c
ui: improvements in recycler view's DIFF_CALLBACK
hussainmohd-a Jul 14, 2024
5f6eb16
ui: interchange netstat rx and tx values in home screen
hussainmohd-a Jul 14, 2024
c701142
string literal changes for v055o
hussainmohd-a Jul 14, 2024
841669a
update version code and name for v055o
hussainmohd-a Jul 14, 2024
bbd0be4
Merge branch 'celzero:main' into v055n
hussainmohd-a Jul 14, 2024
ee00147
Merge branch 'celzero:main' into v055n
hussainmohd-a Jul 16, 2024
e165be7
ui: improvements in recycler view's DIFF_CALLBACK
hussainmohd-a Jul 16, 2024
4b6d606
Fix: #1608, access database with io
hussainmohd-a Jul 18, 2024
ef80d5c
Merge branch 'celzero:main' into v055n
hussainmohd-a Jul 18, 2024
01382d1
replace first with firstOrNull()
hussainmohd-a Jul 18, 2024
1c936d3
repository methods to suspend functions, despite being called from IO
hussainmohd-a Jul 18, 2024
1312e06
Merge branch 'v055n' of https://github.com/hussainmohd-a/rethink-app …
hussainmohd-a Jul 18, 2024
01113fa
ui: show toast in wg config if vpn is not active
hussainmohd-a Jul 18, 2024
59cd90c
ui: rmv app name color change for sys and user apps
hussainmohd-a Jul 18, 2024
35e43fa
Fix 1536, update proper desc for adguard DoT
hussainmohd-a Jul 19, 2024
6427b2f
ui: #1516 filter for partly blocked apps
hussainmohd-a Jul 19, 2024
c7384d8
ui: option to delete multiple ips from custom ip screen
hussainmohd-a Jul 20, 2024
718729a
ui: option to delete multiple ips from custom ip
hussainmohd-a Jul 20, 2024
1bc985b
ui: option to delete multiple ips from custom domain
hussainmohd-a Jul 22, 2024
b03a709
ui: #1551 retain invalid configs in wireguard screen
hussainmohd-a Jul 22, 2024
bc651c2
Fix: #1111, clear focus on searchview once soft keyboard is hidden
hussainmohd-a Jul 23, 2024
1ac241c
ui: alpha for apps with no-internet permission
hussainmohd-a Jul 23, 2024
07fbd02
fix #1554: appropriate label for private dns firewall
hussainmohd-a Jul 23, 2024
8c1021e
ui: rmv firewall indicator, add data usage for apps
hussainmohd-a Jul 27, 2024
ed0f44e
ui: display proxy details in app info screen
hussainmohd-a Jul 27, 2024
d69d220
minor ui improvements in wireguard screens
hussainmohd-a Jul 27, 2024
f85c91d
Logger: separate worker thread for console logs
hussainmohd-a Jul 27, 2024
84fde54
tunnel: initiate wg ping on connect, notify loopback, rmv slowdown
hussainmohd-a Jul 27, 2024
aa873be
ui: display protos, traffic stats and bandwidth, plus icon
hussainmohd-a Jul 29, 2024
7fece25
ui: wireguard name text color change
hussainmohd-a Jul 29, 2024
72653a6
new-feature: camera and microphone access indicator
hussainmohd-a Jul 29, 2024
d565a7e
ui: icon change for loop back proxy app settings
hussainmohd-a Jul 29, 2024
f47ab59
tunnel: bump firestack version
hussainmohd-a Jul 29, 2024
63da862
strings: string literal changes for v055o
hussainmohd-a Jul 29, 2024
2dcb174
ui: minor ui change in wg config screen
hussainmohd-a Jul 30, 2024
e075c21
TODO and FIXME for handling lockdown mode and private IP routing
hussainmohd-a Jul 30, 2024
8e4385d
Merge branch 'celzero:main' into v055n
hussainmohd-a Jul 30, 2024
fad09e1
tunnel: prevent multiple restart on app resume
hussainmohd-a Jul 30, 2024
38eb8c9
Merge branch 'v055n' of https://github.com/hussainmohd-a/rethink-app …
hussainmohd-a Jul 30, 2024
a28f25b
ui: change in icon, dialog's padding in network settings screen
hussainmohd-a Jul 31, 2024
4e17ad0
Merge branch 'celzero:main' into v055n
hussainmohd-a Aug 8, 2024
212cacc
Merge branch 'celzero:main' into v055n
hussainmohd-a Aug 9, 2024
04c9adc
tunnel: unlink adapter before restart in lockdown mode only
hussainmohd-a Aug 9, 2024
ff2f09a
tunnel: unlink adapter before restart in lockdown mode only
hussainmohd-a Aug 9, 2024
43d7e04
Merge branch 'v055n' of https://github.com/hussainmohd-a/rethink-app …
hussainmohd-a Aug 9, 2024
f97d1c8
ui: launch app info screen on new app notification #1146
hussainmohd-a Aug 10, 2024
c9bf3f4
Merge branch 'celzero:main' into v055n
hussainmohd-a Aug 15, 2024
ad3447a
Merge branch 'celzero:main' into v055n
hussainmohd-a Aug 16, 2024
3f98079
ui: implement fast scroll for logs and apps screen
hussainmohd-a Aug 22, 2024
319f6e4
Merge branch 'v055n' of https://github.com/hussainmohd-a/rethink-app …
hussainmohd-a Aug 22, 2024
5d63fc2
ui: show wireguard status in detail conf screen
hussainmohd-a Aug 22, 2024
80ea2c2
ui: show last app lock time in DEBUG mode
hussainmohd-a Aug 22, 2024
2ba0301
ui: show wireguard status in detail conf screen
hussainmohd-a Aug 22, 2024
f366b56
ui: drawables for fast scroll
hussainmohd-a Aug 22, 2024
8a4d648
fix: improvements to biometric prompt for app lock
hussainmohd-a Aug 22, 2024
75bd208
ui: dependency for fast-scroll, bump firestack version
hussainmohd-a Aug 22, 2024
1986316
Fix #1665: bigger 'enable' button for WireGuard
hussainmohd-a Aug 29, 2024
eeb991f
fix: exclude apps in inactive config and return catch-all (if not in …
hussainmohd-a Sep 9, 2024
6f5ea0b
fix: change logger stmt for catch-all config selection
hussainmohd-a Sep 9, 2024
7b19826
icons: new icons for settings introduced in v055o
hussainmohd-a Sep 9, 2024
cd7f97f
icon: fix bug report icon
hussainmohd-a Sep 9, 2024
7b977ef
icon: fix bug report icon
hussainmohd-a Sep 9, 2024
1323ce0
Merge branch 'celzero:main' into v055n
hussainmohd-a Sep 9, 2024
df5cfd8
update target IPs if available in the summary
hussainmohd-a Sep 9, 2024
d715e76
show known ports name only for UDP and TCP conns
hussainmohd-a Sep 9, 2024
8b49215
proxy-app map: set alpha based on internet permission
hussainmohd-a Sep 9, 2024
8f0c628
filter logs for specific wireguard configuration in network log screen
hussainmohd-a Sep 10, 2024
d4f6d01
Merge branch 'celzero:main' into v055n
hussainmohd-a Sep 17, 2024
68095f9
ui: set selectable bg for btns in edit ip dialog
hussainmohd-a Sep 18, 2024
17c1c36
ui: new screen to show consolidated apps details from stats screen
hussainmohd-a Sep 19, 2024
95c5da6
new dimen for sponsor text
hussainmohd-a Sep 19, 2024
665620a
frmt code
hussainmohd-a Sep 19, 2024
d33f5e1
show go-version number in about screen
hussainmohd-a Sep 19, 2024
540d20d
ui: revamp status updates in wg screen, add dns status check
hussainmohd-a Sep 19, 2024
5b8074c
ktfmt: activity_detailed_statistics.xml
hussainmohd-a Sep 19, 2024
8f3b7bf
move some of the misc settings to advanced settings screen
hussainmohd-a Sep 19, 2024
16577a3
implement task dispatching and channel pooling
hussainmohd-a Sep 21, 2024
328d65d
skip listen port based on user setting (randomize listen port)
hussainmohd-a Sep 21, 2024
00208d8
Fix: incorrect wg config while fetching catch-all config
hussainmohd-a Sep 21, 2024
5302fbc
ui: new settings screen for advanced configuration
hussainmohd-a Sep 21, 2024
ee2282d
ui: new screen for anti-censorship options
hussainmohd-a Sep 21, 2024
6559a98
ui-fix: update spinner border color in network log bottom sheet
hussainmohd-a Sep 21, 2024
3cdd425
ui-fix: rmv alpha from svg (ic_logs_accent)
hussainmohd-a Sep 21, 2024
80d9533
ui: new dialog prompt for sponsor details
hussainmohd-a Sep 21, 2024
0ecfbd8
ui-fix: display listen port based on wg mode and user settings
hussainmohd-a Sep 21, 2024
a1f05f4
ui: display dns name on wg screen (including splitdns)
hussainmohd-a Sep 21, 2024
4ed62ab
ui-fix: update info icon in Orbot bottom sheet
hussainmohd-a Sep 21, 2024
49953fa
ui-fix: rmv unnecessary view from app detail screen
hussainmohd-a Sep 21, 2024
283a8da
stats: display NIC info and RDNS info in the network stat dialog
hussainmohd-a Sep 21, 2024
8d374f9
fix #1714: add filter for bypass proxy in app, network log screen
hussainmohd-a Sep 26, 2024
7af13d5
ui: optimize app name retrieval in Network Log adapter
hussainmohd-a Sep 28, 2024
f55a92a
ui: improve proxy status handling for better UI representation
hussainmohd-a Sep 28, 2024
450fdb1
ui: handle all cases in addLoadStateListener for RecyclerView
hussainmohd-a Sep 28, 2024
e36f516
ui: show app name in search bar hint
hussainmohd-a Sep 28, 2024
c453244
ui: update proper proxy status in home screen tile
hussainmohd-a Sep 28, 2024
19abb3e
rename, refractor in summary stats fragment
hussainmohd-a Sep 28, 2024
23cf104
ui: new setting for undelegated domains in dns configure screen
hussainmohd-a Sep 28, 2024
8698b53
ui: add new advanced configuration option in settings screen
hussainmohd-a Sep 28, 2024
86896c0
ui: minor corrections in custom domain/ip rules screen
hussainmohd-a Sep 28, 2024
cb2de90
Merge branch 'celzero:main' into v055n
hussainmohd-a Sep 28, 2024
88cf6a9
Merge branch 'celzero:main' into v055n
hussainmohd-a Oct 1, 2024
00aab7a
fix: rmv incorrect dir deletion from download mgr
hussainmohd-a Oct 2, 2024
84baf59
ui: new conf for slowdown only in debug mode
hussainmohd-a Oct 2, 2024
9d0e60d
ui: show country name along with flag in country-wise app list
hussainmohd-a Oct 2, 2024
5511ec5
ui: access to wg logs from wg screen
hussainmohd-a Oct 2, 2024
36bb0d2
manifest.xml: new activities included as part of v055o
hussainmohd-a Oct 2, 2024
e2a4442
minor ui and other improvements as part of v055o
hussainmohd-a Oct 2, 2024
75f13f5
wg: get config id based on uid, ignoring ip
hussainmohd-a Oct 2, 2024
f01e158
bump android and firestack version for v055o
hussainmohd-a Oct 2, 2024
2c7f515
persistent: multiple variables in persistent state for v055o
hussainmohd-a Oct 2, 2024
48e5b40
tunnel: various changes and fixes for v055o
hussainmohd-a Oct 2, 2024
b3bc40f
strings: update/add string literals for v055o
hussainmohd-a Oct 2, 2024
fef5b45
Merge branch 'v055n' into wg-conflict
hussainmohd-a Oct 2, 2024
45bc02a
resolve wg conflict
hussainmohd-a Oct 2, 2024
7776b3d
resolve wg changes conflict
hussainmohd-a Oct 2, 2024
e7e0d06
Merge pull request #55 from celzero/wg-conflict
hussainmohd-a Oct 2, 2024
1aece37
fix: lint errors
hussainmohd-a Oct 3, 2024
0906487
ui: show country name along with flag in DomainConnectionsActivity
hussainmohd-a Oct 3, 2024
ef95024
bump firestack version for v055o
hussainmohd-a Oct 3, 2024
90297f7
fix: lint errors
hussainmohd-a Oct 3, 2024
58e3b12
ui: rmv texts and icons related to OSOM
hussainmohd-a Oct 4, 2024
e486ab7
ui: minor ui refresh in anti censorship screen
hussainmohd-a Oct 4, 2024
34a471f
log: option to delete the logs in console log screen
hussainmohd-a Oct 5, 2024
67bb47e
tunnel: take first non-unspecified ip from real destination ips
hussainmohd-a Oct 5, 2024
532c77c
getUidQ: support for ICMPv4, ICMPv6 protocol
hussainmohd-a Oct 5, 2024
af82edf
tunnel: printstack on netstat dialog in DEBUG mode
hussainmohd-a Oct 5, 2024
b758190
netstat: include go stats
hussainmohd-a Oct 5, 2024
8c9d2c7
bump gradle version to 8.5.2
hussainmohd-a Oct 12, 2024
6a6b030
proxy: support for http proxy across all android versions
hussainmohd-a Oct 12, 2024
69dd5eb
ui: fix search issue in app info and nw conns screens
hussainmohd-a Oct 12, 2024
eb544cb
fix #1733: resolve ClassCastException when sending multiple email att…
hussainmohd-a Oct 12, 2024
a33539f
docs: add comments for wgQuickString and wgUserSpaceString
hussainmohd-a Oct 12, 2024
dd7c04f
ui: fix search issue in app info screen
hussainmohd-a Oct 22, 2024
096eeb4
ui: new icons for settings
hussainmohd-a Oct 27, 2024
3495132
logger: inc the batch size for console logs
hussainmohd-a Oct 27, 2024
c97152e
Merge branch 'celzero:main' into v055n
hussainmohd-a Nov 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 23 additions & 29 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ plugins {
// to download blocklists for the headless variant
id "de.undercouch.download" version "5.3.0"
id 'kotlin-android'
id 'com.google.gms.google-services'
id 'com.google.firebase.crashlytics'
}

def keystorePropertiesFile = rootProject.file("keystore.properties")
Expand Down Expand Up @@ -173,9 +171,8 @@ configurations {
}

dependencies {
androidTestImplementation 'androidx.test:rules:1.5.0'
def room_version = "2.6.1"
def paging_version = "3.2.1"
def paging_version = "3.3.2"

implementation 'com.google.guava:guava:32.1.1-android'

Expand All @@ -184,8 +181,8 @@ dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")

fullImplementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.21'
fullImplementation 'androidx.appcompat:appcompat:1.6.1'
fullImplementation 'androidx.core:core-ktx:1.12.0'
fullImplementation 'androidx.appcompat:appcompat:1.7.0'
fullImplementation 'androidx.core:core-ktx:1.13.1'
implementation 'androidx.preference:preference-ktx:1.2.1'
fullImplementation 'androidx.constraintlayout:constraintlayout:2.1.4'
fullImplementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
Expand All @@ -194,7 +191,7 @@ dependencies {
fullImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'

// LiveData
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.7.0'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.8.6'

implementation 'com.google.code.gson:gson:2.10.1'

Expand All @@ -204,14 +201,14 @@ dependencies {
implementation "androidx.room:room-paging:$room_version"

fullImplementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
fullImplementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'
fullImplementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'
fullImplementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.6'
fullImplementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.6'

// Pagers Views
implementation "androidx.paging:paging-runtime-ktx:$paging_version"
fullImplementation 'androidx.fragment:fragment-ktx:1.6.2'
implementation 'com.google.android.material:material:1.11.0'
fullImplementation 'androidx.viewpager2:viewpager2:1.0.0'
fullImplementation 'androidx.fragment:fragment-ktx:1.8.3'
implementation 'com.google.android.material:material:1.12.0'
fullImplementation 'androidx.viewpager2:viewpager2:1.1.0'

fullImplementation 'com.squareup.okhttp3:okhttp:4.12.0'
fullImplementation 'com.squareup.okhttp3:okhttp-dnsoverhttps:4.12.0'
Expand Down Expand Up @@ -249,14 +246,14 @@ dependencies {
fullImplementation 'com.github.kirich1409:viewbindingpropertydelegate-noreflection:1.5.9'

// from: https://jitpack.io/#celzero/firestack
download 'com.github.celzero:firestack:ee0a5ac71f@aar'
websiteImplementation 'com.github.celzero:firestack:ee0a5ac71f@aar'
fdroidImplementation 'com.github.celzero:firestack:ee0a5ac71f@aar'
// debug symbols for crashlytics
playImplementation 'com.github.celzero:firestack:ee0a5ac71f:debug@aar'
download 'com.github.celzero:firestack:1b3c80f71e@aar'
websiteImplementation 'com.github.celzero:firestack:1b3c80f71e@aar'
fdroidImplementation 'com.github.celzero:firestack:1b3c80f71e@aar'
// debug symbols
playImplementation 'com.github.celzero:firestack:1b3c80f71e:debug@aar'

// Work manager
implementation('androidx.work:work-runtime-ktx:2.9.0') {
implementation('androidx.work:work-runtime-ktx:2.9.1') {
modules {
module("com.google.guava:listenablefuture") {
replacedBy("com.google.guava:guava", "listenablefuture is part of guava")
Expand All @@ -270,13 +267,14 @@ dependencies {
implementation 'com.github.seancfoley:ipaddress:5.4.0'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
androidTestImplementation 'androidx.test:rules:1.6.1'

leakCanaryImplementation 'com.squareup.leakcanary:leakcanary-android:2.14'

fullImplementation 'androidx.navigation:navigation-fragment-ktx:2.7.7'
fullImplementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
fullImplementation 'androidx.navigation:navigation-fragment-ktx:2.8.0'
fullImplementation 'androidx.navigation:navigation-ui-ktx:2.8.0'

fullImplementation 'androidx.biometric:biometric:1.1.0'

Expand All @@ -285,16 +283,12 @@ dependencies {

// for encrypting wireguard configuration files
implementation("androidx.security:security-crypto:1.1.0-alpha06")
implementation("androidx.security:security-app-authenticator:1.0.0-alpha03")
androidTestImplementation("androidx.security:security-app-authenticator:1.0.0-alpha03")
implementation("androidx.security:security-app-authenticator:1.0.0-beta01")
androidTestImplementation("androidx.security:security-app-authenticator:1.0.0-beta01")

// barcode scanner for wireguard
fullImplementation 'com.journeyapps:zxing-android-embedded:4.3.0'

// only using firebase crashlytics experimentally for stability tracking, only in play variant
// not in fdroid or website
playImplementation 'com.google.firebase:firebase-crashlytics:19.0.0'
playImplementation 'com.google.firebase:firebase-crashlytics-ndk:19.0.0'
fullImplementation 'com.simplecityapps:recyclerview-fastscroll:2.0.1'
}

// github.com/michel-kraemer/gradle-download-task/issues/131#issuecomment-464476903
Expand Down
29 changes: 0 additions & 29 deletions app/google-services.json

This file was deleted.

133 changes: 0 additions & 133 deletions app/src/fdroid/java/com/celzero/bravedns/util/Logger.kt

This file was deleted.

14 changes: 14 additions & 0 deletions app/src/full/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="32"
tools:ignore="ScopedStorage" />
<uses-permission
android:name="android.permission.SYSTEM_ALERT_WINDOW"
android:minSdkVersion="34" />

<application
android:name=".RethinkDnsApplication"
Expand Down Expand Up @@ -113,6 +116,8 @@
<activity
android:name=".ui.activity.AppWiseDomainLogsActivity"
android:finishOnTaskLaunch="true" />
<activity android:name=".ui.activity.ConsoleLogActivity"
android:finishOnTaskLaunch="true" />
<activity
android:name=".ui.NotificationHandlerDialog"
android:excludeFromRecents="true"
Expand All @@ -126,6 +131,15 @@
<activity
android:name=".ui.activity.AlertsActivity"
android:finishOnTaskLaunch="true" />
<activity
android:name=".ui.activity.AntiCensorshipActivity"
android:finishOnTaskLaunch="true" />
<activity
android:name=".ui.activity.AdvancedSettingActivity"
android:finishOnTaskLaunch="true" />
<activity
android:name=".ui.activity.DomainConnectionsActivity"
android:finishOnTaskLaunch="true" />

<receiver
android:name=".receiver.BraveAutoStartReceiver"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.celzero.bravedns
import Logger
import Logger.LOG_TAG_SCHEDULER
import android.app.Application
import android.content.ComponentCallbacks2
import android.content.pm.ApplicationInfo
import android.os.StrictMode
import com.celzero.bravedns.scheduler.ScheduleManager
Expand Down Expand Up @@ -62,6 +61,7 @@ class RethinkDnsApplication : Application() {
get<ScheduleManager>().scheduleDatabaseRefreshJob()
get<WorkScheduler>().scheduleDataUsageJob()
get<WorkScheduler>().schedulePurgeConnectionsLog()
get<WorkScheduler>().schedulePurgeConsoleLogs()
}

private fun turnOnStrictMode() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ import kotlin.math.log2
class AppWiseDomainsAdapter(
val context: Context,
val lifecycleOwner: LifecycleOwner,
val uid: Int
val uid: Int,
val isRethink: Boolean
) :
PagingDataAdapter<AppConnection, AppWiseDomainsAdapter.ConnectionDetailsViewHolder>(
DIFF_CALLBACK
Expand Down Expand Up @@ -68,9 +69,6 @@ class AppWiseDomainsAdapter(

private lateinit var adapter: AppWiseDomainsAdapter

// ui component to update/toggle the buttons
data class ToggleBtnUi(val txtColor: Int, val bgColor: Int)

override fun onCreateViewHolder(
parent: ViewGroup,
viewType: Int
Expand Down Expand Up @@ -145,6 +143,10 @@ class AppWiseDomainsAdapter(
return
}

if (isRethink) {
return
}

val bottomSheetFragment = AppDomainRulesBottomSheet()
// Fix: free-form window crash
// all BottomSheetDialogFragment classes created must have a public, no-arg constructor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import com.celzero.bravedns.util.Utilities
import com.celzero.bravedns.util.Utilities.removeBeginningTrailingCommas
import kotlin.math.log2

class AppWiseIpsAdapter(val context: Context, val lifecycleOwner: LifecycleOwner, val uid: Int) :
class AppWiseIpsAdapter(val context: Context, val lifecycleOwner: LifecycleOwner, val uid: Int, val isRethink: Boolean) :
PagingDataAdapter<AppConnection, AppWiseIpsAdapter.ConnectionDetailsViewHolder>(DIFF_CALLBACK),
AppIpRulesBottomSheet.OnBottomSheetDialogFragmentDismiss {

Expand Down Expand Up @@ -112,6 +112,10 @@ class AppWiseIpsAdapter(val context: Context, val lifecycleOwner: LifecycleOwner
return
}

if (isRethink) {
return
}

val bottomSheetFragment = AppIpRulesBottomSheet()
// Fix: free-form window crash
// all BottomSheetDialogFragment classes created must have a public, no-arg constructor.
Expand Down
Loading
Loading