Commit graph

61 commits

Author SHA1 Message Date
Tavi
52b79bf526
LinkScannerService: don't repeatedly scan
- have the system only send 10 events a second, instead of 1000
- don't scan the same package+class name more than once a second
- put each event view scanner on its own thread keyed by package+class
- don't scan if there is already an existing thread for the package+class

this can still cause high cpu usage on views with lots of text
especially if the user continually interacts with it
but is overall much better

to recap:
- a given package+class can only be scanned at most once a second
- a given package+class can only have one scanner at a time
- text to scan will not be scanned if already scanned
- domains to scan will not be scanned if already scanned

Signed-off-by: Tavi <tavi@divested.dev>
2024-05-25 18:49:56 -04:00
Tavi
8d9314ef97
Add the Cloudflare mirror and bump version
Signed-off-by: Tavi <tavi@divested.dev>
2024-05-17 09:20:56 -04:00
Tad
1c29038125
Directly load the pre-processed bloom filters
No more conversion, much quicker loading, much smaller downloads

Signed-off-by: Tad <tad@spotco.us>
2023-12-21 23:30:41 -05:00
Tad
7ae8069c1b
Overhaul to use a bloom filter instead of a HashMap
Signed-off-by: Tad <tad@spotco.us>
2023-12-21 20:02:03 -05:00
Tad
b547d6cc82
Downgrade Apache Commons
To fix compatbility with ancient Android versions
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/30

Signed-off-by: Tad <tad@spotco.us>
2023-04-24 18:09:51 -04:00
Tad
44d2d1c905
GPG signature verification for databases
TODO: inform user if verification fails or key is unavailable

Signed-off-by: Tad <tad@spotco.us>
2023-04-16 13:08:25 -04:00
Tad
4c65d96a81
Increase hash length due to false positive repots
Signed-off-by: Tad <tad@spotco.us>
2023-01-31 14:48:09 -05:00
Tad
6149166f6b
Themed app icon support
Signed-off-by: Tad <tad@spotco.us>
2022-10-17 21:01:24 -04:00
Tad
2b878f2058 Bump version for translations
Signed-off-by: Tad <tad@spotco.us>
2022-07-14 00:27:51 -04:00
Tad
108dab063d Server override option
Signed-off-by: Tad <tad@spotco.us>
2022-04-03 21:19:10 -04:00
Tad
fe49d06902 Invert the fileHashes* HashMaps
This fixes scan detection of multiple files with the same hashes.

Signed-off-by: Tad <tad@spotco.us>
2021-09-10 07:09:30 -04:00
Tad
de868c458f Bump versions
+ fix small quirk when too few sigs
2021-07-21 15:47:10 -04:00
Tad
2e8994ee7a Improve database descriptions and add a new database source 2021-07-21 15:31:07 -04:00
Tad
2d56574a1e Show scan speed too 2021-06-04 15:32:08 -04:00
Tad
f9228938a4 Enable the Russian translations, credit @q1011
Closes https://github.com/Divested-Mobile/Hypatia/pull/7
2021-05-04 08:30:33 -04:00
Tad
f220e107dc Fixup Orbot detection 2021-04-22 20:52:20 -04:00
Tad
0c621a91e8 Fix storage access on 11
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/11
Closes https://github.com/Divested-Mobile/Hypatia/issues/4
2021-04-14 02:45:05 -04:00
Tad
76314aa197 Add the Portuguese translations, credit @inkhorn
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/9
2021-03-24 21:17:58 -04:00
Tad
309bc32982 Bump version 2021-03-20 19:37:37 -04:00
Petra Mirelli
d93092f856 Add the Spanish translations
See https://github.com/Divested-Mobile/Hypatia/issues/3
2021-03-20 19:34:19 -04:00
Tad
18395cbb6e Code cleanup and version bump 2021-03-10 10:17:00 -05:00
Dante
cab4efb67d Add the initial Italian translations
Closes https://github.com/Divested-Mobile/Hypatia/pull/2
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/7
2021-03-09 16:02:27 -05:00
Tad
22f86dc0e4 Add a comphrensive credits menu 2021-03-03 16:00:32 -05:00
Tad
0f9b897c41 Bump version 2021-03-02 10:18:44 -05:00
Tad
28f710d5ad More small improvements
- Don't try to load the database multiple times at once
- Add the signature count to the notification
- Format numbers for the locale
- Improve check for when no databases are available
2021-02-22 23:28:07 -05:00
Tad
ebdfc0c737 More small fixes 2021-02-22 18:30:54 -05:00
Tad
eccaaadd5d Many small improvements
- Fix an exception with the notification counter
- Ensure the database is really loaded before a scan
- Inform the user when a scan is cancelled
- Allow quicker cancelling of scan (when in the middle of hashing)
- Don't block main thread when updating databases
- Change the fab color depending on the scan state
- Add a simple textual progress bar to scans
- Make text output selectable
- Add a test signature
- Small sanity checks

Partially fixes https://github.com/Divested-Mobile/hypatia/issues/1#issuecomment-707734221
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/3
2021-02-22 14:26:23 -05:00
Tad
e1bc93fbe0 Add the French translations, credit Tibaux and Mirelli
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/4
2021-02-21 13:07:44 -05:00
Tad
6ba974c078 Fixup last commit 2021-02-13 16:49:01 -05:00
Tad
c6e3ab1dde More German string translations, credit Petra Mirelli
https://gitlab.com/divested-mobile/hypatia/-/issues/1#note_508460677
2021-02-13 16:31:01 -05:00
Tad
538aac8140 Add the German string translations, credit Petra Mirelli
https://gitlab.com/divested-mobile/hypatia/-/issues/1
2021-02-02 09:49:33 -05:00
Tad
b5d9a62835 Improve log output 2020-11-14 05:46:58 -05:00
Tad
a4fdf1d575 Update dependencies 2020-11-13 10:38:59 -05:00
Tad
af17aba5fc Add ESET's database
https://github.com/eset/malware-ioc
2020-07-25 09:19:18 -04:00
Tad
3f4b147ef3 Clarification 2020-05-23 14:00:32 -04:00
Tad
c55243e655 Fix for Scoped Storage enforcement on Q 2020-04-30 00:37:14 -04:00
Tad
8fcc887961 Fix the realtime scanner
broken in b6a58f9771
by bumping target sdk version
2019-10-20 14:47:27 -04:00
Tad
6dd75f59fc Night mode support 2019-09-22 21:54:33 -04:00
Tad
b6a58f9771 AndroidX migration 2019-09-22 21:17:21 -04:00
Tad
b9b48615a6 Bump versions 2019-06-18 14:59:44 -04:00
Tad
716b58bd16 Reformat code and bump version 2018-10-21 16:07:32 -04:00
Tad
272a51304c Use gzip databases instead for download and storage savings 2018-10-21 15:36:36 -04:00
Tad
6d01c4934d Remove NetCipher 2018-09-21 00:51:48 -04:00
Tad
27146b19c5 Minor fixes 2018-07-25 21:08:35 -04:00
Tad
3088cc2855 Licensing 2018-04-12 22:28:47 -04:00
Tad
04c01d0e8e Show over lock screen 2018-04-05 22:33:59 -04:00
Tad
04b3043f89 Don't spam logcat with selinux denials 2017-12-27 16:10:06 -05:00
Tad
73be65ec2c Move each FileObserver onto its own thread 2017-12-27 16:02:37 -05:00
Tad
aef0d0fd65 Add a readme 2017-12-26 20:06:14 -05:00
Tad
e0dbe6a00a Bump app version 2017-12-26 18:54:57 -05:00