Commit graph

45 commits

Author SHA1 Message Date
Tavi
2223a4d789 Bump for release
Signed-off-by: Tavi <tavi@divested.dev>
2024-11-30 14:03:20 -05:00
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
02dd4f624e
Ability to scan screen content for malicious links
Signed-off-by: Tavi <tavi@divested.dev>
2024-05-22 20:09:16 -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
Eloi Torrents
6cf22de675 Translate banners 2024-05-07 14:05:35 +02:00
Tavi
325a67220f
Optimize images
Signed-off-by: Tavi <tavi@divested.dev>
2024-04-21 14:25:35 -04:00
Tavi
7d51ea5896
Reduce size of app
Signed-off-by: Tavi <tavi@divested.dev>
2024-04-21 14:08:08 -04:00
Tavi
595dbc306c
Add the Galician tranlsations from @ghose
+ bump version
+ enable pt-rBR
+ closes https://gitlab.com/divested-mobile/hypatia/-/issues/51

Signed-off-by: Tavi <tavi@divested.dev>
2024-04-20 20:47:47 -04:00
Tavi
898af0ecfd
Bump for release
Signed-off-by: Tavi <tavi@divested.dev>
2024-02-27 01:46:45 -05:00
Tad
fedca835d6
Crash fixes
Also adds an icon
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/37

Signed-off-by: Tad <tad@spotco.us>
2023-12-30 14:39:09 -05:00
Tad
a0f6a00244
Many changes
- Fix signature count reseting on update but not changed
- Better handle reloads for extended
- Metered connection warning
- Block all actions when appropriate
- Use a wakelock instead of keeping the screen on
- Increase max scan sizes
- Always check if files can be read before scanning
- Resolve true paths to avoid duplicates from symlinks
- Scan more app paths
- Scan more system paths
- Bump version

Signed-off-by: Tad <tad@spotco.us>
2023-12-29 00:57:58 -05:00
Tad
c242c1fa75
Restore support for Jelly Bean
+ code cleanup

Signed-off-by: Tad <tad@spotco.us>
2023-12-26 19:34:33 -05:00
Tad
72d1f97a96
More fixes
- Fixup SHA1 hash calculation
- Show full notification text when expanded
- Make basic self test more robust
- Add a self test option that actually writes files
- Bump version to 3.0, since all previous versions are basically completely broken garbage

Signed-off-by: Tad <tad@spotco.us>
2023-12-25 16:43:34 -05:00
Tad
71cc9157a7
Fixup signature count miscalculation when database already loaded
Signed-off-by: Tad <tad@spotco.us>
2023-12-25 14:39:48 -05:00
Tad
ee3b4fed72
Tweaks
- Add signature count back to notification too
- Ignore hashes of empty content

Signed-off-by: Tad <tad@spotco.us>
2023-12-25 14:30:03 -05:00
Tad
6de29e5a40
Handle all detections via notifications
Also add actions to lookup, delete/uninstall, or ignore the detection

Signed-off-by: Tad <tad@spotco.us>
2023-12-24 18:19:11 -05: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
3bd703d6b8
Add support for the MalwareBazaar database
Signed-off-by: Tad <tad@spotco.us>
2023-12-19 17:06:22 -05:00
Tad
d2c37470e0
Bump for release
Signed-off-by: Tad <tad@spotco.us>
2023-07-09 10:41:13 -04:00
Tad
591205b332
Bump for release
Signed-off-by: Tad <tad@spotco.us>
2023-05-22 11:41:52 -04:00
Tad
22cc72ab87
Fix the downloader
With all databases enabled the ThreadPool queue is exceed (25>16).
This normally isn't an issue for other users of the pool as it will get pushed onto the main thread.
But Android prohibits network activity on the main thread, which the downloader runs from.

Increase it 32 which should be suitable for now.
Maybe consider adding a separate pool in future.

Fixes https://github.com/Divested-Mobile/Hypatia/issues/34
Fixes https://gitlab.com/divested-mobile/hypatia/-/issues/31

Signed-off-by: Tad <tad@spotco.us>
2023-05-15 23:54:59 -04:00
Tad
e018000c46
Tweak
Signed-off-by: Tad <tad@spotco.us>
2023-05-15 23:52:00 -04:00
Tad
61bf212e17
Bump version for new translations
Closes https://github.com/Divested-Mobile/Hypatia/pull/18
Closes https://github.com/Divested-Mobile/Hypatia/pull/28
Closes https://github.com/Divested-Mobile/Hypatia/pull/35
Closes https://gitlab.com/divested-mobile/hypatia/-/merge_requests/10

Signed-off-by: Tad <tad@spotco.us>
2023-05-04 16:36:14 -04: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
76d06b504f
Add support for the Echap stalkerware database
Signed-off-by: Tad <tad@spotco.us>
2023-03-06 20:16:32 -05:00
Tad
d052fff807
Small tweaks
Signed-off-by: Tad <tad@spotco.us>
2023-02-07 11:58:17 -05:00
Tad
1fcaab82b8
Make the app smaller
Signed-off-by: Tad <tad@spotco.us>
2023-02-07 11:30:30 -05:00
Tad
745d70ced5
Various optimizations
- Trim hashes to 8 characters instead of 12. Saves ~10MB by default.
- Optimized databases. Saves ~8MB by default.
- Deduplicated strings. Saves ~12MB by default.

idle usage on arm64
- With defaults: ~165MB, previously ~195MB
- With all databases: ~350MB, previously ~650MB

Signed-off-by: Tad <tad@spotco.us>
2022-12-15 06:29:35 -05:00
Tad
7d774092c6
Add support for the Amnesty International Investgations database
Signed-off-by: Tad <tad@spotco.us>
2022-12-06 12:53:48 -05:00
Tad
58e35b7488
Refine the Spanish translations, credit @senpai33
Closes https://gitlab.com/divested-mobile/hypatia/-/issues/25

Also removes a unused string

Signed-off-by: Tad <tad@spotco.us>
2022-12-04 11:20:37 -05:00
Tad
3c0307c1fc Crash fix
Fixes https://gitlab.com/divested-mobile/hypatia/-/issues/23
Fixes https://gitlab.com/divested-mobile/hypatia/-/issues/20

Signed-off-by: Tad <tad@spotco.us>
2022-08-21 20:48:09 -04:00
Tad
63811cc62b Update dependencies
Signed-off-by: Tad <tad@spotco.us>
2022-08-21 19:42:41 -04:00
Tad
2b878f2058 Bump version for translations
Signed-off-by: Tad <tad@spotco.us>
2022-07-14 00:27:51 -04:00
Tad
a4977e8457 Bump version
Signed-off-by: Tad <tad@spotco.us>
2022-04-25 23:30:12 -04:00
Tad
dfdf9a2312 Bump version
Signed-off-by: Tad <tad@spotco.us>
2022-04-11 13:55:43 -04:00
Tad
108dab063d Server override option
Signed-off-by: Tad <tad@spotco.us>
2022-04-03 21:19:10 -04:00
Tad
aebe653025 Bump for release
Signed-off-by: Tad <tad@spotco.us>
2022-03-17 22:59:34 -04:00
Tad
ec84870c60 Bump versions
Signed-off-by: Tad <tad@spotco.us>
2022-02-26 20:13:04 -05:00
Tad
91823af428 Better optimize all screenshots
1080x1920 -> 540x960
$ mogrify -resize x960 *.png

Signed-off-by: Tad <tad@spotco.us>
2021-11-16 13:35:29 -05:00
Tad
d4f15dacea Add some changelogs
Signed-off-by: Tad <tad@spotco.us>
2021-11-16 13:32:35 -05:00
Tad
e1510ee0e3 Add fastlane title 2021-05-10 23:18:43 -04:00
Tad
993fa0f9ef More fastlane metadata and screenshots 2021-02-23 13:34:46 -05:00
Tad
fc28629571 Add the fastlane graphics, banner by Petra Mirelli
https://gitlab.com/divested-mobile/hypatia/-/issues/2
2021-02-12 22:08:32 -05:00