0
0
mirror of https://github.com/TrianguloY/UrlChecker.git synced 2024-09-19 20:02:16 +02:00
Commit Graph

821 Commits

Author SHA1 Message Date
TrianguloY
a322a1f801 don't pre-generate urls without queries/paths to avoid quadratic computation 2024-07-15 13:26:23 +02:00
TrianguloY
d51653af0d avoid IndexOutOfBounds with query =
fixes #365
2024-07-15 13:05:31 +02:00
TrianguloY
10c24a6816 fix deprecated startActivityAndCollapse 2024-07-15 12:47:32 +02:00
TrianguloY
6511a15777 fix double parsing of url parts
fixes #358
2024-07-15 12:14:08 +02:00
TrianguloY
4a43fc2025 avoid crash on UrlDecoder.decode
fixes #253
2024-07-15 10:42:39 +02:00
TrianguloY
e21f758f26 minSdk 33 -> 34 2024-07-15 10:09:22 +02:00
TrianguloY
072865ae0c Update gradle 8.3.0 -> 8.5.1 2024-07-15 10:01:10 +02:00
TrianguloY
baaf2e7431 allow cause when logging debug error 2024-06-23 11:26:39 +02:00
TrianguloY
9c17c933a0 option to always keep edit mode 2024-06-23 11:26:39 +02:00
TrianguloY
865dc99e9e missing title 2024-06-23 11:25:40 +02:00
Weblate (bot)
e20de78a24
Translations update from Hosted Weblate (#359)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [URLCheck/App
strings](https://hosted.weblate.org/projects/urlcheck/app-strings/).


It also includes following components:

* [URLCheck/Store
metadata](https://hosted.weblate.org/projects/urlcheck/play-store/)



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/urlcheck/app-strings/horizontal-auto.svg)

---------

Co-authored-by: Roma <opzjodbdiwnpuyvnom@cazlg.com>
Co-authored-by: T <sp4m3@gmx.de>
Co-authored-by: TrianguloY <correo--correo+github@hotmail.com>
Co-authored-by: Yuki <nomad048@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: hugoalh <hugoalh@users.noreply.hosted.weblate.org>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: Владимир Малобродский <chimkentus@gmail.com>
Co-authored-by: 复予 <clonewith@qq.com>
Co-authored-by: TrianguloY <correo--correo@hotmail.com>
2024-06-23 09:19:40 +00:00
TrianguloY
4b25b521bc bold host & italic query+fragment 2024-06-15 23:43:18 +02:00
TrianguloY
94eabe486e place cursor on clicked position and force open/close the keyboard 2024-06-12 22:45:29 +02:00
TrianguloY
7660a6670f extract share functionality from the OpenModule to a companion 2024-06-12 22:40:23 +02:00
mariachrisochoou
59b203da0f
Non Editable Input Text Fix (#361)
**Goal**: Declutter Screen for Improved Usability

### Actions:
- Added a TextView as a default state for displaying the URL.
- Changed the visibility of the EditText to be initially hidden.
- Updated the TextInputModule to reflect the appropriate changes.
- Implemented an onClickListener: When the user clicks on the URL, it
changes into an EditText to allow for editing.

### Testing: 
- Tested the default state of the URL display.
- Verified the visibility change of the EditText.
- Confirmed the functionality of the onClickListener to ensure the URL
changes to an EditText correctly.

<img
src="https://github.com/TrianguloY/UrlChecker/assets/115141097/bda62db3-34b5-4e89-b4ce-f689cbedc21c"
alt="DefaultState" width="200">

<img
src="https://github.com/TrianguloY/UrlChecker/assets/115141097/60133586-18ab-46c9-9923-97b09a3e2375"
alt="StateWhenClickedOn" width="200">

### Ideas for further improvement:
- To add a switch in the input text module for the User to assign the
default state (EditText or TextView).

resolves #100
2024-06-12 22:39:57 +02:00
TrianguloY
988073b4d1 V 2.16 (final)
- Improve: Detect multiple activities for the same app
- Improve: Show first app icon
- Improve: Display applied patterns in order
- Debug: Include query results in the debug module
2024-06-12 22:34:07 +02:00
TrianguloY
fee2edd49e configurable icon size 2024-06-05 23:00:32 +02:00
TrianguloY
8d7e3cdaf4 use old queryIntentActivities instead of queryIntentActivityOptions (some apps were not shown) 2024-06-01 20:17:44 +02:00
TrianguloY
977a88e199 V 2.16
- Improve: Detect multiple activities for the same app
- Improve: Show first app icon
- Improve: Display applied patterns in order
- Debug: Include query results in the debug module
2024-05-26 17:07:24 +02:00
TrianguloY
fdd9231230 missing title.txt 2024-05-26 16:53:31 +02:00
Nikul Kukadiya
f6aec67e7b
Refactor Utils class for Better Readability (#338)
Refactored the Utils class to enhance code readability by separating
functionalities into two distinct classes:

- Created HttpUtils class for HTTP-related operations.
- Introduced LocaleUtils class for locale-related operations.
- Cleaned up code for improved readability and maintainability.

---------

Co-authored-by: Nikulkumar Popatbhai Kukadiya <nk865270@dal.ca>
Co-authored-by: TrianguloY <correo--correo@hotmail.com>
2024-05-25 12:12:48 +00:00
TrianguloY
b9f4fa7c39 Add queryIntentActivities to debug data 2024-05-25 13:23:54 +02:00
Weblate (bot)
684db2595d
Translations update from Hosted Weblate (#345)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [URLCheck/App
strings](https://hosted.weblate.org/projects/urlcheck/app-strings/).


It also includes following components:

* [URLCheck/Store
metadata](https://hosted.weblate.org/projects/urlcheck/play-store/)



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/urlcheck/app-strings/horizontal-auto.svg)

Co-authored-by: Arun Mondal <arunmondal9286@gmail.com>
Co-authored-by: Julia <juliadeo@proton.me>
Co-authored-by: Kevin Krikhaar <kevinkrikhaar@gmail.com>
Co-authored-by: Magdy Elgendy <magdy.elgendy555@gmail.com>
Co-authored-by: T <sp4m3@gmx.de>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: 复予 <clonewith@qq.com>
2024-05-25 13:23:25 +02:00
TrianguloY
95a264f3ef show debug data only when requested 2024-05-19 20:48:16 +02:00
TrianguloY
85231c5a58 show queryIntentActivityOptions on the debug module
for #350
2024-05-19 20:48:15 +02:00
TrianguloY
58e6b2ad15 sort applied patterns 2024-05-19 20:47:43 +02:00
TrianguloY
143ddfb375 Use the component (package+class) instead of the package only for intent-related operations.
Shows the icon + real label too

Hopefully fixes #196
2024-05-19 20:47:43 +02:00
github-actions[bot]
49a7bd164b
updated data.minify.json (#354)
File ./app/src/main/assets/data.minify.json was updated
---
Formatted diff:
```diff
@ ["providers","facebook","rules",17]
- "mibextid"
+ "eav"
@ ["providers","facebook","rules",-1]
+ "sfnsn"
@ ["providers","facebook","rules",-1]
+ "idorvanity"
@ ["providers","facebook","rules",-1]
+ "wtsid"
@ ["providers","facebook","rules",-1]
+ "rdc"
@ ["providers","facebook","rules",-1]
+ "rdr"
@ ["providers","facebook","rules",-1]
+ "paipv"
@ ["providers","facebook","rules",-1]
+ "_nc_x"
@ ["providers","facebook","rules",-1]
+ "_rdr"
@ ["providers","facebook","rules",-1]
+ "mibextid"
@ ["providers","lazada.com.my"]
- {"rules":["ad_src","did","pa","mp","impsrc","cid","pos"],"urlPattern":"^https?:\\/\\/(?:[a-z0-9-]+\\.)*?lazada\\.com\\.my"}
@ ["providers","lazada"]
+ {"rules":["clickTrackInfo","abid","pvid","ad_src","spm","src","from","scm","pa","pid_pvid","did","mp","cid","impsrc","pos"],"urlPattern":"^https?:\\/\\/(?:[a-z0-9-]+\\.)*?lazada\\.(com|co\\.th|co\\.id|com\\.my|com\\.ph|sg|vn)"}
@ ["providers","pantip.com"]
+ {"rawRules":["#lead.*"],"urlPattern":"^https?:\\/\\/(?:[a-z0-9-]+\\.)*?pantip\\.com"}
@ ["providers","shopee"]
+ {"rules":["publish_id","sp_atk","xptdk"],"urlPattern":"^https?:\\/\\/(?:[a-z0-9-]+\\.)*?shopee\\.(com|co\\.th)"}
```
---
This is an automatic PR run from a [github
action](../actions/workflows/assets-updater.yml)

Co-authored-by: github-actions <github-actions@github.com>
2024-05-19 20:46:46 +02:00
mariachrisochoou
a235e5480e
added installing guide & fixed the format (#349)
This is a documentation fixed. 
I fixed the format, added a table of contents and two new sections for
installing the application as a first-time contributor and for the
application architecture.
I think these things are helpful for a newcomer to understand the way
the project works and we can enrich it with all the different components
of the app.

---------

Co-authored-by: TrianguloY <correo--correo@hotmail.com>
2024-04-29 16:18:45 +00:00
dependabot[bot]
1747864a62
Bump gradle/wrapper-validation-action from 2 to 3 (#346)
Bumps
[gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action)
from 2 to 3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gradle/wrapper-validation-action/releases">gradle/wrapper-validation-action's
releases</a>.</em></p>
<blockquote>
<h2>v2.1.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Update various NPM dependencies</li>
<li>Update wrapper checksums to include Gradle 8.7</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/gradle/wrapper-validation-action/compare/v2.1.2...v2.1.3">https://github.com/gradle/wrapper-validation-action/compare/v2.1.2...v2.1.3</a></p>
<h2>v2.1.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update various NPM dependencies</li>
<li>Update wrapper checksums</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/gradle/wrapper-validation-action/compare/v2.1.1...v2.1.2">https://github.com/gradle/wrapper-validation-action/compare/v2.1.1...v2.1.2</a></p>
<h2>v2.1.1</h2>
<h2>Changelog</h2>
<ul>
<li>[FIX] Add hardcoded checksum for Gradle 7.6.4</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/gradle/wrapper-validation-action/compare/v2...v2.1.1">https://github.com/gradle/wrapper-validation-action/compare/v2...v2.1.1</a></p>
<h2>v2.1.0</h2>
<p>This release should vastly reduce the number of network requests made
by the <code>wrapper-validation-action</code>, by hardcoding the
checksums of all known Gradle wrapper jars at time of release. With this
improvement, a number of long-standing issues should be addressed (<a
href="https://redirect.github.com/gradle/wrapper-validation-action/issues/164">#164</a>,
<a
href="https://redirect.github.com/gradle/wrapper-validation-action/issues/162">#162</a>,
<a
href="https://redirect.github.com/gradle/wrapper-validation-action/issues/57">#57</a>).</p>
<p>The action should now only make network requests to validate the
checksums of an unknown <code>gradle-wrapper.jar</code>. This can happen
if:</p>
<ul>
<li>The Gradle version was published after this action was released</li>
<li>The <code>gradle-wrapper.jar</code> is truly invalid</li>
</ul>
<h2>Changelog</h2>
<ul>
<li>[NEW] Hardcode list of known checksums to avoid network requests in
most cases (<a
href="https://redirect.github.com/gradle/wrapper-validation-action/issues/161">#161</a>)</li>
</ul>
<p>Huge thanks to <a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a> for
contributing this long-awaited improvement.</p>
<h2>v2.0.1</h2>
<p>This patch release fixes error reporting when failing to retrieve the
checksums from services.gradle.org</p>
<ul>
<li>[FIX] After migration from v1 to v2 silently fails (<a
href="https://redirect.github.com/gradle/wrapper-validation-action/issues/174">#174</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="460a3ca55f"><code>460a3ca</code></a>
Delegate to 'gradle/actions/wrapper-validation' (<a
href="https://redirect.github.com/gradle/wrapper-validation-action/issues/200">#200</a>)</li>
<li>See full diff in <a
href="https://github.com/gradle/wrapper-validation-action/compare/v2...v3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=gradle/wrapper-validation-action&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-20 17:12:59 +02:00
TrianguloY
33698f59ec V 2.15
- New: Animations (can be disabled)
- Fix: Better rejected detection. And allow to disable.
- Fix: Custom tabs should work in more situations (links not opening)
- Fix: Emojis and other non-standard characters on the Uri parts module
- Improvement: Better error message when a module can't be enabled
2024-04-05 17:41:03 +02:00
github-actions[bot]
667316c785
updated data.minify.json (#340)
File ./app/src/main/assets/data.minify.json was updated
---
Formatted diff:
```diff
@ ["providers","amazon","rules",-1]
+ "dib"
@ ["providers","amazon","rules",-1]
+ "dib_tag"
@ ["providers","facebook","rules",-1]
+ "mibextid"
@ ["providers","instagram","rules",-1]
+ "igsh"
@ ["providers","msn"]
+ {"rules":["cvid","ocid"],"urlPattern":"^https?:\\/\\/(?:[a-z0-9-]+\\.)*?msn\\.com"}
```
---
This is an automatic PR run from a [github
action](../actions/workflows/assets-updater.yml)

Co-authored-by: github-actions <github-actions@github.com>
2024-04-05 17:31:36 +02:00
Weblate (bot)
e09fc0eea8
Translations update from Hosted Weblate (#329)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [URLCheck/App
strings](https://hosted.weblate.org/projects/urlcheck/app-strings/).


It also includes following components:

* [URLCheck/Store
metadata](https://hosted.weblate.org/projects/urlcheck/play-store/)



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/urlcheck/app-strings/horizontal-auto.svg)

Co-authored-by: CloneWith <clonewith@users.noreply.hosted.weblate.org>
Co-authored-by: M1K4 <oomikaoo@gmail.com>
Co-authored-by: T <sp4m3@gmx.de>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: v1s7 <v1s7@users.noreply.hosted.weblate.org>
2024-04-05 17:31:19 +02:00
TrianguloY
9227535206 fix CodeQL java version 2024-03-17 17:01:53 +01:00
TrianguloY
72d4e217a3 Cancel running actions if new commits are added 2024-03-17 16:56:20 +01:00
github-actions[bot]
d0c24d7596
updated data.minify.json (#330)
File ./app/src/main/assets/data.minify.json was updated

This is an automatic PR run from a [github
action](../actions/workflows/assets-updater.yml)

Co-authored-by: github-actions <github-actions@github.com>
2024-03-17 16:50:48 +01:00
TrianguloY
7d6d2353f8 add formatted diff in assets-updater 2024-03-17 16:48:12 +01:00
TrianguloY
d1dab9b535 explain why a module cannot be enabled 2024-03-17 12:28:03 +01:00
TrianguloY
8bb4084b52 simplify dialog_debug 2024-03-17 12:09:36 +01:00
TrianguloY
a6c62b2ca5 animations everywhere (can be turned off) 2024-03-17 12:09:21 +01:00
TrianguloY
74af92bb08 missing hardcoded string 2024-03-17 11:13:25 +01:00
TrianguloY
0fdc86dac5 animation tutorial pages 2024-03-16 19:59:30 +01:00
TrianguloY
e87f9a9a08 Disable some CodeQL rules 2024-03-16 18:48:07 +01:00
TrianguloY
76165e61d5 don't sanitize invalid parameters
fixes #321
2024-03-16 14:00:30 +01:00
TrianguloY
04cb62c6bd fix custom tabs implementation
fixes #303
fixes #278
and an email issue with wikipedia links
2024-03-11 20:49:50 +01:00
TrianguloY
8b8ad9d804 Fix rejected detection
- Check referrer to detect rejected apps
- Ignore if not a view action (like share)
- Allow to disable

Fixes #305
2024-03-11 20:49:50 +01:00
TrianguloY
b756ddf556 Migrate BuildConfig to Gradle Build Files 2024-03-11 20:49:50 +01:00
TrianguloY
00eb1548a5 update gradle 8.2.0 -> 8.3.0 2024-03-11 20:49:50 +01:00
github-actions[bot]
e87a9582b3
updated data.minify.json (#326)
File ./app/src/main/assets/data.minify.json was updated

This is an automatic PR run from a [github
action](../actions/workflows/assets-updater.yml)

Co-authored-by: github-actions <github-actions@github.com>
2024-03-11 20:49:36 +01:00
TrianguloY
f0864d0896 V 2.14
with extra translations
2024-03-09 12:29:32 +01:00